WO2017084453A1 - 云平台资源管理方法、装置及系统 - Google Patents

云平台资源管理方法、装置及系统 Download PDF

Info

Publication number
WO2017084453A1
WO2017084453A1 PCT/CN2016/101630 CN2016101630W WO2017084453A1 WO 2017084453 A1 WO2017084453 A1 WO 2017084453A1 CN 2016101630 W CN2016101630 W CN 2016101630W WO 2017084453 A1 WO2017084453 A1 WO 2017084453A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
tenant
reserved
resources
requested
Prior art date
Application number
PCT/CN2016/101630
Other languages
English (en)
French (fr)
Inventor
赵泽盛
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017084453A1 publication Critical patent/WO2017084453A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5051Service on demand, e.g. definition and deployment of services in real time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Definitions

  • the present disclosure relates to the field of communications, for example, to a cloud platform resource management method, apparatus, and system.
  • NFV Network Functions Virtualization
  • the Virtualized Network Function can be deployed on the cloud platform.
  • the VNF instance refers to the runtime instantiation of the virtualized network function software.
  • a VNF instance is the result of the instantiation of individual components and their interconnections.
  • NFVI Network Functions Virtualization Infrastructure
  • the multi-tenant cloud platform has two major advantages: one is virtual resource sharing, which improves the utilization of physical resources, thereby improving the operator's revenue; the second is that tenants can dynamically scale the use of virtual resources to minimize resource waste.
  • Resource reservation is an operation of a basic function of a virtualized telecommunications network. Resource reservation is the resource reserved by VIM according to NFVO. Resources are included in all three resource types NFVI ie computing, storage and network resources. Resource reservation can solve the contradiction of resource conflicts of shared cloud platform and ensure the quality of service. Excessive unregulated resource reservations can result in wasted cloud platform resources.
  • the related art VIM platform cannot specify the reserved resources used by the tenant at a specific time in the future, and generally achieves the purpose of occupying resources by instantiating the virtual machine immediately. This type of allocation reduces the utilization of cloud platform resources.
  • the disclosure provides a cloud platform resource management method, device and system, which can improve the utilization of cloud platform resources while ensuring service quality.
  • a cloud platform resource management method including:
  • the resource is reserved for the tenant according to the parameter information in the resource reservation request, including:
  • the determining, according to the resource reservation duration, the quantity of resources, and the resource attribute in the resource reservation request, that the available resource meets the reserved requirement, the amount of the applied resource is reserved for the tenant from the available resource.
  • the resource reserved for the reservation as a persistent reservation resource, and determining the available resource according to the quantity of the resource and the resource attribute in the resource reservation request.
  • the resource reserved for the request is a special reserved resource
  • determining, according to the quantity of resources and the resource attribute in the resource reservation request, that the available resource meets the reserved requirement At the time, the number of resources requested is reserved for the tenant from the available resources and only allowed to be used by the tenant during the set time period.
  • the method further includes:
  • the determining, according to the resource reservation duration in the resource reservation request, the resource reserved for the request is a persistent reserved resource, and determining the available resource according to the quantity of the resource and the resource attribute in the resource reservation request.
  • the resources reserved for the tenant are classified into the reserved resource pool from the fully shared resource pool;
  • the resources reserved for the tenant to allow the tenant to use during the set time period are classified into a partial shared resource pool from the fully shared resource pool.
  • the method further includes:
  • the allocating resources to the tenant from the resources reserved for the tenant according to the resource allocation request includes:
  • the resource requested by the tenant is a special reserved resource, and the requested resource quantity is less than or equal to the number of special reserved resources reserved by the tenant in the partial shared resource pool, and the requested time meets the available time set by the special reserved resource. Allocating a special reserved resource reserved for the tenant in the part of the shared resource pool to the tenant;
  • the available resources are allocated from the shared resource to the tenant, including:
  • the embodiment of the present disclosure further provides a cloud platform resource management apparatus, including:
  • a reservation request receiving unit configured to receive a resource reservation request sent by the tenant
  • a resource reservation unit configured to give the tenant according to parameter information in the resource reservation request Reserve resources.
  • the resource reservation unit is set to:
  • the resource reservation unit is set to:
  • Determining, according to the resource reservation duration in the resource reservation request, the reserved resource is a persistent reservation resource, and determining, according to the resource quantity and resource attribute in the resource reservation request, that the available resource meets the reserved requirement The number of resources requested for the tenant from the available resources; and/or
  • the resource reserved for the request is a special reserved resource
  • determining, according to the quantity of resources and the resource attribute in the resource reservation request, that the available resource meets the reserved requirement At the time, the number of resources requested is reserved for the tenant from the available resources and only allowed to be used by the tenant during the set time period.
  • the resource reservation unit is further configured to:
  • the resource reservation unit is further configured to:
  • the resources reserved for the tenant are classified into the reserved resource pool from the fully shared resource pool;
  • the pool is classified into some shared resource pools.
  • the device further includes:
  • An allocation request receiving unit configured to receive a resource allocation request sent by the tenant
  • a resource allocation unit configured to allocate a resource to the tenant from resources reserved for the tenant according to the resource allocation request, and allocate available resources from the shared resource to the tenant when the resource reserved for the tenant is insufficient .
  • the resource allocation unit allocates resources to the tenant from the resources reserved for the tenant according to the resource allocation request, including:
  • the resource requested by the tenant is a special reserved resource, and the requested resource quantity is less than or equal to the number of special reserved resources reserved by the tenant in the partial shared resource pool, and the requested time meets the available time set by the special reserved resource. Allocating a special reserved resource reserved for the tenant in the part of the shared resource pool to the tenant;
  • the resource allocation unit allocates available resources from the shared resource to the tenant when the resources reserved for the tenant are insufficient, and is configured to include:
  • the embodiment of the present disclosure further provides a cloud platform resource management system, including at least one tenant and a cloud platform resource management device, where:
  • the cloud platform resource management device is configured to receive a resource reservation request sent by the tenant, and reserve resources for the tenant according to the parameter information in the resource reservation request.
  • the cloud platform resource management device is further configured to:
  • the present disclosure also provides a non-transitory storage medium storing computer executable instructions arranged to perform the cloud platform resource management method described above.
  • the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to execute the cloud platform resource management method described above.
  • the present disclosure also provides an electronic device comprising at least one processor and a memory communicatively coupled to the at least one processor, the memory for storing instructions executable by the at least one processor, the instructions being The at least one processor, when executed, causes the at least one processor to execute the cloud platform resource management method described above.
  • the cloud platform resource management method, device, and system provided by the embodiment of the present disclosure may reserve resources for the tenant according to the parameter information in the resource reservation request after receiving the resource reservation request sent by the tenant, When the tenant needs to allocate resources, it can allocate from the reserved resources, which improves the utilization of the cloud platform resources while ensuring the service quality.
  • FIG. 1 is a flowchart of a method for managing a cloud platform resource when a resource is reserved according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a specific cloud resource resource management method when a resource is reserved according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a cloud platform resource management method when resources are allocated according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of a cloud platform resource management method according to specific resource allocation according to an embodiment of the present disclosure
  • FIG. 5 is a second flowchart of a cloud platform resource management method according to specific resource allocation according to an embodiment of the present disclosure
  • FIG. 6 and FIG. 7 are schematic structural diagrams of a cloud platform resource management apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a cloud platform resource management system according to an embodiment of the present disclosure.
  • FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present disclosure.
  • a cloud platform resource management method provided by an embodiment of the present disclosure includes:
  • Step S101 Receive a resource reservation request sent by a tenant.
  • Step S102 Reserve resources to the tenant according to the parameter information in the resource reservation request.
  • the resource may be reserved for the tenant according to the parameter information in the resource reservation request, so that when the tenant needs to allocate the resource, the resource may be allocated from the reserved resource. To improve the utilization of cloud platform resources while ensuring service quality.
  • Resources may include computing resources, storage resources, network resources, and the like.
  • Reserve resources are reserved for the tenant's upcoming resource allocation to ensure the quality of the tenant's business services. Therefore, when the resource is reserved, the start allocation time of the reserved resource must be specified. If the resource allocation request is not reached at the start time, the allocation cannot be guaranteed. In order for a tenant to guarantee the successful use of reserved resources, the tenant must apply for the reserved resource after it has been allocated.
  • Resource reservations can include both persistently reserved persistent reservation resources and special reserved resources used for a specific time period.
  • the special reserved resource request that can be used in a specific time period may include a start time, an end time, an allocation timeout period, and the like of the reserved resource.
  • step S102 the resource is reserved for the tenant according to the parameter information in the resource reservation request, including:
  • the resource reservation duration the number of resources, and the resource attribute in the resource reservation request, when the available resource meets the reserved requirement, the number of the requested resource is reserved for the tenant from the available resource.
  • the two types of resource reservations of the persistent reserved resource and the special reserved resource are distinguished, and according to the resource reservation duration, the quantity of resources, and the resource attribute in the resource reservation request, when the available resource meets the reserved demand, , reserve the number of resources requested for the tenant from the available resources, including:
  • the reserved resource is a persistent resource, and determining that the available resource meets the reserved requirement according to the resource quantity and resource attribute in the resource reservation request, Reserve the number of resources requested for the tenant in the resource;
  • the resource reserved for the request is a special reserved resource, and determining that the available resource meets the reserved requirement according to the resource quantity and resource attribute in the resource reservation request,
  • the resource reserves the amount of resources requested for the tenant and only allows the tenant to use it during the set time period.
  • a reservation mechanism may be established for the reservation of special reserved resources.
  • the cloud platform resource management method further includes:
  • the special reserved resource that is not used is released according to the end time in the resource reservation request.
  • the process of performing resource reservation includes:
  • Step S201 Receive a resource reservation request of the tenant, where the request carries parameters such as a start time, an end time, a timeout period, a quantity of resources, and a reservation duration.
  • Step S202 determining, according to the resource reservation duration, whether the resource requested to be reserved is a persistent reserved resource, if yes, executing step S203, otherwise performing step S204;
  • Step S203 Determine that the resource reserved for reservation is a persistent reserved resource, and determine, according to the requested resource quantity and the resource attribute, whether the available resource satisfies the reserved requirement. If the available resource satisfies the reserved requirement, the reserved resource is reserved from the available resource. The number of applied resources constitutes the reserved resource pool of the tenant, and the reserved resource identifier is returned to the reservation successfully;
  • Step S204 Determine that the resource requested to be reserved is a special reserved resource, and according to the quantity of the requested resource, The resource attribute is used to determine whether the available resource meets the reserved requirement. If the available resource satisfies the reserved requirement, the amount of the requested resource is reserved from the available resource to form a reserved resource pool for a specific time period, and the reservation is successfully returned, and the reservation is carried.
  • Resource identifier
  • Step S205 After the allocation timeout period of the special reserved resource arrives, if the reserved resource is not used, the special reserved resource is released; when the specified end time of the special reserved resource is reached, the unused is released. Special reserved resources.
  • the resource pool may include a reserved resource pool, a partial shared resource pool, and a fully shared resource pool.
  • All resources that are not reserved belong to the fully shared resource pool.
  • the resources that have been permanently reserved belong to the reserved resource pool, and the resources used in a specific time period are classified as partial shared resource pools.
  • the resources in the reserved resource pool can only be allocated to the tenant of the reserved resource.
  • the tenant uses the part of the resource, the tenant needs to carry the relevant reserved identifier and the tenant name for verification.
  • Resources in a fully shared resource pool can be assigned to all tenants and assigned to the tenants they need in the order they are applied.
  • the resources in the shared resource pool can be allocated to all tenants. When the allocated time of the shared resource pool is reached, the resources of the resource pool can only be allocated to the specified tenant. When a partial shared resource pool is set to accept only the resource allocation request of the specified tenant, the resources of the partial shared resource pool can only be allocated to the specified tenant.
  • the partially occupied resources may be divided into partial shared resource pools when the fully shared resource pool has available resources.
  • the resource reserved for request is a persistent reserved resource
  • the available resource is determined to meet the reserved requirement.
  • the resources reserved for the tenant are classified into the reserved resource pool from the fully shared resource pool;
  • the resource reserved for the request is a special reserved resource, and determining that the available resource meets the reserved requirement according to the resource quantity and resource attribute in the resource reservation request,
  • the resource reserves the number of resources requested for the tenant and allows the tenant to use only after the set time period.
  • the resources reserved for the tenant to allow the tenant to use during the set time period are classified into a partial shared resource pool from the fully shared resource pool.
  • the available resource capacity can also be obtained in the managed cloud platform, and the available resource information of the cloud platform is periodically monitored, and the available resource capacity is updated when the resource reservation is successful or the resource reservation is terminated.
  • the cloud platform used by the tenant can include multiple heterogeneous cloud platforms.
  • the method further includes:
  • Step S301 Receive a resource allocation request sent by a tenant.
  • Step S302 Allocating resources to the tenant from the resources reserved for the tenant according to the resource allocation request, and allocating the available resources from the shared resources to the tenant when the resources reserved for the tenant are insufficient.
  • the resource pool includes the reserved resource pool, the partial shared resource pool, and the fully shared resource pool
  • the resource is allocated to the tenant from the resources reserved for the tenant according to the resource allocation request, including:
  • the resource requested by the tenant is a special reserved resource, and the requested resource quantity is less than or equal to the number of special reserved resources reserved by the tenant in a part of the shared resource pool, and the requested time meets the special reserved resource.
  • the special reserved resources reserved for the tenant in the part of the shared resource pool are allocated to the tenant;
  • step S302 when the resources reserved for the tenant are insufficient, the available resources are allocated from the shared resources to the tenant, including:
  • Step S400 Receive a resource allocation request for allocating a common resource by the request sent by the tenant;
  • Step S401 Determine whether the number of virtual resources requested by the tenant is less than or equal to the number of available virtual resources in the reserved resource pool of the tenant. If the number of virtual resources requested by the tenant is less than or equal to the number of available virtual resources in the reserved resource pool specified by the tenant, In step S402, the number of virtual resources requested by the tenant is greater than the number of available virtual resources in the reserved resource pool of the tenant, and step S403 is performed;
  • Step S402 selecting a resource allocation to the tenant in the tenant reserved resource pool, and ending the resource allocation process
  • Step S403 determining whether the available resources in the fully shared resource pool meet the requirements, if the available resources in the fully shared resource pool meet the requirements, step S404 is performed, if the available resources in the fully shared resource pool do not meet the requirements, step S405 is performed;
  • Step S404 allocating corresponding virtual resources to the tenant in the fully shared resource pool, and ending Resource allocation process
  • Step S405 determining whether the available resources in the shared resource pool meet the requirements, if the available resources in the partial shared resource pool meet the requirements, step S406 is performed, if the available resources in the partial shared resource pool do not meet the demand, step S407 is performed;
  • Step S406 allocating resources in the partial shared resource pool for the tenant, and ending the allocation process
  • Step S407 confirming that the resource allocation fails.
  • Step S500 Receive a resource allocation request for requesting a special reserved resource by using a request sent by the tenant;
  • step S501 it is determined whether the resource requested by the user can be allocated and used. If the resource requested by the user can be allocated and used, step S502 is performed, and if the resource requested by the user cannot be allocated and used, the allocation fails.
  • Step S502 Determine whether the available resources reserved for the tenant's special reserved resources meet the requirements. If the available resources reserved for the special reserved resources of the tenant meet the requirements, step S503 is performed, if the special reserved for the tenant The available resources of the reserved resources do not meet the requirements, and step S504 is performed;
  • Step S503 Allocating resources to the tenant in the special reserved resource reserved for the tenant, and ending the resource allocation process;
  • Step S504 Release the instance occupying the resource pool until the resource requirement is met. If the instance of the resource pool is released and the tenant's requirement cannot be met, the allocation fails.
  • the embodiment of the present disclosure further provides a cloud platform resource management device, as shown in FIG. 6, including:
  • the reservation request receiving unit 601 is configured to receive a resource reservation request sent by the tenant;
  • the resource reservation unit 602 is configured to reserve resources for the tenant according to the parameter information in the resource reservation request.
  • the resource reservation unit 602 is configured to:
  • the resource reservation duration the number of resources, and the resource attribute in the resource reservation request, when the available resource meets the reserved requirement, the number of the requested resource is reserved for the tenant from the available resource.
  • the resource reservation unit 602 is configured to:
  • the reserved resource is a persistent resource, and determining that the available resource meets the reserved requirement according to the resource quantity and resource attribute in the resource reservation request, Reserve the number of resources requested for the tenant in the resource;
  • the resource reserved for the request is a special reserved resource, and determining that the available resource meets the reserved requirement according to the resource quantity and resource attribute in the resource reservation request,
  • the resource reserves the amount of resources requested for the tenant and only allows the tenant to use it during the set time period.
  • the resource reservation unit 602 is further configured to:
  • the special reserved resource that is not used is released according to the end time in the resource reservation request.
  • the resource pool may include a reserved resource pool, a partial shared resource pool, and a fully shared resource pool.
  • the resource reservation unit 602 is further configured to:
  • the resources reserved for the tenant are classified into the reserved resource pool from the fully shared resource pool;
  • the pool is classified into some shared resource pools.
  • the device further includes:
  • the allocation request receiving unit 603 is configured to receive a resource allocation request sent by the tenant;
  • the resource allocating unit 604 is configured to allocate resources to the tenant from the resources reserved for the tenant according to the resource allocation request, and allocate available resources to the tenant from the shared resources when the resources reserved for the tenant are insufficient.
  • the resource allocating unit 604 allocates resources to the tenant from the resources reserved for the tenant according to the resource allocation request, including:
  • the resource requested by the tenant is a special reserved resource, and the requested resource quantity is less than or equal to the number of special reserved resources reserved by the tenant in the partial shared resource pool, and the requested time meets the available time set by the special reserved resource. Allocating a special reserved resource reserved for the tenant in the part of the shared resource pool to the tenant;
  • the resource allocation unit 604 allocates available resources from the shared resource to the tenant when the resources reserved for the tenant are insufficient, including:
  • the embodiment of the present disclosure further provides a cloud platform resource management system, as shown in FIG. 8, including at least one tenant 801 and a cloud platform resource management device 802, where:
  • the cloud platform resource management device 802 is configured to receive the resource reservation request sent by the tenant 801, and reserve resources for the tenant 801 according to the parameter information in the resource reservation request.
  • the cloud platform resource management device 802 is further configured to:
  • the embodiment of the present disclosure provides a cloud platform resource management method, device, and system.
  • the cloud platform resource management device may reserve resources for the tenant according to the parameter information in the resource reservation request. Therefore, when the tenant needs to allocate resources, the resource can be allocated from the reserved resources, thereby improving the utilization of the cloud platform resources while ensuring the service quality.
  • the present disclosure also provides a non-transitory storage medium storing computer executable instructions configured to perform the cloud platform resource management method of the above embodiments.
  • the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to execute the cloud platform resource management method of the above embodiment.
  • FIG. 10 is a junction of an electronic device according to an embodiment of the present disclosure.
  • the electronic device may include a processor 51 and a memory 53, and may further include a communication interface 52 and a bus 54.
  • the processor 51, the communication interface 52, and the memory 53 can complete communication with each other through the bus 54.
  • Communication interface 52 can be used for information transmission.
  • the processor 51 can call the logic instructions in the memory 53 to execute the cloud platform resource management method of the above embodiment.
  • the logic instructions in the memory 53 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in various embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • a medium that can store program code, or a transitory storage medium including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the cloud platform resource management method, device, and system provided by the embodiment of the present disclosure may reserve resources for the tenant according to the parameter information in the resource reservation request after receiving the resource reservation request sent by the tenant, When the tenant needs to allocate resources, it can allocate from the reserved resources, which improves the utilization of the cloud platform resources while ensuring the service quality.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本公开公开了一种云平台资源管理方法、装置及系统,涉及通信领域。所述方法包括接收租户发送的资源预留请求;以及根据所述资源预留请求中的参数信息,给所述租户预留资源。

Description

云平台资源管理方法、装置及系统 技术领域
本公开涉及通信领域,例如涉及一种云平台资源管理方法、装置及系统。
背景技术
网络功能虚拟化(Network Functions Virtualization,NFV)的主要目标是将传统电信基于专用硬件的网络功能迁移到云环境上,提供更为通用的硬件和更为灵活的网络服务部署。
虚拟网络功能(Virtualized Network Function,VNF)可以被部署在云平台上,VNF实例指的是虚拟化的网络功能软件的运行时的实例化。VNF实例是各个组件及其相互间连接的实例化在完成之后的结果。
网络功能虚拟化基础设施(Network Functions Virtualization Infrastructure,NFVI):具有部署网络功能虚拟化的能力的环境中,所有硬件设备与软件组件的统称。
使用多租户技术将物理硬件资源抽象为虚拟资源(如虚拟机)。每个租户按照自身业务需求租用不同规模的虚拟资源。
多租户的云平台具有两大优势:一是虚拟资源共享,提高了物理资源的利用率,从而提高运营商收益;二是租户可以动态伸缩虚拟资源的使用规模,最大程度地避免资源浪费。
多租户云平台资源使用面临的一个主要问题是资源充分共享与服务质量(Quality of Service,QOS)间的矛盾。当云平台的资源完全共享时,在资源使用高峰期时众多租户竞争有限的资源,资源使用冲突导致服务QOS的下降。
资源预留是虚拟化的电信网络的一个基本功能的操作。资源预留是VIM根据NFVO所预留的资源。资源包括在所有三种资源类型NFVI即计算,存储和网络资源。资源预留能解决共享云平台资源使用冲突的矛盾,保证服务质量。过度的无节制的资源预留会带来云平台资源浪费。
相关技术的VIM平台,无法为租户指定在将来特定时间使用的预留资源,一般是通过立即实例化虚拟机来达到占用资源的目的。这种分配方式会降低云平台资源的利用率。
发明内容
本公开提供一种云平台资源管理方法、装置及系统,能够在保证服务质量的同时提升云平台资源的利用率。
根据本公开的一个方面,提供一种云平台资源管理方法,包括:
接收租户发送的资源预留请求;以及
根据所述资源预留请求中的参数信息,给所述租户预留资源。
可选地,所述根据所述资源预留请求中的参数信息,给所述租户预留资源,包括:
根据所述资源预留请求中的资源预留持续时间、资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量。
可选地,所述根据所述资源预留请求中的资源预留持续时间、资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量,包括:
根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资 源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量;和/或
根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用。
可选地,该方法还包括:
根据所述资源预留请求中的分配超时时间,确定特殊预留资源的分配超时时间到达后,若该部分预留资源未被使用,则释放该特殊预留资源;和/或
根据所述资源预留请求中的结束时间,确定特殊预留资源的结束时间达到后,释放未被使用的特殊预留资源。
其中,所述根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量后,还包括:
将为该租户预留出的资源从完全共享资源池划归入预留资源池;
所述根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用后,还包括:
将为该租户预留出的允许该租户在设定时间段使用的资源从完全共享资源池划归入部分共享资源池。
可选地,该方法还包括:
接收租户发送的资源分配请求;
根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,并在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户。
可选地,所述根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,包括:
确定该租户请求的资源为普通资源,且请求的资源数量小于或等于该租户在预留资源池的可用资源数量时,将预留资源池中预留给该租户的持久预留资源分配给该租户;
确定该租户请求的资源为特殊预留资源,且请求的资源数量小于或等于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,将部分共享资源池中预留给该租户的特殊预留资源分配给该租户;
所述在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户,包括:
确定该租户请求的资源为普通资源,且请求的资源数量大于该租户在预留资源池的可用资源数量时,将完全共享资源池和部分共享资源池中的可用资源分配给该租户;
确定该租户请求的资源为特殊预留资源,且请求的资源数量大于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,释放占用该部分共享资源池的实例,直到满足该租户的资源需求为止。
本公开实施例还提供一种云平台资源管理装置,包括:
预留请求接收单元,设置为接收租户发送的资源预留请求;
资源预留单元,设置为根据所述资源预留请求中的参数信息,给所述租户 预留资源。
可选地,所述资源预留单元设置为:
根据所述资源预留请求中的资源预留持续时间、资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量。
可选地,所述资源预留单元设置为:
根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量;和/或
根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用。
其中,所述资源预留单元还设置为:
根据所述资源预留请求中的分配超时时间,确定特殊预留资源的分配超时时间到达后,若该部分预留资源未被使用,则释放该特殊预留资源;和/或
根据所述资源预留请求中的结束时间,确定特殊预留资源的结束时间达到后,释放未被使用的特殊预留资源。
可选地,所述资源预留单元还设置为:
从可用资源中为该租户预留出所申请的资源数量后,将为该租户预留出的资源从完全共享资源池划归入预留资源池;
从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用后,将为该租户预留出的允许该租户在设定时间段使用的资源从完全共享资源池划归入部分共享资源池。
可选地,该装置还包括:
分配请求接收单元,设置为接收租户发送的资源分配请求;
资源分配单元,设置为根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,并在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户。
更可选地,所述资源分配单元根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,包括:
确定该租户请求的资源为普通资源,且请求的资源数量小于或等于该租户在预留资源池的可用资源数量时,将预留资源池中预留给该租户的持久预留资源分配给该租户;
确定该租户请求的资源为特殊预留资源,且请求的资源数量小于或等于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,将部分共享资源池中预留给该租户的特殊预留资源分配给该租户;
所述资源分配单元在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户,设置为包括:
确定该租户请求的资源为普通资源,且请求的资源数量大于该租户在预留资源池的可用资源数量时,将完全共享资源池和部分共享资源池中的可用资源分配给该租户;
确定该租户请求的资源为特殊预留资源,且请求的资源数量大于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,释放占用该部分共享资源池的实例,直到满足该租户的资源需求为止。
本公开实施例还提供一种云平台资源管理系统,包括至少一个租户以及云平台资源管理装置,其中:
所述云平台资源管理装置,设置为接收租户发送的资源预留请求,根据所述资源预留请求中的参数信息,给所述租户预留资源。
可选地,所述云平台资源管理装置还设置为:
接收租户发送的资源分配请求;根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,并在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户。
本公开还提供了一种非暂态存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述的云平台资源管理方法。
本公开还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述的云平台资源管理方法。
本公开还提供了一种电子设备,包括至少一个处理器和与所述至少一个处理器通信连接的存储器,所述存储器用于存储可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行时,使所述至少一个处理器执行上述的云平台资源管理方法。
本公开实施例提供的云平台资源管理方法、装置及系统,在云平台资源管理装置接收租户发送的资源预留请求后,可以根据资源预留请求中的参数信息,给租户预留资源,从而在租户需要分配资源时,从预留的资源进行分配即可,实现了在保证服务质量的同时提升云平台资源的利用率。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本公开实施例提供的资源预留时的云平台资源管理方法的流程图;
图2为本公开实施例提供的具体的资源预留时的云平台资源管理方法的流程图;
图3为本公开实施例提供的资源分配时的云平台资源管理方法的流程图;
图4为本公开实施例提供的具体的资源分配时的云平台资源管理方法的流程图之一;
图5为本公开实施例提供的具体的资源分配时的云平台资源管理方法的流程图之二;
图6和图7为本公开实施例提供的云平台资源管理装置结构示意图;
图8为本公开实施例提供的云平台资源管理系统结构示意图;以及
图9为本公开实施例提供的电子设备的结构框图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,在不冲突的情况下,以下实施例和实施例中的特征可以相互组合。
如图1所示,本公开实施例提供的云平台资源管理方法,包括:
步骤S101、接收租户发送的资源预留请求;
步骤S102、根据资源预留请求中的参数信息,给租户预留资源。
通过该方法,在接收到租户发送的资源预留请求后,可以根据资源预留请求中的参数信息,给租户预留资源,从而在租户需要分配资源时,从预留的资源进行分配即可,实现了在保证服务质量的同时提升云平台资源的利用率。
资源可以包括计算资源、存储资源和网络资源等。
预留资源是为租户即将开始的资源分配预留足够的资源以保证租户的业务服务质量。因此在资源预留时必须指定预留资源的开始分配时间,未到开始时间的预留资源分配请求,不能保证一定能分配成功。租户要想保证成功使用预留资源,必须在预留资源可分配后申请使用该资源。
资源预留可以包括持久使用的永久预留资源和特定时间段使用的特殊预留资源两种类型。
对于会持续使用的预留资源,在预留时只需要指定使用该预留资源的开始时间以保证资源分配的可靠性,无需指定该预留资源的结束时间。
当网络运营商预测到在举行音乐会,或发生自然灾害时网络流量冲高导致的通信节点拥塞时,会预留额外的资源以供将来使用。这种特定时间段才会使用的特殊预留资源请求中,可以包括预留资源的开始时间,结束时间,分配超时时间等。
可选地,步骤S102中,根据资源预留请求中的参数信息,给租户预留资源,包括:
根据资源预留请求中的资源预留持续时间、资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量。
可选地,区分永久预留资源和特殊预留资源两种类型的资源预留情况,根据资源预留请求中的资源预留持续时间、资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量,包括:
根据资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量;和/或
根据资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用。
可选地,为提高资源的利用率,对于特殊预留资源的预留,可以建立回收机制。该云平台资源管理方法还包括:
根据资源预留请求中的分配超时时间,确定特殊预留资源的分配超时时间到达后,若该部分预留资源未被使用,则释放该特殊预留资源;和/或
根据资源预留请求中的结束时间,确定特殊预留资源的结束时间达到后,释放未被使用的特殊预留资源。
可选地,如图2所示,进行资源预留的过程包括:
步骤S201、收到租户的资源预留请求,请求中携带开始时间、结束时间、超时时间、资源数量、预留持续时间等参数;
步骤S202、根据资源预留持续时间,判断请求预留的资源是否为持久预留资源,如果是,执行步骤S203,否则执行步骤S204;
步骤S203、确定请求预留的资源为持久预留资源,根据所请求的资源数量,资源属性,判断可用资源是否满足预留需求,若可用资源满足预留需求,则从可用资源中预留出所申请的资源数量组成该租户的预留资源池,携带预留资源标识返回预留成功;
步骤S204、确定请求预留的资源为特殊预留资源,根据所请求的资源数量, 资源属性,判断可用资源是否满足预留需求,若可用资源满足预留需求,则从可用资源中预留出所申请的资源数量组成特定时间段预留资源池,返回预留成功,并携带预留资源标识;
步骤S205、当特殊预留资源的分配超时时间到达后,若该部分预留资源未被使用,则释放该特殊预留资源;当特殊预留资源指定的结束时间达到后,释放未被使用的特殊预留资源。
可选地,为便于资源的管理,资源池可以包括预留资源池、部分共享资源池、完全共享资源池等类型。
未被预留的所有资源归属于完全共享资源池,已经被永久预留的资源归属于预留资源池,特定时间段使用的资源归为部分共享资源池。
预留资源池中的资源只能分配给预留资源的租户使用;租户使用该部分资源时,需要携带相关的预留标识以及租户名称进行校验。
完全共享资源池中的资源可以分配给所有的租户,按申请的顺序分配给所需要的租户使用。
部分共享资源池中的资源可有条件的分配给所有的租户使用,当部分共享资源池的分配使用时间达到时,该资源池的资源只能分配给指定租户。当设定为部分共享资源池只接受指定租户的资源分配请求后,则部分共享资源池的资源只能被分配给指定的租户。
当部分共享资源池共享给所有租户使用期间,可以在完全共享资源池有可用资源时,将部分占用的资源划分到部分共享资源池。
此时,在根据资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量后,还包 括:
将为该租户预留出的资源从完全共享资源池划归入预留资源池;
根据资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用后,还包括:
将为该租户预留出的允许该租户在设定时间段使用的资源从完全共享资源池划归入部分共享资源池。
还可以在所管理的云平台中获取可用资源容量,并周期性监测这些云平台的可用资源信息,当资源预留成功或终止资源预留时更新可用资源容量。租户使用的云平台可以包括多个异构的云平台。
在租户要求进行资源分配时,如图3所示,该方法还包括:
步骤S301、接收租户发送的资源分配请求;
步骤S302、根据资源分配请求从预留给该租户的资源中给租户分配资源,并在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户。
可选地,当资源池包括预留资源池、部分共享资源池、完全共享资源池时,步骤S302中,根据资源分配请求从预留给该租户的资源中给租户分配资源,包括:
确定该租户请求的资源为普通资源,且请求的资源数量小于或等于该租户在预留资源池的可用资源数量时,将预留资源池中预留给该租户的持久预留资源分配给该租户;
确定该租户请求的资源为特殊预留资源,且请求的资源数量小于或等于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资 源设定的可用时间时,将部分共享资源池中预留给该租户的特殊预留资源分配给该租户;
步骤S302中,在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户,包括:
确定该租户请求的资源为普通资源,且请求的资源数量大于该租户在预留资源池的可用资源数量时,将完全共享资源池和部分共享资源池中的可用资源分配给该租户;
确定该租户请求的资源为特殊预留资源,且请求的资源数量大于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,释放占用该部分共享资源池的实例,直到满足该租户的资源需求为止。
如图4所示,当租户请求普通资源的分配时,包括:
步骤S400、接收租户发送的请求分配普通资源的资源分配请求;
步骤S401、判断租户请求的虚拟资源数量是否小于或等于该租户指定预留资源池的可用虚拟资源数量,如果租户请求的虚拟资源数量小于或等于该租户指定预留资源池的可用虚拟资源数量,执行步骤S402,否租户请求的虚拟资源数量大于该租户指定预留资源池的可用虚拟资源数量,执行步骤S403;
步骤S402、在该租户预留资源池中选择资源分配给所述租户,并结束资源分配流程;
步骤S403、判断完全共享资源池中的可用资源是否满足需求,如果完全共享资源池中的可用资源满足需求,执行步骤S404,如果完全共享资源池中的可用资源不满足需求,执行步骤S405;
步骤S404、在完全共享资源池中分配相应的虚拟资源给所述租户,并结束 资源分配流程;
步骤S405、判断部分共享资源池中的可用资源是否满足需求,如果部分共享资源池中的可用资源满足需求,执行步骤S406,如果部分共享资源池中的可用资源不满足需求,执行步骤S407;
步骤S406、为该租户分配部分共享资源池中的资源,并结束分配流程;
步骤S407、确认资源分配失败。
如图5所示,当租户请求特殊预留资源的分配时,包括如下步骤:
步骤S500、接收租户发送的请求分配特殊预留资源的资源分配请求;
步骤S501、判断用户所请求的资源是否可以被分配使用,如果用户所请求的资源可以被分配使用,执行步骤S502,如果用户所请求的资源不可以被分配使用,确认分配失败;
步骤S502、判断预留给该租户的特殊预留资源的可用资源是否满足需求,如果预留给该租户的特殊预留资源的可用资源满足需求,执行步骤S503,如果预留给该租户的特殊预留资源的可用资源不满足需求,执行步骤S504;
步骤S503、在预留给该租户的特殊预留资源中分配资源给该租户,并结束资源分配流程;
步骤S504、释放占用该资源池的实例,直到满足资源需求为止,若释放占用该资源池的实例后,仍不能满足租户的需求,则分配失败。
相应的,本公开实施例还提供一种云平台资源管理装置,如图6所示,包括:
预留请求接收单元601,设置为接收租户发送的资源预留请求;
资源预留单元602,设置为根据资源预留请求中的参数信息,给租户预留资源。
可选地,资源预留单元602设置为:
根据资源预留请求中的资源预留持续时间、资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量。
可选地,资源预留单元602设置为:
根据资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量;和/或
根据资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用。
为提高资源的利用率,对于特殊预留资源的预留,可以建立回收机制,此时,资源预留单元602还设置为:
根据资源预留请求中的分配超时时间,确定特殊预留资源的分配超时时间到达后,若该部分预留资源未被使用,则释放该特殊预留资源;和/或
根据资源预留请求中的结束时间,确定特殊预留资源的结束时间达到后,释放未被使用的特殊预留资源。
可选地,为便于资源的管理,资源池可以包括预留资源池、部分共享资源池、完全共享资源池等类型,此时,资源预留单元602还设置为:
从可用资源中为该租户预留出所申请的资源数量后,将为该租户预留出的资源从完全共享资源池划归入预留资源池;
从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用后,将为该租户预留出的允许该租户在设定时间段使用的资源从完全共享资源池划归入部分共享资源池。
在租户要求进行资源分配时,如图7所示,该装置还包括:
分配请求接收单元603,设置为接收租户发送的资源分配请求;
资源分配单元604,设置为根据资源分配请求从预留给该租户的资源中给租户分配资源,并在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户。
可选地,资源分配单元604根据资源分配请求从预留给该租户的资源中给租户分配资源,包括:
确定该租户请求的资源为普通资源,且请求的资源数量小于或等于该租户在预留资源池的可用资源数量时,将预留资源池中预留给该租户的持久预留资源分配给该租户;
确定该租户请求的资源为特殊预留资源,且请求的资源数量小于或等于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,将部分共享资源池中预留给该租户的特殊预留资源分配给该租户;
资源分配单元604在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户,包括:
确定该租户请求的资源为普通资源,且请求的资源数量大于该租户在预留资源池的可用资源数量时,将完全共享资源池和部分共享资源池中的可用资源分配给该租户;
确定该租户请求的资源为特殊预留资源,且请求的资源数量大于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,释放占用该部分共享资源池的实例,直到满足该租户的资源需求为止。
相应的,本公开实施例还提供一种云平台资源管理系统,如图8所示,包括至少一个租户801以及云平台资源管理装置802,其中:
云平台资源管理装置802设置为接收租户801发送的资源预留请求,根据资源预留请求中的参数信息,给租户801预留资源。
可选地,云平台资源管理装置802还设置为:
接收租户801发送的资源分配请求;根据资源分配请求从预留给该租户801的资源中给租户801分配资源,并在预留给该租户801的资源不足时,从共享资源中分配可用资源给该租户801。
本公开实施例提供一种云平台资源管理方法、装置及系统,在云平台资源管理装置接收租户发送的资源预留请求后,可以根据资源预留请求中的参数信息,给租户预留资源,从而在租户需要分配资源时,从预留的资源进行分配即可,实现了在保证服务质量的同时提升云平台资源的利用率。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是其与其他实施例的不同之处。尤其对于装置实施例而言,由于其基本相似与方法实施例,所以,描述的比较简单,相关之处参见方法实施例的部分说明即可。
本公开还提供了一种非暂态存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述实施例的云平台资源管理方法。
本公开还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例的云平台资源管理方法。
本公开还提供了一种电子设备。图10是本公开实施例提供的电子设备的结 构框图。该电子设备可以包括:处理器(processor)51和存储器(memory)53,还可以包括通信接口(Communications Interface)52和总线54。其中,处理器51、通信接口52、存储器53可以通过总线54完成相互间的通信。通信接口52可以用于信息传输。处理器51可以调用存储器53中的逻辑指令,以执行上述实施例的云平台资源管理方法。
此外,上述的存储器53中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。
工业实用性
本公开实施例提供的云平台资源管理方法、装置及系统,在云平台资源管理装置接收租户发送的资源预留请求后,可以根据资源预留请求中的参数信息,给租户预留资源,从而在租户需要分配资源时,从预留的资源进行分配即可,实现了在保证服务质量的同时提升云平台资源的利用率。

Claims (19)

  1. 一种云平台资源管理方法,其中包括:
    接收租户发送的资源预留请求;以及
    根据所述资源预留请求中的参数信息,给所述租户预留资源。
  2. 如权利要求1所述的方法,其中,所述根据所述资源预留请求中的参数信息,给所述租户预留资源,包括:
    根据所述资源预留请求中的资源预留持续时间、资源数量以及资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量。
  3. 如权利要求2所述的方法,其中,所述根据所述资源预留请求中的资源预留持续时间、资源数量以及资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量,包括以下至少一个:
    根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量;和
    根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用。
  4. 如权利要求3所述的方法,还包括以下步骤中的至少一个:
    根据所述资源预留请求中的分配超时时间,确定特殊预留资源的分配超时时间到达后,若该部分预留资源未被使用,则释放该特殊预留资源;和
    根据所述资源预留请求中的结束时间,确定特殊预留资源的结束时间达到后,释放未被使用的特殊预留资源。
  5. 如权利要求3所述的方法,其中,所述根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量后,还包括:
    将为该租户预留出的资源从完全共享资源池划归入预留资源池;
    所述根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用后,还包括:
    将为该租户预留出的允许该租户在设定时间段使用的资源从完全共享资源池划归入部分共享资源池。
  6. 如权利要求1-5任一所述的方法,还包括:
    接收租户发送的资源分配请求;
    根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,并在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户。
  7. 如权利要求6所述的方法,其中,所述根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,包括:
    确定该租户请求的资源为普通资源,且请求的资源数量小于或等于该租户在预留资源池的可用资源数量时,将预留资源池中预留给该租户的持久预留资源分配给该租户;
    确定该租户请求的资源为特殊预留资源,且请求的资源数量小于或等于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,将部分共享资源池中预留给该租户的特殊预留资源分配给该租户;
    所述在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户, 包括:
    确定该租户请求的资源为普通资源,且请求的资源数量大于该租户在预留资源池的可用资源数量时,将完全共享资源池和部分共享资源池中的可用资源分配给该租户;
    确定该租户请求的资源为特殊预留资源,且请求的资源数量大于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,释放占用该部分共享资源池的实例,直到满足该租户的资源需求为止。
  8. 一种云平台资源管理装置,包括:
    预留请求接收单元,设置为接收租户发送的资源预留请求;以及
    资源预留单元,设置为根据所述资源预留请求中的参数信息,给所述租户预留资源。
  9. 如权利要求8所述的装置,其中,所述资源预留单元设置为:
    根据所述资源预留请求中的资源预留持续时间、资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量。
  10. 如权利要求9所述的装置,其中,所述资源预留单元设置为:
    根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为持久预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量;和/或
    根据所述资源预留请求中的资源预留持续时间,确定请求预留的资源为特殊预留资源,且根据所述资源预留请求中的资源数量、资源属性,确定可用资源满足预留需求时,从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用。
  11. 如权利要求10所述的装置,其中,所述资源预留单元还设置为:
    根据所述资源预留请求中的分配超时时间,确定特殊预留资源的分配超时时间到达后,若该部分预留资源未被使用,则释放该特殊预留资源;和/或
    根据所述资源预留请求中的结束时间,确定特殊预留资源的结束时间达到后,释放未被使用的特殊预留资源。
  12. 如权利要求10所述的装置,其中,所述资源预留单元还设置为:
    从可用资源中为该租户预留出所申请的资源数量后,将为该租户预留出的资源从完全共享资源池划归入预留资源池;
    从可用资源中为该租户预留出所申请的资源数量并仅允许该租户在设定时间段使用后,将为该租户预留出的允许该租户在设定时间段使用的资源从完全共享资源池划归入部分共享资源池。
  13. 如权利要求8-12任一所述的装置,还包括:
    分配请求接收单元,设置为接收租户发送的资源分配请求;
    资源分配单元,设置为根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,并在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户。
  14. 如权利要求13所述的装置,其中,所述资源分配单元根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,包括:
    确定该租户请求的资源为普通资源,且请求的资源数量小于或等于该租户在预留资源池的可用资源数量时,将预留资源池中预留给该租户的持久预留资源分配给该租户;
    确定该租户请求的资源为特殊预留资源,且请求的资源数量小于或等于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,将部分共享资源池中预留给该租户的特殊预留资源分配给该租户;
    所述资源分配单元在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户,包括:
    确定该租户请求的资源为普通资源,且请求的资源数量大于该租户在预留资源池的可用资源数量时,将完全共享资源池和部分共享资源池中的可用资源分配给该租户;
    确定该租户请求的资源为特殊预留资源,且请求的资源数量大于该租户在部分共享资源池预留的特殊预留资源数量、请求的时间满足特殊预留资源设定的可用时间时,释放占用该部分共享资源池的实例,直到满足该租户的资源需求为止。
  15. 一种云平台资源管理系统,包括至少一个租户以及云平台资源管理装置,其中:
    所述云平台资源管理装置,设置为接收租户发送的资源预留请求,根据所述资源预留请求中的参数信息,给所述租户预留资源。
  16. 如权利要求15所述的系统,其中,所述云平台资源管理装置还设置为:
    接收租户发送的资源分配请求;根据所述资源分配请求从预留给该租户的资源中给所述租户分配资源,并在预留给该租户的资源不足时,从共享资源中分配可用资源给该租户。
  17. 一种非暂态存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-7任一项所述的云平台资源管理方法。
  18. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-7任一项所述的云平台资源管理方法。
  19. 一种电子设备,包括至少一个处理器和与所述至少一个处理器通信连接的存储器,所述存储器用于存储可被所述至少一个处理器执行的指令,所述 指令被所述至少一个处理器执行时,使所述至少一个处理器执行权利要求1-7任一项所述的云平台资源管理方法。
PCT/CN2016/101630 2015-11-18 2016-10-10 云平台资源管理方法、装置及系统 WO2017084453A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510793858.2 2015-11-18
CN201510793858.2A CN106712998A (zh) 2015-11-18 2015-11-18 一种云平台资源管理方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2017084453A1 true WO2017084453A1 (zh) 2017-05-26

Family

ID=58717338

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101630 WO2017084453A1 (zh) 2015-11-18 2016-10-10 云平台资源管理方法、装置及系统

Country Status (2)

Country Link
CN (1) CN106712998A (zh)
WO (1) WO2017084453A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865817A (zh) * 2019-11-01 2020-03-06 湖北省楚天云有限公司 一种云计算平台资源计量方法和系统
EP4300892A4 (en) * 2021-04-07 2024-03-20 Huawei Cloud Computing Tech Co Ltd RESOURCE SCHEDULING METHOD AND APPARATUS, COMPUTER DEVICE, SYSTEM AND STORAGE MEDIUM

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241421A (zh) * 2017-06-21 2017-10-10 北京云联万维技术有限公司 一种云主机资源预留方法和装置
CN109308220B (zh) * 2017-07-26 2021-12-14 华为技术有限公司 共享资源分配方法及装置
US11206193B2 (en) 2017-11-09 2021-12-21 Futurewei Technologies, Inc. Method and system for provisioning resources in cloud computing
CN109412878A (zh) * 2019-01-16 2019-03-01 紫光云数科技有限公司 多租户业务接入实现方法、装置及电子设备
CN112887228B (zh) * 2019-11-29 2024-02-02 阿里巴巴集团控股有限公司 云资源管理方法、装置、电子设备及计算机可读存储介质
CN114666223B (zh) * 2020-12-04 2023-11-21 中国移动通信集团设计院有限公司 云计算资源池处理方法、装置及可读存储介质
CN113626193A (zh) * 2021-08-10 2021-11-09 挂号网(杭州)科技有限公司 一种资源调配方法、装置、电子设备及存储介质
CN115499388B (zh) * 2022-08-30 2024-04-12 阿里巴巴(中国)有限公司 虚拟主机资源分配方法、装置、设备及存储介质
CN116567454B (zh) * 2023-07-12 2023-09-22 江苏赛融科技股份有限公司 基于物联网的设备全生命周期运行监测方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544064A (zh) * 2013-10-28 2014-01-29 华为数字技术(苏州)有限公司 云计算方法、云管理平台和客户端
CN103577271A (zh) * 2013-11-14 2014-02-12 浪潮(北京)电子信息产业有限公司 云管理平台、宿主机、虚拟机资源部署方法和系统
US20140101316A1 (en) * 2012-10-08 2014-04-10 Electronics And Telecommunications Research Institute Apparatus and method for provisioning
CN104737131A (zh) * 2012-10-23 2015-06-24 瑞典爱立信有限公司 用于云服务部署的方法和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014159A (zh) * 2010-11-29 2011-04-13 华中科技大学 一种云计算环境下的分层资源预留系统
US8782224B2 (en) * 2011-12-29 2014-07-15 Joyent, Inc. Systems and methods for time-based dynamic allocation of resource management
US9372735B2 (en) * 2012-01-09 2016-06-21 Microsoft Technology Licensing, Llc Auto-scaling of pool of virtual machines based on auto-scaling rules of user associated with the pool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140101316A1 (en) * 2012-10-08 2014-04-10 Electronics And Telecommunications Research Institute Apparatus and method for provisioning
CN104737131A (zh) * 2012-10-23 2015-06-24 瑞典爱立信有限公司 用于云服务部署的方法和系统
CN103544064A (zh) * 2013-10-28 2014-01-29 华为数字技术(苏州)有限公司 云计算方法、云管理平台和客户端
CN103577271A (zh) * 2013-11-14 2014-02-12 浪潮(北京)电子信息产业有限公司 云管理平台、宿主机、虚拟机资源部署方法和系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865817A (zh) * 2019-11-01 2020-03-06 湖北省楚天云有限公司 一种云计算平台资源计量方法和系统
CN110865817B (zh) * 2019-11-01 2024-04-05 湖北省楚天云有限公司 一种云计算平台资源计量方法和系统
EP4300892A4 (en) * 2021-04-07 2024-03-20 Huawei Cloud Computing Tech Co Ltd RESOURCE SCHEDULING METHOD AND APPARATUS, COMPUTER DEVICE, SYSTEM AND STORAGE MEDIUM

Also Published As

Publication number Publication date
CN106712998A (zh) 2017-05-24

Similar Documents

Publication Publication Date Title
WO2017084453A1 (zh) 云平台资源管理方法、装置及系统
WO2020001320A1 (zh) 一种资源分配方法、装置及设备
EP3481007B1 (en) Method, apparatus and management server for processing resource pool
US20210004258A1 (en) Method and Apparatus for Creating Virtual Machine
JP5510556B2 (ja) 仮想マシンのストレージスペースおよび物理ホストを管理するための方法およびシステム
CN106031116B (zh) 一种ns与vnf的关联方法、装置及系统
CN105335229B (zh) 一种业务资源的调度方法和装置
EP3313023A1 (en) Life cycle management method and apparatus
JP2013517544A5 (zh)
US10042676B1 (en) Capacity pool health index
EP3253027A1 (en) Resource allocation method and apparatus for virtual machines
WO2020233020A1 (zh) 预分配容器ip的方法、装置、计算机设备及存储介质
CN112783659B (zh) 一种资源分配方法、装置、计算机设备及存储介质
WO2016095535A1 (zh) 资源分配方法、装置和服务器
JP2018537018A (ja) スケールアウト関連付けの方法および装置、ならびにシステム
WO2018107945A1 (zh) 一种实现硬件资源分配的方法、装置及存储介质
CN111835679B (zh) 多租户场景下的租户资源管理方法和装置
WO2016095524A1 (zh) 资源分配方法及装置
CN112749002A (zh) 一种集群资源动态管理的方法和装置
WO2015042904A1 (zh) 一种多核系统中资源池的调度方法、装置和系统
CN113010309B (zh) 集群资源调度方法、装置、存储介质、设备和程序产品
CN109905258B (zh) PaaS的管理方法、装置及存储介质
WO2024022142A1 (zh) 资源使用方法和装置
JP5867238B2 (ja) オートスケーリング方法,オートスケーリングプログラムおよびコンピュータノード
JP6511025B2 (ja) リソース割当装置、リソース割当方法およびリソース割当プログラム

Legal Events

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

Ref document number: 16865631

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16865631

Country of ref document: EP

Kind code of ref document: A1