[go: up one dir, main page]

CN115801700A - Resource scheduling method and device, electronic equipment and readable storage medium - Google Patents

Resource scheduling method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115801700A
CN115801700A CN202211156128.8A CN202211156128A CN115801700A CN 115801700 A CN115801700 A CN 115801700A CN 202211156128 A CN202211156128 A CN 202211156128A CN 115801700 A CN115801700 A CN 115801700A
Authority
CN
China
Prior art keywords
resources
amount
resource
shared
systems
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211156128.8A
Other languages
Chinese (zh)
Inventor
刘叔正
任庚
莫小琪
曾福华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202211156128.8A priority Critical patent/CN115801700A/en
Publication of CN115801700A publication Critical patent/CN115801700A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a resource scheduling method, a resource scheduling device, an electronic device and a readable storage medium, wherein the method comprises the following steps: receiving a request message from a system, wherein the system is one of a plurality of systems that commonly use a shared resource; determining the maximum available resource amount of the system in the shared resources, and sending the maximum available resource amount to the system; receiving the amount of required resources determined by the system according to the maximum available resource amount; and allocating resources to the system from the shared resources according to the amount of the resources required by the system, wherein the resources allocated to the system are less than or equal to the maximum available resource amount. The method and the device solve the problem that the system using the shared resource can not obtain the corresponding resource so as to influence the operation of the system when the shared resource is allocated in the prior art, improve the rationality of the allocation of the shared resource and further improve the operation stability of the system using the shared resource.

Description

资源调度方法、装置、电子设备和可读存储介质Resource scheduling method, device, electronic device and readable storage medium

技术领域technical field

本申请涉及到网络资源领域,具体而言,涉及资源调度方法、装置、电子设备和可读存储介质。The present application relates to the field of network resources, in particular, to a resource scheduling method, device, electronic equipment and readable storage medium.

背景技术Background technique

随着网络技术的发展,越来越多的服务通过网络来进行提供。例如,视频直播服务、网页服务等,不同的服务通过不同的系统来提供,这里所说的系统可以理解为提供基于网络的服务的程序,该程序可以运行在服务器或云服务器上并使用服务器提供商提供的资源向用户提供服务。例如,提供上述视频直播服务的系统可以被称为视频直播系统,用于提高网页访问速度的系统可以被称为页面加速系统等等。With the development of network technology, more and more services are provided through the network. For example, live video service, web page service, etc. Different services are provided through different systems. The system mentioned here can be understood as a program that provides network-based services. This program can run on a server or cloud server and use the server to provide The resources provided by the provider provide services to users. For example, the system for providing the above-mentioned live video service may be called a live video system, and the system for increasing the speed of webpage access may be called a page acceleration system, and so on.

随着向用户提供的网络服务的种类越来越多,使用的系统的种类也越来越多,这些系统均基于网络运行,从而这些系统会使用相同的公共资源,即这些公共资源能够被多个系统共同使用,因此,这些公共资源也被称为是共享资源。为了避免多个系统在使用共享资源的时候发生冲突,就需要对共享资源在多个系统中的使用进行调度,防止多个系统同时使用相同的共享资源所产生的冲突。As more and more types of network services are provided to users, more and more types of systems are used. These systems are all based on the operation of the network, so these systems will use the same public resources, that is, these public resources can be used by multiple Therefore, these common resources are also called shared resources. In order to avoid conflicts when multiple systems use shared resources, it is necessary to schedule the use of shared resources in multiple systems to prevent conflicts caused by multiple systems using the same shared resources at the same time.

在现有技术中,采用对资源进行上锁以达到避免其他系统使用该资源的方式来避免资源使用冲突,例如,A系统在需要使用A数量的资源时,A系统首先从共享资源中占据A数量的资源,然后将占据的资源设置标志(该标志用于指示A数量的资源已经被使用,即上锁);B系统在需要使用共享资源时,不能使用已经设置标志的资源,只能使用共享资源中除A系统占据的资源之外的其他资源;在A系统使用完毕A数量的资源之后撤销设置的标志,则这部分重新变成共享资源。通过这种方式虽然可以解决共享资源使用冲突的问题,但是这种资源分配的方式没有考虑到资源使用的均衡性,例如,A系统可能会占据大量的资源从而导致其他系统可用资源较少甚至无资源可用,因此,现有技术中的资源分配方式有可能会导致使用该共享资源的系统无法得到相应的资源,从而影响该系统的运行。In the prior art, resources are locked to prevent other systems from using the resources to avoid resource usage conflicts. For example, when system A needs to use resources of A amount, system A first occupies A from the shared resources. number of resources, and then set flags for the occupied resources (this flag is used to indicate that the resources of A quantity have been used, that is, locked); when system B needs to use shared resources, it cannot use the resources with flags set, and can only use Other resources in the shared resources except the resources occupied by system A; after the system A has used up the resources of A amount, the set flag is canceled, and this part becomes a shared resource again. Although this method can solve the problem of conflicts in the use of shared resources, this method of resource allocation does not take into account the balance of resource use. For example, system A may occupy a large number of resources, resulting in less or no available resources for other systems. Resources are available. Therefore, the resource allocation method in the prior art may cause the system using the shared resource to fail to obtain the corresponding resource, thereby affecting the operation of the system.

发明内容Contents of the invention

本申请实施例提供了资源调度方法、装置、电子设备和可读存储介质,以至少解决现有技术中分配共享资源时所存在的使用该共享资源的系统可能无法得到相应资源从而影响该系统运行的问题。Embodiments of the present application provide a resource scheduling method, device, electronic device, and readable storage medium to at least solve the problem that the system using the shared resource may not be able to obtain the corresponding resource when allocating shared resources in the prior art, thereby affecting the operation of the system The problem.

根据本申请的一个方面,提供了一种资源调度方法,包括:接收来自系统的请求消息,其中,所述系统为共同使用共享资源的多个系统之一,所述请求消息用于请求为所述系统分配资源;确定所述系统在所述共享资源中的最大可用资源量,并将所述最大可用资源量发送给所述系统;接收所述系统根据所述最大可用资源量确定的所需资源的量;根据所述系统所需资源的量从所述共享资源中为所述系统分配资源,其中,为所述系统分配的资源小于等于所述最大可用资源量。According to one aspect of the present application, a resource scheduling method is provided, including: receiving a request message from a system, wherein the system is one of multiple systems that jointly use a shared resource, and the request message is used to request The system allocates resources; determines the maximum amount of available resources of the system in the shared resources, and sends the maximum amount of available resources to the system; receives the required amount determined by the system according to the maximum amount of available resources Amount of resources: allocate resources to the system from the shared resources according to the amount of resources required by the system, wherein the resources allocated to the system are less than or equal to the maximum available resource amount.

根据本申请的另一个方面,还提供了一种资源调度方法,包括:发送请求消息,其中,所述请求消息用于请求为系统分配资源,所述系统为共同使用共享资源的多个系统之一;接收所述系统对应的最大可用资源量;根据所述系统实际所需资源和所述最大可用资源量确定所述系统所需资源的量,其中,所述系统所需资源的量小于等于所述最大可用资源量;发送所述系统所需资源的量;接收从所述共享资源中为所述系统分配的资源,其中,为所述系统分配的资源是根据所述系统所需资源的量分配的。According to another aspect of the present application, there is also provided a method for resource scheduling, including: sending a request message, wherein the request message is used to request resource allocation for a system, and the system is one of multiple systems that jointly use shared resources 1. Receive the maximum amount of available resources corresponding to the system; determine the amount of resources required by the system according to the actual resources required by the system and the maximum amount of available resources, wherein the amount of resources required by the system is less than or equal to The maximum amount of available resources; sending the amount of resources required by the system; receiving resources allocated for the system from the shared resources, wherein the resources allocated for the system are based on the resources required by the system distributed in quantity.

根据本申请的另一个方面,还提供了一种资源调度装置,包括:第一接收模块,用于接收来自系统的请求消息,其中,所述系统为共同使用共享资源的多个系统之一,所述请求消息用于请求为所述系统分配资源;第一确定模块,用于确定所述系统在所述共享资源中的最大可用资源量,并将所述最大可用资源量发送给所述系统;第二接收模块,用于接收所述系统根据所述最大可用资源量确定的所需资源的量;分配模块,用于根据所述系统所需资源的量从所述共享资源中为所述系统分配资源,其中,为所述系统分配的资源小于等于所述最大可用资源量。According to another aspect of the present application, there is also provided a resource scheduling device, including: a first receiving module, configured to receive a request message from a system, wherein the system is one of multiple systems that jointly use shared resources, The request message is used to request resource allocation for the system; the first determination module is configured to determine the maximum amount of available resources of the system in the shared resources, and send the maximum amount of available resources to the system The second receiving module is used to receive the amount of required resources determined by the system according to the maximum available resource amount; the allocation module is used to allocate resources from the shared resources according to the amount of resources required by the system. The system allocates resources, wherein the resources allocated to the system are less than or equal to the maximum available resource amount.

