CN118158819A - Resource allocation method, device, terminal and network side equipment - Google Patents

Resource allocation method, device, terminal and network side equipment Download PDF

Info

Publication number
CN118158819A
CN118158819A CN202211552387.2A CN202211552387A CN118158819A CN 118158819 A CN118158819 A CN 118158819A CN 202211552387 A CN202211552387 A CN 202211552387A CN 118158819 A CN118158819 A CN 118158819A
Authority
CN
China
Prior art keywords
lch
resources
terminal
uplink
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211552387.2A
Other languages
Chinese (zh)
Inventor
鲍炜
陈力
刘进华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211552387.2A priority Critical patent/CN118158819A/en
Priority to PCT/CN2023/134560 priority patent/WO2024120250A1/en
Publication of CN118158819A publication Critical patent/CN118158819A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient

Landscapes

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

Abstract

The application discloses a resource allocation method, a device, a terminal and network side equipment, belonging to the technical field of communication, wherein the resource allocation method in the embodiment of the application comprises the following steps: the terminal sends report information to the network side equipment, wherein the report information is used for assisting the network side equipment to allocate uplink resources; the terminal receives an uplink scheduling signaling sent by the network side equipment; the terminal allocates uplink resources indicated by the uplink scheduling signaling; wherein, the reporting information includes: association information of the token; and/or, the allocating the uplink resource indicated by the uplink scheduling signaling includes at least one of the following: preferentially distributing uplink resources for the first LCH; allocating uplink resources for the first LCH and LCH with the number of the remaining tokens being greater than 0 in the same round; the first LCH is the LCH corresponding to the data which is about to overtime in the cache.

Description

资源分配方法、装置、终端及网络侧设备Resource allocation method, device, terminal and network side equipment

技术领域Technical Field

本申请属于通信技术领域,具体涉及一种资源分配方法、装置、终端及网络侧设备。The present application belongs to the field of communication technology, and specifically relates to a resource allocation method, device, terminal and network side equipment.

背景技术Background technique

在一些相关技术中终端向网络侧设备上报缓存中的数据量信息,网络侧设备根据终端上报的数据量信息为终端分配合适大小的上行资源,具体可以是通过上行调度信令指示为终端分配的上行资源。终端获取到网络侧设备为其分配的上行资源后,进行两轮资源分配,第一轮依据令牌信息以及逻辑信道(Logical Channel,LCH)优先级从高到低的顺序为各令牌数量大于0的LCH依次分配资源;第二轮依据LCH优先级从高到低的顺序为各LCH分配资源,其中,以上LCH指有待传数据且可以使用所述上行资源进行传输的LCH。这样容易出现即将超时的数据无法分配到资源的情况,进而使得终端的数据传输性能比较差。In some related technologies, the terminal reports the amount of data in the cache to the network side device, and the network side device allocates uplink resources of appropriate size to the terminal according to the amount of data reported by the terminal. Specifically, it can be the uplink resources allocated to the terminal through uplink scheduling signaling. After the terminal obtains the uplink resources allocated to it by the network side device, it performs two rounds of resource allocation. The first round allocates resources to each LCH with a token number greater than 0 in sequence according to the token information and the logical channel (Logical Channel, LCH) priority from high to low; the second round allocates resources to each LCH according to the LCH priority from high to low, wherein the above LCH refers to the LCH that has data to be transmitted and can use the uplink resources for transmission. This makes it easy for data that is about to time out to be unable to be allocated resources, which makes the data transmission performance of the terminal relatively poor.

发明内容Summary of the invention

本申请实施例提供一种资源分配方法、装置、终端及网络侧设备,能够解决终端的数据传输性能比较差的问题。The embodiments of the present application provide a resource allocation method, apparatus, terminal, and network-side equipment, which can solve the problem of poor data transmission performance of the terminal.

第一方面,提供了一种资源分配方法,包括:In a first aspect, a resource allocation method is provided, comprising:

终端向网络侧设备发送上报信息,所述上报信息用于辅助网络侧设备分配上行资源;The terminal sends reporting information to the network side device, where the reporting information is used to assist the network side device in allocating uplink resources;

所述终端接收所述网络侧设备发送的上行调度信令;The terminal receives uplink scheduling signaling sent by the network side device;

所述终端对所述上行调度信令指示的上行资源进行分配;The terminal allocates the uplink resources indicated by the uplink scheduling signaling;

其中,所述上报信息包括:令牌的关联信息;和/或,所述对所述上行调度信令指示的上行资源进行分配包括如下至少一项:The reported information includes: associated information of the token; and/or the allocating of the uplink resources indicated by the uplink scheduling signaling includes at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

第二方面,提供了一种资源分配方法,包括:In a second aspect, a resource allocation method is provided, comprising:

网络侧设备接收终端发送的上报信息,所述上报信息用于辅助网络侧设备分配上行资源;The network side device receives the reporting information sent by the terminal, where the reporting information is used to assist the network side device in allocating uplink resources;

所述网络侧设备基于所述上报信息,向所述终端发送上行调度信令;The network side device sends uplink scheduling signaling to the terminal based on the reported information;

其中,所述上报信息包括:令牌的关联信息;和/或,所述上行调度信令用于触发如下至少一项:The reported information includes: associated information of the token; and/or the uplink scheduling signaling is used to trigger at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

第三方面,提供了一种资源分配装置,包括:According to a third aspect, a resource allocation device is provided, comprising:

发送模块,用于向网络侧设备发送上报信息,所述上报信息用于辅助网络侧设备分配上行资源;A sending module, used to send reporting information to a network side device, wherein the reporting information is used to assist the network side device in allocating uplink resources;

接收模块,用于接收所述网络侧设备发送的上行调度信令;A receiving module, used to receive uplink scheduling signaling sent by the network side device;

分配模块,用于对所述上行调度信令指示的上行资源进行分配;An allocation module, configured to allocate uplink resources indicated by the uplink scheduling signaling;

其中,所述上报信息包括:令牌的关联信息;和/或,所述对所述上行调度信令指示的上行资源进行分配包括如下至少一项:The reported information includes: associated information of the token; and/or the allocating of the uplink resources indicated by the uplink scheduling signaling includes at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

第四方面,提供了一种资源分配装置,包括:In a fourth aspect, a resource allocation device is provided, comprising:

接收模块,用于接收终端发送的上报信息,所述上报信息用于辅助网络侧设备分配上行资源;A receiving module, used to receive reporting information sent by a terminal, wherein the reporting information is used to assist a network side device in allocating uplink resources;

发送模块,用于基于所述上报信息,向所述终端发送上行调度信令;A sending module, configured to send uplink scheduling signaling to the terminal based on the reported information;

其中,所述上报信息包括:令牌的关联信息;和/或,所述上行调度信令用于触发如下至少一项特征:The reported information includes: associated information of the token; and/or the uplink scheduling signaling is used to trigger at least one of the following features:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

第五方面,提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如本申请实施例提供的终端侧的资源分配方法的步骤。In a fifth aspect, a terminal is provided, which includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the resource allocation method on the terminal side provided in an embodiment of the present application are implemented.

第六方面,提供了一种终端,包括处理器及通信接口,其中,所述通信接口用于向网络侧设备发送上报信息,所述上报信息用于辅助网络侧设备分配上行资源;接收所述网络侧设备发送的上行调度信令;所述处理器用于对所述上行调度信令指示的上行资源进行分配;其中,所述上报信息包括:令牌的关联信息;和/或,所述对所述上行调度信令指示的上行资源进行分配包括如下至少一项:优先为第一逻辑信道LCH分配上行资源;在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;所述第一LCH为对应缓存中存在即将超时的数据的LCH。In the sixth aspect, a terminal is provided, comprising a processor and a communication interface, wherein the communication interface is used to send reporting information to a network side device, the reporting information is used to assist the network side device in allocating uplink resources; receive uplink scheduling signaling sent by the network side device; the processor is used to allocate the uplink resources indicated by the uplink scheduling signaling; wherein the reporting information includes: token association information; and/or, the allocation of uplink resources indicated by the uplink scheduling signaling includes at least one of the following: preferentially allocating uplink resources to the first logical channel LCH; allocating uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round; the first LCH is the LCH for which there is data that is about to time out in the corresponding cache.

第七方面,提供了一种网络侧设备,该网络侧设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如本申请实施例提供的网络侧的资源分配方法的步骤。In the seventh aspect, a network side device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the network side resource allocation method provided in the embodiment of the present application are implemented.

第八方面,提供了一种网络侧设备,包括处理器及通信接口,其中,所述通信接口用于接收终端发送的上报信息,所述上报信息用于辅助网络侧设备分配上行资源;基于所述上报信息,向所述终端发送上行调度信令;其中,所述上报信息包括:令牌的关联信息;和/或,所述上行调度信令用于触发如下至少一项:优先为第一逻辑信道LCH分配上行资源;在同一轮为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;所述第一LCH为对应缓存中存在即将超时的数据的LCH。In the eighth aspect, a network side device is provided, including a processor and a communication interface, wherein the communication interface is used to receive reporting information sent by a terminal, and the reporting information is used to assist the network side device in allocating uplink resources; based on the reporting information, uplink scheduling signaling is sent to the terminal; wherein the reporting information includes: token association information; and/or the uplink scheduling signaling is used to trigger at least one of the following: allocating uplink resources to the first logical channel LCH on a priority basis; allocating uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round; the first LCH is an LCH for which there is data that is about to time out in the corresponding cache.

第九方面,提供了一种资源分配系统,包括:终端及网络侧设备,所述终端可用于执行如本申请实施例提供的终端侧的资源分配方法的步骤,所述网络侧设备可用于执行如本申请实施例提供的网络侧的资源分配方法的步骤。In the ninth aspect, a resource allocation system is provided, including: a terminal and a network side device, wherein the terminal can be used to execute the steps of the terminal side resource allocation method provided in the embodiment of the present application, and the network side device can be used to execute the steps of the network side resource allocation method provided in the embodiment of the present application.

第十方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现本申请实施例提供的终端侧的资源分配方法的步骤,或者实现如本申请实施例提供的网络侧的资源分配方法的步骤。In the tenth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the resource allocation method on the terminal side provided in the embodiment of the present application are implemented, or the steps of the resource allocation method on the network side provided in the embodiment of the present application are implemented.

第十一方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如本申请实施例提供的终端侧的资源分配方法,或实现如本申请实施例提供的网络侧的资源分配方法。In the eleventh aspect, a chip is provided, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement a resource allocation method on the terminal side as provided in an embodiment of the present application, or to implement a resource allocation method on the network side as provided in an embodiment of the present application.

第十二方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如本申请实施例提供的终端侧的资源分配方法的步骤,或者,所述计算机程序/程序产品被至少一个处理器执行以实现如本申请实施例提供的网络侧的资源分配方法的步骤。In the twelfth aspect, a computer program/program product is provided, which is stored in a storage medium, and is executed by at least one processor to implement the steps of the resource allocation method on the terminal side as provided in the embodiment of the present application, or the computer program/program product is executed by at least one processor to implement the steps of the resource allocation method on the network side as provided in the embodiment of the present application.

在本申请实施例中,终端向网络侧设备发送上报信息,所述上报信息用于辅助网络侧设备分配上行资源;所述终端接收所述网络侧设备发送的上行调度信令;所述终端对所述上行调度信令指示的上行资源进行分配;其中,所述上报信息包括:令牌的关联信息;和/或,所述对所述上行调度信令指示的上行资源进行分配包括如下至少一项:优先为第一逻辑信道LCH分配上行资源;在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;所述第一LCH为对应缓存中存在即将超时的数据的LCH。本申请实施例中,通过令牌的关联信息使得网络侧在为终端分配上行资源参考令牌的关联信息,从而可以降低即将超时数据无法分配到资源的概率,进而提高终端的数据传输性能。另外,通过优先为第一LCH分配上行资源,或者,允许所述第一LCH与剩余令牌数量大于0的LCH在同一轮中分配上行资源,也可以降低即将超时数据无法分配到资源的概率,进而提高终端的数据传输性能。In an embodiment of the present application, a terminal sends reporting information to a network side device, and the reporting information is used to assist the network side device in allocating uplink resources; the terminal receives the uplink scheduling signaling sent by the network side device; the terminal allocates the uplink resources indicated by the uplink scheduling signaling; wherein the reporting information includes: token association information; and/or, the uplink resources indicated by the uplink scheduling signaling are allocated including at least one of the following: priority allocation of uplink resources to the first logical channel LCH; allocation of uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round; the first LCH is the LCH with data that is about to time out in the corresponding cache. In the embodiment of the present application, the network side refers to the association information of the token when allocating uplink resources to the terminal through the association information of the token, thereby reducing the probability that the data that is about to time out cannot be allocated to resources, thereby improving the data transmission performance of the terminal. In addition, by giving priority to allocating uplink resources to the first LCH, or allowing the first LCH and the LCH with a remaining number of tokens greater than 0 to allocate uplink resources in the same round, the probability that the data that is about to time out cannot be allocated to resources can also be reduced, thereby improving the data transmission performance of the terminal.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请实施例可应用的一种无线通信系统的框图;FIG1 is a block diagram of a wireless communication system to which an embodiment of the present application can be applied;

图2是本申请实施例提供的一种资源分配方法的流程图;FIG2 is a flow chart of a resource allocation method provided in an embodiment of the present application;

图3是本申请实施例提供的另一种资源分配方法的流程图;FIG3 is a flow chart of another resource allocation method provided in an embodiment of the present application;

图4是本申请实施例提供的一种资源分配装置的结构图;FIG4 is a structural diagram of a resource allocation device provided in an embodiment of the present application;

图5是本申请实施例提供的另一种资源分配装置的结构图;FIG5 is a structural diagram of another resource allocation device provided in an embodiment of the present application;

图6是本申请实施例提供的一种通信设备的结构图;FIG6 is a structural diagram of a communication device provided in an embodiment of the present application;

图7是本申请实施例提供的另一种终端的结构图;FIG7 is a structural diagram of another terminal provided in an embodiment of the present application;

图8是本申请实施例提供的另一种网络侧设备的结构图。FIG8 is a structural diagram of another network-side device provided in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally represents that the objects associated with each other are in an "or" relationship.

本申请的说明书和权利要求书中的术语“指示”既可以是一个明确的指示,也可以是一个隐含的指示。其中,明确的指示可以理解为,发送方在发送的指示中明确告知了接收方需要执行的操作或请求结果;隐含的指示可以理解为,接收方根据发送方发送的指示进行判断,根据判断结果确定需要执行的操作或请求结果。The term "instruction" in the specification and claims of this application can be either an explicit instruction or an implicit instruction. An explicit instruction can be understood as the sender explicitly informing the receiver of the operation to be performed or the request result in the instruction sent; an implicit instruction can be understood as the receiver making a judgment based on the instruction sent by the sender and determining the operation to be performed or the request result based on the judgment result.

值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long TermEvolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time DivisionMultiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE)/LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the above-mentioned systems and radio technologies as well as other systems and radio technologies. The following description describes a new radio (NR) system for example purposes, and NR terms are used in most of the following descriptions, but these technologies can also be applied to applications other than NR system applications, such as the 6th Generation (6G) communication system.

