[go: up one dir, main page]

CN111669831B - A resource allocation method and device - Google Patents

A resource allocation method and device Download PDF

Info

Publication number
CN111669831B
CN111669831B CN202010443449.0A CN202010443449A CN111669831B CN 111669831 B CN111669831 B CN 111669831B CN 202010443449 A CN202010443449 A CN 202010443449A CN 111669831 B CN111669831 B CN 111669831B
Authority
CN
China
Prior art keywords
network slice
resources
configuration information
logical channels
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010443449.0A
Other languages
Chinese (zh)
Other versions
CN111669831A (en
Inventor
李静
董秋丽
韩潇
冯毅
李福昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010443449.0A priority Critical patent/CN111669831B/en
Publication of CN111669831A publication Critical patent/CN111669831A/en
Application granted granted Critical
Publication of CN111669831B publication Critical patent/CN111669831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • 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

Landscapes

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

Abstract

The embodiment of the invention provides a resource allocation method and device, relates to the technical field of communication, and can improve the rationality of resource allocation. The method comprises the following steps: the method comprises the steps that user equipment receives network slice configuration information and logic channel configuration information sent by network equipment; the user equipment allocates resources for one or more logic channels of the user equipment from the resources allocated for the user equipment by the network equipment according to the logic channel configuration information; and under the condition that the resources configured for the user equipment by the network equipment have residual resources, the user equipment allocates the resources for one or more logic channels of the user equipment from the residual resources according to the network slice configuration information.

Description

一种资源分配方法及装置A resource allocation method and device

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种资源分配方法及装置。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a resource allocation method and apparatus.

背景技术Background technique

用户设备(user equipment,UE)发送上行数据时,UE请求基站为UE分配资源,进而UE为该UE的多个逻辑信道分配资源以用于该UE发送上行数据。When a user equipment (user equipment, UE) sends uplink data, the UE requests the base station to allocate resources for the UE, and then the UE allocates resources to multiple logical channels of the UE for the UE to send uplink data.

通常,UE可以为该UE与基站之间的多个逻辑信道分配资源,具体的,UE可以根据该多个逻辑信道的配置参数分配资源,逻辑信道的配置参数可以包括逻辑信道的优先级和优先比特速率(prioritised bit rate,PBR)等,例如,UE可以按照逻辑信道的优先级从高到低的顺序为多个逻辑信道分别分配满足该多个逻辑信道各自的PBR的资源。示例性的,假设UE与基站之间存在4个逻辑信道(包括逻辑信道1、逻辑信道2、逻辑信道3以及逻辑信道4),其中,逻辑信道1的优先级>逻辑信道2的优先级>逻辑信道3的优先级>逻辑信道4的优先级,此处逻辑信道1的优先级>逻辑信道2的优先级,表示逻辑信道1的优先级高于逻辑信道2的优先级,如果该4个逻辑信道的PBR相同,均为10Mbit/s;假设基站为UE配置了100Mbit的资源,UE可以将该100Mbit的资源按照逻辑信道的优先级的高低依次为该4个逻辑信道分别分配10Mbit的资源。Generally, the UE can allocate resources for multiple logical channels between the UE and the base station. Specifically, the UE can allocate resources according to the configuration parameters of the multiple logical channels. The configuration parameters of the logical channels can include the priority and priority of the logical channels. bit rate (prioritised bit rate, PBR), etc. For example, the UE may allocate resources to multiple logical channels that satisfy the respective PBRs of the multiple logical channels according to the priority of the logical channels from high to low. Exemplarily, it is assumed that there are 4 logical channels (including logical channel 1, logical channel 2, logical channel 3, and logical channel 4) between the UE and the base station, where the priority of logical channel 1>the priority of logical channel 2> The priority of logical channel 3 > the priority of logical channel 4, where the priority of logical channel 1 > the priority of logical channel 2, indicating that the priority of logical channel 1 is higher than the priority of logical channel 2, if the four The PBR of the logical channels is the same, which is 10Mbit/s. Assuming that the base station configures 100Mbit resources for the UE, the UE can allocate the 100Mbit resources to the four logical channels in sequence according to the priority of the logical channels.

在5G网络中引入了网络切片概念,其中一个网络切片可以包括一个或多个逻辑信道,例如,网络切片1中可以包括上述逻辑信道1、逻辑信道2以及逻辑信道3,网络切片2中可以包括上述逻辑信道4。如果按照逻辑信道的优先级为多个逻辑信道分配资源之后,还有剩余资源,UE继续将剩余资源按照逻辑信道的优先级分配给多个逻辑信道中的全部或部分逻辑信道,例如,上述4个逻辑信道分别被分配了10Mbit的资源(即该4个逻辑信道总共被分配了40Mbit的资源)之后,仍剩余60Mbit的资源,UE可以将该60Mbit的资源全部分配给优先级最大的逻辑信道,即逻辑信道1。此时,逻辑信道1被分配了70Mbit的资源,逻辑信道2、逻辑信道3以及逻辑信道4分别被分配了10Mbit的资源,即网络切片1被分配了90Mbit的资源,网络切片2被分配了10Mbit的资源。The concept of network slicing is introduced in 5G networks, where a network slice may include one or more logical channels. For example, network slice 1 may include the above-mentioned logical channel 1, logical channel 2 and logical channel 3, and network slice 2 may include the above-mentioned logical channel 1, logical channel 2, and logical channel 3. Logical channel 4 above. If there are remaining resources after allocating resources to multiple logical channels according to the priorities of the logical channels, the UE continues to allocate the remaining resources to all or part of the multiple logical channels according to the priorities of the logical channels. For example, the above 4 After each logical channel is allocated 10Mbit resources (that is, the four logical channels are allocated 40Mbit resources in total), there are still 60Mbit resources remaining, and the UE can allocate all the 60Mbit resources to the logical channel with the highest priority, That is, logical channel 1. At this time, logical channel 1 is allocated 70Mbit resources, logical channel 2, logical channel 3 and logical channel 4 are allocated 10Mbit resources respectively, that is, network slice 1 is allocated 90Mbit resources, and network slice 2 is allocated 10Mbit resources Resources.

假设网络切片1的目标速率为50Mbit/s(单位时间内传输数据所需的资源量),网络切片2的目标速率为30Mbit/s,而网络切片1被分配的资源(90Mbit)大于该网络切片1在单位时间内所消耗的资源,网络切片2被分配的资源(10Mbit)小于该网络切片2在单位时间内所消耗的资源,显然上述按照逻辑信道的优先级和逻辑信道的PBR分配资源的方法与网络切片对速率的需求不匹配(例如为网络切片2分配的资源小于该网络切片2的目标速率),使得资源分配不合理,影响数据传输时的效率。Assume that the target rate of network slice 1 is 50Mbit/s (the amount of resources required to transmit data per unit time), the target rate of network slice 2 is 30Mbit/s, and the resources allocated to network slice 1 (90Mbit) are greater than the network slice. 1 The resources consumed in a unit time, the resources allocated by the network slice 2 (10Mbit) are less than the resources consumed by the network slice 2 in a unit time. Obviously, the above-mentioned allocation of resources according to the priority of the logical channel and the PBR of the logical channel The method does not match the rate requirement of the network slice (for example, the resources allocated to the network slice 2 are smaller than the target rate of the network slice 2), which makes the resource allocation unreasonable and affects the efficiency of data transmission.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种资源分配方法及装置,可以保证用户对网络切片的不同需求,提升资源分配的合理性。Embodiments of the present invention provide a resource allocation method and device, which can ensure different requirements of users for network slicing and improve the rationality of resource allocation.

第一方面,本发明实施例提供一种资源分配方法,包括:UE接收网络设备发送的网络切片配置信息和逻辑信道配置信息,该网络切片配置信息包括为该UE提供服务的多个网络切片的各自的配置信息,一个网络切片的配置信息包括下述多项中的一项:该网络切片的优先级、该网络切片的额定速率、该网络切片的资源占比或该网络切片的时延指示信息;该逻辑信道配置信息包括该UE的多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR;该UE根据该逻辑信道配置信息从该网络设备为该UE配置的资源中为该UE的一个或多个逻辑信道分配资源;在该网络设备为该UE配置的资源中存在剩余资源的情况下,该UE根据该网络切片配置信息从该剩余资源中为该UE的一个或多个逻辑信道分配资源。In a first aspect, an embodiment of the present invention provides a resource allocation method, including: a UE receiving network slice configuration information and logical channel configuration information sent by a network device, where the network slice configuration information includes multiple network slices serving the UE. The respective configuration information, the configuration information of a network slice includes one of the following items: the priority of the network slice, the rated rate of the network slice, the resource ratio of the network slice, or the delay indication of the network slice information; the logical channel configuration information includes the respective priorities of the multiple logical channels of the UE and the respective PBRs of the multiple logical channels; the UE according to the logical channel configuration information from the resources configured by the network device for the UE for the UE One or more logical channels of the UE allocate resources; if there are remaining resources in the resources configured by the network device for the UE, the UE will use the remaining resources for one or more resources of the UE according to the network slice configuration information Logical channel allocation resources.

第二方面,本发明实施例提供一种资源分配方法,包括:网络设备确定网络切片配置信息和逻辑信道配置信息,该网络切片配置信息包括为UE提供服务的多个网络切片的配置信息,一个网络切片的配置信息包括下述多项中的一项:该网络切片的优先级、该网络切片的额定速率、该网络切片的资源占比或该网络切片的时延指示信息;该逻辑信道配置信息包括该UE的多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR;该网络设备向该UE发送该网络切片配置信息和该逻辑信道配置信息,该网络切片配置信息和该逻辑信道配置信息用于该UE为该UE的一个或多个逻辑信道分配资源。In a second aspect, an embodiment of the present invention provides a resource allocation method, including: a network device determining network slice configuration information and logical channel configuration information, where the network slice configuration information includes configuration information of a plurality of network slices serving a UE, a The configuration information of the network slice includes one of the following items: the priority of the network slice, the rated rate of the network slice, the resource ratio of the network slice, or the delay indication information of the network slice; the logical channel configuration The information includes the respective priorities of the multiple logical channels of the UE and the respective PBRs of the multiple logical channels; the network device sends the network slice configuration information and the logical channel configuration information to the UE, the network slice configuration information and the logic The channel configuration information is used by the UE to allocate resources for one or more logical channels of the UE.

第三方面,本发明实施例提供一种UE,包括:接收模块和资源分配模块;该接收模块,用于接收网络设备发送的网络切片配置信息和逻辑信道配置信息,该网络切片配置信息包括为该UE提供服务的多个网络切片的各自的配置信息,一个网络切片的配置信息包括下述多项中的一项:该网络切片的优先级、该网络切片的额定速率、该网络切片的资源占比或该网络切片的时延指示信息;该逻辑信道配置信息包括该UE的多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR;该资源分配模块,用于根据该逻辑信道配置信息从该网络设备为该UE配置的资源中为该UE的一个或多个逻辑信道分配资源;并且在该网络设备为该UE配置的资源中存在剩余资源的情况下,根据该网络切片配置信息从该剩余资源中为该UE的一个或多个逻辑信道分配资源。In a third aspect, an embodiment of the present invention provides a UE, including: a receiving module and a resource allocation module; the receiving module is configured to receive network slice configuration information and logical channel configuration information sent by a network device, where the network slice configuration information includes: The respective configuration information of multiple network slices served by the UE, the configuration information of one network slice includes one of the following items: the priority of the network slice, the rated rate of the network slice, and the resources of the network slice The ratio or the delay indication information of the network slice; the logical channel configuration information includes the respective priorities of the multiple logical channels of the UE and the respective PBRs of the multiple logical channels; the resource allocation module is used for according to the logical channel. The configuration information allocates resources for one or more logical channels of the UE from the resources configured by the network device for the UE; and in the case where there are remaining resources in the resources configured by the network device for the UE, configure the network slice according to the network device. The information allocates resources for one or more logical channels of the UE from the remaining resources.

第四方面,本发明实施例提供一种网络设备,包括:确定模块和发送模块;该确定模块,用于确定网络切片配置信息和逻辑信道配置信息,该网络切片配置信息包括为UE提供服务的多个网络切片的配置信息,一个网络切片的配置信息包括下述多项中的一项:该网络切片的优先级、该网络切片的额定速率、该网络切片的资源占比或该网络切片的时延指示信息;该逻辑信道配置信息包括该UE的多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR;该发送模块,用于向该UE发送该网络切片配置信息和该逻辑信道配置信息,该网络切片配置信息和该逻辑信道配置信息用于该UE为该UE的一个或多个逻辑信道分配资源。In a fourth aspect, an embodiment of the present invention provides a network device, including: a determining module and a sending module; the determining module is configured to determine network slice configuration information and logical channel configuration information, where the network slice configuration information includes a Configuration information of multiple network slices, the configuration information of one network slice includes one of the following items: the priority of the network slice, the rated rate of the network slice, the resource ratio of the network slice, or the network slice Delay indication information; the logical channel configuration information includes the respective priorities of multiple logical channels of the UE and the respective PBRs of the multiple logical channels; the sending module is used to send the network slice configuration information and the logical channel to the UE. Channel configuration information, the network slice configuration information and the logical channel configuration information are used by the UE to allocate resources for one or more logical channels of the UE.

第五方面,本发明实施例提供另一种UE,包括:处理器、存储器、总线和通信接口;存储器用于存储计算机执行指令,处理器与存储器通过总线连接,当UE运行时,处理器执行上述存储器存储的上述计算机执行指令,以使UE执行如上述第一方面所提供的资源分配方法。In a fifth aspect, an embodiment of the present invention provides another UE, including: a processor, a memory, a bus, and a communication interface; the memory is used for storing computer execution instructions, the processor and the memory are connected through a bus, and when the UE runs, the processor executes The above-mentioned computer-executed instructions stored in the above-mentioned memory enable the UE to execute the resource allocation method provided in the above-mentioned first aspect.

第六方面,本发明实施例提供另一种网络设备,包括:处理器、存储器、总线和通信接口;存储器用于存储计算机执行指令,处理器与存储器通过总线连接,当网络设备运行时,处理器执行上述存储器存储的上述计算机执行指令,以使网络设备执行如上述第二方面所提供的资源分配方法。In a sixth aspect, an embodiment of the present invention provides another network device, including: a processor, a memory, a bus, and a communication interface; the memory is used to store computer execution instructions, the processor and the memory are connected through a bus, and when the network device is running, processing The computer executes the computer-executed instructions stored in the memory, so that the network device executes the resource allocation method provided in the second aspect.

第七方面,本发明实施例提供一种计算机可读存储介质,包括指令,当其在UE上运行时,使得UE执行上述第一方面所提供的一种资源分配方法。In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, including instructions, which, when executed on a UE, cause the UE to execute the resource allocation method provided in the first aspect.

第八方面,本发明实施例提供一种计算机可读存储介质,包括指令,当其在网络设备上运行时,使得网络设备执行上述第二方面所提供的一种资源分配方法。In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, including instructions, which, when running on a network device, cause the network device to execute the resource allocation method provided in the second aspect.

第九方面,本发明实施例提供了一种包含指令的计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述第一方面及其任意一种实现方式的资源分配方法。In a ninth aspect, an embodiment of the present invention provides a computer program product including instructions, which, when the computer program product runs on a computer, enables the computer to perform the resource allocation of the first aspect and any one of its implementations. method.

第十方面,本发明实施例提供了一种包含指令的计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述第二方面及其任意一种实现方式的资源分配方法。In a tenth aspect, an embodiment of the present invention provides a computer program product including instructions, which, when the computer program product runs on a computer, enables the computer to perform the resource allocation of the second aspect and any one of its implementations. method.

本发明实施例所提供的资源分配方法及装置,UE在接收到网络设备发送的网络切片配置信息和逻辑信道配置信息之后,可以根据该逻辑信道配置信息为UE的一个或多个逻辑信道分配资源,在网络设备为UE配置的资源中存在剩余资源的情况下,该UE可以根据该网络切片配置信息从该剩余资源中为UE的一个或多个逻辑信道分配资源。在剩余资源的分配过程中,根据网络切片配置信息进行资源分配,可以保证用户对网络切片的不同需求,提升资源分配的合理性。In the resource allocation method and device provided by the embodiments of the present invention, after receiving the network slice configuration information and logical channel configuration information sent by the network device, the UE can allocate resources to one or more logical channels of the UE according to the logical channel configuration information , in the case that there are remaining resources in the resources configured by the network device for the UE, the UE may allocate resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information. In the process of allocating the remaining resources, resource allocation is performed according to the network slice configuration information, which can ensure the different needs of users for network slices and improve the rationality of resource allocation.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required in the description of the embodiments or the prior art.

图1为本发明实施例提供的通信系统的网络架构示意图一;1 is a schematic diagram 1 of a network architecture of a communication system provided by an embodiment of the present invention;

图2为本发明实施例提供的通信系统的网络架构示意图二;2 is a second schematic diagram of a network architecture of a communication system provided by an embodiment of the present invention;

图3为本发明实施例提供的一种手机的硬件示意图;3 is a schematic diagram of hardware of a mobile phone according to an embodiment of the present invention;

图4为本发明实施例提供的一种基站的硬件示意图;FIG. 4 is a schematic diagram of hardware of a base station according to an embodiment of the present invention;

图5为本发明实施例提供的一种资源分配方法的示意图一;FIG. 5 is a schematic diagram 1 of a resource allocation method provided by an embodiment of the present invention;

图6为本发明实施例提供的一种资源分配方法的示意图二;FIG. 6 is a second schematic diagram of a resource allocation method according to an embodiment of the present invention;

图7为本发明实施例提供的一种资源分配方法的示意图三;FIG. 7 is a schematic diagram 3 of a resource allocation method according to an embodiment of the present invention;

图8为本发明实施例提供的一种资源分配方法的示意图四;FIG. 8 is a fourth schematic diagram of a resource allocation method provided by an embodiment of the present invention;

图9为本发明实施例提供的一种资源分配方法的示意图五;FIG. 9 is a schematic diagram 5 of a resource allocation method provided by an embodiment of the present invention;

图10为本发明实施例提供的一种资源分配方法的示意图六;FIG. 10 is a sixth schematic diagram of a resource allocation method according to an embodiment of the present invention;

图11为本发明实施例提供的一种UE的结构示意图一;FIG. 11 is a schematic structural diagram 1 of a UE according to an embodiment of the present invention;

图12为本发明实施例提供的一种UE的结构示意图二;FIG. 12 is a second schematic structural diagram of a UE according to an embodiment of the present invention;

图13为本发明实施例提供的一种网络设备的结构示意图一;13 is a schematic structural diagram 1 of a network device according to an embodiment of the present invention;

图14为本发明实施例提供的一种网络设备的结构示意图二。FIG. 14 is a second schematic structural diagram of a network device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合附图对本发明实施例提供的资源分配方法及装置进行详细的描述。The resource allocation method and apparatus provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序,例如,第一剩余资源和第二剩余资源等是用于区别不同的剩余资源,而不是用于描述剩余资源的特定顺序。The terms "first" and "second" in the description and drawings of the present application are used to distinguish different objects, rather than to describe a specific order of the objects, for example, the first remaining resources and the second remaining resources, etc. is used to distinguish different remaining resources, not to describe a specific order of remaining resources.

此外,本申请的描述中所提到的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。Furthermore, references to the terms "comprising" and "having" in the description of this application, and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes other unlisted steps or units, or optionally also Include other steps or units inherent to these processes, methods, products or devices.

需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or descriptions. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

本申请中所述“和/或”,包括用两种方法中的任意一种或者同时使用两种方法。The expression "and/or" in this application includes the use of either or both of the two methods.

在本申请的描述中,除非另有说明,“多个”的含义是指两个或两个以上。In the description of this application, unless otherwise stated, the meaning of "plurality" refers to two or more.

下面对本发明实施例提供的一种资源分配方法及装置所涉及的一些概念做解释说明。Some concepts involved in a resource allocation method and apparatus provided by the embodiments of the present invention are explained below.

网络切片:5G网络中,引入了网络切片的概念,网络切片是一组网络功能、运行这些网络功能的资源以及这些网络功能特定的配置所组成的集合,一个网络切片可以构成一个端到端逻辑网络。在5G网络中可以根据终端的业务需求,为终端选择不同的类型的网络切片,示例性的,网络切片可以包括应用于移动带宽(mobile broad bank,MBB)场景、物联网(internet of things,IOT)场景以及移动边缘计算(mobile edge computing,MEC)场景等不同类型的网络切片,每个网络切片包括各自的服务功能(例如接入和移动性管理功能(accessand mobility management function,AMF)、用户面功能(user plane function,UPF)和策略控制功能(policy control function,PCF)等),本发明实施例中,UE可以为不同的网络切片所包含的逻辑信道分配资源。Network slicing: In 5G networks, the concept of network slicing is introduced. Network slicing is a set of network functions, the resources that run these network functions, and the specific configuration of these network functions. A network slice can constitute an end-to-end logic. network. In the 5G network, different types of network slices can be selected for the terminal according to the service requirements of the terminal. Exemplarily, the network slice can include applications in mobile broadband (mobile broad bank, MBB) scenarios, Internet of things (Internet of things, IOT) ) scenarios and different types of network slices such as mobile edge computing (MEC) scenarios, each network slice includes its own service functions (such as access and mobility management function (AMF), user plane function (user plane function, UPF), policy control function (policy control function, PCF, etc.), in this embodiment of the present invention, the UE can allocate resources for logical channels included in different network slices.

基于背景技术存在的问题,本发明实施例提供一种资源分配方法及装置,UE在接收到网络设备发送的网络切片配置信息和逻辑信道配置信息之后,可以根据该逻辑信道配置信息为UE的一个或多个逻辑信道分配资源,在网络设备为UE配置的资源中存在剩余资源的情况下,该UE可以根据该网络切片配置信息从该剩余资源中为UE的一个或多个逻辑信道分配资源。在剩余资源的分配过程中,根据网络切片配置信息进行资源分配,可以保证用户对网络切片的不同需求,提升资源分配的合理性。Based on the problems existing in the background technology, the embodiments of the present invention provide a resource allocation method and device. After receiving the network slice configuration information and logical channel configuration information sent by the network device, the UE can assign one of the UE's or multiple logical channels are allocated resources, and if there are remaining resources in the resources configured by the network device for the UE, the UE may allocate resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information. In the process of allocating the remaining resources, resource allocation is performed according to the network slice configuration information, which can ensure the different needs of users for network slices and improve the rationality of resource allocation.

本发明实施例提供的资源分配方法及装置可以应用于无线通信系统,以5G通信系统为例,如图1所示,该5G通信系统可以包括UE 101和网络设备102,UE 101与网络设备102之间进行通信,例如网络设备102向UE 101发送各种配置信息和数据,UE 101向网络设备102发送上行数据。The resource allocation method and apparatus provided in the embodiments of the present invention may be applied to a wireless communication system. Taking a 5G communication system as an example, as shown in FIG. 1 , the 5G communication system may include a UE 101 and a network device 102 . For example, the network device 102 sends various configuration information and data to the UE 101 , and the UE 101 sends uplink data to the network device 102 .

在5G通信系统中部署有多个网络切片,网络设备与UE可以通过网络切片进行通信,结合上述5G通信系统的架构,示例性的,以UE 101与网络设备102之间存在两个网络切片(包括网络切片1和网络切片2)为例;如图2所示,网络切片1包含三个逻辑信道,即逻辑信道1、逻辑信道2以及逻辑信道3,其中,逻辑信道1和逻辑信道2用于第一会话(即图2中的协议数据单元(Protocol Data Unit,PDU)session1),逻辑信道3用于第二会话(即PDUsession2),网络切片2中包括两个逻辑信道,即逻辑信道4和逻辑信道5,其中,逻辑信道4和逻辑信道5用于第三会话(即PDU session3)。Multiple network slices are deployed in the 5G communication system, and the network device and the UE can communicate through the network slices. In combination with the architecture of the above-mentioned 5G communication system, for example, there are two network slices between the UE 101 and the network device 102 ( Including network slice 1 and network slice 2) as an example; as shown in Figure 2, network slice 1 includes three logical channels, namely logical channel 1, logical channel 2 and logical channel 3, wherein, logical channel 1 and logical channel 2 use In the first session (ie Protocol Data Unit (PDU) session1 in Figure 2), logical channel 3 is used for the second session (ie PDUsession2), and network slice 2 includes two logical channels, namely logical channel 4 and logical channel 5, where logical channel 4 and logical channel 5 are used for the third session (ie, PDU session3).

需要说明的是,图2中示出的2个网络切片、3个PDU session以及5个逻辑信道仅为多个网络切片及其内部功能的一种示例,本发明实施例不对网络切片、PDU session以及逻辑信道的数量作具体限定。It should be noted that the 2 network slices, 3 PDU sessions and 5 logical channels shown in FIG. 2 are only an example of multiple network slices and their internal functions. And the number of logical channels is specifically limited.

本发明实施例中,图2所示的UE可以为:手机、平板电脑、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、上网本或者个人数字助理(PersonalDigital Assistant,PDA)等。In the embodiment of the present invention, the UE shown in FIG. 2 may be a mobile phone, a tablet computer, a notebook computer, an Ultra-mobile Personal Computer (UMPC), a netbook, or a Personal Digital Assistant (PDA).

示例性的,在本发明实施例中,以图2所示的UE为手机为例,对本发明实施例提供的UE的硬件结构进行示例性的说明。如图3所示,本发明实施例提供的手机包括:处理器20,射频(Radio Frequency,RF)电路21、电源22、存储器23、输入单元24、显示单元25以及音频电路26等部件。本领域技术人员可以理解,图3中示出的手机的结构并不构成对手机的限定,其可以包括比如图3所示的部件更多或更少的部件,或者可以组合如图3所示的部件中的某些部件,或者可以与如图3所示的部件布置不同。Exemplarily, in the embodiment of the present invention, taking the UE shown in FIG. 2 as a mobile phone as an example, the hardware structure of the UE provided by the embodiment of the present invention is exemplarily described. As shown in FIG. 3 , the mobile phone provided by the embodiment of the present invention includes: a processor 20 , a radio frequency (RF) circuit 21 , a power supply 22 , a memory 23 , an input unit 24 , a display unit 25 , and an audio circuit 26 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 3 does not constitute a limitation on the mobile phone, and it may include more or less components than those shown in FIG. 3 , or may be combined as shown in FIG. 3 . some of the components, or may be arranged differently from the components shown in FIG. 3 .

处理器20是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器23内的软件程序和/或模块,以及调用存储在存储器23内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器20可包括一个或多个处理单元。可选的,处理器20可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以为与处理器20单独存在的处理器。The processor 20 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 23, and calling the data stored in the memory 23. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 20 may include one or more processing units. Optionally, the processor 20 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program; the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may also be a processor that exists separately from the processor 20 .

RF电路21可用于在收发信息或通话过程中,接收和发送信号。例如,将基站的下行信息接收后,给处理器20处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)以及双工器等。此外,手机还可以通过RF电路21与网络中的其他设备实现无线通信。无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of MobileCommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、LTE、电子邮件以及短消息服务(Short Messaging Service,SMS)等。The RF circuit 21 can be used to receive and transmit signals during transmission and reception of information or calls. For example, after the downlink information of the base station is received, it is processed by the processor 20; in addition, the uplink data is sent to the base station. Generally, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the mobile phone can also implement wireless communication with other devices in the network through the RF circuit 21 . Wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), LTE, E-mail and Short Messaging Service (Short Messaging Service, SMS) and so on.

电源22可用于给手机的各个部件供电,电源22可以为电池。可选的,电源可以通过电源管理系统与处理器20逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The power source 22 can be used to power various components of the mobile phone, and the power source 22 can be a battery. Optionally, the power supply may be logically connected to the processor 20 through a power management system, so that functions such as managing charging, discharging, and power consumption are implemented through the power management system.

存储器23可用于存储软件程序以及模块,处理器20通过运行存储在存储器23的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器23可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、图像数据、电话本等)等。此外,存储器23可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 23 can be used to store software programs and modules, and the processor 20 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 23 . The memory 23 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function; Data created by the use of the mobile phone (such as audio data, image data, phone book, etc.), etc. Additionally, memory 23 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.

输入单元24可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元24可包括触摸屏241以及其他输入设备242。触摸屏241,也称为触摸面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏241上或在触摸屏241附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸屏241可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器20,并能接收处理器20发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏241。其他输入设备242可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标以及操作杆等中的一种或多种。The input unit 24 can be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 24 may include a touch screen 241 and other input devices 242 . The touch screen 241, also known as a touch panel, can collect the user's touch operations on or near it (such as the user's operations on the touch screen 241 or near the touch screen 241 using any suitable object or accessory such as a finger, a stylus, etc.), and according to the The preset program drives the corresponding connection device. Optionally, the touch screen 241 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 20, and can receive the command sent by the processor 20 and execute it. In addition, the touch screen 241 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. Other input devices 242 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元25可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元25可包括显示面板251。可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-emitting Diode,OLED)等形式来配置显示面板251。进一步的,触摸屏241可覆盖显示面板251,当触摸屏241检测到在其上或附近的触摸操作后,传送给处理器20以确定触摸事件的类型,随后处理器20根据触摸事件的类型在显示面板251上提供相应的视觉输出。虽然在图3中,触摸屏241与显示面板251是作为两个独立的部件来实现手机的输入和输出功能,但是在某些实施例中,可以将触摸屏241与显示面板251集成而实现手机的输入和输出功能。The display unit 25 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 25 may include a display panel 251 . Optionally, the display panel 251 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-emitting Diode, OLED) or the like. Further, the touch screen 241 may cover the display panel 251, and when the touch screen 241 detects a touch operation on or near it, it transmits it to the processor 20 to determine the type of the touch event, and then the processor 20 displays the touch event on the display panel according to the type of the touch event. 251 provides the corresponding visual output. Although in FIG. 3, the touch screen 241 and the display panel 251 are used as two independent components to realize the input and output functions of the mobile phone, in some embodiments, the touch screen 241 and the display panel 251 can be integrated to realize the input and output functions of the mobile phone and output functions.

音频电路26、扬声器261和麦克风262,用于提供用户与手机之间的音频接口。一方面,音频电路26可将接收到的音频数据转换后的电信号,传输到扬声器261,由扬声器261转换为声音信号输出。另一方面,麦克风262将收集的声音信号转换为电信号,由音频电路26接收后转换为音频数据,再将音频数据通过处理器20输出至RF电路21以发送给比如另一手机,或者将音频数据通过处理器20输出至存储器23以便进一步处理。The audio circuit 26, the speaker 261 and the microphone 262 are used to provide an audio interface between the user and the mobile phone. On the one hand, the audio circuit 26 can transmit the electrical signal converted from the received audio data to the speaker 261, and the speaker 261 converts it into a sound signal and outputs it. On the other hand, the microphone 262 converts the collected sound signal into an electrical signal, which is received by the audio circuit 26 and then converted into audio data, and then the audio data is output to the RF circuit 21 through the processor 20 to be sent to, for example, another mobile phone, or to The audio data is output by processor 20 to memory 23 for further processing.

可选的,如图3所示的手机还可以包括各种传感器。例如陀螺仪传感器、湿度计传感器、红外线传感器、磁力计传感器等,在此不再赘述。Optionally, the mobile phone as shown in FIG. 3 may further include various sensors. For example, a gyroscope sensor, a hygrometer sensor, an infrared sensor, a magnetometer sensor, etc., will not be repeated here.

可选的,如图3所示的手机还可以包括无线保真(Wireless Gidelity,WiFi)模块、蓝牙模块等,在此不再赘述。Optionally, the mobile phone shown in FIG. 3 may further include a wireless fidelity (Wireless Gidelity, WiFi) module, a Bluetooth module, and the like, which will not be repeated here.

本发明实施例中,上述图2所示的网络设备可以为基站,该基站可以为通常所用的基站,演进型基站(evolved node base station,eNB),下一代基站(nextgeneration nodebase station,gNB)、新型无线电基站(new radio eNB)、宏基站、微基站、高频基站或发送和接收点(transmission and reception point,TRP))等设备。示例性的,本发明实施例以通常所用的基站为例,介绍接入网设备的硬件结构。下面结合图4具体介绍本发明实施例提供的基站的各个构成部件。如图4所示,本发明实施例提供的基站可以包括:30部分以及31部分。30部分主要用于射频信号的收发以及射频信号与基带信号的转换;31部分主要用于基带处理,对基站进行控制等。30部分通常可以称为收发单元、收发机、收发电路、或者收发器等。31部分通常是基站的控制中心,通常可以称为处理单元。In this embodiment of the present invention, the network device shown in FIG. 2 may be a base station, and the base station may be a commonly used base station, an evolved node base station (eNB), a next generation node base station (gNB), New radio base station (new radio eNB), macro base station, micro base station, high frequency base station or transmission and reception point (transmission and reception point, TRP) and other equipment. Exemplarily, the embodiments of the present invention take a commonly used base station as an example to introduce the hardware structure of an access network device. Each component of the base station provided by the embodiment of the present invention is described in detail below with reference to FIG. 4 . As shown in FIG. 4 , the base station provided by the embodiment of the present invention may include: part 30 and part 31. Part 30 is mainly used for transceiver of radio frequency signal and conversion of radio frequency signal and baseband signal; part 31 is mainly used for baseband processing, control of base station, etc. Part 30 may be commonly referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver. Part 31 is usually the control center of the base station, which can usually be called a processing unit.

30部分的收发单元,也可以称为收发机,或收发器等,其包括天线和射频单元,或者仅包括射频单元或其中的部分其中射频单元主要用于进行射频处理。可选的,可以将30部分中用于实现接收功能的器件视为接收单元,将用于实现发送功能的器件视为发送单元,即30部分包括接收单元和发送单元。接收单元也可以称为接收机、接收器、或接收电路等,发送单元可以称为发射机、发射器或者发射电路等。30 part of the transceiver unit, which may also be called a transceiver, or a transceiver, etc., includes an antenna and a radio frequency unit, or only includes a radio frequency unit or a part thereof, wherein the radio frequency unit is mainly used for radio frequency processing. Optionally, the device used for realizing the receiving function in part 30 may be regarded as a receiving unit, and the device used for realizing the sending function may be regarded as a sending unit, that is, part 30 includes a receiving unit and a sending unit. The receiving unit may also be referred to as a receiver, a receiver, or a receiving circuit, and the like, and the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, and the like.

31部分可以包括一个或多个单板或芯片,每个单板或芯片可以包括一个或多个处理器和一个或多个存储器,处理器用于读取和执行存储器中的程序以实现基带处理功能以及对基站的控制。若存在多个单板,各个单板之间可以互联以增加处理能力。作为一种可选的实施方式,也可以是多个单板共用一个或多个处理器,或者是多个单板共用一个或多个存储器。其中,存储器和处理器可以是集成在一起的,也可以是独立设置的。在一些实施例中,30部分和31部分可以是集成在一起的,也可以是独立设置的。另外,31部分中的全部功能可以集成在一个芯片中实现,也可以部分功能集成在一个芯片中实现另外一部分功能集成在其他一个或多个芯片中实现,本发明实施例对此不进行限定。31 Parts may include one or more single boards or chips, each single board or chip may include one or more processors and one or more memories, the processor is used to read and execute programs in the memory to implement baseband processing functions and control of the base station. If there are multiple boards, each board can be interconnected to increase processing capacity. As an optional implementation manner, multiple boards may share one or more processors, or multiple boards may share one or more memories. Wherein, the memory and the processor can be integrated together, or can be set independently. In some embodiments, part 30 and part 31 may be integrated together, or may be provided independently. In addition, all functions in part 31 may be integrated in one chip for implementation, or part of functions may be integrated in one chip for implementation and another part of functions may be integrated in one or more other chips for implementation, which is not limited in this embodiment of the present invention.

结合上述图2所示的通信系统,下面从通信系统中UE和网络设备(例如基站)交互的角度完整地描述本发明实施例提供的资源分配方法,以说明UE获取网络切片配置信息和逻辑信道配置信息的过程以及UE根据该网络切片配置信息和该逻辑信道配置信息为UE的一个或多个逻辑信道分配资源的过程。With reference to the communication system shown in FIG. 2, the resource allocation method provided by the embodiment of the present invention is completely described below from the perspective of the interaction between the UE and the network device (such as a base station) in the communication system, so as to illustrate that the UE obtains network slice configuration information and logical channels The process of configuring information and the process of allocating resources to one or more logical channels of the UE according to the network slice configuration information and the logical channel configuration information.

如图5所示,本发明实施例提供的资源分配方法可以包括S101-S105:As shown in FIG. 5 , the resource allocation method provided by the embodiment of the present invention may include S101-S105:

S101、网络设备确定网络切片配置信息和逻辑信道配置信息。S101. A network device determines network slice configuration information and logical channel configuration information.

其中,网络切片配置信息包括为UE提供服务的多个网络切片的配置信息,一个网络切片的配置信息包括下述多项中的一项:该网络切片的优先级、该网络切片的额定速率、该网络切片的资源占比或该网络切片的时延指示信息;逻辑信道的配置信息包括该UE的多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR。Wherein, the network slice configuration information includes configuration information of multiple network slices that provide services for the UE, and the configuration information of one network slice includes one of the following items: the priority of the network slice, the rated rate of the network slice, The resource ratio of the network slice or the delay indication information of the network slice; the configuration information of the logical channel includes the respective priorities of the multiple logical channels of the UE and the respective PBRs of the multiple logical channels.

应理解,上述网络切片配置信息中,网络切片的优先级是体现网络切片对传输速率或时延等要求的指标,网络切片的优先级越高表示网络切片对传输速率或时延等的要求较高,即要求高速率或低时延;网络切片的额定速率是该网络切片对应的理想速率或与运营商签订的目标速率(例如网络切片1的额定速率为50Mbit/s);网络切片的资源占比指的是各个网络切片所占的资源的比例(例如对于3个网络切片,网络切片1的资源占比为50%,网络切片2的资源占比为30%,网络切片3的资源占比为20%);网络切片的时延指示信息用于指示获取该网络切片的时延并根据网络切片的时延为网络切片分配资源,该网络切片的时延指的是该网络切片从上次调度到本次调度之间的时延。It should be understood that in the above network slice configuration information, the priority of network slices is an indicator that reflects the requirements of network slices on transmission rate or delay. High, that is, high rate or low latency is required; the rated rate of a network slice is the ideal rate corresponding to the network slice or the target rate signed with the operator (for example, the rated rate of network slice 1 is 50Mbit/s); network slice resources The proportion refers to the proportion of resources occupied by each network slice (for example, for 3 network slices, the resources of network slice 1 account for 50%, the resources of network slice 2 account for 30%, and the resources of network slice 3 account for ratio of 20%); the delay indication information of the network slice is used to indicate the delay of obtaining the network slice and allocate resources to the network slice according to the delay of the network slice, and the delay of the network slice refers to the delay of the network slice from the upper The delay between the next scheduling and this scheduling.

同理,上述逻辑信道配置信息中逻辑信道的优先级可以是体现逻辑信道对速率或时延等要求的指标,此处不再详述。Similarly, the priority of the logical channel in the above-mentioned logical channel configuration information may be an indicator that reflects the requirements of the logical channel on the rate or delay, etc., which will not be described in detail here.

需要说明的是,本发明实施例不对优先级(包括网络切片的优先级和逻辑信道的优先级)的数值对应的优先级大小作具体限定。具体的,优先级的数值越大可以表示优先级越高(例如,网络切片1的优先级的数值为1,网络切片2的优先级的数值为2,网络切片2的优先级高于网络切片1的优先级),优先级的数值越小也可以表示优先级越高(例如,网络切片1的优先级的数值为1,网络切牌2的优先级的数值为2,网络切片1的优先级高于网络切片2的优先级)。It should be noted that, the embodiment of the present invention does not specifically limit the priority size corresponding to the numerical value of the priority (including the priority of the network slice and the priority of the logical channel). Specifically, the higher the priority value, the higher the priority (for example, the priority value of network slice 1 is 1, the priority value of network slice 2 is 2, and the priority value of network slice 2 is higher than that of network slice 2 1 priority), the smaller the priority value, the higher the priority (for example, the priority value of network slice 1 is 1, the priority value of network slice 2 is 2, and the priority value of network slice 1 is 1). higher than the priority of network slice 2).

S102、网络设备向UE发送网络切片配置信息和逻辑信道配置信息。S102. The network device sends the network slice configuration information and the logical channel configuration information to the UE.

其中,网络切片配置信息和逻辑信道配置信息用于UE为该UE的一个或多个逻辑信道分配资源。The network slice configuration information and the logical channel configuration information are used by the UE to allocate resources for one or more logical channels of the UE.

可选的,网络设备通过无线资源控制(radio resource control,RRC)信令为UE配置(即发送)该网络切片配置信息和该逻辑信道配置信息。Optionally, the network device configures (ie sends) the network slice configuration information and the logical channel configuration information for the UE through radio resource control (radio resource control, RRC) signaling.

S103、UE接收网络设备发送的网络切片配置信息和逻辑信道配置信息。S103: The UE receives the network slice configuration information and the logical channel configuration information sent by the network device.

S104、UE根据逻辑信道配置信息从网络设备为UE配置的资源中为UE的一个或多个逻辑信道分配资源。S104, the UE allocates resources for one or more logical channels of the UE from the resources configured for the UE by the network device according to the logical channel configuration information.

结合上述实施例的描述,应理解,逻辑信道配置信息包括UE的多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR,UE可以根据该多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR为其一个或多个逻辑信道分配资源。With reference to the description of the above embodiments, it should be understood that the logical channel configuration information includes the respective priorities of the multiple logical channels of the UE and the respective PBRs of the multiple logical channels. The respective PBR of each logical channel allocates resources for one or more of its logical channels.

结合图5,如图6所示,在一种实现方式中,上述S104具体包括S104a-S104b:With reference to FIG. 5, as shown in FIG. 6, in an implementation manner, the above S104 specifically includes S104a-S104b:

S104a、UE确定UE的多个逻辑信道中满足预设条件的一个或多个逻辑信道。S104a, the UE determines one or more logical channels that satisfy a preset condition among the multiple logical channels of the UE.

其中,预设条件为逻辑信道当前令牌桶中能使用的令牌个数大于或等于零。The preset condition is that the number of tokens that can be used in the current token bucket of the logical channel is greater than or equal to zero.

可以理解的是,UE的多个逻辑信道中,每个逻辑信道对应一个变量,即该逻辑信道当前令牌桶中能使用的令牌个数(以下以逻辑信道的Bj来表示)。It can be understood that, in the multiple logical channels of the UE, each logical channel corresponds to a variable, that is, the number of tokens that can be used in the current token bucket of the logical channel (hereinafter represented by Bj of the logical channel).

示例性的,假设图2示出的5个逻辑信道中,逻辑信道2、逻辑信道3以及逻辑信道5的Bj大于或等于零,逻辑信道1和逻辑信道4的Bj小于零,则UE可以确定逻辑信道2、逻辑信道3以及逻辑信道5为上述满足预设条件逻辑信道。Exemplarily, assuming that among the five logical channels shown in FIG. 2, Bj of logical channel 2, logical channel 3 and logical channel 5 is greater than or equal to zero, and Bj of logical channel 1 and logical channel 4 is less than zero, the UE can determine the logical Channel 2, logical channel 3, and logical channel 5 are the above-mentioned logical channels that satisfy the preset conditions.

S104b、UE按照一个或多个逻辑信道各自的优先级和一个或多个逻辑信道各自的PBR为一个或多个逻辑信道分配资源。S104b, the UE allocates resources to the one or more logical channels according to the respective priorities of the one or more logical channels and the respective PBRs of the one or more logical channels.

本发明实施例中,UE按照一个或多个逻辑信道各自的优先级从高到低的顺序,为该一个或多个逻辑信道分配满足其PBR的资源。In this embodiment of the present invention, the UE allocates resources that satisfy its PBR to the one or more logical channels according to the respective priorities of the one or more logical channels from high to low.

结合上述S104a中的示例,假设5个逻辑信道的优先级从高到低依次为逻辑信道1、逻辑信道2、逻辑信道3、逻辑信道4、逻辑信道5,上述满足预设条件(即Bj大于或等于零)的逻辑信道为逻辑信道2、逻辑信道3以及逻辑信道5,其中,逻辑信道2的PBR为20Mbit/s,逻辑信道3的PBR为10Mbit/s,逻辑信道5的PBR为20Mbit/s,假设待分配资源的大小为100Mbit,UE按照逻辑信道的优先级从高到低的顺序依次为逻辑信道2、逻辑信道3以及逻辑信道5分配20Mbit、10Mbit以及20Mbit的资源。Combined with the example in the above S104a, it is assumed that the priorities of the five logical channels are logical channel 1, logical channel 2, logical channel 3, logical channel 4, and logical channel 5 in order from high to low, and the above-mentioned preset conditions (that is, Bj greater than or equal to zero) logical channels are logical channel 2, logical channel 3 and logical channel 5, wherein the PBR of logical channel 2 is 20Mbit/s, the PBR of logical channel 3 is 10Mbit/s, and the PBR of logical channel 5 is 20Mbit/s Assuming that the size of the resource to be allocated is 100Mbit, the UE allocates 20Mbit, 10Mbit and 20Mbit resources to logical channel 2, logical channel 3 and logical channel 5 in descending order of logical channel priority.

应理解,在逻辑信道建立的初期,一个逻辑信道的Bj=0(即初始化值);UE在每个资源更新周期(资源更新周期为T)内都会为该逻辑信道增加一个该逻辑信道的PBR对应的资源量大小,并持续多个资源更新周期。It should be understood that at the initial stage of the establishment of a logical channel, Bj of a logical channel = 0 (that is, the initialization value); the UE will add a PBR of the logical channel to the logical channel in each resource update period (the resource update period is T). The corresponding resource size, and lasts for multiple resource update cycles.

UE本次为逻辑信道分配资源时,首先需要更新该逻辑信道的Bj得到Bj’,然后根据该Bj’确定是否为该逻辑信道分配资源(即为Bj’大于或等于零的逻辑信道分配资源);然后在为该逻辑信道分配资源之后,更新Bj’得到Bj”,并将该更新得到的Bj”作为下一次分配资源时逻辑信道的Bj。When the UE allocates resources for the logical channel this time, it first needs to update the Bj of the logical channel to obtain Bj', and then determine whether to allocate resources for the logical channel according to the Bj' (that is, allocate resources for the logical channel with Bj' greater than or equal to zero); Then, after allocating resources to the logical channel, update Bj' to obtain Bj", and use the updated Bj" as the Bj of the logical channel when resources are allocated next time.

这里,对于一个逻辑信道,更新该逻辑信道的Bj得到Bj’的方法为:Bj’=PBR*T+Bj,其中,T用于表示从上次更新Bj到这次更新Bj的间隔时长;更新该逻辑信道的Bj’得到Bj”的方法为:Bj”=Bj’-R,R表示UE本次分配给该逻辑信道的资源量大小(该资源量大小也可以使用服务数据单元(service data unit,SDU)包大小进行表征)。Here, for a logical channel, the method of updating the Bj of the logical channel to obtain Bj' is: Bj'=PBR*T+Bj, where T is used to represent the interval from the last update of Bj to the current update of Bj; update The method for obtaining Bj" from Bj' of the logical channel is: Bj"=Bj'-R, and R represents the size of the resource allocated to the logical channel by the UE this time (the size of the resource can also be made by using a service data unit (service data unit). , SDU) packet size is characterized).

可以理解是,每个逻辑信道也有其对应的令牌桶,该令牌桶的容量表示该逻辑信道当前可拥有的资源量的最大值,本发明实施例中,逻辑信道的Bj应小于或等于该逻辑信道的令牌桶的容量,其中,一个逻辑信道的令牌桶的容量等于该逻辑信道的PBR与该逻辑信道的令牌桶持续时长(bucket size duration,BSD)的乘积(即令牌桶的容量等于PBR*BSD)。It can be understood that each logical channel also has its corresponding token bucket, and the capacity of the token bucket represents the maximum amount of resources currently possessed by the logical channel. In this embodiment of the present invention, the Bj of the logical channel should be less than or equal to The capacity of the token bucket of the logical channel, wherein the capacity of the token bucket of a logical channel is equal to the product of the PBR of the logical channel and the bucket size duration (BSD) of the logical channel (that is, the token The capacity of the bucket is equal to PBR*BSD).

示例性的,假设逻辑信道1的初始化Bj为0,第一次为该逻辑信道1分配资源之前,该逻辑信道1的Bj已经更新为Bj’,按照上述更新公式,Bj’=40Mbit(假设上述T=4,PBR=10);在第一次为该逻辑信道1分配资源时,该逻辑信道1被分配了140Mbit(即R=140)的资源,则该逻辑信道1的Bj’此时更新为Bj”,其中Bj”=-100Mbit;在第二次为该逻辑信道1分配资源时,将该Bj”(即-100Mbit)即作为第二次为该逻辑信道1分配资源时逻辑信道1的Bj。Exemplarily, assuming that the initialization Bj of the logical channel 1 is 0, before allocating resources to the logical channel 1 for the first time, the Bj of the logical channel 1 has been updated to Bj', according to the above update formula, Bj'=40Mbit (assuming the above T=4, PBR=10); when resources are allocated to the logical channel 1 for the first time, the logical channel 1 is allocated 140Mbit (ie R=140) resources, then the Bj' of the logical channel 1 is updated at this time Bj", where Bj"=-100Mbit; when allocating resources for the logical channel 1 for the second time, the Bj" (ie -100Mbit) is used as the logical channel 1 when resources are allocated for the logical channel 1 for the second time. Bj.

应理解,上述第二次为逻辑信道1分配资源之前,该逻辑信道1的Bj再次经过上述更新公式由Bj更新为Bj’,假设资源更新周期即该逻辑信道1的PBR不变(即T=4,PBR=10Mbit/s),则Bj’=-100Mbit+40Mbit=-60Mbit;此时Bj’小于零,表示该逻辑信道1第一次分配时被分配了过多的资源,而在第二次分配资源时,本发明实施例优先考虑为其他逻辑信道(即Bj大于或等于零的逻辑信道)分配资源,提升了资源分配的合理性。It should be understood that before allocating resources to logical channel 1 for the second time, the Bj of logical channel 1 is updated from Bj to Bj' again through the above update formula. It is assumed that the resource update period, that is, the PBR of logical channel 1 remains unchanged (that is, T= 4, PBR=10Mbit/s), then Bj'=-100Mbit+40Mbit=-60Mbit; at this time, Bj' is less than zero, indicating that the logical channel 1 was allocated too many resources when it was allocated for the first time, and in the second When resources are allocated for the second time, the embodiments of the present invention give priority to allocating resources to other logical channels (ie, logical channels whose Bj is greater than or equal to zero), which improves the rationality of resource allocation.

本发明实施例中,上述UE为UE的第一个或多个逻辑信道分配资源之后,执行下述S105:In the embodiment of the present invention, after the above-mentioned UE allocates resources to the first one or more logical channels of the UE, the following S105 is performed:

S105、在网络设备为UE配置的资源中存在剩余资源的情况下,UE根据网络切片配置信息从剩余资源中为UE的一个或多个逻辑信道分配资源。S105. In the case that there are remaining resources in the resources configured by the network device for the UE, the UE allocates resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information.

为了便于描述,在以下实施例中,在完成上述S104之后,网络设备为UE配置的资源中还存在剩余的资源(即S105中的剩余资源)均称为第一剩余资源。For ease of description, in the following embodiments, after the above S104 is completed, the remaining resources (ie the remaining resources in S105 ) in the resources configured by the network device for the UE are referred to as the first remaining resources.

结合上述实施例的描述,应理解,在UE根据其逻辑信道配置信息为一个或多个逻辑信道分配资源之后,若网络设备为UE分配的资源中还存在剩余资源(即第一剩余资源,例如上述S104b中示例的待分配资源是100Mbit,在S104b中已经分配了50Mbit的资源,还剩余50Mbit的资源),则UE再根据网络切片配置信息将该第一剩余资源分配给UE的一个或多个逻辑信道。With reference to the description of the above embodiments, it should be understood that after the UE allocates resources for one or more logical channels according to its logical channel configuration information, if there are still remaining resources (that is, the first remaining resources, for example, the first remaining resources) in the resources allocated by the network device for the UE The resource to be allocated in the example in S104b above is 100Mbit, 50Mbit resources have been allocated in S104b, and 50Mbit resources are left), then the UE allocates the first remaining resources to one or more of the UE according to the network slice configuration information. logical channel.

结合图6,如图7所示,在一种实现方式中,当网络切片配置信息为网络切片的优先级时,S105具体包括S105a:With reference to FIG. 6, as shown in FIG. 7, in an implementation manner, when the network slice configuration information is the priority of the network slice, S105 specifically includes S105a:

S105a、UE按照多个网络切片的优先级和多个逻辑信道的优先级将剩余资源分配给UE的一个或多个逻辑信道。S105a, the UE allocates the remaining resources to one or more logical channels of the UE according to the priorities of the multiple network slices and the priorities of the multiple logical channels.