根据本申请的另一个方面,还提供了一种资源调度装置,包括:第一发送模块,用于发送请求消息,其中,所述请求消息用于请求为系统分配资源,所述系统为共同使用共享资源的多个系统之一;第三接收模块,用于接收所述系统对应的最大可用资源量;第二确定模块,用于根据所述系统实际所需资源和所述最大可用资源量确定所述系统所需资源的量,其中,所述系统所需资源的量小于等于所述最大可用资源量;第二发送模块,用于发送所述系统所需资源的量;第三接收模块,用于接收从所述共享资源中为所述系统分配的资源,其中,为所述系统分配的资源是根据所述系统所需资源的量分配的。According to another aspect of the present application, there is also provided a resource scheduling device, including: a first sending module, configured to send a request message, wherein the request message is used to request resource allocation for a system, and the system is a shared One of multiple systems that share resources; a third receiving module, configured to receive the maximum amount of available resources corresponding to the system; a second determining module, configured to determine according to the actual resources required by the system and the maximum amount of available resources The amount of resources required by the system, wherein, the amount of resources required by the system is less than or equal to the maximum available resource amount; the second sending module is used to send the amount of resources required by the system; the third receiving module, It is used for receiving resources allocated for the system from the shared resources, wherein the resources allocated for the system are allocated according to the amount of resources required by the system.

根据本申请的另一个方面,还提供了一种电子设备,包括存储器和处理器;其中,所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现上述的方法步骤。According to another aspect of the present application, there is also provided an electronic device, including a memory and a processor; wherein, the memory is used to store one or more computer instructions, wherein the one or more computer instructions are stored by the The processor executes to implement the above method steps.

根据本申请的另一个方面,还提供了一种可读存储介质,其上存储有计算机指令,其中,该计算机指令被处理器执行时实现上述的方法步骤。According to another aspect of the present application, there is also provided a readable storage medium on which computer instructions are stored, wherein the above-mentioned method steps are implemented when the computer instructions are executed by a processor.

在本申请实施例中,采用了接收来自系统的请求消息,其中,所述系统为共同使用共享资源的多个系统之一,所述请求消息用于请求为所述系统分配资源;确定所述系统在所述共享资源中的最大可用资源量,并将所述最大可用资源量发送给所述系统;接收所述系统根据所述最大可用资源量确定的所需资源的量;根据所述系统所需资源的量从所述共享资源中为所述系统分配资源,其中,为所述系统分配的资源小于等于所述最大可用资源量。通过本申请解决了现有技术中分配共享资源时所存在的使用该共享资源的系统可能无法得到相应资源从而影响该系统运行的问题,提高了共享资源分配的合理性,进而提高了使用共享资源的系统的运行稳定性。In this embodiment of the present application, it is adopted to receive a request message from a system, wherein the system is one of multiple systems that jointly use a shared resource, and the request message is used to request resource allocation for the system; determine the The maximum amount of available resources of the system in the shared resources, and send the maximum amount of available resources to the system; receive the amount of required resources determined by the system according to the maximum amount of available resources; according to the system The amount of required resources allocates resources to the system from the shared resources, wherein the resources allocated to the system are less than or equal to the maximum available resource amount. This application solves the problem in the prior art that the system using the shared resource may not be able to obtain the corresponding resource when the shared resource is allocated, which affects the operation of the system, improves the rationality of the shared resource allocation, and further improves the use of the shared resource. system's operational stability.

附图说明Description of drawings

构成本申请的一部分的附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings constituting a part of the application are used to provide further understanding of the application, and the schematic embodiments and descriptions of the application are used to explain the application, and do not constitute an improper limitation to the application. In the attached picture:

图1是根据本申请实施例的资源调度方法的流程图一;FIG. 1 is a flowchart 1 of a resource scheduling method according to an embodiment of the present application;

图2是根据本申请实施例的共享资源汇总管理的流程示意图;FIG. 2 is a schematic flow diagram of the summary management of shared resources according to an embodiment of the present application;

图3是根据本申请实施例的带成本的共享资源汇总的流程示意图;Fig. 3 is a schematic flow chart of summarizing shared resources with cost according to an embodiment of the present application;

图4是根据本申请实施例的资源调度方法的流程图二;FIG. 4 is a flowchart 2 of a resource scheduling method according to an embodiment of the present application;

图5是根据本申请实施例的为多个系统分配共享资源的示意图;FIG. 5 is a schematic diagram of allocating shared resources for multiple systems according to an embodiment of the present application;

图6是根据本申请实施例的按照优先级顺序分配资源的示意图;以及,FIG. 6 is a schematic diagram of allocating resources according to priority order according to an embodiment of the present application; and,

图7是根据本申请实施例的CDN网络的架构示意图。Fig. 7 is a schematic diagram of a CDN network architecture according to an embodiment of the present application.

具体实施方式Detailed ways

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps shown in the flowcharts of the accompanying drawings may be performed in a computer system, such as a set of computer-executable instructions, and that although a logical order is shown in the flowcharts, in some cases, The steps shown or described may be performed in an order different than here.

由于提供各种服务的系统均运行在网络上,因此这些系统不可避免的使用相同的资源,这些资源包括各种计算资源以及网络资源等,以下实施方式中提供的资源调度方法不受到资源种类的影响,只要是需要在多个系统之间对共享资源进行调度的情况,以下实施方式均可以适用。以下实施方式中所涉及的系统可以包括提供各种服务的系统,例如,用于提供视频直播服务的视频系统,用于提供网页服务的网页系统,用于提供网页加速的网页加速系统,用于提供大数据统计的大数据服务系统以及用于提供流媒体计算的流媒体系统等等。由于这些系统所提供的服务不同并且各种服务的要求也是不同的,例如,视频系统用于提供视频直播,直播对网络延时要求比较高;又例如,网页系统相比于直播系统而言,其对网络延时要求相对较低;又例如大数据服务系统需要更多的计算资源的支持,而流媒体系统则需要更多网络资源的支持等等。因此,在进行共享资源调度的时候,可以根据各个系统的实际情况来进行资源调度。Since the systems providing various services all run on the network, these systems inevitably use the same resources, including various computing resources and network resources, etc. The resource scheduling method provided in the following embodiments is not affected by resource types As long as it is necessary to schedule shared resources between multiple systems, the following implementation methods are applicable. The systems involved in the following embodiments may include systems that provide various services, for example, a video system for providing live video services, a webpage system for providing webpage services, a webpage acceleration system for providing webpage acceleration, and a webpage acceleration system for providing webpage acceleration. A big data service system that provides big data statistics and a streaming media system that provides streaming computing, etc. Because the services provided by these systems are different and the requirements of various services are also different. For example, the video system is used to provide video live broadcast, and the live broadcast has relatively high requirements for network delay; Its requirements for network delay are relatively low; another example is that big data service systems require more computing resources, while streaming media systems require more network resources and so on. Therefore, when performing shared resource scheduling, resource scheduling can be performed according to actual conditions of each system.

在以下实施方式中提供了一种资源调度方法,图1是根据本申请实施例的资源调度方法的流程图一,如图1所示,下面对图1中的方法所包括的步骤进行说明。A resource scheduling method is provided in the following embodiments. FIG. 1 is a flow chart of the resource scheduling method according to an embodiment of the present application. As shown in FIG. 1 , the steps included in the method in FIG. 1 will be described below. .

步骤S102,接收来自系统的请求消息,其中,所述系统为共同使用共享资源的多个系统之一,所述请求消息用于请求为所述系统分配资源。Step S102, receiving a request message from a system, where the system is one of multiple systems that jointly use a shared resource, and the request message is used to request resource allocation for the system.

在一个可选实施方式中,为了更好的对共享资源进行管理和调度,可以设置一个用于对共享资源进行管理和调度的系统,为了将该系统和使用共享资源的系统相区分,考虑到该系统用于对共享资源进行统一规划和编排,因此在以下实施方式中将对共享资源进行管理和调度的系统称为资源编排系统。图2是根据本申请实施例的共享资源汇总管理的流程示意图,如图2所示,还可以设置一个进行资源汇总的系统,即图2中的资源汇总系统,该资源汇总系统用于完成资源的汇总,即通过该资源汇总系统可以完成资源的输入从而将输入的资源汇总为共享资源,编排系统用于对共享资源进行管理和调度,为使用共享资源的系统分配共享资源,从而完成共享资源的输出。在实际应用时也可以通过一个系统完成资源汇总系统和资源编排系统的功能。该图1中示出的步骤均可以由资源编排系统来执行。In an optional implementation, in order to better manage and schedule shared resources, a system for managing and scheduling shared resources can be set up. In order to distinguish this system from systems that use shared resources, consider The system is used for unified planning and orchestration of shared resources, so the system for managing and scheduling shared resources is referred to as a resource orchestration system in the following implementation manners. Fig. 2 is a schematic flow diagram of shared resource summary management according to an embodiment of the present application. As shown in Fig. 2, a system for resource summary, that is, the resource summary system in Fig. 2 may also be set up, and the resource summary system is used to complete the The summary of resources, that is, through the resource summary system, the input of resources can be completed and the input resources can be summarized into shared resources. The orchestration system is used to manage and schedule shared resources, and allocate shared resources to systems that use shared resources, thereby completing shared resources. Output. In actual application, the functions of the resource aggregation system and the resource orchestration system can also be completed through one system. All the steps shown in FIG. 1 can be executed by the resource orchestration system.

步骤S104,确定所述系统在所述共享资源中的最大可用资源量,并将所述最大可用资源量发送给所述系统。Step S104, determining the maximum amount of available resources of the system in the shared resources, and sending the maximum amount of available resources to the system.

在该步骤中,系统对应的最大可用资源量可以是预先配置好的,或者作为另一个可选的实施方式,系统的最大可用资源量还可以是根据共享资源的种类和系统所提供的服务对该种类资源的需求程度生成的,例如在共享资源为带宽资源的情况下,视频直播系统和用于进行大数据计算汇总的大数据处理系统相比,视频直播系统对带宽资源的需求更大,因此,在分配带宽资源时,视频直播系统的最大可用资源量大于大数据处理系统的最大可用资源量。又例如,在共享资源为存储资源的情况下,视频直播系统和大数据处理系统相比,大数据处理系统对存储资源的需求更大,因此,在分配存储资源时,大数据处理系统的最大可用资源量大于视频直播系统的最大可用资源量。在该可选实施方式中,在分配不同种类的共享资源时根据共享资源的种类来确定该系统对于该种类的共享资源的最大可用资源量,以保证系统对不同种类的共享资源的需求能够得到满足。In this step, the corresponding maximum amount of available resources of the system may be pre-configured, or as another optional implementation, the maximum amount of available resources of the system may also be based on the types of shared resources and the services provided by the system. It is generated by the demand level of this type of resources. For example, when the shared resources are bandwidth resources, the video live broadcast system has a greater demand for bandwidth resources than the big data processing system used for big data calculation and aggregation. Therefore, when allocating bandwidth resources, the maximum available resources of the video live broadcast system are greater than the maximum available resources of the big data processing system. For another example, when the shared resources are storage resources, compared with the big data processing system, the video live broadcast system has a greater demand for storage resources. Therefore, when allocating storage resources, the maximum of the big data processing system The amount of available resources is greater than the maximum amount of available resources of the video live broadcast system. In this optional implementation, when allocating different types of shared resources, the maximum amount of resources available to the system for this type of shared resources is determined according to the type of shared resources, so as to ensure that the system's requirements for different types of shared resources can be met. satisfy.

步骤S106,接收所述系统根据所述最大可用资源量确定的所需资源的量,其中,所述系统所需资源的量小于等于所述最大可用资源量。Step S106, receiving the amount of required resources determined by the system according to the maximum available resource amount, wherein the amount of required resources by the system is less than or equal to the maximum available resource amount.

在上述步骤中可以得到该系统可以使用的最大可用资源量,该最大可用资源量并不等同于该系统所需资源的量,例如,一个系统确定其能够使用的存储资源中最大可用资源量为10G(1KB=1024字节,1MB=1024KB,1G=1024MB),即该系统实际需要的存储资源的不能超过10G,此时,如果该系统所需资源的量为8G,则可以将8G作为该系统所需资源的量。In the above steps, the maximum amount of available resources that the system can use can be obtained. The maximum amount of available resources is not equal to the amount of resources required by the system. For example, a system determines that the maximum amount of available resources in the storage resources that it can use is 10G (1KB = 1024 bytes, 1MB = 1024KB, 1G = 1024MB), that is, the storage resources actually required by the system cannot exceed 10G. At this time, if the amount of resources required by the system is 8G, then 8G can be used as the The amount of resources required by the system.

步骤S108,根据所述系统所需资源的量从所述共享资源中为所述系统分配资源,其中,为所述系统分配的资源小于等于所述最大可用资源量。Step S108, allocate resources to the system from the shared resources according to the amount of resources required by the system, wherein the resources allocated to the system are less than or equal to the maximum available resource amount.

在该步骤中涉及到根据系统所需资源的量进行资源分配,作为一个简单的实现方式,系统所需要资源的量是多少就可以为该系统分配多少资源,即在上述例子中,系统所需要的存储资源的量是8G,则8G可以作为为该系统分配的资源。但是在实际实施的过程中,系统在实际运行过程所使用的资源不一定是个平稳的过程,其还有可能出现短暂的资源使用峰值(该峰值可能会超过之前计算得到的系统所需资源的量),为了解决这个问题,作为一个可选的实施方式,可以在系统所需资源的量上适当增加一些资源(例如,增加预定百分比的资源)作为为该系统分配的资源的量,即从所述共享资源中分配与所述系统所需资源的量相等或者大于所述系统所需资源的量的资源,通过该可选实施方式为系统在实际运行中产生的突发资源增加的情况提供保证。对于上述例子,可以增加10%的资源,即8G*10%=0.8G的资源,此时该系统所需要的资源的量为8G,但是为该系统分配的资源的量为8.8G,需要注意的是,为系统最终分配的资源的量小于或等于该系统对应的最大可用资源量。This step involves resource allocation according to the amount of resources required by the system. As a simple implementation method, as many resources as the amount of resources required by the system can be allocated to the system, that is, in the above example, the system needs If the amount of storage resources is 8G, then 8G can be used as the resource allocated for the system. However, in the actual implementation process, the resources used by the system in the actual operation process are not necessarily a smooth process, and there may be short-term resource usage peaks (the peak may exceed the amount of resources required by the system calculated before) ), in order to solve this problem, as an optional implementation, some resources (for example, a predetermined percentage of resources) can be appropriately added to the amount of resources required by the system as the amount of resources allocated for the system, that is, from the Allocate resources that are equal to or greater than the amount of resources required by the system among the shared resources, and provide guarantees for the sudden increase in resources generated by the system during actual operation through this optional implementation . For the above example, 10% of resources can be added, that is, 8G*10%=0.8G of resources. At this time, the amount of resources required by the system is 8G, but the amount of resources allocated for the system is 8.8G. Note that What is more important is that the amount of resources finally allocated to the system is less than or equal to the corresponding maximum available resource amount of the system.

在该步骤中根据系统所需资源的量从所述共享资源中分配资源,并且为该系统分配的资源不会超过该系统对应的最大可用资源量,如果在分配资源之后,最大可用资源量中还有剩余的资源,则将该剩余的资源重新放回共享资源中用于为其他系统来进行资源分配。In this step, resources are allocated from the shared resources according to the amount of resources required by the system, and the resources allocated to the system will not exceed the corresponding maximum available resources of the system. If there are remaining resources, the remaining resources are put back into the shared resources for resource allocation for other systems.

在上述步骤中,需要使用共享资源的系统均在其对应的最大可用资源量中进行资源分配,这样保证了各个系统分配的资源均存在上限,避免了一些系统对共享资源无节制的抢占,通过上述步骤解决了现有技术中分配共享资源不均衡所导致的问题,在一定程度上提高了共享资源分配的合理性,进而提高了使用共享资源的系统的运行稳定性。In the above steps, the systems that need to use shared resources allocate resources within their corresponding maximum available resources, which ensures that there is an upper limit for the resources allocated by each system, and avoids unrestrained preemption of shared resources by some systems. The above steps solve the problem caused by the unbalanced allocation of shared resources in the prior art, improve the rationality of shared resource allocation to a certain extent, and further improve the operation stability of the system using shared resources.

不同系统对应的最大可用资源量可以是预先配置好的,或者也可以是与系统对应的优先级有关的,即在一个可选实施方式中可以引入优先级,不同优先级对应不同的最大可用资源量,在分配共享资源时按照系统的优先级对应的最大可用资源量来进行分配,以尽量满足各个系统对共享资源的需求。即确定所述系统在所述共享资源中的最大可用资源量可以包括如下步骤:获取所述系统的优先级;根据所述系统的优先级确定所述系统在所述共享资源中的最大可用资源量。The maximum available resources corresponding to different systems can be pre-configured, or can also be related to the priority of the system, that is, in an optional implementation, priorities can be introduced, and different priorities correspond to different maximum available resources When allocating shared resources, allocate them according to the maximum amount of available resources corresponding to the priority of the system, so as to meet the needs of each system for shared resources as much as possible. That is, determining the maximum amount of available resources of the system in the shared resources may include the following steps: obtaining the priority of the system; determining the maximum available resources of the system in the shared resources according to the priority of the system quantity.

系统的优先级可以是预先配置好的,或者作为另一个可选的实施方式,系统的优先级还可以是根据共享资源的种类和系统所提供的服务对该种类资源的需求程度生成的,例如在共享资源为带宽资源的情况下,视频直播系统和用于进行大数据计算汇总的大数据处理系统相比,视频直播系统对带宽资源的需求更大,因此,在分配带宽资源时,视频直播系统的优先级大于大数据处理系统的优先级。又例如,在共享资源为存储资源的情况下,视频直播系统和大数据处理系统相比,大数据处理系统对存储资源的需求更大,因此,在分配存储资源时,大数据处理系统的优先级大于视频直播系统的优先级。在该可选实施方式中,系统所对应的最大可用资源量跟自身的优先级相关,在分配不同种类的共享资源时根据共享资源的种类来确定系统的优先级,以保证系统对不同种类的共享资源的需求能够得到满足。The priority of the system can be pre-configured, or as another optional implementation, the priority of the system can also be generated according to the type of shared resource and the service provided by the system. When the shared resources are bandwidth resources, compared with the big data processing system used for big data calculation and summarization, the video live broadcast system has a greater demand for bandwidth resources. Therefore, when allocating bandwidth resources, the video live broadcast system The priority of the system is higher than that of the big data processing system. For another example, when the shared resources are storage resources, compared with the big data processing system, the video live broadcast system has a greater demand for storage resources. Therefore, when allocating storage resources, the priority of the big data processing system is The priority is higher than the priority of the live video system. In this optional implementation, the maximum amount of available resources corresponding to the system is related to its own priority. When allocating different types of shared resources, the priority of the system is determined according to the type of shared resources, so as to ensure that the system is The needs of shared resources can be met.

在使用共享资源的多个系统中,优先级高的系统所占用的资源的量要比优先级低的系统占用的资源的量大,也就是说优先级高的系统在进行资源分配时占据更多的主动权,这会产生另一种情况:优先级高的系统在使用为其分配的资源运行的过程中,可能出现资源不足的情况,此时如果为了保证优先级高的系统能够获取到充分的资源,可以允许优先级高的系统从优先级低的系统中抢占资源,这种方式在实际运行中虽然可以保证优先级高的系统得到充足的资源,但是资源抢占会使优先级低的系统的运行受到很大的影响,严重时甚至导致优先级低的系统无法正常运行。为了解决这个问题,将该系统优先级对应的最大可用资源量作为为该系统分配资源的上限,通过这种方式可以避免高优先级系统对低优先级系统的资源的抢占。在上述实施方式中,考虑到系统最大可用资源量就是该系统能够使用的资源的上限,在确定系统所需资源的量时,可以充分考虑各种情况,尽量按照能够满足需要系统最大需求的情况下来确定系统所需资源的量。在一种可选实施方式中,如果在所述系统所需资源的量上增加资源,并将增加资源后的量作为给所述系统分配的资源,则可以根据根据系统的优先级确定增加资源的量,系统的优先级越高则可以增加资源的量越大,但是为系统最终分配的资源不能超过最大可用资源量。通过这可选实施方式,一方面可以为系统提供一定的资源冗余量,以保证系统资源使用的稳定性,另一方面还可以将对优先级高的系统所使用的资源进行限制,保证各个优先级的系统均能够得到对应的共享资源,保证了资源在各个系统之间分配的均衡性。Among multiple systems using shared resources, the resources occupied by the system with high priority are larger than those occupied by the system with low priority, that is to say, the system with high priority occupies more resources during resource allocation. More initiative, this will produce another situation: the system with high priority may run out of resources during the process of using the resources allocated to it. At this time, if in order to ensure that the system with high priority can obtain Sufficient resources can allow high-priority systems to preempt resources from low-priority systems. Although this method can ensure that high-priority systems get sufficient resources in actual operation, resource preemption will make low-priority systems The operation of the system is greatly affected, and in severe cases, even the system with low priority cannot operate normally. In order to solve this problem, the maximum amount of available resources corresponding to the system priority is used as the upper limit of resource allocation for the system. In this way, high priority systems can avoid preempting resources of low priority systems. In the above embodiments, considering that the maximum amount of available resources of the system is the upper limit of the resources that the system can use, when determining the amount of resources required by the system, various situations can be fully considered, and the situation that can meet the maximum requirements of the system can be used as much as possible. down to determine the amount of resources required by the system. In an optional implementation manner, if resources are added to the amount of resources required by the system, and the amount after the increase in resources is used as the resource allocated to the system, the increase in resources can be determined according to the priority of the system The higher the priority of the system, the greater the amount of resources that can be added, but the resources finally allocated to the system cannot exceed the maximum available resources. Through this optional implementation, on the one hand, a certain amount of resource redundancy can be provided for the system to ensure the stability of system resource usage; on the other hand, the resources used by systems with high priority can be limited to ensure that All priority systems can obtain corresponding shared resources, which ensures the balance of resource allocation among systems.

上述可选实施方式为各个优先级的系统对共享资源的使用设置了上限,在一定能程度上保证资源分配的均衡性。但是考虑到实际环境中的复杂性,仍然可能存在为系统分配的资源不够的情况,为了解决这个问题,作为一个可选的实施方式,可以通过资源的预留来解决这个问题。即提前将一部分资源进行资源预留,其中,预留的资源不参与所述多个系统的资源分配;在为所述多个系统分配资源之后,接收所述多个系统中的至少之一发送的第二请求消息,其中,所述第二请求消息用于指示发送该第二请求消息的系统需要在已经分配的资源的基础上增加资源;从所述预留的资源中向发送所述第二请求消息的系统分配资源。例如,共享的存储资源总共为1000G,在为多个系统分配存储资源时,从1000G中预留出一定比例的资源作为预留资源(可以预留5%到10%),如果预留了10%作为预留资源,则1000G*10%=100G的存储资源不会作为共享资源在多个系统之间进行分配。The above optional implementation manner sets an upper limit for the use of shared resources by systems of each priority, which can ensure the balance of resource allocation to a certain extent. However, considering the complexity of the actual environment, there may still be insufficient resources allocated to the system. In order to solve this problem, as an optional implementation manner, this problem can be solved by resource reservation. That is, reserve a part of resources in advance, wherein the reserved resources do not participate in the resource allocation of the multiple systems; after allocating the resources for the multiple systems, receive a message sent by at least one of the multiple systems The second request message, wherein the second request message is used to indicate that the system sending the second request message needs to increase resources on the basis of allocated resources; send the second request message from the reserved resources to the Two request messages for the system to allocate resources. For example, the shared storage resources are 1000G in total. When allocating storage resources for multiple systems, reserve a certain proportion of resources from 1000G as reserved resources (5% to 10% can be reserved). If 10 % is used as a reserved resource, the storage resource of 1000G*10%=100G will not be allocated among multiple systems as a shared resource.

该预留的资源可以作为备用资源来使用,例如在新增加使用共享资源的系统的情况下,可以将该预留的资源分配给新增加的系统。考虑到新增加系统的情况不是经常发生,该预留的资源更多用于在已分配资源的系统在资源不足时使用,此时,如果仅有一个系统请求从预留资源中分配额外的资源,则直接根据该请求从预留资源中进行资源分配即可,如果是多个系统请求从预留的资源中分配资源,则根据系统的优先级来进行分配。即从所述预留的资源中向发送所述第二请求消息的系统分配资源包括:在接收到至少两个系统发送的第二请求消息的情况下,按照所述至少两个系统的优先级从高到低的顺序从所述预留的资源中为所述至少两个系统分配资源。在上述例子中,预留的资源为100G,接收到两个系统发送的第二请求消息,其中A系统的优先级高于B系统,A系统请求分配80G的存储资源,B系统请求分配30G的存储资源,此时为A系统优先分配80G的存储资源,然后将100G-80G=20G的剩余存储资源分配给B系统,并通知B系统资源仅剩余20G。The reserved resources can be used as spare resources. For example, when a system using shared resources is newly added, the reserved resources can be allocated to the newly added system. Considering that new systems are not frequently added, the reserved resources are more used when the allocated resources are insufficient. At this time, if only one system requests to allocate additional resources from the reserved resources , resource allocation can be performed directly from the reserved resources according to the request. If multiple systems request resource allocation from the reserved resources, the allocation is performed according to the priority of the system. That is, allocating resources from the reserved resources to the system sending the second request message includes: in the case of receiving the second request message sent by at least two systems, according to the priorities of the at least two systems Allocating resources for the at least two systems from the reserved resources in descending order. In the above example, the reserved resource is 100G, and the second request message sent by the two systems is received, and the priority of system A is higher than that of system B. System A requests the allocation of 80G storage resources, and system B requests the allocation of 30G storage resources. For storage resources, at this time, 80G storage resources are allocated to system A first, and then the remaining storage resources of 100G-80G=20G are allocated to system B, and system B is notified that only 20G of resources remain.

在使用共享资源的时候,从系统的运行速度和运行稳定性来讲,每个系统都希望获取到更多的资源,但是资源是有限的,因此资源编排系统根据待分配资源的系统的优先级确定了该系统能使用的最大可用资源量,然后根据所需资源的量最终确定资源分配的量(为系统分配的资源也被称作是系统占用的资源)。需要注意的是,考虑到资源的使用也是需要成本的,使用这些共享资源的系统希望具有资源确定的自主权,即希望该系统能够根据资源的成本和系统的实际情况来确定该系统所需资源的量。图3是根据本申请实施例的带成本的共享资源汇总的流程示意图,如图3所示,在资源汇总系统对资源进行汇总得到共享资源之后,计费规则系统可以将计费规则导入到共享资源中,这样就可以得到共享资源的使用成本。这样,每个系统所需资源的量可以让各个系统根据自身需要来确定。图4是根据本申请实施例的资源调度方法的流程图二,图4是从使用共享资源的系统角度来进行描述的,如图4所示,下面对图4中包括的步骤进行说明。When using shared resources, in terms of system speed and stability, each system hopes to obtain more resources, but resources are limited, so the resource orchestration system is based on the priority of the system to be allocated resources The maximum amount of available resources that the system can use is determined, and then the amount of resource allocation is finally determined according to the amount of required resources (the resources allocated for the system are also referred to as resources occupied by the system). It should be noted that considering that the use of resources also requires cost, the system using these shared resources hopes to have the autonomy of resource determination, that is, it is hoped that the system can determine the resources required by the system according to the cost of resources and the actual situation of the system amount. Fig. 3 is a schematic flow chart of sharing resource summarization with cost according to an embodiment of the present application. As shown in Fig. 3, after the resource summarization system summarizes resources to obtain shared resources, the billing rule system can import billing rules into the shared resources. resources, so that the cost of using shared resources can be obtained. In this way, the amount of resources required by each system can be determined by each system according to its own needs. FIG. 4 is the second flow chart of the resource scheduling method according to the embodiment of the present application. FIG. 4 is described from the perspective of a system using shared resources. As shown in FIG. 4 , the steps included in FIG. 4 will be described below.

步骤S402,发送请求消息,其中,所述请求消息用于请求为系统分配资源,所述系统为共同使用共享资源的多个系统之一;Step S402, sending a request message, wherein the request message is used to request resource allocation for a system, and the system is one of multiple systems that jointly use shared resources;

步骤S404,接收所述系统对应的最大可用资源量;Step S404, receiving the maximum amount of available resources corresponding to the system;

步骤S406,根据所述系统实际所需资源和所述最大可用资源量确定所述系统所需资源的量,其中,所述系统所需资源的量小于等于所述最大可用资源量;Step S406, determining the amount of resources required by the system according to the actual resources required by the system and the maximum amount of available resources, wherein the amount of resources required by the system is less than or equal to the maximum amount of available resources;

步骤S408,发送所述系统所需资源的量;Step S408, sending the amount of resources required by the system;

步骤S410,接收从所述共享资源中为所述系统分配的资源,其中,为所述系统分配的资源是根据所述系统所需资源的量分配的。Step S410, receiving resources allocated for the system from the shared resources, wherein the resources allocated for the system are allocated according to the amount of resources required by the system.

通过上述步骤,系统可以根据自身的最大可用资源的量确定本系统所需要的资源的量,一方面对于共享资源的使用该系统有一定的自主权来确定所使用的资源的量,另一方面系统使用的资源也受到了最大可用资源量的限制,从而保证了各个系统间资源分配的均衡性,提供了多个系统运行的稳定性。Through the above steps, the system can determine the amount of resources required by the system according to the amount of its own maximum available resources. On the one hand, the system has a certain autonomy to determine the amount of resources used for the use of shared resources. On the other hand, The resources used by the system are also limited by the maximum amount of available resources, thus ensuring the balance of resource allocation among the various systems and providing the stability of the operation of multiple systems.

在一个实施方式中,可以将上述资源编排系统和共享资源的多个系统作为一个整体资源调度系统,在该资源调度系统中,待分配共享资源的系统发送请求消息;资源编排系统接收来自待分配共享资源的系统的请求消息;资源编排系统获取所述系统的优先级,并根据所述系统的优先级获取所述系统对应的最大可用资源量,资源编排系统将所述最大可用资源量发送给所述系统;所述系统接收所述最大可用资源量,并在所述最大可用资源量中确定所述系统所需资源的量;所述系统将该系统所需资源的量发送给资源编排系统;资源编排系统接收所述系统所需资源的量,并根据所述系统所需资源的量从所述最大可用资源量为所述系统分配资源;所述系统接收并使用为所述系统分配的资源。In one embodiment, the above-mentioned resource orchestration system and multiple systems that share resources can be used as an overall resource scheduling system. In the resource scheduling system, the system to be allocated shared resources sends a request message; the resource orchestration system receives requests from A request message of a system sharing resources; the resource orchestration system obtains the priority of the system, and obtains the maximum amount of available resources corresponding to the system according to the priority of the system, and the resource orchestration system sends the maximum amount of available resources to The system; the system receives the maximum amount of available resources, and determines the amount of resources required by the system in the maximum amount of available resources; the system sends the amount of resources required by the system to the resource orchestration system The resource orchestration system receives the amount of resources required by the system, and allocates resources for the system from the maximum available resource amount according to the amount of resources required by the system; the system receives and uses the allocated resources for the system resource.

在上述步骤中,在分配资源时,可以获取到所述多个系统中的优先级,然后按照优先级的高低依次来分配资源。所述多个系统中优先级最高的系统能够使用的最大可用资源量为全部所述共享资源,除所述优先级最高的系统之外,其他优先级的系统能够使用的最大可用资源量为所述共享资源中剩余资源的量,所述剩余资源为所述共享资源中减去被优先级高于本系统的其余系统占用的资源后剩余的资源。图5是根据本申请实施例的为多个系统分配共享资源的示意图,如图5所示,系统1的优先级大于系统2的优先级,系统2的优先级大于系统3的优先级,系统3的优先级大于系统4的优先级,资源编排系统首先将共享资源全部作为系统1的最大可用资源量,然后系统1分配了共享资源的30%作为系统1的资源;将剩余的共享资源作为系统2的能够使用的最大可用资源量,然后系统2又分配了剩余共享资源的30%作为系统2的资源;将系统2分配后的剩余的共享资源作为系统3的能够使用的最大可用资源量,然后系统3又分配了剩余共享资源的50%作为系统3的资源;将系统3分配后的剩余的共享资源作为系统4的能够使用的最大可用资源量,然后系统4又分配了剩余共享资源的30%作为系统4的资源。在经过4个系统分配之后,对于剩余的资源可以作为预留的资源,在新系统加入或者四个系统资源不够用时从预留的资源中再进行分配。In the above steps, when allocating resources, the priorities in the multiple systems can be obtained, and then resources are allocated in sequence according to the priority. Among the multiple systems, the maximum amount of available resources that can be used by the system with the highest priority is all the shared resources. Except for the system with the highest priority, the maximum amount of available resources that can be used by systems with other priorities is all shared resources. The amount of remaining resources in the shared resources, where the remaining resources are the remaining resources after subtracting the resources occupied by other systems with a higher priority than the current system in the shared resources. Fig. 5 is a schematic diagram of allocating shared resources for multiple systems according to an embodiment of the present application. As shown in Fig. 5, the priority of system 1 is higher than that of system 2, the priority of system 2 is higher than that of system 3, and the priority of system 3 is higher than that of system 3. The priority of system 3 is higher than that of system 4. The resource orchestration system first takes all shared resources as the maximum available resources of system 1, and then system 1 allocates 30% of the shared resources as resources of system 1; the remaining shared resources are used as The maximum amount of available resources that can be used by System 2, and then System 2 allocates 30% of the remaining shared resources as the resources of System 2; the remaining shared resources allocated by System 2 are used as the maximum amount of available resources that can be used by System 3 , and then system 3 allocates 50% of the remaining shared resources as the resources of system 3; the remaining shared resources allocated by system 3 are taken as the maximum amount of available resources that can be used by system 4, and then system 4 allocates the remaining shared resources 30% as system 4 resources. After the four systems are allocated, the remaining resources can be used as reserved resources, and can be allocated from the reserved resources when a new system is added or the resources of the four systems are not enough.

图6是根据本申请实施例的按照优先级顺序分配资源的示意图,如图6所示,系统A作为优先级最高的系统,其可见资源(即最大可用资源)为共享资源的全部,资源编排系统为系统A分配了可见资源的60%作为系统A的资源;系统B的优先级低于系统A,但是高于系统C,其可见资源是资源编排系统为系统A分配资源之后剩余的资源,资源编排系统为系统B分配了其可见资源的60%作为系统B的资源;系统C的优先级最低,并且在系统C之后已经没有其他系统共享该资源,系统C可见资源是为系统A和系统B分配之后的剩余资源,由于系统C是最后一个分配该共享资源的系统,因此资源编排系统将可见资源的全部(即100%)分配给了系统C。需要说明的是,图6中的预留资源一直未参与共享资源的分配。图6中的系统B在确定自身所需要的资源时,由于系统C还未分配资源,其并不能独占其所有可见资源。作为一个可选实施方式,按照系统优先级高低依次进行共享资源分配时,每个系统在确定该系统所需资源的量时,也可以考虑尚未分配资源的系统,例如,根据所述系统实际所需资源和所述最大可用资源量确定所述系统所需资源的量包括:在所述系统实际所需资源的量小于所述最大可用资源量的情况下,将所述系统实际所需资源的量作为所述系统所需资源的量;在所述系统实际所需资源的量大于或者等于所述最大可用资源量,并且存在优先级小于所述系统的其余系统尚未分配资源的情况下,从所述最大可用资源量中获取部分资源作为所述系统所需资源的;其中,所述部分资源是根据所述系统和优先级小于所述系统的其他系统的优先级确定的,优先级越高从所述最大可用资源量中获取到的资源越多。Fig. 6 is a schematic diagram of allocating resources according to the order of priority according to the embodiment of the present application. As shown in Fig. 6, system A is the system with the highest priority, and its visible resources (that is, the maximum available resources) are all shared resources, and the resource arrangement The system allocates 60% of the visible resources to system A as the resources of system A; the priority of system B is lower than that of system A, but higher than that of system C, and its visible resources are the remaining resources after the resource orchestration system allocates resources for system A. The resource orchestration system allocates 60% of its visible resources to system B as the resources of system B; system C has the lowest priority, and no other system after system C has shared this resource, and the visible resources of system C are for system A and system For the remaining resources after allocation by B, since system C is the last system to allocate the shared resources, the resource orchestration system allocates all (ie 100%) of the visible resources to system C. It should be noted that the reserved resources in FIG. 6 have not participated in the allocation of shared resources. When system B in FIG. 6 determines the resources it needs, since system C has not allocated resources, it cannot monopolize all its visible resources. As an optional implementation, when allocating shared resources in sequence according to the system priority, each system may also consider systems that have not allocated resources when determining the amount of resources required by the system, for example, according to the actual resources of the system Determining the amount of resources required by the system includes: when the amount of resources actually required by the system is less than the maximum amount of available resources, combining the amount of resources actually required by the system The amount is used as the amount of resources required by the system; when the actual amount of resources required by the system is greater than or equal to the maximum available resource amount, and there are other systems with a lower priority than the system that have not yet allocated resources, from Obtain part of resources from the maximum amount of available resources as resources required by the system; wherein, the part of resources is determined according to the priority of the system and other systems whose priority is lower than that of the system, and the higher the priority The more resources are obtained from the maximum amount of available resources.

上述实施方式中的资源分配方式可以应用到多种网络或者应用到其他多种网络或场景中,下面以在内容分发网络(Content Delivery Network,简称为CDN)为例进行说明。CDN是构建在现有网络基础之上的用于进行内容分发的网络。内容分发网络通过负载均衡、资源调度等技术手段进行内容分发,使用户就近获取所需要的内容,降低网络拥塞,提高用户获取所需要的内容的速度。图7是根据本申请实施例的CDN网络的架构示意图,如图7所示,源站作为内容的提供方,其将内容提供给CDN节点,这样位于不同位置的用户可以选择距离自己最近的CDN节点来获取该内容,提高内容获取的速度。CDN节点位于网络的边缘,更加靠近用户,因此也将图7中的CDN节点称为边缘节点,除了图7中示出的边缘节点之外,边缘节点与源站之间也可以设置中间节点(图7中未示出),这些中间节点可以从源站获取内容,并将获取到的内容分发给边缘节点,在以下实施方式将中间节点和边缘节点统称为节点。The resource allocation manner in the foregoing embodiments may be applied to various networks or to other various networks or scenarios. The following uses a content delivery network (Content Delivery Network, CDN for short) as an example for illustration. CDN is a network for content distribution built on the basis of existing networks. The content distribution network distributes content through technical means such as load balancing and resource scheduling, so that users can obtain the content they need nearby, reduce network congestion, and increase the speed at which users can obtain the content they need. Fig. 7 is a schematic diagram of the architecture of a CDN network according to an embodiment of the present application. As shown in Fig. 7, the origin site serves as the provider of the content, and it provides the content to the CDN node, so that users in different locations can choose the CDN closest to them Nodes to obtain the content, improving the speed of content acquisition. The CDN node is located at the edge of the network and is closer to the user. Therefore, the CDN node in FIG. 7 is also called an edge node. In addition to the edge node shown in FIG. 7, an intermediate node ( Not shown in FIG. 7 ), these intermediate nodes can acquire content from the source station, and distribute the acquired content to edge nodes. In the following embodiments, intermediate nodes and edge nodes are collectively referred to as nodes.

对于CDN网络来说,每个节点用来进行内容发送和内容存储,因此,节点也可以看作是CDN中使用的资源的一种,在各个节点之间需要链路来进行内容的传输,这些链路也可以作为CDN中使用的资源。需要说明的是,每个节点都可以包括多个物理服务器,这个物理服务器可以分为多个组,不同的组可以提供不同的服务,这些分组也可以看作是资源的一种。使用CDN网络可以分发各种内容,例如视频系统可以使用CDN分发视频,网页系统可以使用CDN分发网页等,这些系统在使用CDN进行内容分发时,共享的资源为所述内容分发网络中用于进行内容分发的资源,例如,节点、分组和链路等。在本可选实施方式中将使用CND进行内容分发的视频系统、网页系统等系统称为组件。For a CDN network, each node is used to send and store content. Therefore, a node can also be regarded as a type of resource used in a CDN. Links are needed between nodes to transmit content. These Links can also be used as resources in CDN. It should be noted that each node can include multiple physical servers, and the physical servers can be divided into multiple groups, and different groups can provide different services, and these groups can also be regarded as a type of resource. A variety of content can be distributed using a CDN network. For example, a video system can use a CDN to distribute videos, and a webpage system can use a CDN to distribute web pages. When these systems use a CDN for content distribution, the shared resources are used in the content distribution network. Resources for content distribution, such as nodes, groups, and links. In this optional implementation manner, systems such as video systems and webpage systems that use CND for content distribution are called components.

使用CDN进行内容分发的不仅仅是视频系统和网页系统,事实上CDN会有多个组件(即使用CDN进行内容分发的系统)共享资源。随着组件(即系统)数量的增加,假如这些组件使用资源时没有相互协调,会造成资源相互冲突。在本实施方式中,引入资源编排系统来解决多个组件使用共享资源产生的冲突。由于共享资源比较复杂,资源编排系统可以将能够使用的共享资源抽取出来便于进行资源调度,实现共享资源(该共享资源可以是CDN的全网资源)统一编排,避免不同组件争抢冲突和资源浪费。It is not just video systems and webpage systems that use CDN for content distribution. In fact, CDN will have multiple components (that is, systems that use CDN for content distribution) to share resources. As the number of components (that is, the system) increases, if these components do not coordinate with each other when using resources, resources will conflict with each other. In this embodiment, a resource orchestration system is introduced to resolve conflicts caused by multiple components using shared resources. Due to the complexity of shared resources, the resource orchestration system can extract the shared resources that can be used for resource scheduling, realize the unified arrangement of shared resources (the shared resources can be CDN's entire network resources), and avoid conflicts between different components and resource waste .

在本可选实施方式中,对各个组件使用不同类型资源的优先级进行管理,根据优先级来进行共享资源的分配和管控,并且,还可以增加资源监控手段,在资源异常使用时进行告警。例如,在为组件1、组件2和组件3分配节点资源时,组件1的优先级高于组件2的优先级,组件2的优先级高于组件3的优先级,为组件1分配的边缘节点为节点A、节点B和节点C,其中,节点A的资源为组件1独享3为组件2分配了节点B和节点C,其中,节点B为组件1和组件2共享;为组件3分配了节点B和节点C,其中,节点C为组件1、组件2和组件3共享。在对节点A、节点B和节点C的流量进行监控时发现节点C中的组件1的流量大于节点A中的组件1的流量,这说明为组件1分配的节点A没有被充分使用,此时可以发起告警。In this optional implementation, the priorities of different types of resources used by each component are managed, and shared resources are allocated and controlled according to the priorities, and resource monitoring means can also be added to give an alarm when resources are used abnormally. For example, when assigning node resources to component 1, component 2, and component 3, the priority of component 1 is higher than that of component 2, and the priority of component 2 is higher than that of component 3. The edge node allocated to component 1 For node A, node B and node C, among them, the resources of node A are exclusively shared by component 3. For component 2, node B and node C are allocated, among which, node B is shared by component 1 and component 2; for component 3, resources are allocated Node B and node C, wherein node C is shared by component 1, component 2 and component 3. When monitoring the traffic of nodes A, B, and C, it is found that the traffic of component 1 in node C is greater than the traffic of component 1 in node A, which means that node A allocated for component 1 is not fully used. At this time Alerts can be raised.

在分配共享资源时,组件查询按照资源名称(例如,节点的名称、分组的名称、链路的名称)查询该组件能够使用的最大可用资源量。资源编排系统根据组件的标识信息、组件的优先级和组件查询的资源获取组件查询的共享资源中该组件能够使用的最大可用资源量,每个组件能够使用的最大可用资源量可以根据该组件的优先级、使用该共享资源的组件的数量和剩余的资源得到,在得到最大可用资源量之后将该最大可用资源量返回给组件。组件根据最大可用资源量进行资源规划,计算本轮规划在节点、分组和链路上计划使用的资源,上报给资源编排系统(在上报的消息中携带组件名,资源名)。对于每种类型的资源,还可以预留一定的缓冲区,该缓冲区中的资源作为预留资源在组件资源不足时使用,如果不同优先级的组件均请求使用该预留资源,则高优先级的组件对低优先级的组件进行一定程度的抢占(即优先满足高优先级的组件的需求)。When allocating shared resources, the component queries the maximum amount of available resources that the component can use according to the resource name (for example, the name of the node, the name of the group, the name of the link). The resource orchestration system obtains the maximum amount of available resources that the component can use in the shared resources queried by the component according to the identification information of the component, the priority of the component, and the resources queried by the component. The maximum amount of available resources that each component can use can be determined according to the component's The priority, the number of components using the shared resource, and the remaining resources are obtained, and the maximum available resource is returned to the component after obtaining the maximum available resource. The component performs resource planning according to the maximum amount of available resources, calculates the resources planned to be used on nodes, groups and links in this round of planning, and reports to the resource orchestration system (the reported message carries the component name and resource name). For each type of resource, a certain buffer can also be reserved. The resources in this buffer are used as reserved resources when the component resources are insufficient. If components of different priorities all request to use the reserved resources, the high priority High-level components preempt low-priority components to a certain extent (that is, satisfy the needs of high-priority components first).

在不同优先级的策略组件同时使用资源时,由于高优先级的组件对共享资源的抢占有着绝对的优先级,低优先级的组件在规划时只能看到高优先级组件分配资源后的剩余资源。如果高优先级的组件对于共享资源的抢占过多,则会对低优先级的组件造成影响。在本可选实施方式中,对于每个组件,可以配置一定比例的资源使用比例上限(即最大可用资源量,也可以称为配额),实现资源硬隔离,通过资源配额,降低甚至消除高优先级的组件抢占资源对低优先级组件的影响,使用设定好的优先级和配额共同作用为该组件分配当前可用的资源,增加了系统的稳定性。When policy components with different priorities use resources at the same time, since high priority components have absolute priority in preempting shared resources, low priority components can only see the remainder of resources allocated by high priority components during planning. resource. If high-priority components preempt too much shared resources, it will affect low-priority components. In this optional implementation, for each component, you can configure a certain proportion of the upper limit of resource usage (that is, the maximum amount of available resources, which can also be called a quota), to achieve hard isolation of resources, and reduce or even eliminate high-priority resources through resource quotas. The impact of high-level components preempting resources on low-priority components, using the set priority and quota to allocate currently available resources to this component, increases the stability of the system.

需要说明的是,上述资源编排系统可以仅用于共享资源的分配,即该资源编排系统不干预各个组件所提供的服务,通过这种方式,可以将资源调度和提供服务交由不同的系统来执行,各个组件重点关注其所提供的服务是否正常,而资源调度部分交由资源编排系统来执行,使得资源分配更加清晰,有利于CDN网络的稳定性。即上述资源编排系统对多种组件进行协调,消除了多个组件之间对资源的分配的单独管理,去除了复杂混乱的资源预留关系,对资源管理进行了统一。It should be noted that the above resource orchestration system can only be used for the allocation of shared resources, that is, the resource orchestration system does not interfere with the services provided by each component. In this way, resource scheduling and service provision can be handed over to different systems. Execution, each component focuses on whether the services it provides are normal, and the resource scheduling part is executed by the resource orchestration system, which makes resource allocation clearer and is conducive to the stability of the CDN network. That is, the above-mentioned resource orchestration system coordinates various components, eliminates separate management of resource allocation among multiple components, removes complicated and chaotic resource reservation relationships, and unifies resource management.

在本实施例中,提供一种电子装置,包括存储器和处理器,存储器中存储有计算机程序,处理器被设置为运行计算机程序以执行以上实施例中的方法。In this embodiment, an electronic device is provided, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the methods in the above embodiments.

上述程序可以运行在处理器中,或者也可以存储在存储器中(或称为计算机可读介质),计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。The above-mentioned program can run in the processor, or can also be stored in the memory (or called computer-readable medium), and the computer-readable medium includes permanent and non-permanent, removable and non-removable technology for information storage. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.

这些计算机程序也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤,对应与不同的步骤可以通过不同的模块来实现。These computer programs can also be loaded onto a computer or other programmable data processing device, so that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device Steps are provided for realizing the functions specified in one or more processes of the flowchart and/or one or more blocks of the block diagram, and different corresponding steps may be implemented by different modules.

该本实施例中就提供了这样的一种装置。该装置被称为资源调度装置,该装置中的模块对应于图1中示出的步骤,该装置包括:第一接收模块,用于接收来自系统的请求消息,其中,所述系统为共同使用共享资源的多个系统之一,所述请求消息用于请求为所述系统分配资源;第一确定模块,用于确定所述系统在所述共享资源中的最大可用资源量,并将所述最大可用资源量发送给所述系统;第二接收模块,用于接收所述系统根据所述最大可用资源量确定的所需资源的量;分配模块,用于根据所述系统所需资源的量从所述共享资源中为所述系统分配资源,其中,为所述系统分配的资源小于等于所述最大可用资源量。Such a device is provided in this embodiment. The device is called a resource scheduling device, and the modules in the device correspond to the steps shown in Fig. 1, and the device includes: a first receiving module, configured to receive a request message from a system, wherein the system is used in common One of multiple systems that share resources, the request message is used to request resource allocation for the system; the first determination module is used to determine the maximum amount of available resources of the system in the shared resources, and send the The maximum amount of available resources is sent to the system; the second receiving module is used to receive the amount of required resources determined by the system according to the maximum amount of available resources; the allocation module is used to receive the amount of resources required by the system according to the amount of resources required by the system Allocating resources for the system from the shared resources, wherein the resources allocated for the system are less than or equal to the maximum available resource amount.

可选地,所述分配模块用于从所述共享资源中分配与所述系统所需资源的量相等或者大于所述系统所需资源的量的资源。Optionally, the allocation module is configured to allocate resources from the shared resources equal to or greater than the amount of resources required by the system.

可选地,所述第一确定模块用于获取所述系统的优先级;根据所述系统的优先级确定所述系统在所述共享资源中的最大可用资源量。Optionally, the first determining module is configured to obtain the priority of the system; determine the maximum amount of available resources of the system in the shared resources according to the priority of the system.

可选地,所述多个系统中优先级最高的系统能够使用的最大可用资源量为全部所述共享资源,除所述优先级最高的系统之外,其他优先级的系统能够使用的最大可用资源量为所述共享资源中剩余资源的量,所述剩余资源为所述共享资源中减去被优先级高于本系统的其余系统占用的资源后剩余的资源。Optionally, the maximum amount of available resources that can be used by the system with the highest priority among the multiple systems is all the shared resources. Except for the system with the highest priority, the maximum amount of available resources that other priority systems can use The resource amount is the amount of remaining resources in the shared resources, and the remaining resources are the remaining resources after subtracting the resources occupied by other systems with higher priority than the current system in the shared resources.

可选地,所述第一接收模块,还用于接收所述多个系统中的至少之一发送的第二请求消息,其中,所述第二请求消息用于指示发送该第二请求消息的系统需要在已经分配的资源的基础上增加资源;所述分配模块,还用于从预留的资源中向发送所述第二请求消息的系统分配资源,其中,所述预留的资源未参与所述多个系统的资源分配。Optionally, the first receiving module is further configured to receive a second request message sent by at least one of the multiple systems, where the second request message is used to indicate the sender of the second request message The system needs to increase resources on the basis of allocated resources; the allocating module is further configured to allocate resources from reserved resources to the system sending the second request message, wherein the reserved resources do not participate in Resource allocation for the plurality of systems.

可选地,所述分配模块,用于在接收到至少两个系统发送的第二请求消息的情况下,按照所述至少两个系统的优先级从高到低的顺序从所述预留的资源中为所述至少两个系统分配资源。Optionally, the allocating module is configured to, in the case of receiving the second request message sent by at least two systems, select from the reserved The resources are allocated to the at least two systems.

在另一个实施方式中,还提供了另一种资源调度装置,该装置中的模块对应于图4中示出的步骤,该装置包括:第一发送模块,用于发送请求消息,其中,所述请求消息用于请求为系统分配资源,所述系统为共同使用共享资源的多个系统之一;第三接收模块,用于接收所述系统对应的最大可用资源量;第二确定模块,用于根据所述系统实际所需资源和所述最大可用资源量确定所述系统所需资源的量,其中,所述系统所需资源的量小于等于所述最大可用资源量;第二发送模块,用于发送所述系统所需资源的量;第三接收模块,用于接收从所述共享资源中为所述系统分配的资源,其中,为所述系统分配的资源是根据所述系统所需资源的量分配的。In another embodiment, another device for resource scheduling is provided, the modules in the device correspond to the steps shown in FIG. 4 , and the device includes: a first sending module, configured to send a request message, wherein the The request message is used to request resource allocation for a system, and the system is one of multiple systems that jointly use shared resources; the third receiving module is used to receive the maximum amount of available resources corresponding to the system; the second determining module uses Determining the amount of resources required by the system according to the actual resources required by the system and the maximum amount of available resources, wherein the amount of resources required by the system is less than or equal to the maximum amount of available resources; the second sending module, Used to send the amount of resources required by the system; a third receiving module, used to receive resources allocated for the system from the shared resources, wherein the resources allocated for the system are based on the resources required by the system The amount of resources allocated.

可选地,所述第二确定模块,用于在所述系统实际所需资源的量小于所述最大可用资源量的情况下,将所述系统实际所需资源的量作为所述系统所需资源的量;在所述系统实际所需资源的量大于或者等于所述最大可用资源量,并且存在优先级小于所述系统的其余系统尚未分配资源的情况下,从所述最大可用资源量中获取部分资源作为所述系统所需资源的;其中,所述部分资源是根据所述系统和优先级小于所述系统的其他系统的优先级确定的,优先级越高从所述最大可用资源量中获取到的资源越多。Optionally, the second determination module is configured to use the amount of resources actually required by the system as the amount of resources actually required by the system when the amount of resources actually required by the system is less than the maximum amount of available resources. The amount of resources; when the amount of resources actually required by the system is greater than or equal to the maximum amount of available resources, and there are other systems with a lower priority than the system that have not yet allocated resources, the resources from the maximum amount of available resources Obtain part of the resources as the resources required by the system; wherein, the part of the resources is determined according to the priority of the system and other systems whose priority is lower than that of the system, and the higher the priority, the greater the amount of available resources The more resources you get from it.

可选地,所述多个系统为使用内容分发网络进行内容分发的系统,所述共享资源包括所述内容分发网络中用于进行内容分发的资源。Optionally, the multiple systems are systems that use a content distribution network for content distribution, and the shared resources include resources used for content distribution in the content distribution network.

上述装置用于实现上述的实施例中的方法的功能,该系统或者装置中的每个模块与方法中的每个步骤相对应,已经在方法中进行过说明的,在此不再赘述。The above-mentioned device is used to implement the functions of the methods in the above-mentioned embodiments. Each module in the system or device corresponds to each step in the method. What has been described in the method will not be repeated here.

通过上述可选实施方式,解决了现有技术中分配共享资源时所存在的使用该共享资源的系统可能无法得到相应资源从而影响该系统运行的问题,提高了共享资源分配的合理性,进而提高了使用共享资源的系统的运行稳定性。Through the above optional implementation mode, it solves the problem in the prior art that the system using the shared resource may not be able to obtain the corresponding resource when the shared resource is allocated, which affects the operation of the system, improves the rationality of the shared resource allocation, and further improves the This ensures the operational stability of systems using shared resources.

以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims (13)

1. A resource scheduling method comprises the following steps:
receiving a request message from a system, wherein the system is one of a plurality of systems which commonly use shared resources, and the request message is used for requesting to allocate resources for the system;
determining a maximum available resource amount of the system in the shared resources and sending the maximum available resource amount to the system;
receiving the amount of required resources determined by the system according to the maximum available resource amount;
and allocating resources to the system from the shared resources according to the amount of the resources required by the system, wherein the resources allocated to the system are less than or equal to the maximum available resource amount.
2. The method of claim 1, wherein allocating resources for the system from the shared resources according to the amount of resources required by the system comprises:
allocating resources from the shared resources that are equal to or greater than the amount of resources required by the system.
3. The method of claim 1, wherein determining a maximum amount of resources available to the system in the shared resources comprises:
acquiring the priority of the system;
and determining the maximum available resource amount of the system in the shared resources according to the priority of the system.
4. The method according to claim 3, wherein the maximum available resource amount that can be used by the system with the highest priority among the plurality of systems is all the shared resources, the maximum available resource amount that can be used by the systems with other priorities except the system with the highest priority is the amount of the remaining resources in the shared resources, and the remaining resources are the resources remaining after the resources occupied by the systems with higher priorities than the system are subtracted from the shared resources.
5. The method of any of claims 1-4, wherein after allocating resources for the plurality of systems, the method further comprises:
receiving a second request message sent by at least one of the systems, wherein the second request message is used for indicating that the system sending the second request message needs to increase resources on the basis of the allocated resources;
allocating resources from reserved resources to a system that sent the second request message, wherein the reserved resources do not participate in resource allocation for the plurality of systems.
6. The method of claim 5, wherein allocating resources from the reserved resources to a system that transmitted the second request message comprises:
and in the case of receiving second request messages sent by at least two systems, allocating resources for the at least two systems from the reserved resources according to the order of the priorities of the at least two systems from high to low.
7. The method of any of claims 1-4, wherein the plurality of systems are systems for content distribution using a content distribution network, and the shared resources include resources in the content distribution network for content distribution.
8. A resource scheduling method comprises the following steps:
sending a request message, wherein the request message is used for requesting resource allocation for a system, and the system is one of a plurality of systems which commonly use shared resources;
receiving the maximum available resource amount corresponding to the system;
determining the amount of the resources required by the system according to the actual required resources of the system and the maximum available resource amount, wherein the amount of the resources required by the system is less than or equal to the maximum available resource amount;
transmitting an amount of resources required by the system;
receiving resources allocated to the system from the shared resources, wherein the resources allocated to the system are allocated according to the amount of resources required by the system.
9. The method of claim 8, wherein determining the amount of resources required by the system based on the actual resources required by the system and the maximum amount of available resources comprises:
taking the amount of the resource actually required by the system as the amount of the resource required by the system under the condition that the amount of the resource actually required by the system is smaller than the maximum available resource amount;
acquiring partial resources from the maximum available resource amount as the resources required by the system under the condition that the amount of the resources actually required by the system is greater than or equal to the maximum available resource amount and the resources are not allocated to other systems with priorities smaller than the priority of the resources; the partial resources are determined according to the system and the priority of other systems with the priority lower than that of the system, and the higher the priority is, the more resources are acquired from the maximum available resource amount.
10. A resource scheduling apparatus, comprising:
a first receiving module, configured to receive a request message from a system, where the system is one of multiple systems that share a shared resource, and the request message is used to request resource allocation for the system;
a first determining module, configured to determine a maximum available resource amount of the system in the shared resources, and send the maximum available resource amount to the system;
a second receiving module, configured to receive the amount of the required resource determined by the system according to the maximum available resource amount;
and the allocation module is used for allocating resources to the system from the shared resources according to the amount of the resources required by the system, wherein the amount of the resources allocated to the system is less than or equal to the maximum available resource amount.
11. A resource scheduling apparatus, comprising:
a first sending module, configured to send a request message, where the request message is used to request resource allocation for a system, and the system is one of multiple systems that share a shared resource;
a third receiving module, configured to receive a maximum available resource amount corresponding to the system;
a second determining module, configured to determine an amount of the resource required by the system according to the actual required resource of the system and the maximum available resource amount, where the amount of the resource required by the system is less than or equal to the maximum available resource amount;
a second sending module, configured to send the amount of resources required by the system;
a third receiving module, configured to receive a resource allocated to the system from the shared resources, where the resource allocated to the system is allocated according to an amount of a resource required by the system.
12. An electronic device comprising a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any one of claims 1 to 7 or the method steps of any one of claims 8 to 9.
13. A readable storage medium having stored thereon computer instructions, wherein the computer instructions, when executed by a processor, perform the method steps of any one of claims 1 to 7 or the method steps of any one of claims 8 to 9.
CN202211156128.8A 2022-09-22 2022-09-22 Resource scheduling method and device, electronic equipment and readable storage medium Pending CN115801700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211156128.8A CN115801700A (en) 2022-09-22 2022-09-22 Resource scheduling method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211156128.8A CN115801700A (en) 2022-09-22 2022-09-22 Resource scheduling method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115801700A true CN115801700A (en) 2023-03-14

Family

ID=85432125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211156128.8A Pending CN115801700A (en) 2022-09-22 2022-09-22 Resource scheduling method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115801700A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510935A (en) * 2002-12-21 2004-07-07 华为技术有限公司 A Resource Planning Method in Communication System
WO2011075919A1 (en) * 2009-12-25 2011-06-30 中兴通讯股份有限公司 Method and device for sharing abis resources
US20110252166A1 (en) * 2009-01-23 2011-10-13 Pradeep Padala System and Methods for Allocating Shared Storage Resources
CN104918288A (en) * 2014-03-11 2015-09-16 中国移动通信集团公司 Flow sharing method, device and system
WO2015135212A1 (en) * 2014-03-14 2015-09-17 华为技术有限公司 Network sharing method and network element
US20170318022A1 (en) * 2014-11-03 2017-11-02 Nokia Solutions And Networks Oy Protection of resource information based on dynamic assignment of resources in a wireless network
JP2018181123A (en) * 2017-04-18 2018-11-15 日本電信電話株式会社 RESOURCE ALLOCATION CONTROL SYSTEM, RESOURCE ALLOCATION CONTROL METHOD, AND PROGRAM
CN113467939A (en) * 2021-06-24 2021-10-01 深圳前海微众银行股份有限公司 Capacity management method, device, platform and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510935A (en) * 2002-12-21 2004-07-07 华为技术有限公司 A Resource Planning Method in Communication System
US20110252166A1 (en) * 2009-01-23 2011-10-13 Pradeep Padala System and Methods for Allocating Shared Storage Resources
WO2011075919A1 (en) * 2009-12-25 2011-06-30 中兴通讯股份有限公司 Method and device for sharing abis resources
CN104918288A (en) * 2014-03-11 2015-09-16 中国移动通信集团公司 Flow sharing method, device and system
WO2015135212A1 (en) * 2014-03-14 2015-09-17 华为技术有限公司 Network sharing method and network element
CN105122857A (en) * 2014-03-14 2015-12-02 华为技术有限公司 Method and network element for sharing network
US20170318022A1 (en) * 2014-11-03 2017-11-02 Nokia Solutions And Networks Oy Protection of resource information based on dynamic assignment of resources in a wireless network
JP2018181123A (en) * 2017-04-18 2018-11-15 日本電信電話株式会社 RESOURCE ALLOCATION CONTROL SYSTEM, RESOURCE ALLOCATION CONTROL METHOD, AND PROGRAM
CN113467939A (en) * 2021-06-24 2021-10-01 深圳前海微众银行股份有限公司 Capacity management method, device, platform and storage medium

Similar Documents

Publication Publication Date Title
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
CN109040259B (en) CDN node distribution method and system based on MEC
JP6881575B2 (en) Resource allocation systems, management equipment, methods and programs
CN104243405B (en) A kind of request processing method, apparatus and system
US10042676B1 (en) Capacity pool health index
CN101227416A (en) A link bandwidth allocation method in a communication network
CN113938435B (en) Data transmission method, device, electronic equipment, storage medium and program product
CN114385370B (en) Memory allocation method, system, device and medium
CN110244901B (en) Task allocation method and device and distributed storage system
KR102389334B1 (en) Virtual machine provisioning system and method for cloud service
CN107105013B (en) File processing method, server, terminal and system
CN113014408A (en) Distributed system and management method thereof
WO2019029704A1 (en) Network object management method and apparatus therefor
CN113760549A (en) Pod deployment method and device
WO2017075967A1 (en) Bandwidth allocation method and system for on-line media service
CN114064256A (en) Method, electronic device and computer program product for allocating computing resources
US10986036B1 (en) Method and apparatus for orchestrating resources in multi-access edge computing (MEC) network
CN115801700A (en) Resource scheduling method and device, electronic equipment and readable storage medium
CN115168017B (en) Task scheduling cloud platform and task scheduling method thereof
US20220231963A1 (en) Resource management device, control circuit, storage medium, and resource management method
CN110300138B (en) Picture service scheduling method, device, management node, and computer-readable storage medium
CN116489777A (en) Method, medium and device for multiplexing time slot resources of TDMA data chain
CN117675584A (en) Traffic control methods, network systems and related equipment
CN115794396A (en) Resource allocation method, system and electronic equipment
CN110650358B (en) Node distribution method, device, node distribution server and medium

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