Calculation power scheduling method and device, equipment and storage medium

By dynamically scheduling computing power in task-based computing power services, task processing efficiency is improved, the problem of low matching of computing power resources in the existing technology is solved, and efficient utilization of computing power resources in the resource pool is achieved.

CN118796386APending Publication Date: 2024-10-18CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410656593.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In existing task-based computing services, the matching degree of computing resources is low, resulting in low task processing efficiency.

Method used

By obtaining task request information, add it to the corresponding resource pool task queue according to the task type, and perform dynamic scheduling of computing power when the resource pool allocable computing power is insufficient, including determining the impact of low-ranking tasks on task requests and matching The resource pool can allocate computing power to match the low-order task requests and perform dynamic scheduling of computing power.

Benefits of technology

It improves the matching degree of computing power allocation, improves task processing efficiency, and ensures the maximum utilization of computing power resources in the resource pool.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796386A_ABST
    Figure CN118796386A_ABST
Patent Text Reader

Abstract

The invention provides a computing power scheduling method and device, equipment and a storage medium, and relates to the field of task type computing power services. In some embodiments of the disclosure, a task request is obtained, the task request carries task request information, and the task request information comprises a task request type, computing power required by the task request and a task priority; according to the task request type, the task request is added into a target task queue of a resource pool corresponding to the task request type, and the target task queue is a task queue corresponding to the task priority of the task request; under the condition that the allocatable computing power of the resource pool is smaller than the computing power required by the task request, namely, when dynamic scheduling is needed, the computing power dynamic scheduling is carried out, the matching degree of computing power allocation can be improved, and the subsequent task processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of task-based computing services, and in particular to a computing power scheduling method, device, equipment and storage medium. Background Art

[0002] In the existing task-based computing service process, it is necessary to allocate computing resources in the resource pool so as to match the computing resources in the resource pool with the user's task request.

[0003] In the existing dynamic scheduling process of computing power resources in the resource pool, it is necessary to match the computing power required by the task request with the schedulable computing power of the resource pool. The lower the difference between the two, the higher the degree of matching.

[0004] Currently, the matching degree of computing power allocation is low, resulting in low efficiency in subsequent task processing. Summary of the invention

[0005] The present disclosure provides a computing power scheduling method to at least solve the problems of low matching degree and low task processing efficiency in existing computing power allocation.

[0006] The technical solution of the present disclosure is as follows:

[0007] The present disclosure provides a computing power scheduling method, including:

[0008] Obtaining a task request, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority;

[0009] According to the task request type, the task request is added to the target task queue of the resource pool corresponding to the task request type, and the target task queue is the task queue corresponding to the task priority of the task request;

[0010] When the computing power that can be allocated by the resource pool is less than the computing power required by the task request, dynamic scheduling of computing power is performed.

[0011] Optionally, when the computing power that can be allocated by the resource pool is less than the computing power required by the task request, dynamic computing power scheduling is performed, including:

[0012] When the computing power that can be allocated by the resource pool is less than the computing power required by the task request, determine the impact of the low-priority task request on the task request;

[0013] According to the degree of impact, the available computing power of the resource pool and the required computing power of the low-priority task request, determine the degree of matching between the available computing power of the resource pool and the low-priority task request;

[0014] Dynamically schedule computing power based on the degree of matching.

[0015] Optionally, determining the impact of the low-priority task request on the task request includes:

[0016] Collect the remaining time monitoring time series data of the computing tasks in the running state in the resource pool;

[0017] Monitor the abnormal information in the time series data based on the remaining time and obtain the fluctuation degree of the computing task;

[0018] According to the fluctuation degree of the computing task, the distance between the remaining time monitoring time series data is determined;

[0019] The distance between the remaining time monitoring time series data is input into the task remaining time evaluation model to obtain the accuracy of the remaining time of the calculation task;

[0020] Determine the remaining computing power prediction result of the resource pool based on the accuracy of the remaining time of the computing task;

[0021] According to the remaining computing power prediction results, determine the impact of low-priority task requests on task requests.

[0022] Optionally, before evaluating the model using the task remaining time, the method further comprises:

[0023] Set the initial number of categories based on the number of computing tasks running in the resource pool;

[0024] According to the distance between the remaining time monitoring time series data and the initial classification quantity, a clustering operation is performed on the remaining time monitoring time series data to obtain a clustering result;

[0025] Sort the clusters in the clustering results according to the number of tasks in the clusters from high to low to obtain the cluster ranking;

[0026] According to the order of clusters, the number of tasks in the clusters is accumulated in sequence until the number of tasks accounts for the set proportion of the total number of tasks;

[0027] The distance between regular tasks and the time series data of the cluster center closest to regular tasks is used as the evaluation criterion for the accuracy of task remaining time; the distance between non-routine tasks and the time series data of the cluster center of the regular cluster closest to the non-routine tasks is used as the evaluation criterion for the accuracy of remaining time, and a task remaining time evaluation model for computing tasks in running state in the resource pool is obtained, among which regular tasks are tasks corresponding to the accumulated clusters, and non-routine tasks are tasks other than regular tasks.

[0028] Optionally, according to the accuracy of the remaining time of the computing task, the remaining computing power prediction result of the resource pool is determined, including:

[0029] According to the accuracy of the remaining time of the computing task, the estimated remaining time of each task at the current moment is weighted to obtain the estimated time of the running computing task;

[0030] According to the accuracy of the remaining time of the calculation task, the estimated time is adjusted to obtain the adjusted remaining time;

[0031] Based on the adjusted remaining time, determine the remaining computing power forecast result of the resource pool.

[0032] Optionally, based on the matching degree, dynamic computing power scheduling is performed, including:

[0033] Allocate the available computing power in the resource pool to the low-priority tasks corresponding to the low-priority task requests.

[0034] The present disclosure also provides a computing power scheduling device, including:

[0035] An acquisition module is used to acquire a task request, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority;

[0036] A adding module, used for adding the task request to a target task queue of a resource pool corresponding to the task request type according to the task request type, the target task queue being a task queue corresponding to the task priority of the task request;

[0037] The scheduling module is used to dynamically schedule computing power when the computing power that can be allocated by the resource pool is less than the computing power required by the task request.

[0038] Optionally, when the computing power that can be allocated by the resource pool is less than the computing power required by the task request, the scheduling module performs dynamic scheduling of computing power, and is used to:

[0039] When the computing power that can be allocated by the resource pool is less than the computing power required by the task request, determine the impact of the low-priority task request on the task request;

[0040] According to the degree of impact, the available computing power of the resource pool and the required computing power of the low-priority task request, determine the degree of matching between the available computing power of the resource pool and the low-priority task request;

[0041] Dynamically schedule computing power based on the degree of matching.

[0042] Optionally, when determining the influence of the low-priority task request on the task request, the scheduling module is used to:

[0043] Collect the remaining time monitoring time series data of the computing tasks in the running state in the resource pool;

[0044] Monitor the abnormal information in the time series data based on the remaining time and obtain the fluctuation degree of the computing task;

[0045] According to the fluctuation degree of the computing task, the distance between the remaining time monitoring time series data is determined;

[0046] The distance between the remaining time monitoring time series data is input into the task remaining time evaluation model to obtain the accuracy of the remaining time of the calculation task;

[0047] Determine the remaining computing power prediction result of the resource pool based on the accuracy of the remaining time of the computing task;

[0048] According to the remaining computing power prediction results, determine the impact of low-priority task requests on task requests.

[0049] Optionally, before evaluating the model using the task remaining time, the scheduling module can also be used to:

[0050] Set the initial number of categories based on the number of computing tasks running in the resource pool;

[0051] According to the distance between the remaining time monitoring time series data and the initial classification quantity, a clustering operation is performed on the remaining time monitoring time series data to obtain a clustering result;

[0052] Sort the clusters in the clustering results according to the number of tasks in the clusters from high to low to obtain the cluster ranking;

[0053] According to the order of clusters, the number of tasks in the clusters is accumulated in sequence until the number of tasks accounts for the set proportion of the total number of tasks;

[0054] The distance between regular tasks and the time series data of the cluster center closest to regular tasks is used as the evaluation criterion for the accuracy of task remaining time; the distance between non-routine tasks and the time series data of the cluster center of the regular cluster closest to the non-routine tasks is used as the evaluation criterion for the accuracy of remaining time, and a task remaining time evaluation model for computing tasks in running state in the resource pool is obtained, among which regular tasks are tasks corresponding to the accumulated clusters, and non-routine tasks are tasks other than regular tasks.

[0055] Optionally, when determining the remaining computing power prediction result of the resource pool according to the remaining time accuracy of the computing task, the scheduling module is used to:

[0056] According to the accuracy of the remaining time of the computing task, the estimated remaining time of each task at the current moment is weighted to obtain the estimated time of the running computing task;

[0057] According to the accuracy of the remaining time of the calculation task, the estimated time is adjusted to obtain the adjusted remaining time;

[0058] Based on the adjusted remaining time, determine the remaining computing power forecast result of the resource pool.

[0059] Optionally, when the scheduling module performs dynamic scheduling of computing power according to the matching degree, it is used to:

[0060] Allocate the available computing power in the resource pool to the low-priority tasks corresponding to the low-priority task requests.

[0061] The present disclosure also provides an electronic device, including:

[0062] processor;

[0063] a memory for storing processor-executable instructions;

[0064] The processor is configured to execute instructions to implement each step in the above method.

[0065] The embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step in the above method is implemented.

[0066] The embodiment of the present disclosure also provides a computer program product, including a computer program / instruction, and when the computer program / instruction is executed by a processor, each step in the above method is implemented.

[0067] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0068] In some embodiments of the present disclosure, a task request is obtained, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority; according to the task request type, the task request is added to a target task queue of a resource pool corresponding to the task request type, the target task queue being a task queue corresponding to the task priority of the task request; when the allocatable computing power of the resource pool is less than the computing power required for the task request, that is, when dynamic scheduling is required, dynamic scheduling of computing power is performed, which can improve the matching degree of computing power allocation and improve the efficiency of subsequent task processing.

[0069] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0071] Figure 1A flowchart of a computing power scheduling method provided for an exemplary embodiment of the present disclosure;

[0072] Figure 2 A schematic diagram of the structure of a computing power scheduling device provided for an exemplary embodiment of the present disclosure;

[0073] Figure 3 A schematic structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0074] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0075] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.

[0076] It should be noted that the user information involved in this disclosure includes but is not limited to: user device information and user personal information; the collection, storage, use, processing, transmission, provision and disclosure of user information in this disclosure comply with the relevant laws and regulations and do not violate public order and good morals.

[0077] In the existing task-based computing service process, it is necessary to allocate the computing resources in the resource pool so as to match the computing resources in the resource pool with the user's task request. First, a task request with a user priority tag is received, which includes information such as the task computing resource demand, the time required for the task, and the resource pool selection. After obtaining the user's priority tag and task type, the task is assigned to the task queue of the corresponding resource pool. Task types include GPU computing service (cloud server providing CPU+GPU), AI model training, AI service deployment, etc. For each task queue corresponding to a computing resource pool, it is necessary to match the computing power that can be allocated by the current resource pool with the computing power required for the task corresponding to the task order in the task queue (the task order is the first task request in the current task queue) to determine whether the remaining computing power of the resource pool (the computing power that can be allocated by the resource pool) meets the task requirements. If it does, the computing power of the resource pool is allocated to the task request corresponding to the current task order. However, because there is a mismatch between the computing power required by the task request in the task order and the computing power that can be allocated by the resource pool during the task matching process, it is necessary to schedule the allocatable computing power through dynamic scheduling, that is, to allocate the computing power of the resource pool by making the task request with the best matching computing power in the subsequent task order, so as to ensure the maximum utilization of computing power resources.

[0078] In the existing dynamic scheduling process of resource pool computing power resources, it is necessary to match the computing power required by the task request with the schedulable computing power of the resource pool. The lower the difference between the two, the higher the matching degree. However, in the dynamic scheduling process, if the allocatable computing power is dynamically scheduled to the task requests of the subsequent order, and the computing power resource allocation of the first-order task request is affected during the computing power resource occupation time, this will cause the high-priority task request to be delayed, resulting in abnormal execution of the task. The computing power resource allocation that affects the first-order task request is, for the first-order task A in the task queue and the current resource pool allocatable computing power α t There is a mismatch between t Assigned to the subsequent task B, when task B occupies computing power resources α B During the usage time, there is a computing power release α1 in the resource pool, and the computing power that can be allocated after the release is α B The computing power requirement of task A cannot be met due to the occupation of A This problem can also be described as the abnormal computing power allocation caused by ignoring the measurement of the impact of dynamic scheduling on high-priority tasks in the calculation of the matching degree during the dynamic scheduling of the computing power that can be allocated by the resource pool.

[0079] Currently, the matching degree of computing power allocation is low, which reduces the efficiency of task processing.

[0080] In response to the above technical problems, in some embodiments of the present disclosure, a task request is obtained, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority; according to the task request type, the task request is added to a target task queue of a resource pool corresponding to the task request type, and the target task queue is a task queue corresponding to the task priority of the task request; when the computing power that can be allocated by the resource pool is less than the computing power required for the task request, that is, when dynamic scheduling is required, dynamic scheduling of computing power is performed, which can improve the matching degree of computing power allocation and improve the efficiency of subsequent task processing.

[0081] The technical solutions provided by various embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.

[0082] Figure 1 A flowchart of a computing power scheduling method provided by an exemplary embodiment of the present disclosure. Figure 1 As shown, the method includes:

[0083] S101: Obtain a task request, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority;

[0084] S102: according to the task request type, adding the task request to a target task queue of a resource pool corresponding to the task request type, the target task queue being a task queue corresponding to the task priority of the task request;

[0085] S103: When the computing power that can be allocated by the resource pool is less than the computing power required by the task request, dynamic scheduling of computing power is performed.

[0086] In this embodiment, the execution subject of the above method may be a terminal device or a server.

[0087] Among them, the terminal device includes but is not limited to a mobile station (MS), a mobile terminal, a mobile phone, a handset and a portable equipment, etc. The terminal device can communicate with one or more core networks via a radio access network (RAN). For example, the terminal device can be a mobile phone (or a "cellular" phone), a computer with a wireless communication function, etc. The terminal device can also be a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an AR terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc., and the operating system installed on the terminal device includes but is not limited to: IOS, Android, windows, linux, Mac OS and other operating systems. In different networks, the terminal may be called different names, such as user equipment, mobile station, subscriber unit, station, cellular phone, personal digital assistant, wireless modem, wireless communication device, handheld device, laptop computer, cordless phone, wireless local loop station, television, etc. For the convenience of description, it is referred to as terminal equipment in this embodiment.

[0088] In this embodiment, the implementation form of the server is not limited. For example, the server can be a conventional server, a cloud server, a cloud host, a virtual center, or other server devices. The server mainly includes a processor, a hard disk, a memory, a system bus, etc., and a general computer architecture type.

[0089] In this embodiment, a task request is obtained, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority; according to the task request type, the task request is added to a target task queue of a resource pool corresponding to the task request type, and the target task queue is a task queue corresponding to the task priority of the task request; when the allocatable computing power of the resource pool is less than the computing power required for the task request, that is, when dynamic scheduling is required, dynamic scheduling of computing power is performed; and when the allocatable computing power is greater than or equal to the computing power required for the task request, computing power is allocated according to the priority; the matching degree of computing power allocation can be improved, and the efficiency of subsequent task processing can be improved.

[0090] In some embodiments of the present disclosure, a computing power scheduling system is also provided. The computing power scheduling system includes: a user's task request information monitoring and collection module, a task queue sorting module, a resource pool allocation module, a resource pool computing power information monitoring and collection module, a resource pool allocatable computing power prediction module, and a resource pool allocatable computing power dynamic scheduling module.

[0091] In some embodiments of the present disclosure, a task request is obtained, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority. Among them, a task request from a user is received, and task request information is collected. For a task request received by a computing power service, task request information corresponding to the task request is collected. The task type is the computing power service type, including GPU computing power service (cloud server providing CPU+GPU), AI model training, AI service deployment, etc. The computing power required for a task is the amount of computing power resources in the resource pool that are required for the normal operation of the task. The present disclosure uses FLOPS (Floating Points Operatins Per Second) as a unit of measurement for computing power. Different computing power services can be measured by different computing power dimensions. For example, IPS, bandwidth, IOPS, TPS and other dimensional units. Task priority is the preset authority of the user task for the system. In the task queue, high-priority tasks will enter the high-priority queue for queuing. The estimated duration of a task is the time required for the task to occupy computing power resources through ideal computing power calculations.

