Cross-cloud heterogeneous computing resource scheduling method, system, electronic device and storage medium

By building heterogeneous container clusters and core clusters in different regions and system architectures, unified scheduling of computing resources is achieved, solving the problems of computing resource integration and scheduling, improving computing resource utilization efficiency and management flexibility, and supporting emerging architecture resources. access.

CN117971492BActive Publication Date: 2024-10-11上海和今信息科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410206648.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-26
Publication Date
2024-10-11
Estimated Expiration
2044-02-26

AI Technical Summary

Technical Problem

Existing technologies cannot effectively integrate and schedule computing resources in different regions and system architectures, resulting in low utilization efficiency of computing resources, complex resource management, and difficulty in supporting the integration and collaborative use of heterogeneous computing resources.

Method used

By building multiple heterogeneous container clusters, we determine the core cluster and establish a computing power control plane to achieve unified scheduling and management of heterogeneous computing power across clouds. We adopt a computing and storage separation architecture to encapsulate computing power control interfaces to integrate and schedule heterogeneous computing power. The resources of the container cluster.

Benefits of technology

It significantly improves the utilization efficiency of computing resources, improves the flexibility of resource procurement and supplier management, saves data asset migration costs, and supports the popularization and access of emerging architecture resources such as localized CPUs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117971492B_ABST
    Figure CN117971492B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, electronic device and storage medium for scheduling heterogeneous computing power resources across clouds. The method includes: integrating computing power resource nodes with the same system architecture in various regions, building multiple heterogeneous container clusters to form a computing power cluster; determining a core cluster from multiple heterogeneous container clusters; communicating and connecting the core cluster with multiple heterogeneous container clusters; connecting the core cluster to the computing power control interface of each heterogeneous container cluster and establishing a computing power control plane to achieve unified scheduling and management of full cross-cloud heterogeneous computing power. The present invention divides computing power resources into different regions and different system architectures for clustered management, and provides an architectural solution for computing power integration through a computing power control plane built by a computing power cluster and a core cluster, which significantly improves the utilization efficiency of computing resources within the enterprise, and saves the migration cost of existing data assets between computer rooms and cloud services, while making it easier for emerging architecture resources to be popularized and accessed in enterprises.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing technology, and in particular to a method, system, electronic device and storage medium for scheduling cross-cloud heterogeneous computing resources. Background Art

[0002] In the era of big data, especially with the growing demand for big data models, the demand for computing resources (hereinafter collectively referred to as "computing power") used for large-scale data analysis and model training scenarios has become a major problem that all types of enterprises (government enterprises, schools, and other units) need to face. These computing resources are usually physical machines or virtual machines provided by various offline IDC (Internet Data Center) computer rooms, private clouds, and public clouds (Alibaba Cloud, Tencent Cloud, etc.) suppliers. These machines are usually different architectures such as X86 and ARM.

[0003] The internal computing power of an enterprise usually does not exist in a single large cluster. It usually cooperates with multiple cloud service providers, and there are cases where self-built computer rooms and cloud resources coexist. There are also cases where self-built computer rooms are built in different locations. It is also normal to gradually purchase heterogeneous clusters from different suppliers as the company develops. Therefore, more effective resource integration methods are needed to cope with the growing demand for computing power. Summary of the invention

[0004] The present invention provides a cross-cloud heterogeneous computing resource scheduling method, system, electronic device and storage medium, aiming to solve the problems existing in the prior art.

[0005] The purpose of the present invention is achieved by the following technical solutions:

[0006] In a first aspect, the present invention provides a method for scheduling cross-cloud heterogeneous computing resources, comprising:

[0007] Integrate computing resource nodes with the same system architecture in different regions and build multiple heterogeneous container clusters to form a computing cluster;

[0008] Determine a core cluster from the plurality of heterogeneous container clusters;

[0009] Connecting the core cluster to the plurality of heterogeneous container clusters for communication;

[0010] The core cluster is connected to the computing power control interface of each heterogeneous container cluster, and a computing power control plane is established to achieve unified scheduling and management of all cross-cloud heterogeneous computing power.

