Heterogeneous computing power collaborative adaptation method based on distributed pooled computing power

By collecting and predicting basic data from heterogeneous computing power platforms, and combining scene tags and coordination and scheduling models, the problems of imprecise description of heterogeneous computing power resources and delayed scheduling response in existing technologies have been solved, achieving efficient scheduling of heterogeneous computing power resources and business stability.

CN121636199BActive Publication Date: 2026-05-08QUANZHOU SHIYINGSHI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
QUANZHOU SHIYINGSHI TECH CO LTD
Filing Date
2026-02-04
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing distributed parallel computing frameworks suffer from several problems in adapting to heterogeneous computing power: the resource description model lacks refined representation capabilities, the resource allocation strategy lacks dynamic adjustment mechanisms, and the scheduling system cannot capture dynamic fluctuations in computing power demand in real time. These issues result in low task execution efficiency, low resource utilization, and poor business stability.

Method used

By collecting basic datasets from heterogeneous computing power platforms, standardizing them, and then inputting them into a pre-trained computing power prediction model, the computing power demand trend is predicted. In addition, demand priorities are set by combining scenario labels, and scheduling decisions are generated using a coordination and scheduling model to dynamically allocate computing power resources.

Benefits of technology

It achieves precise matching and efficient utilization of heterogeneous computing power, improves the overall utilization rate of resources, shortens the scheduling response delay, adapts to sudden computing power demands, and improves task execution efficiency and business stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121636199B_ABST
    Figure CN121636199B_ABST
Patent Text Reader

Abstract

The application discloses a heterogeneous computing power cooperative adaptation method based on distributed pooled computing power, and relates to the technical field of heterogeneous computing power resource scheduling; basic data sets are collected from a computing power heterogeneous platform, time sequence characteristic sets and scene characteristic sets are obtained through standardization processing; relying on a computing power prediction model composed of a basic time sequence prediction layer, a scene characteristic enhancement layer and an output fusion layer, the computing power demand trend of each heterogeneous cluster is accurately predicted; the demand priority is set in combination with the computing power growth rate threshold and the scene label; then, a scheduling decision is generated through a coordination scheduling model, and the resource allocation is optimized with the aid of a dynamic adaptive adjustment mechanism; the application realizes fine representation of heterogeneous computing power and accurate matching of tasks, breaks the rigid limitations of the adaptation strategy of traditional schemes, effectively improves the accuracy of heterogeneous computing power adaptation and the comprehensive utilization rate of resources, significantly reduces the performance fluctuation of core businesses, and achieves the dynamic balance of efficient resource utilization and stable business operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of heterogeneous computing power resource scheduling technology, specifically a heterogeneous computing power collaborative adaptation method based on distributed pooled computing power. Background Technology

[0002] Against the backdrop of digital economic development driven by both cloud-native and AI-native technologies, distributed pooled computing power has become a core technology model supporting high computing power demands in complex scenarios. It aggregates heterogeneous computing hardware such as CPUs, GPUs, and NPUs distributed across different physical locations and belonging to different entities through network technology, forming a logically unified computing resource pool to achieve on-demand allocation and collaborative utilization of computing resources. Currently, existing heterogeneous computing power adaptation solutions mainly include three categories: open-source adaptation solutions based on container orchestration, cross-platform computing power integration frameworks, and distributed parallel computing frameworks. Among them, distributed parallel computing frameworks, by splitting complex tasks into sub-tasks and distributing them to different heterogeneous computing platforms for parallel execution, combined with a unified task scheduling and data synchronization mechanism, have achieved preliminary integration and utilization of computing resources in scenarios such as big data analysis and AI computing, and are one of the core technology solutions in the field of distributed pooled computing power.

[0003] Existing distributed parallel computing frameworks, limited by their technical architecture design and adaptation logic, still suffer from significant technical defects. On the one hand, their resource description models mostly focus on the basic parameters of traditional computing units, lacking the ability to finely characterize the performance characteristics of heterogeneous hardware. Furthermore, their resource allocation strategies and concurrency control logic are mostly statically configured, lacking dynamic adjustment mechanisms. This results in a lack of heterogeneous computing power collaboration and adaptation capabilities, making it impossible to achieve precise matching between task characteristics and hardware capabilities, and hindering the improvement of resource utilization. On the other hand, the scheduling system relies on static topology models and periodic load sampling mechanisms. The sampling period is long, making it impossible to capture the dynamic fluctuations in computing power demand and the instantaneous changes in the state of the resource pool in real time. Moreover, the scheduling model lacks the ability to adapt to task types and business scenarios, and its cross-node and cross-cluster load balancing adjustment capabilities are weak. This leads to a lag in dynamic scheduling response, making it difficult to adapt to sudden computing power demands and cross-domain collaborative scenarios, which seriously affects task execution efficiency and business operation stability.

[0004] To address the aforementioned technical problems, this invention provides a heterogeneous computing power collaborative adaptation method based on distributed pooling computing power. Summary of the Invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a heterogeneous computing power collaborative adaptation method based on distributed pooling computing power.

[0006] To achieve the above objectives, a first aspect of the present invention provides a heterogeneous computing power collaborative adaptation method based on distributed pooled computing power, comprising:

[0007] Basic datasets are collected from heterogeneous computing power platforms, and the basic datasets are standardized to obtain feature datasets. The basic datasets are used to analyze the performance of heterogeneous computing power platforms, while the feature datasets include time-series feature sets and scenario feature sets.

[0008] The feature dataset is input into a pre-trained computing power prediction model to predict computing power demand trends; demand priorities are set based on computing power demand trends and scenario labels; where scenario labels are extracted from the basic dataset.

[0009] Based on computing power demand trends, basic datasets, demand priorities, and a pre-trained coordination and scheduling model, scheduling decisions are generated; and computing power resources of heterogeneous computing power platforms are scheduled according to the scheduling decisions.

[0010] In one possible implementation, a basic dataset is collected from a heterogeneous computing platform, including:

[0011] Set the sampling frequency; the sampling frequency can be set separately according to different data types;

[0012] Basic datasets are collected from heterogeneous computing platforms according to the sampling frequency; the basic datasets include resource status data, task status data, and network link data.

[0013] In one possible implementation, the standardization process includes normalization, one-hot encoding, and sliding window statistics.

[0014] In one possible implementation, the platform architecture of a heterogeneous computing platform includes a computing resource pool;

[0015] The computing power resource pool consists of several heterogeneous clusters; the heterogeneous clusters are built from computing power nodes of the same type; the computing power nodes include CPU nodes, GPU nodes and NPU nodes.

[0016] In one possible implementation, the trend of computing power demand is predicted, including:

[0017] The computing power prediction model is invoked; the computing power prediction model is constructed based on the LSTM model and the gradient boosting tree model.

[0018] The feature dataset is input into the computing power prediction model to predict the computing power demand trend of the heterogeneous computing power platform; the computing power demand trend includes the computing power demand of each heterogeneous cluster.

[0019] In one possible implementation, the computing power prediction model includes a basic time-series prediction layer, a scene feature enhancement layer, and an output fusion layer;

[0020] The basic time series prediction layer is built on an LSTM model to predict computing power demand trends; the scene feature enhancement layer is built on a gradient boosting tree model to correct computing power demand trends.

[0021] The output fusion layer is used to fuse the outputs of the basic time series prediction layer and the scene feature enhancement layer according to the fusion weight coefficient to obtain the computing power demand trend.

[0022] In one possible implementation, demand priorities are set based on computing power demand trends and scenario tags, including:

[0023] Set a threshold for the computing power growth rate;

[0024] The computing power growth rate threshold is used to match the computing power demand trend with the demand priority; when the demand priority and the scenario label are inconsistent, the scenario label is used to set the demand priority.

[0025] In one possible implementation, scheduling decisions are generated based on computing power demand trends, basic datasets, demand priorities, and a pre-trained coordination and scheduling model, including:

[0026] Invoke the coordination and scheduling model; the coordination and scheduling model is built based on the DDPG algorithm;

[0027] A state space is constructed based on computing power demand trends, basic datasets, and demand priorities. The state space is then input into the coordination and scheduling model to obtain action combinations.

[0028] The action combination is validated against constraints to generate a scheduling decision; the scheduling decision includes path allocation, node selection, and task fragmentation ratio.

[0029] In one possible implementation, the coordination and scheduling model includes an input layer, a state coding layer, a core decision layer, and a decision output layer. The core decision layer makes decisions using MDP and DDPG algorithms.

[0030] In one possible implementation, the computing resources of a heterogeneous computing platform are scheduled according to scheduling decisions, including:

[0031] Send scheduling decisions to heterogeneous computing power platforms;

[0032] The heterogeneous computing platform generates node task instructions based on scheduling decisions and selects computing nodes as target nodes according to task allocation strategies; among which, task allocation strategies include proximity principle or load balancing.

[0033] The node task instruction is sent to the target node, and the target node starts the task execution.

[0034] Compared with the prior art, the beneficial effects of the present invention are:

[0035] 1. This invention collects basic datasets from heterogeneous computing power platforms, and obtains time-series feature sets and scene feature sets through standardization processing; relying on a computing power prediction model composed of a basic time-series prediction layer, a scene feature enhancement layer, and an output fusion layer, it accurately predicts the computing power demand trends of each heterogeneous cluster; it sets demand priorities by combining computing power growth rate thresholds and scene labels; and it generates scheduling decisions through a coordination and scheduling model, while optimizing resource allocation through a dynamic adaptation and adjustment mechanism; this invention achieves refined characterization of heterogeneous computing power and accurate task matching, breaking the limitations of rigid adaptation strategies in traditional solutions, effectively improving the accuracy of heterogeneous computing power adaptation and the overall utilization rate of resources, while significantly reducing the performance fluctuation of core businesses, achieving a dynamic balance between efficient resource utilization and stable business operation.

[0036] 2. This invention utilizes a computing power prediction model that integrates LSTM and gradient boosting tree models to predict computing power demand trends in advance and prioritize demands based on scenario labels. A state space is constructed based on computing power demand trends, demand priorities, and a basic dataset. A coordination scheduling model outputs the action combinations corresponding to the state space, and scheduling decisions are generated after constraint verification. Computing power resources are scheduled using proximity principles or load balancing task allocation strategies. This invention breaks free from the constraints of traditional static scheduling models, achieving advance prediction and real-time response to computing power demands. It significantly shortens scheduling response latency, effectively reduces node load differences, improves scheduling efficiency and load balancing, successfully adapts to sudden computing power demands and cross-domain collaborative scenarios, and promotes the transformation of distributed scheduling technology from passive response to proactive prediction-driven approaches. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 This is a schematic diagram of the method flow for the heterogeneous computing power collaborative adaptation method based on distributed pooling computing power in this invention. Detailed Implementation

