Resource scheduling method, electronic device, and storage medium
AssigneeZte Corporation
InventorsShiying Jin, Zhenyu Wang, Bingtao Han, Yaofeng Tu, Hong Gao
Life of this patent
Estimating the term…
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.
Claims15
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;
- 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.
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;
- 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.
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;
- 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.
Dependencies are inferred from the claim text.