[0011] According to a cross-cloud heterogeneous computing resource scheduling method provided by the present invention, the step of determining a core cluster from a plurality of heterogeneous container clusters includes:

[0012] At least one container cluster having a stable node pool is selected from the plurality of heterogeneous container clusters, and a container cluster having the smallest resource specification is selected as a core cluster according to the resource specifications of the container clusters.

[0013] According to a cross-cloud heterogeneous computing resource scheduling method provided by the present invention, the core cluster includes a machine learning platform and a core cluster master control unit;

[0014] The machine learning platform is deployed with microservices and data middleware, and the machine learning platform is used to create machine learning tasks according to user needs;

[0015] The core cluster master control unit is used to connect with each of the heterogeneous container clusters, and to schedule tasks for the heterogeneous container clusters according to the task scheduling requirements of the machine learning tasks and to execute the machine learning tasks in the called heterogeneous container clusters.

[0016] According to a cross-cloud heterogeneous computing resource scheduling method provided by the present invention, each of the heterogeneous container clusters includes: a computing control unit and a storage control unit, and the computing control unit and the storage control unit are configured using a computing and storage separation architecture;

[0017] The computing power control unit is used to encapsulate the computing power management capability of the heterogeneous container cluster into the computing power control interface for the core cluster to call;

[0018] The storage control unit is used to connect to the data middleware of the machine learning platform and manage data access to the computing cluster.

[0019] According to a cross-cloud heterogeneous computing resource scheduling method provided by the present invention, the core cluster master control unit performs task scheduling on the heterogeneous container cluster according to the task scheduling requirements of the machine learning task, including:

[0020] The core cluster master control unit integrates the Kubernetes API Server of the heterogeneous container cluster to encapsulate label metadata for describing the heterogeneous container cluster;

[0021] The core cluster master control unit monitors the node status and resource status of the connected heterogeneous container cluster in real time and continuously;

[0022] In response to the task scheduling requirements of the machine learning platform, the core cluster master control unit performs task scheduling according to the resource specification tags, current idle resource conditions and task queuing conditions of the heterogeneous container cluster.

[0023] A cross-cloud heterogeneous computing resource scheduling method provided according to the present invention also includes: providing a domain name service corresponding to the machine learning platform, obtaining the API access request and / or model service API access request of the machine learning platform sent by the browser, and establishing a connection to the machine learning platform through resolution of the domain name service.

[0024] According to a cross-cloud heterogeneous computing resource scheduling method provided by the present invention, after the step of building multiple heterogeneous container clusters, the method further includes:

[0025] A node label mechanism is used to perform cluster labeling on each of the heterogeneous container clusters and to perform node labeling on the computing power resource nodes in each of the heterogeneous container clusters.

[0026] In a second aspect, the present invention provides a cross-cloud heterogeneous computing resource scheduling system, comprising:

[0027] A core cluster and multiple computing power clusters, wherein the core cluster is communicatively connected with the multiple computing power clusters, and the core cluster is connected to the computing power control interface of each computing power cluster;

[0028] The core cluster is provided with a computing power control plane to monitor the node status and resource status of the connected computing power cluster in real time and continuously, and to perform task scheduling on the computing power cluster in response to the task scheduling requirements of the machine learning tasks;

[0029] Each of the computing power clusters includes a computing power control unit and a storage control unit that are arranged in a computing and storage separation architecture;

[0030] The computing power control unit is used to encapsulate the computing power management capability of the heterogeneous container cluster into the computing power control interface for the core cluster to call;

[0031] The storage control unit is used to connect to the data middleware of the machine learning platform and manage data access to the computing cluster.

[0032] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the cross-cloud heterogeneous computing resource scheduling method as described in any one of the above are implemented.

[0033] In a fourth aspect, the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the cross-cloud heterogeneous computing resource scheduling method as described in any one of the above are implemented.

[0034] The present invention provides a cross-cloud heterogeneous computing power resource scheduling method, system, electronic device and storage medium, which integrates computing power resource nodes with the same system architecture in various regions, builds multiple heterogeneous container clusters to form a computing power cluster; determines a core cluster from multiple heterogeneous container clusters; communicates and connects the core cluster with multiple heterogeneous container clusters; connects the core cluster to the computing power control interface of each heterogeneous container cluster, and establishes a computing power control plane to achieve unified scheduling and management of full cross-cloud heterogeneous computing power. The present invention divides computing power resources into different regions and different system architectures for clustered management, and provides an architecture solution for computing power integration through a computing power control plane built by a computing power cluster and a core cluster, which has the following beneficial effects: First, it significantly improves the utilization efficiency of computing resources within the enterprise; second, it significantly improves the flexibility of the enterprise in resource procurement and supplier management, and saves a large amount of migration costs of existing data assets between computer rooms and cloud services; third, through the abstract integration support of heterogeneous computing power, it makes it easier for emerging architecture resources such as domestic CPUs to be popularized and accessed in enterprises. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other implementation methods can be obtained based on these drawings without paying any creative work.

[0036] Figure 1 It is a flowchart of a method for scheduling cross-cloud heterogeneous computing resources provided by an embodiment of the present invention;

[0037] Figure 2 is a schematic diagram of a core cluster provided by an embodiment of the present invention;

[0038] Figure 3 is a schematic diagram of a computing power cluster provided by an embodiment of the present invention;

[0039] Figure 4 It is an overall architecture diagram of the cross-cloud heterogeneous computing resource scheduling system provided by an embodiment of the present invention;

[0040] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0041] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows.

[0042] It should be noted that it is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in the present invention can be combined with other embodiments without conflict. Unless otherwise defined, the technical terms or scientific terms involved in the present invention should be the usual meanings understood by people with ordinary skills in the technical field to which the present invention belongs. The words "one", "a", "a", "the" and the like involved in the present invention do not indicate a quantitative limitation and may represent the singular or plural. The terms "including", "comprising", "having" and any of their variations involved in the present invention are intended to cover non-exclusive inclusions; the terms "first", "second", "third", etc. involved in the present invention are merely to distinguish similar objects and do not represent a specific ordering of objects.

[0043] When it comes to method steps, the sequence illustrated in this document represents an exemplary solution, but does not mean a limitation on the sequence.

[0044] In traditional machine learning work, users often need to maintain high-specification machines or clusters for training, and copy and access various required data by themselves. In actual work, due to problems such as resource architecture, resource specifications, accessed data, or resource coordination within the team, machines may be recycled and shared by multiple people, causing management inconvenience.

[0045] In the production work of machine learning scenarios in various enterprises and institutions, it is a common and important task to integrate a large number of computing resources that are maintained in a decentralized manner and provided by different suppliers. Machine learning platforms usually need to integrate such computing resources for platform users to call. These computing resources may be scattered in the company's public cloud, private cloud, and IDC (Internet Data Center) computer rooms; computing resources are organized in various ways such as scattered machines or container clusters, and the system architecture of each node may also be X86, ARM, etc.

[0046] Currently, the mainstream architecture designs and tools for cluster construction and management on the market cannot effectively meet the computing power integration needs of the above situation, which has caused major drawbacks in the resource utilization of enterprises and research institutions.

[0047] Therefore, in heavy computing scenarios such as machine learning, there is an urgent need for an effective cross-cloud, cross-computer room and heterogeneous computing resource integration and scheduling mechanism to ensure the resource utilization efficiency of complex teams in collaborative production work. Based on this, the present invention provides a cross-cloud heterogeneous computing resource scheduling method, system, electronic device and storage medium.

[0048] Embodiment 1

[0049] Reference Figure 1As shown, an embodiment of the present invention provides a method for scheduling cross-cloud heterogeneous computing resources, including:

[0050] Step S1: Integrate computing resource nodes with the same system architecture in various regions and build multiple heterogeneous container clusters to form a computing cluster;

[0051] In this step, the computing power resource nodes may include physical machines or virtual machines provided by suppliers of various offline computer rooms (IDC), private clouds, and public clouds (such as Alibaba Cloud OSS, Tencent Cloud COS, Amazon Cloud AWS, etc.). The system architecture of the computing power resource nodes includes X86, ARM, RISC, etc. It is necessary to integrate the computing power resource nodes in various places according to different suppliers, the regions where the computing power resource nodes are located, and the system architecture of the computing power resource nodes, and use cluster deployment tools such as sealer or kubeadm to integrate the computing power resource nodes with the same system architecture in various regions, build various heterogeneous Kubernetes container clusters, and use the Kubernetes container cluster as a computing power cluster. For example, use a Python script to read the description files of each computing power resource node, and generate the required shell scripts and Kubernetes description files, and send these files to each host through the SSH server for execution, and the deployment of the Kubernetes container cluster can be completed.

[0052] As an example, after step S1, the method may further include: using a node label mechanism to perform cluster labeling on each heterogeneous container cluster and performing node labeling on computing resource nodes in each heterogeneous container cluster.

[0053] Specifically, after building various heterogeneous Kubernetes container clusters, the node label mechanism is used to perform cluster labeling on each heterogeneous container cluster. The added label metadata includes the resource specifications and node status of the Kubernetes container cluster. The computing resource nodes in each heterogeneous container cluster are labeled, and the added label metadata includes node configuration tasks and node computing capabilities. The core cluster can monitor the node status and resource status of each connected computing cluster according to the label metadata of the container cluster and the node, and then obtain the resource utilization rate of the computing cluster, so as to facilitate the subsequent computing power identification and computing power scheduling of the computing cluster in response to the learning tasks of the machine learning platform, so as to achieve the purpose of fine-grained scheduling of computing power clusters with specified architectures and computing tasks, so that the computing power resources of each node can be fully utilized.

[0054] Step S2: Determine a core cluster from multiple heterogeneous container clusters, specifically including:

[0055] At least one container cluster with a stable node pool is selected from multiple heterogeneous container clusters, and a container cluster with the smallest resource specification is selected as a core cluster according to the resource specifications of the container clusters.

[0056] Specifically, the core cluster integrates the user portal of the machine learning platform, which is used to manage the computing cluster and schedule machine learning tasks. According to the functions of the core cluster, select at least one container cluster with a stable node pool, and try to avoid using container clusters with unstable node pools such as elastic scaling or bidding instances (Spot instances). Because the core cluster does not directly schedule or carry the user's specific computing tasks, the container cluster with the smallest resource specifications is selected as the core cluster from the selected container clusters that meet the platform deployment requirements to avoid waste of container cluster resources.

[0057] In addition to determining the core cluster from multiple heterogeneous container clusters, you can also build a core cluster separately. You can also choose a container cluster with a stable node pool and lower resource specifications as the core cluster.

[0058] In this embodiment, the core cluster includes a machine learning platform and a core cluster master control unit;

[0059] The machine learning platform is deployed with microservices and data middleware. The machine learning platform is used to create machine learning tasks based on user needs.

[0060] The core cluster master control unit is used to connect with various heterogeneous container clusters, schedule tasks for heterogeneous container clusters according to the task scheduling requirements of machine learning tasks, and execute machine learning tasks in the called heterogeneous container clusters.

[0061] Specifically, the microservices deployed by the machine learning platform are mainly used for the startup and operation of various services of the machine learning platform. The deployed data middleware may include database middleware (such as MongoDB, PostgreSQL, etc.), object storage middleware (such as OSS, COS, AWS, etc.) and message middleware (message queues, etc.).

[0062] The machine learning platform is used to carry the project code, data set management, and computing resource scheduling and orchestration of tasks used by users for machine learning model development. When users perform machine learning work on the machine learning platform, they can configure it according to the resource specifications required for machine learning training, such as an 8-core CPU processor, 32GB memory, 1T storage, and a GPU graphics processor with 2GB video memory.

[0063] In this embodiment, the method also includes: providing a domain name service corresponding to the machine learning platform, obtaining the API access request and / or model service API access request of the machine learning platform sent by the browser, and establishing a connection to the machine learning platform through resolution of the domain name service.

[0064] Specifically, when users access the machine learning platform via a browser to orchestrate and run machine learning tasks, they only need to specify the required computing resource specifications. The machine learning platform will automatically schedule resources and access data, providing users with an out-of-the-box research and training environment, thereby improving the training efficiency of the model.

[0065] like Figure 2 As shown, the core cluster controller-manager is used to connect with the computing power control unit interface of each heterogeneous container cluster, and establish a computing power control plane, which is integrated and encapsulated into an overall scheduling capability access platform through internal logic. Specifically, the core cluster controller-manager integrates the Kubernetes APIServer of the connected heterogeneous container cluster, and encapsulates the label metadata used to describe the heterogeneous container cluster; the core cluster controller-manager monitors the node status and resource status of the connected heterogeneous container cluster in real time and uninterruptedly; in response to the task scheduling requirements of the machine learning platform, the core cluster controller-manager performs task scheduling according to the resource specification labels, current idle resource status and task queuing status of the heterogeneous container cluster, and executes the machine learning task in the called heterogeneous container cluster. The Kubernetes APIServer it connects to provides the REST API of the Kubernetes cluster, implements security verification functions such as authentication, authorization, and access control, and is also responsible for the storage operation of the cluster status.

[0066] In this embodiment, each heterogeneous container cluster includes: a computing power control unit and a storage control unit, and the computing power control unit and the storage control unit are configured using a computing and storage separation architecture;

[0067] The computing power control unit is used to encapsulate the computing power management capabilities of the heterogeneous container cluster into a computing power control interface for the core cluster to call;

[0068] The storage control unit is used to connect to the data middleware of the machine learning platform and manage data access to the computing cluster.

[0069] Specifically, Figure 3As shown, there are corresponding system services in each computing power cluster, among which the core system services are the computing power control unit (controller-manager) and the storage control unit (storage-manager). The computing power control unit and the storage control unit are set up with an architecture that separates computing and storage. Among them, the computing power control unit is used to manage the permissions, network communications, container scheduling, container life cycle, etc. of the computing power cluster to which it belongs, and to encapsulate the corresponding management capabilities into a computing power control interface for the core cluster master control unit to call. Depending on the cluster architecture and the service interface provided by the supplier, the computing power control unit will have different adaptation implementation methods.

[0070] The storage control unit is used to connect to the data middleware, model training tasks, and model service containers deployed in the machine learning platform, and manage the data access between the computing cluster where it is located and multiple data sites. The data types it accesses include file storage NAS, object storage OSS, data sets, and databases, etc., which are used to save the data required by users to perform machine learning training tasks on the machine learning platform. Through the storage control unit, users can access the data assets on the platform in any computing cluster, and the work results of users in any computing cluster can be stored and used in other computing clusters, so as to achieve the architectural characteristics of storage and computing separation.

[0071] Among them, the data middleware related to the accessed data site can be deployed inside or outside the core cluster. The machine learning platform manages the data source access methods of various data middleware and the authentication credentials of the data site, and distributes permissions for user-level data access on the application side. When the user's computing container is successfully scheduled to a computing cluster, when the container is started, the storage control unit of the computing cluster will access the machine learning platform for data access authentication verification. After the authentication verification is passed, the permission information will be injected in the form of environment variables (for various databases, object storage, etc.) or combined with the Kubernetes CSI storage plug-in for file storage and block storage mounting.

[0072] Therefore, the solution of separating computing and storage of computing clusters and realizing stateless computing architecture provides further abstraction and integration of overall computing power. This solution decouples computing power from storage, supports cross-cloud storage, reduces the complexity of computing cluster management, and also realizes the abstraction of all underlying computing machines in the form of standard container definitions (specifying CPU, memory, storage, and GPU requirements), avoiding the association with actual work output and user perception on the application side due to changes in factors such as suppliers, cloud services, and regions.

[0073] Furthermore, the solution of separating computing and storage of computing power clusters can support the subsequent addition of computing power nodes to any computing power cluster and the addition of new computing power clusters to the platform, and has good horizontal scalability.

[0074] Step S3: The core cluster is connected to multiple heterogeneous container clusters for communication.

[0075] In this step, a connected network needs to be established between the computing cluster and the core cluster, usually in the form of a dedicated line. If there is no dedicated line, communication can be carried out through open ports on the public network.

[0076] Step S4: Connect the core cluster to the computing power control interface of each heterogeneous container cluster and establish a computing power control plane to achieve unified scheduling and management of all cross-cloud heterogeneous computing power.

[0077] In this step, the core system service of the core cluster is the core cluster master control unit, which is used to connect with the computing control interface of the computing control unit of each computing cluster and establish a computing control plane. The core cluster is integrated and encapsulated as the overall scheduling capability access platform through internal logic integration and packaging, and combined with the storage and computing power separation capabilities of the distributed computing cluster, a unified scheduling management mechanism for full-scale cross-cloud heterogeneous computing power is realized as a whole.

[0078] Therefore, the present invention divides computing resource nodes into different regions and different system architectures for clustered management, and provides an architectural solution for computing power integration through a computing power control plane built by a computing power cluster and a core cluster. The beneficial effects brought about are as follows: First, it significantly improves the utilization efficiency of computing resources within the enterprise; second, it significantly improves the flexibility of the enterprise in resource procurement and supplier management, and saves a lot of migration costs of existing data assets between computer rooms and cloud services; third, through the abstract integration support for heterogeneous computing power, emerging architecture resources such as domestically produced CPUs become easier to popularize and access in enterprises.

[0079] Embodiment 2

[0080] Reference Figure 4 As shown, the present invention provides a cross-cloud heterogeneous computing resource scheduling system, including:

[0081] The core cluster and multiple computing power clusters are connected to each other in communication, and the core cluster is connected to the computing power control interface of each computing power cluster.

[0082] The core cluster is equipped with a computing power control plane to monitor the node status and resource status of the connected computing power cluster in real time and continuously, and schedule tasks for the computing power cluster in response to the task scheduling requirements of machine learning tasks;

[0083] Each computing power cluster includes a computing power control unit and a storage control unit that adopt a computing and storage separation architecture;

[0084] The computing power control unit is used to encapsulate the computing power management capabilities of the heterogeneous container cluster into a computing power control interface for the core cluster to call;

[0085] The storage control unit is used to connect to the data middleware of the machine learning platform and manage data access to the computing cluster.

[0086] As an example, each computing power cluster includes multiple computing power application servers and at least one storage unit. Each computing power cluster is interconnected through an API interface, so that the user's work results in any computing power cluster can be stored and used in other computing power clusters.

[0087] As an example, the storage unit of each computing cluster has data access to multiple data sites, and the data types accessed include file storage NAS, object storage OSS, data sets, and databases.

[0088] As an example, a core cluster includes multiple core servers, in which data middleware of databases (such as MongoDB, PostgreSQL, etc.), object storage platforms (such as OSS, COS, AWS, etc.) are deployed in the core cluster.

[0089] As an example, a machine learning platform is built in the core cluster, a domain name service corresponding to the machine learning platform is provided, the machine learning platform API access request and / or model service API access request sent by the browser is obtained, and a connection to the machine learning platform is established through the resolution of the domain name service. When users use a browser to access the machine learning platform to orchestrate and run machine learning tasks, they only need to specify the required computing resource specifications. The machine learning platform will automatically schedule resources and access data, providing users with an out-of-the-box research and training environment, which improves the training efficiency of the model.

[0090] As an example, a connected network needs to be established between the core cluster and the computing power cluster, which is usually built in the form of a dedicated line. If there is no dedicated line condition, communication can be carried out through open ports on the public network.

[0091] At present, the cross-cloud heterogeneous computing power resource scheduling system provided by the present invention has been applied to the data mining and analysis platform of a local meteorological bureau, supporting the integration of the X86 core cluster and ARM computing power resources of the project. Among them, the X86 core cluster is a self-sustaining internal computing power resource, and the ARM computer room is a heterogeneous computer room in a different location provided by a third-party supplier. The two clusters build internal network communication through a dedicated line. Based on the implementation of the present invention, the data mining and analysis platform integrates a large number of ARM computing power resources in different locations into the analysis platform deployed by the local X86 cluster. At present, the platform has supported hundreds of users to use computing power at the same time, and users can freely use the computing power resources of the two architectures for daily work.

[0092] Another application case of the cross-cloud heterogeneous computing resource scheduling system is an international data mining platform project, which supports the cross-border multi-regional cluster deployment and resource integration of the public cloud of the project. The core cluster of the project is deployed in the Hong Kong regional container service provided by a cloud computing provider. Subsequently, it has been connected to the private clouds of various institutions in Europe, North America and the Middle East through dedicated lines, and the local cloud computing clusters provided by cloud computing providers, successfully realizing the unified integration and scheduling capabilities of distributed computing power across continents. At present, with the successful implementation of this invention, with the integration and co-construction of computing resources in various places, the platform has supported a large number of scientific researchers from dozens of universities and institutions around the world to collaborate on cloud data analysis.

[0093] The cross-cloud heterogeneous computing power resource scheduling device provided by the present invention is described below. The cross-cloud heterogeneous computing power resource scheduling device described below and the cross-cloud heterogeneous computing power resource scheduling method described above can be referenced to each other.

[0094] Embodiment 3

[0095] Reference Figure 5 As shown, this embodiment provides an electronic device, the electronic device includes: a processor

[0096] (processor) 310, communication interface (Communications Interface) 320, memory (memory) 330 and communication bus 340, wherein the processor 310, communication interface 320, and memory 330 communicate with each other through the communication bus 340. The processor 310 can call the logic instructions in the memory 330, and the processor 310 executes the cross-cloud heterogeneous computing resource scheduling method provided by the above method embodiment, and the method includes:

[0097] Integrate computing resource nodes with the same system architecture in different regions and build multiple heterogeneous container clusters to form a computing cluster;

[0098] Determine the core cluster from multiple heterogeneous container clusters;

[0099] Connect the core cluster to multiple heterogeneous container clusters;

[0100] Connect the core cluster to the computing power control interface of each heterogeneous container cluster and establish a computing power control plane to achieve unified scheduling and management of all cross-cloud heterogeneous computing power.

[0101] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0102] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the cross-cloud heterogeneous computing resource scheduling method provided in the method embodiment, the method including:

[0103] Integrate computing resource nodes with the same system architecture in different regions and build multiple heterogeneous container clusters to form a computing cluster;

[0104] Determine the core cluster from multiple heterogeneous container clusters;

[0105] Connect the core cluster to multiple heterogeneous container clusters;

[0106] Connect the core cluster to the computing power control interface of each heterogeneous container cluster and establish a computing power control plane to achieve unified scheduling and management of all cross-cloud heterogeneous computing power.

[0107] Embodiment 4

[0108] This embodiment provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the cross-cloud heterogeneous computing resource scheduling method provided by the above method embodiment is implemented. The method includes:

[0109] Integrate computing resource nodes with the same system architecture in different regions and build multiple heterogeneous container clusters to form a computing cluster;

[0110] Determine the core cluster from multiple heterogeneous container clusters;

[0111] Connect the core cluster to multiple heterogeneous container clusters;

[0112] Connect the core cluster to the computing power control interface of each heterogeneous container cluster and establish a computing power control plane to achieve unified scheduling and management of all cross-cloud heterogeneous computing power.