[0092] In some embodiments of the present disclosure, according to the task request type, the task request is added to a target task queue of a resource pool corresponding to the task request type, and the target task queue is a task queue corresponding to the task priority of the task request.

[0093] For example, for the collected task request type, the task request is forwarded to the task queue of the resource pool corresponding to its task type. The task queue is the task queue of the priority corresponding to the task request. In the task queue, each task request corresponds to a queue number in the task queue, and the queue number is used as the index of the task request. In this application proposal, the required computing power for the i-th task request in the analyzed queue is calculated by α i To express.

[0094] For task queues of different priorities, the task queues are arranged from high priority to low priority to form the task queues that are ultimately used for resource pool computing power allocation. When there are new tasks, the task request is added to the end of the corresponding priority queue.

[0095] In some embodiments of the present disclosure, the queue task matching result is used to determine whether it is necessary to dynamically schedule the computing power that can be allocated from the resource pool. When there are queued tasks in the task queue, it means that the computing power in the resource pool needs to be allocated by sorting the task queue. The computing power α required for the task request corresponding to the task request A at the top of the task queue is A , and compare it with the allocable computing power α of the resource pool at that moment t To determine the computing power, when α t ≥α A When α is used, the computing power is directly allocated according to the order. t <α A , it means that the available computing power in the current resource pool cannot support task A. In order to ensure the utilization of computing power in the resource pool, the dynamic scheduling process of the available computing power in the resource pool begins. The dynamic scheduling process allocates the available computing power in the resource pool to other tasks with a high matching degree. The matching degree is the comparison between the computing power required by the task request in the queue and the remaining computing power in the resource pool at this time.

[0096] In some embodiments of the present disclosure, when the computing power that can be allocated by the resource pool is less than the computing power required by the task request, dynamic scheduling of computing power is performed. One achievable method is to determine the degree of influence of the low-priority task request on the task request when the computing power that can be allocated by the resource pool is less than the computing power required by the task request; determine the degree of matching between the computing power that can be allocated by the resource pool and the low-priority task request based on the degree of influence, the computing power that can be allocated by the resource pool, and the computing power required by the low-priority task request; and perform dynamic scheduling of computing power based on the degree of matching.

[0097] In the above embodiment, the degree of influence of low-priority task requests on task requests is determined. One achievable method is to collect the remaining time monitoring time series data of the computing tasks in operation in the resource pool; obtain the degree of fluctuation of the computing tasks according to the abnormal information in the remaining time monitoring time series data; determine the distance between the remaining time monitoring time series data according to the degree of fluctuation of the computing tasks; input the distance between the remaining time monitoring time series data into the task remaining time evaluation model to obtain the remaining time accuracy of the computing tasks; determine the remaining computing power prediction result of the resource pool according to the remaining time accuracy of the computing tasks; determine the degree of influence of low-priority task requests on task requests according to the remaining computing power prediction result. Among them, in order to ensure the priority allocation of the first-priority tasks in the task queue, the matching process between the computing power required for the task request and the remaining computing power in the resource pool in the above dynamic scheduling process needs to judge the influence of the computing power occupation of the low-priority tasks on task A during matching.

[0098] For example, first, the computing power that will be released at each subsequent moment is reflected in the remaining computing power according to the remaining time of the task being executed at the current moment through the resource pool allocatable computing power prediction module, that is, for the resource pool information at time t, the estimated data of the remaining computing power after that moment is obtained, and then the impact of the i-th task request in the task queue on task A is measured by the resource occupation time required by the request. assessment.

[0099] Because the essence of the impact assessment process is to predict the remaining computing power by estimating the remaining occupancy time of the executing tasks that have occupied the computing power in the resource pool, so when the remaining occupancy time of the task is inaccurate, there will still be a waste of resource pool computing power. In the process of monitoring the remaining time of running tasks, because the calculation process of running tasks has random noise such as model training anomalies, that is, the remaining time evaluation of the executing tasks is fluctuating. Therefore, in order to ensure a higher computing power resource utilization rate in the computing power allocation process of the task-based computing power service proposed in this application. It is also necessary to further optimize the estimated time of running tasks to ensure the accuracy of the prediction results of the remaining computing power of the resource pool.

[0100] The following is an exemplary embodiment to illustrate the specific steps of determining the impact of low-ranking task requests on task requests:

[0101] (1) Collect the remaining time monitoring time series data of the computing tasks in the running state in the resource pool.

[0102] For the computing tasks in the resource pool, the task monitoring module is used to monitor the remaining time of the computing power occupied by the task in real time. For the mth running task, the remaining time is the monitoring of the remaining computing time through the theoretical required computing power and computing power occupied time of the task request from the beginning of the operation. Because during the operation of the task, there will be fluctuations in computing power usage, where the fluctuation in computing power usage is the computing power allocation problem that occurs in the actual operation of the task request. For example, when performing block computing tasks for image data, different data segmentation leads to different computing time for each data block. Because of the barrel principle, the actual occupied time of the resource pool example will be different from the theoretical occupied time. Then, for the data collection of the remaining time of the task at each moment, there will be fluctuations in the remaining value, while the remaining time in the ideal remaining time time series data will show a continuous decline pattern; each moment here means that the remaining running time of the task is collected every second after the task starts running.

[0103] (2) Monitor the abnormal information in the time series data based on the remaining time and obtain the fluctuation degree of the computing task.

[0104] After obtaining the remaining time time series data of each running task in the resource pool, because it is necessary to evaluate the accuracy of the remaining time of each task by establishing a task remaining time evaluation model, it is necessary to measure the distance between the remaining time time series data of the running tasks. However, because the running time of the running tasks is different, in order to accurately evaluate the distance between the remaining time time series data of the running tasks, it is necessary to compare the actual monitoring data with the ideal remaining time changes, so as to obtain the fluctuation degree of each running task. m,a :

[0105] ξ m,a =1 a=1

[0106] ξ m,a =1+Norm(|H m,a -(T m -a)|)a>1

[0107] Among them, T m : represents the initial time estimate corresponding to the mth task running in the resource pool; H m,a : Represents the observed value corresponding to the ath moment in the remaining time time series data of the mth task running in the resource pool.

[0108] The principle of the above formula is: in the remaining time series data, for each observation value, the linear normalization result of the difference between the remaining ideal remaining time values ​​is used as the fluctuation degree of the time series data point, so as to optimize the distance in the subsequent distance measurement process between the time series data.

[0109] (3) According to the fluctuation degree of the computing task, determine the distance between the remaining time monitoring time series data.

[0110] After obtaining the fluctuation degree of each data point in the remaining time series data of the running task, the dynamic regularization distance calculation between the time series data can be performed based on the fluctuation degree, thereby obtaining the distance d between the remaining time series data of the running mth task and the nth task. m,n :

[0111]

[0112] Among them, N m ,N n : represents the number of data points in the remaining time series data of the mth running task and the nth running task respectively; ξ m,q : Indicates the degree of fluctuation corresponding to the qth data point in the remaining time series data of the mth running task; DTW q : Represents the difference between the corresponding data points of the qth data point in the time series data with more data points during the dynamic time warping process of two time series data.

[0113] The principle of the above formula is that in the process of distance measurement between the remaining time series data of the running tasks, the distance between the time series data of different lengths needs to be calculated through the dynamic time warping process. However, there is a fluctuation in the actual remaining time during the distance measurement process. At this time, the weight of the dynamic warping distance calculation is calculated by the degree value of the data point with a higher degree of fluctuation between the two corresponding data points, so as to increase the value between the two time series data, thereby ensuring that the distance between the tasks with the same actual running time extension is small, and the distance between the remaining time series data between the delayed tasks and the non-delayed tasks is increased.

[0114] (4) The distance between the remaining time monitoring time series data is input into the task remaining time evaluation model to obtain the accuracy of the remaining time of the calculation task.

[0115] After obtaining the distance between the remaining time time series data of the tasks running in the resource pool, the accuracy of the remaining time of the tasks is evaluated through unsupervised clustering.

[0116] Before using the task remaining time evaluation model, it is necessary to first train the task remaining time evaluation model. One feasible way is to set the initial classification number according to the number of computing tasks running in the resource pool; perform clustering operation on the remaining time monitoring time series data according to the distance between the remaining time monitoring time series data and the initial classification number to obtain the clustering result; sort the clusters in the cluster results according to the order of the number of tasks in the clusters from high to low to obtain the cluster sorting; according to the cluster sorting, the number of tasks in the clusters is accumulated in sequence until the number of tasks accounts for the set proportion of the total number of tasks; the distance between the regular task and the cluster center time series data closest to the regular task is used as the evaluation standard for the accuracy of the task remaining time; the distance between the non-routine task and the cluster center time series data of the regular cluster closest to the non-routine task is used as the evaluation standard for the accuracy of the remaining time, and obtain the task remaining time evaluation model of the computing tasks in the running state in the resource pool, wherein the regular task is the task corresponding to the accumulated cluster, and the non-routine task is the task other than the regular task.

[0117] For example, the initial number of categories K=20 is set according to the number of tasks running in the resource pool. The initial number of categories can be adjusted according to the number of tasks running in the actual resource pool. If there are more tasks running, the number of categories can be increased.

[0118] Through the above d m,n Numerical K-means clustering process is performed on the remaining time series data of the running tasks to obtain the clustering results.

[0119] For the above clustering results, they are sorted from high to low according to the number of tasks in the cluster.

[0120] The number of tasks in the clusters is added in sequence according to the order of the clusters until the number of tasks accounts for a set proportion value of 80% of the total number of tasks.

[0121] For the accumulated clusters, the tasks are considered as regular tasks, and the remaining tasks are considered as irregular tasks.

[0122] For regular tasks, the distance between the task and its nearest cluster center time series data is used as the evaluation standard for the accuracy of the remaining time of the task; for non-routine tasks, the distance between the task and the nearest regular cluster center time series data is used as the evaluation standard for the accuracy of the remaining time. At this point, the accuracy evaluation model for each running task in the resource pool is obtained.

[0123] The remaining time evaluation model is used to obtain the accuracy of the remaining time of the running tasks.

[0124] After obtaining the remaining time evaluation model of the running tasks in the resource pool, for each running task obtained in the model, the distance d m , the distance between the regular tasks and the non-routine tasks and the cluster center time series data in the evaluation model. The remaining time accuracy of each task η is obtained by linearly normalizing the distance corresponding to all tasks in the resource pool at the current moment m =2-Norm(d m ).

[0125] (5) Optimize the remaining computing power prediction results of the resource pool by the accuracy of the remaining time of the running tasks.

[0126] One feasible method is to weight the estimated remaining time of each task at the current moment according to the accuracy of the remaining time of the computing task to obtain the estimated time of the running computing task; adjust the estimated time according to the accuracy of the remaining time of the computing task to obtain the adjusted remaining time; and determine the remaining computing power prediction result of the resource pool according to the adjusted remaining time.

[0127] For example, after obtaining the accuracy of the remaining time corresponding to the running tasks in the resource pool, the estimated remaining time of each task at the current moment is weighted and optimized according to the accuracy of the remaining time. For the estimated time of the mth running task, the estimated time is adjusted according to the time accuracy corresponding to the task, and the estimated time is weighted according to the accuracy of the remaining time to obtain the optimized remaining time Y m =η m ·H m .

[0128] For the remaining time after optimization of the running tasks in the resource pool, the remaining computing power prediction data corresponding to the current time t is sorted out. That is, when the remaining time of each task is reached, the computing power resources occupied by the task are released, and the computing power is added to the remaining computing power, so as to obtain the time series data of the remaining computing power prediction, where each timestamp corresponds to the remaining computing power α at that moment t .

[0129] (6) Obtain the influence of low-priority task requests on first-priority task requests in the task queue through the remaining computing power prediction result. The first-priority task request is the task request mentioned above.

[0130] For the computing power requirement α corresponding to the i-th task request in the task queue i and the required occupation time β i , the degree of influence Assessment:

[0131]

[0132] In the above formula, △T(α t ≥α A ) indicates that for the first-priority task request A, the time from the current moment to the remaining computing power in the remaining computing power time series data can satisfy the task request A, which is compared with the occupied time required by the i-th low-priority task request, and mapped through the ReLU function. When the occupied time of the i-th task request is less than the time for the remaining computing power to satisfy task A, the impact degree is 0, otherwise it is the normalized result of the time difference. The greater the impact of the low priority on the time of the first-priority task A, the higher the impact degree. So far, the impact degree of the low-priority task request on the first-priority request of the task queue is obtained through the estimated result of the computing power that can be allocated by the optimized resource pool.

[0133] In some embodiments of the present disclosure, the degree of matching between the computing power that can be allocated by the resource pool and the low-priority task request is determined based on the degree of influence, the computing power that can be allocated by the resource pool, and the computing power required by the low-priority task request. After obtaining the degree of influence of each low-priority task request, the difference between the computing power required for the task and the remaining computing power can be optimized. For low-priority task requests with higher degrees of influence, it is necessary to reduce the degree of matching by the degree of influence, that is, to increase the computing power difference to achieve this effect. Therefore, for the matching degree ε between the i-th task request and the remaining computing power of the resource pool i,t :

[0134]

[0135] For the remaining computing power α of the resource pool at time t t , when it is greater than the required computing power α of the i-th low-ranking task request i When the computing power difference is smaller, it means that the low-priority task request is more suitable for the dynamic scheduling of the computing power that can be allocated by the resource pool at this time. And on this basis, the influence of the i-th task request on the first-priority task A is weighted to ensure that the matching task will not affect the normal processing of the first-priority task request A during the matching process.

[0136] In some embodiments of the present disclosure, computing power is dynamically scheduled according to the matching degree. After obtaining the matching degree between each low-priority task in the task queue and the current resource pool allocatable computing power, the allocatable computing power is allocated to the low-priority task, and then the above process is repeated to perform the next resource pool computing power dynamic scheduling evaluation process. In this way, the high utilization rate of computing power resources in the resource pool and the minimum impact on the first-priority task in the queue are guaranteed.

[0137] The present invention predicts the allocatable computing power resources in the resource pool and determines the impact of the task request on the first-priority task during the dynamic scheduling process according to the computing power demand and occupied time of each task request in the task queue, thereby optimizing the matching degree between the task request and the computing power of the resource pool during the dynamic scheduling process. Compared with only judging between the computing power required by the task request and the allocatable computing power of the resource pool, the dynamic scheduling process can avoid the impact of the allocation of high-priority tasks in the task queue, thereby improving the utilization rate of the computing power resources in the resource pool while ensuring the task priority, and avoiding resource waste caused by idle computing power.

[0138] In the above method embodiment of the present disclosure, a task request is obtained, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority; according to the task request type, the task request is added to a target task queue of a resource pool corresponding to the task request type, and the target task queue is a task queue corresponding to the task priority of the task request; when the computing power that can be allocated by the resource pool is less than the computing power required for the task request, that is, when dynamic scheduling is required, dynamic scheduling of computing power is performed, which can improve the matching degree of computing power allocation and improve the efficiency of subsequent task processing.

[0139] Figure 2 FIG. 2 is a schematic diagram of a computing power scheduling device 20 provided in an exemplary embodiment of the present disclosure. Figure 2 As shown, the computing power scheduling device 20 includes: an acquisition module 21, a joining module 22 and a scheduling module 23.

[0140] The acquisition module 21 is used to acquire a task request, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority;

[0141] A adding module 22 is used to add the task request to a target task queue of a resource pool corresponding to the task request type according to the task request type, where the target task queue is a task queue corresponding to the task priority of the task request;

[0142] The scheduling module 23 is used to perform dynamic scheduling of computing power when the computing power that can be allocated by the resource pool is less than the computing power required by the task request.

[0143] Optionally, when the computing power that can be allocated by the resource pool is less than the computing power required by the task request, the scheduling module 23 performs dynamic scheduling of computing power, and is used to:

[0144] When the computing power that can be allocated by the resource pool is less than the computing power required by the task request, determine the impact of the low-priority task request on the task request;

[0145] According to the degree of impact, the available computing power of the resource pool and the required computing power of the low-priority task request, determine the degree of matching between the available computing power of the resource pool and the low-priority task request;

[0146] Dynamically schedule computing power based on the degree of matching.

[0147] Optionally, when determining the influence of the low-priority task request on the task request, the scheduling module 23 is used to:

[0148] Collect the remaining time monitoring time series data of the computing tasks in the running state in the resource pool;

[0149] Monitor the abnormal information in the time series data based on the remaining time and obtain the fluctuation degree of the computing task;

[0150] According to the fluctuation degree of the computing task, the distance between the remaining time monitoring time series data is determined;

[0151] The distance between the remaining time monitoring time series data is input into the task remaining time evaluation model to obtain the accuracy of the remaining time of the calculation task;