本发明实施例中,UE按照多个网络切片的优先级确定资源分配的顺序(即确定首先为优先级高的网络切片分配资源,再为优先级低的网络切片分配资源),为网络切片分配资源具体指的是按照该网络切片包含的逻辑信道的优先级和逻辑信道各自所需的资源量(可以理解的是,每一个逻辑信道的buffer中均缓存有其所需要的资源量)为该网络切片包含的一个或多个逻辑信道分配资源。In this embodiment of the present invention, the UE determines the order of resource allocation according to the priorities of multiple network slices (that is, determines to allocate resources to network slices with high priority first, and then allocate resources to network slices with low priority), and allocate resources to network slices. The resource specifically refers to the amount of resources required by the priority of the logical channels included in the network slice and the respective logical channels (it can be understood that the buffer of each logical channel has the required amount of resources cached) is the One or more logical channels contained in a network slice allocate resources.

结合图2,假设网络切片2的优先级高于网络切片1的优先级,此时UE将第一剩余资源优先分配给网络切片2,如果还有剩余资源再分配给网络切片1,直到该第一剩余资源分配完毕。上述从第一剩余资源中为网络切片2分配资源具体包括:按照网络切片2中逻辑信道的优先级为网络切片2包含的逻辑信道(包括逻辑信道4和逻辑信道5)中的一个或多个逻辑信道分配资源,由于在网络切片2中,逻辑信道4的优先级高于逻辑信道5的优先级,因此UE可以首先为网络切片2中的逻辑信道4分配资源,在为该逻辑信道4分配了资源之后,如果还有剩余资源,再为逻辑信道5分配资源,这样UE就完成了对网络切片2的资源分配,在UE为该网络切片2分配资源之后,如果还有剩余资源,再为网络切片1包含的逻辑信道分配资源,UE为网络切片1分配资源的方法与该UE为网络切片2分配资源的方法是类似的,在此不做赘述。With reference to Fig. 2, it is assumed that the priority of network slice 2 is higher than that of network slice 1. At this time, the UE allocates the first remaining resources to network slice 2 first, and then allocates the remaining resources to network slice 1 until the first remaining resource is allocated to network slice 1. 1. The remaining resources are allocated. The above-mentioned allocating resources for the network slice 2 from the first remaining resources specifically includes: according to the priority of the logical channels in the network slice 2, one or more of the logical channels (including the logical channel 4 and the logical channel 5) included in the network slice 2 are Logical channel allocation resources, because in network slice 2, the priority of logical channel 4 is higher than the priority of logical channel 5, so the UE can first allocate resources for logical channel 4 in network slice 2, and then allocate resources for this logical channel 4 After the resources are allocated, if there are remaining resources, allocate resources to logical channel 5, so that the UE completes the resource allocation to network slice 2. After the UE allocates resources to the network slice 2, if there are remaining resources, then The logical channel included in the network slice 1 allocates resources. The method for the UE to allocate resources to the network slice 1 is similar to the method for the UE to allocate resources to the network slice 2, and details are not described here.

在一种情况下,在上述S104之后,当上述第一剩余资源的量小于或等于优先级最高的网络切片中优先级最高的逻辑信道所需要的资源量时,UE将该第一剩余资源全部分配给该优先级最高的逻辑信道。示例性的,在另一种假设中,若上述逻辑信道4需要50Mbit的资源,则UE将该第一剩余资源(即50Mbit的剩余资源)全部分配给逻辑信道4。In one case, after the above S104, when the amount of the first remaining resources is less than or equal to the amount of resources required by the logical channel with the highest priority in the network slice with the highest priority, the UE shall use all the first remaining resources Assigned to the highest priority logical channel. Exemplarily, in another assumption, if the above-mentioned logical channel 4 requires 50Mbit resources, the UE allocates all the first remaining resources (ie, the 50Mbit remaining resources) to the logical channel 4.

本发明实施例中,网络设备为UE配置网络切片的优先级,从而UE可以结合网络切片的优先级为该UE的逻辑信道分配资源,提升资源分配的合理性。In the embodiment of the present invention, the network device configures the priority of the network slice for the UE, so that the UE can allocate resources to the logical channel of the UE in combination with the priority of the network slice, thereby improving the rationality of resource allocation.

结合图6,如图8所示,在一种实现方式中,当网络切片配置信息为网络切片的额定速率时,S105具体包括S105b:With reference to FIG. 6, as shown in FIG. 8, in an implementation manner, when the network slice configuration information is the rated rate of the network slice, S105 specifically includes S105b:

S105b、UE按照多个网络切片的额定速率和多个逻辑信道的优先级从剩余资源中为UE的一个或多个逻辑信道分配资源。S105b, the UE allocates resources for one or more logical channels of the UE from the remaining resources according to the rated rates of the multiple network slices and the priorities of the multiple logical channels.

结合上述实施例的描述,应理解,UE的多个网络切片中每个网络切片均对应一个额定速率,该额定速率是该网络切片对应的理想速率或与运营商签订的目标速率,本发明实施例中,网络切片的额定速率可以采用切片比特速率(slice bit rate,SBR)表示。With reference to the description of the above embodiments, it should be understood that each network slice in the multiple network slices of the UE corresponds to a rated rate, and the rated rate is the ideal rate corresponding to the network slice or the target rate signed with the operator. The present invention implements In an example, the rated rate of a network slice may be represented by a slice bit rate (SBR).

本发明实施例中,UE按照多个网络切片的额定速率确定资源分配的顺序(即确定首先为额定速率高的网络切片分配资源,再为额定速率低的网络切片分配资源),为网络切片分配资源具体指的是按照网络切片的逻辑信道的优先级和逻辑信道各自所需的资源量为该网络切片包含的一个或多个逻辑信道分配资源。In this embodiment of the present invention, the UE determines the sequence of resource allocation according to the rated rates of multiple network slices (that is, determines to allocate resources to network slices with a high rated rate first, and then allocate resources to network slices with a low rated rate), and allocate resources to network slices. The resource specifically refers to allocating resources to one or more logical channels included in the network slice according to the priority of the logical channels of the network slice and the resource amount required by each of the logical channels.

可以理解的是,UE可以按照多个网络切片的额定速率从大到小的顺序从剩余资源(即第一剩余资源)中为该多个网络切片所包含的逻辑信道分配资源如此,可以优先保证对速率要求高的网络切片被分配到资源。也可以按照多个网络切片的额定速率从小到大的顺序从剩余资源(即第一剩余资源)中为该多个网络切片所包含的逻辑信道分配资源,如此,可以保证更多的网络切片(或逻辑信道)被分配到合适的资源,具体的分配方式,根据实际需求确定,本发明实施例不做具体限定。It can be understood that the UE can allocate resources for the logical channels included in the multiple network slices from the remaining resources (that is, the first remaining resources) according to the rated rates of the multiple network slices in descending order. In this way, priority can be guaranteed. Network slices with high rate requirements are allocated to resources. It is also possible to allocate resources from the remaining resources (that is, the first remaining resources) to the logical channels included in the multiple network slices according to the rated rates of the multiple network slices in ascending order, so that more network slices ( (or logical channel) are allocated to appropriate resources, and the specific allocation manner is determined according to actual requirements, which is not specifically limited in this embodiment of the present invention.

以下,以UE按照多个网络切片的额定速率从大到小的顺序分别为一个或多个逻辑信道分配资源(即UE优先为额定速率大的网络切片分配资源,再为额定速率小的网络切片分配资源),具体的,以一个网络切片为例,UE首先确定该网络切片的目标分配资源量,该目标分配资源量等于网络切片的额定速率对应的资源量与网络切片已经被分配的资源量的差值,其中网络切片已经被分配的资源量等于网络切片中包含的多个逻辑信道已经被分配的资源量之和;然后UE判断网络切片实际需要的资源量是否小于该网络切片的目标分配资源量,其中网络切片实际需要的资源量等于网络切片中包含的多个逻辑信道所需的资源量之和;若网络切片实际需要的资源量小于该网络切片的目标分配资源量,则UE仅为网络切片分配其实际需要的资源量;否则,UE为网络切片分配其所对应的目标分配资源量。In the following, the UE allocates resources to one or more logical channels in descending order of the rated rates of multiple network slices (that is, the UE allocates resources to the network slices with a high rated rate first, and then allocates resources to the network slices with a small rated rate. To allocate resources), specifically, taking a network slice as an example, the UE first determines the target allocation resource amount of the network slice, and the target allocation resource amount is equal to the resource amount corresponding to the rated rate of the network slice and the resource amount that has been allocated to the network slice The difference value of , where the amount of resources that have been allocated to the network slice is equal to the sum of the resources that have been allocated to multiple logical channels included in the network slice; then the UE determines whether the amount of resources actually required by the network slice is less than the target allocation of the network slice. The amount of resources, where the actual amount of resources required by the network slice is equal to the sum of the resources required by multiple logical channels included in the network slice; if the actual amount of resources required by the network slice is less than the target resource allocation of the network slice, the UE only Allocate the actual required amount of resources to the network slice; otherwise, the UE allocates its corresponding target resource allocation to the network slice.

示例性的,结合图2和上述S104b中的示例,假设网络切片1的额定速率为50Mbit/s,网络切片2的额定速率为30Mbit/s,如此,UE优先为网络切片1分配资源,在为网络切片1分配资源之后,如果还有剩余资源,再分配给网络切片2。假设网络切片1中逻辑信道1、逻辑信道2以及逻辑信道3各自已经被分配的资源是0Mbit、10Mbit以及20Mbit,可知网络切片1的目标分配资源量是20Mbit。又假设网络切片1实际需要的资源量为10Mbit(即网络切片1中的逻辑信道1、逻辑信道2以及逻辑信道3所需的资源量之和为10Mbit),由于网络切片1实际需要的资源量(10Mbit)小于该网络切片1的目标分配资源量(20Mbit),则UE将第一剩余资源(即50Mbit的资源)中的10Mbit的资源分配给网络切片1,具体的,在网络切片1中,UE按照该网络切片1中多个逻辑信道(即逻辑信道1、逻辑信道2以及逻辑信道3)的优先级和该多个逻辑信道各自所需的资源量分配资源;若网络切片1实际需要的资源量为20Mbit,则UE将第一剩余资源中的20Mbit的资源分配给网络切片1。Exemplarily, with reference to FIG. 2 and the examples in S104b above, it is assumed that the rated rate of network slice 1 is 50 Mbit/s, and the rated rate of network slice 2 is 30 Mbit/s. In this way, the UE preferentially allocates resources for network slice 1, and then allocates resources for network slice 1. After network slice 1 allocates resources, if there are remaining resources, it is allocated to network slice 2. Assuming that the allocated resources of logical channel 1, logical channel 2 and logical channel 3 in network slice 1 are 0Mbit, 10Mbit and 20Mbit, it can be known that the target resource allocation of network slice 1 is 20Mbit. It is also assumed that the actual amount of resources required by network slice 1 is 10 Mbit (that is, the sum of the resources required by logical channel 1, logical channel 2 and logical channel 3 in network slice 1 is 10 Mbit). (10Mbit) is less than the target allocation resource amount (20Mbit) of the network slice 1, then the UE allocates 10Mbit resources in the first remaining resources (that is, the 50Mbit resources) to the network slice 1. Specifically, in the network slice 1, The UE allocates resources according to the priorities of multiple logical channels (ie, logical channel 1, logical channel 2, and logical channel 3) in the network slice 1 and the respective resource amounts required by the multiple logical channels; If the amount of resources is 20Mbit, the UE allocates 20Mbit resources in the first remaining resources to network slice 1.

同理,如果为上述网络切片1分配完资源之后,还有剩余资源,再为网络切片2的多个逻辑信道(即逻辑信道4和逻辑信道5)分配资源,具体的,UE为网络切片2的多个逻辑信道分配资源的方法与上述UE为网络切片1的多个逻辑信道分配资源的方法是类似的,在此不做赘述。Similarly, if there are remaining resources after allocating resources for the above network slice 1, resources are allocated to multiple logical channels of network slice 2 (ie, logical channel 4 and logical channel 5). Specifically, the UE is network slice 2. The method for allocating resources for the multiple logical channels of the above is similar to the above-mentioned method for the UE to allocate resources for the multiple logical channels of the network slice 1, and will not be repeated here.

结合上述实施例的描述,应理解,在对上述网络切片1和网络切片2按照网络切片的额定速率和逻辑信道的优先级分配第一剩余资源之后(即在S105b之后),可能还有剩余资源(以下简称第二剩余资源),此时,UE可以按照UE的逻辑信道优先级,从该第二剩余资源中再为UE的一个或多个逻辑信道分配资源,此时,无需考虑网络切片的配置信息。With reference to the description of the foregoing embodiments, it should be understood that after the first remaining resources are allocated to the foregoing network slice 1 and network slice 2 according to the rated rate of the network slice and the priority of the logical channel (that is, after S105b), there may be remaining resources. (hereinafter referred to as the second remaining resources), at this time, the UE may allocate resources for one or more logical channels of the UE from the second remaining resources according to the logical channel priority of the UE. At this time, the network slice does not need to be considered. configuration information.

示例性的,结合上述示例,在UE将第一剩余资源中的20Mbit分配给网络切片1,并且将第一剩余资源中的10Mbit分配给网络切片2之后,仍存在30Mbit的第二剩余资源,那么UE按照该UE的5个逻辑信道的优先级和该5个逻辑信道各自所需的资源量将该第二剩余资源分配至一个或多个逻辑信道,具体的,UE首先为逻辑信道1分配资源,若该逻辑信道1此刻所需的资源量为0,则UE继续为逻辑信道2分配资源,以此类推,直到将该第二剩余资源分配完。Exemplarily, in combination with the above example, after the UE allocates 20 Mbit of the first remaining resource to network slice 1 and allocates 10 Mbit of the first remaining resource to network slice 2, there is still a second remaining resource of 30 Mbit, then The UE allocates the second remaining resources to one or more logical channels according to the priorities of the five logical channels of the UE and the resource amounts required by the five logical channels. Specifically, the UE allocates resources to logical channel 1 first. , if the amount of resources required by the logical channel 1 at the moment is 0, the UE continues to allocate resources for the logical channel 2, and so on, until the second remaining resources are allocated.

本发明实施例中,UE按照多个网络切片的额定速率从大到小的顺序从剩余资源中为该多个网络切片所包含的逻辑信道分配资源(即优先为额定速率大的网络切片分配资源,然后再为额定速率小的网络切片分配资源),可以保证额定速率较大的网络切片的传输速率,提升大客户(或对网络切片的传输速率需求更高的客户)的用户体验。In this embodiment of the present invention, the UE allocates resources to the logical channels included in the plurality of network slices from the remaining resources according to the rated rates of the plurality of network slices in descending order (that is, the network slices with higher rated rates are preferentially allocated resources). , and then allocate resources to network slices with a smaller rated rate), which can ensure the transmission rate of network slices with a higher rated rate and improve the user experience of large customers (or customers who have higher requirements for the transmission rate of network slices).