[0039] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0040] Distributed pooled computing power, driven by both cloud-native and AI-native technologies in the digital economy, aggregates computing resources from heterogeneous hardware such as CPUs, GPUs, NPUs, and DPUs across different physical locations and ownership entities using network technology. This forms a logically unified and flexibly schedulable pool of computing resources. Based on a unified management and scheduling system, it enables on-demand allocation, collaborative operation, and efficient utilization of computing resources. Its core is breaking down the physical isolation and ownership barriers of computing resources, transforming dispersed computing power into a core production factor that can be scalably scheduled and used intensively, supporting the high computing power demands of complex scenarios such as AI large-scale model training, big data analysis, video processing, and intelligent recognition.

[0041] Distributed pooled computing power has the following characteristics: 1) Heterogeneity: The computing power resource pool includes various types and architectures of computing hardware, covering traditional CPUs, as well as GPUs with parallel computing advantages, NPUs for AI inference, and DPUs focused on data processing. These different hardware components exhibit significant differences in computing performance, applicable scenarios, and energy consumption; 2) The physical deployment of computing resources is decentralized, potentially distributed across different racks in the same data center, data centers in different cities, or even infrastructure of different cloud service providers, interconnected via network links; 3) Pooling integration: Through software-defined technologies, the distributed... Heterogeneous computing resources are abstracted into a unified logical resource pool, shielding the differences in underlying hardware and the dispersion of physical locations, and providing users with a one-stop computing power call interface; 4) The computing power allocation strategy is adjusted in real time according to the computing power requirements, priorities and resource pool status of business tasks, realizing the dynamic flow of computing power between different tasks and different scenarios, and improving resource utilization; 5) Heterogeneous computing power in the resource pool can work together according to task characteristics. For example, the CPU is responsible for logic control and task scheduling, the GPU is responsible for parallel computing intensive tasks, and the NPU is responsible for AI inference tasks. Through collaboration, the diversified computing power requirements of complex tasks can be met.

[0042] Distributed parallel computing frameworks (such as Apache Spark) are one of the core technologies in the field of distributed pooled computing power. Although they have achieved initial integration and efficient utilization of computing resources in scenarios such as big data analysis and AI computing through task decomposition and parallel execution models, they still have significant technical bottlenecks in key aspects such as heterogeneous collaboration, scheduling response, communication efficiency, fault tolerance and recovery, and cross-domain management due to limitations in technical architecture design and adaptation logic. The specific problems are analyzed in detail below:

[0043] 1. Resource description models in distributed parallel computing frameworks often focus on basic parameters of traditional computing units such as CPUs (e.g., number of cores, memory capacity), lacking the ability to fine-tune the performance characteristics of heterogeneous hardware such as GPUs, NPUs, and DPUs. For example, the framework cannot accurately quantify the core differences in parallel computing efficiency, data processing latency, and energy consumption between heterogeneous chips with different architectures (e.g., Ascend 910 and NVIDIA A100) in AI training tasks, only distinguishing hardware based on simple labels such as "whether or not GPU is supported." This leads to an inability to achieve precise matching of "task characteristics - hardware capabilities" during task allocation. For instance, assigning high-parallelism AI inference tasks to CPU clusters or having GPUs, which excel at high-precision computing, perform simple data sorting tasks results in inefficient operation of high-performance computing units and serious resource waste.

[0044] 2. The resource allocation strategies and concurrency control logic of distributed parallel computing frameworks are mostly statically configured, unable to be dynamically adjusted according to real-time hardware status and task characteristics. On the one hand, the framework lacks real-time awareness and adaptive adjustment capabilities for dynamic changes in hardware status (such as a sudden increase in GPU load or excessive NPU temperature), still allocating resources according to the initial configuration, leading to an unbalanced state where some nodes are overloaded and others are idle. On the other hand, when the task type dynamically switches (such as switching from an I / O-intensive data reading task to a computationally sensitive model training task), the framework cannot adjust the resource adaptation strategy in time, still using the original concurrency and resource allocation ratio, resulting in a significant decrease in task execution efficiency. In addition, although some frameworks support resource overselling to improve utilization, the overselling ratio is a fixed value and cannot be dynamically adjusted according to business priority (such as core tasks versus non-core tasks) and hardware load status, which can easily cause fluctuations in the performance of core businesses.

[0045] Please see Figure 1 The first aspect of this invention provides a method for heterogeneous computing power collaborative adaptation based on distributed pooled computing power, comprising: collecting a basic dataset from a heterogeneous computing power platform; standardizing the basic dataset to obtain a feature dataset; wherein the basic dataset is used to analyze the performance of the heterogeneous computing power platform, and the feature dataset includes a time-series feature set and a scene feature set; inputting the feature dataset into a pre-trained computing power prediction model to predict computing power demand trends; setting demand priorities based on computing power demand trends and scene labels; generating scheduling decisions based on computing power demand trends, basic datasets, demand priorities, and a pre-trained coordination and scheduling model; and scheduling the computing power resources of the heterogeneous computing power platform according to the scheduling decisions.

[0046] When scheduling heterogeneous computing resources, the basic dataset of the heterogeneous computing platform can be collected by the real-time sensing module at a set collection frequency. The basic dataset includes the following: 1) Resource status data, which mainly refers to the operating parameters of the heterogeneous computing platform, including load, memory utilization, computing power utilization, temperature, energy consumption, data transmission rate, etc., to accurately characterize hardware performance and its operating status. 2) Task status data, which mainly refers to task parameters, including task type (such as IO-intensive, computing power-sensitive, memory-intensive, etc.), task priority, execution progress, remaining computing power, data size, etc. 3) Network link data, which mainly includes network indicators such as bandwidth utilization, transmission latency, packet loss rate, and link stability in cross-node, cross-cluster, and cross-cloud scenarios, covering key links in cross-domain communication.

[0047] When collecting basic datasets from heterogeneous computing power platforms, the platforms use incremental compression to transmit data to the real-time sensing module. For example, a lightweight private protocol based on UDP is used for data transmission, transmitting only the data that has changed since the last transmission instead of uploading the entire dataset. This avoids duplicate data and improves data collection and transmission efficiency.

[0048] The real-time sensing module and the heterogeneous computing platform engage in bidirectional data interaction and support closed-loop control.

[0049] The heterogeneous computing platform sends the data required for coordinating computing resources to the real-time sensing module, including at least: resource status data, such as computing node operating parameters (load rate, temperature, etc.), cluster resource utilization, and overall resource pool status, providing the sensing module with computing power supply-side data; task status data, such as the task type, priority, execution progress, and remaining computing power on each node / cluster, providing the sensing module with computing power demand-side data; and network status data, such as communication latency, bandwidth utilization, and packet loss rate between nodes, between clusters, and across regions, providing the sensing module with collaborative environment data.

[0050] The real-time perception module sends control commands for coordinating computing resources to the heterogeneous computing platform. It also sends the collected basic dataset to the predictive scheduling module, receives the generated computing resource scheduling decisions, and sends these decisions to the computing resource pool. The resource management component then schedules and coordinates the computing resources according to these decisions.

[0051] The hierarchical architecture of the heterogeneous computing platform consists of a computing resource pool, a heterogeneous cluster, and computing nodes.

[0052] Computing nodes are the core physical carriers of heterogeneous computing platforms. Each computing node is an independent server (including physical machines or cloud hosts) and is classified according to the type of computing hardware it carries. The main types of computing nodes include CPU nodes, GPU nodes, and NPU nodes. CPU nodes are equipped with various types of CPUs such as Intel Xeon, AMD EPYC, and Kunpeng, along with DDR memory and NVMe storage, providing general-purpose computing and collaborative auxiliary computing power. GPU nodes are equipped with GPUs such as NVIDIA A100, along with high-bandwidth video memory and efficient cooling components, providing high-performance parallel computing capabilities. NPU nodes are equipped with NPUs such as Ascend 910.

[0053] The distribution of computing nodes is cross-regional, and they can be deployed in different data centers and interconnected through high-speed networks.

[0054] Heterogeneous clusters integrate computing nodes into independent clusters based on their functions, including CPU clusters, GPU clusters, and NPU clusters. CPU clusters consist of CPU nodes from various data centers and are mainly used for I / O-intensive and collaborative auxiliary tasks; GPU clusters consist of GPU nodes from various data centers and are mainly used for computing power-sensitive tasks; NPU clusters consist of NPU nodes from various data centers and are mainly used for low-power computing scenarios and hybrid heterogeneous collaborative tasks.

[0055] Each heterogeneous cluster achieves unified management of nodes, resource isolation, and task scheduling through containerization technology and resource management components.

[0056] The computing resource pool is constructed by logically abstracting the hardware resources of CPU clusters, GPU clusters, and NPU clusters through resource management components. This abstracts away the differences in underlying hardware and geographical distribution, providing a unified description of resource parameters. These parameters primarily include computing power, memory / GPU memory capacity, and communication bandwidth.

[0057] In one example, a heterogeneous computing platform is executing a task, which is mainly handled by the NPU cluster for large-scale matrix operations, while the CPU cluster is responsible for data I / O and logical control.

[0058] The real-time sensing module sends data acquisition commands to the NPU cluster at a sampling frequency of 10ms, and sends the data acquisition commands through a private lightweight protocol based on UDP.

[0059] In a heterogeneous computing platform, after receiving a data acquisition command, the NPU node reads its hardware status, including resource status data and task status data. The resource status data includes NPU chip temperature, NPU computing power utilization, HBM memory usage, and power consumption. The task status data includes task ID, task type, remaining computational load, and current task progress. Simultaneously, the heterogeneous computing platform collects cluster resource utilization, remaining NPU computing power, remaining CPU computing power, and the network status between the NPU cluster and the CPU cluster, and sends these data to the real-time sensing module.

[0060] In heterogeneous computing platforms, NPU nodes, NPU clusters, CPU clusters, and computing resource pools upload data according to data acquisition commands, employing incremental compression to save bandwidth. Specifically, the current data is compared with the previous data, only the changed data is packaged, and then compressed before being uploaded to the real-time sensing module. Incremental compression is only performed if historical data exists; otherwise, all data must be uploaded.

[0061] The following tasks can be achieved through the prediction scheduling module: inputting the feature dataset into a pre-trained computing power prediction model to predict computing power demand trends; setting demand priorities based on computing power demand trends and scenario labels; generating scheduling decisions based on computing power demand trends, basic datasets, demand priorities, and a pre-trained coordination scheduling model; and scheduling computing power resources of heterogeneous computing power platforms according to the scheduling decisions.

[0062] In a preferred embodiment, predicting the computing power demand trend includes: calling a computing power prediction model; wherein the computing power prediction model is constructed through a pre-trained artificial intelligence model; and inputting a feature dataset into the computing power prediction model to predict the computing power demand trend of the heterogeneous computing power platform.

[0063] In a preferred embodiment, the computing power prediction model includes a basic time series prediction layer, a scene feature enhancement layer, and an output fusion layer. The basic time series prediction layer is built based on an LSTM model and is used to predict computing power demand trends. The scene feature enhancement layer is built based on a gradient boosting tree model and is used to correct computing power demand trends. The output fusion layer is used to fuse the output results of the basic time series prediction layer and the scene feature enhancement layer according to the fusion weight coefficient to obtain the computing power demand trend.

[0064] Architecture design of computing power prediction model: basic time series prediction layer and scene feature enhancement layer.

[0065] Basic Time Series Prediction Layer: The Time Series Prediction Model (LSTM) uses the computing power demand time series characteristics constructed based on time series data (such as resource usage trends, task growth rates, etc.) to predict future computing power demand trends.

[0066] Scene feature enhancement layer: Uses gradient boosting tree model to extract business scene features (such as e-commerce promotion cycle, weather warning period, business peak period identifier, cross-domain task execution plan, etc.) to correct the predicted computing power demand trend, so as to improve the prediction error of sudden computing power demand.

[0067] The training dataset required for training the computing power prediction model includes: resource status data, task status data, network status data, and scene feature data. Scene feature data consists of business scenario identifiers and time tags recorded by the real-time perception module. Business scenario identifiers include e-commerce promotions, weather warnings, and cross-domain tasks, while time tags include peak business periods and low-load periods in the early morning.

[0068] After cleaning and standardizing the basic dataset, feature extraction is performed to obtain a time-series feature set and a scenario feature set. The time-series feature set is used to represent the temporal variation pattern of computing power demand and is extracted from the time-series data corresponding to resource status data and task status data. The scenario feature set is used to characterize the impact of business scenarios on computing power demand and is extracted from scenario feature data, network / task attributes, and other data.

[0069] The time-series feature set is constructed based on a base dataset, namely resource status data, task status data, and network link data. This data is cleaned and then standardized. The standardization process includes normalization and one-hot encoding, with the aim of eliminating dimensions.

[0070] A sliding window is set up for each type of data in the basic data. Temporal feature codes are extracted from the sliding window. The temporal feature codes are feature vectors of fixed length. Taking GPU load rate as an example, the sliding window is 60 seconds, and a data point is taken every 10 seconds. Temporal feature codes such as load mean, maximum value, standard deviation, slope, number of peaks, and trend direction are extracted from the sliding window. The temporal feature codes are then concatenated with the original data to form a temporal feature vector.

[0071] The time-series feature set includes time-series feature vectors of computing nodes, heterogeneous clusters, and task queues. The task queue's time-series feature vector includes task queue length, task submission rate, and task type ratio, extracted from the task queues of the heterogeneous cluster. Simultaneously, each computing node also has its own corresponding task queue, which is primarily responsible for task execution scheduling.

[0072] When creating the scene feature set, scene labels, such as business scenario codes and time tag codes, are extracted from the scene feature data. Task attribute features, such as task type codes, task priority, remaining computational load, and data size, are extracted from the task status data. Simultaneously, network coordination features, such as cross-domain latency, bandwidth utilization, and packet loss rate, are extracted from the network link data. The scene feature set is then concatenated with the output of the basic time series prediction layer and used as the input to the scene feature enhancement layer.

[0073] When training the computing power prediction model, layered training is performed first, followed by cross-layer fusion optimization.

[0074] Layered training involves training the basic temporal prediction layer and the scene feature enhancement layer sequentially.

[0075] The basic time series prediction layer consists of an input layer, hidden layers, and an output layer. The input layer receives the time series feature set; the hidden layer is configured with three LSTM units, with the number of neurons in the three layers set to 128, 64, and 32 respectively. Dropout (dropout_rate=0.2) is used to prevent overfitting, and a BatchNorm layer is introduced to accelerate convergence; the output layer is a fully connected layer that outputs the computing power demand trend for a future period (e.g., 1-5 minutes). This computing power demand trend can be categorized according to node type (CPU, GPU, NPU), corresponding to the demand scale of the three types of heterogeneous computing power resources. It should be noted that the computing power demand trend is a predicted value of the computing power demand over a predicted future period.

[0076] The hyperparameters during training were set as follows: the optimizer was AdamW, the initial learning rate was 0.001, decayed by 10% every 5 epochs, the loss function was mean squared error (MSE), the number of training epochs was set to 50, and the batch size was set to 64. The temporal feature set was divided into training, validation, and test sets according to the proportions, and the basic temporal prediction layer was trained using the training, validation, and test sets.

[0077] The scene feature enhancement layer consists of an input layer, a dual-branch XGBoost structure (corresponding to classification and regression branches), and an output layer. The input layer receives the scene feature set and the computing power demand trend output by the basic time series prediction layer. The dual-branch XGBoost structure has 200 decision trees, a maximum tree depth of 8, and a learning rate of 0.05. It adopts a hybrid output mode of classification and planning, that is, it first classifies and determines the current scene type, and then adjusts the computing power demand trend for different scenes.

