Movatterモバイル変換


[0]ホーム

URL:


CN114338401A - Resource allocation method, apparatus, electronic device and readable medium - Google Patents

Resource allocation method, apparatus, electronic device and readable medium
Download PDF

Info

Publication number
CN114338401A
CN114338401ACN202111680875.7ACN202111680875ACN114338401ACN 114338401 ACN114338401 ACN 114338401ACN 202111680875 ACN202111680875 ACN 202111680875ACN 114338401 ACN114338401 ACN 114338401A
Authority
CN
China
Prior art keywords
channel
client
uplink
resource
data volume
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.)
Granted
Application number
CN202111680875.7A
Other languages
Chinese (zh)
Other versions
CN114338401B (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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp LtdfiledCriticalChina Telecom Corp Ltd
Priority to CN202111680875.7ApriorityCriticalpatent/CN114338401B/en
Publication of CN114338401ApublicationCriticalpatent/CN114338401A/en
Application grantedgrantedCritical
Publication of CN114338401BpublicationCriticalpatent/CN114338401B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The application provides a resource allocation method, a resource allocation device, an electronic device and a readable medium. The method comprises the following steps: acquiring an uplink data volume and a downlink data volume of each client in a network slice, wherein the uplink data volume is a communication data volume of the client in an uplink channel, and the downlink data volume is a communication data volume of the client in a downlink channel; respectively generating a channel resource adjustment strategy of each client according to the uplink data volume and the downlink data volume of each client; and adjusting the channel resource allocation of each client according to the channel resource adjustment strategy of each client. The method can enable the resource allocation to better meet the actual use condition of the user, avoid resource waste caused by insufficient resources in the communication direction with large demand and excessive resources in the communication direction with small demand, improve the resource utilization rate of the resource allocation and further improve the communication efficiency.

Description

Translated fromChinese
资源分配方法、装置、电子设备和可读介质Resource allocation method, apparatus, electronic device and readable medium

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种资源分配方法、装置、电子设备和可读介质。The present application relates to the field of computer technologies, and in particular, to a resource allocation method, apparatus, electronic device, and readable medium.

背景技术Background technique

随着网络技术的发展,网络结构呈现扁平化趋势,通过软件定义网络技术,可以通过控制器的全控制能力为用户提供硬件层次的优先级和安全路径。网络切片在这个背景下蓬勃发展。特别地,在无线接入端,网络切片在实例化过程中需要移动管理单元或者控制器为网络切片的用户设备分配上、下行的频谱资源。With the development of network technology, the network structure shows a trend of flattening. Through the software-defined network technology, the hardware-level priority and security path can be provided to users through the full control capability of the controller. Network slicing thrives in this context. In particular, at the wireless access end, during the instantiation process of the network slice, a mobility management unit or a controller needs to allocate uplink and downlink spectrum resources for the user equipment of the network slice.

在相关技术中,在进行网络切片的频谱资源配置时通常根据网络切片中的客户端数量来平均分配网络切片的通信资源,从而确保各个客户端的访问效果。In the related art, when configuring the spectrum resources of the network slice, the communication resources of the network slice are usually allocated equally according to the number of clients in the network slice, so as to ensure the access effect of each client.

然而,网络切片中经常存在非对称的通信场景,客户端对于上行或者下行的一个单向资源的远大于另一个,从而造成在需求大的通信方向上的资源不足而影响通信效率,同时在需求小的通信方向上的资源过剩而造成资源浪费。However, there are often asymmetric communication scenarios in network slicing. The client has far more resources for one direction of uplink or downlink than the other, resulting in insufficient resources in the communication direction with high demand and affecting communication efficiency. Excessive resources in small communication directions cause resource waste.

发明内容SUMMARY OF THE INVENTION

基于上述技术问题,本申请提供一种资源分配方法、装置、电子设备和可读介质,以能够使得资源配置更加符合用户的实际使用情况,避免在需求大的通信方向上资源不足而在需求小的通信方向上资源过剩而带来的资源浪费,提高资源配置的资源利用率并进一步提升通信效率。Based on the above technical problems, the present application provides a resource allocation method, device, electronic device and readable medium, so as to make the resource allocation more in line with the actual usage of the user, and avoid insufficient resources in the communication direction with high demand and low demand in the communication direction. It can improve the resource utilization rate of resource allocation and further improve the communication efficiency.

本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。Other features and advantages of the present application will become apparent from the following detailed description, or be learned in part by practice of the present application.

根据本申请实施例的一个方面,提供一种资源分配方法,包括:According to an aspect of the embodiments of the present application, a resource allocation method is provided, including:

获取网络切片中各个客户端的上行数据量和下行数据量,所述上行数据量为客户端在上行信道中的通信数据量,所述下行数据量为客户端在下行信道中的通信数据量;Obtain the uplink data volume and the downlink data volume of each client in the network slice, where the uplink data volume is the communication data volume of the client in the uplink channel, and the downlink data volume is the communication data volume of the client in the downlink channel;

根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略;According to the uplink data amount and the downlink data amount of each client, respectively generate a channel resource adjustment policy for each client;

根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置。Adjust the channel resource configuration of each client according to the channel resource adjustment policy of each client.

在本申请的一些实施例中,基于以上技术方案,所述根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略,包括:In some embodiments of the present application, based on the above technical solutions, according to the uplink data volume and the downlink data volume of each client, the channel resource adjustment policy for each client is respectively generated, including:

将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态;Comparing the uplink data volume and the downlink data volume with the corresponding load state threshold, determining the channel load state of the uplink channel and the uplink channel of the client within a specific time period;

根据所述信道负载,对所述客户端的上行信道的资源块数量和下行信道的资源块数量进行调整,得到信道资源调整策略。According to the channel load, the number of resource blocks of the uplink channel and the number of resource blocks of the downlink channel of the client are adjusted to obtain a channel resource adjustment policy.

在本申请的一些实施例中,基于以上技术方案,所述根据所述信道负载,对所述客户端的上行资源块数量限制和下行资源块数量限制进行调整,得到信道资源调整策略,包括:In some embodiments of the present application, based on the above technical solutions, according to the channel load, the limit on the number of uplink resource blocks and the limit on the number of downlink resource blocks of the client is adjusted to obtain a channel resource adjustment strategy, including:

若所述信道负载状态指示对应的上行信道或者下行信道处于繁忙状态,则增加所述上行信道或者所述下行信道的资源块数量;If the channel load state indicates that the corresponding uplink channel or downlink channel is in a busy state, increasing the number of resource blocks of the uplink channel or the downlink channel;

若所述信道负载状态指示对应的上行信道或者下行信道处于空闲状态,则减少所述上行信道或者所述下行信道的资源块数量;If the channel load state indicates that the corresponding uplink channel or downlink channel is in an idle state, reducing the number of resource blocks of the uplink channel or the downlink channel;

根据所述上行信道和所述下行信道的资源块数量,确定信道资源调整策略。A channel resource adjustment strategy is determined according to the number of resource blocks of the uplink channel and the downlink channel.

在本申请的一些实施例中,基于以上技术方案,所述将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态之前,所述方法还包括:In some embodiments of the present application, based on the above technical solutions, the uplink data volume and the downlink data volume are compared with corresponding load state thresholds to determine the uplink channel and Before the channel load status of the uplink channel, the method further includes:

根据所述网络切片的业务类型,获取客户端角色集合,所述客户端角色集合中包括至少两个客户端角色,每个客户端角色对应于不同的资源阈值;obtaining a client role set according to the service type of the network slice, where the client role set includes at least two client roles, and each client role corresponds to a different resource threshold;

根据所述上行数据量和所述下行数据量,确定所述客户端对应的客户端角色;Determine the client role corresponding to the client according to the uplink data amount and the downlink data amount;

获取所述客户端角色对应的资源阈值作为所述负载状态阈值。The resource threshold corresponding to the client role is acquired as the load state threshold.

在本申请的一些实施例中,基于以上技术方案,所述根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置,包括:In some embodiments of the present application, based on the above technical solutions, adjusting the channel resource configuration of each client according to the channel resource adjustment policy of each client includes:

若所述信道资源调整策略指示增加所述上行信道的资源块数量,则根据所述客户端对应的客户端角色,确定所述上行信道的资源块限制值;If the channel resource adjustment policy indicates to increase the number of resource blocks of the uplink channel, determining the resource block limit value of the uplink channel according to the client role corresponding to the client;

若所述上行信道当前的资源块数量小于所述资源块限制值,则根据所述信道资源调整策略增加所述上行信道的资源块数量。If the current number of resource blocks of the uplink channel is less than the resource block limit value, increase the number of resource blocks of the uplink channel according to the channel resource adjustment policy.

根据本申请实施例的一个方面,提供一种资源分配装置,包括:According to an aspect of the embodiments of the present application, a resource allocation apparatus is provided, including:

数据量获取模块,用于获取网络切片中各个客户端的上行数据量和下行数据量,所述上行数据量为客户端在上行信道中的通信数据量,所述下行数据量为客户端在下行信道中的通信数据量;The data volume acquisition module is used to acquire the uplink data volume and the downlink data volume of each client in the network slice, the uplink data volume is the communication data volume of the client in the uplink channel, and the downlink data volume is the client terminal in the downlink channel. The amount of communication data in;

策略生成模块,用于根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略;a strategy generation module, configured to respectively generate a channel resource adjustment strategy for each client according to the uplink data volume and the downlink data volume of each client;

配置调整模块,用于根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置。The configuration adjustment module is used to adjust the channel resource configuration of each client according to the channel resource adjustment strategy of each client.

在本申请的一些实施例中,基于以上技术方案,所述策略生成模块包括:In some embodiments of the present application, based on the above technical solutions, the strategy generation module includes:

状态确定单元,用于将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态;a state determination unit, configured to compare the uplink data volume and the downlink data volume with the corresponding load state threshold, and determine the channel load state of the uplink channel and the uplink channel of the client within a specific period;

资源调整单元,用于根据所述信道负载,对所述客户端的上行信道的资源块数量和下行信道的资源块数量进行调整,得到信道资源调整策略。A resource adjustment unit, configured to adjust the number of resource blocks of the uplink channel of the client and the number of resource blocks of the downlink channel according to the channel load, so as to obtain a channel resource adjustment policy.

在本申请的一些实施例中,基于以上技术方案,所述资源调整单元包括:In some embodiments of the present application, based on the above technical solutions, the resource adjustment unit includes:

数量增加子单元,用于若所述信道负载状态指示对应的上行信道或者下行信道处于繁忙状态,则增加所述上行信道或者所述下行信道的资源块数量;a quantity increasing subunit, configured to increase the number of resource blocks of the uplink channel or the downlink channel if the channel load status indicates that the corresponding uplink channel or downlink channel is in a busy state;

数量减少子单元,用于若所述信道负载状态指示对应的上行信道或者下行信道处于空闲状态,则减少所述上行信道或者所述下行信道的资源块数量;a quantity reduction subunit, configured to reduce the number of resource blocks of the uplink channel or the downlink channel if the channel load status indicates that the corresponding uplink channel or downlink channel is in an idle state;

策略确定子单元,用于根据所述上行信道和所述下行信道的资源块数量,确定信道资源调整策略。The strategy determination subunit is configured to determine a channel resource adjustment strategy according to the number of resource blocks of the uplink channel and the downlink channel.

根据本申请实施例的一个方面,提供一种电子设备,该电子设备包括:处理器;以及存储器,用于存储处理器的可执行指令;其中,该处理器配置为经由执行可执行指令来执行如以上技术方案中的资源分配方法。According to an aspect of the embodiments of the present application, there is provided an electronic device, the electronic device includes: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute by executing the executable instructions Such as the resource allocation method in the above technical solutions.

根据本申请实施例的一个方面,提供一种计算机可读存储介质,其上存储有计算机程序,当该计算机程序被处理器执行时实现如以上技术方案中的资源分配方法。According to an aspect of the embodiments of the present application, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the resource allocation method in the above technical solution is implemented.

在本申请的实施例中,根据客户端的上行数据量和下行数据量制定对应的信道资源调整策略来调整客户端的信道资源配置,从而能够使得资源配置更加符合用户的实际使用情况,避免在需求大的通信方向上资源不足而在需求小的通信方向上资源过剩而带来的资源浪费,提高资源配置的资源利用率并进一步提升通信效率。In the embodiment of the present application, a corresponding channel resource adjustment strategy is formulated according to the uplink data volume and downlink data volume of the client to adjust the channel resource configuration of the client, so that the resource configuration can be more in line with the actual usage of the user and avoid the need for large demand. It can improve the resource utilization of resource allocation and further improve the communication efficiency.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. Obviously, the drawings in the following description are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort. In the attached image:

图1示意性地示出了本申请技术方案在一个应用场景中的示例性系统构架示意图;FIG. 1 schematically shows a schematic diagram of an exemplary system architecture of the technical solution of the present application in an application scenario;

图2为本申请实施例中资源分配方案的示例性流程图;FIG. 2 is an exemplary flowchart of a resource allocation scheme in an embodiment of the present application;

图3示出了本申请实施例中的一种资源分配方法的流程示意图;FIG. 3 shows a schematic flowchart of a resource allocation method in an embodiment of the present application;

图4示意性地示出了本申请实施例中资源分配装置的组成框图;FIG. 4 schematically shows a block diagram of the composition of the resource allocation apparatus in the embodiment of the present application;

图5示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 5 shows a schematic structural diagram of a computer system suitable for implementing the electronic device according to the embodiment of the present application.

具体实施方式Detailed ways

现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.

此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本申请的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本申请的各方面。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the present application.

附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the figures are merely functional entities and do not necessarily necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices entity.

附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are only exemplary illustrations and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can be decomposed, and some operations/steps can be combined or partially combined, so the actual execution order may be changed according to the actual situation.

应理解,本申请的方案可以应用于基于网络切片的网络资源分配场景中。网络切片是一种按需组网的方式,可以让运营商在统一的基础设施上分离出多个虚拟的端到端网络,每个网络切片从无线接入网到承载网再到核心网上进行逻辑隔离,以适配各种各样类型的应用。在一个网络切片中,至少可分为无线网子切片、承载网子切片和核心网子切片三部分。一个网络切片通常服务于某个特定的应用服务场景,例如,对于网络直播,直播者和收看直播的观众可以被划分到一个网络切片中,或者在进行网络会议时,会议的参与者可以被划分到一个网络切片中。本申请的方案可以对网路切片中的各个客户端进行相对应的网络资源配置,根据客户端在网络切片中的资源占用情况来判断其状态,并且对应地调整为各个客户端分配的资源,从而确保所承载的服务的顺利执行。It should be understood that the solution of the present application can be applied to a network slicing-based network resource allocation scenario. Network slicing is an on-demand networking method that allows operators to separate multiple virtual end-to-end networks on a unified infrastructure. Each network slicing is performed from the radio access network to the bearer network to the core network. Logical isolation to suit various types of applications. A network slice can be divided into at least three parts: wireless network sub-slice, bearer network sub-slice and core network sub-slice. A network slice usually serves a specific application service scenario. For example, for webcasting, the live broadcaster and the audience watching the live broadcast can be divided into a network slice, or when conducting a web conference, the conference participants can be divided into into a network slice. The solution of the present application can configure the corresponding network resources for each client in the network slice, judge the status of the client according to the resource occupation of the client in the network slice, and adjust the resources allocated to each client accordingly, This ensures the smooth execution of the hosted services.

请参阅图1,图1示意性地示出了本申请技术方案在一个应用场景中的示例性系统构架示意图。如图1所示,该场景中包括多个客户端110以及资源配置服务器120。资源配置服务器120用于管理各个客户端110的资源配置。资源配置服务器120可以包括判断模块用于进行网络切片信道资源判断,监控模块用于监控网络切片用户上下行信道,数据存储模块,数据分析管理模块(包括上下行信道闲忙判定子模块、网络切片用户上下行信道资源调整策略生成子模块)和执行模块。Please refer to FIG. 1 , which schematically shows an exemplary system architecture diagram of the technical solution of the present application in an application scenario. As shown in FIG. 1 , the scenario includesmultiple clients 110 and aresource configuration server 120 . Theresource configuration server 120 is used to manage the resource configuration of eachclient 110 . Theresource configuration server 120 may include a judgment module for judging network slice channel resources, a monitoring module for monitoring the uplink and downlink channels of network slice users, a data storage module, and a data analysis and management module (including an uplink and downlink channel idle/busy determination submodule, a network slice User uplink and downlink channel resource adjustment strategy generation sub-module) and execution module.

下面结合图2介绍本申请的整体流程。请参阅图2,图2为本申请实施例中资源分配方案的示例性流程图。如图2所示,首先,通过网络切片信道资源调整判断模块,判断网络切片内用户信道资源的调整类型。调整类型中包含:不可调整类型和可调整类型。不可调整类型通常指的是网络切片内用户的资源使用情况无规律或者相对一致的情况,例如,视频收看服务或者数据下载服务。这类业务中,网络切片内所有用户都需要下行链路资源,因此不进行调整也不会造成资源浪费。可调整类型通常是网络切片内的客户端的使用行为不同的业务,例如直播切片类型、网课切片类型或者会议切片类型等,类型数量不做限制。每个切片具有不同的使用特征,以直播切片为例,在切片生命周期内,绝大多数时间是一个人在表演或者上传数据。特征是切片生命周期内特定单个用户上行信道通信量大于下行信道二倍及以上,而其余的切片用户下行信道通信量大于上行通信量的二倍及以上,或者有一些用户上下行数据传输量都很小,处于静默状态。讲课类型切片,特征是切片周期内,只有极个别的用户在发言,有的切片用户间歇性发言,而讨论类型切片,特征是切片内的用户分阶段轮流发言。The overall flow of the present application is described below with reference to FIG. 2 . Please refer to FIG. 2, which is an exemplary flowchart of a resource allocation scheme in an embodiment of the present application. As shown in FIG. 2 , first, the adjustment type of the user channel resources in the network slice is determined by the network slice channel resource adjustment determination module. The adjustment types include: non-adjustable types and adjustable types. The non-adjustable type usually refers to the situation in which the resource usage of users in the network slice is irregular or relatively consistent, for example, video viewing service or data downloading service. In this type of service, all users in the network slice require downlink resources, so there is no waste of resources without adjustment. Adjustable types are usually services with different usage behaviors of clients in network slices, such as live broadcast slice types, online course slice types, or conference slice types, etc. The number of types is not limited. Each slice has different usage characteristics. Take the live slice as an example. During the slice life cycle, most of the time is performed by one person or uploading data. The characteristic is that the uplink channel traffic of a specific single user is twice or more than the downlink channel during the slice life cycle, while the downlink channel traffic of other slice users is twice or more than the uplink traffic, or some users have both uplink and downlink data transmission volume. Small and silent. Lecture-type slices are characterized by the fact that only a few users speak during the slice period, and some users speak intermittently, while discussion-type slices are characterized in that users in the slice take turns speaking in stages.

当网络切片的业务类型为可调整类型时,通过网络切片用户上下行信道监控模块监控该网络切片内各个用户的上下行信道的占用情况信息,并使用数据存储模块记录。When the service type of the network slice is an adjustable type, the user uplink and downlink channel monitoring module of the network slice monitors the occupancy information of the uplink and downlink channels of each user in the network slice, and uses the data storage module to record.

根据网络切片用户上下行信道监控子模块采集到的信息,通过上下行信道闲忙判定子模块根据用户通信状态监控模块判定用户上下行信道的闲忙状态。According to the information collected by the user uplink and downlink channel monitoring sub-module of the network slice, the idle and busy status of the user's uplink and downlink channels is determined by the uplink and downlink channel idleness determination submodule according to the user communication state monitoring module.

通过网络切片用户上下行信道资源调整策略生成子模块根据切片用户的上下行信道的闲忙状态,生成网络切片用户上下行信道资源调整策略。The network slice user uplink and downlink channel resource adjustment strategy generation sub-module generates the network slice user uplink and downlink channel resource adjustment strategy according to the busy state of the uplink and downlink channels of the slice user.

若网络切片中一些用户上行信道比较繁忙,下行信道空闲,另一些用户下行信道忙,而上行信道空闲,则上下行信道资源调整策略至少包含如下中的一项:1)减小上行信道繁忙的用户的下行信道的信道资源块数,2)减小下行信道忙的用户的上行信道的信道资源块数,3)增加上行信道忙的用户的上行信道资源块数,4)增加下行信道忙的用户的下行信道资源块数。If some users in the network slice are busy on their uplink channels and idle on their downlink channels, while other users are busy on their downlink channels and idle on their uplink channels, the uplink and downlink channel resource adjustment strategies include at least one of the following: 1) Reduce the number of uplink channels being busy. The number of channel resource blocks of the user's downlink channel, 2) reduce the number of channel resource blocks of the uplink channel of the user whose downlink channel is busy, 3) increase the number of uplink channel resource blocks of the user whose The number of downlink channel resource blocks of the user.

