Intelligent computing center heterogeneous computing power dynamic scheduling method and system

By acquiring the occupancy status and task progress of heterogeneous resources at the intelligent computing center, resource availability time slices and computing power demand segments are formed, solving the problem of discontinuous resource release timing in traditional scheduling and realizing efficient dynamic scheduling and time consistency of resources.

CN123178084APending Publication Date: 2026-11-27SHENZHEN HUMENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611443649.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-17
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In traditional intelligent computing centers, the dynamic scheduling method for heterogeneous computing power lacks a continuous correlation between the current resource status and the release time of running task resources, resulting in a misalignment between the task allocation results and the subsequent available resource time, increasing the waiting and repeated matching processes.

Method used

By acquiring the heterogeneous resource occupancy status and running task progress of computing nodes, the expected release time of heterogeneous resources is determined, resource availability time slices are formed, and computing power demand fragments are generated according to the task order. Resource reservation relationships are established, and time conflicts are corrected and resource scheduling is optimized by using the actual release time.

Benefits of technology

It enables continuous scheduling of heterogeneous resources, reduces redundant adjustments to irrelevant appointments, and improves resource utilization efficiency and task execution time consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178084A_ABST
    Figure CN123178084A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of cloud computing software, in particular to a heterogeneous computing power dynamic scheduling method and system of a wisdom calculation center, which comprises the following steps: acquiring a heterogeneous resource occupation state and a running task progress of a computing node, forming a resource available time slice and a computing power demand segment; establishing a stage resource reservation relationship according to resource types, capacities, a preceding and succeeding dependence relationship and a time boundary and issuing a resource binding or releasing instruction; comparing a current release time with a reservation starting time, and keeping the stage resource reservation relationship or re-matching an affected reservation range according to a comparison result. The application covers future available states by including a predicted release time into a resource time slice and establishing a reservation correspondence between a task stage demand and a resource time boundary, limits a re-matching range by comparing the current release time with the reservation starting time, and reduces irrelevant reservation adjustment and repeated resource matching caused by running progress changes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cloud computing software technology, and in particular to a method and system for dynamic scheduling of heterogeneous computing power in intelligent computing centers. Background Technology

[0002] The field of cloud computing software technology mainly involves the unified management, task orchestration, and operation control of computing resources. Computing tasks are typically carried out by server clusters, virtual machines or containers, processors, and accelerators. The scheduler completes resource querying, matching, allocation, instruction issuance, and status feedback based on task descriptions, resource status, and operation records. Traditional intelligent computing center heterogeneous computing power dynamic scheduling methods and systems refer to the selection of execution locations and execution control for training, inference, or general computing tasks entering the task queue, targeting heterogeneous resources such as central processing units, graphics processing units, and neural network processors. Typically, processor type, available quantity, video memory or RAM usage, node load, network connectivity, and task priority are obtained from resource registration information and node monitoring records. Matching or sorting is performed based on the required computing power type, resource capacity, queue order, and preset scheduling rules. The task is then issued to the selected server or container instance via the scheduling interface. The executing node returns its running status, and the scheduler updates the task records and resource usage information accordingly.

[0003] Traditional intelligent computing center schedulers primarily match resources based on the processor type, available quantity, GPU or RAM usage, node load, network transmission rate, and task priority of computing nodes. The scheduling criteria are concentrated on the current resource status, and there is a lack of continuous correlation between the resource release timing of running tasks and the subsequent computing power requirements of the tasks to be scheduled. When a task involves different heterogeneous computing power stages or changes in running progress, the original resource allocation results and the subsequent available resources are prone to time misalignment. The scheduler needs to reschedule tasks based on the updated resource usage information, increasing the waiting and repeated matching process. Summary of the Invention

[0004] The purpose of this invention is to provide a method and system for dynamic scheduling of heterogeneous computing power in intelligent computing centers. It addresses the problems of lack of continuous correlation between the current resource status and the resource release time of running tasks during the scheduling of heterogeneous computing resources, difficulty in establishing a correspondence between the computing power demand of different task stages and the available resource time periods, and the rematching of resource reservation relationships caused by changes in the actual resource release time. The invention establishes a correlation scheduling mechanism between the future availability status of heterogeneous resources, the computing power demand of task stages, and the feedback of actual resource release.

[0005] To achieve the above objectives, this invention provides a method for dynamic scheduling of heterogeneous computing power in intelligent computing centers, comprising the following steps: The heterogeneous resource occupancy status and running task progress of the computing nodes are acquired. Based on the heterogeneous resource occupancy status and running task progress, the estimated release time of the heterogeneous resources is determined, and a resource availability time slice is formed, which includes the resource type, available capacity, and start and end times. The heterogeneous resource occupancy status is collected by the computing nodes when the resource occupancy status changes. The heterogeneous resource occupancy status includes the resource type, occupied capacity, and available capacity. The running task progress includes the current processing stage and the completed progress of the running task. Based on the running task progress and the corresponding heterogeneous resource occupancy status, the estimated release time of the heterogeneous resources corresponding to each resource type is determined.