同理,UE按照多个网络切片的额定速率从小到大的顺序从剩余资源中为该多个网络切片所包含的逻辑信道分配资源的方法,与上述UE按照多个网络切片的额定速率从大到小的顺序从剩余资源中为该多个网络切片所包含的逻辑信道分配资源的方法是类似的,在此不作赘述。UE按照多个网络切片的额定速率从小到大的顺序从剩余资源中为该多个网络切片所包含的逻辑信道分配资源(即优先为额定速率小的网络切片分配资源,然后再为额定速率大的网络切片分配资源),在网络切片较多的情况下,可以保证更多的网络切片的传输速率,提升网络切片的传输实用性。Similarly, the method that the UE allocates resources for the logical channels included in the multiple network slices from the remaining resources in the order of the rated rates of the multiple network slices from small to large is the same as the above-mentioned method of the UE according to the rated rates of the multiple network slices from the largest to the largest. The method of allocating resources to the logical channels included in the multiple network slices from the remaining resources in the smallest order is similar, and details are not described here. The UE allocates resources to the logical channels included in the multiple network slices from the remaining resources according to the rated rates of the multiple network slices in ascending order (that is, the network slices with the lower rated rates are allocated resources first, and then the network slices with the higher rated rates are allocated resources. In the case of more network slices, the transmission rate of more network slices can be guaranteed, and the transmission practicability of network slices can be improved.

结合图6,如图9所示,在一种实现方式中,当网络切片配置信息为网络切片的资源占比时,S105具体包括S105c:With reference to FIG. 6, as shown in FIG. 9, in an implementation manner, when the network slice configuration information is the resource ratio of the network slice, S105 specifically includes S105c:

S105c、UE按照多个网络切片的资源占比和多个逻辑信道的优先级从剩余资源中为UE的一个或多个逻辑信道分配资源。S105c, the UE allocates resources to one or more logical channels of the UE from the remaining resources according to the resource ratio of the multiple network slices and the priorities of the multiple logical channels.

结合上述实施例的描述,应理解,网络切片的资源占比指的是各个网络切片所占的资源的比例。具体的,以一个网络切片为例,UE首先确定该网络切片的应分配资源量,该应分配资源量等于剩余资源(即第一剩余资源)与网络切片的资源占比的乘积;然后UE判断网络切片实际需要的资源量是否小于该网络切片的应分配资源量,其中网络切片实际需要的资源量等于网络切片中包含的多个逻辑信道所需的资源量(可以理解的是,每一个逻辑信道的buffer中均缓存有其所需要的资源量)之和;若网络切片实际需要的资源量小于该网络切片的应分配资源量,则UE仅为网络切片分配其实际需要的资源量;否则,UE为网络切片分配其所对应的应分配资源量。With reference to the description of the foregoing embodiments, it should be understood that the resource ratio of a network slice refers to the ratio of resources occupied by each network slice. Specifically, taking a network slice as an example, the UE first determines the amount of resources to be allocated for the network slice, and the amount of resources to be allocated is equal to the product of the remaining resources (ie, the first remaining resources) and the resource ratio of the network slice; then the UE determines Whether the amount of resources actually required by the network slice is less than the amount of resources that should be allocated for the network slice, where the amount of resources actually required by the network slice is equal to the amount of resources required by the multiple logical channels included in the network slice (it is understandable that each logical The buffer of the channel is buffered with the sum of the required resources); if the actual required resources of the network slice are less than the allocated resources of the network slice, the UE only allocates the actual required resources for the network slice; otherwise , the UE allocates the corresponding amount of resources to be allocated for the network slice.

示例性的,结合图2和上述S104b中的示例,假设网络切片1的资源占比为50%,网络切片2的资源占比为30%,由于第一剩余资源为50Mbit,可知网络切片1的应分配资源量为25Mbit,网络切片2的应分配资源量为15Mbit。又假设网络切片1实际需要的资源量为20Mbit(即网络切片1中的逻辑信道1、逻辑信道2以及逻辑信道3所需的资源量之和为20Mbit),由于网络切片1实际需要的资源量(20Mbit)小于该网络切片1的应分配资源量(25Mbit),则UE将第一剩余资源(即50Mbit的资源)中的20Mbit的资源分配给网络切片1,具体的,在网络切片1中,UE按照该网络切片1中多个逻辑信道(即逻辑信道1、逻辑信道2以及逻辑信道3)的优先级和该多个逻辑信道各自所需的资源量分配资源;若网络切片1实际需要的资源量为25Mbit,则UE将第一剩余资源中的25Mbit的资源分配给网络切片1。Exemplarily, with reference to FIG. 2 and the examples in S104b above, it is assumed that the resource ratio of network slice 1 is 50%, and the resource ratio of network slice 2 is 30%. The amount of resources to be allocated is 25Mbit, and the amount of resources to be allocated for network slice 2 is 15Mbit. It is also assumed that the actual amount of resources required by network slice 1 is 20Mbit (that is, the sum of the resources required by logical channel 1, logical channel 2 and logical channel 3 in network slice 1 is 20Mbit). (20Mbit) is less than the amount of resources to be allocated (25Mbit) of the network slice 1, then the UE allocates 20Mbit resources in the first remaining resources (that is, the 50Mbit resources) to the network slice 1. Specifically, in the network slice 1, The UE allocates resources according to the priorities of multiple logical channels (ie, logical channel 1, logical channel 2, and logical channel 3) in the network slice 1 and the respective resource amounts required by the multiple logical channels; If the resource amount is 25Mbit, the UE allocates 25Mbit resources in the first remaining resources to network slice 1.

同理,如果为上述网络切片1分配完资源之后,还有剩余资源,再为网络切片2的多个逻辑信道(即逻辑信道4和逻辑信道5)分配资源,具体的,UE为网络切片2的多个逻辑信道分配资源的方法与上述UE为网络切片1的多个逻辑信道分配资源的方法是类似的,在此不做赘述。Similarly, if there are remaining resources after allocating resources for the above network slice 1, resources are allocated to multiple logical channels of network slice 2 (ie, logical channel 4 and logical channel 5). Specifically, the UE is network slice 2. The method for allocating resources for the multiple logical channels of the above is similar to the above-mentioned method for the UE to allocate resources for the multiple logical channels of the network slice 1, and will not be repeated here.

结合上述实施例的描述,应理解,在对上述网络切片1和网络切片2按照网络切片的资源占比和逻辑信道的优先级分配第一剩余资源之后(即在S105c之后),可能还有剩余资源(以下简称第二剩余资源),此时,UE可以按照UE的逻辑信道优先级,从该第二剩余资源中为UE的一个或多个逻辑信道分配资源,此时,无需考虑网络切片的配置信息。With reference to the description of the foregoing embodiments, it should be understood that after the first remaining resources are allocated to the foregoing network slice 1 and network slice 2 according to the resource ratio of the network slice and the priority of the logical channel (that is, after S105c), there may be remaining resources. resource (hereinafter referred to as the second remaining resource), at this time, the UE can allocate resources for one or more logical channels of the UE from the second remaining resource according to the priority of the logical channel of the UE. configuration information.

示例性的,结合上述示例,在UE将第一剩余资源中的25Mbit的资源分配给网络切片1,并且将第一剩余资源中的15Mbit的资源分配给网络切片2之后,仍存在10Mbit的第三剩余资源,那么UE按照该UE的5个逻辑信道的优先级和该5个逻辑信道各自所需的资源量将该第二剩余资源分配至一个或多个逻辑信道,具体的,UE首先为逻辑信道1分配资源,若该逻辑信道1此刻所需的资源量为10Mbit,则UE可以将该10Mbit的第二剩余资源全部分配给逻辑信道1;若该逻辑信道1此刻所需的资源量为0,则UE继续为逻辑信道2分配资源,以此类推,直到将该第二剩余资源分配完毕。Exemplarily, in combination with the above example, after the UE allocates 25Mbit resources in the first remaining resources to network slice 1, and allocates 15Mbit resources in the first remaining resources to network slice 2, there is still a third 10Mbit resource. remaining resources, then the UE allocates the second remaining resources to one or more logical channels according to the priorities of the five logical channels of the UE and the amount of resources required by the five logical channels. Channel 1 allocates resources. If the amount of resources required by the logical channel 1 at this moment is 10Mbit, the UE can allocate all the second remaining resources of the 10Mbit to the logical channel 1; if the amount of resources required by the logical channel 1 at the moment is 0 , the UE continues to allocate resources for logical channel 2, and so on, until the second remaining resources are allocated.

本发明实施例中,网络设备为UE配置网络切片的资源占比,从而UE可以结合网络切片的资源占比为该UE的逻辑信道分配资源,提升资源分配的合理性。In the embodiment of the present invention, the network device configures the resource ratio of the network slice for the UE, so that the UE can allocate resources for the logical channel of the UE in combination with the resource ratio of the network slice, thereby improving the rationality of resource allocation.

结合图6,如图10所示,在一种实现方式中,当网络切片配置信息为网络切片的时延指示信息时,S105具体包括S105d-S105e:With reference to Fig. 6, as shown in Fig. 10, in an implementation manner, when the network slice configuration information is the delay indication information of the network slice, S105 specifically includes S105d-S105e:

S105d、UE根据网络切片的时延指示信息,获取多个网络切片的时延。S105d, the UE acquires the delays of multiple network slices according to the delay indication information of the network slices.

结合上述实施例的描述,应理解,一个网络切片的时延用于表示该网络切片从上次调度到本次调度之间的时延,若网络切片1的时延大于网络切片2的时延,则可以理解为在业务数据传输的过程中,通过网络切片1获取业务数据的时间间隔要大于网络切片2获取业务数据的时间间隔。With reference to the description of the above embodiments, it should be understood that the delay of one network slice is used to represent the delay between the last scheduling and the current scheduling of the network slice. If the delay of network slice 1 is greater than the delay of network slice 2 , it can be understood that in the process of service data transmission, the time interval for obtaining service data through network slice 1 is greater than the time interval for obtaining service data through network slice 2 .

S105e、UE按照多个网络切片的时延和多个逻辑信道的优先级将剩余资源分配给UE的一个或多个逻辑信道。S105e, the UE allocates the remaining resources to one or more logical channels of the UE according to the delays of the multiple network slices and the priorities of the multiple logical channels.

本发明实施例中,UE按照多个网络切片的时延确定资源分配的顺序(即首先为时延大的网络切片分配资源,再为时延小的网络切片分配资源),为网络切片分配资源具体指的是按照该网络切片包含的逻辑信道的优先级和逻辑信道各自所需的资源量(每一个逻辑信道的buffer中均缓存有其所需要的资源量)为该网络切片包含的一个或多个逻辑信道分配资源。In this embodiment of the present invention, the UE determines the sequence of resource allocation according to the delays of multiple network slices (that is, first allocates resources to network slices with large delay, and then allocates resources to network slices with small delay), and allocates resources to network slices Specifically, according to the priority of the logical channels contained in the network slice and the amount of resources required by each logical channel (the buffer of each logical channel has the required amount of resources buffered), the network slice contains one or more resources. Multiple logical channels allocate resources.

结合图2,假设网络切片2的时延大于网络切片1的时延,此时UE将第一剩余资源优先分配给网络切片2,如果还有剩余资源再分配给网络切片1,直到该第一剩余资源分配完毕。上述从第一剩余资源中为网络切片2分配资源具体包括:按照网络切片2中逻辑信道的优先级为网络切片2包含的逻辑信道(包括逻辑信道4和逻辑信道5)中的一个或多个逻辑信道分配资源,由于在网络切片2中,逻辑信道4的优先级高于逻辑信道5的优先级,因此UE可以首先为网络切片2中的逻辑信道4分配资源,在为该逻辑信道4分配了资源之后,如果还有剩余资源,再为逻辑信道5分配资源,这样UE就完成了对网络切片2的资源分配,在UE为该网络切片2分配资源之后,如果还有剩余资源,再为网络切片1包含的逻辑信道分配资源,UE为网络切片1分配资源的方法与该UE为网络切片2分配资源的方法是类似的,在此不做赘述。With reference to Figure 2, it is assumed that the delay of network slice 2 is greater than the delay of network slice 1. At this time, the UE allocates the first remaining resources to network slice 2 first, and if there are remaining resources, it is allocated to network slice 1 until the first remaining resources are allocated to network slice 1. The remaining resources are allocated. The above-mentioned allocating resources for the network slice 2 from the first remaining resources specifically includes: according to the priority of the logical channels in the network slice 2, one or more of the logical channels (including the logical channel 4 and the logical channel 5) included in the network slice 2 are Logical channel allocation resources, because in network slice 2, the priority of logical channel 4 is higher than the priority of logical channel 5, so the UE can first allocate resources for logical channel 4 in network slice 2, and then allocate resources for this logical channel 4 After the resources are allocated, if there are remaining resources, allocate resources to logical channel 5, so that the UE completes the resource allocation to network slice 2. After the UE allocates resources to the network slice 2, if there are remaining resources, then The logical channel included in the network slice 1 allocates resources. The method for the UE to allocate resources to the network slice 1 is similar to the method for the UE to allocate resources to the network slice 2, and details are not described here.

在一种情况下,在上述S104之后,当上述第一剩余资源的量小于或等于时延最大的网络切片中优先级最高的逻辑信道所需要的资源量时,UE将该第一剩余资源全部分配给该优先级最高的逻辑信道。示例性的,另一种假设中,若上述逻辑信道4需要50Mbit的资源,则UE将该第一剩余资源(即50Mbit的剩余资源)全部分配给逻辑信道4。In one case, after the above S104, when the amount of the first remaining resources is less than or equal to the amount of resources required by the logical channel with the highest priority in the network slice with the largest delay, the UE will use all the first remaining resources Assigned to the highest priority logical channel. Exemplarily, in another assumption, if the above-mentioned logical channel 4 requires 50 Mbit resources, the UE allocates all the first remaining resources (ie, the 50 Mbit remaining resources) to the logical channel 4 .

本发明实施例中,网络设备为UE配置网络切片的时延指示信息,从而UE可以获取网络切片的时延,进而结合网络切片的时延为该UE的逻辑信道分配资源,提升资源分配的合理性。In the embodiment of the present invention, the network device configures the UE with the delay indication information of the network slice, so that the UE can obtain the delay of the network slice, and then allocate resources to the logical channel of the UE in combination with the delay of the network slice, so as to improve the rationality of resource allocation. sex.

在本发明实施例的一种实现方式中,还可以设置网络切片的时延开关状态;UE在接收到上述网络切片的时延指示信息之后,可以根据该网络切片的时延指示信息,获取部分网络切片(即网络切片的时延开关状态为开启的网络切片)的时延,进而为该部分网络切片分配资源。In an implementation manner of the embodiment of the present invention, the delay switch state of the network slice may also be set; after receiving the above-mentioned delay indication information of the network slice, the UE may obtain the partial network slice according to the delay indication information of the network slice The delay of the network slice (that is, the network slice whose delay switch status is ON), and then allocate resources to this part of the network slice.

示例性的,若UE根据3个网络切片(包括网络切片1、网络切片2以及网络切片3)的时延指示信息获取到网络切片1的时延和网络切片2的时延(即网络切片1和网络切片2的时延开关状态为开启,网络切片3的时延开关状态为关闭),则UE可以将上述第一剩余资源分配给网络切片1和网络切片2。Exemplarily, if the UE obtains the delay of network slice 1 and the delay of network slice 2 according to the delay indication information of three network slices (including network slice 1, network slice 2 and network slice 3) (that is, network slice 1 and the delay switch status of network slice 2 is ON, and the delay switch status of network slice 3 is OFF), then the UE can allocate the above-mentioned first remaining resources to network slice 1 and network slice 2.

本发明实施例提供的一种资源分配方法及装置,UE在接收到网络设备发送的网络切片配置信息和逻辑信道配置信息之后,可以根据该逻辑信道配置信息为UE的一个或多个逻辑信道分配资源,在网络设备为UE配置的资源中存在剩余资源的情况下,该UE可以根据该网络切片配置信息从该剩余资源中为UE的一个或多个逻辑信道分配资源。在剩余资源的分配过程中,根据网络切片配置信息进行资源分配,可以保证用户对网络切片的不同需求,提升资源分配的合理性。In the method and apparatus for resource allocation provided by the embodiments of the present invention, after receiving the network slice configuration information and logical channel configuration information sent by the network device, the UE can allocate one or more logical channels of the UE according to the logical channel configuration information. resource, in the case that there are remaining resources in the resources configured by the network device for the UE, the UE may allocate resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information. In the process of allocating the remaining resources, resource allocation is performed according to the network slice configuration information, which can ensure the different needs of users for network slices and improve the rationality of resource allocation.

本发明实施例可以根据上述方法示例对UE和网络设备等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present invention, functional modules can be divided into UEs and network devices according to the foregoing method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiment of the present invention is schematic, and is only a logical function division, and there may be other division manners in actual implementation.

在采用对应各个功能划分各个功能模块的情况下,图11示出了上述实施例中所涉及的UE的一种可能的结构示意图,如图11所示,UE 40可以包括:接收模块401和资源分配模块402。In the case where each functional module is divided according to each function, FIG. 11 shows a possible schematic structural diagram of the UE involved in the above embodiment. As shown in FIG. 11 , the UE 40 may include: a receiving module 401 and a resource Distribution module 402 .

接收模块401,用于接收网络设备发送的网络切片配置信息和逻辑信道配置信息,该网络切片配置信息包括为该UE提供服务的多个网络切片的各自的配置信息,一个网络切片的配置信息包括下述多项中的一项:该网络切片的优先级、该网络切片的额定速率、该网络切片的资源占比或该网络切片的时延指示信息;该逻辑信道配置信息包括该UE的多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR。A receiving module 401, configured to receive network slice configuration information and logical channel configuration information sent by a network device, where the network slice configuration information includes respective configuration information of multiple network slices serving the UE, and the configuration information of one network slice includes One of the following items: the priority of the network slice, the rated rate of the network slice, the resource ratio of the network slice, or the delay indication information of the network slice; the logical channel configuration information includes the UE's multiple the respective priorities of the multiple logical channels and the respective PBRs of the multiple logical channels.

资源分配模块402,用于根据该逻辑信道配置信息从该网络设备为该UE配置的资源中为该UE的一个或多个逻辑信道分配资源;并且在该网络设备为该UE配置的资源中存在剩余资源的情况下,根据该网络切片配置信息从该剩余资源中为该UE的一个或多个逻辑信道分配资源。A resource allocation module 402, configured to allocate resources for one or more logical channels of the UE from the resources configured by the network device for the UE according to the logical channel configuration information; and there is a resource in the resources configured by the network device for the UE In the case of remaining resources, resources are allocated for one or more logical channels of the UE from the remaining resources according to the network slice configuration information.

可选的,资源分配模块402,具体用于确定该UE的多个逻辑信道中满足预设条件的一个或多个逻辑信道,该预设条件为逻辑信道当前令牌桶中能使用的令牌个数大于或等于零;并且按照该一个或多个逻辑信道各自的优先级和该一个或多个逻辑信道各自的PBR为该一个或多个逻辑信道分配资源。Optionally, the resource allocation module 402 is specifically configured to determine one or more logical channels that satisfy a preset condition in the multiple logical channels of the UE, and the preset condition is the token that can be used in the current token bucket of the logical channel. The number is greater than or equal to zero; and resources are allocated to the one or more logical channels according to the respective priorities of the one or more logical channels and the respective PBRs of the one or more logical channels.

可选的,当网络切片配置信息为网络切片的优先级时,资源分配模块402,具体还用于按照该多个网络切片的优先级和该多个逻辑信道的优先级将该剩余资源分配给该UE的一个或多个逻辑信道。Optionally, when the network slice configuration information is the priority of the network slice, the resource allocation module 402 is further configured to allocate the remaining resources to the network slice according to the priority of the multiple network slices and the priority of the multiple logical channels. One or more logical channels of the UE.

可选的,当网络切片配置信息为网络切片的额定速率时,资源分配模块402,具体还用于按照该多个网络切片的额定速率和该多个逻辑信道的优先级从该剩余资源中为该UE的一个或多个逻辑信道分配资源。Optionally, when the network slice configuration information is the rated rate of the network slice, the resource allocation module 402 is further configured to select from the remaining resources according to the rated rate of the multiple network slices and the priority of the multiple logical channels. One or more logical channels of the UE allocate resources.

可选的,当网络切片配置信息为网络切片的资源占比时,资源分配模块402,具体还用于按照该多个网络切片的资源占比和该多个逻辑信道的优先级从该剩余资源中为该UE的一个或多个逻辑信道分配资源。Optionally, when the network slice configuration information is the resource ratio of the network slice, the resource allocation module 402 is further configured to select the resource allocation from the remaining resources according to the resource ratio of the multiple network slices and the priorities of the multiple logical channels. resource is allocated for one or more logical channels of the UE.

可选的,当网络切片配置信息为网络切片的时延指示信息时,资源分配模块402,具体还用于根据该网络切片的时延指示信息,获取该多个网络切片的时延;并且按照该多个网络切片的时延和该多个逻辑信道的优先级将该剩余资源分配给该UE的一个或多个逻辑信道。Optionally, when the network slice configuration information is the delay indication information of the network slice, the resource allocation module 402 is further configured to acquire the delays of the multiple network slices according to the delay indication information of the network slice; and The delays of the plurality of network slices and the priorities of the plurality of logical channels allocate the remaining resources to one or more logical channels of the UE.

在采用集成的单元的情况下,图12示出了上述实施例中所涉及的UE的一种可能的结构示意图。如图12所示,UE 50可以包括:处理模块501和通信模块502。处理模块501可以用于对UE 50的动作进行控制管理,例如,处理模块501可以用于支持UE 50执行上述方法实施例中的S104和S105。通信模块502可以用于支持UE 50与其他实体的通信,例如,通信模块502可以用于支持UE 50执行上述方法实施例中的S103。可选的,如图12所示,该UE 50还可以包括存储模块503,用于存储UE 50的程序代码和数据。In the case of using an integrated unit, FIG. 12 shows a possible schematic structural diagram of the UE involved in the foregoing embodiment. As shown in FIG. 12 , the UE 50 may include: a processing module 501 and a communication module 502 . The processing module 501 may be used to control and manage the actions of the UE 50. For example, the processing module 501 may be used to support the UE 50 to perform S104 and S105 in the foregoing method embodiments. The communication module 502 may be used to support the communication between the UE 50 and other entities, for example, the communication module 502 may be used to support the UE 50 to perform S103 in the above method embodiments. Optionally, as shown in FIG. 12 , the UE 50 may further include a storage module 503 for storing program codes and data of the UE 50 .

其中,处理模块501可以是处理器或控制器。通信模块502可以是收发器、收发电路或通信接口等。存储模块503可以是存储器。The processing module 501 may be a processor or a controller. The communication module 502 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 503 may be a memory.

其中,当处理模块501为处理器,通信模块502为收发器,存储模块503为存储器时,处理器、收发器和存储器可以通过总线连接。总线可以是外设部件互连标准(peripheralcomponent interconnect,PCI)总线或扩展工业标准结构(extended industry standardarchitecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。Wherein, when the processing module 501 is a processor, the communication module 502 is a transceiver, and the storage module 503 is a memory, the processor, the transceiver and the memory can be connected through a bus. The bus may be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on.

在采用对应各个功能划分各个功能模块的情况下,图13示出了上述实施例中所涉及的网络设备的一种可能的结构示意图,如图13所示,网络设备60可以包括:确定模块601和发送模块602。In the case where each functional module is divided according to each function, FIG. 13 shows a possible schematic structural diagram of the network device involved in the above embodiment. As shown in FIG. 13 , the network device 60 may include: a determination module 601 and sending module 602.

确定模块601,用于确定网络切片配置信息和逻辑信道配置信息,该网络切片配置信息包括为UE提供服务的多个网络切片的配置信息,一个网络切片的配置信息包括下述多项中的一项:该网络切片的优先级、该网络切片的额定速率、该网络切片的资源占比或该网络切片的时延指示信息;该逻辑信道配置信息包括该UE的多个逻辑信道各自的优先级和该多个逻辑信道各自的PBR。The determining module 601 is configured to determine network slice configuration information and logical channel configuration information, where the network slice configuration information includes configuration information of multiple network slices that provide services for the UE, and the configuration information of one network slice includes one of the following items: Item: the priority of the network slice, the rated rate of the network slice, the resource ratio of the network slice, or the delay indication information of the network slice; the logical channel configuration information includes the respective priorities of multiple logical channels of the UE and the respective PBRs of the multiple logical channels.

发送模块602,用于向该UE发送该网络切片配置信息和该逻辑信道配置信息,该网络切片配置信息和该逻辑信道配置信息用于该UE为该UE的一个或多个逻辑信道分配资源。A sending module 602 is configured to send the network slice configuration information and the logical channel configuration information to the UE, where the network slice configuration information and the logical channel configuration information are used for the UE to allocate resources for one or more logical channels of the UE.

在采用集成的单元的情况下,图14示出了上述实施例中所涉及的网络设备的一种可能的结构示意图。如图14所示,网络设备70可以包括:处理模块701和通信模块702。处理模块701可以用于对网络设备70的动作进行控制管理,例如,处理模块701可以用于支持网络设备70执行上述方法实施例中的S101。通信模块702可以用于支持网络设备70与其他实体的通信,例如,通信模块702可以用于支持网络设备70执行上述方法实施例中的S102。可选的,如图14所示,该网络设备70还可以包括存储模块703,用于存储网络设备70的程序代码和数据。In the case of using an integrated unit, FIG. 14 shows a possible schematic structural diagram of the network device involved in the above embodiment. As shown in FIG. 14 , the network device 70 may include: a processing module 701 and a communication module 702 . The processing module 701 may be configured to control and manage the actions of the network device 70. For example, the processing module 701 may be configured to support the network device 70 to perform S101 in the foregoing method embodiments. The communication module 702 may be used to support the communication between the network device 70 and other entities. For example, the communication module 702 may be used to support the network device 70 to perform S102 in the above method embodiments. Optionally, as shown in FIG. 14 , the network device 70 may further include a storage module 703 for storing program codes and data of the network device 70 .

其中,处理模块701可以是处理器或控制器。通信模块702可以是收发器、收发电路或通信接口等。存储模块703可以是存储器。The processing module 701 may be a processor or a controller. The communication module 702 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 703 may be a memory.

其中,当处理模块701为处理器,通信模块702为收发器,存储模块703为存储器时,处理器、收发器和存储器可以通过总线连接。总线可以是PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。Wherein, when the processing module 701 is a processor, the communication module 702 is a transceiver, and the storage module 703 is a memory, the processor, the transceiver and the memory can be connected through a bus. The bus can be a PCI bus or an EISA bus or the like. The bus can be divided into address bus, data bus, control bus and so on.

应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, rather than the embodiments of the present invention. implementation constitutes any limitation.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户终端线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present invention are generated in whole or in part. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is performed by wire (eg, coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or data storage devices including one or more servers, data centers, etc. that can be integrated with the medium. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (12)

1. A method for resource allocation, comprising:
user Equipment (UE) receives network slice configuration information and logical channel configuration information sent by network equipment, wherein the network slice configuration information comprises respective configuration information of a plurality of network slices for providing services for the UE, and the configuration information of one network slice comprises one of the following items: the priority of the network slice, the rated speed of the network slice, the resource proportion of the network slice or the time delay indication information of the network slice; the logical channel configuration information includes priorities of a plurality of logical channels of the UE and Priority Bit Rates (PBRs) of the plurality of logical channels;
the UE allocates resources for one or more logical channels of the UE from the resources allocated to the UE by the network equipment according to the logical channel configuration information;
under the condition that the network equipment has residual resources in the resources configured for the UE, the UE allocates resources for one or more logic channels of the UE from the residual resources according to the network slice configuration information;
the allocating, by the UE, resources for one or more logical channels of the UE from resources configured for the UE by the network device according to the logical channel configuration information specifically includes:
the UE determines one or more logical channels meeting preset conditions in a plurality of logical channels of the UE, wherein the preset conditions are that the number of tokens which can be used in a current token bucket of the logical channels is larger than or equal to zero;
and the UE allocates resources for the one or more logical channels according to the respective priorities of the one or more logical channels and the respective PBRs of the one or more logical channels.
2. The method according to claim 1, wherein the network slice configuration information is a priority of a network slice, and the UE allocates resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information, specifically comprising: and the UE allocates the residual resources to one or more logical channels of the UE according to the priorities of the network slices and the priorities of the logical channels.
3. The method according to claim 1, wherein the network slice configuration information is a rated rate of a network slice, and the UE allocates resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information, specifically comprising:
and the UE allocates resources for one or more logical channels of the UE from the residual resources according to the rated rates of the network slices and the priorities of the logical channels.
4. The method according to claim 1, wherein the network slice configuration information is a resource proportion of a network slice, and the UE allocates resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information, specifically comprising:
and the UE allocates resources for one or more logical channels of the UE from the residual resources according to the resource occupation ratios of the network slices and the priorities of the logical channels.
5. The method according to claim 1, wherein the network slice configuration information is delay indication information of a network slice, and the UE allocates resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information, specifically including:
the UE acquires the time delay of the plurality of network slices according to the time delay indication information of the network slices;
and the UE allocates the residual resources to one or more logical channels of the UE according to the time delays of the network slices and the priorities of the logical channels.
6. A method for resource allocation, comprising:
the network equipment determines network slice configuration information and logical channel configuration information, wherein the network slice configuration information comprises configuration information of a plurality of network slices for providing services for User Equipment (UE), and the configuration information of one network slice comprises one of the following items: the priority of the network slice, the rated speed of the network slice, the resource proportion of the network slice or the time delay indication information of the network slice; the logical channel configuration information includes respective priorities of a plurality of logical channels of the UE and respective Prioritized Bit Rates (PBRs) of the plurality of logical channels;
the network equipment sends the network slice configuration information and the logical channel configuration information to the UE, wherein the network slice configuration information and the logical channel configuration information are used for the UE to allocate resources for one or more logical channels of the UE;
the network slice configuration information and the logical channel configuration information are used by the UE to allocate resources to one or more logical channels of the UE, and specifically include:
the UE determines one or more logical channels meeting preset conditions in a plurality of logical channels of the UE, wherein the preset conditions are that the number of tokens which can be used in a current token bucket of the logical channels is greater than or equal to zero;
and the UE allocates resources for the one or more logical channels according to the respective priorities of the one or more logical channels and the respective PBRs of the one or more logical channels.
7. The UE is characterized by comprising a receiving module and a resource allocation module;
the receiving module is configured to receive network slice configuration information and logical channel configuration information sent by a network device, where the network slice configuration information includes respective configuration information of a plurality of network slices providing services for the UE, and the configuration information of one network slice includes one of the following items: a priority of the network slice, a rated rate of the network slice, a resource proportion of the network slice, or latency indication information of the network slice; the logical channel configuration information includes priorities of a plurality of logical channels of the UE and Priority Bit Rates (PBRs) of the plurality of logical channels;
the resource allocation module is configured to allocate resources to one or more logical channels of the UE from resources configured for the UE by the network device according to the logical channel configuration information; and when there are remaining resources in the resources configured for the UE by the network device, allocating resources for one or more logical channels of the UE from the remaining resources according to the network slice configuration information;
the resource allocation module is specifically configured to determine one or more logical channels that meet a preset condition among the multiple logical channels of the UE, where the preset condition is that the number of tokens that can be used in a current token bucket of a logical channel is greater than or equal to zero; and allocating resources for the one or more logical channels according to the respective priorities of the one or more logical channels and the respective PBRs of the one or more logical channels.
8. The UE of claim 7, wherein the network slice configuration information is a priority of a network slice;
the resource allocation module is further specifically configured to allocate the remaining resources to one or more logical channels of the UE according to the priorities of the plurality of network slices and the priorities of the plurality of logical channels.
9. The UE of claim 7, wherein the network slice configuration information is a nominal rate of network slices;
the resource allocation module is further specifically configured to allocate resources for one or more logical channels of the UE from the remaining resources according to the rated rates of the multiple network slices and the priorities of the multiple logical channels.
10. The UE of claim 7, wherein the network slice configuration information is a resource proportion of a network slice;
the resource allocation module is further specifically configured to allocate resources to one or more logical channels of the UE from the remaining resources according to the resource occupation ratios of the multiple network slices and the priorities of the multiple logical channels.
11. The UE of claim 7, wherein the network slice configuration information is latency indication information of a network slice;
the resource allocation module is specifically further configured to obtain the time delays of the multiple network slices according to the time delay indication information of the network slices; and allocating the remaining resources to one or more logical channels of the UE according to the time delays of the plurality of network slices and the priorities of the plurality of logical channels.
12. A network device comprising a determining module and a sending module;
the determining module is configured to determine network slice configuration information and logical channel configuration information, where the network slice configuration information includes configuration information of a plurality of network slices that provide services for a user equipment UE, and the configuration information of one network slice includes one of the following items: the priority of the network slice, the rated speed of the network slice, the resource proportion of the network slice or the time delay indication information of the network slice; the logical channel configuration information includes respective priorities of a plurality of logical channels of the UE and respective Prioritized Bit Rates (PBRs) of the plurality of logical channels;
the sending module is configured to send the network slice configuration information and the logical channel configuration information to the UE, where the network slice configuration information and the logical channel configuration information are used by the UE to allocate resources for one or more logical channels of the UE;
the network slice configuration information and the logical channel configuration information are used by the UE to allocate resources to one or more logical channels of the UE, and specifically include:
the UE determines one or more logical channels meeting preset conditions in a plurality of logical channels of the UE, wherein the preset conditions are that the number of tokens which can be used in a current token bucket of the logical channels is larger than or equal to zero;
and the UE allocates resources for the one or more logical channels according to the respective priorities of the one or more logical channels and the respective PBRs of the one or more logical channels.
CN202010443449.0A 2020-05-22 2020-05-22 A resource allocation method and device Active CN111669831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010443449.0A CN111669831B (en) 2020-05-22 2020-05-22 A resource allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010443449.0A CN111669831B (en) 2020-05-22 2020-05-22 A resource allocation method and device

Publications (2)

Publication Number Publication Date
CN111669831A CN111669831A (en) 2020-09-15
CN111669831B true CN111669831B (en) 2022-09-09

Family

ID=72384295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010443449.0A Active CN111669831B (en) 2020-05-22 2020-05-22 A resource allocation method and device

Country Status (1)

Country Link
CN (1) CN111669831B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116250275B (en) * 2020-12-03 2024-10-29 Oppo广东移动通信有限公司 Method for multiplexing uplink logical channel, terminal equipment and network equipment
CN113473536B (en) * 2021-06-16 2023-04-28 中国联合网络通信集团有限公司 Data transmission method and device
WO2025035366A1 (en) * 2023-08-14 2025-02-20 华为技术有限公司 Resource scheduling method and apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428801A (en) * 2017-08-23 2019-03-05 北京华为数字技术有限公司 File transmitting method and device
CN110474849A (en) * 2018-05-10 2019-11-19 华为技术有限公司 Resource allocation method and communication device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101335869B1 (en) * 2009-08-12 2013-12-02 엘지전자 주식회사 Apparatus and method of allocating resources for logical channels in wireless communication system
CN105262572A (en) * 2014-07-16 2016-01-20 深圳市中兴微电子技术有限公司 Group operation method and device of logical channels in LTE system
CN105792361B (en) * 2014-12-25 2019-11-01 锐迪科(重庆)微电子科技有限公司 A kind of LTE logic channel resource allocation methods and device
WO2018195775A1 (en) * 2017-04-25 2018-11-01 Oppo广东移动通信有限公司 Method of allocating resource to logical channel, terminal apparatus, and network apparatus
WO2019051798A1 (en) * 2017-09-15 2019-03-21 上海诺基亚贝尔股份有限公司 Resource allocation method and apparatus, and computer storage medium
CN109842910A (en) * 2017-11-28 2019-06-04 中国移动通信有限公司研究院 A kind of processing method and access network elements of network slice
CN110691382B (en) * 2018-07-06 2023-05-09 中国移动通信有限公司研究院 Wireless resource allocation method and network element equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428801A (en) * 2017-08-23 2019-03-05 北京华为数字技术有限公司 File transmitting method and device
CN110474849A (en) * 2018-05-10 2019-11-19 华为技术有限公司 Resource allocation method and communication device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
C1-080913 "3GPP IM CN subsystem XML Schema version";RIM;《3GPP tsg_ct\WG1_mm-cc-sm_ex-CN1》;20080411;全文 *

Also Published As

Publication number Publication date
CN111669831A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN111669831B (en) A resource allocation method and device
WO2019051715A1 (en) Method for activating bandwidth part (bwp) and related product
CN107634962A (en) Network Bandwidth Management Method and Related Products
WO2019127954A1 (en) Method and apparatus for improving network performance
CN105491135A (en) Data connection establishing method and device
CN114096007B (en) A service transmission method, device, server and storage medium
CN108811109B (en) Resource mapping method, network equipment and terminal equipment
CN110557842A (en) A signal transmission method, device and system
CN112533243B (en) Time delay reporting method and device
CN117336785A (en) Control strategy generation method and device, electronic equipment and storage medium
CN111683407B (en) Resource allocation method and device
WO2017107152A1 (en) Method for determining network standard in wireless communication network, access point apparatus, terminal apparatus and wireless network controller
CN113891306A (en) A service transmission method, device, server and storage medium
CN112672372A (en) Corresponding relation configuration method and device
CN105208607A (en) Scheduling method and apparatus of network data transmission of terminal, and mobile terminal
CN110612685B (en) Data transmission method and related product
CN111601383A (en) A resource allocation method, terminal and network device
CN112367685B (en) A method, device and mobile terminal for improving NR eMBB service transmission performance
CN112367706B (en) Resource allocation method, device and storage medium
CN110876199A (en) Data transmission method, device, equipment and storage medium
CN110839296B (en) Network resource scheduling method, device, storage medium and mobile terminal
CN106802828A (en) Applied data processing method and device
CN114070334B (en) Frequency configuration method, device, equipment and storage medium
CN113114325B (en) Communication method and device
CN112203334B (en) Cell handover method and device

Legal Events

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