Resource scheduling method and device

By predicting the task volume and resource consumption results of task clusters in a multi-machine room environment, determining resource scheduling strategies and realizing resource scheduling between task clusters, the problem of inflexible resource allocation in a multi-machine room environment is solved, and task processing efficiency and efficiency are improved. Resource utilization.

CN114579268BActive Publication Date: 2024-10-25ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210114086.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-30
Publication Date
2024-10-25
Estimated Expiration
2042-01-30

AI Technical Summary

Technical Problem

In a multi-computer room environment, due to communication function or permission restrictions, the resources and task status of other computer rooms cannot be known in real time, resulting in the inability to flexibly allocate cluster resources, resulting in longer task processing time in a certain period of time and reduced task processing efficiency.

Method used

By predicting the amount of tasks to be processed in each task cluster within the target time interval, the prediction results are generated, and the resource scheduling strategy is determined based on the resource portrait and prediction results of the task processing resources to achieve resource scheduling and dynamic adjustment between different task clusters. Resource allocation.

Benefits of technology

It improves the utilization of task processing resources, avoids the problem that fixed resource configuration cannot cope with dynamically changing task volumes, and improves the safe operation capabilities of task clusters and the optimization of resource configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114579268B_ABST
    Figure CN114579268B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide a resource scheduling method and device, wherein the resource scheduling method includes: in response to a resource scheduling processing request, predicting the amount of tasks to be processed in each task cluster within a target time interval in at least two task clusters, generating a first prediction result, determining the task processing resources corresponding to each task cluster, and based on the resource profile of the task processing resources and the first prediction result, predicting the resource consumption results of the task processing resources in each task cluster, generating a second prediction result. Determine the resource scheduling strategy between the at least two task clusters based on the second prediction result, and perform resource scheduling processing on the task processing resources based on the resource scheduling strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present specification relate to the field of computer technology, and in particular to a resource scheduling method. Background Art

[0002] The scheduling of cluster resources in a single computer room is to allocate suitable cluster resources to execute the tasks to be executed. When there are no idle cluster resources in the computer room, the tasks to be executed are placed in a queue waiting state until there are idle and suitable cluster resources. In addition, since the cluster resources configured in each computer room are relatively fixed, and the amount of tasks to be executed in different computer rooms at different time periods is dynamically changing, in this case, the fixed cluster resources cannot flexibly respond to the dynamically changing task volume. If the number of tasks in the computer room is large within a certain time period, the fixed resource configuration cannot meet the task processing requirements, resulting in a longer task processing time in the computer room and a decrease in task processing efficiency.

[0003] At present, in big data systems, cluster resources distributed in multiple computer rooms can be used to execute pending tasks. However, due to the limitations of communication functions or permissions between computer rooms, each computer room cannot know the resource and task status in other computer rooms, making it difficult to achieve flexible allocation of cluster resources among multiple computer rooms. Therefore, an effective method is urgently needed to solve this problem. Summary of the invention

[0004] In view of this, an embodiment of this specification provides a resource scheduling method. One or more embodiments of this specification also relate to a resource scheduling device, a computing device, a computer-readable storage medium and a computer program to solve the technical defects existing in the prior art.

[0005] According to a first aspect of an embodiment of this specification, a resource scheduling method is provided, including:

[0006] In response to the resource scheduling processing request, predicting the amount of tasks to be processed in each of the at least two task clusters within a target time interval to generate a first prediction result;

[0007] Determine the task processing resources corresponding to each task cluster, and based on the resource profile of the task processing resources and the first prediction result, predict the resource consumption result of the task processing resources in each task cluster to generate a second prediction result;

[0008] Determining a resource scheduling strategy between the at least two task clusters according to the second prediction result;

[0009] The task processing resources are scheduled based on the resource scheduling strategy.

[0010] Optionally, the performing resource scheduling processing on the task processing resources based on the resource scheduling policy includes:

[0011] A scheduling instance between the at least two task clusters is created based on the resource scheduling strategy, and resource scheduling processing is performed on the task processing resources by executing the scheduling instance.

[0012] Optionally, the resource scheduling method further includes:

[0013] Determine the historical processing tasks of each task cluster, and determine the reference processing flow of the historical processing tasks;

[0014] Determine the task processing resources corresponding to each task cluster, and determine the historical processing flow corresponding to the historical processing tasks processed by the task processing resources;

[0015] Based on the reference processing flow and the historical processing flow, a resource profile of the task processing resource is determined.

[0016] Optionally, determining a resource scheduling strategy between the at least two task clusters according to the second prediction result includes:

[0017] Dividing the at least two task clusters according to the location information of the at least two task clusters to generate corresponding resource pools;

[0018] According to the second prediction result corresponding to each task cluster in the target resource pool, a resource scheduling strategy between the task clusters in the target resource pool is determined, wherein the target resource pool is one of the resource pools.

[0019] Optionally, determining a resource scheduling strategy between the at least two task clusters according to the second prediction result includes:

[0020] Determine, according to the second prediction result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources;

[0021] Determine a target resource profile of the idle task processing resource, and determine a matching degree between the idle task processing resource and the to-be-processed task in the resource scheduling requirement according to the target resource profile;

[0022] A resource scheduling strategy between the first task cluster and the second task cluster is determined according to the matching degree and the resource scheduling requirement.

[0023] Optionally, the performing resource scheduling processing on the task processing resources based on the resource scheduling policy includes:

[0024] Creating a scheduling instance between the first task cluster and the second task cluster based on the resource scheduling strategy;

[0025] Submitting a resource scheduling application to the second task cluster by executing the scheduling instance;

[0026] When it is determined that the second task cluster opens resource scheduling authority to the first task cluster in response to the resource scheduling application, the idle task processing resources of the second task cluster are scheduled to the first task cluster.

[0027] Optionally, predicting the resource consumption result of the task processing resources in each task cluster based on the resource profile of the task processing resources and the first prediction result includes:

[0028] According to the task category, the tasks to be processed corresponding to the first prediction result are divided into at least two categories, and the tasks to be processed of the target task category are input into the first prediction model to generate a third prediction result of the task processing time corresponding to the target task category, wherein the target task category is one of the at least two categories;

[0029] The third prediction result and the resource profile of the task processing resource are input into a second prediction model, so that the second prediction model predicts the resource consumption result of the task processing resource in each task cluster based on the resource profile and the third prediction result.

[0030] Optionally, the resource scheduling method further includes:

[0031] The target task processing duration corresponding to the to-be-processed tasks of the target task category within the target time interval is obtained, and the first prediction model is updated based on the target task processing duration.

[0032] Optionally, determining, according to the second prediction result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources includes:

[0033] Determine the target consumption result of the task processing resources in each task cluster in the target time interval according to the historical consumption information of the task processing resources in each task cluster;

[0034] According to the second prediction result and the target consumption result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources are determined.

[0035] According to a second aspect of an embodiment of this specification, a resource scheduling device is provided, including:

[0036] A first prediction module is configured to predict the amount of tasks to be processed of each task cluster in the target time interval in response to the resource scheduling processing request, and generate a first prediction result;

[0037] A second prediction module is configured to determine the task processing resources corresponding to each task cluster, and based on the resource profile of the task processing resources and the first prediction result, predict the resource consumption result of the task processing resources in each task cluster to generate a second prediction result;

[0038] a determination module, configured to determine a resource scheduling strategy between the at least two task clusters according to the second prediction result;

[0039] The scheduling module is configured to perform resource scheduling processing on the task processing resources based on the resource scheduling strategy.

[0040] According to a third aspect of an embodiment of this specification, a computing device is provided, including:

[0041] Memory and processor;

[0042] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement any one of the steps of the resource scheduling method.

[0043] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of any one of the resource scheduling methods are implemented.

[0044] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned resource scheduling method.

[0045] An embodiment of the present specification predicts the amount of tasks to be processed in each task cluster within a target time interval in at least two task clusters in response to a resource scheduling processing request, generates a first prediction result, determines the task processing resources corresponding to each task cluster, predicts the resource consumption results of the task processing resources in each task cluster based on the resource profile of the task processing resources and the first prediction result, generates a second prediction result, determines a resource scheduling strategy between the at least two task clusters according to the second prediction result, and performs resource scheduling processing on the task processing resources based on the resource scheduling strategy.

[0046] The embodiments of this specification predict the amount of tasks to be processed for each task cluster in a target time interval, and predict the resource consumption results of each task cluster in the target time interval, so as to determine the resource scheduling strategy between different task clusters based on the prediction results of the two, thereby realizing resource scheduling between different task clusters. This is beneficial to improving the resource utilization of task processing resources in each task cluster, and is beneficial to avoiding the problem that the fixed task processing resources configured in a single task cluster cannot flexibly respond to the dynamically changing task volume, resulting in the fixed resource configuration being unable to meet the task processing requirements when the task volume of the task cluster is large within a certain time period, resulting in a long task processing time for the task cluster and a decrease in task processing efficiency. This is beneficial to improving the ability of each task cluster to operate safely and optimizing resource allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flow chart of a resource scheduling method provided by an embodiment of this specification;

[0048] Figure 2a is a schematic diagram of a resource scheduling process provided by an embodiment of this specification;

[0049] Figure 2b is a schematic diagram of another resource scheduling process provided by an embodiment of this specification;

[0050] Figure 3 is a process flow chart of a resource scheduling method provided by an embodiment of this specification;

[0051] Figure 4 It is a structural diagram of a resource scheduling device provided by an embodiment of this specification;

[0052] Figure 5 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0053] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0054] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0055] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0056] First, the terms involved in one or more embodiments of this specification are explained.

[0057] Work order: Operation and maintenance task certificate. A work order corresponds to an operation and maintenance task in the data center, which is taken over and processed by the data center operation and maintenance personnel.

[0058] Work order prediction system: a system that predicts the operation and maintenance workload of each computer room in the future.

[0059] Resource profile: It represents the time required for task processing resources (such as robots in a computer room) to process different pending tasks, or it can represent the task processing efficiency of the task processing resources in processing different pending tasks.

[0060] Resource portrait digitization system: A system that accurately realizes resource operation and maintenance portraits based on the operational data of task processing resources through resource quantitative evaluation models.

[0061] Resource scheduling: The process of selecting a portion of the task processing resources in a data center through (human or system) decision-making and transferring them from one computer room to other computer rooms.

[0062] Resource Scheduling Engine: A system that outputs cross-computer room resource scheduling decisions based on input from the work order prediction system and resource portrait digitization system.

[0063] When there are multiple main station computer rooms that need to perform data operation and maintenance, the task processing resources used for operation and maintenance in the computer room need to complete tens of thousands of operation and maintenance tasks every day. Due to the different sizes of different computer rooms and the different workloads to be completed every day, the number of benchmark task processing resources they are equipped with is also different.

[0064] In addition, the operation and maintenance tasks of the data center change dynamically every day. For the same computer room, the daily operation and maintenance work order volume may fluctuate dramatically, with more work orders in a certain period and less work orders in another period. In sharp contrast, the number of task processing resources configured in each computer room is constant. Therefore, the contradiction between the daily dynamic workload in the computer room and the constant resource allocation has become a problem that needs to be solved urgently.

[0065] Based on this, in order to solve the problem of dynamic changes in operation and maintenance tasks in different computer rooms of a data center and uneven busyness of different task processing resources, an embodiment of this specification provides a resource scheduling method, which predicts the amount of tasks to be processed for each task cluster in a target time interval, and predicts the resource consumption results of each task cluster in the target time interval, so as to determine the resource scheduling strategy between different task clusters based on the prediction results of the two, thereby realizing resource scheduling between different task clusters. This is beneficial to improving the resource utilization rate of task processing resources in each task cluster, and is beneficial to avoiding the problem that the fixed cluster resources configured in a single task cluster (computer room) cannot flexibly respond to the dynamically changing task volume, resulting in the fixed resource configuration being unable to meet the task processing requirements when the task volume of the task cluster is large within a certain time period, resulting in a long time for the task processing of the task cluster and a decrease in the task processing efficiency, thereby helping to improve the ability of each task cluster to operate safely and optimize resource allocation.

[0066] In this specification, a resource scheduling method is provided. This specification also relates to a resource scheduling device, a computing device, a computer-readable storage medium, and a computer program, which are described in detail one by one in the following embodiments.

[0067] Figure 1 A flow chart of a resource scheduling method provided according to an embodiment of the present specification is shown, which specifically includes the following steps.

[0068] Step 102 : In response to the resource scheduling processing request, predict the amount of tasks to be processed in each of at least two task clusters within a target time interval to generate a first prediction result.

[0069] The resource scheduling method provided in the embodiments of this specification is applied to a resource scheduling platform.

[0070] Specifically, a task cluster is an object with pending tasks, and each task cluster may contain task processing resources for processing pending tasks. In practical applications, the task cluster may be a computer room, and the task processing resources may be task processing objects belonging to different computer rooms, such as robots.

[0071] In the embodiments of this specification, in order to ensure that the task processing resources in each task cluster can be reasonably utilized to improve resource utilization, the task volume of each task cluster in at least two task clusters within the target time interval can be predicted in advance to obtain a first prediction result. The task volume can be the number of tasks to be processed, or the time required to process the tasks to be processed.

[0072] After predicting the amount of pending tasks for each task cluster within the target time interval, we can further predict the task processing resources consumed by processing pending tasks in each task cluster, so as to determine the resource scheduling strategy between different task clusters based on the prediction results of the two.

[0073] In specific implementation, the task volumes corresponding to different source channels of pending tasks can be predicted to achieve full prediction of the pending task volumes of each task cluster. The source channels of pending tasks of each task cluster include but are not limited to manual creation by users, automatic creation by upstream project processing flow, and automatic creation by resource scheduling engine.

[0074] In actual applications, the user manual creation path can be applied for by the scheduling administrator, which is generally based on offline information to perceive the operation and maintenance tasks of each task cluster within the target time interval; the upstream project processing flow automatic creation path is based on the online processing flow of large-scale operations such as scrapping and relocation to perceive the operation and maintenance tasks of each task cluster; the resource scheduling engine path is based on the input of the work order prediction system and the resource portrait digitization system, and outputs the operation and maintenance tasks of each task cluster.

[0075] Step 104, determine the task processing resources corresponding to each task cluster, predict the resource consumption results of the task processing resources in each task cluster based on the resource profile of the task processing resources and the first prediction result, and generate a second prediction result.

[0076] Specifically, since each task cluster may have task processing resources for processing pending tasks, after obtaining the amount of pending tasks of each task cluster within the target time interval, the task processing resources required to process the amount of pending tasks in each task cluster can be predicted, that is, the resource consumption results of the task processing resources in each task cluster can be predicted.

[0077] Among them, since there are differences in the resource attributes of the task processing resources in different task clusters, or there are differences in the resource attributes of different task processing resources in the same task cluster, when predicting the resource consumption results of each task cluster, the resource portraits of different task processing resources in each task cluster can be combined for prediction, and the resource portraits of the task processing resources can characterize the time required for the task processing resources to process different tasks to be processed, or can characterize the task processing efficiency of the task processing resources in processing different tasks to be processed.

[0078] Among them, the resource profiles of different task processing resources can be determined in the following ways:

[0079] Determine the historical processing tasks of each task cluster, and determine the reference processing flow of the historical processing tasks;

[0080] Determine the task processing resources corresponding to each task cluster, and determine the historical processing flow corresponding to the historical processing tasks processed by the task processing resources;

[0081] Based on the reference processing flow and the historical processing flow, a resource profile of the task processing resource is determined.

[0082] Specifically, when each task cluster has pending tasks and allocates the pending tasks to different task processing resources for task processing, the pending tasks can be allocated in the form of work orders. Therefore, before allocating tasks, the resource profiles of different task processing resources in each task cluster can be determined first, and corresponding tasks can be allocated to each task processing resource in combination with the resource profiles, thereby ensuring task processing efficiency.

[0083] Among them, since the resource portrait can characterize the time required for the task processing resources to process different tasks to be processed, or can characterize the task processing efficiency of the task processing resources in processing different tasks to be processed, etc., therefore, when determining the resource portrait of each task processing resource, you can first determine the historical processing tasks of each task cluster, and determine the reference processing process of the historical processing tasks, and then determine the historical processing process corresponding to the task processing resources to process the historical processing tasks, so as to determine the resource portrait of the task processing resources based on the two processing processes. Specifically, according to the difference between the two processing processes, the task processing time or task processing efficiency of the task processing resources can be determined.

[0084] In a specific implementation, based on the resource profile of the task processing resource and the first prediction result, the resource consumption result of the task processing resource in each task cluster is predicted, which can be specifically achieved in the following ways:

[0085] According to the task category, the tasks to be processed corresponding to the first prediction result are divided into at least two categories, and the tasks to be processed of the target task category are input into the first prediction model to generate a third prediction result of the task processing time corresponding to the target task category, wherein the target task category is one of the at least two categories;

[0086] The third prediction result and the resource profile of the task processing resource are input into a second prediction model, so that the second prediction model predicts the resource consumption result of the task processing resource in each task cluster based on the resource profile and the third prediction result.

[0087] Specifically, since the first prediction result is used to characterize the prediction result of the task volume of tasks to be processed for each task cluster within the target time interval, and different task clusters may have different task source channels, the task types of tasks to be processed from different task source channels may be different, and the processing processes of tasks to be processed of different task types may also be different.

[0088] Therefore, after obtaining the first prediction result, the pending tasks corresponding to the first prediction result can be classified, or the first prediction result can directly include the task volume corresponding to the pending tasks of each task type. For example, in the first prediction result, the task volume of pending tasks of task type A is 100, the task volume of pending tasks of task type B is 200, and the task volume of pending tasks of task type C is 300.

[0089] Furthermore, since the pending tasks can be allocated in the form of work orders when they are allocated to different task processing resources for task processing. The first prediction model is used to predict the task processing time of different work orders. Therefore, when constructing the first prediction model, the first prediction model can be constructed based on each task type and the estimated time of the pending tasks of each task type. The estimated time of the pending tasks of each task type can be determined according to the execution process of the pending tasks of each task type. The first prediction model specifies a reasonable range of the time required for the actual execution of the pending tasks of different task types. After the training is completed, it can be used to predict the estimated time of the pending tasks of different task types.

[0090] Therefore, after constructing the first prediction model, the to-be-processed tasks of each task category in the first prediction result may be input into the first prediction model to generate a third prediction result of the task processing time corresponding to each task category.

[0091] Furthermore, since the resource profile can be used to characterize the processing time required for each task processing resource to process the pending tasks, or can be used to characterize the processing efficiency of each task processing resource in processing the pending tasks, therefore, after obtaining the resource profile of each task processing resource in each task cluster and obtaining the third prediction result of the task processing time of each pending task in each task cluster, the consumption result of the task processing resources in each task cluster can be predicted based on the resource profile and the third prediction result, that is, according to the resource profile of the task processing resources of the task cluster, it is determined how much task processing resources are needed in the process of processing the pending tasks in the task cluster.

[0092] In actual applications, the second prediction model can be used to predict the resource consumption results of the task processing resources in each task cluster. Specifically, the third prediction results corresponding to each task cluster and the resource portraits of the task processing resources of each task cluster can be input into the second prediction model, so that the second prediction model can predict the resource consumption results of the task processing resources in each task cluster based on the input content.

[0093] Specifically, a second prediction model can be constructed in advance through the historical resource consumption data of each task cluster, that is, the task information of the historical tasks of each task cluster (the time required for task execution) and the historical consumption information of the task processing resources of each task cluster are used as training samples, and the second prediction model to be trained is trained to obtain the second prediction model. Then, during the application process, the third prediction results corresponding to each task cluster and the resource portrait of the task processing resources of each task cluster can be input into the second prediction model, so as to use the second prediction model to predict the resource consumption results of the task processing resources in each task cluster within the target time interval.

[0094] Furthermore, the first prediction model can also be optimized based on the actual task processing time of each task cluster within the target time interval. Specifically, the target task processing time corresponding to the pending tasks of the target task category within the target time interval is obtained, and the first prediction model is updated based on the target task processing time.

[0095] Specifically, after the target time interval ends, the actual task processing time of the tasks to be processed in each task cluster within the target time interval can be obtained. The actual task processing time can be determined according to the standard execution process of the tasks to be processed. Then, the third prediction result of the task processing time of the tasks to be processed in each task cluster and the loss value between the actual task processing time can be calculated, and the model parameters of the first prediction model can be adjusted according to the loss value.

[0096] By determining the task processing time corresponding to the pending tasks of each task category in the task cluster, and based on the task processing time and the resource profile of the task processing resources in the task cluster, determining the resource consumption results of the task processing resources in each task cluster, it is beneficial to improve the accuracy of the determination results of the resource consumption results, thereby ensuring the rationality and efficiency of resource scheduling between task clusters, and further helping to improve the resource utilization of task processing resources in each task cluster and optimize resource allocation.

[0097] Step 106: Determine a resource scheduling strategy between the at least two task clusters according to the second prediction result.

[0098] Specifically, since the second prediction result can be used to characterize the resource consumption results of the task processing resources corresponding to the tasks to be processed in different task clusters, after determining the second prediction result of each task cluster, the resource scheduling strategy between the task clusters can be determined based on the second prediction result. The resource scheduling strategy can characterize the resource scheduling method between different task clusters, for example, the task processing resource Z1 in task cluster 2 is scheduled to task cluster 1 for task processing, and the task processing resource Z2 in task cluster 2 is scheduled to task cluster 3 for task processing.

[0099] In practical applications, the resource scheduling engine in the resource scheduling platform serves as the recommendation decision module of the entire resource scheduling system. It calculates the estimated resource consumption results of each task cluster within the target time interval based on the predicted data of the amount of tasks to be processed by each task cluster and the resource portrait of the task processing resources of each task cluster in the resource portrait digitization system. Based on the prediction of resource consumption results and combined with the existing resource configuration of the task cluster, the scheduling or scheduling relationship of the task processing resources between each task cluster is finally output.

[0100] In a specific implementation, determining the resource scheduling strategy between the at least two task clusters according to the second prediction result can be implemented in the following manner:

[0101] Dividing the at least two task clusters according to the location information of the at least two task clusters to generate corresponding resource pools;

[0102] According to the second prediction result corresponding to each task cluster in the target resource pool, a resource scheduling strategy between the task clusters in the target resource pool is determined, wherein the target resource pool is one of the resource pools.

[0103] Specifically, when there are multiple task clusters, if the distance between two task clusters is far, scheduling task processing resources between the two task clusters may take a long time, which may lead to untimely task processing of the task clusters and low resource utilization.

[0104] Therefore, the embodiment of this specification divides at least two task clusters into one or at least two resource pools according to the location information of each task cluster, wherein, when the resource pool contains at least two task clusters, the distance between any two task clusters in the resource pool is less than or equal to the preset distance threshold, and resources can be scheduled between at least two task clusters in the resource pool. After the resource pool is divided, only resource scheduling can be performed between any two task clusters in the resource pool, that is, the resource scheduling strategy between the task clusters in the target resource pool is determined according to the second prediction result corresponding to each task cluster in the target resource pool, wherein the target resource pool can be one or any one of the at least two resource pools containing two or more task clusters, so as to ensure the efficiency of the task processing resource scheduling process, thereby ensuring the timeliness of task processing, and improving the utilization rate of task processing resources.

[0105] For example, when the task cluster is a computer room, multiple computer rooms in the same geographical area can be divided into a regional site scheduling pool. Resource scheduling can be performed between computer rooms in the same regional site scheduling pool. Typically, multiple computer rooms in the same city can form a regional site scheduling pool.

[0106] The task processing resources available for scheduling in each computer room will enter the scheduling pool. The addition or removal of task processing resources in the scheduling pool can be operated by management personnel, or the resource portrait digitization system can make automatic decisions based on the resource portrait of the task processing resources. Generally, if the average operation and maintenance workload of each task processing resource in the computer room is low, more task processing resources will be added to the resource pool in the task cluster, which means that these task processing resources can be scheduled and used by other computer rooms.

[0107] In addition, determining the resource scheduling strategy between the at least two task clusters according to the second prediction result may also be implemented in the following manner:

[0108] Determine, according to the second prediction result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources;

[0109] Determine a target resource profile of the idle task processing resource, and determine a matching degree between the idle task processing resource and the to-be-processed task in the resource scheduling requirement according to the target resource profile;

[0110] A resource scheduling strategy between the first task cluster and the second task cluster is determined according to the matching degree and the resource scheduling requirement.

[0111] Further, determining a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources according to the second prediction result includes:

[0112] Determine the target consumption result of the task processing resources in each task cluster in the target time interval according to the historical consumption information of the task processing resources in each task cluster;

[0113] According to the second prediction result and the target consumption result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources are determined.

[0114] Specifically, when determining the resource scheduling strategy between different task clusters, we can first determine the first task cluster with resource scheduling needs, then determine the second task cluster with idle resources, and determine the matching degree between the idle resources in the second task cluster and the pending tasks in the first task cluster, so as to select the better resource scheduling strategy between the task clusters according to the matching degree.

[0115] In actual applications, when determining a first task cluster with resource scheduling needs and a second task cluster with idle task processing resources, the target consumption result of the task processing resources in each task cluster in the target time interval can be determined based on the historical consumption information of the task processing resources in each task cluster, and based on the second prediction result and the target consumption result, the first task cluster with resource scheduling needs and the second task cluster with idle task processing resources can be determined.

[0116] Among them, the historical consumption information, that is, which task processing resources in each task cluster are actually used to process the pending tasks in the task cluster within the historical time interval; the target consumption result, that is, which task processing resources in each task cluster can be used to process the pending tasks in the task cluster within the target time interval.

[0117] Since the task processing resources configured in the task cluster may be down due to component failure during actual use, they cannot be used to process pending tasks. Therefore, in actual applications, the available task processing resources (target consumption results) in each task cluster within the target time interval can be determined based on the historical usage of the task processing resources in each task cluster (historical consumption information), that is, the task processing resources that may fail in each task cluster within the target time interval can be predicted in advance, so as to more accurately predict the resource scheduling strategy between each task cluster based on the prediction results.

[0118] In addition, since the second prediction result can characterize the resource consumption results of the task processing resources in each task cluster, and the second prediction result does not take into account the failure conditions of the task processing resources, in order to ensure the accuracy of the resource scheduling strategy, after obtaining the aforementioned second prediction result, the first task cluster with resource scheduling needs and the second task cluster with idle task processing resources can be determined based on the second prediction results and target consumption results corresponding to each task cluster.

[0119] In this case, if it is determined that the idle resources in the second task cluster are task resource Z1, task processing resource Z2, and task processing resource Z3, but task processing resource Z3 is down due to a fault, only task resource Z1 and task processing resource Z2 can be scheduled to other task clusters for task processing.

[0120] Specifically, after determining a first task cluster with resource scheduling requirements and a second task cluster with idle task processing resources, the matching degree between the idle task processing resources and the tasks to be processed in the resource scheduling requirements of the first task cluster can be determined based on the target resource profile of the idle task processing resources in the second task cluster, and the resource scheduling strategy between the first task cluster and the second task cluster can be determined based on the matching degree and the resource scheduling requirements.

[0121] Among them, since the target resource profile of the idle task processing resource can be used to characterize the time required for the idle task processing resource to process the pending task, or to characterize the efficiency of the idle task processing resource in processing the pending task, when determining the matching degree, the task processing time of the pending task in the first task cluster can be determined, that is, the time required to process the pending task, and then the target resource profile of the idle task processing resource can be compared with the task processing time of the pending task. Specifically, the time L1 required for the idle task processing resource to process the pending task can be compared with the task processing time L2 of the pending task. If both satisfy that L1 is greater than or equal to L2, the closer L1 is to L2, the greater the matching degree between the idle task processing resource and the pending task.

[0122] After determining the matching degree, the resource scheduling strategy between the first task cluster and the second task cluster can be determined according to the matching degree and the resource scheduling requirements. For example, if there is a resource scheduling requirement for task cluster 1 (the pending tasks in task cluster 1 are allocated to each task processing resource in task cluster 1, and when the task amount of pending tasks received by each task processing resource reaches the upper limit, there is still an unallocated pending task r1 in task cluster 1), and there are idle task processing resources Z1 and idle task processing resources Z2 in task cluster 2, and when it is determined that the matching degree between the idle task processing resource Z1 and the pending task r1 is greater than the matching degree between the idle task processing resource Z2 and the pending task r1, the resource scheduling strategy between task cluster 1 and task cluster 2 can be determined as: scheduling the idle task processing resource Z1 from task cluster 2 to task cluster 1.

[0123] The embodiments of this specification determine the resource scheduling strategy between any two task clusters by determining the matching degree, which is beneficial to ensuring the accuracy of the determination results of the resource scheduling strategy, thereby ensuring the rationality and efficiency of resource scheduling between task clusters, and further beneficial to improving the resource utilization of task processing resources in each task cluster and optimizing resource allocation.

[0124] Step 108: Perform resource scheduling on the task processing resources based on the resource scheduling strategy.

[0125] Specifically, after determining the resource scheduling strategy among different task clusters, resource scheduling processing can be performed on the task processing resources in the task clusters based on the resource scheduling strategy.

[0126] In specific implementation, resource scheduling is performed on the task processing resources based on the resource scheduling strategy, which can be implemented in the following ways:

[0127] A scheduling instance between the at least two task clusters is created based on the resource scheduling strategy, and resource scheduling processing is performed on the task processing resources by executing the scheduling instance.

[0128] In addition, after determining a first task cluster with resource scheduling requirements and a second task cluster with idle task processing resources, and determining a resource scheduling strategy between the first task cluster and the second task cluster, resource scheduling processing is performed on the task processing resources based on the resource scheduling strategy, which can be specifically implemented in the following manner:

[0129] Creating a scheduling instance between the first task cluster and the second task cluster based on the resource scheduling strategy;

[0130] Submitting a resource scheduling application to the second task cluster by executing the scheduling instance;

[0131] When it is determined that the second task cluster opens resource scheduling authority to the first task cluster in response to the resource scheduling application, the idle task processing resources of the second task cluster are scheduled to the first task cluster.

[0132] Specifically, in the scheduling execution module of the resource scheduling platform, a scheduling instance represents the execution of a resource scheduling process. A scheduling process includes the following core steps: submitting a scheduling application, approving a scheduling application, handling scheduling authority, executing scheduling jobs, and reclaiming scheduling authority. Therefore, after determining the resource scheduling strategy between any two task clusters, a scheduling instance between the two task clusters (the first task cluster and the second task cluster) can be created based on the resource scheduling strategy. By executing the scheduling instance, a resource scheduling application is submitted to the second task cluster that can provide idle resources. When it is determined that the second task cluster has opened the resource scheduling authority, the idle task processing resources of the second task cluster are scheduled to the first task cluster with scheduling needs.

[0133] The embodiments of this specification use an online and automated scheduling execution module to eliminate the complicated operations of on-site operation and maintenance personnel on the one hand, and to realize the query and tracing of historical records on the other hand.

[0134] A schematic diagram of a resource scheduling process provided in an embodiment of this specification is as follows Figure 2a As shown. The resource scheduling platform predicts the amount of pending tasks for each task cluster based on the three task source channels: manual creation by users, automatic creation by upstream project processing flow, and automatic creation by the resource scheduling engine. It also predicts the scheduling requirements of different task clusters based on the prediction results and the resource profiles of the task processing resources in each task cluster, and then puts the predicted resource scheduling requirements into the scheduling requirement pool. For each scheduling requirement in the scheduling requirement pool, a scheduling instance can be created for each scheduling requirement, and then resource scheduling can be achieved between task clusters by executing the scheduling instance.

[0135] Another schematic diagram of a resource scheduling process provided by an embodiment of this specification is shown in 2b. The task volume prediction model can be used to predict the amount of tasks to be processed by the task cluster within the target time interval to generate a first prediction result, and then the first prediction result is input into the task processing time prediction model (corresponding to Figure 2b The task processing time prediction model is used to predict the time consumption of the pending tasks of the task cluster, and the second prediction result is generated. Then, the resource profile prediction model (corresponding to Figure 2bThe second prediction model is used to predict the resource profile of the task processing resources in the task cluster to obtain a third prediction result; then the second prediction result and the third prediction result are input into the resource consumption result prediction model to obtain the resource consumption result corresponding to the task cluster, that is, the fourth prediction result.

[0136] In addition, the embodiments of the present specification can also predict the target consumption results of the task processing resources in the task cluster through the target consumption result prediction model to obtain a fifth prediction result, and then predict the resource scheduling strategy between task clusters based on the fourth prediction result and the fifth prediction result, and based on the prediction result of the resource scheduling strategy, perform resource scheduling between task clusters in the resource pool.

[0137] In practical applications, for the task volume prediction model, task processing time prediction model, resource profile prediction model, resource consumption result prediction model, and target consumption result prediction model, the model parameters of each model can be adjusted through positive feedback of actual data to update each model, thereby ensuring the accuracy of the output results of each model. For the resource scheduling process, the resource scheduling process can also be appropriately adjusted through positive feedback of actual data to ensure the rationality and efficiency of resource scheduling.

[0138] An embodiment of the present specification predicts the amount of tasks to be processed in each task cluster within a target time interval in at least two task clusters in response to a resource scheduling processing request, generates a first prediction result, determines the task processing resources corresponding to each task cluster, predicts the resource consumption results of the task processing resources in each task cluster based on the resource profile of the task processing resources and the first prediction result, generates a second prediction result, determines a resource scheduling strategy between the at least two task clusters according to the second prediction result, and performs resource scheduling processing on the task processing resources based on the resource scheduling strategy.

[0139] The embodiments of this specification predict the amount of tasks to be processed for each task cluster in a target time interval, and predict the resource consumption results of each task cluster in the target time interval, so as to determine the resource scheduling strategy between different task clusters based on the prediction results of the two, thereby realizing resource scheduling between different task clusters. This is beneficial to improving the resource utilization of task processing resources in each task cluster, and is beneficial to avoiding the problem that the fixed task processing resources configured in a single task cluster cannot flexibly respond to the dynamically changing task volume, resulting in the fixed resource configuration being unable to meet the task processing requirements when the task volume of the task cluster is large within a certain time period, resulting in a long task processing time for the task cluster and a decrease in task processing efficiency. This is beneficial to improving the ability of each task cluster to operate safely and optimizing resource allocation.

[0140] The following combination Figure 3 , taking the application of the resource scheduling method provided in this specification in the resource scheduling of the computer room as an example, the resource scheduling method is further explained. Figure 3 A process flow chart of a resource scheduling method provided by an embodiment of the present specification is shown, which specifically includes the following steps.

[0141] Step 302: In response to the resource scheduling processing request, the amount of tasks to be processed in each of at least two computer rooms within a target time interval is predicted to generate a first prediction result.

[0142] Step 304, determine the historical processing tasks of each computer room, and determine the reference processing flow of the historical processing tasks.

[0143] Step 306, determining the task processing resources corresponding to each computer room, and determining the historical processing flow corresponding to the historical processing tasks processed by the task processing resources.

[0144] Step 308, determining a resource profile of the task processing resources based on the reference processing flow and the historical processing flow.

[0145] Step 310 , based on the resource profile of the task processing resources and the first prediction result, predict the resource consumption result of the task processing resources in each computer room to generate a second prediction result.

[0146] Step 312: divide the at least two computer rooms according to the location information of the at least two computer rooms, and generate corresponding resource pools.

[0147] Step 314, according to the second prediction result corresponding to each computer room in the target resource pool, determine the first computer room with resource scheduling demand and the second computer room with idle task processing resources in the target resource pool, wherein the target resource pool is one of the resource pools.

[0148] Step 316, determining a target resource profile of the idle task processing resource, and determining a matching degree between the idle task processing resource and the to-be-processed tasks in the resource scheduling requirement according to the target resource profile.

[0149] Step 318: Determine the resource scheduling strategy between the first computer room and the second computer room according to the matching degree and the resource scheduling requirement.

[0150] Step 320: Create scheduling instances between the first computer room and the second computer room based on the resource scheduling policy.

[0151] Step 322: Submit a resource scheduling application to the second computer room by executing the scheduling instance.

[0152] Step 324: When it is determined that the second computer room opens the resource scheduling authority to the first computer room in response to the resource scheduling application, the idle task processing resources of the second computer room are scheduled to the first computer room.

[0153] The embodiments of this specification predict the amount of tasks to be processed in each computer room in a target time interval, and predict the resource consumption results of each computer room in the target time interval, so as to determine the resource scheduling strategy between different computer rooms based on the prediction results of the two, thereby realizing resource scheduling among different computer rooms. This is beneficial to improving the resource utilization rate of task processing resources in each computer room, and is beneficial to avoiding the problem that the fixed task processing resources configured in a single computer room cannot flexibly respond to the dynamically changing task volume, resulting in the fixed resource configuration being unable to meet the task processing requirements when the task volume of the computer room is large within a certain time period, resulting in a long time-consuming task processing in the computer room and a decrease in task processing efficiency. This is beneficial to improving the ability of each computer room to operate safely and optimizing resource allocation.

[0154] Corresponding to the above method embodiment, this specification also provides a resource scheduling device embodiment, Figure 4 FIG. 1 shows a schematic diagram of a resource scheduling device provided by an embodiment of the present specification. Figure 4 As shown, the device comprises:

[0155] The first prediction module 402 is configured to predict the amount of tasks to be processed of each task cluster in the target time interval in response to the resource scheduling processing request, and generate a first prediction result;

[0156] The second prediction module 404 is configured to determine the task processing resources corresponding to each task cluster, and based on the resource profile of the task processing resources and the first prediction result, predict the resource consumption result of the task processing resources in each task cluster to generate a second prediction result;

[0157] A determination module 406 is configured to determine a resource scheduling strategy between the at least two task clusters according to the second prediction result;

[0158] The scheduling module 408 is configured to perform resource scheduling processing on the task processing resources based on the resource scheduling policy.

[0159] Optionally, the scheduling module 408 is further configured to:

[0160] A scheduling instance between the at least two task clusters is created based on the resource scheduling strategy, and resource scheduling processing is performed on the task processing resources by executing the scheduling instance.

[0161] Optionally, the resource scheduling device further includes a processing module configured to:

[0162] Determine the historical processing tasks of each task cluster, and determine the reference processing flow of the historical processing tasks;

[0163] Determine the task processing resources corresponding to each task cluster, and determine the historical processing flow corresponding to the historical processing tasks processed by the task processing resources;

[0164] Based on the reference processing flow and the historical processing flow, a resource profile of the task processing resource is determined.

[0165] Optionally, the determining module 406 is further configured to:

[0166] Dividing the at least two task clusters according to the location information of the at least two task clusters to generate corresponding resource pools;

[0167] According to the second prediction result corresponding to each task cluster in the target resource pool, a resource scheduling strategy between the task clusters in the target resource pool is determined, wherein the target resource pool is one of the resource pools.

[0168] Optionally, the determining module 406 is further configured to:

[0169] Determine, according to the second prediction result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources;

[0170] Determine a target resource profile of the idle task processing resource, and determine a matching degree between the idle task processing resource and the to-be-processed task in the resource scheduling requirement according to the target resource profile;

[0171] A resource scheduling strategy between the first task cluster and the second task cluster is determined according to the matching degree and the resource scheduling requirement.

[0172] Optionally, the determining module 406 is further configured to:

[0173] Creating a scheduling instance between the first task cluster and the second task cluster based on the resource scheduling strategy;

[0174] Submitting a resource scheduling application to the second task cluster by executing the scheduling instance;

[0175] When it is determined that the second task cluster opens resource scheduling authority to the first task cluster in response to the resource scheduling application, the idle task processing resources of the second task cluster are scheduled to the first task cluster.

[0176] Optionally, the first prediction module 402 is further configured to:

[0177] According to the task category, the tasks to be processed corresponding to the first prediction result are divided into at least two categories, and the tasks to be processed of the target task category are input into the first prediction model to generate a third prediction result of the task processing time corresponding to the target task category, wherein the target task category is one of the at least two categories;

[0178] The third prediction result and the resource profile of the task processing resource are input into a second prediction model, so that the second prediction model predicts the resource consumption result of the task processing resource in each task cluster based on the resource profile and the third prediction result.

[0179] Optionally, the resource scheduling device further includes an updating module configured to:

[0180] The target task processing duration corresponding to the to-be-processed tasks of the target task category within the target time interval is obtained, and the first prediction model is updated based on the target task processing duration.

[0181] Optionally, the determining module 406 is further configured to:

[0182] Determine the target consumption result of the task processing resources in each task cluster in the target time interval according to the historical consumption information of the task processing resources in each task cluster;

[0183] According to the second prediction result and the target consumption result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources are determined.

[0184] The above is a schematic scheme of a resource scheduling device of this embodiment. It should be noted that the technical scheme of the resource scheduling device and the technical scheme of the resource scheduling method described above are of the same concept, and the details not described in detail in the technical scheme of the resource scheduling device can be found in the description of the technical scheme of the resource scheduling method described above.

[0185] Figure 5 The structure block diagram of a computing device 500 provided according to an embodiment of the present specification is shown. The components of the computing device 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.

[0186] The computing device 500 also includes an access device 540 that enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of network interface (e.g., a network interface card (NIC)) whether wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0187] In one embodiment of the present specification, the above components of the computing device 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0188] The computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. The computing device 500 may also be a mobile or stationary server.

[0189] The processor 520 is used to execute the following computer executable instructions, which implement the steps of the above resource scheduling method when executed by the processor.

[0190] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the resource scheduling method described above are of the same concept, and the details of the technical scheme of the computing device not described in detail can be found in the description of the technical scheme of the resource scheduling method described above.

[0191] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which can implement the steps of the above-mentioned resource scheduling method when executed by a processor.

[0192] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the resource scheduling method described above are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be found in the description of the technical scheme of the resource scheduling method described above.

[0193] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned resource scheduling method.

[0194] The above is an illustrative solution of a computer program of this embodiment. It should be noted that the technical solution of the computer program and the technical solution of the resource scheduling method described above are of the same concept, and the details not described in detail in the technical solution of the computer program can be found in the description of the technical solution of the resource scheduling method described above.

[0195] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0196] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0197] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0198] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0199] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A resource scheduling method, comprising: In response to the resource scheduling processing request, predicting the amount of tasks to be processed in each of the at least two task clusters within a target time interval to generate a first prediction result; Determine the historical processing tasks of each task cluster, and determine the reference processing flow of the historical processing tasks, determine the task processing resources corresponding to each task cluster, and determine the historical processing flow corresponding to the historical processing tasks processed by the task processing resources, and determine the resource profile of the task processing resources based on the reference processing flow and the historical processing flow; Based on the resource profile of the task processing resource and the first prediction result, predict the resource consumption result of the task processing resource in each task cluster to generate a second prediction result; Determining a resource scheduling strategy between the at least two task clusters according to the second prediction result; The task processing resources are scheduled based on the resource scheduling strategy.

2. The resource scheduling method according to claim 1, wherein the resource scheduling process for the task processing resources based on the resource scheduling strategy comprises: A scheduling instance between the at least two task clusters is created based on the resource scheduling strategy, and resource scheduling processing is performed on the task processing resources by executing the scheduling instance.

3. The resource scheduling method according to claim 1, wherein determining the resource scheduling strategy between the at least two task clusters according to the second prediction result comprises: Dividing the at least two task clusters according to the location information of the at least two task clusters to generate corresponding resource pools; According to the second prediction result corresponding to each task cluster in the target resource pool, a resource scheduling strategy between the task clusters in the target resource pool is determined, wherein the target resource pool is one of the resource pools.

4. The resource scheduling method according to claim 1, wherein determining the resource scheduling strategy between the at least two task clusters according to the second prediction result comprises: Determine, according to the second prediction result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources; Determine a target resource profile of the idle task processing resource, and determine a matching degree between the idle task processing resource and the to-be-processed task in the resource scheduling requirement according to the target resource profile; A resource scheduling strategy between the first task cluster and the second task cluster is determined according to the matching degree and the resource scheduling requirement.

5. The resource scheduling method according to claim 4, wherein the performing resource scheduling processing on the task processing resources based on the resource scheduling strategy comprises: Creating a scheduling instance between the first task cluster and the second task cluster based on the resource scheduling strategy; Submitting a resource scheduling application to the second task cluster by executing the scheduling instance; When it is determined that the second task cluster opens resource scheduling authority to the first task cluster in response to the resource scheduling application, the idle task processing resources of the second task cluster are scheduled to the first task cluster.

6. The resource scheduling method according to claim 1, wherein the resource consumption result of the task processing resources in each task cluster is predicted based on the resource profile of the task processing resources and the first prediction result, comprising: According to the task category, the tasks to be processed corresponding to the first prediction result are divided into at least two categories, and the tasks to be processed of the target task category are input into the first prediction model to generate a third prediction result of the task processing time corresponding to the target task category, wherein the target task category is one of the at least two categories; The third prediction result and the resource profile of the task processing resource are input into a second prediction model, so that the second prediction model predicts the resource consumption result of the task processing resource in each task cluster based on the resource profile and the third prediction result.

7. The resource scheduling method according to claim 6, further comprising: The target task processing duration corresponding to the to-be-processed tasks of the target task category within the target time interval is obtained, and the first prediction model is updated based on the target task processing duration.

8. The resource scheduling method according to claim 4, wherein determining, according to the second prediction result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources comprises: Determine the target consumption result of the task processing resources in each task cluster in the target time interval according to the historical consumption information of the task processing resources in each task cluster; According to the second prediction result and the target consumption result, a first task cluster having resource scheduling requirements and a second task cluster having idle task processing resources are determined.

9. A resource scheduling device, comprising: A first prediction module is configured to predict the amount of tasks to be processed of each task cluster in the target time interval in response to the resource scheduling processing request, and generate a first prediction result; A processing module is configured to determine the historical processing tasks of each task cluster, determine the reference processing flow of the historical processing tasks, determine the task processing resources corresponding to each task cluster, and determine the historical processing flow corresponding to the historical processing tasks processed by the task processing resources, and determine the resource profile of the task processing resources based on the reference processing flow and the historical processing flow; A second prediction module is configured to predict the resource consumption result of the task processing resources in each task cluster based on the resource profile of the task processing resources and the first prediction result, and generate a second prediction result; a determination module, configured to determine a resource scheduling strategy between the at least two task clusters according to the second prediction result; The scheduling module is configured to perform resource scheduling processing on the task processing resources based on the resource scheduling strategy.

10. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the resource scheduling method described in any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the steps of the resource scheduling method according to any one of claims 1 to 8.