# US 2023/0273833 A1 · Resource scheduling method, electronic device, and storage medium

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

- Number: US 2023/0273833 A1
- Document ID: US20230273833A1
- Status: Published application
- Kind: A1
- Application number: 18/014,125
- Filed: 2021-07-02
- Published: 2023-08-31
- Earliest claimed: 2020-07-03
- Assignees: Zte Corporation
- Applicants: ZTE Corporation
- Inventors: Shiying Jin; Zhenyu Wang; Bingtao Han; Yaofeng Tu; Hong Gao
- Web page: https://patentgrep.com/patent/US20230273833A1

## CPC

- G06F 9/5055: {considering software capabilities, i.e. software resources associated or available to the machine}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/505: {considering the load}
- G06F 2209/5019: Workload prediction
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are a resource scheduling method, an electronic device and a storage medium. The resource scheduling method may include: acquiring an intelligent application processing request acquiring current resource usage information; matching an intelligent application instance according to the intelligent application processing request and creating a task according to the resource usage information and the intelligent application instance, to process the intelligent application processing request.

## Claims

### Claim 1

A resource scheduling method, comprising:
acquiring an intelligent application processing request;
acquiring current resource usage information;
matching an intelligent application instance according to the intelligent application processing request; and
creating a task according to the resource usage information and the intelligent application instance, to process the intelligent application processing request.

### Claim 2 (depends on 1)

The resource scheduling method of claim 1, wherein prior to matching an intelligent application instance according to the intelligent application processing request, the method further comprises:
acquiring at least one intelligent application model according to the intelligent application processing request; and
creating at least one intelligent application instance according to the intelligent application model, a resource demand corresponding to the intelligent application model, and the resource usage information.

### Claim 3 (depends on 2)

The resource scheduling method of claim 2, wherein creating at least one intelligent application instance according to the intelligent application model, a resource demand corresponding to the intelligent application model, and the resource usage information comprises:
acquiring a first estimated resource amount according to the resource demand corresponding to the intelligent application model;
acquiring a current idle resource amount according to resource usage information;
comparing the first estimated resource amount with the idle resource amount; and
creating at least one intelligent application instance according to the intelligent application model in response to the first estimated resource amount being not greater than the idle resource amount.

### Claim 4 (depends on 1)

The resource scheduling method of claim 1, wherein prior to matching an intelligent application instance according to the intelligent application processing request, the method further comprises:
prioritizing intelligent application models in a model database to acquire priority information;
acquiring one of the intelligent application models according to the intelligent application processing request and the priority information;
creating at least one intelligent application instance according to the intelligent application model, a resource demand corresponding to the intelligent application model, and the resource usage information.

### Claim 5 (depends on 4)

The resource scheduling method of claim 4, wherein creating at least one intelligent application instance according to the intelligent application model, a resource demand corresponding to the intelligent application model, and the resource usage information comprises:
acquiring scheduling information of the intelligent application model according to the priority information;
determining an intelligent application model to be scheduled accord to the scheduling information;
acquiring a second estimated resource amount according to a resource demand of the intelligent application model to be scheduled;
acquiring a current idle resource amount according to the resource usage information;
comparing the second estimated resource amount with the idle resource amount; and
creating at least one intelligent application instance according to the intelligent application model to be scheduled in response to the second estimated resource amount being not greater than the idle resource amount.

### Claim 6 (depends on 1)

The resource scheduling method of claim 1, wherein creating a task according to the resource usage information and the intelligent application instance comprises:
acquiring state information of the intelligent application instance;
acquiring current task concurrency information;
creating a task according to the intelligent application instance, the state information of the intelligent application instance and the task concurrency information.

### Claim 7 (depends on 6)

The resource scheduling method of claim 6, wherein creating a task according to the intelligent application instance, the state information of the intelligent application instance and the task concurrency information comprises:
acquiring a task concurrency number according to the task concurrency information;
comparing the task concurrency number with a maximum task concurrency number;
creating a task according to the intelligent application instance and the state information of the intelligent application instance in response to the task concurrency number being not greater than the maximum task concurrency number.

### Claim 8 (depends on 7)

The resource scheduling method of claim 7, wherein prior to comparing the task concurrency number with the maximum task concurrency number, the method further comprises:
acquiring a current wait task number; and
adjusting the maximum task concurrency number according to a current maximum task concurrency number, a maximum number of tasks in the system and a preset adjustment factor in response to the current wait task number being greater than a preset wait task number threshold.

### Claim 9 (depends on 1)

The resource scheduling method of claim 1, wherein prior to creating a task according to the resource usage information and the intelligent application instance, the method further comprises:
acquiring a corresponding intelligent application model according to the intelligent application instance;
acquiring a number of to-be-processed requests corresponding to the intelligent application model in a cache queue; and
adjusting an instance concurrency number of the intelligent application model according to the number of to-be-processed requests.

### Claim 10 (depends on 1)