[0113] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0114] The devices and media provided in the embodiments of the present invention correspond one-to-one to the methods, and therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0115] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0116] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A method for scheduling cross-cloud heterogeneous computing resources, characterized in that: include: Integrate computing resource nodes with the same system architecture in different regions and build multiple heterogeneous container clusters to form a computing cluster; Determine a core cluster from the plurality of heterogeneous container clusters; Connecting the core cluster to the plurality of heterogeneous container clusters for communication; Connect the core cluster to the computing power control interface of each heterogeneous container cluster and establish a computing power control plane to achieve unified scheduling and management of all cross-cloud heterogeneous computing power; The core cluster includes a machine learning platform and a core cluster master control unit; The machine learning platform is deployed with microservices and data middleware, and the machine learning platform is used to create machine learning tasks according to user needs; The core cluster master control unit is used to connect with each of the heterogeneous container clusters, and to schedule tasks for the heterogeneous container clusters according to the task scheduling requirements of the machine learning tasks and to execute the machine learning tasks in the called heterogeneous container clusters; The core cluster master control unit performs task scheduling on the heterogeneous container cluster according to the task scheduling requirements of the machine learning task, including: The core cluster master control unit integrates the Kubernetes API Server of the heterogeneous container cluster to encapsulate label metadata for describing the heterogeneous container cluster; The core cluster master control unit monitors the node status and resource status of the connected heterogeneous container cluster in real time and continuously; In response to the task scheduling requirements of the machine learning platform, the core cluster master control unit performs task scheduling according to the resource specification tags, current idle resource conditions and task queuing conditions of the heterogeneous container cluster.

2. The cross-cloud heterogeneous computing resource scheduling method according to claim 1 is characterized in that: The step of determining a core cluster from the plurality of heterogeneous container clusters includes: At least one container cluster having a stable node pool is selected from the plurality of heterogeneous container clusters, and a container cluster having the smallest resource specification is selected as a core cluster according to the resource specifications of the container clusters.

3. The cross-cloud heterogeneous computing resource scheduling method according to claim 1 is characterized in that: Each of the heterogeneous container clusters includes: a computing power control unit and a storage control unit, wherein the computing power control unit and the storage control unit are configured using a computing and storage separation architecture; The computing power control unit is used to encapsulate the computing power management capability of the heterogeneous container cluster into the computing power control interface for the core cluster to call; The storage control unit is used to connect to the data middleware of the machine learning platform and manage data access to the computing cluster.

4. The cross-cloud heterogeneous computing resource scheduling method according to claim 1 is characterized in that: Also includes: Provide a domain name service corresponding to the machine learning platform, obtain the API access request and / or model service API access request of the machine learning platform sent by the browser, and establish a connection to the machine learning platform through resolution of the domain name service.

5. The cross-cloud heterogeneous computing resource scheduling method according to claim 1 is characterized in that: After the steps of building multiple heterogeneous container clusters, it also includes: A node label mechanism is used to perform cluster labeling on each of the heterogeneous container clusters and to perform node labeling on the computing power resource nodes in each of the heterogeneous container clusters.

6. A cross-cloud heterogeneous computing resource scheduling system, implementing the cross-cloud heterogeneous computing resource scheduling method as described in any one of claims 1 to 5, characterized in that: include: A core cluster and multiple computing power clusters, wherein the core cluster is communicatively connected with the multiple computing power clusters, and the core cluster is connected to the computing power control interface of each computing power cluster; The core cluster is provided with a computing power control plane to monitor the node status and resource status of the connected computing power cluster in real time and continuously, and to perform task scheduling on the computing power cluster in response to the task scheduling requirements of the machine learning tasks; Each of the computing power clusters includes a computing power control unit and a storage control unit that are arranged in a computing and storage separation architecture; The computing power control unit is used to encapsulate the computing power management capability of the heterogeneous container cluster into the computing power control interface for the core cluster to call; The storage control unit is used to connect to the data middleware of the machine learning platform and manage data access to the computing cluster.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the cross-cloud heterogeneous computing resource scheduling method as described in any one of claims 1-5 are implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the cross-cloud heterogeneous computing resource scheduling method as described in any one of claims 1 to 5 are implemented.