[0078] To adapt to the collaborative needs of heterogeneous computing power, the output fusion layer employs a dynamic weight allocation mechanism. A fusion weight coefficient is introduced during dynamic weight allocation. This coefficient represents the weight of the output data from the basic time-series prediction layer, while the weight of the output data from the scene feature enhancement layer is 1 minus the fusion weight coefficient. The basic time-series prediction layer and the scene feature enhancement layer are concatenated into an end-to-end model. The optimization objective is to minimize the MSE (Mean Separation of Expectations) between the final computing power demand trend and the actual computing power demand value. The optimized model yields the computing power prediction model.

[0079] The computing power prediction model incrementally updates its parameters at set time intervals (e.g., every 5 minutes) based on the deviation between actual computing power demand and computing power demand trends. This ensures that the computing power prediction model adapts to the dynamic changes of different business scenarios and maintains the stability of its long-term prediction accuracy.

[0080] In the implementation of incremental updates, the basic dataset for the most recent 5 minutes is collected every 5 minutes through the real-time perception module. This basic dataset is then processed and added to the training set. A rolling window strategy is used to delete the oldest expired samples in the training set. During the incremental update process, the underlying parameters of the basic temporal prediction layer and the feature enhancement layer are fixed. Only the fully connected layer, the fusion weight coefficients, and the XGBoost learning rate are fine-tuned. The fine-tuned fully connected layer is connected to the outputs of the basic temporal prediction layer and the feature enhancement layer, and then to the final computational power demand trend.

[0081] In one example, the real-time sensing module collects basic datasets at a set collection frequency. After preprocessing, these basic datasets are input into the computing power prediction model. The basic time series prediction layer in the computing power prediction model converts various types of data into time series feature vectors based on the constructed time window (such as the past 60 seconds). The time series feature vectors include the sliding window mean, trend slope, growth rate in the last 10 seconds, frequency of peak occurrence, volatility, etc.

[0082] In a preferred embodiment, setting demand priorities based on computing power demand trends and scenario tags includes: setting a computing power growth rate threshold; matching demand priorities to computing power demand trends based on the computing power growth rate threshold; and setting demand priorities using scenario tags when demand priorities and scenario tags are inconsistent.

[0083] The computing power demand trends are categorized into three types and prioritized accordingly, providing a clear basis for subsequent scheduling and adaptation. Sudden demand (highest priority): Scenarios where computing power demand surges in a short period, such as promotional peaks or emergency alerts, require advance resource reservation; Stable demand (medium priority): Stable computing power demand under normal business scenarios, requiring balanced resource allocation; Decreasing demand (lower priority): Scenarios where business is wrapping up or traffic is declining, allowing for optimization of resource utilization (e.g., increasing the overselling ratio).

[0084] Demand tiering is determined based on the computing power demand trend and scenario labels from the computing power prediction model, and a computing power growth rate threshold is set for each tier. The computing power demand trend is compared with the computing power growth rate threshold to initially determine the corresponding demand type. This is then verified using scenario labels. If the verification results are inconsistent, the demand type is set according to the scenario labels, and a priority is assigned to the demand type.

[0085] In one example: GPU demand increases by 25% / minute (≥20% threshold) + scene tag "e-commerce promotion" → judged as "sudden demand"; CPU demand increases by 35% / minute (≥30% threshold) + scene tag "daily business" → corrected to "stable demand", eliminating misjudgments caused by hardware fluctuations.

[0086] In a preferred embodiment, a scheduling decision is generated based on computing power demand trends, basic datasets, demand priorities, and a pre-trained coordination and scheduling model. This includes: invoking the coordination and scheduling model; constructing a state space based on computing power demand trends, basic datasets, and demand priorities; inputting the state space into the coordination and scheduling model to obtain action combinations; and generating a scheduling decision after constraint verification of the action combinations. The scheduling decision includes path allocation, node selection, and task sharding ratio.

[0087] In a preferred embodiment, the coordination and scheduling model includes an input layer, a state coding layer, a core decision layer, and a decision output layer, with the core decision layer implementing decisions through MDP and DDPG algorithms.

[0088] The state space of the coordinated scheduling model consists of a preprocessed feature dataset, computing power demand trend, demand priority, and discounted rewards for past N historical actions. The reward function adopts a combination of immediate rewards (such as scheduling delay and load balancing) and discounted rewards (such as resource utilization), with a discount factor γ=0.9, to guide the agent to learn the globally optimal strategy.

[0089] The DDPG algorithm in the coordinated scheduling model outputs a corresponding action space based on the state space. This action space, after being verified by action constraints, forms the scheduling decision. Action constraint verification mainly includes delay constraints, load constraints, adaptation constraints, and resource constraints.

[0090] The training process of the coordination and scheduling model is described in detail below.

[0091] Set scheduling objectives: Establish a multi-objective optimization function that balances low latency, high balance, and high utilization.

[0092] Scheduling objective 1: Scheduling response latency is less than 50ms. Scheduling response latency refers to the total time taken from the generation of a requirement or the submission of a task to the completion of the allocation process.

[0093] Scheduling objective 2: The load difference between each node is less than 20%. The node load is calculated based on resource status awareness data. This objective is to avoid node overload or idleness.

[0094] Scheduling objective 3: The overall utilization rate of heterogeneous computing resources is no less than 85%, which is achieved through dynamic adaptation and adjustment.

[0095] Learning-driven scheduling strategy: The scheduling process is modeled as a Markov decision process, a coordinated scheduling model is constructed, and the scheduling strategy is freely optimized through real-time interaction between the coordinated scheduling model and the computing resource pool, task queue, and network links.

[0096] State space: contains multi-dimensional information such as real-time status of resource pool, task queue status, network link status, and computing power demand trends;

[0097] Action space: including task allocation path selection (local node / cross-domain node / cloud node), node selection (low load / near link / highly adaptable node), task sharding ratio, etc.;

[0098] Reward function: The core reward factors are scheduling response latency, load balancing, resource utilization, and task execution efficiency, which guide the agent to learn the globally optimal scheduling strategy.

[0099] The coordinated scheduling model is based on an input layer → state encoding layer → core decision layer (MDP+DDPG) → decision output layer. It employs a three-stage training process: offline pre-training → online fine-tuning → closed-loop iterative optimization, achieving deep adaptation between the structure and training logic. In the offline pre-training stage, the state encoding layer and core decision layer are trained jointly. Based on a large amount of historical sample data, MDP quintuples are constructed to optimize dimensionality reduction and decision parameters. The convergence condition is that the average reward fluctuation on the validation set is ≤3% and the dimensionality reduction information retention rate is ≥90%. In the online fine-tuning stage, the underlying parameters of the state encoding layer are fixed, and the top-level structure of the core decision layer is fine-tuned to adapt to real-time input data and business scenarios. In the closed-loop iterative stage, MDP parameters are updated based on feedback from the entire system. An ε-greedy strategy is used to balance exploration and stability, and a full-link evaluation and parameter rollback mechanism is executed every 24 hours. The training process introduces an experience replay pool and a target network synchronization strategy to ensure model training stability, while matching the decision output layer verification rules to ensure the scheduling objectives are achieved.

[0100] The input layer receives the basic dataset (updated every 10ms) from the real-time perception module and the computing power demand trend from the prediction scheduling module. The basic dataset includes the status of the computing power resource pool, the status of the task queue, and the status of the network link. The computing power demand prediction data includes the computing power demand trend and demand level labels.

[0101] The state encoding layer consists of two lightweight MLP layers without complex convolutional or recurrent structures. The first layer has 64 neurons with ReLU activation; the second layer has 32 neurons with ReLU activation. The state encoding layer is used for data dimensionality reduction, reducing model inference time.

[0102] The core decision-making layer uses the MDP quintuple as its logical framework and employs the DDPG algorithm for decision-making, taking into account both discrete and continuous action spaces. The MDP quintuple is defined as follows: , where is the state space, is the action space, is the transition probability, is the reward function, and is the discount factor. The transition probability P is fitted using historical data statistics, and the discount factor γ is fixed at 0.9. The DDPG algorithm initializes the Actor network with a He normal distribution and the Critic network with a Xavier normal distribution. The pre-training epochs are set to 100, the batch size to 128, and the optimizer is AdamW (learning rate 0.001, weight decay 1e-5). The loss function is a combination of Actor policy loss and Critic temporal difference loss. The pre-training convergence condition is that the average reward on the validation set fluctuates by ≤3% over 10 consecutive epochs.

[0103] After the coordination and scheduling model is trained, the basic dataset, demand priority, and computing power demand trend are input into the model, and the corresponding action combination is output. This action combination is a ternary combination of path allocation, node selection, and task sharding ratio. The decision output layer selects the action combination with the highest probability as the scheduling decision. Before outputting this scheduling decision, the action combination needs to be validated according to the scheduling objective; only after the validation is passed can the scheduling decision be output.

[0104] In a preferred embodiment, scheduling the computing resources of the heterogeneous computing platform according to the scheduling decision includes: sending the scheduling decision to the heterogeneous computing platform; the heterogeneous computing platform generating node task instructions according to the scheduling decision, and selecting computing nodes as target nodes according to the task allocation strategy; wherein the task allocation strategy includes proximity principle or load balancing; sending the node task instructions to the target node, and the target node starting task execution.

[0105] The coordination and scheduling model uses the RPC protocol to send cluster-level scheduling decisions to the resource management component of the heterogeneous computing platform. The resource management component breaks down the scheduling decisions into node-level task allocation instructions and selects the target node based on node load and link latency. After the task is executed, the real-time sensing module collects the node-level status within 10ms and feeds it back, updating the state space of the coordination and scheduling model to form a closed-loop control.

[0106] In one example, assume the scheduling decision is: allocate the recommended task (task ID: Rec-20260001) to the GPU cluster, using a local scheduling strategy, without task sharding, and with priority P1. The resource management component of the heterogeneous computing platform breaks down the scheduling decision into node-level instructions. Based on the "proximity allocation + load balancing" strategy, it selects the node with the lowest load rate and link latency below 60%. If GPU-02 has a load of 48% and a latency of 6ms; GPU-01 has a load of 52% and a latency of 7ms; and GPU-05 has a load of 55% and a latency of 6.5ms, then GPU-02 is ultimately selected as the target node. The resource management component issues a task allocation instruction to the target node GPU-02, and the target node GPU-02 starts task execution upon receiving the instruction.

[0107] It should be noted that the execution of scheduling decisions is achieved through a hierarchical scheduling mechanism, which is suitable for single cluster pre-cross-domain collaborative scenarios.

[0108] Local scheduling: For tasks within a single cluster, a "nearest allocation + load balancing" strategy is adopted, prioritizing the allocation of tasks to nodes with low network latency (≤10ms) and load rates below 60%;

[0109] Cross-domain scheduling: A hierarchical collaboration model is established between regional schedulers and a global scheduler. The regional scheduler is responsible for local resource scheduling, while the global scheduler coordinates cross-cloud and cross-data center resources. When local resources cannot meet the demand, the global scheduler quickly calls on idle computing power from neighboring regions based on network status awareness data and optimal path algorithms. The cross-domain scheduling response time is ≤100ms.

[0110] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single embodiment. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one embodiment. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any suitable manner. Those skilled in the art will understand that embodiments can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular embodiment. In other embodiments, additional technical features and beneficial effects may be identified in specific embodiments that do not embody all embodiments.

[0111] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any other combination thereof. When implemented using a software program, it can be implemented entirely or partially in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).

[0112] The above embodiments are only used to illustrate the technical methods of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of the present invention without departing from the spirit and scope of the technical methods of the present invention.

Claims

1. A heterogeneous computing power collaborative adaptation method based on distributed pooling computing power, characterized in that, include: A basic dataset is collected from a heterogeneous computing platform, and the basic dataset is standardized to obtain a feature dataset. The basic dataset is used to analyze the performance of the heterogeneous computing platform, and the feature dataset includes a time-series feature set and a scene feature set. The feature dataset is input into a pre-trained computing power prediction model to predict computing power demand trends; demand priorities are set based on computing power demand trends and scenario labels; where scenario labels are extracted from the basic dataset. Based on computing power demand trends, basic datasets, demand priorities, and a pre-trained coordination and scheduling model, scheduling decisions are generated; and computing power resources of the heterogeneous computing power platform are scheduled according to the scheduling decisions. Scheduling decisions are generated based on computing power demand trends, basic datasets, demand priorities, and pre-trained coordination and scheduling models, including: Invoke the coordination and scheduling model; the coordination and scheduling model is built based on the DDPG algorithm; A state space is constructed based on computing power demand trends, basic datasets, and demand priorities. The state space is then input into the coordination and scheduling model to obtain action combinations. The action combination is validated against constraints to generate a scheduling decision; the scheduling decision includes path allocation, node selection, and task fragmentation ratio. The platform architecture of the heterogeneous computing power platform includes a computing power resource pool; The computing power resource pool consists of several heterogeneous clusters; the heterogeneous clusters are constructed from computing power nodes of the same type; the computing power nodes include CPU nodes, GPU nodes and NPU nodes; The predicted computing power demand trend includes: The computing power prediction model is invoked; the computing power prediction model is constructed based on the LSTM model and the gradient boosting tree model. The feature dataset is input into the computing power prediction model to predict the computing power demand trend of the heterogeneous computing power platform; wherein, the computing power demand trend includes the computing power demand of each heterogeneous cluster. The computing power prediction model includes a basic time series prediction layer, a scene feature enhancement layer, and an output fusion layer; The basic time series prediction layer is built on an LSTM model and is used to predict computing power demand trends; the scene feature enhancement layer is built on a gradient boosting tree model and is used to correct computing power demand trends. The output fusion layer is used to fuse the output results of the basic temporal prediction layer and the scene feature enhancement layer according to the fusion weight coefficient to obtain the computing power demand trend; Prioritize demand based on computing power demand trends and scenario tags, including: Set a threshold for the computing power growth rate; Based on the computing power growth rate threshold, the computing power demand trend is matched with the demand priority; when the demand priority and the scene tag are inconsistent, the scene tag is used to set the demand priority; The coordination and scheduling model includes an input layer, a state coding layer, a core decision layer, and a decision output layer. The core decision layer makes decisions using MDP and DDPG algorithms.

2. The heterogeneous computing power collaborative adaptation method based on distributed pooling computing power according to claim 1, characterized in that, The basic dataset is collected from the heterogeneous computing platform, including: Set the sampling frequency; the sampling frequency can be set separately according to different data types; The basic dataset is collected from the heterogeneous computing platform according to the sampling frequency; the basic dataset includes resource status data, task status data and network link data.

3. The heterogeneous computing power collaborative adaptation method based on distributed pooling computing power according to claim 1, characterized in that, The standardization process includes normalization, one-hot encoding, and sliding window statistics.

4. The heterogeneous computing power collaborative adaptation method based on distributed pooling computing power according to claim 1, characterized in that, The scheduling of computing resources on the heterogeneous computing platform is performed according to the scheduling decision, including: The scheduling decision is sent to the heterogeneous computing power platform; The heterogeneous computing platform generates node task instructions based on scheduling decisions and selects computing nodes as target nodes according to task allocation strategies; wherein, the task allocation strategies include proximity principle or load balancing. The node task instruction is sent to the target node, and the target node starts task execution.

Citation Information

Patent Citations

  • Enterprise computing power layout and intelligent decision mobile application system and implementation method thereof

    CN120596264A

  • Smart campus-oriented multi-hyper fusion platform collaborative scheduling system and method

    CN120803665A

  • Computing power scheduling method and system based on dynamic load prediction and resource priority ranking

    CN121255398A