图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal DigitalAssistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmentedreality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(WearableDevice)、车载设备(VUE)、行人终端(PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备或核心网设备,其中,接入网设备也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备可以包括基站、WLAN接入点或WiFi节点等,基站可被称为节点B、演进节点B(eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(BasicService Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。核心网设备可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility ManagementEntity,MME)、接入移动管理功能(Access and Mobility Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policyand Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge ApplicationServer Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM),统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home SubscriberServer,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF),网络开放功能(Network Exposure Function,NEF)、本地NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR系统中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。FIG1 shows a block diagram of a wireless communication system applicable to an embodiment of the present application. The wireless communication system includes a terminal 11 and a network side device 12 . Among them, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), augmented reality (augmentedreality, AR)/virtual reality (virtual reality, VR) equipment, a robot, a wearable device (WearableDevice), a vehicle-mounted equipment (VUE), a pedestrian terminal (PUE), a smart home (home equipment with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (personal computer, PC), a teller machine or a self-service machine and other terminal side devices, and the wearable device includes: a smart watch, a smart bracelet, a smart headset, a smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), a smart wristband, a smart clothing, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be referred to as a radio access network device, a radio access network (RAN), a radio access network function or a radio access network unit. The access network device may include a base station, a WLAN access point or a WiFi node, etc. The base station may be referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (BTS), a radio base station, a radio transceiver, a basic service set (BSS), an extended service set (ESS), a home B node, a home evolved B node, a transmitting and receiving point (TRP) or some other suitable term in the field, as long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary, it should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited. The core network equipment may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home user server (Home Subscriber Server, HSS), centralized network configuration (CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiments of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.

下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的一种资源分配方法、装置、终端及网络侧设备进行详细地说明。In combination with the accompanying drawings, a resource allocation method, apparatus, terminal and network-side equipment provided by the embodiments of the present application are described in detail through some embodiments and their application scenarios.

请参见图2,图2是本申请实施例提供的一种资源分配方法的流程图,如图2所示,包括以下步骤:Please refer to FIG. 2 , which is a flow chart of a resource allocation method provided in an embodiment of the present application. As shown in FIG. 2 , the method includes the following steps:

步骤201、终端向网络侧设备发送上报信息,所述上报信息用于辅助网络侧设备分配上行资源;Step 201: The terminal sends reporting information to the network side device, where the reporting information is used to assist the network side device in allocating uplink resources.

步骤202、所述终端接收所述网络侧设备发送的上行调度信令;Step 202: The terminal receives uplink scheduling signaling sent by the network side device;

步骤203、所述终端对所述上行调度信令指示的上行资源进行分配;Step 203: The terminal allocates uplink resources indicated by the uplink scheduling signaling;

其中,所述上报信息包括:令牌的关联信息;和/或,所述对所述上行调度信令指示的上行资源进行分配包括如下至少一项:The reported information includes: associated information of the token; and/or the allocating of the uplink resources indicated by the uplink scheduling signaling includes at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

上述“和/或”可以表示如下三种情况:The above “and/or” can represent the following three situations:

一、上报信息包括令牌的关联信息,其中,对所述上行调度信令指示的上行资源进行分配的步骤不包括上述至少一项,即终端按照协议中定义的分配方式分配资源;1. The reported information includes associated information of the token, wherein the step of allocating the uplink resources indicated by the uplink scheduling signaling does not include at least one of the above items, that is, the terminal allocates resources according to the allocation method defined in the protocol;

二、上报信息不包括令牌的关联信息,对所述上行调度信令指示的上行资源进行分配的步骤包括上述至少一项;2. The reported information does not include associated information of the token, and the step of allocating the uplink resources indicated by the uplink scheduling signaling includes at least one of the above items;

三、上报信息包括令牌的关联信息,且对所述上行调度信令指示的上行资源进行分配的步骤包括上述至少一项。3. The reporting information includes associated information of the token, and the step of allocating the uplink resources indicated by the uplink scheduling signaling includes at least one of the above items.

上述上报信息可以是缓存状态报告(Buffer Status Report,BSR),其中,该BSR至少可以存在如下类型:常规BSR(Regular BSR)、周期性BSR、附加BSR(Padding BSR);The above-mentioned reporting information may be a buffer status report (Buffer Status Report, BSR), wherein the BSR may have at least the following types: regular BSR (Regular BSR), periodic BSR, additional BSR (Padding BSR);

其中,常规BSR可以在一下任意情况下触发:Among them, the regular BSR can be triggered in any of the following situations:

比当前有数据发送的LCH优先级更高的LCH从无数据发送变得有数据发送;或者An LCH with a higher priority than the LCH currently sending data changes from having no data to sending to having data to send; or

当所有LCH无数据发送时一个LCH变得有数据发送;或者When all LCHs have no data to send, one LCH becomes available to send data; or

BSR重发定时器(retxBSR-Timer)超时时,至少一个LCH还有数据需要发送。When the BSR retransmission timer (retxBSR-Timer) times out, at least one LCH still has data to be sent.

周期性BSR(Periodic BSR)在周期BSR发送定时器(periodicBSR-Timer)超时时触发;The periodic BSR (Periodic BSR) is triggered when the periodic BSR sending timer (periodicBSR-Timer) times out;

附加BSR可以是当一个媒体接入控制协议数据单元(Medium Access ControlProtocol Data Unit,MAC PDU)在容纳下所有的数据后,还有剩余容量可以容纳BSR媒体接入控制控制单元(Medium Access Control Control Element,MAC CE)时触发。The additional BSR may be triggered when a Medium Access Control Protocol Data Unit (MAC PDU) has remaining capacity to accommodate a BSR Medium Access Control Control Element (MAC CE) after accommodating all data.

协议定义的BSR(或者一些BSR)中不包含令牌信息,本申请实施例中,上报信息可以基于协议定义的BSR格式进行扩展,以包含相关LCH关联的令牌的关联信息,相关LCH指第一LCH和/或优先级高于第一LCH的其他LCH。当然,上报信息也可以采用新的媒体接入控制的控制单元(Media Access Control Control Element,MAC CE)格式,即不基于协议定义的BSR格式。The BSR (or some BSRs) defined by the protocol does not include token information. In the embodiment of the present application, the reporting information can be extended based on the BSR format defined by the protocol to include the associated information of the token associated with the relevant LCH, and the relevant LCH refers to the first LCH and/or other LCHs with a higher priority than the first LCH. Of course, the reporting information can also adopt a new media access control control unit (Media Access Control Control Element, MAC CE) format, that is, not based on the BSR format defined by the protocol.

在一些实施方式中,上述上报信息也可以是用于请求网络侧设备分配上行资源的请求信息。In some implementations, the above-mentioned reporting information may also be request information for requesting the network side device to allocate uplink resources.

在一些实施方式中,在上述上报信息不包括令牌的关联信息的情况下,上述上报信息可以包括数据量信息,该数据量信息可以是按照逻辑信道组(LCH group,LCG)进行上报的,例如:LCG内即将超时的数据量,在一些实施方式,也可以是按照LCH进行上报,对此不作限定。In some embodiments, when the above-mentioned reporting information does not include the associated information of the token, the above-mentioned reporting information may include data volume information, and the data volume information may be reported according to the logical channel group (LCH group, LCG), for example: the amount of data that is about to time out in the LCG. In some embodiments, it may also be reported according to the LCH, and there is no limitation on this.

上述上行调度信令(UL grant)可以是,网络侧设备在接收到上述上报信息后,参考该上报信息包括的内容下发的上行调度信令。The above-mentioned uplink scheduling signaling (UL grant) may be the uplink scheduling signaling sent by the network side device after receiving the above-mentioned reporting information, with reference to the content included in the reporting information.

上述令牌的关联信息可以是,基于令牌数计算的数据量信息,也可以是各LCH的令牌数信息等。由于终端在获取到上行资源后可以基于令牌数进行资源分配,这样通过上述令牌的关联信息可以使得网络侧设备在为终端分配上行资源时,参考令牌的关联信息为终端分配更加适合大小的上行资源,例如:令牌的关联信息是基于令牌数计算的数据量信息的情况下,网络侧设备可以为终端分配该数据量信息对应的上行资源,以使得即将超时的数据能够分配到资源,又例如:令牌的关联信息是各LCH的令牌数信息情况下,网络侧设备根据各LCH的令牌数信息计算出终端基于令牌数为LCH分配资源时,需要多少上行资源才可以保证即将超时的数据能够分配到资源,进而分配对应的上行资源,以避免即时超时的数据无法分配到资源。The above-mentioned token association information may be data volume information calculated based on the number of tokens, or may be token number information of each LCH, etc. Since the terminal can allocate resources based on the number of tokens after acquiring the uplink resources, the above-mentioned token association information can enable the network side device to allocate uplink resources of more suitable size to the terminal with reference to the token association information when allocating uplink resources to the terminal. For example, if the token association information is data volume information calculated based on the number of tokens, the network side device can allocate uplink resources corresponding to the data volume information to the terminal so that data that is about to time out can be allocated resources. For another example, if the token association information is the token number information of each LCH, the network side device calculates how many uplink resources are needed to ensure that data that is about to time out can be allocated resources when the terminal allocates resources to the LCH based on the token number information of each LCH, and then allocates corresponding uplink resources to avoid that data that is about to time out cannot be allocated resources.

在一些实施方式中,上述即将超时的数据包括:超时时刻与当前时刻的间隔低于预设时间阈值的数据。In some implementations, the data that is about to time out includes data where the interval between the timeout moment and the current moment is lower than a preset time threshold.

其中,上述当前时刻可以是,步骤201的执行时刻,或者生成上述上报信息的时刻,上述预设时间阈值可以是协议约定或者网络侧配置的。The current moment may be the execution moment of step 201 or the moment of generating the reporting information, and the preset time threshold may be a protocol agreement or a network side configuration.

在一些实施方式中,上述即将超时的数据也可以是缓存中存在超时可能的数据。In some implementations, the data that is about to time out may also be data in the cache that may time out.

上述优先为第一LCH分配上行资源可以是,在终端获取到上行资源后,首先为第一LCH分配上行资源,或者在为剩余令牌数量大于0的LCH进行一轮分配资源后,优先为第一LCH分配上行资源。The above-mentioned priority allocation of uplink resources to the first LCH may be that after the terminal acquires the uplink resources, the uplink resources are first allocated to the first LCH, or after a round of resource allocation for the LCH with the remaining token number greater than 0, the uplink resources are preferentially allocated to the first LCH.

上述在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源可以是,在分配资源时,将第一LCH和剩余令牌数量大于0的LCH同时考虑,如按照第一LCH与剩余令牌数量大于0的LCH的优先级从高到低的顺序分配上行资源。The above-mentioned allocating uplink resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the same round may be that when allocating resources, the first LCH and the LCH with the remaining number of tokens greater than 0 are considered at the same time, such as allocating uplink resources in order of priority from high to low for the first LCH and the LCH with the remaining number of tokens greater than 0.

本申请实施例中,通过令牌的关联信息使得网络侧在为终端分配上行资源参考令牌的关联信息,从而可以降低即将超时数据无法分配到足够资源的概率,进而提高终端的数据传输性能。另外,通过优先为第一LCH分配上行资源,或者,允许所述第一LCH与剩余令牌数量大于0的LCH在同一轮中分配上行资源,也可以降低即将超时数据无法分配到资源的概率,进而提高终端的数据传输性能。In the embodiment of the present application, the network side refers to the association information of the token when allocating uplink resources to the terminal through the association information of the token, thereby reducing the probability that the data that is about to time out cannot be allocated sufficient resources, thereby improving the data transmission performance of the terminal. In addition, by preferentially allocating uplink resources to the first LCH, or allowing the first LCH and the LCH with a remaining number of tokens greater than 0 to allocate uplink resources in the same round, the probability that the data that is about to time out cannot be allocated resources can also be reduced, thereby improving the data transmission performance of the terminal.

在一种可选的实施方式中,上述所述令牌的关联信息包括如下至少一项:In an optional implementation, the token association information includes at least one of the following:

资源大小信息,所述资源大小信息是基于所述终端的令牌数量信息得到;Resource size information, the resource size information is obtained based on the token quantity information of the terminal;

所述终端的令牌数量信息。The token quantity information of the terminal.

需要说明的是,上述资源大小信息也可以称作数据量信息,因为,数据量和资源大小是对应的,如为传输130byte的数据量,分配的资源大小可以承载130byte的的数据。It should be noted that the above resource size information can also be called data volume information, because the data volume and resource size are corresponding. For example, if a data volume of 130 bytes is to be transmitted, the allocated resource size can carry 130 bytes of data.

其中,上述资源大小信息可以是,保证即时超时的数据能够分配到资源的资源大小,网络侧设备为终端分配该资源大小信息所指示的上行资源,能够保证即时超时的数据能够分配到资源。或者,在上述上报信息还包括缓存中的数据量的情况下,上述资源大小信息可以是,与该数据量对应的上行资源的差值信息,例如:上述数据量对应的资源大小为120byte,如果终端按照一些分配资源规则基于这120byte为LCH分配资源,会存在10byte的即将超时的数据超时,则上述资源大小信息可以是10byte的指示信息。The resource size information may be a resource size that ensures that data that is immediately timed out can be allocated to resources. The network side device allocates uplink resources indicated by the resource size information to the terminal, which can ensure that data that is immediately timed out can be allocated to resources. Alternatively, in the case where the reported information also includes the amount of data in the cache, the resource size information may be the difference information of the uplink resources corresponding to the amount of data. For example, the resource size corresponding to the amount of data is 120 bytes. If the terminal allocates resources to the LCH based on the 120 bytes according to some resource allocation rules, there will be 10 bytes of data that is about to time out. In this case, the resource size information may be 10 bytes of indication information.

在一种实施方式中,所述资源大小信息是基于至少一个LCH的令牌数量信息和数据量信息得到,所述至少一个LCH包括所述第一LCH。In one implementation, the resource size information is obtained based on token quantity information and data volume information of at least one LCH, and the at least one LCH includes the first LCH.

上述至少一个LCH可以是一个或者多个LCG中的LCH,且上述至少一个LCH可以是与上述上报信息关联的LCH,或者与上述上行调度信令关联的LCH。The at least one LCH may be an LCH in one or more LCGs, and the at least one LCH may be an LCH associated with the reporting information, or an LCH associated with the uplink scheduling signaling.

上述令牌数量信息可以是,各LCH的剩余令牌数量信息。The above-mentioned token quantity information may be the remaining token quantity information of each LCH.

上述数据量信息可以是至少一个LCH中每个LCH的数据量信息,也可以是,至少一个LCH的总数据量信息。The above-mentioned data volume information may be the data volume information of each LCH in at least one LCH, or may be the total data volume information of at least one LCH.

在一些实施方式中,上述至少一个LCH的数据量信息包括:In some implementations, the data volume information of the at least one LCH includes:

所述至少一个LCH的即将超时的数据量信息。Information about the amount of data that is about to time out of the at least one LCH.

如至少一个LCH中每个LCH的即将超时的数据量信息,或者,至少一个LCH总的即将超时的数据量信息。Such as the data volume information of each LCH in at least one LCH that is about to time out, or the total data volume information of at least one LCH that is about to time out.

在一些实施方式中,上述数据量信息也可以是包括即将超时的数据在内的总数据量信息。In some implementations, the above data volume information may also be total data volume information including data that is about to time out.

由于基于令牌数量进行资源分配的规则对于终端来说是已知,这样终端就可以基于至少一个LCH的令牌数量信息和数据量信息可以计算出上述资源大小信息,如计算出保证即时超时的数据能够分配到资源的资源大小,或者,计算与上报的缓存中的数据量对应的资源的差值大小。Since the rules for resource allocation based on the number of tokens are known to the terminal, the terminal can calculate the above-mentioned resource size information based on the token number information and data volume information of at least one LCH, such as calculating the resource size that ensures that data with immediate timeout can be allocated resources, or calculating the difference in resources corresponding to the amount of data in the reported cache.

该实施方式中,基于至少一个LCH的令牌数量信息和数据量信息准确地计算出上述资源大小信息,进而提高终端上报信息的准确性。In this implementation, the resource size information is accurately calculated based on the token quantity information and data volume information of at least one LCH, thereby improving the accuracy of the information reported by the terminal.

一个举例如下:An example is as follows:

例1:example 1:

LCH优先级:LCH1>LCH2,即LCH1优先级高于LCH2LCH priority: LCH1>LCH2, that is, LCH1 has a higher priority than LCH2

LCH1:剩余令牌-5byte,缓存(buffer)内的数据量为200byte,在T1超时的数据为100byte;LCH1: Remaining tokens - 5 bytes, the amount of data in the buffer is 200 bytes, and the data that times out at T1 is 100 bytes;

LCH2:剩余令牌200byte,buffer内的数据量为100byte,在T1超时的数据为0byte;LCH2: The remaining token is 200 bytes, the data in the buffer is 100 bytes, and the data at the time of T1 timeout is 0 bytes;

LCH1和LCH 2分别属于LCG1和LCG2。LCH1 and LCH 2 belong to LCG1 and LCG2, respectively.

终端在上报信息可以上报:资源大小信息,以及还可以指示或者不指示:数据量信息和/或对应的超时时间;其中,上述资源大小信息为200byte,上述数据量信息指示在T1前,需要为LCH1或LCG1分配100byte。When reporting information, the terminal may report: resource size information, and may also indicate or not indicate: data volume information and/or corresponding timeout period; wherein, the resource size information is 200 bytes, and the data volume information indicates that before T1, 100 bytes need to be allocated for LCH1 or LCG1.

网络侧设备根据上述上报信息:在T1前,给终端分配了200byte的上行资源。Based on the above reported information, the network side device allocates 200 bytes of uplink resources to the terminal before T1.

终端对200byte分配可以如下:The terminal can allocate 200 bytes as follows:

第一轮分配(按优先级从高到低的顺序为令牌数大于0的LCH分配资源),因为令牌数小于0,LCH1不参加;LCH2分得100byte,(终端需要优先保证令牌>0的LCH可以传输令牌数量对应的数据。因为LCH2的缓存/待传数据量少于令牌数,UE按照LCH2的缓存/待传数据量分配资源);第一轮分配后,LCH2剩余令牌数为100byte;In the first round of allocation (resources are allocated to LCHs with a token number greater than 0 in descending order of priority), LCH1 does not participate because the token number is less than 0; LCH2 is allocated 100 bytes (the terminal needs to give priority to ensuring that LCHs with tokens > 0 can transmit data corresponding to the token number. Because the amount of cached/to-be-transmitted data of LCH2 is less than the number of tokens, the UE allocates resources according to the amount of cached/to-be-transmitted data of LCH2); after the first round of allocation, the number of remaining tokens of LCH2 is 100 bytes;

第二轮分配(按优先级从高到低的顺序为各有缓存/待传数据的LCH分配资源,即直到一个LCH的待传数据都分到资源再开始低一优先级LCH的资源分配,或直到上行资源耗尽):LCH1分得100byte。网络分配给UE的上行资源耗尽。The second round of allocation (resources are allocated to each LCH with cached/pending data in descending order of priority, i.e., until all pending data of an LCH is allocated resources, then the resource allocation of the LCH with the lower priority starts, or until the uplink resources are exhausted): LCH1 is allocated 100 bytes. The uplink resources allocated by the network to the UE are exhausted.

这样LCH1所有即将超时的数据都分配到资源。In this way, all data of LCH1 that is about to time out are allocated to resources.

通过上报上述资源大小信息,可以避免如下问题:终端仅上报LCH1有100byte的数据将在T1超时,网络侧可能只给终端分配可以承载100byte的上行资源。按照协议定义的分配资源机制导致上行资源将全被分配给了LCH2,导致LCH1中的数据超时。By reporting the resource size information, the following problem can be avoided: if the terminal only reports that LCH1 has 100 bytes of data, it will time out at T1, and the network side may only allocate uplink resources that can carry 100 bytes to the terminal. According to the resource allocation mechanism defined in the protocol, all uplink resources will be allocated to LCH2, causing the data in LCH1 to time out.

例2:Example 2:

LCH优先级:LCH1>LCH2,即LCH1优先级高于LCH2LCH priority: LCH1>LCH2, that is, LCH1 has a higher priority than LCH2

LCH1:剩余令牌100byte,buffer内的数据量为200byte,在T1超时的数据为0byte;LCH1: The remaining token is 100 bytes, the data in the buffer is 200 bytes, and the data at the time of T1 timeout is 0 bytes;

LCH2:剩余令牌-5byte,buffer内的数据量为80byte,在T1超时的数据为60byte;LCH2: remaining token - 5 bytes, the amount of data in the buffer is 80 bytes, and the data that times out at T1 is 60 bytes;

LCH1和LCH 2分别属于LCG1和LCG2。LCH1 and LCH 2 belong to LCG1 and LCG2, respectively.

终端在上报信息可以上报:资源大小信息,以及还可以指示或者不指示数据量信息和对应的超时时间;其中,上述资源大小信息为260byte,上述数据量信息指示在T1前,需要为LCH1或LCG2分配60byte。The terminal can report: resource size information, and may also indicate or not indicate data volume information and corresponding timeout period; wherein, the resource size information is 260 bytes, and the data volume information indicates that before T1, 60 bytes need to be allocated for LCH1 or LCG2.

网络侧设备根据上述上报信息:在T1前,给终端分配了260byte的上行资源。Based on the above reported information, the network side device allocates 260 bytes of uplink resources to the terminal before T1.

终端对260byte分配可以如下:The terminal can allocate 260 bytes as follows:

第一轮分配(按优先级从高到低的顺序为令牌数大于0的LCH分配资源),终端为LCH1分的100byte,LCH2不参与分配;第一轮分配后,LCH1剩余令牌数为0byte;In the first round of allocation (resources are allocated to LCHs with a token number greater than 0 in descending order of priority), the terminal allocates 100 bytes to LCH1, and LCH2 does not participate in the allocation; after the first round of allocation, the number of remaining tokens in LCH1 is 0 bytes;

第二轮分配(按优先级从高到低的顺序为各有缓存/待传数据的LCH分配资源,即直到一个LCH的待传数据都分到资源再开始低一优先级LCH的资源分配,或直到上行资源耗尽):将100byte必须全部分配给LCH1,以及剩余60byte分配给LCH2。The second round of allocation (resources are allocated to each LCH with cached/pending data in order of priority from high to low, that is, until all the pending data of an LCH are allocated resources, then the resource allocation of the lower priority LCH begins, or until the uplink resources are exhausted): all 100 bytes must be allocated to LCH1, and the remaining 60 bytes are allocated to LCH2.

这样LCH2所有即将超时的数据都分配到资源。In this way, all data of LCH2 that is about to time out are allocated to resources.

在一个实施例中,终端为了避免超时,上报所需分配的资源大小,具体如下:In one embodiment, in order to avoid timeout, the terminal reports the size of resources required to be allocated, as follows:

针对上述例1:For example 1 above:

终端在上报信息中上报:资源大小信息(也可以称作上行数据量)以及对应的超时时间,该上报信息可以示:为了保证LCG1中的数据不超时,需要在T1前分配200byte。即上报的资源大小信息为:200byteThe terminal reports the resource size information (also called uplink data volume) and the corresponding timeout in the reporting information. The reporting information can show that in order to ensure that the data in LCG1 does not time out, 200 bytes need to be allocated before T1. That is, the reported resource size information is: 200 bytes

第一轮分配,因为令牌数小于0,LCH1不参加;LCH2分的100byte(LCH2关联的令牌数以及待传数据量中的较小值);第一轮分配后,LCH2剩余令牌数为100byte(第一轮分配消耗所分资源承载数据量等量令牌);In the first round of allocation, LCH1 does not participate because the number of tokens is less than 0; LCH2 is allocated 100 bytes (the smaller value of the number of tokens associated with LCH2 and the amount of data to be transmitted); after the first round of allocation, the number of remaining tokens of LCH2 is 100 bytes (the first round of allocation consumes tokens equal to the amount of data carried by the allocated resources);

第二轮分配:LCH1需要分得100byte,以避免数据超时。Second round of allocation: LCH1 needs to be allocated 100 bytes to avoid data timeout.

具体的,对于LCG1/LCH1,终端发送的上报信息可以如下信息:Specifically, for LCG1/LCH1, the reporting information sent by the terminal may be the following information:

时效信息:即T1相关信息。根据时效信息,网络侧设备可以推测出LCG1/LCH1的全部/部分数据将在T1超时,其中,时效信息可以是T1的绝对时间,或者当前时间和T1的差值等;Timeliness information: that is, information related to T1. Based on the timeliness information, the network side device can infer that all/part of the data of LCG1/LCH1 will time out at T1, where the timeliness information can be the absolute time of T1, or the difference between the current time and T1, etc.;

为了保证LCG1中与时效信息对应的数据不超时,网络侧设备所需要调度的资源大小(或者称作数据量),终端可以基于各LCH的令牌桶中令牌数量和剩余数据量确定该值;In order to ensure that the data corresponding to the timeliness information in LCG1 does not time out, the size of resources (or data volume) that the network side device needs to schedule can be determined by the terminal based on the number of tokens in the token bucket of each LCH and the remaining data volume;

LCG或LCH ID:上述LCG1或LCH1的标识。LCG or LCH ID: the ID of the above LCG1 or LCH1.

根据上述上报信息,网络侧设备可以确定为了避免终端的LCG1或LCH1中的数据超时,需要为终端调度的资源大小(也可以称作数据量的大小)。在一些实施方式中,上述LCG或LCH ID也可以不上报,或者时效信息也可以不上报,如网络侧设备默认时效信息为上报信息发送时刻的预设偏移。According to the above-mentioned reported information, the network side device can determine the resource size (also referred to as the size of the data volume) that needs to be scheduled for the terminal in order to avoid the data timeout in the LCG1 or LCH1 of the terminal. In some implementations, the above-mentioned LCG or LCH ID may not be reported, or the timeliness information may not be reported, such as the network side device defaults the timeliness information to be a preset offset of the time when the reported information is sent.

需要说明的是,本申请实施例并不限定资源大小信息是基于至少一个LCH的令牌数量信息和数据量信息得到,例如:在一些实施方式中,上述资源大小信息可以是只基于至少一个LCH的令牌数量信息,例如:上述上报信息包括缓存中的数据量,且上述至少一个LCH只存在一个剩余令牌数小于0且对应缓存存在即将超时的数据的第一LCH的情况下,上述资源大小信息表示与该数据量对应的上行资源的差值,该差值可以为预设值,如10byte、20byte、30byte等,这样可以使得在上述数据量对应的上行资源被分配完后,还有该差值对上行资源分配给即时超时的数据,以降低即时超时的数据没有分配资源的概率。It should be noted that the embodiments of the present application do not limit the resource size information to be obtained based on the token quantity information and data volume information of at least one LCH. For example, in some embodiments, the above-mentioned resource size information may be based only on the token quantity information of at least one LCH. For example, when the above-mentioned reporting information includes the amount of data in the cache, and there is only one first LCH in the above-mentioned at least one LCH with a remaining token number less than 0 and the corresponding cache has data that is about to time out, the above-mentioned resource size information represents the difference in uplink resources corresponding to the data volume, and the difference may be a preset value, such as 10 bytes, 20 bytes, 30 bytes, etc. In this way, after the uplink resources corresponding to the above-mentioned data volume are allocated, the difference can still be allocated to the uplink resources for the data that has timed out immediately, so as to reduce the probability that the data that has timed out immediately will not be allocated resources.

在一些实施方式中,上述资源大小信息可以是根据终端进行上行资源分配时,所采用的的规则推算的。In some implementations, the resource size information may be calculated based on a rule adopted by the terminal when performing uplink resource allocation.

作为一种可选的实施方式,所述优先为第一LCH分配上行资源,包括:As an optional implementation manner, the preferentially allocating uplink resources to the first LCH includes:

所述终端在所述上行调度信令指示的上行资源中,为所述第一LCH分配资源;The terminal allocates resources for the first LCH from the uplink resources indicated by the uplink scheduling signaling;

在为所述第一LCH分配资源后所述上行资源还存在剩余资源,且所述终端存在剩余令牌数量大于0的LCH的情况下,所述终端在所述剩余资源中,为剩余令牌数量大于0的LCH分配资源;或者,在为所述第一LCH分配资源后所述上行资源还存在剩余资源,且所述终端不存在剩余令牌数量大于0的LCH的情况下,所述终端在所述剩余资源中,按照优先级为对应缓存存在待传输数据的LCH分配资源。If there are still remaining uplink resources after allocating resources to the first LCH, and the terminal has an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with a remaining number of tokens greater than 0 from the remaining resources; or, if there are still remaining uplink resources after allocating resources to the first LCH, and the terminal does not have an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with data to be transmitted in the corresponding cache according to priority from the remaining resources.

其中,上述对应缓存存在待传输数据的LCH为与上述上行调度信令或者上述上行资源关联的LCH。The LCH in the corresponding cache where data to be transmitted exists is an LCH associated with the uplink scheduling signaling or the uplink resource.

上述按照优先级为对应缓存存在待传输数据的LCH分配资源可以是,按照优先级从高到低的顺序为各LCH分配资源。The above-mentioned allocating resources to the LCHs corresponding to the caches having data to be transmitted according to the priorities may be allocating resources to the LCHs in descending order of priorities.

该实施方式中,可以实现在获取上述上行资源后,首先为第一LCH分配资源。In this implementation, after acquiring the uplink resources, resources may be allocated to the first LCH first.

需要说明的是,如果在为第一LCH分配资源后上行资源不存在剩余资源,则结束流程。It should be noted that if there are no remaining uplink resources after allocating resources for the first LCH, the process ends.

上述为所述第一LCH分配资源可以是,为第一LCH中的部分或者全部即将超时的数据分配资源。其中,为第一LCH中的部分即将超时的数据分配资源同样可以降低即将超时的数据无法分配资源的概率。The above-mentioned allocation of resources to the first LCH may be to allocate resources to part or all of the data in the first LCH that is about to time out. Among them, allocating resources to part of the data in the first LCH that is about to time out can also reduce the probability that resources cannot be allocated to the data that is about to time out.

该实施方式中,可以实现优先为对应缓存存在即将超时的数据的LCH分配资源,以减少或者避免数据超时。In this implementation, resources may be allocated preferentially to the LCH corresponding to the cache containing data that is about to time out, so as to reduce or avoid data timeout.

作为一种可选的实施方式,所述优先为第一LCH分配上行资源,包括:As an optional implementation manner, the preferentially allocating uplink resources to the first LCH includes:

在所述终端存在剩余令牌数量大于0的LCH的情况下,所述终端在所述上行调度信令指示的上行资源中,为剩余令牌数量大于0的LCH分配资源;In a case where the terminal has an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with a remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling;

在为剩余令牌数量大于0的LCH分配资源后所述上行资源还存在剩余资源的情况下,在所述剩余资源中,优先为所述第一LCH分配资源,所述优先为所述第一LCH分配资源包括:在所述第一LCH和第二LCH中优先为所述第一LCH分配资源,所述第二LCH为对应缓存存在待传输数据,且优先级高于所述第一LCH的LCH。In the case that there are still remaining uplink resources after allocating resources to the LCH with the remaining token number greater than 0, among the remaining resources, resources are allocated preferentially to the first LCH, and the prioritization of resources allocated to the first LCH includes: allocating resources preferentially to the first LCH among the first LCH and the second LCH, the second LCH being an LCH for which the corresponding cache has data to be transmitted and whose priority is higher than that of the first LCH.

上述第二LCH可以与上述上行调度信令或者上述上行资源关联的LCH。The second LCH may be an LCH associated with the uplink scheduling signaling or the uplink resource.

上述在所述第一LCH和第二LCH中优先为所述第一LCH分配资源可以是,在优先为所述第一LCH分配资源后,上述上行资源还存在剩余资源,则在该剩余资源中,为对应缓存还存在数据的第二LCH分配上行资源,如果存在多个第二LCH,则这多个第二LCH按照优先级进行分配资源。因为,在实际应用中,在为剩余令牌数量大于0的LCH分配资源后,往往还未分配完的上行资源,从而将这些未分配完的上行资源优先为第一LCH分配资源,再考虑缓存还存在数据的第二LCH。The above-mentioned prioritizing the allocation of resources to the first LCH among the first LCH and the second LCH may be that after the priority allocation of resources to the first LCH, if there are still remaining resources in the above-mentioned uplink resources, then the uplink resources are allocated to the second LCH whose corresponding cache still has data in the remaining resources, and if there are multiple second LCHs, the resources are allocated to the multiple second LCHs according to the priority. Because, in actual applications, after allocating resources to the LCH whose remaining token number is greater than 0, there are often uplink resources that have not been allocated, so these uplink resources that have not been allocated are allocated to the first LCH in priority, and then the second LCH whose cache still has data is considered.

例如:分配资源的过程依次包括如下:For example, the process of allocating resources includes the following steps:

为剩余令牌数量大于0的LCH分配资源;Allocate resources for LCHs whose remaining token quantity is greater than 0;

为所述第一LCH分配资源;allocating resources for the first LCH;

缓存还存在数据的第二LCH分配资源,具体为经过上述两轮分配后缓存还存在数据的LCH。The second LCH in which data is still cached is allocated resources, specifically, the LCH in which data is still cached after the above two rounds of allocation.

该实施方式中,在为剩余令牌数量大于0的LCH分配资源后所述上行资源还存在剩余资源的情况下,在所述剩余资源中,优先为所述第一LCH分配资源,这样可以避免将剩余的上行资源分配给其他LCH,进而降低即将超时的数据未分配到资源的概率。In this implementation, when there are still remaining uplink resources after allocating resources to the LCH with a remaining token number greater than 0, resources are preferentially allocated to the first LCH among the remaining resources. This can avoid allocating the remaining uplink resources to other LCHs, thereby reducing the probability of not allocating resources to data that is about to time out.

可选的,在上述多种实施方式中,在所述终端存在多个所述第一LCH的情况下,所述为所述第一LCH分配资源包括:Optionally, in the foregoing multiple implementations, when the terminal has multiple first LCHs, allocating resources to the first LCH includes:

按照如下至少一项规则为多个所述第一LCH分配资源:Resources are allocated to the plurality of first LCHs according to at least one of the following rules:

超时时间早的LCH优先分配的规则;The rule that LCH with earlier timeout time is allocated first;

优先级高的LCH优先分配的规则。The rule that LCHs with higher priorities are allocated first.

上述超时时间早的LCH优先分配的规则可以是,按照多个第一LCH中数据超时的先后顺序分配资源,如第一LCH1中即将超时的数据超时时间为T1,第一LCH2中即将超时的数据超时时间为T2,T1早于T2,则优先为第一LCH1优先资源,再为第一LCH2分配资源。The rule for prioritizing the LCH with the earlier timeout time may be to allocate resources in the order in which the data in the multiple first LCHs time out. For example, if the timeout time of the data that is about to time out in the first LCH1 is T1, and the timeout time of the data that is about to time out in the first LCH2 is T2, and T1 is earlier than T2, then the first LCH1 will be given priority, and then the first LCH2 will be allocated resources.

上述优先级高的LCH优先分配的规则可以是,按照多个第一LCH的优先级分配资源,如第一LCH1优先级高于第一LCH2,则优先为第一LCH1优先资源,再为第一LCH2分配资源。The rule for preferentially allocating the LCH with a higher priority may be to allocate resources according to the priorities of the multiple first LCHs. For example, if the priority of the first LCH1 is higher than that of the first LCH2, resources are allocated to the first LCH1 first, and then to the first LCH2.

该实施方式中,通过上述规则可以提高资源分配效果。In this implementation, the resource allocation effect can be improved by using the above rules.

可选的,在上述多种实施方式中,所述为所述第一LCH分配资源包括:Optionally, in the foregoing multiple implementations, allocating resources to the first LCH includes:

在所述第一LCH的令牌耗尽,且所述第一LCH还存在即将超时的数据未分配资源的情况下,扣减所述第一LCH的令牌至负值分配资源,直到所述第一LCH的即将超时的数据都分配到资源或者所述上行资源被分配完;When the token of the first LCH is exhausted and there is data about to time out on the first LCH that has not been allocated resources, deduct the token of the first LCH to a negative value to allocate resources until all the data about to time out on the first LCH is allocated resources or the uplink resources are fully allocated;

其中,所述为所述第一LCH分配资源后所述上行资源还存在剩余资源是指:所述第一LCH的即将超时的数据都分配到资源后,所述上行资源还存在剩余资源。The fact that there are still remaining uplink resources after resources are allocated to the first LCH means that after all data of the first LCH that is about to time out are allocated resources, there are still remaining uplink resources.

该实施方式中,可以实现在第一LCH的令牌耗尽的情况下,继续为第一LCH分配资源,进一步降低即将超时的数据都分配到资源的概率。In this implementation, when the token of the first LCH is exhausted, resources can continue to be allocated to the first LCH, further reducing the probability that data that is about to time out is allocated resources.

作为一种可选的实施方式,所述在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源,包括:As an optional implementation manner, allocating uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round includes:

在所述第一LCH的剩余令牌数量小于或者等于0的情况下,在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源。When the number of remaining tokens of the first LCH is less than or equal to 0, uplink resources are allocated to the first LCH and the LCH with the number of remaining tokens greater than 0 in the same round.

其中,上述在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源,依次为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源。Among them, in the above, in the same round, uplink resources are allocated to the first LCH and the LCH with the remaining number of tokens greater than 0, and uplink resources are allocated to the first LCH and the LCH with the remaining number of tokens greater than 0 in turn.

该实施方式,可以实现将剩余令牌数量小于或者等于0的第一LCH与剩余令牌数量大于0的LCH在一轮中进行分配资源,进一步降低即将超时的数据都分配到资源的概率。This implementation can allocate resources to the first LCH whose remaining token number is less than or equal to 0 and the LCH whose remaining token number is greater than 0 in one round, further reducing the probability that data that is about to time out is allocated resources.

可选的,所述在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源,包括:Optionally, allocating uplink resources to the first LCH and an LCH with a remaining number of tokens greater than 0 in the same round includes:

在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH的优先级与剩余令牌数量大于0的LCH的优先级,按优先级从高到低的顺序,依次为所述第一LCH与剩余令牌数量大于0的LCH分配资源。When the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling, in order of priority from high to low, according to the priority of the first LCH and the priority of the LCH with the remaining number of tokens greater than 0.

该实施方式中,可以实现按照第一LCH的优先级与剩余令牌数量大于0的LCH的优先级进行资源分配,以提高资源分配效果。In this implementation, resource allocation can be performed according to the priority of the first LCH and the priority of the LCH with the number of remaining tokens greater than 0, so as to improve the resource allocation effect.

可选的,在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH的优先级与剩余令牌数量大于0的LCH的优先级,按优先级从高到低的顺序,依次为所述第一LCH与剩余令牌数量大于0的LCH分配资源,包括:Optionally, when the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling, in order of priority from high to low, according to the priority of the first LCH and the priority of the LCH with the remaining number of tokens greater than 0, including:

在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,若所述第一LCH的令牌数量超过预设令牌数量阈值,则所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH的优先级与剩余令牌数量大于0的LCH的优先级,按优先级从高到低的顺序,依次为所述第一LCH与剩余令牌数量大于0的LCH分配资源。When the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, if the number of tokens of the first LCH exceeds the preset token number threshold, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling, in order of priority from high to low, according to the priority of the first LCH and the priority of the LCH with the remaining number of tokens greater than 0.

其中,上述预设令牌数量阈值可以是协议约定或者网络侧配置的。上述预设令牌数量阈值具体为负值,如-500byte、-1000byte等值。The preset token quantity threshold may be a protocol agreement or a network configuration. The preset token quantity threshold is specifically a negative value, such as -500byte, -1000byte, etc.

该实施方式中,将第一LCH的令牌数量超过预设令牌数量阈值与剩余令牌数量大于0的LCH进行资源分配。In this implementation, resources are allocated to the LCH whose token quantity exceeds the preset token quantity threshold and whose remaining token quantity is greater than 0.

作为一种可选的实施方式,所述终端对所述上行调度信令指示的上行资源进行分配,包括:As an optional implementation manner, the terminal allocating the uplink resources indicated by the uplink scheduling signaling includes:

所述终端按照所述网络侧配置指示的分配方式,对所述上行调度信令指示的上行资源进行分配。The terminal allocates the uplink resources indicated by the uplink scheduling signaling according to the allocation mode indicated by the network side configuration.

其中,上述分配方式可以包括如下至少一项:The above allocation method may include at least one of the following:

所述上行调度信令指示的所述上行资源的分配方式;an allocation mode of the uplink resources indicated by the uplink scheduling signaling;

所述网络侧设备通过无线资源控制(Radio Resource Control,RRC)信令指示的上行资源的分配方式;The network side device indicates the allocation mode of uplink resources through Radio Resource Control (RRC) signaling;

协议约定的分配方式。The distribution method agreed upon in the agreement.

其中,上述RRC信令可以是指示后继调度的上行资源的分配方式。The RRC signaling may indicate an allocation method of uplink resources for subsequent scheduling.

上述分配方式可以指示如下至少一项:The above allocation method may indicate at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源。In the same round, uplink resources are allocated to the first LCH and the LCH with the number of remaining tokens greater than 0.

需要说明的是,网络侧可以选择性指示终端按照步骤203的分配资源进行资源分配或者按照协议已定义的方式进行资源分配。It should be noted that the network side can selectively instruct the terminal to perform resource allocation according to the allocated resources in step 203 or to perform resource allocation according to a method defined in the protocol.

该实施方式中,可以提高终端分配资源的灵活性。In this implementation, the flexibility of resource allocation of the terminal can be improved.

本申请实施例中,通过令牌的关联信息使得网络侧在为终端分配上行资源参考令牌的关联信息,从而可以降低即将超时数据无法分配到资源的概率,进而提高终端的数据传输性能。另外,通过优先为第一LCH分配上行资源,或者,允许所述第一LCH与剩余令牌数量大于0的LCH在同一轮中分配上行资源,也可以降低即将超时数据无法分配到资源的概率,进而提高终端的数据传输性能。In the embodiment of the present application, the network side refers to the association information of the token when allocating uplink resources to the terminal through the association information of the token, thereby reducing the probability that the data that is about to time out cannot be allocated to the resource, thereby improving the data transmission performance of the terminal. In addition, by preferentially allocating uplink resources to the first LCH, or allowing the first LCH and the LCH with a remaining number of tokens greater than 0 to allocate uplink resources in the same round, the probability that the data that is about to time out cannot be allocated to the resource can also be reduced, thereby improving the data transmission performance of the terminal.

请参见图3,图3是本申请实施例提供的另一种资源分配方法的流程图,如图3所示,包括以下步骤:Please refer to FIG. 3, which is a flow chart of another resource allocation method provided in an embodiment of the present application. As shown in FIG. 3, the method includes the following steps:

步骤301、网络侧设备接收终端发送的上报信息,所述上报信息用于辅助网络侧设备分配上行资源;Step 301: The network side device receives the reporting information sent by the terminal, where the reporting information is used to assist the network side device in allocating uplink resources;

步骤302、所述网络侧设备基于所述上报信息,向所述终端发送上行调度信令;Step 302: The network side device sends an uplink scheduling signaling to the terminal based on the reported information;

其中,所述上报信息包括:令牌的关联信息;和/或,所述上行调度信令用于触发如下至少一项:The reported information includes: associated information of the token; and/or the uplink scheduling signaling is used to trigger at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

可选的,所述令牌的关联信息包括如下至少一项:Optionally, the token association information includes at least one of the following:

资源大小信息,所述资源大小信息是基于所述终端的令牌数量信息得到;Resource size information, the resource size information is obtained based on the token quantity information of the terminal;

所述终端的令牌数量信息。The token quantity information of the terminal.

可选的,所述资源大小信息是基于至少一个LCH的令牌数量信息和数据量信息得到,所述至少一个LCH包括所述第一LCH。Optionally, the resource size information is obtained based on token quantity information and data volume information of at least one LCH, and the at least one LCH includes the first LCH.

可选的,所述至少一个LCH的数据量信息包括:Optionally, the data volume information of the at least one LCH includes:

所述至少一个LCH的即将超时的数据量信息。Information about the amount of data that is about to time out of the at least one LCH.

可选的,所述即将超时的数据包括:Optionally, the data that is about to time out includes:

超时时刻与当前时刻的间隔低于预设时间阈值的数据。The interval between the timeout moment and the current moment is lower than the preset time threshold.

可选的,所述网络侧设备还向所述终端指示分配方式,所述分配方式为所述终端对所述上行调度信令指示的上行资源进行分配的分配方式。Optionally, the network side device further indicates an allocation mode to the terminal, where the allocation mode is an allocation mode in which the terminal allocates the uplink resources indicated by the uplink scheduling signaling.

可选的,所述网络侧设备向所述终端指示的分配方式包括如下至少一项:Optionally, the allocation mode indicated by the network side device to the terminal includes at least one of the following:

所述上行调度信令指示的上行资源的分配方式;an allocation mode of uplink resources indicated by the uplink scheduling signaling;

通过无线资源控制RRC信令指示的上行资源的分配方式。The uplink resource allocation method is controlled by radio resource control RRC signaling.

需要说明的是,本实施例作为与图2所示的实施例中对应的网络侧设备的实施方式,其具体的实施方式可以参见图2所示的实施例的相关说明,以为避免重复说明,本实施例不再赘述。It should be noted that this embodiment is an implementation of the network side device corresponding to the embodiment shown in Figure 2. Its specific implementation can refer to the relevant description of the embodiment shown in Figure 2. In order to avoid repeated description, this embodiment will not be repeated.

下面通过多个实施例对本申请实施例提供的资源分配方法进行举例说明:The resource allocation method provided in the embodiment of the present application is illustrated below by means of multiple embodiments:

实施例一:Embodiment 1:

该实施例中,在终端收到UL grant时,优先分配给对应缓存存在即将超时的数据的LCH使用,具体可以包括如下步骤:In this embodiment, when the terminal receives the UL grant, it is preferentially allocated to the LCH corresponding to the cache containing data that is about to time out, which may specifically include the following steps:

1.终端收到UL grant;1. The terminal receives a UL grant;

2.UE优先将UL grant分配给对应缓存存在即将超时的数据的LCH中的即将超时的数据(此时,不要求该LCH对应的令牌桶中令牌数量大于0);2. The UE preferentially allocates UL grant to the data that is about to time out in the LCH corresponding to the cache of the data that is about to time out (at this time, the number of tokens in the token bucket corresponding to the LCH is not required to be greater than 0);

例如:网络侧配置终端一个预设时间门限,当目标数据的超时时间点与当前时间点的间隔低于预设时间门限时,终端优先将UL grant分配用于承载目标数据;For example, the network side configures a preset time threshold for the terminal. When the interval between the timeout time point of the target data and the current time point is lower than the preset time threshold, the terminal preferentially allocates the UL grant to carry the target data.

当不同逻辑信道均有即将超时的数据时,按照以下顺序之一进行UL grant的分配:When different logical channels have data that is about to time out, UL grants are allocated in one of the following orders:

优先给最近/最早超时的LCH分配UL grant;Prioritize the allocation of UL grants to the LCH that has timed out most recently or earliest;

优先给优先级高的LCH分配UL grant;Prioritize the allocation of UL grants to LCHs with higher priorities;

如果UL grant耗尽,则资源分配结束。If the UL grant is exhausted, the resource allocation ends.

可选的,在进行UL grant分配时,需要消耗对应LCH中的令牌,直到即将超时的数据均分到上行资源或UL grant耗尽。当令牌耗尽时,如果对应LCH还有即将超时的数据,可以继续扣减令牌桶中的令牌数至负值,直到即将超时的数据全部分配到UL grant资源或ULgrant耗尽。Optionally, when allocating UL grant, the tokens in the corresponding LCH need to be consumed until the data that is about to time out is evenly distributed to the uplink resources or the UL grant is exhausted. When the tokens are exhausted, if there is still data that is about to time out in the corresponding LCH, the number of tokens in the token bucket can be further deducted to a negative value until all the data that is about to time out is allocated to the UL grant resources or the UL grant is exhausted.

对应LCH中的剩余令牌可以为正值,0或负值。The remaining tokens in the corresponding LCH can be positive, 0 or negative.

3.在所有对应缓存顾虑在即将超时的数据的LCH中的即将超时的数据全部分到ULgrant资源后,如果还有尚未分配的UL grant资源,则按照协议中已定义的资源分配方式进行后继资源分配,具体可以如下:3. After all the data about to time out in the LCH corresponding to the data about to time out are allocated to the UL grant resources, if there are still UL grant resources that have not been allocated, the subsequent resource allocation is performed according to the resource allocation method defined in the protocol, which can be as follows:

步骤0:终端获得UL grant;Step 0: The terminal obtains UL grant;

步骤1:第一轮资源分配:终端优先将UL grant分配给对应缓存存在即将超时的LCH中的即将超时的数据(此时,不要求所述LCH对应的令牌桶中令牌数量大于0);Step 1: First round of resource allocation: The terminal preferentially allocates UL grant to the data that is about to time out in the corresponding cache of the LCH that is about to time out (at this time, the number of tokens in the token bucket corresponding to the LCH is not required to be greater than 0);

例如:网络侧配置终端一个预设时间门限,当目标数据的超时时间点与当前时间点的间隔低于预设时间门限时,终端优先将UL grant分配用于承载目标数据;For example, the network side configures a preset time threshold for the terminal. When the interval between the timeout time point of the target data and the current time point is lower than the preset time threshold, the terminal preferentially allocates the UL grant to carry the target data.

当不同逻辑信道均有即将超时的数据时,按照以下顺序之一进行ul grant的分配:When different logical channels have data that is about to time out, UL grants are allocated in one of the following orders:

优先给最近/最早超时的LCH分配UL grant;Prioritize the allocation of UL grants to the LCH that has timed out most recently or earliest;

优先给优先级高的LCH分配UL grant;Prioritize the allocation of UL grants to LCHs with higher priorities;

如果UL grant耗尽,则资源分配结束。If the UL grant is exhausted, the resource allocation ends.

可选的,在进行ULgrant分配时,需要消耗对应LCH中的令牌,直到即将超时的数据均分到上行资源或UL grant耗尽。当令牌耗尽时,如果对应LCH还有即将超时的数据,可以继续扣减令牌桶中的令牌数至负值,直到即将超时的数据全部分配到UL grant资源或ULgrant耗尽。Optionally, when allocating UL grant, the tokens in the corresponding LCH need to be consumed until the data that is about to time out is evenly distributed to the uplink resources or the UL grant is exhausted. When the tokens are exhausted, if there is still data that is about to time out in the corresponding LCH, the number of tokens in the token bucket can be further deducted to a negative value until all the data that is about to time out is allocated to the UL grant resources or the UL grant is exhausted.

对应LCH中的剩余令牌可以为正值,0或负值。The remaining tokens in the corresponding LCH can be positive, 0 or negative.

在所有对应缓存有即将超时的数据的LCH中的即将超时的数据全部分到UL grant资源后,如果还有尚未分配的UL grant资源,则按照如下方式进行后继资源分配:After all the data about to time out in the LCHs corresponding to the caches with the data about to time out are allocated to the UL grant resources, if there are still UL grant resources that have not been allocated, the subsequent resource allocation is performed in the following manner:

步骤2:第二轮资源分配:对于所有可以映射到上述UL grant上进行传输的LCH,如果其有待传数据,则按照LCH优先级从高到低的顺序,终端基于每个LCH对应的令牌桶中剩余的令牌(仅剩余令牌数量大于0的LCH参与第二轮分配)和待传数据量,为每个LCH依次分配对应数量的上行资源;在为LCHj分配资源后,如果还有UL grant资源,则继续给后继的LCHk(LCHk的优先级不高于LCHj的优先级)分配UL grant资源;直到UL grant耗尽或者所有令牌数量大于0且有待传数据的LCH都依次分配了UL grant。此时,第二轮分配结束;Step 2: Second round of resource allocation: For all LCHs that can be mapped to the above UL grant for transmission, if they have data to be transmitted, the terminal will allocate the corresponding number of uplink resources to each LCH in turn based on the remaining tokens in the token bucket corresponding to each LCH (only LCHs with a remaining number of tokens greater than 0 participate in the second round of allocation) and the amount of data to be transmitted in the order of LCH priority from high to low; after allocating resources to LCHj, if there are still UL grant resources, continue to allocate UL grant resources to the subsequent LCHk (the priority of LCHk is not higher than that of LCHj); until the UL grant is exhausted or all LCHs with a number of tokens greater than 0 and data to be transmitted are allocated UL grants in turn. At this point, the second round of allocation ends;

步骤3:在进行第二轮分配后,终端根据为每个LCH分配资源可承载数据量的多少(size),从其令牌桶中减去对应的令牌数量;减完后,令牌桶中的令牌数量可以为负值。Step 3: After the second round of allocation, the terminal subtracts the corresponding number of tokens from its token bucket according to the amount of data (size) that can be carried by the resources allocated to each LCH; after the subtraction, the number of tokens in the token bucket can be a negative value.

步骤4:第三轮资源分配:如果UL grant尚有剩余,且至少一个可以使用该ULgrant的LCH中还有待传输数据,则进行第三轮资源分配。按照LCH优先级从高到低的顺序,基于每个LCH剩余待传数据量分配资源:即如果剩余UL grant足以承载一个LCHj的所有剩余待传数据,则在将UL grant分配给LCHj后,将剩余的UL grant(如有剩余)分配给后继LCHk(LCHk的优先级不高于LCHj的优先级),以此类推;如果剩余UL grant不足以承载一个LCHj的所有剩余待传数据,则将剩余UL grant全部分配给当前的LCHj,即优先级低于LCHj的其他LCH不参与第三轮资源分配;优先级等于LCHj的其他后继LCH也不参与第三轮资源分配。其中,第三轮资源分配不减扣分到资源的LCH对应令牌桶中的令牌数量。Step 4: The third round of resource allocation: If there are still UL grants remaining, and at least one LCH that can use the UL grant has data to be transmitted, the third round of resource allocation is performed. Resources are allocated based on the amount of remaining data to be transmitted for each LCH in descending order of LCH priority: that is, if the remaining UL grant is sufficient to carry all the remaining data to be transmitted of an LCHj, then after the UL grant is allocated to LCHj, the remaining UL grant (if any) is allocated to the subsequent LCHk (the priority of LCHk is not higher than the priority of LCHj), and so on; if the remaining UL grant is insufficient to carry all the remaining data to be transmitted of an LCHj, then all the remaining UL grants are allocated to the current LCHj, that is, other LCHs with a lower priority than LCHj do not participate in the third round of resource allocation; other subsequent LCHs with a priority equal to LCHj do not participate in the third round of resource allocation. Among them, the third round of resource allocation does not reduce the number of tokens in the token bucket corresponding to the LCH that has been deducted from the resources.

实施例二:Embodiment 2:

该实施例中,在终端收到UL grant时,先进行第一轮资源分配;在第一轮资源分配之后,优先给即将超时的数据分配上行资源;最后再进行最后一轮资源分配,具体可以如下:In this embodiment, when the terminal receives the UL grant, the first round of resource allocation is performed first; after the first round of resource allocation, uplink resources are preferentially allocated to data that is about to time out; and finally the last round of resource allocation is performed, which may be specifically as follows:

步骤0:终端获得UL grant;Step 0: The terminal obtains UL grant;

步骤1:第一轮资源分配:对于所有可以映射到所述UL grant上进行传输的LCH,如果其有待传数据,则按照LCH优先级从高到低的顺序,UE基于每个LCH对应的令牌桶中剩余的令牌(仅剩余令牌数量大于0的LCH参与第一轮分配),待传数据量,为每个LCH依次分配对应数量的上行资源;在为LCHj分配资源后,如果还有UL grant资源,则继续给后继的LCHk(LCHk的优先级不高于LCHj的优先级)分配UL grant资源;直到UL grant耗尽或者所有令牌数量大于0且有待传数据的LCH都依次分配了UL grant。此时,第一轮分配结束;Step 1: The first round of resource allocation: For all LCHs that can be mapped to the UL grant for transmission, if they have data to be transmitted, the UE will allocate the corresponding number of uplink resources to each LCH in turn based on the remaining tokens in the token bucket corresponding to each LCH (only LCHs with a remaining number of tokens greater than 0 participate in the first round of allocation) and the amount of data to be transmitted, in order of LCH priority from high to low; after allocating resources to LCHj, if there are still UL grant resources, continue to allocate UL grant resources to the subsequent LCHk (the priority of LCHk is not higher than that of LCHj); until the UL grant is exhausted or all LCHs with a number of tokens greater than 0 and data to be transmitted are allocated UL grants in turn. At this point, the first round of allocation ends;

步骤2:在进行第一轮分配后,终端根据为每个LCH分配资源可承载数据量的多少(size),从其令牌桶中减去对应的令牌数量;减完后,令牌桶中的令牌数量可以为负值。Step 2: After the first round of allocation, the terminal subtracts the corresponding number of tokens from its token bucket according to the amount of data (size) that can be carried by the resources allocated to each LCH; after the subtraction, the number of tokens in the token bucket can be a negative value.

步骤3:第二轮资源分配:如果UL grant尚有剩余,且至少一个可以使用该ULgrant的LCH中还有即将超时的数据,则终端将UL grant分配用于承载即将超时的数据;Step 3: Second round of resource allocation: If there is still UL grant left, and at least one LCH that can use the UL grant still has data that is about to time out, the terminal allocates the UL grant to carry the data that is about to time out;

当不同逻辑信道均有即将超时的数据时,按照以下顺序之一进行ul grant的分配:When different logical channels have data that is about to time out, UL grants are allocated in one of the following orders:

优先给最近/最早超时的LCH分配UL grant;Prioritize the allocation of UL grants to the LCH that has timed out most recently or earliest;

优先给优先级高的LCH分配UL grant;Prioritize the allocation of UL grants to LCHs with higher priorities;

如果UL grant耗尽,则资源分配结束。If the UL grant is exhausted, the resource allocation ends.

可选的,在进行ULgrant分配时,需要消耗对应LCH中的令牌,直到即将超时的数据均分到上行资源或UL grant耗尽。当令牌耗尽时,如果对应LCH还有即将超时的数据,可以继续扣减令牌桶中的令牌数至负值,直到即将超时的数据全部分配到UL grant资源或ULgrant耗尽。对应LCH中的剩余令牌可以为正值,0或负值。Optionally, when allocating UL grant, the tokens in the corresponding LCH need to be consumed until the data that is about to time out is evenly distributed to the uplink resources or the UL grant is exhausted. When the tokens are exhausted, if there is still data that is about to time out in the corresponding LCH, the number of tokens in the token bucket can be further deducted to a negative value until all the data that is about to time out is allocated to the UL grant resources or the UL grant is exhausted. The remaining tokens in the corresponding LCH can be positive, 0 or negative.

步骤4:第三轮资源分配:如果UL grant尚有剩余,且至少一个可以使用该ULgrant的LCH中还有待传输数据,则进行第三轮资源分配。按照LCH优先级从高到低的顺序,基于每个LCH剩余待传数据量分配资源:即如果剩余UL grant足以承载一个LCHj的所有剩余待传数据,则在将UL grant分配给LCHj后,将剩余的UL grant(如有剩余)分配给后继LCHk(LCHk的优先级不高于LCHj的优先级),以此类推;如果剩余UL grant不足以承载一个LCHj的所有剩余待传数据,则将剩余UL grant全部分配给当前的LCHj,即优先级低于LCHj的其他LCH不参与第三轮资源分配;优先级等于LCHj的其他后继LCH也不参与第三轮资源分配。第三轮资源分配不减扣分到资源的LCH对应令牌桶中的令牌数量。Step 4: The third round of resource allocation: If there are still UL grants remaining, and at least one LCH that can use the UL grant has data to be transmitted, the third round of resource allocation is performed. Resources are allocated based on the amount of remaining data to be transmitted for each LCH in descending order of LCH priority: that is, if the remaining UL grant is sufficient to carry all the remaining data to be transmitted of an LCHj, then after the UL grant is allocated to LCHj, the remaining UL grant (if any) is allocated to the subsequent LCHk (the priority of LCHk is not higher than the priority of LCHj), and so on; if the remaining UL grant is insufficient to carry all the remaining data to be transmitted of an LCHj, then all the remaining UL grants are allocated to the current LCHj, that is, other LCHs with a lower priority than LCHj do not participate in the third round of resource allocation; other subsequent LCHs with a priority equal to LCHj do not participate in the third round of resource allocation. The third round of resource allocation does not reduce the number of tokens in the token bucket corresponding to the LCH that is deducted from the resources.

实施例三:Embodiment three:

该实施例中,增强第一轮分配,即允许对应缓存有将超时数据的LCH信道参与分配,即使该LCH关联的令牌桶中的令牌数量小于或等于0,具体可以如下:In this embodiment, the first round of allocation is enhanced, that is, the LCH channel corresponding to the cache with timed-out data is allowed to participate in the allocation, even if the number of tokens in the token bucket associated with the LCH is less than or equal to 0, specifically as follows:

步骤0:终端获得UL grant;Step 0: The terminal obtains UL grant;

步骤1:第一轮资源分配:对于所有可以映射到所述UL grant上进行传输的LCH,如果其有待传数据,则按照LCH优先级从高到低的顺序,UE基于每个LCH对应的令牌桶中剩余的令牌或是否有即将超时的数据(仅剩余令牌数量大于0和/或有即将超时的数据的LCH参与第一轮分配),待传数据量,为每个LCH依次分配对应数量的上行资源;在为LCHj分配资源后,如果还有UL grant资源,则继续给后继的LCHk(LCHk的优先级不高于LCHj的优先级)分配UL grant资源,依次类推;直到UL grant耗尽或者“所有令牌数量大于0且有待传数据的LCH以及有即将超时的数据的LCH”都依次分配了UL grant,此时,第一轮分配结束;Step 1: the first round of resource allocation: for all LCHs that can be mapped to the UL grant for transmission, if they have data to be transmitted, the UE allocates a corresponding number of uplink resources to each LCH in turn in the order of LCH priority from high to low, based on the remaining tokens in the token bucket corresponding to each LCH or whether there is data that is about to time out (only LCHs with a remaining number of tokens greater than 0 and/or data that is about to time out participate in the first round of allocation), and the amount of data to be transmitted; after allocating resources to LCHj, if there are still UL grant resources, continue to allocate UL grant resources to the subsequent LCHk (the priority of LCHk is not higher than the priority of LCHj), and so on; until the UL grant is exhausted or "all LCHs with a number of tokens greater than 0 and data to be transmitted and LCHs with data that is about to time out" are allocated UL grants in turn, at which time, the first round of allocation ends;

步骤2:在进行第一轮分配后,终端根据为每个LCH分配资源可承载数据量的多少(size),从其令牌桶中减去对应的令牌数量;减完后,令牌桶中的令牌数量可以为负值。Step 2: After the first round of allocation, the terminal subtracts the corresponding number of tokens from its token bucket according to the amount of data (size) that can be carried by the resources allocated to each LCH; after the subtraction, the number of tokens in the token bucket can be a negative value.

步骤3:第二轮资源分配:如果UL grant尚有剩余,且至少一个可以使用该ULgrant的LCH中还有待传输数据,则进行第二轮资源分配。按照LCH优先级从高到低的顺序,基于每个LCH剩余待传数据量分配资源:即如果剩余UL grant足以承载一个LCHj的所有剩余待传数据,则在将UL grant分配给LCHj后,将剩余的UL grant(如有剩余)分配给后继LCHk(LCHk的优先级不高于LCHj的优先级),以此类推;如果剩余UL grant不足以承载一个LCHj的所有剩余待传数据,则将剩余UL grant全部分配给当前的LCHj,即优先级低于LCHj的其他LCH不参与第二轮资源分配;优先级等于LCHj的其他后继LCH也不参与第二轮资源分配。第二轮资源分配不减扣分到资源的LCH对应令牌桶中的令牌数量。Step 3: Second round of resource allocation: If there are still UL grants remaining, and at least one LCH that can use the UL grant has data to be transmitted, the second round of resource allocation is performed. Resources are allocated based on the amount of remaining data to be transmitted for each LCH in descending order of LCH priority: that is, if the remaining UL grant is sufficient to carry all the remaining data to be transmitted of an LCHj, then after the UL grant is allocated to LCHj, the remaining UL grant (if any) is allocated to the subsequent LCHk (the priority of LCHk is not higher than the priority of LCHj), and so on; if the remaining UL grant is insufficient to carry all the remaining data to be transmitted of an LCHj, then all the remaining UL grants are allocated to the current LCHj, that is, other LCHs with a lower priority than LCHj do not participate in the second round of resource allocation; other subsequent LCHs with the same priority as LCHj do not participate in the second round of resource allocation. The second round of resource allocation does not reduce the number of tokens in the token bucket corresponding to the LCH that has been deducted from the resources.

作为一种可选增强:在步骤1中,有即将超时的数据的LCH,如果令牌桶中的令牌的数量超过预设门限,才参与第一轮资源分配。所述预设门限由网络配置或协议设置,所述预设门限为小于0的值。As an optional enhancement: in step 1, the LCH with data about to time out participates in the first round of resource allocation only if the number of tokens in the token bucket exceeds a preset threshold. The preset threshold is set by network configuration or protocol, and the preset threshold is a value less than 0.

需要说明的是,在上述多个实施例中,在UL grant中或承载UL grant的下行控制信息(Downlink Control Information,DCI)/物理下行控制信道(Physical downlinkcontrol channel,PDCCH)信令中可以携带指示,该指示用于指示UL grant的分配方式:如启用新方式分配UL grant(即上述多个实施例给出的方式);或终端根据所接收的RRC配置信令,确定启用新方式分配UL grant(即上述多个实施例给出的方式)。It should be noted that in the above-mentioned multiple embodiments, an indication may be carried in the UL grant or in the downlink control information (Downlink Control Information, DCI)/physical downlink control channel (Physical downlink control channel, PDCCH) signaling carrying the UL grant, and the indication is used to indicate the allocation method of the UL grant: such as enabling a new method to allocate UL grant (i.e., the method given in the above-mentioned multiple embodiments); or the terminal determines to enable a new method to allocate UL grant (i.e., the method given in the above-mentioned multiple embodiments) based on the received RRC configuration signaling.

本申请实施例中,可以实现如下:In the embodiment of the present application, the following can be achieved:

一、终端上报特定逻辑信道/逻辑信道组上将超时的数据的数量,该数据量可以包括即将超时的数据的数量,以及还可以包括在即将超时的数据被分配上行资源之前,需要被分配上行资源的其他逻辑信道/逻辑信道组中数据的数据量;1. The terminal reports the amount of data that will time out on a specific logical channel/logical channel group, which may include the amount of data that is about to time out, and may also include the amount of data in other logical channels/logical channel groups that need to be allocated uplink resources before the data that is about to time out is allocated uplink resources;

二、在进行上行资源分配时,在两轮分配的基础上,增加一轮资源分配,具体为如下两种之一:2. When allocating uplink resources, an additional round of resource allocation is added on the basis of the two rounds of allocation, which is specifically one of the following two:

增加的分配轮次位于现有第一轮之前,增加的轮次用于将上行资源分配给将超时的上行数据(不论即将超时的数据所属的LCH关联的令牌桶中令牌数量是否大于0);The added allocation round is located before the existing first round, and the added round is used to allocate uplink resources to uplink data that is about to time out (regardless of whether the number of tokens in the token bucket associated with the LCH to which the data that is about to time out belongs is greater than 0);

增加的分配轮次位于协议已定义的第一轮之后第二轮之前,增加的轮次用于将上行资源分配给将超时的上行数据(不论即将超时的数据所属的LCH关联的令牌桶中令牌数量是否大于0);The added allocation round is located after the first round and before the second round defined in the protocol, and the added round is used to allocate uplink resources to uplink data that is about to time out (regardless of whether the number of tokens in the token bucket associated with the LCH to which the data that is about to time out belongs is greater than 0);

三、在进行上行资源分配时,在协议已定义的两轮分配的基础上,增强协议已定义的第一轮分配机制:即使将超时的上行数据所属的逻辑信道对应的令牌桶中令牌数量小于或等于0,其也可以参与第一轮资源分配。3. When allocating uplink resources, on the basis of the two rounds of allocation defined in the protocol, the first round allocation mechanism defined in the protocol is enhanced: even if the number of tokens in the token bucket corresponding to the logical channel to which the timed-out uplink data belongs is less than or equal to 0, it can also participate in the first round of resource allocation.

四、终端根据所接收的网络侧控制信息(L1/2控制信令或RRC配置信令),确定启用新方式分配UL grant(即上述多个实施例给出的方式)。Fourth, the terminal determines to enable a new method for allocating UL grant (ie, the method given in the above-mentioned multiple embodiments) according to the received network-side control information (L1/2 control signaling or RRC configuration signaling).

本申请实施例中,在收到UL grant后,终端优先将上行资源分配给即将超时的数据,避免因为受到协议中已定义的逻辑信道优先级(Logical Channel Prioritization,LCP)/令牌桶中令牌数量的限制,将资源有限分配给其他非即将超时的数据。将上行资源有限分配给即将超时的数据,可以有效降低上行数据的丢包率,提高用户满意度。In the embodiment of the present application, after receiving the UL grant, the terminal preferentially allocates uplink resources to data that is about to time out, avoiding the allocation of limited resources to other data that is not about to time out due to the limitation of the number of tokens in the logical channel priority (LCP)/token bucket defined in the protocol. Allocating limited uplink resources to data that is about to time out can effectively reduce the packet loss rate of uplink data and improve user satisfaction.

请参见图4,图4是本申请实施例提供的一种资源分配装置的结构图,如图4所示,资源分配装置400包括:Please refer to FIG. 4 , which is a structural diagram of a resource allocation device provided in an embodiment of the present application. As shown in FIG. 4 , the resource allocation device 400 includes:

发送模块401,用于向网络侧设备发送上报信息,所述上报信息用于辅助网络侧设备分配上行资源;The sending module 401 is used to send reporting information to the network side device, where the reporting information is used to assist the network side device in allocating uplink resources;

接收模块402,用于接收所述网络侧设备发送的上行调度信令;The receiving module 402 is used to receive the uplink scheduling signaling sent by the network side device;

分配模块403,用于对所述上行调度信令指示的上行资源进行分配;An allocation module 403, configured to allocate uplink resources indicated by the uplink scheduling signaling;

其中,所述上报信息包括:令牌的关联信息;和/或,所述对所述上行调度信令指示的上行资源进行分配包括如下至少一项:The reported information includes: associated information of the token; and/or the allocating of the uplink resources indicated by the uplink scheduling signaling includes at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

可选的,所述令牌的关联信息包括如下至少一项:Optionally, the token association information includes at least one of the following:

资源大小信息,所述资源大小信息是基于所述终端的令牌数量信息得到;Resource size information, the resource size information is obtained based on the token quantity information of the terminal;

所述终端的令牌数量信息。The token quantity information of the terminal.

可选的,所述资源大小信息是基于至少一个LCH的令牌数量信息和数据量信息得到,所述至少一个LCH包括所述第一LCH。Optionally, the resource size information is obtained based on token quantity information and data volume information of at least one LCH, and the at least one LCH includes the first LCH.

可选的,所述至少一个LCH的数据量信息包括:Optionally, the data volume information of the at least one LCH includes:

所述至少一个LCH的即将超时的数据量信息。Information about the amount of data that is about to time out of the at least one LCH.

可选的,所述优先为第一LCH分配上行资源,包括:Optionally, the preferentially allocating uplink resources to the first LCH includes:

所述终端在所述上行调度信令指示的上行资源中,为所述第一LCH分配资源;The terminal allocates resources for the first LCH from the uplink resources indicated by the uplink scheduling signaling;

在为所述第一LCH分配资源后所述上行资源还存在剩余资源,且所述终端存在剩余令牌数量大于0的LCH的情况下,所述终端在所述剩余资源中,为剩余令牌数量大于0的LCH分配资源;或者,在为所述第一LCH分配资源后所述上行资源还存在剩余资源,且所述终端不存在剩余令牌数量大于0的LCH的情况下,所述终端在所述剩余资源中,按照优先级为对应缓存存在待传输数据的LCH分配资源。If there are still remaining uplink resources after allocating resources to the first LCH, and the terminal has an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with a remaining number of tokens greater than 0 from the remaining resources; or, if there are still remaining uplink resources after allocating resources to the first LCH, and the terminal does not have an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with data to be transmitted in the corresponding cache according to priority from the remaining resources.

可选的,所述优先为第一LCH分配上行资源,包括:Optionally, the preferentially allocating uplink resources to the first LCH includes:

在所述终端存在剩余令牌数量大于0的LCH的情况下,所述终端在所述上行调度信令指示的上行资源中,为剩余令牌数量大于0的LCH分配资源;In a case where the terminal has an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with a remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling;

在为剩余令牌数量大于0的LCH分配资源后所述上行资源还存在剩余资源的情况下,在所述剩余资源中,优先为所述第一LCH分配资源。In the case where there are still remaining uplink resources after allocating resources to the LCH with a remaining token quantity greater than 0, resources are preferentially allocated to the first LCH among the remaining resources.

可选的,在所述终端存在多个所述第一LCH的情况下,所述为所述第一LCH分配资源包括:Optionally, when the terminal has multiple first LCHs, allocating resources to the first LCH includes:

按照如下至少一项规则为多个所述第一LCH分配资源:Resources are allocated to the plurality of first LCHs according to at least one of the following rules:

超时时间早的LCH优先分配的规则;The rule that LCH with earlier timeout time is allocated first;

优先级高的LCH优先分配的规则。The rule that LCHs with higher priorities are allocated first.

可选的,所述为所述第一LCH分配资源包括:Optionally, allocating resources to the first LCH includes:

在所述第一LCH的令牌耗尽,且所述第一LCH还存在即将超时的数据未分配资源的情况下,扣减所述第一LCH的令牌至负值分配资源,直到所述第一LCH的即将超时的数据都分配到资源或者所述上行资源被分配完;When the token of the first LCH is exhausted and there is data about to time out on the first LCH that has not been allocated resources, deduct the token of the first LCH to a negative value to allocate resources until all the data about to time out on the first LCH is allocated resources or the uplink resources are fully allocated;

其中,所述为所述第一LCH分配资源后所述上行资源还存在剩余资源是指:所述第一LCH的即将超时的数据都分配到资源后,所述上行资源还存在剩余资源。The fact that there are still remaining uplink resources after resources are allocated to the first LCH means that after all data of the first LCH that is about to time out are allocated resources, there are still remaining uplink resources.

可选的,所述在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源,包括:Optionally, allocating uplink resources to the first LCH and an LCH with a remaining number of tokens greater than 0 in the same round includes:

在所述第一LCH的剩余令牌数量小于或者等于0的情况下,在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源。When the number of remaining tokens of the first LCH is less than or equal to 0, uplink resources are allocated to the first LCH and the LCH with the number of remaining tokens greater than 0 in the same round.

可选的,所述在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源,包括:Optionally, allocating uplink resources to the first LCH and an LCH with a remaining number of tokens greater than 0 in the same round includes:

在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH与剩余令牌数量大于0的LCH的优先级,为所述第一LCH与剩余令牌数量大于0的LCH分配资源。When the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling according to the priority of the first LCH and the LCH with the remaining number of tokens greater than 0.

可选的,在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH与剩余令牌数量大于0的LCH的优先级,为所述第一LCH与剩余令牌数量大于0的LCH分配资源,包括:Optionally, when the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling according to the priority of the first LCH and the LCH with the remaining number of tokens greater than 0, including:

在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,若所述第一LCH的令牌数量超过预设令牌数量阈值,则所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH与剩余令牌数量大于0的LCH的优先级,为所述第一LCH与剩余令牌数量大于0的LCH分配资源。When the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, if the number of tokens of the first LCH exceeds the preset token number threshold, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling according to the priority of the first LCH and the LCH with the remaining number of tokens greater than 0.

可选的,所述即将超时的数据包括:Optionally, the data that is about to time out includes:

超时时刻与当前时刻的间隔低于预设时间阈值的数据。The interval between the timeout moment and the current moment is lower than the preset time threshold.

可选的,所述终端对所述上行调度信令指示的上行资源进行分配,包括:Optionally, the terminal allocating the uplink resources indicated by the uplink scheduling signaling includes:

所述终端按照所述网络侧配置指示的分配方式,对所述上行调度信令指示的上行资源进行分配。The terminal allocates the uplink resources indicated by the uplink scheduling signaling according to the allocation mode indicated by the network side configuration.

可选的,所述分配方式包括如下至少一项:Optionally, the allocation method includes at least one of the following:

所述上行调度信令指示的所述上行资源的分配方式;an allocation mode of the uplink resources indicated by the uplink scheduling signaling;

所述网络侧设备通过RRC信令指示的上行资源的分配方式;The uplink resource allocation mode indicated by the network side device through RRC signaling;

协议约定的分配方式。The distribution method agreed upon in the agreement.

上述资源分配装置可以提高终端的数据传输性能。The resource allocation device can improve the data transmission performance of the terminal.

本申请实施例中的资源分配装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。例如:该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于本申请实施例所列举的终端的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。The resource allocation device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. For example, the electronic device may be a terminal, or may be other devices other than a terminal. Exemplarily, the terminal may include but is not limited to the types of terminals listed in the embodiment of the present application, and other devices may be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.

本申请实施例提供的资源分配装置能够实现图2所示的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The resource allocation device provided in the embodiment of the present application can implement each process implemented by the method embodiment shown in Figure 2 and achieve the same technical effect. To avoid repetition, it will not be described here.

请参见图5,图5是本申请实施例提供的一种资源分配装置的结构图,如图5所示,资源分配装置500包括:Please refer to FIG. 5 , which is a structural diagram of a resource allocation device provided in an embodiment of the present application. As shown in FIG. 5 , the resource allocation device 500 includes:

接收模块501,用于接收终端发送的上报信息,所述上报信息用于辅助网络侧设备分配上行资源;The receiving module 501 is used to receive the reporting information sent by the terminal, where the reporting information is used to assist the network side device in allocating uplink resources;

发送模块502,用于基于所述上报信息,向所述终端发送上行调度信令;A sending module 502, configured to send uplink scheduling signaling to the terminal based on the reported information;

其中,所述上报信息包括:令牌的关联信息;和/或,所述上行调度信令用于触发如下至少一项:The reported information includes: associated information of the token; and/or the uplink scheduling signaling is used to trigger at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

可选的,所述令牌的关联信息包括如下至少一项:Optionally, the token association information includes at least one of the following:

资源大小信息,所述资源大小信息是基于所述终端的令牌数量信息得到;Resource size information, the resource size information is obtained based on the token quantity information of the terminal;

所述终端的令牌数量信息。The token quantity information of the terminal.

可选的,所述资源大小信息是基于至少一个LCH的令牌数量信息和数据量信息得到,所述至少一个LCH包括所述第一LCH。Optionally, the resource size information is obtained based on token quantity information and data volume information of at least one LCH, and the at least one LCH includes the first LCH.

可选的,所述至少一个LCH的数据量信息包括:Optionally, the data volume information of the at least one LCH includes:

所述至少一个LCH的即将超时的数据量信息。Information about the amount of data that is about to time out of the at least one LCH.

可选的,所述即将超时的数据包括:Optionally, the data that is about to time out includes:

超时时刻与当前时刻的间隔低于预设时间阈值的数据。The interval between the timeout moment and the current moment is lower than the preset time threshold.

可选的,所述网络侧设备还向所述终端指示分配方式,所述分配方式为所述终端对所述上行调度信令指示的上行资源进行分配的分配方式。Optionally, the network side device further indicates an allocation mode to the terminal, where the allocation mode is an allocation mode in which the terminal allocates the uplink resources indicated by the uplink scheduling signaling.

可选的,所述网络侧设备向所述终端指示的分配方式包括如下至少一项:Optionally, the allocation mode indicated by the network side device to the terminal includes at least one of the following:

所述上行调度信令指示的上行资源的分配方式;an allocation mode of uplink resources indicated by the uplink scheduling signaling;

通过无线资源控制RRC信令指示的上行资源的分配方式。The uplink resource allocation method is controlled by radio resource control RRC signaling.

上述资源分配装置可以提高终端的数据传输性能。The resource allocation device can improve the data transmission performance of the terminal.

本申请实施例中的资源分配装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端或网络侧设备。The resource allocation device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or a network side device.

本申请实施例提供的资源分配装置能够实现图3所示的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The resource allocation device provided in the embodiment of the present application can implement each process implemented by the method embodiment shown in Figure 3 and achieve the same technical effect. To avoid repetition, it will not be repeated here.

可选的,如图6所示,本申请实施例还提供一种通信设备600,包括处理器601和存储器602,存储器602上存储有可在所述处理器601上运行的程序或指令,例如,该通信设备600为终端时,该程序或指令被处理器601执行时实现上述终端侧的资源分配方法实施例的各个步骤,且能达到相同的技术效果。该通信设备600为网络侧设备时,该程序或指令被处理器601执行时实现上述网络侧的资源分配方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG6 , an embodiment of the present application further provides a communication device 600, including a processor 601 and a memory 602, wherein the memory 602 stores a program or instruction that can be run on the processor 601. For example, when the communication device 600 is a terminal, the program or instruction is executed by the processor 601 to implement the various steps of the resource allocation method embodiment on the terminal side, and the same technical effect can be achieved. When the communication device 600 is a network side device, the program or instruction is executed by the processor 601 to implement the various steps of the resource allocation method embodiment on the network side, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

本申请实施例还提供一种通信设备,包括处理器及通信接口,其中,所述通信接口用于向网络侧设备发送上报信息,所述上报信息用于辅助网络侧设备分配上行资源;所述终端接收所述网络侧设备发送的上行调度信令;所述处理器用于对所述上行调度信令指示的上行资源进行分配;其中,所述上报信息包括:令牌的关联信息;和/或,所述对所述上行调度信令指示的上行资源进行分配包括如下至少一项:优先为第一逻辑信道LCH分配上行资源;在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;所述第一LCH为对应缓存中存在即将超时的数据的LCH。该通信设备实施例与上述测量信息反馈方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该通信设备实施例中,且能达到相同的技术效果。The embodiment of the present application also provides a communication device, including a processor and a communication interface, wherein the communication interface is used to send reporting information to a network side device, and the reporting information is used to assist the network side device in allocating uplink resources; the terminal receives the uplink scheduling signaling sent by the network side device; the processor is used to allocate the uplink resources indicated by the uplink scheduling signaling; wherein the reporting information includes: token association information; and/or, the uplink resources indicated by the uplink scheduling signaling are allocated including at least one of the following: preferentially allocating uplink resources to the first logical channel LCH; allocating uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round; the first LCH is the LCH for which there is data about to time out in the corresponding cache. This communication device embodiment corresponds to the above-mentioned measurement information feedback method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to the communication device embodiment, and can achieve the same technical effect.

具体地,图7为实现本申请实施例的一种终端的硬件结构示意图。Specifically, FIG7 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of the present application.

该终端700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709以及处理器710等中的至少部分部件。The terminal 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709 and at least some of the components of a processor 710.

本领域技术人员可以理解,终端700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the terminal 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption management through the power management system. The terminal structure shown in FIG7 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.

应理解的是,本申请实施例中,输入单元704可以包括图形处理单元(GraphicsProcessing Unit,GPU)7041和麦克风7042,图形处理单元7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元706可包括显示面板7061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板7061。用户输入单元707包括触控面板7071以及其他输入设备7072中的至少一种。触控面板7071,也称为触摸屏。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042, and the graphics processing unit 7041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and at least one of other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

本申请实施例中,射频单元701接收来自网络侧设备的下行数据后,可以传输给处理器710进行处理;另外,射频单元701可以向网络侧设备发送上行数据。通常,射频单元701包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。In the embodiment of the present application, after receiving downlink data from the network side device, the RF unit 701 can transmit the data to the processor 710 for processing; in addition, the RF unit 701 can send uplink data to the network side device. Generally, the RF unit 701 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

存储器709可用于存储软件程序或指令以及各种数据。存储器709可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器709可以包括易失性存储器或非易失性存储器,或者,存储器709可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本申请实施例中的存储器709包括但不限于这些和任意其它适合类型的存储器。The memory 709 can be used to store software programs or instructions and various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 709 may include a volatile memory or a non-volatile memory, or the memory 709 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

处理器710可包括一个或多个处理单元;可选的,处理器710集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 710.

其中,射频单元701用于:向网络侧设备发送上报信息,所述上报信息用于辅助网络侧设备分配上行资源;接收所述网络侧设备发送的上行调度信令;The radio frequency unit 701 is used to: send reporting information to the network side device, where the reporting information is used to assist the network side device in allocating uplink resources; and receive uplink scheduling signaling sent by the network side device;

处理器710,用于:对所述上行调度信令指示的上行资源进行分配;The processor 710 is configured to: allocate uplink resources indicated by the uplink scheduling signaling;

其中,所述上报信息包括:令牌的关联信息;和/或,所述对所述上行调度信令指示的上行资源进行分配包括如下至少一项:The reported information includes: associated information of the token; and/or the allocating of the uplink resources indicated by the uplink scheduling signaling includes at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to the cache in which data about to time out exists.

可选的,所述令牌的关联信息包括如下至少一项:Optionally, the token association information includes at least one of the following:

资源大小信息,所述资源大小信息是基于所述终端的令牌数量信息得到;Resource size information, the resource size information is obtained based on the token quantity information of the terminal;

所述终端的令牌数量信息。The token quantity information of the terminal.

可选的,所述资源大小信息是基于至少一个LCH的令牌数量信息和数据量信息得到,所述至少一个LCH包括所述第一LCH。Optionally, the resource size information is obtained based on token quantity information and data volume information of at least one LCH, and the at least one LCH includes the first LCH.

可选的,所述至少一个LCH的数据量信息包括:Optionally, the data volume information of the at least one LCH includes:

所述至少一个LCH的即将超时的数据量信息。Information about the amount of data that is about to time out of the at least one LCH.

可选的,所述优先为第一LCH分配上行资源,包括:Optionally, the preferentially allocating uplink resources to the first LCH includes:

所述终端在所述上行调度信令指示的上行资源中,为所述第一LCH分配资源;The terminal allocates resources for the first LCH from the uplink resources indicated by the uplink scheduling signaling;

在为所述第一LCH分配资源后所述上行资源还存在剩余资源,且所述终端存在剩余令牌数量大于0的LCH的情况下,所述终端在所述剩余资源中,为剩余令牌数量大于0的LCH分配资源;或者,在为所述第一LCH分配资源后所述上行资源还存在剩余资源,且所述终端不存在剩余令牌数量大于0的LCH的情况下,所述终端在所述剩余资源中,按照优先级为对应缓存存在待传输数据的LCH分配资源。If there are still remaining uplink resources after allocating resources to the first LCH, and the terminal has an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with a remaining number of tokens greater than 0 from the remaining resources; or, if there are still remaining uplink resources after allocating resources to the first LCH, and the terminal does not have an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with data to be transmitted in the corresponding cache from the remaining resources according to priority.

可选的,所述优先为第一LCH分配上行资源,包括:Optionally, the preferentially allocating uplink resources to the first LCH includes:

在所述终端存在剩余令牌数量大于0的LCH的情况下,所述终端在所述上行调度信令指示的上行资源中,为剩余令牌数量大于0的LCH分配资源;In a case where the terminal has an LCH with a remaining number of tokens greater than 0, the terminal allocates resources to the LCH with a remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling;

在为剩余令牌数量大于0的LCH分配资源后所述上行资源还存在剩余资源的情况下,在所述剩余资源中,优先为所述第一LCH分配资源。In the case that there are still remaining uplink resources after allocating resources to the LCH with a remaining token quantity greater than 0, the resources are preferentially allocated to the first LCH among the remaining resources.

可选的,在所述终端存在多个所述第一LCH的情况下,所述为所述第一LCH分配资源包括:Optionally, when the terminal has multiple first LCHs, allocating resources to the first LCH includes:

按照如下至少一项规则为多个所述第一LCH分配资源:Resources are allocated to the plurality of first LCHs according to at least one of the following rules:

超时时间早的LCH优先分配的规则;The rule that LCH with earlier timeout time is allocated first;

优先级高的LCH优先分配的规则。The rule that LCHs with higher priorities are allocated first.

可选的,所述为所述第一LCH分配资源包括:Optionally, allocating resources to the first LCH includes:

在所述第一LCH的令牌耗尽,且所述第一LCH还存在即将超时的数据未分配资源的情况下,扣减所述第一LCH的令牌至负值分配资源,直到所述第一LCH的即将超时的数据都分配到资源或者所述上行资源被分配完;When the token of the first LCH is exhausted and there is data about to time out on the first LCH that has not been allocated resources, deduct the token of the first LCH to a negative value to allocate resources until all the data about to time out on the first LCH is allocated resources or the uplink resources are fully allocated;

其中,所述为所述第一LCH分配资源后所述上行资源还存在剩余资源是指:所述第一LCH的即将超时的数据都分配到资源后,所述上行资源还存在剩余资源。The fact that there are still remaining uplink resources after resources are allocated to the first LCH means that after all data of the first LCH that is about to time out are allocated resources, there are still remaining uplink resources.

可选的,所述在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源,包括:Optionally, allocating uplink resources to the first LCH and an LCH with a remaining number of tokens greater than 0 in the same round includes:

在所述第一LCH的剩余令牌数量小于或者等于0的情况下,在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源。When the number of remaining tokens of the first LCH is less than or equal to 0, uplink resources are allocated to the first LCH and the LCH with the number of remaining tokens greater than 0 in the same round.

可选的,所述在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源,包括:Optionally, allocating uplink resources to the first LCH and an LCH with a remaining number of tokens greater than 0 in the same round includes:

在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH与剩余令牌数量大于0的LCH的优先级,为所述第一LCH与剩余令牌数量大于0的LCH分配资源。When the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling according to the priority of the first LCH and the LCH with the remaining number of tokens greater than 0.

可选的,在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH与剩余令牌数量大于0的LCH的优先级,为所述第一LCH与剩余令牌数量大于0的LCH分配资源,包括:Optionally, when the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling according to the priority of the first LCH and the LCH with the remaining number of tokens greater than 0, including:

在所述终端存在所述第一LCH和剩余令牌数量大于0的LCH,且所述第一LCH的剩余令牌数量小于或者等于0的情况下,若所述第一LCH的令牌数量超过预设令牌数量阈值,则所述终端在所述上行调度信令指示的上行资源中,按照所述第一LCH与剩余令牌数量大于0的LCH的优先级,为所述第一LCH与剩余令牌数量大于0的LCH分配资源。When the terminal has the first LCH and the LCH with the remaining number of tokens greater than 0, and the remaining number of tokens of the first LCH is less than or equal to 0, if the number of tokens of the first LCH exceeds the preset token number threshold, the terminal allocates resources to the first LCH and the LCH with the remaining number of tokens greater than 0 in the uplink resources indicated by the uplink scheduling signaling according to the priority of the first LCH and the LCH with the remaining number of tokens greater than 0.

可选的,所述即将超时的数据包括:Optionally, the data that is about to time out includes:

超时时刻与当前时刻的间隔低于预设时间阈值的数据。The interval between the timeout moment and the current moment is lower than the preset time threshold.

可选的,所述对所述上行调度信令指示的上行资源进行分配,包括:Optionally, the allocating the uplink resources indicated by the uplink scheduling signaling includes:

按照所述网络侧配置指示的分配方式,对所述上行调度信令指示的上行资源进行分配。The uplink resources indicated by the uplink scheduling signaling are allocated according to the allocation mode indicated by the network side configuration.

可选的,所述分配方式包括如下至少一项:Optionally, the allocation method includes at least one of the following:

所述上行调度信令指示的所述上行资源的分配方式;an allocation mode of the uplink resources indicated by the uplink scheduling signaling;

所述网络侧设备通过无线资源控制RRC信令指示的上行资源的分配方式;The network side device controls the allocation mode of uplink resources indicated by RRC signaling through radio resource control;

协议约定的分配方式。The distribution method agreed upon in the agreement.

上述终端可以提高终端的数据传输性能。The above terminal can improve the data transmission performance of the terminal.

本申请实施例还提供一种通信设备,包括处理器及通信接口,其中,所述通信接口用于接收终端发送的上报信息,所述上报信息用于辅助网络侧设备分配上行资源;所述网络侧设备基于所述上报信息,向所述终端发送上行调度信令;其中,所述上报信息包括:令牌的关联信息;和/或,所述上行调度信令用于触发如下至少一项:优先为第一逻辑信道LCH分配上行资源;在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;所述第一LCH为对应缓存中存在即将超时的数据的LCH。该通信设备实施例与上述测量信息接收方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该通信设备实施例中,且能达到相同的技术效果。The embodiment of the present application also provides a communication device, including a processor and a communication interface, wherein the communication interface is used to receive reporting information sent by a terminal, and the reporting information is used to assist the network side device in allocating uplink resources; the network side device sends uplink scheduling signaling to the terminal based on the reporting information; wherein the reporting information includes: token association information; and/or the uplink scheduling signaling is used to trigger at least one of the following: preferentially allocating uplink resources to the first logical channel LCH; allocating uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round; the first LCH is the LCH for which there is data about to time out in the corresponding cache. This communication device embodiment corresponds to the above-mentioned measurement information receiving method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to the communication device embodiment, and can achieve the same technical effect.

具体地,本申请实施例还提供了一种网络侧设备。如图8所示,该网络侧设备800包括:天线801、射频装置802、基带装置803、处理器804和存储器805。天线801与射频装置802连接。在上行方向上,射频装置802通过天线801接收信息,将接收的信息发送给基带装置803进行处理。在下行方向上,基带装置803对要发送的信息进行处理,并发送给射频装置802,射频装置802对收到的信息进行处理后经过天线801发送出去。Specifically, the embodiment of the present application also provides a network side device. As shown in Figure 8, the network side device 800 includes: an antenna 801, a radio frequency device 802, a baseband device 803, a processor 804 and a memory 805. The antenna 801 is connected to the radio frequency device 802. In the uplink direction, the radio frequency device 802 receives information through the antenna 801 and sends the received information to the baseband device 803 for processing. In the downlink direction, the baseband device 803 processes the information to be sent and sends it to the radio frequency device 802. The radio frequency device 802 processes the received information and sends it out through the antenna 801.

以上实施例中网络侧设备执行的方法可以在基带装置803中实现,该基带装置803包括基带处理器。The method executed by the network-side device in the above embodiment may be implemented in the baseband device 803, which includes a baseband processor.

基带装置803例如可以包括至少一个基带板,该基带板上设置有多个芯片,如图8所示,其中一个芯片例如为基带处理器,通过总线接口与存储器805连接,以调用存储器805中的程序,执行以上方法实施例中所示的网络设备操作。The baseband device 803 may include, for example, at least one baseband board, on which multiple chips are arranged, as shown in Figure 8, one of which is, for example, a baseband processor, which is connected to the memory 805 through a bus interface to call the program in the memory 805 and execute the network device operations shown in the above method embodiment.

该网络侧设备还可以包括网络接口806,该接口例如为通用公共无线接口(commonpublic radio interface,CPRI)。The network side device may further include a network interface 806, which is, for example, a common public radio interface (CPRI).

具体地,本发明实施例的网络侧设备800还包括:存储在存储器805上并可在处理器804上运行的指令或程序,处理器804调用存储器805中的指令或程序执行图5所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the network side device 800 of the embodiment of the present invention also includes: instructions or programs stored in the memory 805 and executable on the processor 804. The processor 804 calls the instructions or programs in the memory 805 to execute the methods executed by the modules shown in Figure 5 and achieve the same technical effect. To avoid repetition, it will not be repeated here.

其中,射频装置802,用于接收终端发送的上报信息,所述上报信息用于辅助网络侧设备分配上行资源;基于所述上报信息,向所述终端发送上行调度信令;The radio frequency device 802 is used to receive reporting information sent by the terminal, where the reporting information is used to assist the network side device in allocating uplink resources; based on the reporting information, send uplink scheduling signaling to the terminal;

其中,所述上报信息包括:令牌的关联信息;和/或,所述上行调度信令用于触发如下至少一项:The reported information includes: associated information of the token; and/or the uplink scheduling signaling is used to trigger at least one of the following:

优先为第一逻辑信道LCH分配上行资源;Prioritize allocating uplink resources to the first logical channel LCH;

在同一轮中为所述第一LCH与剩余令牌数量大于0的LCH分配上行资源;Allocate uplink resources to the first LCH and the LCH with a remaining number of tokens greater than 0 in the same round;

所述第一LCH为对应缓存中存在即将超时的数据的LCH。The first LCH is an LCH corresponding to data in the cache that is about to time out.

可选的,所述令牌的关联信息包括如下至少一项:Optionally, the token association information includes at least one of the following:

资源大小信息,所述资源大小信息是基于所述终端的令牌数量信息得到;Resource size information, the resource size information is obtained based on the token quantity information of the terminal;

所述终端的令牌数量信息。The token quantity information of the terminal.

可选的,所述资源大小信息是基于至少一个LCH的令牌数量信息和数据量信息得到,所述至少一个LCH包括所述第一LCH。Optionally, the resource size information is obtained based on token quantity information and data volume information of at least one LCH, and the at least one LCH includes the first LCH.

可选的,所述至少一个LCH的数据量信息包括:Optionally, the data volume information of the at least one LCH includes:

所述至少一个LCH的即将超时的数据量信息。Information about the amount of data that is about to time out of the at least one LCH.

可选的,所述即将超时的数据包括:Optionally, the data that is about to time out includes:

超时时刻与当前时刻的间隔低于预设时间阈值的数据。The interval between the timeout moment and the current moment is lower than the preset time threshold.

可选的,所述网络侧设备还向所述终端指示分配方式,所述分配方式为所述终端对所述上行调度信令指示的上行资源进行分配的分配方式。Optionally, the network side device further indicates an allocation mode to the terminal, where the allocation mode is an allocation mode in which the terminal allocates the uplink resources indicated by the uplink scheduling signaling.

可选的,所述网络侧设备向所述终端指示的分配方式包括如下至少一项:Optionally, the allocation mode indicated by the network side device to the terminal includes at least one of the following:

所述上行调度信令指示的上行资源的分配方式;an allocation mode of uplink resources indicated by the uplink scheduling signaling;

通过无线资源控制RRC信令指示的上行资源的分配方式。The uplink resource allocation method is controlled by radio resource control RRC signaling.

上述通信设备可以提高终端的数据传输性能。The above communication device can improve the data transmission performance of the terminal.

本申请实施例还提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现本申请实施例提供的上述资源分配方法的步骤。An embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the above-mentioned resource allocation method provided in the embodiment of the present application are implemented.

其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述资源分配方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned resource allocation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述资源分配方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a computer program/program product, which is stored in a storage medium. The computer program/program product is executed by at least one processor to implement the various processes of the above-mentioned resource allocation method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

本申请实施例还提供了一种资源分配系统,包括:终端及网络侧设备,所述终端可用于执行如本申请实施例提供的终端侧的资源分配方法的步骤,所述网络侧设备可用于执行如本申请实施例提供的网络侧的资源分配方法的步骤。An embodiment of the present application also provides a resource allocation system, including: a terminal and a network side device, wherein the terminal can be used to execute the steps of the terminal side resource allocation method provided in the embodiment of the present application, and the network side device can be used to execute the steps of the network side resource allocation method provided in the embodiment of the present application.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (26)

1. A method for resource allocation, comprising:
The terminal sends report information to the network side equipment, wherein the report information is used for assisting the network side equipment to allocate uplink resources;
The terminal receives an uplink scheduling signaling sent by the network side equipment;
the terminal allocates uplink resources indicated by the uplink scheduling signaling;
Wherein, the reporting information includes: association information of the token; and/or, the allocating the uplink resource indicated by the uplink scheduling signaling includes at least one of the following:
Preferentially distributing uplink resources for a first logic channel LCH;
Allocating uplink resources for the first LCH and LCH with the number of the remaining tokens being greater than 0 in the same round;
The first LCH is the LCH corresponding to the data which is about to overtime in the cache.
2. The method of claim 1, wherein the association information of the token comprises at least one of:
Resource size information, wherein the resource size information is obtained based on token quantity information of the terminal;
and the token quantity information of the terminal.
3. The method of claim 2, wherein the resource size information is derived based on token number information and data volume information of at least one LCH, the at least one LCH comprising the first LCH.
4. The method of claim 3, wherein the data volume information for the at least one LCH comprises:
data volume information of the at least one LCH that is about to timeout.
5. The method of claim 1, wherein the preferentially allocating uplink resources for the first LCH comprises:
the terminal allocates resources for the first LCH in uplink resources indicated by the uplink scheduling signaling;
when the uplink resource still has residual resources after the resources are allocated for the first LCH, and the terminal has LCH with the residual token number larger than 0, the terminal allocates resources for the LCH with the residual token number larger than 0 in the residual resources; or if the uplink resource still has residual resources after the resources are allocated to the first LCH and the terminal does not have LCH with the residual token number greater than 0, the terminal allocates resources for the LCH with the data to be transmitted in the corresponding buffer according to the priority in the residual resources.
6. The method of claim 1, wherein the preferentially allocating uplink resources for the first LCH comprises:
under the condition that the terminal has LCH with the number of the residual tokens being more than 0, the terminal allocates resources for the LCH with the number of the residual tokens being more than 0 in uplink resources indicated by the uplink scheduling signaling;
If there is a remaining resource in the uplink resource after allocating resources to LCHs with a number of remaining tokens greater than 0, preferentially allocating resources to the first LCH in the remaining resources, where preferentially allocating resources to the first LCH includes: and preferentially distributing resources for the first LCH in the first LCH and the second LCH, wherein the second LCH is the LCH which is correspondingly cached with data to be transmitted and has higher priority than the first LCH.
7. The method of claim 5 or 6, wherein in the case where the terminal has a plurality of the first LCHs, the allocating resources for the first LCHs comprises:
allocating resources for a plurality of the first LCHs according to at least one of the following rules:
Rules for LCH priority allocation with early timeout;
rules for LCH priority assignment with high priority.
8. The method of claim 5 or 6, wherein the allocating resources for the first LCH comprises:
Under the condition that the token of the first LCH is exhausted and the first LCH has no resources to be allocated to the data about to timeout, deducting the token of the first LCH to a negative value to allocate the resources until the data about to timeout of the first LCH are allocated to the resources or the uplink resources are allocated;
Wherein, after allocating the resources for the first LCH, the remaining resources of the uplink resource means that: after the data of the first LCH, which is about to be overtime, are allocated to the resources, the uplink resources still have residual resources.
9. The method of claim 1, wherein the allocating uplink resources for the first LCH and LCHs with a number of remaining tokens greater than 0 in the same round comprises:
and under the condition that the number of the residual tokens of the first LCH is smaller than or equal to 0, allocating uplink resources for the first LCH and the LCH with the number of the residual tokens being larger than 0 in the same round.
10. The method of claim 9, wherein the allocating uplink resources for the first LCH and LCHs with a number of remaining tokens greater than 0 in the same round comprises:
And when the first LCH and the LCH with the number of the residual tokens being greater than 0 exist in the terminal, and the number of the residual tokens of the first LCH is smaller than or equal to 0, the terminal allocates resources for the first LCH and the LCH with the number of the residual tokens being greater than 0 in sequence from high priority to low priority in uplink resources indicated by the uplink scheduling signaling.
11. The method of claim 10, wherein in a case where the first LCH and the LCH with the number of remaining tokens greater than 0 exist in the terminal, and the number of remaining tokens of the first LCH is less than or equal to 0, the terminal allocates resources for the first LCH and the LCH with the number of remaining tokens greater than 0 in sequence from high priority to low priority in an uplink resource indicated by the uplink scheduling signaling according to the priority of the first LCH and the priority of the LCH with the number of remaining tokens greater than 0, the method comprises:
and if the number of the tokens of the first LCH exceeds a preset token number threshold value, the terminal allocates resources for the first LCH and the LCH with the number of the remaining tokens being greater than 0 according to the priority of the first LCH and the LCH with the number of the remaining tokens being greater than 0 in uplink resources indicated by the uplink scheduling signaling.
12. The method of any of claims 1 to 6, wherein the data about to timeout comprises:
and the interval between the overtime time and the current time is lower than the data of the preset time threshold value.
13. The method according to any one of claims 1 to 6, wherein the terminal allocates uplink resources indicated by the uplink scheduling signaling, comprising:
And the terminal allocates the uplink resources indicated by the uplink scheduling signaling according to the allocation mode indicated by the network side configuration.
14. The method of claim 13, wherein the allocation comprises at least one of:
the allocation mode of the uplink resources indicated by the uplink scheduling signaling;
The network side equipment controls the allocation mode of the uplink resources indicated by the RRC signaling through radio resources;
The allocation of protocol conventions.
15. A method for resource allocation, comprising:
The method comprises the steps that network side equipment receives reporting information sent by a terminal, wherein the reporting information is used for assisting the network side equipment to allocate uplink resources;
the network side equipment sends an uplink scheduling signaling to the terminal based on the reporting information;
Wherein, the reporting information includes: association information of the token; and/or, the uplink scheduling signaling is used for triggering at least one of the following:
Preferentially distributing uplink resources for a first logic channel LCH;
Allocating uplink resources for the first LCH and LCH with the number of the remaining tokens being greater than 0 in the same round;
The first LCH is the LCH corresponding to the data which is about to overtime in the cache.
16. The method of claim 15, wherein the association information of the token comprises at least one of:
Resource size information, wherein the resource size information is obtained based on token quantity information of the terminal;
and the token quantity information of the terminal.
17. The method of claim 16, wherein the resource size information is derived based on token number information and data volume information for at least one LCH, the at least one LCH comprising the first LCH.
18. The method of claim 17, wherein the data volume information for the at least one LCH comprises:
data volume information of the at least one LCH that is about to timeout.
19. The method of any of claims 15 to 18, wherein the data about to timeout comprises:
and the interval between the overtime time and the current time is lower than the data of the preset time threshold value.
20. A method according to any one of claims 15 to 18, wherein the network side device further indicates an allocation manner to the terminal, the allocation manner being an allocation manner by which the terminal allocates uplink resources indicated by the uplink scheduling signaling.
21. The method of claim 20, wherein the allocation indicated by the network side device to the terminal comprises at least one of:
The allocation mode of the uplink resources indicated by the uplink scheduling signaling;
and controlling the allocation mode of the uplink resources indicated by the RRC signaling through the radio resources.
22. A resource allocation apparatus, comprising:
The transmission module is used for transmitting reporting information to the network side equipment, wherein the reporting information is used for assisting the network side equipment to allocate uplink resources;
a receiving module, configured to receive an uplink scheduling signaling sent by the network side device;
the allocation module is used for allocating the uplink resources indicated by the uplink scheduling signaling;
Wherein, the reporting information includes: association information of the token; and/or, the allocating the uplink resource indicated by the uplink scheduling signaling includes at least one of the following:
Preferentially distributing uplink resources for a first logic channel LCH;
Allocating uplink resources for the first LCH and LCH with the number of the remaining tokens being greater than 0 in the same round;
The first LCH is the LCH corresponding to the data which is about to overtime in the cache.
23. A resource allocation apparatus, comprising:
The receiving module is used for receiving reporting information sent by the terminal, wherein the reporting information is used for assisting the network side equipment to allocate uplink resources;
The sending module is used for sending uplink scheduling signaling to the terminal based on the reporting information;
Wherein, the reporting information includes: association information of the token; and/or, the uplink scheduling signaling is used for triggering at least one of the following:
Preferentially distributing uplink resources for a first logic channel LCH;
Allocating uplink resources for the first LCH and LCH with the number of the remaining tokens being greater than 0 in the same round;
The first LCH is the LCH corresponding to the data which is about to overtime in the cache.
24. A terminal comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, performs the steps of the resource allocation method of any one of claims 1 to 14.
25. A network side device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the resource allocation method of any one of claims 15 to 21.
26. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implements the steps of the resource allocation method according to any of claims 1 to 14, or which, when executed by a processor, implements the steps of the resource allocation method according to any of claims 15 to 21.
CN202211552387.2A 2022-12-05 2022-12-05 Resource allocation method, device, terminal and network side equipment Pending CN118158819A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211552387.2A CN118158819A (en) 2022-12-05 2022-12-05 Resource allocation method, device, terminal and network side equipment
PCT/CN2023/134560 WO2024120250A1 (en) 2022-12-05 2023-11-28 Resource allocation method and apparatus, terminal, and network side device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211552387.2A CN118158819A (en) 2022-12-05 2022-12-05 Resource allocation method, device, terminal and network side equipment

Publications (1)

Publication Number Publication Date
CN118158819A true CN118158819A (en) 2024-06-07

Family

ID=91287454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211552387.2A Pending CN118158819A (en) 2022-12-05 2022-12-05 Resource allocation method, device, terminal and network side equipment

Country Status (2)

Country Link
CN (1) CN118158819A (en)
WO (1) WO2024120250A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108811099B (en) * 2017-05-03 2024-07-23 华为技术有限公司 Scheduling method and equipment for uplink transmission resources
KR102394123B1 (en) * 2017-06-16 2022-05-04 삼성전자 주식회사 The method of supporting multiple scheduling requests in the next generation mobile communication systems
CN110475275A (en) * 2018-05-10 2019-11-19 展讯通信(上海)有限公司 Trigger method, terminal and the readable storage medium storing program for executing of routine BSR
CN114223296B (en) * 2019-10-31 2024-11-26 Oppo广东移动通信有限公司 Method and terminal device for allocating resources for uplink logical channels

Also Published As

Publication number Publication date
WO2024120250A1 (en) 2024-06-13

Similar Documents

Publication Publication Date Title
JP7640731B2 (en) Transmission processing method, first communication device, second communication device, and readable storage medium
WO2022105842A1 (en) Uplink control information transmission method and related device
WO2022012417A1 (en) Collision processing method and apparatus
CN114079869A (en) Method, terminal device and network device for reporting capability
CN108811146B (en) Uplink scheduling request processing method and device
WO2024120250A1 (en) Resource allocation method and apparatus, terminal, and network side device
CN115333690B (en) Information transmission method, device, terminal and network side equipment
WO2023093636A1 (en) Information reporting method and apparatus, information configuration method and apparatus, terminal and network side device
CN114285534B (en) Method, device and terminal for determining transmission information
CN118139109A (en) Data packet processing method and communication equipment
WO2022213899A1 (en) Uplink channel transmission method and apparatus, terminal, and network-side device
CN115334676A (en) Multiplexing instruction method, device, terminal and network side equipment for uplink transmission
WO2024094014A1 (en) Bsr reporting methods and apparatuses, terminal and network side device
CN113922932A (en) Resource transmission method, device and communication equipment
CN115811384B (en) Data transmission method, device, user Equipment (UE) and medium
WO2025044850A1 (en) Information reporting method and apparatus, terminal, and network side device
CN115550888B (en) Transmission method, device, equipment and medium
CN115189822B (en) Data transmission method and device, UE and readable storage device
WO2022037610A1 (en) Resource indication and acquisition methods, and communication device
CN118785231A (en) Method and device for sending delay information report scheduling request SR
EP4550916A1 (en) Configured grant (cg) determination method and apparatus, and ue, network-side device and medium
WO2024093847A1 (en) Format determination method, user equipments (ues) and readable storage medium
CN117098178A (en) Uplink auxiliary information transmission method, device and storage medium
CN118283801A (en) Resource usage information reporting method and device, terminal and network equipment
JP2025515807A (en) Sidelink positioning method, device, terminal, server and radio access network device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination