# US 2023/0273831 A1 · Instance allocation method, system, and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273831 A1
- Document ID: US20230273831A1
- Status: Published application
- Kind: A1
- Application number: 18/297,007
- Filed: 2023-04-07
- Published: 2023-08-31
- Earliest claimed: 2020-10-22
- Assignees: Huawei Cloud Computing Technologies Co., Ltd.
- Applicants: Huawei Cloud Computing Technologies Co., Ltd.
- Inventors: Xuqi Zhu; Shuming Jing
- Web page: https://patentgrep.com/patent/US20230273831A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/505: {considering the load}
- G06F 2209/5011: Pool
- G06F 2209/5019: Workload prediction
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In a method performed by cloud computing management system for instance allocation, the system receives an instance allocation request uploaded by a tenant. The instance allocation request includes a processor resource requirement. Based on the instance allocation request, the system generates an instance allocation solution which includes a life cycle of an instance allocated to the tenant. The system then allocates, based on the instance allocation solution, the instance to the tenant from a cloud computing resource pool managed by the cloud computing management system.

## Claims

### Claim 1

An instance allocation method performed by a cloud computing management system, comprising:
receiving an instance allocation request uploaded by a tenant, wherein the instance allocation request comprises a processor resource requirement;
generating an instance allocation solution based on the instance allocation request, wherein the instance allocation solution comprises a life cycle of an instance allocated to the tenant; and
allocating, based on the instance allocation solution, the instance to the tenant from a cloud computing resource pool managed by the cloud computing management system.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the processor resource requirement comprises a product of a quantity of processors and duration.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the instance allocation request further comprises an instance type, an available area, an instance specification, a minimum quantity of synchronous running instances, shortest valid running time, or a deadline, the minimum quantity of synchronous running instances indicates a minimum quantity of instances that run simultaneously, the shortest valid running time indicates shortest running time of an instance each time, and the deadline indicates latest time at which running of the instance meets the processor resource requirement.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the instance allocation solution comprises an instance type of the instance, an available area in which the instance is located, or an instance specification of the instance.

### Claim 5 (depends on 1)

The method according to claim 1, wherein before the step of allocating the instance, the method further comprises:
sending the instance allocation solution to the tenant; and
receiving acknowledgment of the tenant for the instance allocation solution.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the step of generating the instance allocation solution comprises:
determining that the cloud computing resource pool cannot meet the instance allocation request;
notifying the tenant to adjust the instance allocation request; and
generating the instance allocation solution based on an adjusted instance allocation request.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the step of notifying the tenant comprises:
generating adjustment solutions, wherein each adjustment solution indicates to adjust one or more parameters in the instance allocation request; and
receiving an adjustment solution selected by the tenant.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the method further comprises:
before the step of allocating the instance,
receiving a task uploaded by the tenant; and
storing the task in a storage resource in the cloud computing resource pool; and after allocating the instance,
running the stored task on the instance.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the step of generating the instance allocation solution comprises:
generating the instance allocation solution based on the instance allocation request and a predicted idle state of a computing resource in the cloud computing resource pool, wherein the predicted idle state of the computing resource indicates a quantity of idle computing resources and idle time of the computing resource in future.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the step of allocating the instance comprises:
allocating the instance to the tenant from the cloud computing resource pool based on the instance allocation solution and a real-time idle state of the computing resource in the cloud computing resource pool, wherein the real-time idle state of the computing resource indicates a quantity of idle computing resources at a current moment.

### Claim 11

A cloud computing management system comprising:
a memory storing executable instructions; and
a processor configured to execute the executable instructions to:
receive an instance allocation request uploaded by a tenant, wherein the instance allocation request comprises a processor resource requirement;
generate an instance allocation solution based on the instance allocation request, wherein the instance allocation solution comprises a life cycle of an instance allocated to the tenant;
allocates, based on the instance allocation solution, the instance to the tenant from a cloud computing resource pool managed by the cloud computing management system.

### Claim 12 (depends on 11)

The system according to claim 11, wherein the processor resource requirement comprises a product of a quantity of processors and duration.

### Claim 13 (depends on 11)

The system according to claim 11, wherein the instance allocation request further comprises an instance type, an available area, an instance specification, a minimum quantity of synchronous running instances, shortest valid running time, or a deadline, wherein the minimum quantity of synchronous running instances indicates a minimum quantity of instances that run simultaneously, the shortest valid running time indicates shortest running time of an instance each time, and the deadline indicates latest time at which running of the instance meets the processor resource requirement.

### Claim 14 (depends on 11)

The system according to claim 11, wherein the instance allocation solution comprises an instance type of the instance, an available area in which the instance is located, or an instance specification of the instance.

### Claim 15 (depends on 11)

The system according to claim 11, wherein the processor is configured to:
prior to allocating the instance to the tenant, sending the instance allocation solution to the tenant; and
receive acknowledgment of the tenant for the instance allocation solution.

### Claim 16 (depends on 11)

The system according to claim 11, wherein the processor is configured to generate the instance allocation solution by:
determine that the cloud computing resource pool cannot meet the instance allocation request;
notifying the tenant to adjust the instance allocation request; and
generating the instance allocation solution based on an adjusted instance allocation request.

### Claim 17 (depends on 16)

The system according to claim 16, wherein the processor is configured to notify the tenant by:
generating adjustment solutions, wherein each adjustment solution indicates to adjust one or more parameters in the instance allocation request; and
receiving an adjustment solution selected by the tenant.

### Claim 18 (depends on 11)

The system according to claim 11, further comprising an interface,
wherein the processor is configured to:
prior to allocating the instance,
receive via the interface a task uploaded by the tenant; and
store the task in a storage resource in the cloud computing resource pool; and
after allocating the instance,
run the stored task on the instance.

### Claim 19 (depends on 11)

The system according to claim 11, wherein the processor is configured to generate the instance allocation solution by:
generating the instance allocation solution based on the instance allocation request and a predicted idle state of a computing resource in the cloud computing resource pool, wherein the predicted idle state of the computing resource indicates a quantity of idle computing resources and idle time of the computing resource in future.

### Claim 20 (depends on 11)

The system according to claim 11, wherein the processor is configured to allocate the instance to the tenant by:
allocating the instance to the tenant from the cloud computing resource pool based on the instance allocation solution and a real-time idle state of the computing resource in the cloud computing resource pool, wherein the real-time idle state of the computing resource indicates a quantity of idle computing resources at a current moment.