The resource scheduling method of claim 1, wherein prior to creating a task according to the resource usage information and the intelligent application instance, the method further comprises:
acquiring at least two corresponding intelligent application models according to the current concurrent intelligent application instances;
acquiring a number of to-be-processed requests corresponding to each respective intelligent application model in the cache queue;
acquiring priority information of the intelligent application model;
acquiring, according to the number of the to-be-processed requests corresponding to each respective intelligent application models, weight information corresponding to the respective intelligent application model;
adjusting a priority of the respective intelligent application model according to the priority information and the weight information; and
adjusting an instance concurrency number corresponding to the respective intelligent application model according to the priority of the respective intelligent application model and the number of the to-be-processed requests.

### Claim 11

An electronic device, comprising: a memory, a processor, and a program stored in the memory and executable by the processor which, when executed by the processor, causes the processor to perform a resource scheduling method, the resource scheduling method comprising:
acquiring an intelligent application processing request
acquiring current resource usage information;
matching an intelligent application instance according to the intelligent application processing request and
creating a task according to the resource usage information and the intelligent application instance, to process the intelligent application processing request.

### Claim 12

A non-transitory computer-readable storage medium configured for computer-readable storage, wherein the storage medium stores at least one program which, when executed by at least one processor, causes the at least one processor to perform a resource scheduling method, the resource scheduling method comprising:
acquiring an intelligent application processing request
acquiring current resource usage information;
matching an intelligent application instance according to the intelligent application processing request and
creating a task according to the resource usage information and the intelligent application instance, to process the intelligent application processing request.

### Claim 13 (depends on 2)

The resource scheduling method of claim 2, wherein creating a task according to the resource usage information and the intelligent application instance comprises:
acquiring state information of the intelligent application instance;
acquiring current task concurrency information;
creating a task according to the intelligent application instance, the state information of the intelligent application instance and the task concurrency information.

### Claim 14 (depends on 3)

The resource scheduling method of claim 3, wherein creating a task according to the resource usage information and the intelligent application instance comprises:
acquiring state information of the intelligent application instance;
acquiring current task concurrency information;
creating a task according to the intelligent application instance, the state information of the intelligent application instance and the task concurrency information.

### Claim 15 (depends on 4)

The resource scheduling method of claim 4, wherein creating a task according to the resource usage information and the intelligent application instance comprises:
acquiring state information of the intelligent application instance;
acquiring current task concurrency information;
creating a task according to the intelligent application instance, the state information of the intelligent application instance and the task concurrency information.

### Claim 16 (depends on 5)

The resource scheduling method of claim 5, wherein creating a task according to the resource usage information and the intelligent application instance comprises:
acquiring state information of the intelligent application instance;
acquiring current task concurrency information;
creating a task according to the intelligent application instance, the state information of the intelligent application instance and the task concurrency information.

### Claim 17 (depends on 2)

The resource scheduling method of claim 2, wherein prior to creating a task according to the resource usage information and the intelligent application instance, the method further comprises:
acquiring a corresponding intelligent application model according to the intelligent application instance;
acquiring a number of to-be-processed requests corresponding to the intelligent application model in a cache queue; and
adjusting an instance concurrency number of the intelligent application model according to the number of to-be-processed requests.

### Claim 18 (depends on 3)

The resource scheduling method of claim 3, wherein prior to creating a task according to the resource usage information and the intelligent application instance, the method further comprises:
acquiring a corresponding intelligent application model according to the intelligent application instance;
acquiring a number of to-be-processed requests corresponding to the intelligent application model in a cache queue; and
adjusting an instance concurrency number of the intelligent application model according to the number of to-be-processed requests.

### Claim 19 (depends on 2)

The resource scheduling method of claim 2, wherein prior to creating a task according to the resource usage information and the intelligent application instance, the method further comprises:
acquiring at least two corresponding intelligent application models according to the current concurrent intelligent application instances;
acquiring a number of to-be-processed requests corresponding to each respective intelligent application model in the cache queue;
acquiring priority information of the intelligent application model;
acquiring, according to the number of the to-be-processed requests corresponding to each respective intelligent application models, weight information corresponding to the respective intelligent application model;
adjusting a priority of the respective intelligent application model according to the priority information and the weight information; and
adjusting an instance concurrency number corresponding to the respective intelligent application model according to the priority of the respective intelligent application model and the number of the to-be-processed requests.

### Claim 20 (depends on 3)

The resource scheduling method of claim 3, wherein prior to creating a task according to the resource usage information and the intelligent application instance, the method further comprises:
acquiring at least two corresponding intelligent application models according to the current concurrent intelligent application instances;
acquiring a number of to-be-processed requests corresponding to each respective intelligent application model in the cache queue;
acquiring priority information of the intelligent application model;
acquiring, according to the number of the to-be-processed requests corresponding to each respective intelligent application models, weight information corresponding to the respective intelligent application model;
adjusting a priority of the respective intelligent application model according to the priority information and the weight information; and
adjusting an instance concurrency number corresponding to the respective intelligent application model according to the priority of the respective intelligent application model and the number of the to-be-processed requests.