[0152] Determine the remaining computing power prediction result of the resource pool based on the accuracy of the remaining time of the computing task;

[0153] According to the remaining computing power prediction results, determine the impact of low-priority task requests on task requests.

[0154] Optionally, before using the task remaining time evaluation model, the scheduling module 23 may also be used to:

[0155] Set the initial number of categories based on the number of computing tasks running in the resource pool;

[0156] According to the distance between the remaining time monitoring time series data and the initial classification quantity, a clustering operation is performed on the remaining time monitoring time series data to obtain a clustering result;

[0157] Sort the clusters in the clustering results according to the number of tasks in the clusters from high to low to obtain the cluster ranking;

[0158] According to the order of clusters, the number of tasks in the clusters is accumulated in sequence until the number of tasks accounts for the set proportion of the total number of tasks;

[0159] The distance between regular tasks and the time series data of the cluster center closest to regular tasks is used as the evaluation criterion for the accuracy of task remaining time; the distance between non-routine tasks and the time series data of the cluster center of the regular cluster closest to the non-routine tasks is used as the evaluation criterion for the accuracy of remaining time, and a task remaining time evaluation model for computing tasks in running state in the resource pool is obtained, among which regular tasks are tasks corresponding to the accumulated clusters, and non-routine tasks are tasks other than regular tasks.

[0160] Optionally, when determining the remaining computing power prediction result of the resource pool according to the remaining time accuracy of the computing task, the scheduling module 23 is used to:

[0161] According to the accuracy of the remaining time of the computing task, the estimated remaining time of each task at the current moment is weighted to obtain the estimated time of the running computing task;

[0162] According to the accuracy of the remaining time of the calculation task, the estimated time is adjusted to obtain the adjusted remaining time;

[0163] Based on the adjusted remaining time, determine the remaining computing power forecast result of the resource pool.

[0164] Optionally, when the scheduling module 23 performs dynamic scheduling of computing power according to the matching degree, it is used to:

[0165] Allocate the available computing power in the resource pool to the low-priority tasks corresponding to the low-priority task requests.

[0166] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0167] Figure 3 FIG. 1 is a schematic diagram of a structure of an electronic device provided by an exemplary embodiment of the present disclosure. Figure 3 As shown, the electronic device includes: a memory 31 and a processor 32. In addition, the electronic device also includes a power supply component 33 and a communication component 34.

[0168] The memory 31 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application program or method operating on the electronic device.

[0169] The memory 31 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0170] The communication component 34 is used for data transmission with other devices.

[0171] The processor 32 can execute computer instructions stored in the memory 31 to: obtain a task request, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority; according to the task request type, add the task request to a target task queue of a resource pool corresponding to the task request type, and the target task queue is a task queue corresponding to the task priority of the task request; and perform dynamic scheduling of computing power when the computing power that can be allocated by the resource pool is less than the computing power required for the task request.

[0172] Optionally, when the computing power that can be allocated by the resource pool is less than the computing power required by the task request, the processor 32 is used to:

[0173] When the computing power that can be allocated by the resource pool is less than the computing power required by the task request, determine the impact of the low-priority task request on the task request;

[0174] According to the degree of impact, the available computing power of the resource pool and the required computing power of the low-priority task request, determine the degree of matching between the available computing power of the resource pool and the low-priority task request;

[0175] Dynamically schedule computing power based on the degree of matching.

[0176] Optionally, when determining the influence of the low-priority task request on the task request, the processor 32 is configured to:

[0177] Collect the remaining time monitoring time series data of the computing tasks in the running state in the resource pool;

[0178] Monitor the abnormal information in the time series data based on the remaining time and obtain the fluctuation degree of the computing task;

[0179] According to the fluctuation degree of the computing task, the distance between the remaining time monitoring time series data is determined;

[0180] The distance between the remaining time monitoring time series data is input into the task remaining time evaluation model to obtain the accuracy of the remaining time of the calculation task;

[0181] Determine the remaining computing power prediction result of the resource pool based on the accuracy of the remaining time of the computing task;

[0182] According to the remaining computing power prediction results, determine the impact of low-priority task requests on task requests.

[0183] Optionally, before using the task remaining time evaluation model, the processor 32 may also be configured to:

[0184] Set the initial number of categories based on the number of computing tasks running in the resource pool;

[0185] According to the distance between the remaining time monitoring time series data and the initial classification quantity, a clustering operation is performed on the remaining time monitoring time series data to obtain a clustering result;

[0186] Sort the clusters in the clustering results according to the number of tasks in the clusters from high to low to obtain the cluster ranking;

[0187] According to the order of clusters, the number of tasks in the clusters is accumulated in sequence until the number of tasks accounts for the set proportion of the total number of tasks;

[0188] The distance between regular tasks and the time series data of the cluster center closest to regular tasks is used as the evaluation criterion for the accuracy of task remaining time; the distance between non-routine tasks and the time series data of the cluster center of the regular cluster closest to the non-routine tasks is used as the evaluation criterion for the accuracy of remaining time, and a task remaining time evaluation model for computing tasks in running state in the resource pool is obtained, among which regular tasks are tasks corresponding to the accumulated clusters, and non-routine tasks are tasks other than regular tasks.

[0189] Optionally, when determining the remaining computing power prediction result of the resource pool according to the remaining time accuracy of the computing task, the processor 32 is configured to:

[0190] According to the accuracy of the remaining time of the computing task, the estimated remaining time of each task at the current moment is weighted to obtain the estimated time of the running computing task;

[0191] According to the accuracy of the remaining time of the calculation task, the estimated time is adjusted to obtain the adjusted remaining time;

[0192] Based on the adjusted remaining time, determine the remaining computing power forecast result of the resource pool.

[0193] Optionally, when performing dynamic scheduling of computing power according to the matching degree, the processor 32 is configured to:

[0194] Allocate the available computing power in the resource pool to the low-priority tasks corresponding to the low-priority task requests.

[0195] Accordingly, the present disclosure also provides a computer-readable storage medium storing a computer program. When the computer-readable storage medium stores the computer program and the computer program is executed by one or more processors, the one or more processors execute Figure 1 Each step in the method embodiment.

[0196] Accordingly, the present disclosure also provides a computer program product, the computer program product includes a computer program / instruction, the computer program / instruction is executed by a processor Figure 1 Each step in the method embodiment.

[0197] Above Figure 3 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0198] Above Figure 3 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.

[0199] The electronic device also includes a display screen and an audio component.

[0200] The display screen includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0201] The audio component may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0202] In the above-mentioned apparatus, device, storage medium and computer program product embodiments of the present disclosure, a task request is obtained, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request and task priority; according to the task request type, the task request is added to the target task queue of the resource pool corresponding to the task request type, and the target task queue is the task queue corresponding to the task priority of the task request; when the computing power that can be allocated by the resource pool is less than the computing power required for the task request, that is, when dynamic scheduling is required, dynamic scheduling of computing power is performed, which can improve the matching degree of computing power allocation and improve the efficiency of subsequent task processing.

[0203] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0204] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0205] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0206] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0207] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0208] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0209] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0210] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0211] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A computing power scheduling method, characterized in that: include: Obtaining a task request, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority; According to the task request type, the task request is added to the target task queue of the resource pool corresponding to the task request type, and the target task queue is the task queue corresponding to the task priority of the task request; When the computing power that can be allocated by the resource pool is less than the computing power required by the task request, dynamic scheduling of computing power is performed.

2. The method according to claim 1, characterized in that When the computing power available in the resource pool is less than the computing power required by the task request, dynamic computing power scheduling is performed, including: When the computing power that can be allocated by the resource pool is less than the computing power required by the task request, determine the impact of the low-priority task request on the task request; According to the degree of impact, the available computing power of the resource pool and the required computing power of the low-priority task request, determine the degree of matching between the available computing power of the resource pool and the low-priority task request; Dynamically schedule computing power based on the degree of matching.

3. The method according to claim 2, characterized in that Determine the impact of low-priority task requests on task requests, including: Collect the remaining time monitoring time series data of the computing tasks in the running state in the resource pool; Monitor the abnormal information in the time series data based on the remaining time and obtain the fluctuation degree of the computing task; According to the fluctuation degree of the computing task, the distance between the remaining time monitoring time series data is determined; The distance between the remaining time monitoring time series data is input into the task remaining time evaluation model to obtain the accuracy of the remaining time of the calculation task; Determine the remaining computing power prediction result of the resource pool based on the accuracy of the remaining time of the computing task; According to the remaining computing power prediction results, determine the impact of low-priority task requests on task requests.

4. The method according to claim 3, characterized in that Before evaluating the model using the task remaining time, the method further includes: Set the initial number of categories based on the number of computing tasks running in the resource pool; According to the distance between the remaining time monitoring time series data and the initial classification quantity, a clustering operation is performed on the remaining time monitoring time series data to obtain a clustering result; Sort the clusters in the clustering results according to the number of tasks in the clusters from high to low to obtain the cluster ranking; According to the order of clusters, the number of tasks in the clusters is accumulated in sequence until the number of tasks accounts for the set proportion of the total number of tasks; The distance between regular tasks and the time series data of the cluster center closest to regular tasks is used as the evaluation criterion for the accuracy of task remaining time; the distance between non-routine tasks and the time series data of the cluster center of the regular cluster closest to the non-routine tasks is used as the evaluation criterion for the accuracy of remaining time, and a task remaining time evaluation model for computing tasks in running state in the resource pool is obtained, among which regular tasks are tasks corresponding to the accumulated clusters, and non-routine tasks are tasks other than regular tasks.

5. The method according to claim 3, characterized in that According to the accuracy of the remaining time of the computing task, the remaining computing power prediction result of the resource pool is determined, including: According to the accuracy of the remaining time of the computing task, the estimated remaining time of each task at the current moment is weighted to obtain the estimated time of the running computing task; According to the accuracy of the remaining time of the calculation task, the estimated time is adjusted to obtain the adjusted remaining time; Based on the adjusted remaining time, determine the remaining computing power forecast result of the resource pool.

6. The method according to claim 2, characterized in that According to the matching degree, dynamic scheduling of computing power is performed, including: Allocate the available computing power in the resource pool to the low-priority tasks corresponding to the low-priority task requests.

7. A computing power scheduling device, characterized in that: include: An acquisition module is used to acquire a task request, wherein the task request carries task request information, and the task request information includes: task request type, computing power required for the task request, and task priority; A adding module, used for adding the task request to a target task queue of a resource pool corresponding to the task request type according to the task request type, the target task queue being a task queue corresponding to the task priority of the task request; The scheduling module is used to dynamically schedule computing power when the computing power that can be allocated by the resource pool is less than the computing power required by the task request.

8. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute instructions to implement each step in the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the method according to any one of claims 1 to 6 is implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps in any one of the methods of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Dynamic computing power distribution system based on task priority

    CN119292788A

  • A dynamic computing power allocation system based on task priority

    CN119292788B

  • Multi-model service oriented aggregation computing power pool construction and channel polling distribution method

    CN120386626A

  • A multi-model service-oriented aggregated computing power pool construction and channel polling distribution method

    CN120386626B

  • Intelligent computing power cluster task allocation method and system based on cloud edge collaboration

    CN120560816A