A computing power scheduling method, system, device, product and storage medium
By acquiring and analyzing computing power resource information in real time and dynamically adjusting the resource configuration of computing tasks, the problem of low resource utilization in the existing technology is solved, and efficient resource management and utilization of the computing power scheduling system is realized.
Patent Information
- Application Number
- CN202411010568.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-26
AI Technical Summary
The existing computing power scheduling system cannot release resources in time after task scheduling is completed, resulting in reduced resource utilization, and frequent information collection occupies network transmission and computing resources, causing waste.
By obtaining computing resource information in real time in the computing power scheduling management node, it is judged whether the dynamic scheduling conditions are met based on the current resource information, and the computing node, forwarding path and execution time of the computing task are dynamically adjusted. When the actual execution time reaches the preset maximum time Trigger scheduling and re-determine resource configuration to reduce resource occupation and improve utilization.
It effectively reduces the computing resources and network transmission occupancy of the computing power scheduling system, improves resource utilization, and ensures rational use and efficient scheduling of resources.
Smart Images

Figure CN118567864B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of distributed systems, and in particular to a computing power scheduling method, system, device, product and storage medium. Background Art
[0002] Computing power scheduling technology refers to the technology of reasonably scheduling and allocating computing resources in a distributed computing environment. When a new computing task is detected, the computing task is scheduled to a computing node in the computing power scheduling system based on the current computing power resource information of the computing power scheduling system. However, after the task scheduling is completed, the computing power scheduling system will be in static mode. When some computing resources are idle, some computing tasks cannot be scheduled to the optimal operating environment in time. In order to solve this problem, it is necessary to continuously obtain computing power resource information. The continuous addition of new information collection tasks will occupy the network transmission and computing resources of the entire computing power scheduling system, thereby wasting a lot of computing resources and reducing the overall resource utilization of the computing power scheduling system.
[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention
[0004] The purpose of the present invention is to provide a computing power scheduling method, system, device, product and storage medium, which can reduce the occupancy of computing resources and network transmission of the entire computing power scheduling system, thereby improving the resource utilization of the computing power scheduling system.
[0005] In order to solve the above technical problems, the present invention provides a computing power scheduling method, which is applied to a computing power scheduling management node in a computing power scheduling system. The computing power scheduling system also includes multiple computing nodes. The computing power scheduling method includes:
[0006] Obtaining current computing power resource information in the computing power scheduling system;
[0007] When the first trigger signal corresponding to the computing task in the computing power scheduling system is not received, judging whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information, and if so, performing the current dynamic scheduling computing operation;
[0008] Upon receiving the first trigger signal, executing the current dynamic scheduling calculation operation;
[0009] Among them, the dynamic scheduling computing operation includes: determining the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task based on the current computing power resource information; generating the first trigger signal whenever the actual execution time of the computing task on the current optimal computing node reaches the current longest execution time.
[0010] The process of judging whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes:
[0011] Based on the current computing power resource information, it is determined whether the first target task in the computing power scheduling system has been completed; the first target task is the computing task whose execution priority is higher than the preset priority;
[0012] If so, it is determined that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions.
[0013] The process of judging whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes:
[0014] Based on the current computing power resource information, it is determined whether the second target task in the computing power scheduling system has been completed; the second target task is the computing task with a resource occupancy rate higher than a preset value;
[0015] If so, it is determined that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions.
[0016] The process of judging whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes:
[0017] Determining whether the computing power network topology of the computing power scheduling system has changed based on the current computing power resource information;
[0018] If so, it is determined that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions.
[0019] The process of obtaining the current computing power resource information in the computing power scheduling system includes:
[0020] When receiving the information sensing signal, obtaining the current computing power resource information in the computing power scheduling system;
[0021] The information perception signal includes a second trigger signal generated when the computing task on the current optimal computing node determined by the last dynamic scheduling computing operation is completed within the current longest execution time determined by the last dynamic scheduling computing operation.
[0022] The computing power scheduling system further includes a routing node. After determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information, the computing power scheduling method further includes:
[0023] Computing power scheduling information is generated based on the current optimal computing node, the current shortest forwarding path, and the current longest execution time, and is sent to the routing node so that the routing node generates a routing table according to the computing power scheduling information.
[0024] The process of determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information includes:
[0025] The current computing power resource information is input into the computing model to obtain the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task.
[0026] Before inputting the current computing power resource information into the computing model, the computing power scheduling method further includes:
[0027] determining a current task demand of the computing task;
[0028] Loading a computing model corresponding to the current task requirement of the computing task;
[0029] The process of inputting the current computing power resource information into the computing model includes:
[0030] The computing power resource information is input into the computing model corresponding to the current task requirement.
[0031] Wherein, the computing model includes an encoder model, a first decoder model, a second decoder model and a third decoder model;
[0032] The process of inputting the current computing power resource information into the computing model to obtain the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task includes:
[0033] Encoding the current computing power resource information through the encoder model to obtain first encoded information;
[0034] Decoding the first encoded information by using the first decoder model to obtain the current optimal computing node;
[0035] Decoding the first encoded information by using the second decoder model to obtain the current shortest forwarding path;
[0036] The first encoded information is decoded by the third decoder model to obtain the current maximum execution time.
[0037] Before inputting the current computing power resource information into the computing model, the computing power scheduling method further includes:
[0038] Creating a first agent, a second agent, and a third agent, wherein the first agent corresponds to a first strategy network, the second agent corresponds to a second strategy network, the third agent corresponds to a third strategy network, and the first agent, the second agent, and the third agent share a value network;
[0039] Acquire initial computing power resource information, and encode the initial computing power resource information through an encoder network to obtain second encoded information;
[0040] inputting the second coded information into the first agent, the second agent and the third agent respectively;
[0041] Obtaining a comprehensive action array based on a first action array generated by the first agent, a second action array generated by the second agent, and a third action array output by the third agent;
[0042] Determining a reward function value based on the integrated action array and a scheduling parameter in the network;
[0043] Update the first policy network, the second policy network, the third policy network and the value network according to the reward function value;
[0044] Obtaining a third decoder model based on the updated third strategy network, and training the encoder network based on the loss function of the third strategy network to obtain an encoder model;
[0045] A first decoder model is obtained based on the updated first strategy network, and a second decoder model is obtained based on the updated second strategy network.
[0046] The scheduling parameters include link utilization, transmission delay, scheduling calculation delay and the ratio of benefit users.
[0047] In order to solve the above technical problems, the present invention also provides a computing power scheduling management device, including a central processing unit and a computing power processing component, wherein the computing power processing component includes a receiving module, an inference module and a storage module, wherein:
[0048] The receiving module is used to obtain the current computing power resource information in the computing power scheduling system and write the current computing power resource information into the storage module;
[0049] The central processing unit is configured to read the current computing power resource information from the storage module when the first trigger signal corresponding to the computing task in the computing power scheduling system is not received, and determine whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information, and if so, generate a dynamic scheduling instruction, and generate the dynamic scheduling instruction when the first trigger signal is received;
[0050] The inference module is used to perform the current dynamic scheduling calculation operation upon receiving the dynamic scheduling instruction, the dynamic scheduling calculation operation comprising reading the current computing power resource information from the storage module, and determining the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task based on the current computing power resource information;
[0051] The current optimal computing node is used to output the first trigger signal when the actual execution time of the computing task exceeds the current maximum execution time.
[0052] Among them, the current optimal computing node corresponding to the last dynamic scheduling calculation operation is also used to generate a second trigger signal when the computing task is completed within the current longest execution time determined by the last dynamic scheduling calculation.
[0053] The current optimal computing node corresponding to the last dynamically scheduled computing operation is also used to release computing resources when the computing task is completed within the current maximum execution time.
[0054] Wherein, the computing power processing component supports a computing fast link protocol, and the computing fast link protocol includes a computing fast link memory protocol;
[0055] The process of reading the current computing power resource information from the storage module includes:
[0056] The current computing power resource information is read from the storage module through the computing fast link memory protocol.
[0057] Wherein, the computing power scheduling management device also includes:
[0058] Memory, used to store computing models corresponding to multiple task requirements;
[0059] The reasoning module is further used to obtain the current task requirement of the computing task and load the computing model corresponding to the current task requirement from the memory;
[0060] The process of determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information includes:
[0061] The current computing power resource information is input into the computing model corresponding to the current task requirement to obtain the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task.
[0062] Wherein, the computing power processing component supports a computing fast link protocol, and the computing fast link protocol includes a cache consistency protocol;
[0063] The process of loading the computing model corresponding to the current task requirement from the memory includes:
[0064] The computing model corresponding to the current task requirement is recorded from the memory through the cache consistency protocol.
[0065] The computing power processing component further includes:
[0066] A sending module is used to generate computing power scheduling information according to the current optimal computing node, the current shortest forwarding path and the current longest execution time, and send the computing power scheduling information to the routing node in the computing power scheduling system so that the routing node generates a routing table according to the computing power scheduling information.
[0067] In order to solve the above technical problems, the present invention further provides a computing power scheduling system, comprising a computing power scheduling management device as described in any one of the above, a plurality of computing nodes and a plurality of routing nodes, wherein:
[0068] The computing node is used to obtain computing resource information and send it;
[0069] The routing node is used to receive the computing resource information and obtain network resource information, package the computing resource information and the network resource information to obtain computing power resource information, and send the computing power resource information to the computing power scheduling management device.
[0070] In order to solve the above technical problems, the present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of any of the computing power scheduling methods described above.
[0071] In order to solve the above technical problems, the present invention also provides a non-volatile storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the computing power scheduling method described in any one of the above items are implemented.
[0072] The present invention provides a computing power scheduling method, which performs dynamic scheduling based on the current longest execution time of a computing task. When the actual execution time of a computing task on the current optimal computing node reaches the current longest execution time, the current optimal computing node triggers the computing power scheduling management node to perceive the current computing power resource information, and when the computing task meets the dynamic scheduling conditions, a dynamic scheduling calculation is performed to re-determine the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task, and the dynamic scheduling is performed with the current longest execution time as the minimum standard, thereby reducing the occupation of computing resources and network transmission of the entire computing power scheduling system, thereby improving the resource utilization of the computing power scheduling system. The present invention also provides a computing power scheduling system, a computing power scheduling management device, a computer program product, and a non-volatile storage medium. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0074] Figure 1 A schematic diagram of the structure of a computing power scheduling system provided by the present invention;
[0075] Figure 2 A flowchart of the steps of a computing power scheduling method provided by the present invention;
[0076] Figure 3 A schematic diagram of the shortest forwarding path provided by the present invention;
[0077] Figure 4 An architectural diagram of a computing model provided by the present invention;
[0078] Figure 5 A schematic diagram of a dynamic scheduling method provided by the present invention;
[0079] Figure 6 This is a schematic diagram of the structure of the first computing power scheduling management device provided by the present invention;
[0080] Figure 7 This is a structural diagram of the second computing power scheduling management device provided by the present invention;
[0081] Figure 8 A schematic structural diagram of a non-volatile storage medium improved by the present invention. DETAILED DESCRIPTION
[0082] The core of the present invention is to provide a computing power scheduling method, system, device, product and storage medium, which can reduce the occupancy of computing resources and network transmission of the entire computing power scheduling system, thereby improving the resource utilization of the computing power scheduling system.
[0083] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0084] In the first aspect, the present invention provides a computing power scheduling method, which is applied to a computing power scheduling management node in a computing power scheduling system. To facilitate understanding of the computing power scheduling method provided by the present invention, the computing power scheduling system is first described. Figure 1 The computing power scheduling system includes a computing power scheduling management node, a plurality of computing nodes and a plurality of routing nodes. Figure 1 The figure shows computing nodes c1, computing node c2, computing node c3, ... computing node cn, and routing nodes l0 to l6. The computing nodes exchange data with the computing power scheduling management node through the routing nodes. The routing nodes directly connected to the computing power scheduling management node are entry routing nodes. The computing nodes include but are not limited to CPU (Central Processing Unit), GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), ASIC (Application Specific Integrated Circuit), etc.
[0085] Please refer to Figure 2 , Figure 2 This is a flowchart of the steps of a computing power scheduling method provided by the present invention, and the computing power scheduling method includes:
[0086] S101: Obtain current computing power resource information in the computing power scheduling system;
[0087] Among them, the current computing power resource information in the computing power scheduling system includes at least the computing resource information of the computing nodes and the network resource information of the routing nodes.
[0088] It can be understood that the computing node is used to collect its own computing resource information and transmit the computing resource information to the routing node connected to itself. The routing node packages its own network resource information and computing resource information to obtain computing power resource information, and uploads the computing power resource information to the computing power scheduling management node so that the computing power scheduling management node can obtain it and make subsequent dynamic scheduling decisions. Among them, the current computing power resource information is the computing power resource information obtained at the current moment.
[0089] S102: Determine whether a first trigger signal corresponding to a computing task in a computing power scheduling system is received, if so, execute S104, if not, execute S103;
[0090] It can be understood that the first trigger signal is generated whenever the actual execution time of the computing task on the current optimal computing node reaches the current maximum execution time.
[0091] S103: judging whether the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions based on the current computing power resource information, if not, ending the process, if yes, executing S104;
[0092] S104: Determine the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information.
[0093] In this embodiment, the current maximum execution time is the estimated longest running time of the computing task under the current optimal computing node under the current computing power network state. Once this time is exceeded, other computing resources that are more suitable for the task will be released. Therefore, in this embodiment, the current maximum execution time of the computing task on the current optimal computing node is used as the minimum control condition for dynamic scheduling. When the actual execution time of the computing task on the current optimal computing node exceeds the current maximum execution time, the current optimal computing node generates a first trigger signal. After receiving the first trigger signal, the computing power scheduling management node performs the current dynamic scheduling calculation to obtain the optimal computing node, the shortest forwarding path and the current maximum execution time corresponding to the computing task, so as to timely schedule the computing task to the current optimal computing node determined by the current dynamic scheduling calculation. When a computing task is scheduled, the computing power scheduling system does not enter a static state, but performs dynamic scheduling according to the current maximum execution time, so as to ensure the rational use of resources in the computing power scheduling system and improve the resource utilization of the computing power scheduling system.
[0094] It can be understood that the current optimal computing node obtained by the last dynamic scheduling computing operation is the computing node currently executing the computing task.
[0095] Furthermore, in order to promptly respond to changes in computing power resource information in the computing power scheduling system, when the first trigger signal corresponding to the computing task is not received, this embodiment also determines whether the computing task meets the dynamic scheduling conditions based on the acquired computing power resource information. If so, it will also enter the dynamic scheduling calculation so that the computing task can be processed in a timely manner through more preferred computing resources, thereby improving the resource utilization of the computing power scheduling system.
[0096] It can be understood that the current optimal computing node determined by two adjacent dynamic scheduling computing operations may be the same or different, the current shortest execution path determined by two adjacent dynamic scheduling computing operations may be the same or different, and the current longest execution time determined by two adjacent dynamic scheduling computing operations may be the same or different.
[0097] Among them, Figure 3 As shown, computing power scheduling management node→routing node l0→routing node l4→routing node l5→computing node c2 is an exemplary shortest execution path.
[0098] For example, in combination Figure 1 The dynamic scheduling of any computing task is explained. Assuming that the current optimal computing node corresponding to the computing task determined in the last dynamic scheduling calculation operation is computing node c2, and the current longest execution time is T1s, if the actual execution time of the computing task on computing node c2 reaches T1s, computing node c2 generates a first trigger signal at this time. When the computing power scheduling management node receives the first trigger signal generated by computing node c2, it determines that other computing resources that are more suitable for the computing task are released, obtains the current computing power resource information used for the current dynamic scheduling calculation, performs the current dynamic scheduling calculation operation based on the current computing power resource information, obtains the new current optimal computing node, the new current longest execution time and the new current shortest execution path, assuming that the new current optimal computing node is computing node c3, and the new current longest execution time is T2, then the computing task is scheduled to be executed on computing node c3 according to the current shortest execution path, and the above steps are repeated until the computing task is executed. Of course, the new current optimal computing node can still be computing node c2.
[0099] The computing power scheduling management node generates computing power scheduling information based on the current optimal computing node, the current shortest forwarding path, and the current longest execution time, and sends it to the entry routing node so that the entry routing node generates a routing table based on the computing power scheduling information, and the computing power scheduling is completed.
[0100] It can be seen that in this embodiment, dynamic scheduling is performed based on the current maximum execution time of the computing task. When the actual execution time of the computing task on the current optimal computing node reaches the current maximum execution time, the current optimal computing node triggers the computing power scheduling management node to perceive the current computing power resource information, and when the computing task meets the dynamic scheduling conditions, dynamic scheduling calculation is performed to re-determine the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task, and dynamic scheduling is performed with the current longest execution time as the minimum standard, thereby reducing the occupancy of computing resources and network transmission of the entire computing power scheduling system, thereby improving the resource utilization of the computing power scheduling system.
[0101] Based on the above embodiments:
[0102] In an exemplary embodiment, the process of determining whether a computing task in a computing power scheduling system meets a dynamic scheduling condition based on current computing power resource information includes:
[0103] Based on the current computing power resource information, it is determined whether the first target task in the computing power scheduling system has been completed; the first target task is a computing task whose execution priority is higher than the preset priority;
[0104] If so, it is determined that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions.
[0105] In this embodiment, an interruption strategy is set based on the execution status of the computing task in the computing power scheduling system. When the first trigger signal corresponding to the computing task is not received, the dynamic scheduling calculation is triggered according to the interruption strategy to further improve the resource utilization in the computing power scheduling system.
[0106] It can be understood that when the computing task on a current optimal computing node is completed, the current optimal computing node will release computing resources, and the transmission path associated with the computing node will also be released, so the network parameters will change, thereby causing the computing power network state to change. The computing node uploads its own computing resource information to the corresponding routing node, and the routing node packages the computing resource information and the network resource information to generate computing power resource information and upload it to the power scheduling management node. The network resource information includes the computing power network state. The interruption strategy in this embodiment includes the completion of the execution of the first target computing task with a high execution priority. Specifically, after the computing power scheduling management node obtains the computing power resource information, it determines whether the first target computing task with a high execution priority has been completed. If the execution is completed, it means that computing resources have been released. At this time, it is determined that the dynamic scheduling conditions are met, and the current dynamic scheduling calculation operation is performed to further improve the resource utilization in the computing power scheduling system.
[0107] In an exemplary embodiment, the process of determining whether a computing task in a computing power scheduling system meets a dynamic scheduling condition based on current computing power resource information includes:
[0108] Based on the current computing power resource information, it is determined whether the second target task in the computing power scheduling system has been completed; the second target task is a computing task whose resource occupancy rate is higher than a preset value;
[0109] If so, it is determined that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions.
[0110] The interruption strategy in this embodiment includes the completion of the execution of the second target computing task with high resource occupancy. Specifically, after the computing power scheduling management node obtains the computing power resource information, it determines whether the second target computing task with high resource occupancy has been completed. If it is completed, it means that computing resources have been released. At this time, it is determined that the dynamic scheduling conditions are met, and the current dynamic scheduling calculation operation is performed to further improve the resource utilization in the computing power scheduling system.
[0111] In an exemplary embodiment, the process of determining whether a computing task in a computing power scheduling system meets a dynamic scheduling condition based on current computing power resource information includes:
[0112] Determine whether the computing network topology of the computing scheduling system has changed based on the current computing resource information;
[0113] If so, it is determined that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions.
[0114] The interruption strategy of this embodiment includes a change in the computing power network topology. It can be understood that the computing power resource information includes the computing power network topology. After the computing power scheduling management node obtains the current computing power resource information, it determines whether the computing power network topology in the current computing power resource information is the same as the computing power network topology obtained last time. If they are the same, no processing is performed. If they are not the same, it is determined that the dynamic scheduling conditions are met and the current dynamic scheduling calculation operation is performed to further improve the resource utilization in the computing power scheduling system, and the computing power network topology in the current computing power resource information is stored for the next comparison.
[0115] In an exemplary embodiment, the process of obtaining current computing power resource information in the computing power scheduling system includes:
[0116] When receiving the information sensing signal, obtaining the current computing power resource information in the computing power scheduling system;
[0117] The information perception signal includes a second trigger signal generated when the computing task on the current optimal computing node determined by the last dynamic scheduling computing operation is completed within the current longest execution time determined by the last dynamic scheduling computing operation.
[0118] In this embodiment, in order to further improve the response efficiency to changes in current computing power resource information, the current optimal computing node generates a second trigger signal when a computing task is completed within the current longest execution time, so that the computing power scheduling management node obtains the current computing power resource information after receiving the second trigger signal, thereby avoiding frequent information perception, reducing the dedicated computing resources and network resources of the computing power scheduling system, and further improving the resource utilization of the computing power scheduling system.
[0119] In an exemplary embodiment, the process of determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information includes:
[0120] The current computing power resource information is input into the computing model to obtain the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task.
[0121] In order to improve processing efficiency, the present invention inputs the current computing resource information into a pre-trained computing model so as to directly output the current optimal computing node, the current shortest forwarding path and the current longest execution time through the computing model.
[0122] In an exemplary embodiment, before inputting the current computing power resource information into the computing model, the computing power scheduling method further includes:
[0123] Determine the current task requirements of the computing task;
[0124] Loading a computational model corresponding to the current task requirements of the computational task;
[0125] The process of inputting current computing power resource information into the calculation model includes:
[0126] Input computing power resource information into the computing model corresponding to the current task requirements.
[0127] In this embodiment, taking into account that different computing tasks have different task requirements, in order to improve the accuracy of the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the acquired computing task, this embodiment calls the computing model that meets the current task requirements of the computing task for subsequent processing, thereby improving processing efficiency and thus improving dynamic scheduling efficiency, so that the computing task can be scheduled to a more preferred computing node in a timely manner to run, thereby improving the resource utilization of the computing power scheduling system.
[0128] In an exemplary embodiment, the computational model includes an encoder model, a first decoder model, a second decoder model, and a third decoder model;
[0129] The process of inputting the current computing power resource information into the computing model to obtain the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task includes:
[0130] Encode the current computing power resource information through the encoder model to obtain first encoded information;
[0131] Decoding the first encoded information through a first decoder model to obtain a current optimal computing node;
[0132] Decoding the first encoded information through a second decoder model to obtain a current shortest forwarding path;
[0133] The first encoded information is decoded by a third decoder model to obtain a current maximum execution time.
[0134] In this embodiment, one encoder model is matched with multiple decoder models, so as to achieve the purpose of simultaneously outputting the current optimal computing node, the current shortest execution path and the current longest execution time, thereby improving efficiency.
[0135] In an exemplary embodiment, before inputting the current computing power resource information into the computing model, the computing power scheduling method further includes:
[0136] Create a first intelligent agent, a second intelligent agent and a third intelligent agent, the first intelligent agent corresponds to a first strategy network, the second intelligent agent corresponds to a second strategy network, the third intelligent agent corresponds to a third strategy network, and the first intelligent agent, the second intelligent agent and the third intelligent agent share a value network;
[0137] Acquire initial computing power resource information, and encode the initial computing power resource information through an encoder network to obtain second encoded information;
[0138] inputting the second coded information into the first agent, the second agent and the third agent respectively;
[0139] Obtaining a comprehensive action array based on a first action array generated by the first agent, a second action array generated by the second agent, and a third action array output by the third agent;
[0140] Determining a reward function value based on the combined action array and scheduling parameters in the network;
[0141] Update the first strategy network, the second strategy network, the third strategy network and the value network according to the reward function value;
[0142] A third decoder model is obtained based on the updated third strategy network, and an encoder network is trained based on the loss function of the third strategy network to obtain an encoder model;
[0143] A first decoder model is obtained based on the updated first strategy network, and a second decoder model is obtained based on the updated second strategy network.
[0144] In this embodiment, in order to simultaneously output the optimal computing node, the shortest forwarding path and the longest execution time, this embodiment provides the following Figure 4 The computing model architecture shown includes an encoder model and three decoder models, namely a first decoder model, a second decoder model and a third decoder model. The first decoder model outputs the optimal computing node, the second decoder model outputs the shortest forwarding path, and the third decoder model outputs the longest execution time.
[0145] Since the decision of the optimal computing node and the generation of the network forwarding path belong to the category of reinforcement learning, the output is the label category and the directed sequence, and the task execution time needs to be trained by supervised learning. Therefore, it is necessary to unify the reinforcement learning task and the regression learning task, comprehensively train the encoder model in the first stage, and train different decoder models separately in the second stage, including:
[0146] Set the initial value, assign the current iteration number i to 0, assign the maximum iteration number to i_max, and set the experience replay pool;
[0147] Create three agent object instances. The first agent A1 is responsible for selecting computing nodes. The second agent A2 is responsible for generating network forwarding paths. The third agent A3 is responsible for estimating the longest task execution time. Each agent corresponds to an Actor (decision-making) network. The three agents share a Critic (value) network, and the network parameters are randomly initialized.
[0148] Initial computing power network state State setting: The combination of network topology, task list, computing node resource state list and network link state is used as the initial computing power resource information, and sent to the encoder network for encoding processing to obtain the second encoding information;
[0149] Start iteration, increase the value of i by 1, and each agent generates an action:
[0150] The Actor network of the first agent A1 outputs the probability distribution of the computation node selection, and then generates the action array Ac1 by sampling from the probability distribution;
[0151] The Actor network of the second agent A2 outputs the probability distribution of the forwarding path selection, and then generates the action array Ac2 by sampling from the probability distribution;
[0152] The Actor network of the third agent A3 outputs the probability distribution of execution time selection, and then generates the action array Ac3 by sampling from the probability distribution;
[0153] The action arrays calculated by the three agents are combined into a comprehensive action array Action = (Ac1, Ac2, Ac3), which can be used to select a scheduling scheme for the computing task and apply it to the network. The comprehensive action array is used to generate the corresponding task data flow;
[0154] Generate the corresponding task data stream in the network, obtain the link utilization p, transmission delay t, scheduling calculation delay l, and the proportion of benefit users y in the network, and obtain the reward function Reward value. The reward function in reinforcement learning takes the computing network state S and action A (i.e., action array Action) as input and outputs the corresponding reward value. The reward value function is defined as follows:
[0155] R j =R(S j+1 │S j , A j )=(f(p)+α·y) / (t+l), where, R j is the reward function value at the jth moment, S j+1 is the state at the j+1th moment, S j is the state at the jth moment, A j is the comprehensive action array at the jth moment, f(p) is the mapping relationship between link utilization and the number of fully loaded users, and α is the weight factor hyperparameter. This reward function maximizes the guarantee that the scheduling results meet the needs of more users;
[0156] Update State' to the computing power network status after the solution is applied;
[0157] After the function value is determined, the three Actor networks and the Critic network can be updated according to different reinforcement learning methods such as Q-learning, SARSA (State-Action-Reward-State-Action), DeepQ-Networks (DQN), etc.
[0158] After reaching the maximum number of iterations, the Actor network corresponding to the third agent A3 is applied to the third decoder model, and the encoder model is trained based on the loss;
[0159] Finally, the Actor networks corresponding to the first agent A1 and the second agent A2 are applied to the first decoder model and the second decoder model.
[0160] In summary, please refer to Figure 5 , the computing power scheduling method includes:
[0161] The computing power resource information is perceived, and the computing power resource information is parsed (the analysis includes parsing whether the high-priority computing tasks are completed, parsing whether the high-resource-occupying computing tasks are completed, and parsing whether the computing power network topology has changed). If it is determined after the analysis that the dynamic scheduling conditions are met, the operation of inputting the computing power resource information into the encoder model is executed when it is determined that the dynamic scheduling conditions are met. The encoder model outputs the first encoding information, and the first encoding information is respectively input into the first decoder model, the second decoder model and the third decoder model. The first decoder model outputs the optimal computing node, the second decoder outputs the shortest forwarding path, and the third decoder outputs the longest execution time. It is determined whether the actual execution time reaches the current longest execution time (that is, it is determined whether the actual execution time of the computing task on the current optimal computing node reaches the current longest execution time). If so, it is determined that the dynamic scheduling conditions are met. When it is determined that the dynamic scheduling conditions are met, the operation of inputting the computing power resource information data into the encoder model is executed. If not, it is determined whether there is a computing task execution completed. If so, the computing power resource information perception is triggered. If not, the operation of determining whether the actual execution time reaches the current longest execution time is executed.
[0162] Second, please refer to Figure 6 The present invention also provides a computing power scheduling management device, including a central processing unit 1 and a computing power processing component 2, wherein the computing power processing component 2 includes a receiving module 21, an inference module 22 and a storage module 23, wherein:
[0163] The receiving module 21 is used to obtain the current computing power resource information in the computing power scheduling system and write the current computing power resource information into the storage module 23;
[0164] The central processor 1 is used to read the current computing power resource information from the storage module 23 when the first trigger signal corresponding to the computing task in the computing power scheduling system is not received, and judge whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information, and if so, generate a dynamic scheduling instruction, and generate a dynamic scheduling instruction when the first trigger signal is received;
[0165] The reasoning module 22 is used to perform the current dynamic scheduling calculation operation upon receiving the dynamic scheduling instruction, and the dynamic scheduling calculation operation includes reading the current computing power resource information from the storage module 23, and determining the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task based on the current computing power resource information;
[0166] The current optimal computing node is used to output a first trigger signal when the actual execution time of the computing task exceeds the current maximum execution time.
[0167] In this embodiment, the computing power processing component 2 can be specifically implemented by a DPU (Data Processing Unit), including a receiving module 21, an inference module 22 and a storage module 23, and the storage module 23 can specifically be a device memory. DPU is a dedicated processor used to accelerate data processing and computing tasks. DPU is an upgrade of the smart network card, so DPU continues the functions of the smart network card such as releasing CPU (Central Processing Unit, central processing unit 1) overhead, programmability, task acceleration, traffic management, etc., and realizes universal programmable acceleration of the control plane and data plane.
[0168] The central processing unit 1 in this embodiment may specifically be a host CPU of the computing power scheduling and management device.
[0169] It can be understood that the receiving module 21 is connected to the entry routing node and is used to obtain the current computing power resource information sent by the entry routing node. The current computing power resource information is transmitted in the form of a network data frame. After receiving the network data frame, the receiving module 21 parses it. After parsing to obtain the data of the current computing power resource information, the data of the current computing power resource information is stored in the storage module 23. After the storage module 23 is updated, the central processing unit 1 reads the data in the storage module 23 to analyze whether to perform dynamic scheduling calculations, and transmits the analysis results to the reasoning module 22. If the reasoning module 22 receives a dynamic scheduling instruction corresponding to the execution of dynamic scheduling calculations, it directly performs dynamic scheduling calculations. When the central processing unit 1 receives the first trigger signal, it directly generates a dynamic scheduling instruction to trigger the reasoning module 22 to perform dynamic scheduling calculations.
[0170] In an exemplary embodiment, the current optimal computing node corresponding to the last dynamic scheduling computing operation is also used to generate a second trigger signal when the computing task is completed within the current maximum execution time determined by the last dynamic scheduling calculation.
[0171] In this embodiment, the current optimal computing node corresponding to the last dynamically scheduled computing operation is also used to generate a second trigger signal when the computing task is completed ahead of schedule, so that the central processor 1 can obtain the current computing power resource information in a timely manner.
[0172] In an exemplary embodiment, the current optimal computing node corresponding to the last dynamically scheduled computing operation is also used to release computing resources when the computing task is completed within the current maximum execution time.
[0173] In an exemplary embodiment, referring to Figure 7 , the computing power processing component 2 supports a computing fast link protocol, and the computing fast link protocol includes a computing fast link memory protocol;
[0174] The process of reading the current computing power resource information from the storage module 23 includes:
[0175] The current computing power resource information is read from the storage module 23 by computing the fast link memory protocol.
[0176] In this embodiment, since a dynamic computing power scheduling solution is adopted, it is necessary to trigger the dynamic scheduling process under specific circumstances. In addition to the computing power resource information perception, the computing power resource information needs to be acquired, parsed, and the scheduling information is issued, as well as the computing power resource information is analyzed and judged inside the computing power scheduling management device. If the computing power scheduling management device still uses the traditional server architecture, the performance of the central processor 1 will be bottlenecked, and it will not be able to cope with the operation of a larger-scale computing power network scheduling system. Therefore, this embodiment designs a computing power processing component 2 that supports the CXL (Compute Express Link) protocol, unloads the network protocol stack and some inference calculation functions, and releases CPU resources to enable it to cope with larger-scale systems.
[0177] CXL is a high-speed serial protocol that allows fast and reliable data transmission between different components within a computer system. It is designed to solve bottleneck problems in high-performance computing, including memory capacity, memory bandwidth, and I / O latency. CXL can also achieve memory expansion and memory sharing, and can communicate with peripherals such as computing accelerators (such as GPUs and FPGAs), providing faster and more flexible data exchange and processing methods. The following describes the CXL related protocols. The CXL.mem (CXL memory protocol) protocol allows devices to bypass the main processor during data access and interact directly with the host memory, thereby achieving high-performance and low-latency data access. The main purpose of the CXL.cache (cache consistency) protocol is to achieve cache consistency between multiple devices to ensure data consistency and reliability. The CXL.io protocol is used to implement operations such as configuration register access and interrupts.
[0178] When the receiving module 21 parses the computing power resource information network data frame to obtain the current computing power resource information and writes the data of the current computing power resource information into the device memory (ie, the storage module 23), the host directly reads the data of the computing power resource information from the storage module 23 through the CXL.mem protocol to improve data processing efficiency.
[0179] In an exemplary embodiment, the computing power scheduling management device further includes:
[0180] Memory 3, used to store calculation models corresponding to multiple task requirements;
[0181] The reasoning module 22 is also used to obtain the current task requirements of the computing task and load the computing model corresponding to the current task requirements from the memory 3;
[0182] The process of determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information includes:
[0183] The current computing power resource information is input into the computing model corresponding to the current task requirements to obtain the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task.
[0184] In this embodiment, the computing power scheduling and management device also includes a memory 3, namely a host memory. The capacity of the host memory is much larger than the capacity of the device memory. Since the device memory of the computing power processing component 2 is limited, when faced with computing models of multiple modes, it is necessary to use the host memory to store a large number of computing models, so that the computing model can be selected according to the current task requirements of the computing task in the future, thereby improving the reasoning accuracy of the reasoning module 22.
[0185] In an exemplary embodiment, the computing power processing component 2 supports a computing fast link protocol, and the computing fast link protocol includes a cache consistency protocol;
[0186] The process of loading the calculation model corresponding to the current task requirement from memory 3 includes:
[0187] The computational model corresponding to the current task requirement is recorded from memory 3 through the cache consistency protocol.
[0188] It can be understood that this embodiment uses the deep learning model method to estimate the current optimal computing node, the current shortest forwarding path and the current longest execution time. The deep learning algorithm model is relatively large and requires the use of a dedicated computing accelerator and support for high-bandwidth memory 3 expansion. Therefore, it is necessary to use the low-latency communication protocol CXL for memory 3 interaction. The reasoning module 22 uses the CXL.cache protocol to quickly access the host memory and select the appropriate computing model for the calculation in the reasoning module 22, thereby improving data processing efficiency.
[0189] In an exemplary embodiment, the computing power processing component 2 further includes:
[0190] The sending module 24 is used to generate computing power scheduling information according to the current optimal computing node, the current shortest forwarding path and the current longest execution time, and send the computing power scheduling information to the routing node in the computing power scheduling system so that the routing node generates a routing table according to the computing power scheduling information.
[0191] The sending module 24 generates computing power scheduling information according to the current optimal computing node, the current shortest forwarding path and the current longest execution time, and encapsulates it, that is, encapsulates the computing power scheduling information network data frame.
[0192] In summary, this embodiment designs a CXL_DPU acceleration device (i.e., computing power processing component 2) based on the PCIe universal expansion interface in the server node to realize the function offloading of computing power scheduling tasks. The computing power processing component 2 uses the high bandwidth and low latency characteristics of the CXL protocol to dynamically load the adaptation models of various applications into the scheduling processor, estimate the optimal execution time of the task, and implement the computing power scheduling plan in advance, thereby reducing the computing power perception calculation steps in the centralized scheduling method, increasing the timeliness of computing power information update and computing power scheduling, and increasing the overall computing power resource utilization of the system.
[0193] In a third aspect, the present invention further provides a computing power scheduling system, comprising a computing power scheduling management device as described in any one of the above embodiments, a plurality of computing nodes and a plurality of routing nodes, wherein:
[0194] Computing nodes, used to obtain computing resource information and send it;
[0195] The routing node is used to receive computing resource information and obtain network resource information, package the computing resource information and network resource information, obtain computing power resource information, and send the computing power resource information to the computing power scheduling management device.
[0196] For an introduction to a computing power scheduling system provided by the present invention, please refer to the above-mentioned embodiment, and the present invention will not be described in detail here.
[0197] The computing power scheduling system provided by the present invention has the same beneficial effects as the above-mentioned computing power scheduling method.
[0198] In a fourth aspect, the present invention further provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of any of the above computing power scheduling methods.
[0199] For an introduction to a computer program product provided by the present invention, please refer to the above embodiments, and the present invention will not elaborate on them again.
[0200] A computer program product provided by the present invention has the same beneficial effects as the above-mentioned computing power scheduling method.
[0201] Fifth, please refer to Figure 8 The present invention also provides a non-volatile storage medium 30, on which a computer program 31 is stored. When the computer program 31 is executed by a processor, the steps of any one of the computing power scheduling methods described above are implemented.
[0202] Among them, the non-volatile storage medium 30 may include: ROM (Read-only memory), PROM (Programmable read-only memory), EAROM (Electrically alterable read only memory), EPROM (Erasable programmable read only memory), EEPROM (Electrically erasable programmable read only memory), Flash memory and other media that can store program codes.
[0203] Please refer to the above embodiments for the introduction of a non-volatile storage medium provided by the present invention, and the present invention will not be described in detail here.
[0204] A non-volatile storage medium provided by the present invention has the same beneficial effects as the above-mentioned computing power scheduling method.
[0205] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0206] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A computing power scheduling method, characterized in that: A computing power scheduling management node applied to a computing power scheduling system, wherein the computing power scheduling system further comprises a plurality of computing nodes, and the computing power scheduling method comprises: Obtaining current computing power resource information in the computing power scheduling system; When the first trigger signal corresponding to the computing task in the computing power scheduling system is not received, judging whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information, and if so, performing the current dynamic scheduling computing operation; Upon receiving the first trigger signal, executing the current dynamic scheduling calculation operation; The dynamic scheduling computing operation includes: determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information; generating the first trigger signal whenever the actual execution time of the computing task on the current optimal computing node reaches the current longest execution time; The process of obtaining the current computing power resource information in the computing power scheduling system includes: When receiving the information sensing signal, obtaining the current computing power resource information in the computing power scheduling system; The information perception signal includes a second trigger signal generated when the computing task on the current optimal computing node determined by the last dynamic scheduling computing operation is completed within the current longest execution time determined by the last dynamic scheduling computing operation; The process of judging whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes: Based on the current computing power resource information, it is determined whether the first target task in the computing power scheduling system has been completed; the first target task is the computing task whose execution priority is higher than the preset priority; If so, determining that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions; Or, the process of determining whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes: Based on the current computing power resource information, it is determined whether the second target task in the computing power scheduling system has been completed; the second target task is the computing task with a resource occupancy rate higher than a preset value; If so, determining that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions; Or, the process of determining whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes: Determining whether the computing power network topology of the computing power scheduling system has changed based on the current computing power resource information; If so, it is determined that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions.
2. The computing power scheduling method according to claim 1, characterized in that: The computing power scheduling system further includes a routing node, and after determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information, the computing power scheduling method further includes: Computing power scheduling information is generated based on the current optimal computing node, the current shortest forwarding path, and the current longest execution time, and is sent to the routing node so that the routing node generates a routing table according to the computing power scheduling information.
3. The computing power scheduling method according to any one of claims 1 to 2, characterized in that: The process of determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information includes: The current computing power resource information is input into the computing model to obtain the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task.
4. The computing power scheduling method according to claim 3, characterized in that: Before inputting the current computing power resource information into the computing model, the computing power scheduling method further includes: determining a current task demand of the computing task; Loading a computing model corresponding to the current task requirement of the computing task; The process of inputting the current computing power resource information into the computing model includes: The computing power resource information is input into the computing model corresponding to the current task requirement.
5. The computing power scheduling method according to claim 3, characterized in that: The computing model includes an encoder model, a first decoder model, a second decoder model, and a third decoder model; The process of inputting the current computing power resource information into the computing model to obtain the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task includes: Encoding the current computing power resource information through the encoder model to obtain first encoded information; Decoding the first encoded information by using the first decoder model to obtain the current optimal computing node; Decoding the first encoded information by using the second decoder model to obtain the current shortest forwarding path; The first encoded information is decoded by the third decoder model to obtain the current maximum execution time.
6. The computing power scheduling method according to claim 5, characterized in that: Before inputting the current computing power resource information into the computing model, the computing power scheduling method further includes: Creating a first agent, a second agent, and a third agent, wherein the first agent corresponds to a first strategy network, the second agent corresponds to a second strategy network, the third agent corresponds to a third strategy network, and the first agent, the second agent, and the third agent share a value network; Acquire initial computing power resource information, and encode the initial computing power resource information through an encoder network to obtain second encoded information; inputting the second coded information into the first agent, the second agent and the third agent respectively; Obtaining a comprehensive action array based on a first action array generated by the first agent, a second action array generated by the second agent, and a third action array output by the third agent; Determining a reward function value based on the integrated action array and a scheduling parameter in the network; Update the first policy network, the second policy network, the third policy network and the value network according to the reward function value; Obtaining a third decoder model based on the updated third strategy network, and training the encoder network based on the loss function of the third strategy network to obtain an encoder model; A first decoder model is obtained based on the updated first strategy network, and a second decoder model is obtained based on the updated second strategy network.
7. The computing power scheduling method according to claim 6, characterized in that: The scheduling parameters include link utilization, transmission delay, scheduling calculation delay and the ratio of benefit users.
8. A computing power scheduling management device, characterized in that: It includes a central processing unit and a computing power processing component, wherein the computing power processing component includes a receiving module, an inference module and a storage module, wherein: The receiving module is used to obtain the current computing power resource information in the computing power scheduling system and write the current computing power resource information into the storage module; The central processing unit is configured to read the current computing power resource information from the storage module when the first trigger signal corresponding to the computing task in the computing power scheduling system is not received, and determine whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information, and if so, generate a dynamic scheduling instruction, and generate the dynamic scheduling instruction when the first trigger signal is received; The inference module is used to perform the current dynamic scheduling calculation operation upon receiving the dynamic scheduling instruction, the dynamic scheduling calculation operation comprising reading the current computing power resource information from the storage module, and determining the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task based on the current computing power resource information; The current optimal computing node is used to output the first trigger signal when the actual execution time of the computing task exceeds the current longest execution time; The process of obtaining the current computing resource information in the computing power scheduling system includes: When receiving an information sensing signal, obtaining current computing power resource information in the computing power scheduling system; the information sensing signal includes a second trigger signal; The current optimal computing node corresponding to the last dynamic scheduling computing operation is also used to generate the second trigger signal when the computing task is completed within the current maximum execution time determined by the last dynamic scheduling calculation; The process of judging whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes: Based on the current computing power resource information, it is determined whether the first target task in the computing power scheduling system has been completed; the first target task is the computing task whose execution priority is higher than the preset priority; If so, determining that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions; Or, the process of determining whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes: Based on the current computing power resource information, it is determined whether the second target task in the computing power scheduling system has been completed; the second target task is the computing task with a resource occupancy rate higher than a preset value; If so, determining that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions; Or, the process of determining whether the computing task in the computing power scheduling system meets the dynamic scheduling condition based on the current computing power resource information includes: Determining whether the computing power network topology of the computing power scheduling system has changed based on the current computing power resource information; If so, it is determined that the computing tasks in the computing power scheduling system meet the dynamic scheduling conditions.
9. The computing power scheduling management device according to claim 8, characterized in that: The current optimal computing node corresponding to the last dynamically scheduled computing operation is also used to release computing resources when the computing task is completed within the current maximum execution time.
10. The computing power scheduling management device according to claim 8, characterized in that: The computing power processing component supports a computing fast link protocol, wherein the computing fast link protocol includes a computing fast link memory protocol; The process of reading the current computing power resource information from the storage module includes: The current computing power resource information is read from the storage module through the computing fast link memory protocol.
11. The computing power scheduling management device according to claim 8, characterized in that: The computing power scheduling management device also includes: Memory, used to store computing models corresponding to multiple task requirements; The reasoning module is further used to obtain the current task requirement of the computing task and load the computing model corresponding to the current task requirement from the memory; The process of determining the current optimal computing node, the current shortest forwarding path, and the current longest execution time corresponding to the computing task based on the current computing power resource information includes: The current computing power resource information is input into the computing model corresponding to the current task requirement to obtain the current optimal computing node, the current shortest forwarding path and the current longest execution time corresponding to the computing task.
12. The computing power scheduling management device according to claim 11, characterized in that: The computing power processing component supports a computing fast link protocol, wherein the computing fast link protocol includes a cache consistency protocol; The process of loading the computing model corresponding to the current task requirement from the memory includes: The computing model corresponding to the current task requirement is recorded from the memory through the cache consistency protocol.
13. The computing power scheduling management device according to any one of claims 8 to 12, characterized in that: The computing power processing component also includes: A sending module is used to generate computing power scheduling information according to the current optimal computing node, the current shortest forwarding path and the current longest execution time, and send the computing power scheduling information to the routing node in the computing power scheduling system so that the routing node generates a routing table according to the computing power scheduling information.
14. A computing power scheduling system, characterized in that: The method comprises a computing power scheduling management device as claimed in any one of claims 8 to 13, a plurality of computing nodes and a plurality of routing nodes, wherein: The computing node is used to obtain computing resource information and send it; The routing node is used to receive the computing resource information and obtain network resource information, package the computing resource information and the network resource information to obtain computing power resource information, and send the computing power resource information to the computing power scheduling management device.
15. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the computing power scheduling method described in any one of claims 1 to 7 are implemented.
16. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the computing power scheduling method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Service-oriented computing power network system, working method and storage medium
CN113079218A
Computing power scheduling management side device and method and computing power providing side device and method
CN116136799A
Routing information sending method, routing information receiving method, network element and node device
WO2021233391A1