[0006] Furthermore, the estimated release times of multiple heterogeneous resources corresponding to the same resource type within the same computing node are sorted chronologically. The current resource status acquisition time and the sorted estimated release times of each heterogeneous resource are jointly determined as time boundaries, and the time interval between adjacent time boundaries is determined as the available time slice of the resource. After each estimated release time of a heterogeneous resource, the corresponding released occupied capacity is included in the available capacity of the corresponding available time slice of the resource.

[0007] Multiple computing power demand segments with sequential dependencies are generated according to the execution order of the tasks to be scheduled. The task descriptions of the tasks to be scheduled are read from the task queue, and the stage boundaries where the required resource type or required capacity changes are identified according to the execution order. The computing power demand segments are generated based on the processing intervals between adjacent stage boundaries, and each computing power demand segment is associated with the corresponding required resource type, required capacity, and sequential dependencies between the preceding and following computing power demand segments.

[0008] Each computing power demand segment is matched sequentially according to the aforementioned dependency relationship. First, available time slices of resources with the same resource type as the demanded resource type are selected. Then, candidate available time slices of resources with available capacity not less than the demanded capacity are retained. When the start time of a candidate available time slice of resources corresponding to a later computing power demand segment is not earlier than the end time of a candidate available time slice of resources corresponding to a previous computing power demand segment, the corresponding candidate available time slice of resources is included in the stage resource reservation relationship. When the corresponding time condition is not met, the corresponding candidate available time slice of resources is excluded and matching continues.

[0009] Furthermore, when the candidate available resource time slices corresponding to adjacent computing power demand segments belong to different computing nodes, the network transmission rate between the corresponding computing nodes is obtained, and the data transmission time is determined based on the amount of data to be transmitted after the completion of the previous computing power demand segment and the network transmission rate. When the start time of the subsequent candidate available resource time slice is not earlier than the connection time corresponding to the end time of the previous candidate available resource time slice and the data transmission time, the corresponding stage resource reservation relationship is retained; when the corresponding connection condition is not met, the candidate available resource time slices corresponding to the subsequent computing power demand segment are re-selected.

[0010] According to the phased resource reservation relationship, a phased resource binding or release instruction is issued to the computing node. When the phased resource reservation relationship corresponding to the current computing power demand segment reaches the reservation start time, an occupancy relationship is established between the resource type and the available capacity in the corresponding resource available time slice and the current computing power demand segment; when the computing node returns the completion status of the current computing power demand segment, a phased resource release instruction is issued, and the occupancy relationship between the completed computing power demand segment and the corresponding resource available time slice is released.

[0011] Obtain the actual release time returned by the computing node, and compare the actual release time with the reservation start time in the stage resource reservation relationship. Check the stage resource reservation relationship according to the reservation start time order corresponding to the same computing node and the same resource type. If the actual release time is not later than the reservation start time of the first stage resource reservation relationship after sorting, maintain the stage resource reservation relationship; if the actual release time is later than the reservation start time of the first stage resource reservation relationship after sorting, determine the consecutive stage resource reservation relationships whose reservation time overlaps with the actual release time as the affected reservation range.

[0012] Furthermore, the computing power demand segments within the affected reservation range are re-matched sequentially according to the aforementioned dependency relationship, excluding resource availability time slices whose start time is earlier than the actual release time. When the resource type of the resource availability time slice is the same as the demand resource type and the available capacity is not less than the demand capacity, the phased resource reservation relationship is re-established using the corresponding resource availability time slice; when there is no resource availability time slice that meets the conditions, the corresponding computing power demand segment remains in a pending scheduling state, and matching is performed again after the next expected release time of the heterogeneous resources arrives.

[0013] This invention also provides a dynamic scheduling system for heterogeneous computing power in intelligent computing centers to support the above-mentioned method. The system includes a scheduling server and a running agent set on the computing node. The running agent reports the heterogeneous resource occupancy status, the progress of the running task, and the actual release time to the scheduling server. The processor of the scheduling server forms the available time slices of resources based on the heterogeneous resource occupancy status and the progress of the running task, forms the computing power demand segments according to the running order of the tasks to be scheduled, and establishes the stage resource reservation relationship when the required resource type is the same as the resource type, the required capacity does not exceed the available capacity, and the time order satisfies the sequential dependency relationship. The processor also compares the actual release time with the reservation start time of the stage resource reservation relationship, maintains the stage resource reservation relationship or rematches the available time slices of resources and the computing power demand segments within the affected reservation range according to the comparison result, and generates stage resource binding or release instructions to be issued to the computing node according to the stage resource reservation relationship.

[0014] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In this invention, the expected release time of heterogeneous resources is determined based on the occupancy status of heterogeneous resources and the progress of running tasks, forming resource availability time slices that include resource type, available capacity, and start and end times. This expands the scheduling basis from a single current state to a resource state with time boundaries. Computational demand segments are formed according to the execution order of tasks to be scheduled, and stage resource reservation relationships are established based on resource type, capacity, and sequential dependencies, ensuring a continuous correspondence between computational demand at different stages and corresponding available time periods. By comparing the current release time with the reservation start time, the original reservation relationship is maintained when there is no time conflict. When a time conflict occurs, the resource availability time slices and computational demand segments within the affected reservation range are rematched, reducing redundant adjustments to irrelevant reservations. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.

[0016] Figure 1 A schematic diagram illustrating the core data relationships for dynamic scheduling of heterogeneous computing power in an intelligent computing center; Figure 2 A schematic diagram illustrating the formation of available time slices for heterogeneous resources; Figure 3 This diagram illustrates the matching of computing power demand segments with available resource time slices. Figure 4 This diagram illustrates the determination and re-matching of affected reservations triggered by the actual release time. Figure 5 This is a schematic diagram of the interaction of the heterogeneous computing power dynamic scheduling system in the intelligent computing center. Detailed Implementation

[0017] This invention relates to dynamic scheduling of heterogeneous computing power in intelligent computing centers. In the following embodiments, heterogeneous computing resources include different types of computing resources that computing nodes can provide. Resource types are used to distinguish central processing unit resources, graphics processing unit resources, neural network processor resources, and other heterogeneous processing resources described in the application documents. Heterogeneous resource occupancy status indicates the occupied and available capacity of the corresponding resource type at the time of status acquisition of the computing node; task progress indicates the current processing stage and completed processing progress of tasks already running on the computing node; the expected release time of heterogeneous resources indicates the expected time position when the corresponding heterogeneous computing resource is expected to end its current occupancy status, determined according to the task progress. A resource availability time slice is a continuous time interval formed by the time boundary between the status acquisition time and one or more expected release times of heterogeneous resources. Each resource availability time slice corresponds to at least a computing node, resource type, available capacity, start time, and end time, and is used to describe the schedulable status of the corresponding heterogeneous computing resources within the same computing node over time.

[0018] The computing power requirement segment represents a continuous processing interval of a scheduled task in its execution sequence, along with the required resource type and capacity for that interval. When there is a sequential relationship between processing intervals, a sequential dependency is established between the corresponding computing power requirement segments. The stage resource reservation relationship records the correspondence between computing power requirement segments and available time slices of resources capable of supporting those segments, thus associating different processing stages of a scheduled task with the available time boundaries of corresponding heterogeneous computing resources. The actual release time is the actual time position returned by the computing node after ending its corresponding resource occupation. The affected reservation range is the set of continuous reservations whose reservation times overlap with the actual release time, determined from the stage resource reservation relationships arranged according to reservation start times, when the actual release time is later than the corresponding reservation start time. These data objects form a closed loop between the scheduling server and the computing nodes: resource status input, time slice generation, task requirement organization, reservation matching, resource binding or release, and execution status feedback.

[0019] Example 1 Please see Figure 1-4This embodiment provides a method for dynamic scheduling of heterogeneous computing power in an intelligent computing center. In this embodiment, the scheduling process uses the heterogeneous resource occupancy status and running task progress of the computing nodes as resource-side inputs and the task description of the task to be scheduled as task-side inputs, respectively forming resource availability time slices and computing power demand segments. Then, a phased resource reservation relationship is established according to the resource type, resource capacity, time order, and the sequential dependency relationship between computing power demand segments. During the actual operation of the computing nodes, the reservation range affected by time conflicts is corrected by the actual release time.

[0020] At the start of scheduling, compute nodes acquire the current occupancy status of all heterogeneous computing resources within their node. For each resource type, the acquired data includes the occupied capacity and available capacity of the corresponding resource. When the resource occupancy status changes, the compute node establishes a new heterogeneous resource occupancy status and simultaneously acquires the progress of running tasks currently occupying the corresponding heterogeneous computing resources. The running task progress at least represents the current processing stage of the running task and the progress already completed in the current stage. Status acquisition is triggered by changes in the current resource status of the compute node, ensuring that the heterogeneous resource occupancy status and the running task progress correspond to the same state stage, avoiding the use of resource states and task progress that have lost their correspondence to determine the release time.

[0021] After receiving the heterogeneous resource occupancy status and running task progress, the scheduling server determines the estimated release time of heterogeneous computing resources already occupied by running tasks. The determination process uses the current processing stage and completed progress of the running task as the basis for the task execution position, and combines this with the fact that the corresponding resource type is still in an occupied state to obtain the estimated end time position corresponding to the current occupancy relationship. The estimated release time of heterogeneous resources is used to define the time boundary for the transition of resource status from the current occupied state to the next available state, and is not directly used as the start instruction for the scheduled task. For cases where there are multiple occupancy relationships for the same resource type within the same computing node, multiple corresponding estimated release times for heterogeneous resources are obtained.

[0022] Please see Figure 2 The estimated release times of multiple heterogeneous resources corresponding to the same compute node and resource type are sorted chronologically. The current resource status acquisition time is used as the first time boundary, and the estimated release times of each heterogeneous resource after sorting are used as subsequent time boundaries. A resource availability time slice is formed between adjacent time boundaries. Each resource availability time slice maintains the same compute node affiliation and resource type, and the available capacity that can be allocated within the corresponding time interval is used as the resource capacity status.

[0023] For the available resource time slice between the current resource status acquisition time and the first estimated release time of heterogeneous resources, its available capacity is the corresponding resource capacity that was already idle at the time of status acquisition. After reaching the first estimated release time of heterogeneous resources, the resource capacity occupied at that time is added to the available capacity of the next available resource time slice. Thereafter, after each estimated release time of heterogeneous resources, the corresponding released capacity is added to the subsequent available resource time slice in the same way. Thus, the available capacity of the same resource type changes segment by segment according to time boundaries, and the scheduling server can simultaneously save the current allocatable resource status and the resource availability status formed as existing running tasks end.

[0024] The formation of resource availability time slices does not change the actual resource occupancy status of compute nodes. A resource availability time slice represents a time-related resource description established by the scheduling server based on the current running state. Whether the resource is actually released at the corresponding time is still based on the actual release time returned by the compute node. Therefore, after the phased resource reservation relationship is generated, the resource availability time slice continues to serve as the time basis for the reservation plan, while the actual release time is used to determine whether the original reservation plan still meets the time conditions.

[0025] Task-side processing begins with the task description corresponding to the task to be scheduled. The scheduling server reads the task description from the task queue and checks the required resource type and capacity according to the execution order of the tasks. The execution order indicates the sequential relationship between the processing intervals within the task to be scheduled. When checking backward along the execution order, the location where the required resource type changes is determined as the stage boundary, and the location where the required capacity changes is also determined as the stage boundary. A continuous processing interval is formed between adjacent stage boundaries, corresponding to the generation of a computing power requirement segment.

[0026] For each computing power demand segment, the required resource type and capacity are recorded, and a sequential dependency relationship is established between successive computing power demand segments according to the original execution order of the tasks to be scheduled. This sequential dependency relationship ensures that a subsequent computing power demand segment cannot enter the scheduled execution state before the corresponding processing of a previous computing power demand segment has met the stage connection conditions. Through this process, the resource request, originally represented by the entire task to be scheduled, is organized into multiple computing power demand segments arranged in execution order, each with a defined resource type and capacity constraint.

[0027] Please see Figure 3The establishment of resource reservation relationships for each stage proceeds sequentially according to the dependencies between computing power demand segments. For the current computing power demand segment to be matched, the required resource type is first compared with the resource types of each available time slice, and only available time slices with the same resource type are retained. After the resource type filtering is completed, the required capacity is compared with the available capacity of each retained available time slice. Only when the available capacity of a resource time slice is not less than the required capacity of the current computing power demand segment is the corresponding available time slice considered as a candidate available time slice.

[0028] After filtering by resource type and capacity, the available time slices of candidate resources are checked according to their dependencies on the computing power demand segments. For two computing power demand segments with a direct sequential relationship, once the available time slices of candidate resources for the preceding segment have been determined, the start time of the available time slice of the candidate resources for the following segment is checked. If the start time of the following candidate time slice is not earlier than the end time of the preceding candidate time slice, the two candidate time slices meet the basic stage connection condition, and the corresponding candidate time slice can continue to be used to establish stage resource reservation relationships. If the start time of the following candidate time slice is earlier than the end time of the preceding candidate time slice, the corresponding candidate time slice is excluded, and other available time slices of candidate resources that meet the resource type and capacity conditions are checked.

[0029] When adjacent computing power demand segments correspond to different computing nodes, the network transmission rate between the computing nodes is further checked based on the above time sequence judgment. The scheduling server obtains the amount of data that needs to be transferred from the previous computing power demand segment to the next computing power demand segment after completion, and obtains the network transmission rate between the corresponding two computing nodes. The data transmission time is determined based on the amount of data to be transferred and the network transmission rate. The data transmission time represents the time interval that needs to be reserved between the end of the previous computing power demand segment and the time between the end of the next computing power demand segment and the availability of conditions for subsequent processing.

