Computing network workflow scheduling method and system based on heterogeneous resource measurement characteristics

By using fine-grained resource description and multi-objective optimization scheduling methods in the computing network, task scheduling challenges under the influence of resource heterogeneity and network are solved, efficient resource matching and load balancing are achieved, and task execution efficiency and resource are improved. Utilization.

CN117596246BActive Publication Date: 2024-09-03SHANDONG COMP SCI CENTNAT SUPERCOMP CENT IN JINAN +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410043836.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-12
Publication Date
2024-09-03
Estimated Expiration
2044-01-12

AI Technical Summary

Technical Problem

Computing network resources are heterogeneous, ubiquitous, and widely dispersed, and lack a unified fine-grained resource measurement and description method, resulting in low resource matching accuracy and low scheduling efficiency, which affects task execution efficiency, especially in workflow tasks, resource distribution Unbalanced, resulting in load imbalance.

Method used

Adopting a computing power network workflow scheduling method based on heterogeneous resource measurement characteristics, through fine-grained resource description, comprehensive consideration of tasks, computing power, network and data resource conditions, cross-domain data center resource collaboration, and optimal selection of computing and storage cluster combinations. Utilize multi-objective functions and predicted network performance index to achieve accurate resource matching and load balancing.

Benefits of technology

It improves task processing speed, improves resource utilization, ensures the fit between tasks and resources, shortens the task execution process, and avoids delays and resource waste caused by uneven load in the data center.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117596246B
    Figure CN117596246B
Patent Text Reader

Abstract

The present invention provides a computing network workflow scheduling method and system based on heterogeneous resource measurement characteristics, which belongs to the technical field of computing network resource scheduling. The scheme comprehensively considers the resource conditions of tasks, computing power, network and data on the basis of fine-grained resource description measurement, and effectively improves the task processing speed and resource utilization by scheduling cross-domain data center resource collaboration; the scheme can formulate a scheduling strategy that highly matches the needs and resources according to the diversified needs of tasks, and can more accurately match tasks and resources, and select the most suitable data center to execute tasks; in the scheme, the subtasks in the workflow shorten the task execution process and improve the workflow execution efficiency by reasonably allocating resources; at the same time, the scheme targets the load conditions of multiple data centers to avoid the situation where some data centers are overloaded and cause task delays or some data centers are idle and cause resource waste.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computing power network resource scheduling, and in particular to a computing power network workflow scheduling method and system based on heterogeneous resource measurement characteristics. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] In the era of big data, machine learning and data analysis are widely used in all walks of life, and the demand for computing and storage resources has increased sharply. The application attributes are diverse, and the computing task processing is more complex. Not only does it require a huge amount of resources to perform calculations, but the diverse types of computing tasks also require more heterogeneous resources to support them. A single resource center is usually unable to meet the demand, and a computing network is needed to achieve global scheduling of wide-area resources to efficiently execute tasks.

[0004] However, the inventors found that computing power network resources are heterogeneous, ubiquitous, and widely dispersed. There is a lack of a unified and fine-grained resource measurement description method, making it difficult to accurately schedule the resources required for matching tasks; and the network conditions and data flow between different computing power resource centers also have a great impact on task scheduling and execution. Especially for workflow tasks, different types of tasks need to be assigned to the cluster nodes of the computing power network for collaborative execution. There are correlations and various data flows between tasks. If the resource matching accuracy is low and the scheduling efficiency is low, it will greatly affect the efficiency of task execution and lead to an unbalanced computing power network load. Most of the existing research on workflow task scheduling focuses on a single data center, and computing power and data transmission are not affected by heterogeneity and the network. However, computing power resources in a wide-area environment are highly heterogeneous and data is greatly affected by the network. Workflow task scheduling in a wide-area computing power network environment faces greater challenges. Summary of the invention

[0005] In order to solve the above problems, the present invention provides a computing power network workflow scheduling method and system based on heterogeneous resource measurement characteristics. The scheme comprehensively considers the resource conditions of tasks, computing power, network and data on the basis of fine-grained resource description measurement, and effectively improves the task processing speed and resource utilization by scheduling cross-domain data center resource collaboration.

[0006] According to a first aspect of an embodiment of the present invention, a computing network workflow scheduling method based on heterogeneous resource measurement characteristics is provided, comprising:

[0007] In response to the user's workflow task request, obtain the task resource requirements of the current workflow and the resource quota of the current user;

[0008] When the resource quota meets the task resource requirements of the current workflow, the subtasks in the workflow are executed in the order of task execution;

[0009] Among them, before the execution of the subtask, the following process is pre-executed: based on the data centers that have been connected to the computing network service platform and their corresponding computing power measurement standard information, all computing clusters and storage cluster combinations that meet the current subtask resource requirements, as well as the data center identifiers corresponding to the computing clusters and storage cluster combinations are selected from the computing network service platform; the network status parameters between the data centers corresponding to each combination are obtained, and the comprehensive network performance parameters are calculated; based on the comprehensive network performance parameters, combined with the pre-built multi-objective function that considers location factors and load balancing factors, the computing cluster and storage cluster combination used for the execution of the current subtask is obtained through optimization and solution.

[0010] Furthermore, the method selects all computing clusters and storage cluster combinations that meet the resource requirements of the current subtask from the computing network service platform, specifically: according to the requirements for storage capacity, security, resource provider, hard disk type and resource type uploaded by the user, screen out all storage clusters that meet the requirements to obtain a storage cluster set; for each storage cluster in the storage cluster set, determine whether there is a computing cluster that meets the user's computing requirements in the data center to which it belongs, if not, select from the computing clusters of other data centers in the computing network service platform to obtain a storage cluster and computing cluster combination; wherein, for the computing cluster that meets the computing requirements, if it belongs to the same data center as the storage cluster, the data center identifier is output, and a scheduling plan is formed based on the data center identifier to execute the workflow task.

[0011] Furthermore, the pre-constructed multi-objective function that considers location factors and load balancing factors includes: minimizing the Euclidean distance between the data center to which the storage cluster used to store data belongs and the data center to which the selected computing cluster belongs as the first objective; maximizing the comprehensive network performance index between the data center to which the storage cluster used to store data belongs and the data center to which the selected computing cluster belongs as the second objective; minimizing the comprehensive resource utilization rate of all data centers in the computing power network as the third objective; and using the first objective, the second objective and the third objective as a multi-objective function.

[0012] Furthermore, the network comprehensive performance index is obtained based on a weighted sum of predicted network indicators between data centers, wherein the network indicators include bandwidth, jitter, packet loss rate, and latency.

[0013] Furthermore, the comprehensive network performance index between the two data centers is specifically expressed as follows:

[0014]

[0015] in, , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+6th time point; , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+7th time point; , , and are the weights of bandwidth, delay, jitter and packet loss rate respectively.

[0016] Furthermore, the predicted network indicators between data centers are obtained by using a pre-trained LSTM-based network performance parameter prediction model, specifically: the historical data of network indicators of the data centers are input into the trained network performance parameter prediction model to obtain the predicted network indicators.

[0017] Furthermore, determine whether the current user's resource quota meets the task resource requirements of the current workflow, specifically: obtain the number of CPU cores, memory capacity, and hard disk capacity used by all subtasks in the workflow. When the required total number of CPU cores, memory capacity, and hard disk capacity is less than or equal to the user's resource quota, execute the subtasks in the workflow in the order of task execution. If it is greater than the user's resource quota, return insufficient quota.

[0018] Furthermore, the computing power measurement standard information includes computing resource metric standard information and storage resource metric standard information, wherein the computing resource metric standard information includes the number of available CPU cores and memory capacity resource scale of the computing cluster, cloud data center provision method, cloud resource provision method, operating system type, processor architecture, computing cluster geographical location and resource type; the storage resource metric standard information includes the hard disk capacity available to the storage cluster, cloud data center provision method, cloud resource provision method, operating system type, hard disk type, storage cluster geographical location and resource type.

[0019] Furthermore, the optimization solution of the multi-objective function specifically adopts a reference vector to guide the multi-objective optimization evolutionary algorithm.

[0020] According to a second aspect of an embodiment of the present invention, a computing power network workflow scheduling system based on heterogeneous resource measurement characteristics is provided, including:

[0021] A data acquisition unit, which is used to respond to a workflow task request from a user and acquire the task resource requirements of the current workflow and the resource quota of the current user;

[0022] A task scheduling unit, which is used to execute tasks in the workflow according to the task execution order when the resource quota meets the task resource requirements of the current workflow;

[0023] Among them, before the task is executed, the following process is pre-executed: based on the data centers that have been connected to the computing network service platform and their corresponding computing power measurement standard information, all computing clusters and storage cluster combinations that meet the task resource requirements, as well as the data center identifiers corresponding to the computing clusters and storage cluster combinations are selected from the computing network service platform; the network status parameters between the data centers corresponding to each combination are obtained, and the comprehensive network performance parameters are calculated; based on the comprehensive network performance parameters, combined with the pre-built multi-objective function that considers location factors and load balancing factors, the computing cluster and storage cluster combination used for the current task execution is obtained through optimization solution.

[0024] Compared with the prior art, the present invention has the following beneficial effects:

[0025] (1) The present invention provides a computing network workflow scheduling method and system based on heterogeneous resource measurement characteristics. The scheme comprehensively considers the resource conditions of tasks, computing power, network and data on the basis of fine-grained resource description measurement, and effectively improves the task processing speed and resource utilization by scheduling cross-domain data center resource collaboration;

[0026] (2) The solution described in the present invention uses the fine-grained characteristics of computing resources. According to the diverse needs of tasks, a scheduling strategy that is highly compatible with the needs and resources can be formulated. This can more accurately match tasks and resources and select the most suitable data center to execute tasks.

[0027] (3) The solution described in the present invention is based on the heterogeneity and diversity of computing power and network resources in a computing power network environment. The workflow applies different subtasks to reasonably allocate resources, shorten the task execution process, and improve the workflow execution efficiency.

[0028] (4) The solution described in the present invention is targeted at the load conditions of multiple data centers, avoiding the situation where some data centers are overloaded and cause task delays or some data centers are idle and cause resource waste.

[0029] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0031] Figure 1It is a schematic diagram of the overall operation of the computing network service platform described in the embodiment of the present invention;

[0032] Figure 2 It is a flow chart of a computing network workflow scheduling method based on heterogeneous resource measurement characteristics described in an embodiment of the present invention;

[0033] Figure 3 A schematic diagram of fine-grained feature measurement of computing power network computing power resources described in an embodiment of the present invention;

[0034] Figure 4 A schematic diagram of fine-grained characteristics of computing power network resource measurement described in an embodiment of the present invention;

[0035] Figure 5 This is a schematic diagram of an example structure of a workflow described in an embodiment of the present invention;

[0036] Figure 6 The figure is a flowchart of the network comprehensive performance calculation described in the embodiment of the present invention. DETAILED DESCRIPTION

[0037] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0038] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0039] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0040] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0041] Terminology explanation:

[0042] Data center: The data center in the present invention is a cloud service center, and the data center includes a computing cluster and a storage cluster.

[0043] Computing cluster: It has abundant computing resources and can provide a large amount of computing power for task calculations. It is mainly used to offload task calculations.

[0044] Storage cluster: It has abundant storage resources and can provide storage space for user data. It is mainly responsible for the storage of computing data.

[0045] Computing network: The computing network is a network form that aims to provide computing resource services, and aims to provide a service mode that integrates communication, perception, and computing power. It is usually composed of multiple data center nodes. Through dynamic perception networks, it manages data center resources with heterogeneous resources distributed in various places, intelligently matches service needs, realizes resource sharing in a wide area environment, and communicates between nodes. It flexibly dispatches computing resources to ensure efficient execution of tasks and improve the resource utilization of the platform.

[0046] Computing network service platform: a data center that accepts management access and provides users with intelligent scheduling visualization services, including global scheduling system, cross-domain cloud scheduler, data flow and storage manager modules. Figure 1 As shown, the global scheduling system generates scheduling policies for tasks, the cross-domain cloud scheduler schedules tasks to the cloud selected by the policy, the data flower transmits task data to the appropriate data center, and the storage manager queries the scheduling database for information.

[0047] BPMN (Business Process Modeling Notation): It is a common and standard language for process modeling, used to draw business process diagrams to better enable departments to understand business processes and relationships.

[0048] Embodiment 1:

[0049] The purpose of this embodiment is to provide a computing power network workflow scheduling method based on heterogeneous resource measurement characteristics.

[0050] A computing network workflow scheduling method based on heterogeneous resource measurement characteristics, comprising:

[0051] In response to the user's workflow task request, obtain the task resource requirements of the current workflow and the resource quota of the current user;

[0052] When the resource quota meets the task resource requirements of the current workflow, the subtasks in the workflow are executed in the order of task execution;

[0053] Among them, before the execution of the subtask, the following process is pre-executed: based on the data centers that have been connected to the computing network service platform and their corresponding computing power measurement standard information, all computing clusters and storage cluster combinations that meet the current subtask resource requirements, as well as the data center identifiers corresponding to the computing clusters and storage cluster combinations are selected from the computing network service platform; the network status parameters between the data centers corresponding to each combination are obtained, and the comprehensive network performance parameters are calculated; based on the comprehensive network performance parameters, combined with the pre-built multi-objective function that considers location factors and load balancing factors, the computing cluster and storage cluster combination used for the execution of the current subtask is obtained through optimization and solution.

[0054] In the specific implementation, all computing clusters and storage cluster combinations that meet the current subtask resource requirements are selected from the computing network service platform, specifically: according to the requirements for storage capacity, security, resource provider, hard disk type and resource type uploaded by the user, all storage clusters that meet the requirements are screened out to obtain a storage cluster set; for each storage cluster in the storage cluster set, it is determined whether there is a computing cluster that meets the user's computing requirements in the data center to which it belongs. If not, it is selected from the computing clusters of other data centers in the computing network service platform to obtain a storage cluster and computing cluster combination; wherein, for the computing cluster that meets the computing requirements, if it belongs to the same data center as the storage cluster, the data center identifier is output, and a scheduling plan is formed based on the data center identifier to execute the workflow task.

[0055] In a specific implementation, the pre-constructed multi-objective function that considers location factors and load balancing factors includes: minimizing the Euclidean distance between the data center to which the storage cluster used to store data belongs and the data center to which the selected computing cluster belongs as the first goal; maximizing the comprehensive network performance index between the data center to which the storage cluster used to store data belongs and the data center to which the selected computing cluster belongs as the second goal; minimizing the comprehensive resource utilization rate of all data centers in the computing power network as the third goal; and using the first goal, the second goal and the third goal as a multi-objective function.

[0056] In a specific implementation, the network comprehensive performance index is obtained by weighted summation of network indicators of the predicted data center, wherein the network indicators include bandwidth, jitter, packet loss rate and latency.

[0057] In a specific implementation, the comprehensive network performance index between two data centers is specifically expressed as follows:

[0058]

[0059] in, , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+6th time point; , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+7th time point; , , and are the weights of bandwidth, delay, jitter and packet loss rate respectively.

[0060] In a specific implementation, the predicted network indicators between data centers are obtained by using a pre-trained LSTM-based network performance parameter prediction model, specifically: the historical data of network indicators of the data centers are input into the trained network performance parameter prediction model to obtain the predicted network indicators.

[0061] In the specific implementation, it is determined whether the current user's resource quota meets the task resource requirements of the current workflow, specifically: obtain the number of CPU cores, memory capacity, and hard disk capacity used by all subtasks in the workflow. When the required total number of CPU cores, memory capacity, and hard disk capacity is less than or equal to the user's resource quota, the subtasks in the workflow are executed in the order of task execution. If it is greater than the user's resource quota, it returns insufficient quota.

[0062] In a specific implementation, the computing power measurement standard information includes computing resource measurement standard information and storage resource measurement standard information, wherein the computing resource measurement standard information includes the number of available CPU cores and memory capacity resource scale of the computing cluster, the cloud data center provision method, the cloud resource provision method, the operating system type, the processor architecture, the geographical location of the computing cluster and the resource type; the storage resource measurement standard information includes the hard disk capacity available to the storage cluster, the cloud data center provision method, the cloud resource provision method, the operating system type, the hard disk type, the geographical location of the storage cluster and the resource type.

[0063] In a specific implementation, the optimization solution of the multi-objective function specifically adopts a reference vector to guide the multi-objective optimization evolutionary algorithm.

[0064] A computing network workflow scheduling system based on heterogeneous resource measurement characteristics, comprising:

[0065] A data acquisition unit, which is used to respond to a workflow task request from a user and acquire the task resource requirements of the current workflow and the resource quota of the current user;

[0066] A task scheduling unit, which is used to execute tasks in the workflow according to the task execution order when the resource quota meets the task resource requirements of the current workflow;

[0067] Among them, before the task is executed, the following process is pre-executed: based on the data centers that have been connected to the computing network service platform and their corresponding computing power measurement standard information, all computing clusters and storage cluster combinations that meet the task resource requirements, as well as the data center identifiers corresponding to the computing clusters and storage cluster combinations are selected from the computing network service platform; the network status parameters between the data centers corresponding to each combination are obtained, and the comprehensive network performance parameters are calculated; based on the comprehensive network performance parameters, combined with the pre-built multi-objective function that considers location factors and load balancing factors, the computing cluster and storage cluster combination used for the current task execution is obtained through optimization solution.

[0068] Specifically, for ease of understanding, this embodiment is described in detail below with reference to the accompanying drawings:

[0069] like Figure 1 As shown, this embodiment provides a computing network workflow scheduling method based on heterogeneous resource measurement characteristics, which is applied to the global scheduling system of the computing network service platform, and the data center is connected to the computing network in the form of a node, wherein the data center includes a computing cluster and a storage cluster. The method includes:

[0070] S101: When the computing network service platform is connected to the data center, a computing power measurement standard information template is formed to prepare for the global scheduling of tasks;

[0071] The S101 specifically performs the following process:

[0072] The data center of the computing network is described as:

[0073] ,

[0074] in, Represents the data center, represents a computing cluster, Represents a storage cluster;

[0075] like Figure 3 As shown in the figure, the computing power measurement standard information template is formed by the computing network service platform, which is as follows:

[0076] Compute resource metrics template, as follows:

[0077] ,

[0078] in, Indicates the number of CPU cores and memory capacity resources available in the computing cluster; It describes the cloud data center provision method, including self-operation and third-party provision, which is expressed in characters; Represents the way cloud resources are provided, also represented by characters. Private cloud resources provide services for tasks with high security requirements; public cloud resources are flexible and low-cost, represented by characters; Describes the operating system type such as Windows, Ubuntu, CentOS, etc., which can be represented by characters; Describes the processor architecture, which is divided into two types: X86 and AMD. X86 is widely used and performs well in single-threaded tasks; AMD is used in low-power scenarios with high energy efficiency and is represented by characters; Indicates the geographic location of the computing cluster resources, expressed in longitude and latitude; Indicates resource types, including computing, storage, and I / O intensive. It can be represented by characters.

[0079] Compute the storage resource metrics template, as follows:

[0080] ,

[0081] in, Describes the hard disk type attributes, which are mechanical hard disk and solid state hard disk. Mechanical hard disk has large capacity and low cost and can meet the needs of task backup applications, while high-frequency response applications are more likely to choose solid state hard disk, which can be represented by characters; Describes the available disk capacity of the storage cluster. The remaining attributes are consistent with the attribute values ​​of the computing cluster under its data center.

[0082] As shown in Table 1, the computing resource metric standard information template is displayed. Among them, the resource with identification number jinan511-R7 is the computing resource provided by the supercomputer itself, configured in the jinan area, providing public cloud resources, using mechanical hard disks, and the operating system is Ubuntu.

[0083] Table 1 Computing resource metrics information template

[0084]

[0085] In the specific implementation, since data communication is an important influencing factor when measuring computing power in a computing power network environment, the network status is an important research content of computing power measurement. Therefore, this embodiment uses Describe the network status between different data centers,

[0086] in, , represents bandwidth, Represents delay, represents the packet loss rate, Represents the packet loss rate. The above variables are represented by floating-point variables. Represents the network type. There are core networks, backbone networks, and edge networks between different data centers. They have networks of different speeds such as 100G and 10G, and are represented by characters.

[0087] S102: The computing network service platform receives the workflow task uploaded by the user, which contains workflow information such as subtask execution logic and subtask resource requirements; determines whether the user has sufficient quota, and if so, proceeds to the next step for the subtask that meets the execution conditions; if not, returns a message indicating that the quota is insufficient;

[0088] The S102 specifically performs the following processing:

[0089] The Suanwang service platform receives workflows uploaded by users. Workflows are defined using BPMN diagrams. , each subtask As independent nodes, the nodes are connected The execution conditions are defined above, and logical relationships are established through the execution conditions between nodes to describe the execution order between tasks;

[0090] Specifically, Figure 5 Shown, included 6 task nodes, 6 nodes represent 6 tasks, and and Parallel symbolic connections are used to represent execution logic, and and The included execution logic is represented by the include symbol link. This workflow requires a total of 10 4-core 8G virtual machines with a hard disk capacity of 100G. Figure 2 As shown in the figure, first determine whether the user has enough quota. If the user's CPU core quota exceeds 40, the memory capacity quota is greater than 80G, and the hard disk capacity quota is greater than 100G, then the subtask in the workflow Go to the next step; otherwise, it returns information about insufficient quota.

[0091] In the specific implementation, each task node has configuration items, including input files, output files, and resource requirements. The resource requirements include the number of CPUs, memory capacity, hard disk capacity, task type, network status, and security requirements.

[0092] In the specific implementation, the subtask nodes include the start node, the end node and the service node. The logical relationship of starting without execution conditions is the start node, and the logical relationship of not having subsequent judgment conditions is the end node. The remaining nodes are executed through the control process of including branches and parallel branches.

[0093] Among them, by including branches to receive or merge multiple nodes, if some of the nodes do not meet the execution conditions, reset, stop and other operations are performed according to the exception handling rules to continue the execution of the next node; by parallel branches to receive or merge multiple nodes, wait for all nodes to meet the execution conditions, and form an output file as the input file of the next node.

[0094] In a specific implementation, the computing network service platform determines whether the user's quota meets the workflow resource requirements, and specifically performs the following processing:

[0095] After obtaining the task resource requirements of the workflow, the number of CPU cores, memory capacity, and hard disk capacity used by its subtasks are counted. If the total number of CPU cores, memory capacity, and hard disk capacity required by the workflow is greater than the user's CPU resource quota, memory quota, and hard disk quota, the workflow proceeds to the next step. Otherwise, the workflow returns a message indicating that the quota is insufficient.

[0096] S103: Based on the task requirements and the computing power measurement standard template, perform multi-dimensional resource screening to select all computing clusters and storage cluster combinations that meet the task requirements. If the computing cluster and storage cluster of a data center meet the task requirements, record the identification number of the data center.

[0097] Wherein, the S103 specifically performs the following processing:

[0098] Combine the task requirements and the computing power measurement standard template to perform multi-dimensional screening, including the number of available resources, cloud service provision method, resource type, supplier, and hard disk type, and select all computing clusters and storage cluster combinations that meet the task requirements. The specific process is as follows:

[0099] A subtask resource request of the workflow is received, and the storage capacity requirement is the capacity requirement of the hard disk. First, according to the user's storage capacity requirements, security, resource supplier, hard disk type, and resource type requirements, all storage clusters that meet the requirements are screened out to store the data for executing the task. Then, the computing cluster of the data center to which the screened storage cluster belongs is judged whether it can meet the user's computing requirements. The computing requirements include memory capacity, number of CPU cores, supply method, cloud resource service method, and data center resource type. If there is no computing cluster that meets the requirements, the computing clusters of other data centers in the computing network service platform are screened. If the computing cluster that meets the computing requirements belongs to the same data center as the storage cluster, the data center identification number is output, and a scheduling plan is formed to S105, otherwise a storage cluster and computing cluster combination is generated.

[0100] For example, the subtask The task resources require two 4-core 8G X86 architecture virtual machines, 10G mechanical hard disks, and Ubuntu operating system computing resources provided by the supercomputing center. First, based on the task requirements, select the appropriate storage cluster in the computing power measurement standard template (10G, self-construct, store, hdd, private, Ubuntu, yantai) and (10G, self-construct, store, hdd, private, Ubuntu, jining). , , It is the storage cluster of Yantai District 5 and Jining District 6. The data center to which the selected storage cluster belongs does not meet the computing resource requirements of the task. Then the storage and computing separation strategy is implemented. According to the computing power measurement standard template (8 cores 16G, other-ali, compute, private, Ubuntu, jinan), ..., the selected , , , They are the computing clusters of Jinan District 5, Jining District 7, and Zaozhuang District 8, which are arbitrarily generated combinations based on two storage clusters and three computing clusters.

[0101] S104: Obtain network status parameters between data centers to which each resource combination belongs, calculate comprehensive network performance parameters, combine location factors and load balancing factors to form a multi-objective function, obtain an optimal solution, and determine the combination of computing clusters and storage clusters for task execution;

[0102] The 104 specifically performs the following processing:

[0103] Get the network status parameters of the data center to which each resource combination belongs, based on Figure 6 The process shown in the figure calculates the comprehensive network performance parameters, including:

[0104] The LSTM method is introduced to predict the network status based on the real-time measured network indicators, and a network performance parameter prediction model is obtained. The network parameters include bandwidth, jitter, packet loss rate, and latency.

[0105] The network performance parameter prediction model uses the iperf command to measure 10,000 data points of bandwidth, jitter, packet loss rate, and latency between data centers. The format of each data point is , is a measure of bandwidth, is a measure of bandwidth, is a measure of bandwidth, is the bandwidth measurement. Part of the 10,000 data is used as a training set and part as a test set, and finally a trained network performance parameter prediction model is obtained.

[0106] For example, network indicator data at 7 time points in historical data is obtained Use the trained LSTM model to predict the network indicator data at the 8th time point .

[0107] Use the principal component analysis algorithm to objectively and comprehensively evaluate the network status. The PCA algorithm converts the original data into a set of linearly independent representations of each dimension through linear transformation, which is used to extract the main characteristic components of the data. When the cumulative contribution rate exceeds 80%, all the principal components are obtained. Here, only four parameters are involved, so we ignore the cumulative contribution rate and use the contribution rate as the weight of network bandwidth, delay, jitter and packet loss rate. , , and .

[0108] (1)

[0109] Through this method, the network comprehensive performance index is obtained, and the higher the index is, the better the network quality between the selected nodes is. The obtained network performance indicators are more objective and usable, reducing the errors caused by fluctuations in network performance indicators in real-time measurement.

[0110] In a specific implementation, the combination of location factors and load balancing factors forms a multi-objective function, specifically:

[0111] Location priority: Calculate the Euclidean distance between all data centers storing data and the data center to which the selected computing cluster belongs;

[0112] (2)

[0113] in , Represents the longitude and latitude of the data center where the data is stored, , Indicates the longitude and latitude of the data center to which the selected computing cluster belongs.

[0114] Network priority: Calculate the network comprehensive performance index of all data centers storing data and the data center to which the selected computing cluster belongs;

[0115] (3)

[0116] in, , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+6th time point; , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+7th time point; , , and are the weights of bandwidth, delay, jitter and packet loss rate respectively.

[0117] Load balancing priority: Calculate the resource balancing factor of all data centers to indicate the load balancing degree of the computing network. First, obtain the comprehensive resource usage of the data center, which is obtained by formula (4). The resource balancing factor is obtained by calculating the standard deviation of the comprehensive resource usage of all data centers using formula (5);

[0118] (4)

[0119] (5)

[0120] in, Use comprehensive parameters for data center resources, , , They represent the CPU usage, hard disk usage, and memory usage of the data center respectively. Represents the number of data centers in the computing network;

[0121] Taking into account the efficiency of task execution and the balance of data center resources, a multi-objective optimization function is constructed with the goals of minimizing geographical distance, minimizing resource balance factor, and maximizing network comprehensive performance index. A computing cluster and storage cluster combination is randomly selected from the solution set to obtain a suitable data center. , , The CPU resources, memory resources, and hard disk resources available for the computing cluster and storage cluster. , , The CPU resources, memory resources, and hard disk resources required for a subtask of the workflow.

[0122] (6)

[0123] In the specific implementation, the RVEA algorithm is used as the solution algorithm for multi-objective optimization, which specifically includes:

[0124] (1) Initialize the reference vector and population.

[0125] (2) Assign each individual the reference vector with the closest distance.

[0126] (3) Use crossover and mutation to generate new individuals to update the population.

[0127] (4) Perform non-dominated sorting on the new solutions to obtain the solution set on the Pareto front.

[0128] (5) Update the reference vector based on the selected individual and repeat steps (2) to (5) until the end condition is met.

[0129] Among them, RVEA (Reference Vector Guided Evolutionary Algorithm) is a reference vector guided multi-objective optimization evolutionary algorithm. The algorithm source is: "A Reference Vector Guided Evolutionary Algorithm for Many-Objective Optimization".

[0130] For example, the network parameters (bandwidth, delay, jitter, and packet loss rate) of Yantai District 2 and Jinan District 2 are predicted by the long short-term memory network method. (1, 8, 1, 0.3) and each weight (0.3, 0.4, 0.1, 0.2) to calculate the network comprehensive performance index, and then calculate the other combined network comprehensive performance indexes. The data center data resource utilization rate and geographic longitude and latitude data are obtained. , such as Yantai District 5 , Zaozhuang District 8 , ... Calculate the Euclidean distance and resource balancing factor. Establish a multi-objective optimization function to obtain the optimal solution and ,randomly select the storage cluster in Yantai District 5 and the computing cluster in Jining District 7.

[0131] In one or more embodiments, the method further comprises the steps of:

[0132] The global scheduling system generates scheduling policies for tasks, the cross-domain cloud scheduler schedules tasks to the cloud selected by the policy, the data flower transmits task data to the appropriate data center, and the storage manager is used to query information in the scheduling database.

[0133] S105: Figure 1 As shown in , the global scheduling system of the computing network service platform generates a scheduling plan for workflow tasks and provides it to the selected computing cluster and storage cluster data center to create resources to execute tasks; the storage manager queries the computing data location, data center location information and other information, and the data flow device transmits the computing data to the data center to which the selected storage cluster belongs. The cross-domain multi-cloud scheduler assigns tasks to data centers scattered around to process the tasks;

[0134] The S105 specifically performs the following processing: the global scheduler of the computing network service platform generates a scheduling plan for the workflow task and runs the task. Specifically, it includes:

[0135] The global scheduler uses filters to filter out data centers that do not meet the task resource requirements based on the fine-grained feature computing power measurement standard template, queries the data center location information and other information through the storage manager, and obtains the combination of computing clusters and storage clusters required for task execution through the decision maker. If the computing data is transferred to the data center to which the selected storage cluster belongs through the data flow, the cross-domain multi-cloud scheduler assigns the task to data centers scattered around the country to process the task.

[0136] S106: After the task is executed, an output file is generated and the completion information is sent to the computing network service platform. Subsequent tasks are scheduled according to the logical relationship between tasks. If the execution conditions determine that the tasks are in a parallel relationship, multiple tasks are scheduled. Otherwise, when the subtasks in the serial workflow meet the conditions, tasks are scheduled one by one until all workflow tasks are executed.

[0137] The S106 specifically performs the following processing:

[0138] S106: after the task is executed, an output file is generated, and completion information is sent to the computing network service platform to schedule subsequent tasks, specifically including:

[0139] After the task is completed in the data center, a completion message is sent to the computing network service platform. After the workflow logic judges that the execution conditions are met, the global scheduling system generates a scheduling plan for subsequent tasks and executes the tasks until the tasks at the end node of the workflow are executed and the workflow ends.

[0140] In the specific implementation, if there is more than one subtask that meets the execution conditions after the parent task is completed, they are sorted in the order of logical judgment, and a scheduling plan is formed for several subtasks to execute the tasks.

[0141] In the scheme described in this embodiment, when generating a scheduling plan for a subsequent task, the data center where the output file generated by its parent task is located is screened for resources of the new task. If the resources are not met, data flow is performed, and a suitable storage cluster is selected to store the data. The computing cluster is matched through the scheduling method to execute the task.

[0142] Exemplary, combined Figure 5 The workflow shown in After the task is completed, an output file is generated and the completion information is sent to the computing network service platform. The workflow logic determines that if the execution conditions are met, the parallel branches are executed and scheduled in sequence. , Task, repeat from S103 until Execution completed. Workflow execution completed.

[0143] Embodiment 2:

[0144] The purpose of this embodiment is to provide a computing power network workflow scheduling system based on heterogeneous resource measurement characteristics.

[0145] A computing network workflow scheduling system based on heterogeneous resource measurement characteristics, comprising:

[0146] A data acquisition unit, which is used to respond to a workflow task request from a user and acquire the task resource requirements of the current workflow and the resource quota of the current user;

[0147] A task scheduling unit, which is used to execute tasks in the workflow according to the task execution order when the resource quota meets the task resource requirements of the current workflow;

[0148] Among them, before the task is executed, the following process is pre-executed: based on the data centers that have been connected to the computing network service platform and their corresponding computing power measurement standard information, all computing clusters and storage cluster combinations that meet the task resource requirements, as well as the data center identifiers corresponding to the computing clusters and storage cluster combinations are selected from the computing network service platform; the network status parameters between the data centers corresponding to each combination are obtained, and the comprehensive network performance parameters are calculated; based on the comprehensive network performance parameters, combined with the pre-built multi-objective function that considers location factors and load balancing factors, the computing cluster and storage cluster combination used for the current task execution is obtained through optimization solution.

[0149] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A computing network workflow scheduling method based on heterogeneous resource measurement characteristics, characterized in that: include: In response to the user's workflow task request, obtain the task resource requirements of the current workflow and the resource quota of the current user; When the resource quota meets the task resource requirements of the current workflow, the subtasks in the workflow are executed in the order of task execution; Before the subtask is executed, the following process is performed in advance: based on the data centers that have been connected to the computing network service platform and their corresponding computing power measurement standard information, all computing clusters and storage cluster combinations that meet the resource requirements of the current subtask, as well as the data center identifiers corresponding to the computing clusters and storage cluster combinations, are selected from the computing network service platform; network status parameters between data centers corresponding to each combination are obtained, and comprehensive network performance parameters are calculated; based on the comprehensive network performance parameters, combined with a pre-built multi-objective function that considers location factors and load balancing factors, the computing cluster and storage cluster combination used for the execution of the current subtask is obtained through optimization and solution; The pre-constructed multi-objective function considering location factors and load balancing factors includes: minimizing the Euclidean distance between the data center to which the storage cluster for storing data belongs and the data center to which the selected computing cluster belongs as the first objective; maximizing the network comprehensive performance index between the data center to which the storage cluster for storing data belongs and the data center to which the selected computing cluster belongs as the second objective; minimizing the comprehensive resource utilization rate of all data centers in the computing network as the third objective; and taking the first objective, the second objective and the third objective as the multi-objective function; The network comprehensive performance index is obtained based on the weighted sum of the predicted network indicators between data centers, wherein the network indicators include bandwidth, jitter, packet loss rate and latency; Combining location factors and load balancing factors to form a multi-objective function, specifically: Location priority: Calculate the Euclidean distance between all data centers storing data and the data center to which the selected computing cluster belongs; (1) in , Represents the longitude and latitude of the data center where the data is stored, , The longitude and latitude of the data center to which the selected computing cluster belongs; Network priority: Calculate the comprehensive network performance index of all data centers storing data and the data center to which the selected computing cluster belongs; (2) in, , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+6th time point; , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+7th time point; , , and are the weights of bandwidth, delay, jitter, and packet loss rate respectively; For network priority, based on the network indicator data from time points i to i+6 in the acquired historical data, the trained LSTM model is used to predict the network indicator data at time point i+7, that is, , , and ; and determine the contribution rate of each parameter based on the principal component analysis method, and use the contribution rate as the weight of bandwidth, delay, jitter and packet loss rate; Load balancing priority: Calculate the resource balancing factor of all data centers to indicate the load balancing degree of the computing network. First, obtain the comprehensive resource usage of the data center, which is obtained by formula (3). The resource balancing factor is obtained by calculating the standard deviation of the comprehensive resource usage of all data centers using formula (4). (3) (4) in, Use comprehensive parameters for data center resources, , , They represent the CPU usage, hard disk usage, and memory usage of the data center respectively; Represents the number of data centers in the computing network; Taking into account the efficiency of task execution and the balance of data center resources, a multi-objective optimization function is constructed with the goals of minimizing geographical distance, minimizing resource balance factors, and maximizing network comprehensive performance index. A computing cluster and storage cluster combination is randomly selected from the solution set, and a suitable data center is obtained to avoid task delays caused by overloading of some data centers or waste of resources caused by idleness of some data centers. , , The CPU resources, memory resources, and hard disk resources available for the computing cluster and storage cluster. , , The CPU resources, memory resources, and hard disk resources required for a subtask of the workflow; (5); The computing power measurement standard information includes computing resource measurement standard information and storage resource measurement standard information, wherein the computing resource measurement standard information includes the number of available CPU cores and memory capacity resource scale of the computing cluster, the cloud data center provision method, the cloud resource provision method, the operating system type, the processor architecture, the geographical location of the computing cluster and the resource type; the storage resource measurement standard information includes the hard disk capacity available to the storage cluster, the cloud data center provision method, the cloud resource provision method, the operating system type, the hard disk type, the geographical location of the storage cluster and the resource type.

2. A computing network workflow scheduling method based on heterogeneous resource measurement characteristics as described in claim 1, characterized in that: The method comprises selecting all computing clusters and storage cluster combinations that meet the resource requirements of the current subtask from the computing network service platform, specifically: according to the requirements for storage capacity, security, resource provider, hard disk type and resource type uploaded by the user, screening out all storage clusters that meet the requirements and obtaining a storage cluster set; for each storage cluster in the storage cluster set, determining whether there is a computing cluster that meets the user's computing requirements in the data center to which it belongs, and if not, selecting from the computing clusters of other data centers in the computing network service platform to obtain a storage cluster and computing cluster combination; wherein, if the computing cluster that meets the computing requirements belongs to the same data center as the storage cluster, the data center identifier is output, and a scheduling plan is formed based on the data center identifier to execute the workflow task.

3. A computing network workflow scheduling method based on heterogeneous resource measurement characteristics as described in claim 1, characterized in that: The predicted network indicators between data centers are obtained by using a pre-trained LSTM-based network performance parameter prediction model, specifically: the historical data of network indicators of the data centers are input into the trained network performance parameter prediction model to obtain the predicted network indicators.

4. A computing network workflow scheduling method based on heterogeneous resource measurement characteristics as described in claim 1, characterized in that: Determine whether the current user's resource quota meets the task resource requirements of the current workflow. Specifically, obtain the number of CPU cores, memory capacity, and hard disk capacity used by all subtasks in the workflow. When the total number of CPU cores, memory capacity, and hard disk capacity required is less than or equal to the user's resource quota, execute the subtasks in the workflow in the order of task execution. If it is greater than the user's resource quota, return insufficient quota.

5. A computing network workflow scheduling method based on heterogeneous resource measurement characteristics as claimed in claim 1, characterized in that: The optimization solution of the multi-objective function specifically adopts a reference vector to guide a multi-objective optimization evolutionary algorithm.

6. A computing network workflow scheduling system based on heterogeneous resource measurement characteristics, characterized in that: include: A data acquisition unit, which is used to respond to a workflow task request from a user and acquire the task resource requirements of the current workflow and the resource quota of the current user; A task scheduling unit, which is used to execute tasks in the workflow according to the task execution order when the resource quota meets the task resource requirements of the current workflow; Among them, before the task is executed, the following process is pre-executed: based on the data centers that have been connected to the computing network service platform and their corresponding computing power measurement standard information, all computing clusters and storage cluster combinations that meet the task resource requirements, as well as the data center identifiers corresponding to the computing cluster and storage cluster combinations are selected from the computing network service platform; the network status parameters between the data centers corresponding to each combination are obtained, and the comprehensive network performance parameters are calculated; based on the comprehensive network performance parameters, combined with the pre-built multi-objective function considering location factors and load balancing factors, the computing cluster and storage cluster combination used for the current task execution is obtained through optimization solution; The pre-constructed multi-objective function considering location factors and load balancing factors includes: minimizing the Euclidean distance between the data center to which the storage cluster for storing data belongs and the data center to which the selected computing cluster belongs as the first objective; maximizing the network comprehensive performance index between the data center to which the storage cluster for storing data belongs and the data center to which the selected computing cluster belongs as the second objective; minimizing the comprehensive resource utilization rate of all data centers in the computing network as the third objective; and taking the first objective, the second objective and the third objective as the multi-objective function; The network comprehensive performance index is obtained based on the weighted sum of the predicted network indicators between data centers, wherein the network indicators include bandwidth, jitter, packet loss rate and latency; Combining location factors and load balancing factors to form a multi-objective function, specifically: Location priority: Calculate the Euclidean distance between all data centers storing data and the data center to which the selected computing cluster belongs; (1) in , Represents the longitude and latitude of the data center where the data is stored, , The longitude and latitude of the data center to which the selected computing cluster belongs; Network priority: Calculate the comprehensive network performance index of all data centers storing data and the data center to which the selected computing cluster belongs; (2) in, , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+6th time point; , , and They are the bandwidth, latency, jitter, and packet loss rate between two data centers at the i+7th time point; , , and are the weights of bandwidth, delay, jitter, and packet loss rate respectively; For network priority, based on the network indicator data from time points i to i+6 in the acquired historical data, the trained LSTM model is used to predict the network indicator data at time point i+7, that is, , , and ; and determine the contribution rate of each parameter based on the principal component analysis method, and use the contribution rate as the weight of bandwidth, delay, jitter and packet loss rate; Load balancing priority: Calculate the resource balancing factor of all data centers to indicate the load balancing degree of the computing network. First, obtain the comprehensive resource usage of the data center, which is obtained by formula (3). The resource balancing factor is obtained by calculating the standard deviation of the comprehensive resource usage of all data centers using formula (4). (3) (4) in, Use comprehensive parameters for data center resources, , , They represent the CPU usage, hard disk usage, and memory usage of the data center respectively; Represents the number of data centers in the computing network; Taking into account the efficiency of task execution and the balance of data center resources, a multi-objective optimization function is constructed with the goal of minimizing geographical distance, minimizing resource balance factor, and maximizing network comprehensive performance index. A computing cluster and storage cluster combination is randomly selected from the solution set, and a suitable data center is obtained to avoid task delays caused by overloading of some data centers or waste of resources caused by idleness of some data centers. , , The CPU resources, memory resources, and hard disk resources available for the computing cluster and storage cluster. , , The CPU resources, memory resources, and hard disk resources required for a subtask of the workflow; (5); The computing power measurement standard information includes computing resource measurement standard information and storage resource measurement standard information, wherein the computing resource measurement standard information includes the number of available CPU cores and memory capacity resource scale of the computing cluster, the cloud data center provision method, the cloud resource provision method, the operating system type, the processor architecture, the geographical location of the computing cluster and the resource type; the storage resource measurement standard information includes the hard disk capacity available to the storage cluster, the cloud data center provision method, the cloud resource provision method, the operating system type, the hard disk type, the geographical location of the storage cluster and the resource type.