网络切片用户上下行信道资源调整策略生成后,传递给执行模块,对网络切片的用户上下行信道资源数进行调整,同时将执行结果报告存储在数据存储模块。After the network slice user uplink and downlink channel resource adjustment strategy is generated, it is passed to the execution module to adjust the number of user uplink and downlink channel resources of the network slice, and at the same time, the execution result report is stored in the data storage module.

下面结合具体实施方式对本申请提供的技术方案做出详细说明。请参阅图3,图3示出了本申请实施例中的一种资源分配方法的流程示意图,本实施例的方法可以应用于如上文所描述的网络切片的资源分配装置中,由资源分配装置上的应用程序来执行。本实施例的方法可以包括如下步骤S310至步骤S330:The technical solutions provided by the present application will be described in detail below with reference to specific embodiments. Please refer to FIG. 3. FIG. 3 shows a schematic flowchart of a resource allocation method in an embodiment of the present application. The method in this embodiment can be applied to the resource allocation apparatus for network slices as described above. on the application to execute. The method of this embodiment may include the following steps S310 to S330:

步骤S310,获取网络切片中各个客户端的上行数据量和下行数据量,所述上行数据量为客户端在上行信道中的通信数据量,所述下行数据量为客户端在下行信道中的通信数据量。Step S310: Obtain the uplink data volume and the downlink data volume of each client in the network slice, where the uplink data volume is the communication data volume of the client in the uplink channel, and the downlink data volume is the communication data of the client in the downlink channel quantity.

具体地,资源分配装置可以对网络切片中各个客户端的数据流量使用情况进行实时统计。上行数据量是客户端在网络切片中向外发送的数据量,下行数据量是客户端在下行信道中接收到的数据量。Specifically, the resource allocation apparatus may perform real-time statistics on the data traffic usage of each client in the network slice. The amount of uplink data is the amount of data that the client sends out in the network slice, and the amount of downlink data is the amount of data that the client receives in the downlink channel.

步骤S320,根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略。Step S320, according to the uplink data amount and the downlink data amount of each client, respectively generate a channel resource adjustment policy for each client.

具体地,根据客户端的上行数据量和下行数据量,可以判断客户端的数据使用情况,从而针对性地指定信道资源调整策略。信道资源调整策略是规定如何设置客户端可用的信道资源的配置信息,可以对应客户端可以使用的最大上行带宽和最大下行带宽等。信道资源调整策略的指定策略为通信信道的数据量越大,则对应增加相应的信道的资源配置,而通信信道的数据量越小,则为其分配的信道的资源越少。因此,资源分配装置可以根据客户端的上行数据量和下行数据量的大小来生成客户端的信道资源调整策略。Specifically, according to the uplink data volume and downlink data volume of the client, the data usage of the client can be judged, so as to specify the channel resource adjustment strategy in a targeted manner. The channel resource adjustment policy is to specify how to set the configuration information of the channel resources available to the client, which can correspond to the maximum uplink bandwidth and the maximum downlink bandwidth that the client can use. The specified strategy of the channel resource adjustment strategy is that the larger the data volume of the communication channel, the correspondingly increase the resource configuration of the corresponding channel, and the smaller the data volume of the communication channel, the less channel resources are allocated to it. Therefore, the resource allocation apparatus may generate the channel resource adjustment policy of the client according to the size of the uplink data amount and the downlink data amount of the client.

资源分配装置可以对所有客户端的上行数据量和下行数据量进行统计和比对,从而挑选出上行和下行的数据量差别较大,并且高于特定的阈值的客户端作为调整目标。例如,可能会存在部分客户端的上行数据远大于下行数据,并且也远大于其它客户端的上行数据的客户端,从而针对性地为该客户端的分配更多的上行信道资源而少分配下行信道资源。The resource allocation device can perform statistics and comparisons on the uplink data volume and the downlink data volume of all clients, so as to select the clients whose uplink and downlink data volumes differ greatly and are higher than a specific threshold as the adjustment target. For example, there may be clients whose uplink data of some clients is much larger than that of downlink data, and also much larger than that of other clients, so that more uplink channel resources and less downlink channel resources are allocated to the clients in a targeted manner.

在本申请的一个实施例中,根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略的过程包括如下的步骤:将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态;根据所述信道负载,对所述客户端的上行信道的资源块数量和下行信道的资源块数量进行调整,得到信道资源调整策略。In an embodiment of the present application, according to the uplink data volume and the downlink data volume of each client, the process of respectively generating the channel resource adjustment policy of each client includes the following steps: combining the uplink data volume and the downlink data volume The downlink data amount is compared with the corresponding load state threshold to determine the uplink channel and the channel load state of the uplink channel of the client within a specific period; according to the channel load, the resource block of the uplink channel of the client The number and the number of resource blocks of the downlink channel are adjusted to obtain a channel resource adjustment strategy.

在本申请的一个实施例中,根据所述信道负载,对所述客户端的上行资源块数量限制和下行资源块数量限制进行调整,得到信道资源调整策略的过程包括:若所述信道负载状态指示对应的上行信道或者下行信道处于繁忙状态,则增加所述上行信道或者所述下行信道的资源块数量;若所述信道负载状态指示对应的上行信道或者下行信道处于空闲状态,则减少所述上行信道或者所述下行信道的资源块数量;根据所述上行信道和所述下行信道的资源块数量,确定信道资源调整策略。In an embodiment of the present application, according to the channel load, the limit on the number of uplink resource blocks and the limit on the number of downlink resource blocks of the client is adjusted, and the process of obtaining a channel resource adjustment policy includes: if the channel load status indicates If the corresponding uplink channel or downlink channel is in a busy state, increase the number of resource blocks of the uplink channel or the downlink channel; if the channel load status indicates that the corresponding uplink channel or downlink channel is in an idle state, reduce the uplink channel or downlink channel. The number of resource blocks of the channel or the downlink channel; the channel resource adjustment strategy is determined according to the number of resource blocks of the uplink channel and the downlink channel.

步骤S330,根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置。Step S330: Adjust the channel resource configuration of each client according to the channel resource adjustment policy of each client.

信道资源调整策略中规定了对于客户端的资源配置的增加或者减少的调整方式。根据信道资源调整策略,资源分配装置可以对客户端当前的信道资源配置进行修改或者调整,从而制定出客户端的资源配置。The channel resource adjustment policy specifies an adjustment method for increasing or decreasing the resource configuration of the client. According to the channel resource adjustment policy, the resource allocation device can modify or adjust the current channel resource configuration of the client, so as to formulate the resource configuration of the client.

在本申请的一个实施例中,所述将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态之前,所述方法还包括:根据所述网络切片的业务类型,获取客户端角色集合,所述客户端角色集合中包括至少两个客户端角色,每个客户端角色对应于不同的资源阈值;根据所述上行数据量和所述下行数据量,确定所述客户端对应的客户端角色;获取所述客户端角色对应的资源阈值作为所述负载状态阈值。In an embodiment of the present application, the amount of uplink data and the amount of downlink data are compared with a corresponding load state threshold to determine the channel load of the uplink channel and the uplink channel of the client within a specific period of time The method further includes: obtaining a client role set according to the service type of the network slice, the client role set includes at least two client roles, and each client role corresponds to a different resource threshold ; According to the amount of uplink data and the amount of downlink data, determine the client role corresponding to the client; and obtain the resource threshold corresponding to the client role as the load state threshold.

根据网络切片的业务类型指的是网络切片所承载的服务的种类。例如网络直播、授课、或者会议讨论。对于不同的服务种类设置不同的客户端角色,例如,在网络直播场景中通常包括两种角色,直播者和观看者。不同的客户端角色会对应于不同的资源配置以及不同的资源阈值。仍以直播场景为例,相较于观看者角色,直播者角色的客户端会被配置相对更多的上行资源,通知其上行资源的阈值也会相应发生变化,例如用于判断繁忙状态的阈值相对较低,以使得其更容易被判断为上行繁忙而增加上行资源配置,而判断空闲状态的阈值相对较高,从而使得其更容易被判断为空闲状态,以避免其不进行直播时仍占用较多资源而造成资源浪费。The service type according to the network slice refers to the type of service carried by the network slice. Such as webcasts, lectures, or conference discussions. Different client roles are set for different service types. For example, in a webcasting scenario, two roles are usually included, the live broadcaster and the viewer. Different client roles correspond to different resource configurations and different resource thresholds. Still taking the live broadcast scenario as an example, the client of the live broadcaster role will be configured with relatively more uplink resources than the viewer role, and the threshold for notifying it of uplink resources will also change accordingly, such as the threshold used to determine the busy state. Relatively low, so that it is easier to be judged as the uplink busy and increase the uplink resource configuration, and the threshold for judging the idle state is relatively high, so that it is easier to be judged as the idle state, so as to avoid it still occupying when it is not live broadcast waste of resources due to more resources.

在本申请的一个实施例中,所述根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置的过程包括:若所述信道资源调整策略指示增加所述上行信道的资源块数量,则根据所述客户端对应的客户端角色,确定所述上行信道的资源块限制值;若所述上行信道当前的资源块数量小于所述资源块限制值,则根据所述信道资源调整策略增加所述上行信道的资源块数量。In an embodiment of the present application, the process of adjusting the channel resource configuration of each client according to the channel resource adjustment policy of each client includes: if the channel resource adjustment policy instructs to increase the number of resource blocks of the uplink channel , then according to the client role corresponding to the client, determine the resource block limit value of the uplink channel; if the current number of resource blocks of the uplink channel is less than the resource block limit value, then adjust the policy according to the channel resource Increase the number of resource blocks of the uplink channel.

具体地,不同的客户端角色会具有不同的资源块限制,主要取决于其在网络切片中所担任位置的特点而定。以网络直播为例,直播者通常会进行直播视频的输出而出现较大的上行数据量较大,因此,直播者相对于观看者在上行信道上可以具备更大的资源块限制值,从而确保直播者的上行信道的通常。下行信道类似,观看者可以具备相对大的下行资源块限制值,从而确保观看效果。Specifically, different client roles will have different resource block restrictions, mainly depending on the characteristics of their positions in the network slice. Taking webcasting as an example, the live broadcaster usually outputs a live video, which results in a large amount of upstream data. Therefore, the live broadcaster can have a larger resource block limit value on the upstream channel than the viewer, so as to ensure that the The usual of the broadcaster's upstream channel. Similar to the downlink channel, the viewer can have a relatively large downlink resource block limit value, thereby ensuring the viewing effect.

在本申请的实施例中,根据客户端的上行数据量和下行数据量制定对应的信道资源调整策略来调整客户端的信道资源配置,从而能够使得资源配置更加符合用户的实际使用情况,避免在需求大的通信方向上资源不足而在需求小的通信方向上资源过剩而带来的资源浪费,提高资源配置的资源利用率并进一步提升通信效率。In the embodiment of the present application, a corresponding channel resource adjustment strategy is formulated according to the uplink data volume and downlink data volume of the client to adjust the channel resource configuration of the client, so that the resource configuration can be more in line with the actual usage of the user and avoid the need for large demand. It can improve the resource utilization of resource allocation and further improve the communication efficiency.

应当注意,尽管在附图中以特定顺序描述了本申请中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。It should be noted that although the various steps of the methods of the present application are depicted in the figures in a particular order, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps must be performed to achieve the desired the result of. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, and the like.

以下介绍本申请的装置实施,可以用于执行本申请上述实施例中的资源分配方法。图4示意性地示出了本申请实施例中资源分配装置的组成框图。如图4所示,资源分配装置400主要可以包括:The following describes the implementation of the apparatus of the present application, which can be used to execute the resource allocation method in the above-mentioned embodiments of the present application. FIG. 4 schematically shows a block diagram of the composition of the resource allocation apparatus in the embodiment of the present application. As shown in FIG. 4 , theresource allocation apparatus 400 may mainly include:

数据量获取模块410,用于获取网络切片中各个客户端的上行数据量和下行数据量,所述上行数据量为客户端在上行信道中的通信数据量,所述下行数据量为客户端在下行信道中的通信数据量;The datavolume acquisition module 410 is configured to acquire the uplink data volume and the downlink data volume of each client in the network slice, where the uplink data volume is the communication data volume of the client in the uplink channel, and the downlink data volume is the downlink data volume of the client The amount of communication data in the channel;

策略生成模块420,用于根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略;astrategy generation module 420, configured to respectively generate a channel resource adjustment strategy for each client according to the uplink data volume and the downlink data volume of each client;

配置调整模块430,用于根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置。The configuration adjustment module 430 is configured to adjust the channel resource configuration of each client according to the channel resource adjustment policy of each client.

在本申请的一些实施例中,基于以上技术方案,所述策略生成模块包括:In some embodiments of the present application, based on the above technical solutions, the strategy generation module includes:

状态确定单元,用于将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态;a state determination unit, configured to compare the uplink data volume and the downlink data volume with the corresponding load state threshold, and determine the channel load state of the uplink channel and the uplink channel of the client within a specific period;

资源调整单元,用于根据所述信道负载,对所述客户端的上行信道的资源块数量和下行信道的资源块数量进行调整,得到信道资源调整策略。A resource adjustment unit, configured to adjust the number of resource blocks of the uplink channel of the client and the number of resource blocks of the downlink channel according to the channel load, so as to obtain a channel resource adjustment policy.

在本申请的一些实施例中,基于以上技术方案,所述资源调整单元包括:In some embodiments of the present application, based on the above technical solutions, the resource adjustment unit includes:

数量增加子单元,用于若所述信道负载状态指示对应的上行信道或者下行信道处于繁忙状态,则增加所述上行信道或者所述下行信道的资源块数量;a quantity increasing subunit, configured to increase the number of resource blocks of the uplink channel or the downlink channel if the channel load status indicates that the corresponding uplink channel or downlink channel is in a busy state;

数量减少子单元,用于若所述信道负载状态指示对应的上行信道或者下行信道处于空闲状态,则减少所述上行信道或者所述下行信道的资源块数量;a quantity reduction subunit, configured to reduce the number of resource blocks of the uplink channel or the downlink channel if the channel load status indicates that the corresponding uplink channel or downlink channel is in an idle state;

策略确定子单元,用于根据所述上行信道和所述下行信道的资源块数量,确定信道资源调整策略。The strategy determination subunit is configured to determine a channel resource adjustment strategy according to the number of resource blocks of the uplink channel and the downlink channel.

在本申请的一些实施例中,基于以上技术方案,所述资源分配装置还包括:In some embodiments of the present application, based on the above technical solutions, the resource allocation apparatus further includes:

集合获取模块,用于根据所述网络切片的业务类型,获取客户端角色集合,所述客户端角色集合中包括至少两个客户端角色,每个客户端角色对应于不同的资源阈值;a set acquisition module, configured to acquire a client role set according to the service type of the network slice, the client role set includes at least two client roles, and each client role corresponds to a different resource threshold;

角色确定模块,用于根据所述上行数据量和所述下行数据量,确定所述客户端对应的客户端角色;a role determination module, configured to determine a client role corresponding to the client according to the uplink data volume and the downlink data volume;

阈值获取模块,用于获取所述客户端角色对应的资源阈值作为所述负载状态阈值。A threshold acquisition module, configured to acquire the resource threshold corresponding to the client role as the load state threshold.

在本申请的一些实施例中,基于以上技术方案,所述配置调整模块包括:In some embodiments of the present application, based on the above technical solutions, the configuration adjustment module includes:

限制值确定单元,用于若所述信道资源调整策略指示增加所述上行信道的资源块数量,则根据所述客户端对应的客户端角色,确定所述上行信道的资源块限制值;a limit value determination unit, configured to determine a limit value of resource blocks of the uplink channel according to the client role corresponding to the client if the channel resource adjustment policy indicates to increase the number of resource blocks of the uplink channel;

资源块增加单元,用于若所述上行信道当前的资源块数量小于所述资源块限制值,则根据所述信道资源调整策略增加所述上行信道的资源块数量。A resource block adding unit, configured to increase the number of resource blocks of the uplink channel according to the channel resource adjustment policy if the current number of resource blocks of the uplink channel is less than the resource block limit value.

需要说明的是,上述实施例所提供的装置与上述实施例所提供的方法属于同一构思,其中各个模块执行操作的具体方式已经在方法实施例中进行了详细描述,此处不再赘述。It should be noted that the apparatus provided by the above embodiments and the methods provided by the above embodiments belong to the same concept, and the specific manner in which each module performs operations has been described in detail in the method embodiments, which will not be repeated here.

图5示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 5 shows a schematic structural diagram of a computer system suitable for implementing the electronic device according to the embodiment of the present application.

需要说明的是,图5示出的电子设备的计算机系统500仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。It should be noted that thecomputer system 500 of the electronic device shown in FIG. 5 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.

如图5所示,计算机系统500包括中央处理单元(Central Processing Unit,CPU)501,其可以根据存储在只读存储器(Read-Only Memory,ROM)502中的程序或者从储存部分508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有系统操作所需的各种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。As shown in FIG. 5 , thecomputer system 500 includes a central processing unit (Central Processing Unit, CPU) 501, which can be loaded into a random device according to a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from astorage part 508 Various appropriate operations and processes are executed by accessing a program in a memory (Random Access Memory, RAM) 503 . In theRAM 503, various programs and data necessary for system operation are also stored. TheCPU 501 , theROM 502 , and theRAM 503 are connected to each other through abus 504 . An Input/Output (I/O)interface 505 is also connected to thebus 504 .

以下部件连接至I/O接口505:包括键盘、鼠标等的输入部分506;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分507;包括硬盘等的储存部分508;以及包括诸如LAN(Local Area Network,局域网)卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入储存部分508。The following components are connected to the I/O interface 505: aninput section 506 including a keyboard, a mouse, etc.; anoutput section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc. ; astorage part 508 including a hard disk and the like; and acommunication part 509 including a network interface card such as a LAN (Local Area Network) card, a modem, and the like. Thecommunication section 509 performs communication processing via a network such as the Internet. Adrive 510 is also connected to the I/O interface 505 as needed. Aremovable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on thedrive 510 as needed so that a computer program read therefrom is installed into thestorage section 508 as needed.

特别地,根据本申请的实施例,各个方法流程图中所描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本申请的系统中限定的各种功能。In particular, according to the embodiments of the present application, the processes described in the flowcharts of the respective methods may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via thecommunication portion 509 and/or installed from theremovable medium 511 . When the computer program is executed by the central processing unit (CPU) 501, various functions defined in the system of the present application are executed.

需要说明的是,本申请实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable Compact Disc Read-Only Memory (CD-ROM), optical storage device, magnetic storage device, or any suitable of the above The combination. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination of the foregoing.

附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.

应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to embodiments of the present application, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into multiple modules or units to be embodied.

通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、触控终端、或者网络设备等)执行根据本申请实施方式的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on the network , which includes several instructions to cause a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of this application that follow the general principles of this application and include common knowledge or conventional techniques in the technical field not disclosed in this application .

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

Translated fromChinese
1.一种资源分配方法,其特征在于,包括:1. a resource allocation method, is characterized in that, comprises:获取网络切片中各个客户端的上行数据量和下行数据量,所述上行数据量为客户端在上行信道中的通信数据量,所述下行数据量为客户端在下行信道中的通信数据量;Obtain the uplink data volume and the downlink data volume of each client in the network slice, where the uplink data volume is the communication data volume of the client in the uplink channel, and the downlink data volume is the communication data volume of the client in the downlink channel;根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略;According to the uplink data amount and the downlink data amount of each client, respectively generate a channel resource adjustment policy for each client;根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置。Adjust the channel resource configuration of each client according to the channel resource adjustment policy of each client.2.根据权利要求1所述的方法,其特征在于,所述根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略,包括:2. The method according to claim 1, wherein, according to the uplink data volume and the downlink data volume of each client, respectively generating a channel resource adjustment policy for each client, comprising:将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态;Comparing the uplink data volume and the downlink data volume with the corresponding load state threshold, determining the channel load state of the uplink channel and the uplink channel of the client within a specific time period;根据所述信道负载,对所述客户端的上行信道的资源块数量和下行信道的资源块数量进行调整,得到信道资源调整策略。According to the channel load, the number of resource blocks of the uplink channel and the number of resource blocks of the downlink channel of the client are adjusted to obtain a channel resource adjustment policy.3.根据权利要求2所述的方法,其特征在于,所述根据所述信道负载,对所述客户端的上行资源块数量限制和下行资源块数量限制进行调整,得到信道资源调整策略,包括:3. The method according to claim 2, wherein, according to the channel load, adjusting the limit on the number of uplink resource blocks and the limit on the number of downlink resource blocks of the client to obtain a channel resource adjustment strategy, comprising:若所述信道负载状态指示对应的上行信道或者下行信道处于繁忙状态,则增加所述上行信道或者所述下行信道的资源块数量;If the channel load state indicates that the corresponding uplink channel or downlink channel is in a busy state, increasing the number of resource blocks of the uplink channel or the downlink channel;若所述信道负载状态指示对应的上行信道或者下行信道处于空闲状态,则减少所述上行信道或者所述下行信道的资源块数量;If the channel load state indicates that the corresponding uplink channel or downlink channel is in an idle state, reducing the number of resource blocks of the uplink channel or the downlink channel;根据所述上行信道和所述下行信道的资源块数量,确定信道资源调整策略。A channel resource adjustment strategy is determined according to the number of resource blocks of the uplink channel and the downlink channel.4.根据权利要求2所述的方法,其特征在于,所述将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态之前,所述方法还包括:4 . The method according to claim 2 , wherein, comparing the uplink data volume and the downlink data volume with a corresponding load state threshold to determine the uplink channel of the client within a specific period of time. 5 . and the channel load status of the uplink channel, the method further includes:根据所述网络切片的业务类型,获取客户端角色集合,所述客户端角色集合中包括至少两个客户端角色,每个客户端角色对应于不同的资源阈值;obtaining a client role set according to the service type of the network slice, where the client role set includes at least two client roles, and each client role corresponds to a different resource threshold;根据所述上行数据量和所述下行数据量,确定所述客户端对应的客户端角色;Determine the client role corresponding to the client according to the uplink data amount and the downlink data amount;获取所述客户端角色对应的资源阈值作为所述负载状态阈值。The resource threshold corresponding to the client role is acquired as the load state threshold.5.根据权利要求4所述的方法,其特征在于,所述根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置,包括:5. The method according to claim 4, wherein the adjusting the channel resource configuration of each client according to the channel resource adjustment policy of each client comprises:若所述信道资源调整策略指示增加所述上行信道的资源块数量,则根据所述客户端对应的客户端角色,确定所述上行信道的资源块限制值;If the channel resource adjustment policy indicates to increase the number of resource blocks of the uplink channel, determining the resource block limit value of the uplink channel according to the client role corresponding to the client;若所述上行信道当前的资源块数量小于所述资源块限制值,则根据所述信道资源调整策略增加所述上行信道的资源块数量。If the current number of resource blocks of the uplink channel is less than the resource block limit value, increase the number of resource blocks of the uplink channel according to the channel resource adjustment policy.6.一种资源分配装置,其特征在于,包括:6. A resource allocation device, comprising:数据量获取模块,用于获取网络切片中各个客户端的上行数据量和下行数据量,所述上行数据量为客户端在上行信道中的通信数据量,所述下行数据量为客户端在下行信道中的通信数据量;The data volume acquisition module is used to acquire the uplink data volume and the downlink data volume of each client in the network slice, the uplink data volume is the communication data volume of the client in the uplink channel, and the downlink data volume is the client terminal in the downlink channel. The amount of communication data in;策略生成模块,用于根据每个客户端的所述上行数据量和所述下行数据量,分别生成每个客户端的信道资源调整策略;a strategy generation module, configured to respectively generate a channel resource adjustment strategy for each client according to the uplink data volume and the downlink data volume of each client;配置调整模块,用于根据每个客户端的信道资源调整策略,调整每个客户端的信道资源配置。The configuration adjustment module is used to adjust the channel resource configuration of each client according to the channel resource adjustment strategy of each client.7.根据权利要求6所述的装置,其特征在于,所述策略生成模块包括:7. The apparatus according to claim 6, wherein the policy generation module comprises:状态确定单元,用于将所述上行数据量和所述下行数据量与对应的负载状态阈值相比较,确定所述客户端在特定时段内的上行信道和上行信道的信道负载状态;a state determination unit, configured to compare the uplink data volume and the downlink data volume with the corresponding load state threshold, and determine the channel load state of the uplink channel and the uplink channel of the client within a specific time period;资源调整单元,用于根据所述信道负载,对所述客户端的上行信道的资源块数量和下行信道的资源块数量进行调整,得到信道资源调整策略。A resource adjustment unit, configured to adjust the number of resource blocks of the uplink channel of the client and the number of resource blocks of the downlink channel according to the channel load, so as to obtain a channel resource adjustment policy.8.根据权利要求7所述的装置,其特征在于,所述资源调整单元包括:8. The apparatus according to claim 7, wherein the resource adjustment unit comprises:数量增加子单元,用于若所述信道负载状态指示对应的上行信道或者下行信道处于繁忙状态,则增加所述上行信道或者所述下行信道的资源块数量;a quantity increasing subunit, configured to increase the number of resource blocks of the uplink channel or the downlink channel if the channel load status indicates that the corresponding uplink channel or the downlink channel is in a busy state;数量减少子单元,用于若所述信道负载状态指示对应的上行信道或者下行信道处于空闲状态,则减少所述上行信道或者所述下行信道的资源块数量;a quantity reduction subunit, configured to reduce the number of resource blocks of the uplink channel or the downlink channel if the channel load status indicates that the corresponding uplink channel or downlink channel is in an idle state;策略确定子单元,用于根据所述上行信道和所述下行信道的资源块数量,确定信道资源调整策略。The strategy determination subunit is configured to determine a channel resource adjustment strategy according to the number of resource blocks of the uplink channel and the downlink channel.9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising:处理器;processor;存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions for the processor;其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1至5中任意一项所述的资源分配方法。Wherein, the processor is configured to perform the resource allocation method according to any one of claims 1 to 5 by executing the executable instructions.10.一种计算机可读介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的资源分配方法。10. A computer-readable medium on which a computer program is stored, wherein the computer program implements the resource allocation method according to any one of claims 1 to 5 when the computer program is executed by a processor.
CN202111680875.7A2021-12-312021-12-31 Resource allocation method, device, electronic device and readable mediumActiveCN114338401B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111680875.7ACN114338401B (en)2021-12-312021-12-31 Resource allocation method, device, electronic device and readable medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111680875.7ACN114338401B (en)2021-12-312021-12-31 Resource allocation method, device, electronic device and readable medium