[0030] For two candidate resource availability time slices spanning multiple compute nodes, the end time of the preceding candidate resource availability time slice is first determined, and then the data transmission time is included in the stage transition judgment. If the start time of the following candidate resource availability time slice is not earlier than the data transmission completion time corresponding to the end of the preceding candidate resource availability time slice, the corresponding stage resource reservation relationship is retained; if the start time of the following candidate resource availability time slice is earlier than the data transmission completion time, the corresponding candidate resource availability time slice does not meet the stage transition condition, and the candidate resource availability time slice corresponding to the following computing power demand segment is re-selected. The network transmission rate is used as a data transmission condition between compute nodes during the current stage reservation matching process, without changing the required resource type and required capacity of the computing power demand segment itself.

[0031] After matching all computing power demand segments according to the above-mentioned resource type, resource capacity, and time sequence filtering, a stage resource reservation relationship is formed for the tasks to be scheduled. Each stage resource reservation relationship can at least determine one computing power demand segment, the computing node carrying the corresponding computing power demand segment, the corresponding resource type, the available time slice of the resource, and the reservation start time. The resource reservation relationships of different stages are formed in an orderly association according to the sequential dependency of the computing power demand segments, so that subsequent resource binding instructions can use the actual running position of the computing power demand segment as the basis for switching.

[0032] When the resource reservation period corresponding to the current computing power demand segment reaches its start time, the scheduling server issues a resource binding instruction to the corresponding compute node. Upon receiving the instruction, the compute node establishes an occupancy relationship between the resource type and available capacity of the corresponding available time slice in the resource reservation period and the current computing power demand segment. After the occupancy relationship is established, the corresponding resource enters the running occupancy state of the current computing power demand segment, resulting in a new heterogeneous resource occupancy state for the compute node.

[0033] After processing a current computing power demand segment, the compute node establishes a completion status for that segment and returns the current completion status and actual resource release result to the scheduling server. Based on the current completion status, the scheduling server issues a stage resource release instruction to the compute node, which then releases the occupancy relationship between the completed computing power demand segment and its corresponding available resource time slice. After release, the compute node establishes the actual release time and returns it to the scheduling server. Both resource binding and release occur around the stage boundaries of computing power demand segments, ensuring that different computing power demand segments occupy heterogeneous computing resources corresponding to their respective stage resource reservation relationships.

[0034] Please see Figure 4 After receiving the actual release time, the scheduling server compares the actual release time with the reservation start time in the stage resource reservation relationship. The comparison objects are limited to reservation relationships corresponding to the same computing node and the same resource type. The scheduling server sorts the corresponding stage resource reservation relationships according to the reservation start time, and determines the first reservation relationship that still has a time correlation with the current actual release result from the sorted stage resource reservation relationships.

[0035] When the actual release time is not later than the reservation start time of the first stage resource reservation relationship after sorting, it means that the actual resource has been released before the next reservation usage time, and the original stage resource reservation relationship still meets the corresponding time conditions. The scheduling server maintains the stage resource reservation relationship and does not re-match the corresponding reservations. When the actual release time is later than the reservation start time of the first stage resource reservation relationship after sorting, it means that the actual resource release time has entered the original reservation usage interval. The scheduling server starts from the first stage resource reservation relationship with overlapping times and checks the consecutive reservation relationships in the order of reservation start times.

[0036] During the inspection, if the reservation time of a resource reservation relationship in a given stage overlaps with the current actual release time, that resource reservation relationship is included in the affected reservation scope. The affected reservation scope is determined when the inspection continues until a position is reached where the reservation time no longer overlaps with the actual release time. The affected reservation scope is defined by time conflicts between the same computing node, the same resource type, and the actual release time; reservation relationships that do not conflict in time are not included in the re-matching objects.

[0037] After determining the affected reservation scope, the scheduling server retrieves the corresponding computing power demand segments within the affected reservation scope and re-matches them sequentially according to their original dependencies. During re-matching, resource availability time slices with start times earlier than the actual release time are first excluded to avoid continuing to select time intervals that started before the actual resources were released. Then, the resource type and capacity are checked again. If the resource type of the available resource time slice is the same as the required resource type of the current computing power demand segment, and the available capacity of the available resource time slice is not less than the required capacity of the current computing power demand segment, the phase resource reservation relationship is re-established using the corresponding available resource time slice.

[0038] The re-matched stage resource reservation relationships are still arranged according to the sequential dependencies between computing power demand segments. When the current computing power demand segment corresponds to a different computing node as the next computing power demand segment, the cross-node stage connection conditions are still checked according to the aforementioned network transmission rate and data transmission time, so that the re-established reservation relationship uses the same resource type, resource capacity, and time order boundaries as when it was initially established.

[0039] When a certain computing power demand segment within the affected reservation range does not have an available time slice that meets the resource type, resource capacity, and start time conditions, the corresponding computing power demand segment will remain in a pending scheduling state. The pending scheduling state indicates that no new phase resource reservation relationship has been formed in the current round, and the corresponding computing power demand segment will not enter the resource binding process. The scheduling server waits for the next heterogeneous resource's expected release time to arrive, and after the corresponding resource status changes, it reacquires an available time slice that can participate in matching, and then matches the computing power demand segments that remain in the pending scheduling state.

[0040] The scheduling status in this implementation can be verified by checking the heterogeneous resource occupancy status, task progress, completion status of computing power demand segments, and actual release time returned by the compute nodes. After resource availability time slices are formed, it can be checked whether the available capacity of the same resource type increases sequentially with the expected release time of the corresponding heterogeneous resources; after the stage resource reservation relationship is formed, it can be checked whether the computing power demand segment and the candidate resource availability time slice simultaneously meet the resource type, resource capacity, and time order conditions; after the actual release time is generated, it can be checked whether stage resource reservation relationships with time overlap are included in the affected reservation scope, and whether reservation relationships without time overlap remain in their original state. All of the above statuses correspond to the scheduling data and actual resource occupancy status of the compute nodes stored by the scheduling server.

[0041] Example 2 Please see Figure 5 This embodiment provides a dynamic scheduling system for heterogeneous computing power in an intelligent computing center. The difference between this embodiment and Embodiment 1 is that the protected subject is changed from the scheduling process to the system composition and data interaction relationship used to support the scheduling process. The heterogeneous resource occupancy status, running task progress, resource availability time slice, computing power demand segment, stage resource reservation relationship, actual release time, and affected reservation range formed on the method side are generated, transmitted, or processed on the system side by the scheduling server and the running agent set on the computing node, respectively.

[0042] The intelligent computing center's heterogeneous computing power dynamic scheduling system includes a scheduling server and runtime agents deployed on the computing nodes. The computing nodes are the physical nodes that actually host heterogeneous computing resources and execute tasks. The runtime agents establish a data correspondence between their respective computing nodes and the resource and task execution statuses. The runtime agents obtain the heterogeneous resource occupancy status and task progress of the computing nodes and report changes in the corresponding resource occupancy status to the scheduling server. Furthermore, after a computing power demand segment is completed and the corresponding heterogeneous computing resources are released, the runtime agents obtain the actual release time and return this time to the scheduling server.

[0043] After receiving the heterogeneous resource occupancy status and task progress reported by the running agent, the scheduling server, through its processor, generates resource availability time slices according to the resource time boundary formation logic in Embodiment 1. The processor first determines the expected release time of heterogeneous resources for the same computing node and resource type. Then, it uses the status acquisition time and the sorted expected release times of the heterogeneous resources as time boundaries, forming corresponding resource availability time slices according to the resource release order. These resource availability time slices are stored as scheduling data objects within the scheduling server and are read when a task enters the matching process.

[0044] The scheduling server also reads the task descriptions of the tasks to be scheduled, and the processor forms computing power demand segments according to the execution order of the tasks. The processor determines stage boundaries where the type of required resources or the required capacity changes, forming computing power demand segments based on the processing intervals between adjacent stage boundaries, and establishing the sequential dependencies between preceding and subsequent computing power demand segments. The computing power demand segments and available resource time slices serve as matching inputs for the task side and resource side, respectively, entering the same reservation processing procedure.

[0045] During the reservation process, the processor first compares the required resource type with the available resource type, then compares the required capacity with the available capacity. If the resource type is the same and the available capacity is not less than the required capacity, the processor retains the corresponding available time slice. For the retained available time slices, the processor continues to check the time order according to the dependencies between the computing power demand segments. When adjacent computing power demand segments are located on different computing nodes, the processor further reads the network transmission rate between the two computing nodes and the amount of data to be transmitted, forming the data transmission time, and uses this data transmission time as a condition for determining the start time of adjacent stages. After the corresponding conditions are met, the processor establishes a stage resource reservation relationship.

[0046] When the resource reservation period reaches its start time, the scheduling server sends a resource binding instruction to the corresponding compute node. The execution agent receives the scheduling instruction corresponding to its compute node and puts the computing power demand segment into the running state corresponding to the reserved resource. After the computing power demand segment is processed, the execution agent enters a completion state and obtains the corresponding resource release result. The scheduling server forms a phase resource release control based on the returned status, and after release, the execution agent returns the actual release time. Thus, the reservation relationship and resource control actions output by the scheduling server can be fed back by the execution results of the compute node.

[0047] After receiving the actual release time, the processor checks the stage resource reservation relationship according to the reservation start time corresponding to the same computing node and the same resource type. When the actual release time is not later than the first corresponding reservation start time, the processor retains the stage resource reservation relationship; when the actual release time is later than the corresponding reservation start time, the processor determines the continuous stage resource reservation relationships where the reservation time overlaps with the actual release time, identifies the corresponding reservation set as the affected reservation range, and re-executes resource availability time slice matching for the computing power demand segments within the affected reservation range.

[0048] During the rematching process, resource time slices with start times earlier than the actual release time are excluded. The processor checks the resource type and available capacity within the remaining resource time slices. If the conditions are met, the phased resource reservation relationship is re-established; otherwise, the corresponding computing power demand segment remains in a pending scheduling state. Once the next expected release time of the heterogeneous resource arrives and a new resource time state is formed, the processor reads the corresponding resource time slice again to complete the matching. Through the status reporting of the running agent and the reservation update of the scheduling server, the system forms a closed interactive path of computing node resource status input, scheduling data generation, reservation relationship establishment, resource control issuance, and actual running status feedback.

[0049] During system operation, the operation agent is responsible for obtaining the resource status and task progress of the computing nodes and providing feedback on the actual release time. The scheduling server is responsible for generating resource availability time slices, organizing computing power demand segments, establishing phased resource reservation relationships, and re-matching the affected reservation range. The data reported by the operation agent is received by the scheduling server and enters the corresponding processing process. The phased resource binding or release instructions generated by the scheduling server are returned to the corresponding computing nodes, ensuring that the input objects, processing results, and downstream receiving objects among the various processing entities on the system side maintain a definite correspondence.

[0050] In the above specific embodiments, resource availability time slices, computing power demand segments, stage resource reservation relationships, affected reservation scope, and data interaction relationships between the scheduling server and the running agent are used to illustrate the possible implementations of the present invention. The specific data storage format, communication bearer format, and field names that do not change the technical meaning of each processing stage can be equivalently set within the scope of the technical solutions described in this invention. Adjustments to the processing order within the steps without changing the input-output dependencies, equivalent replacements of module correspondences, equivalent transformations of field names, equivalent acceptance of the execution entity while maintaining the same data flow and control relationship, or equivalent changes to the carrier format, all do not change the technical correspondence between heterogeneous resource time states, task stage requirements, stage reservations, and actual release feedback in this invention, and should fall within the scope of protection of this patent.

Claims

1. A method for dynamic scheduling of heterogeneous computing power in intelligent computing centers, characterized in that, Obtain the heterogeneous resource occupancy status and running task progress of the computing node, determine the expected release time of the heterogeneous resources based on the heterogeneous resource occupancy status and running task progress, and form a resource availability time slice containing resource type, available capacity and start and end time. Generate computing power demand fragments containing the type of required resources, the required capacity, and the sequential dependencies of the tasks to be scheduled. The available time slices of the resources are selected based on the condition that the required resource type is the same as the resource type and the required capacity does not exceed the available capacity. The phased resource reservation relationship is established according to the sequential dependency relationship of the computing power demand segments and the start and end time of the available time slices of the resources. According to the stage resource reservation relationship, issue stage resource binding or release instructions to the computing node; Obtain the current release time returned by the computing node and compare it with the reservation start time in the stage resource reservation relationship. If the current release time is not later than the reservation start time, maintain the stage resource reservation relationship. If the current release time is later than the reservation start time, rematch the available time slice of the resource and the computing power demand segment within the affected reservation range.

2. The method for dynamic scheduling of heterogeneous computing power in intelligent computing centers according to claim 1, characterized in that, The heterogeneous resource occupancy status is collected by the computing node when the resource occupancy status changes, and the corresponding resource status collection time is recorded. The heterogeneous resource occupancy status includes the resource type, occupied capacity, and available capacity. The running task progress includes the current processing stage of the running task and the completed progress. Based on the progress of multiple running tasks and the corresponding heterogeneous resource occupancy status, the expected release time of the heterogeneous resources corresponding to the resource types occupied by the multiple running tasks is determined, and the available resource time slices are generated in the order of the expected release times of the heterogeneous resources.

3. The method for dynamic scheduling of heterogeneous computing power in intelligent computing centers according to claim 2, characterized in that, The expected release times of multiple heterogeneous resources corresponding to the same resource type in the computing node are sorted sequentially, and the resource status acquisition time and the sorted expected release times of the multiple heterogeneous resources are jointly determined as the time boundary; The time interval between adjacent time boundaries is defined as the available time slice of the resource. For each of the heterogeneous resources scheduled for release in chronological order, the corresponding released occupied capacity is included in the available capacity of the available time slice of the resource.

4. The method for dynamic scheduling of heterogeneous computing power in intelligent computing centers according to claim 1, characterized in that, Read the task description of the task to be scheduled from the task queue, and identify the stage boundary where the required resource type or the required capacity changes according to the running order; The computing power demand segments are generated by the processing intervals between adjacent stage boundaries, and each computing power demand segment is associated with the corresponding demand resource type, demand capacity, and the sequential dependency relationship between the preceding and following computing power demand segments.

5. The method for dynamic scheduling of heterogeneous computing power in intelligent computing centers according to claim 1, characterized in that, Each computing power demand segment is matched sequentially according to the aforementioned dependency relationship. First, the available time slices of resources with the same resource type as the demand resource type are filtered. Then, candidate available time slices of resources with available capacity not less than the demand capacity are retained from the filtering results. When the start time of the candidate available time slice corresponding to the next computing power demand segment is not earlier than the end time of the candidate available time slice corresponding to the previous computing power demand segment, the corresponding candidate available time slice is included in the stage resource reservation relationship. If the condition is not met, the corresponding candidate available time slice is excluded and matching continues.

6. The method for dynamic scheduling of heterogeneous computing power in intelligent computing centers according to claim 5, characterized in that, When the candidate resource available time slices corresponding to adjacent computing power demand segments belong to multiple computing nodes, the network transmission rate between the corresponding computing nodes is obtained, and the data transmission time is determined based on the amount of data to be transmitted after the completion of the previous computing power demand segment and the network transmission rate. When the start time of the next available time slice of the candidate resource is not earlier than the connection time between the end time of the previous available time slice of the candidate resource and the data transmission time, the corresponding stage resource reservation relationship is retained. If the condition is not met, the candidate available time slice of the candidate resource corresponding to the next computing power demand segment is re-selected.

7. The method for dynamic scheduling of heterogeneous computing power in intelligent computing centers according to claim 1, characterized in that, When the phase resource reservation relationship corresponding to the current computing power demand segment reaches the reservation start time, a phase resource binding instruction is issued to the corresponding computing node to establish an occupation relationship between the resource type and the available capacity in the corresponding resource available time slice and the current computing power demand segment. When the computing node returns the completion status of the current computing power demand segment, a phase resource release instruction is issued to the computing node, and the occupancy relationship between the completed computing power demand segment and the corresponding available resource time slice is released. After completing the corresponding resource release, the computing node returns to the current release time.

8. The method for dynamic scheduling of heterogeneous computing power in intelligent computing centers according to claim 1, characterized in that, After the computing node returns the current release time, the stage resource reservation relationship is checked in the order of the reservation start time corresponding to the same computing node and the same resource type. The stage resource reservation relationship is maintained when the current release time is not later than the reservation start time of the first stage resource reservation relationship after sorting by the reservation start time. When the current release time is later than the reservation start time of the first stage resource reservation relationship after sorting by reservation start time, the consecutive stage resource reservation relationships after sorting by reservation start time and whose reservation start time is earlier than the current release time are determined as the affected reservation range.

9. The method for dynamic scheduling of heterogeneous computing power in intelligent computing centers according to claim 8, characterized in that, The computing power demand segments within the affected reservation range are re-matched sequentially according to the aforementioned dependency relationship, excluding resource available time slices whose start time is earlier than the current release time; When the resource type of the available resource time slice is the same as the required resource type and the available capacity is not less than the required capacity, the phase resource reservation relationship is re-established using the corresponding available resource time slice; When there is no available time slice of the resource that meets the conditions, the corresponding computing power demand segment remains in a pending scheduling state, and matching is performed again after the next expected release time of the heterogeneous resource arrives.

10. A dynamic scheduling system for heterogeneous computing power in an intelligent computing center, which supports the method described in any one of claims 1 to 9, characterized in that, This includes the scheduling server and the runtime agents set up on the computing nodes; The running agent reports the heterogeneous resource occupancy status, running task progress, and current release time to the scheduling server; The processor of the scheduling server forms a resource availability time slice containing resource type, available capacity and start and end time according to the heterogeneous resource occupancy status and the running task progress, and forms a computing power demand slice containing the required resource type, required capacity and sequential dependency relationship according to the running order of the tasks to be scheduled. The processor establishes a phased resource reservation relationship when the required resource type is the same as the resource type, the required capacity does not exceed the available capacity, and the time order satisfies the sequential dependency relationship. The processor compares the current release time with the reservation start time of the phase resource reservation relationship. If the current release time is not later than the reservation start time, the phase resource reservation relationship is maintained; otherwise, the available time slices of resources within the affected reservation range are rematched with the computing power demand segments. The processor generates stage resource binding or release instructions to be issued to the computing node according to the stage resource reservation relationship.