Publications (2)

Publication NumberPublication Date
CN114338401Atrue CN114338401A (en)2022-04-12
CN114338401B CN114338401B (en)2025-01-03

Family

ID=81022767

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111680875.7AActiveCN114338401B (en)2021-12-312021-12-31 Resource allocation method, device, electronic device and readable medium

Country Status (1)

CountryLink
CN (1)CN114338401B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114938545A (en)*2022-06-142022-08-23中国电信股份有限公司 Network slice resource adjustment method, apparatus and computer-readable storage medium
CN115328573A (en)*2022-08-262022-11-11中国电信股份有限公司Dynamic unloading method, device, equipment and storage medium based on forwarding interface
CN115514454A (en)*2022-09-192022-12-23Oppo广东移动通信有限公司 Data transmission method and device, electronic device, computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107846702A (en)*2016-09-202018-03-27普天信息技术有限公司Strengthen the resource allocation method of Physical Downlink Control Channel
CN107925924A (en)*2015-08-052018-04-17瑞典爱立信有限公司 Method and network node for dynamic resource allocation of control channels
CN113556761A (en)*2021-06-252021-10-26中国联合网络通信集团有限公司Slice resource adjusting method, system, terminal device and storage medium
US20210377814A1 (en)*2018-11-022021-12-02Nokia Solutions And Networks OyMethods and apparatuses for network slice minimum and maximum resource quotas

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107925924A (en)*2015-08-052018-04-17瑞典爱立信有限公司 Method and network node for dynamic resource allocation of control channels
CN107846702A (en)*2016-09-202018-03-27普天信息技术有限公司Strengthen the resource allocation method of Physical Downlink Control Channel
US20210377814A1 (en)*2018-11-022021-12-02Nokia Solutions And Networks OyMethods and apparatuses for network slice minimum and maximum resource quotas
CN113556761A (en)*2021-06-252021-10-26中国联合网络通信集团有限公司Slice resource adjusting method, system, terminal device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114938545A (en)*2022-06-142022-08-23中国电信股份有限公司 Network slice resource adjustment method, apparatus and computer-readable storage medium
CN115328573A (en)*2022-08-262022-11-11中国电信股份有限公司Dynamic unloading method, device, equipment and storage medium based on forwarding interface
CN115514454A (en)*2022-09-192022-12-23Oppo广东移动通信有限公司 Data transmission method and device, electronic device, computer-readable storage medium
CN115514454B (en)*2022-09-192024-05-28Oppo广东移动通信有限公司Data transmission method and device, electronic equipment and computer readable storage medium

Also Published As

Publication numberPublication date
CN114338401B (en)2025-01-03

Similar Documents

PublicationPublication DateTitle
US12075286B2 (en)Communication method and apparatus, computer-readable medium and electronic device
CN111586599B (en)Network auxiliary information providing method and related equipment
CN114338401A (en) Resource allocation method, apparatus, electronic device and readable medium
WO2022095795A1 (en)Communication method and apparatus, computer readable medium, and electronic device
CN104394486B (en)A kind of video stream processing method and device based on cloud desktop
CN103733680B (en)Method and apparatus for controlling wireless uplink session
CN115209189B (en)Video stream transmission method, system, server and storage medium
CN116346743A (en) A bandwidth control method, device, equipment and storage medium
CN109660826B (en)Video transmission method, device, equipment and storage medium
JP2021527351A (en) Network-controlled uplink media transmission for collaborative media production in scenarios with limited network capacity
CN105794159A (en)Resource allocation
CN115623155A (en)Video data processing method, video data processing apparatus, and storage medium
CN108574840A (en) A method and device for evaluating video quality of experience
US11757967B2 (en)Video communications network with value optimization
WO2022002003A1 (en)Information determining method and device
CN113347472A (en)Audio and video quality adjusting method and device, electronic equipment and storage medium
CN111309484A (en)Management method and device for improving terminal performance and computer readable storage medium
CN114978935B (en)Method, device and storage medium for applying for service quality resource
CN111404908B (en)Data interaction method and device, electronic equipment and readable storage medium
CN112738445B (en)Multi-line plug flow method and device, storage medium and electronic equipment
CN107135171B (en) Method for transmitting multimedia stream and device for sending media stream
CN116614656A (en)Multimedia stream pushing method, device, electronic equipment and readable medium
CN119653126A (en) Live broadcast configuration method and device
CN116915725A (en)Resource allocation method, related equipment and storage medium
HK40027912A (en)Method for providing network auxiliary information and related apparatus

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp