Calculation power scheduling method and device, equipment and storage medium
By combining empirical mode decomposition algorithms and neural network algorithms to predict computing power costs and determine the optimal scheduling plan for the computing power network, the scheduling challenges caused by fluctuations in computing power resource costs are solved and cost-effective resource scheduling is achieved.
Patent Information
- Application Number
- CN202310347737.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-15
AI Technical Summary
In the multi-party transaction scenario of computing power network, the cost fluctuation range and frequency of computing power resources are large, which leads to increased scheduling challenges. It is difficult to achieve accurate cost prediction and optimal scheduling with existing technology.
Use historical cost data based on alternative resource nodes, combined with empirical mode decomposition algorithms and neural network algorithms to predict computing power costs, determine the optimal scheduling plan for task costs, and perform computing power scheduling based on this.
It achieves accurate prediction and optimal scheduling of computing power costs, meets customers' cost-effective needs, and improves the accuracy and efficiency of resource scheduling.
Smart Images

Figure CN118779087A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a computing power scheduling method, device, equipment and storage medium. Background Art
[0002] The computing network is a new type of information infrastructure that provides integrated computing and network services. The computing resources of the computing network will present a more distributed layout. The computing power usually has multiple main suppliers. At the same time, the management of social computing power is also a very important part of the computing power resources.
[0003] In the multi-party transaction scenario of computing power network and computing power grid connection, computing power resources can come from multiple different resource entities, and there is a flexible and elastic pricing and settlement method between resource providers and computing power network service platforms. At the same time, under the supply and demand relationship of the computing power market, the cost fluctuation range and frequency of computing power will be more drastic and have stronger random characteristics, which brings greater challenges to computing power scheduling. Summary of the invention
[0004] In view of this, embodiments of the present application hope to provide a computing power scheduling method, apparatus, device and storage medium.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] The present application provides a computing power scheduling method, which is applied to a scheduling center of a computing power network. The method includes:
[0007] Based on the historical cost data of computing power resources of candidate resource nodes, the computing power cost is predicted by combining the empirical mode decomposition algorithm and the neural network algorithm;
[0008] Determine an optimal scheduling solution for task costs based on the predicted computing power costs;
[0009] Computing power is scheduled based on the optimal scheduling solution.
[0010] The method of predicting computing power cost based on historical cost data of computing power resources of candidate resource nodes and combining empirical mode decomposition algorithm and neural network algorithm includes:
[0011] For each candidate resource node, perform the following operations:
[0012] Determine the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and in combination with the empirical mode decomposition algorithm and the neural network algorithm;
[0013] Determine an error prediction value based on the historical cost data sequence and the original cost prediction value of the computing power in combination with a neural network algorithm;
[0014] A final prediction value of the computing power cost is determined based on the error prediction value and the original computing power cost prediction value.
[0015] The method of determining the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and combining the empirical mode decomposition algorithm and the neural network algorithm includes:
[0016] Decomposing the historical cost data sequence based on an empirical mode decomposition algorithm to obtain components and residual terms reflecting the intrinsic mode function of the historical cost data sequence;
[0017] Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively;
[0018] The predicted values corresponding to the components and the residual items are linearly superimposed to obtain the predicted value of the original cost of computing power.
[0019] Wherein, determining the error prediction value based on the historical cost data sequence and the original cost prediction value of computing power includes:
[0020] Determine a computing power error sequence component based on the historical cost data sequence and the computing power original cost prediction value;
[0021] Decomposing the computing power error sequence components to obtain components and residual terms reflecting the intrinsic mode functions of the computing power error sequence components;
[0022] Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively;
[0023] The predicted values corresponding to the components and the residual terms are linearly superimposed to obtain the error prediction value.
[0024] Wherein, determining the final predicted value of the computing power cost based on the error predicted value and the original predicted value of the computing power cost includes:
[0025] The error prediction value and the original computing power cost prediction value are linearly superimposed to obtain a final prediction value of the computing power cost.
[0026] The optimal scheduling scheme for determining the task cost based on the predicted computing power cost includes:
[0027] Determine the computing power cost corresponding to each candidate resource node;
[0028] Cost calculation of different scheduling schemes based on the computing power costs of all candidate resource nodes;
[0029] The scheduling plan with the lowest cost is determined as the optimal scheduling plan.
[0030] Before predicting the computing power cost of the deployment phase based on the historical cost data of the computing power resources of the candidate resource nodes, the method further includes:
[0031] Obtain historical cost data of computing power resources of candidate resource nodes;
[0032] The resource pricing model in the historical cost data is converted into daily resource usage costs to form daily data of computing power costs.
[0033] After performing computing power scheduling based on the optimal scheduling solution, the method further includes:
[0034] In the event that the pricing model of computing power resources changes, re-forecast the computing power cost and re-determine the optimal scheduling solution;
[0035] If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
[0036] After performing computing power scheduling based on the optimal scheduling solution, the method further includes:
[0037] When the preset time period arrives, re-predict the computing power cost and re-determine the optimal scheduling plan;
[0038] If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
[0039] The embodiment of the present application also provides a computing power scheduling device, including:
[0040] The processing unit is used to predict the computing power cost based on the historical cost data of the computing power resources of the alternative resource nodes and in combination with the empirical mode decomposition algorithm and the neural network algorithm; determine the optimal scheduling plan for the task cost based on the predicted computing power cost; and perform computing power scheduling based on the optimal scheduling plan.
[0041] The embodiment of the present application also provides a computing power scheduling device, including:
[0042] The first processor is used to predict the computing power cost based on the historical cost data of the computing power resources of the alternative resource nodes and in combination with the empirical mode decomposition algorithm and the neural network algorithm; determine the optimal scheduling plan for the task cost based on the predicted computing power cost; and perform computing power scheduling based on the optimal scheduling plan.
[0043] The embodiment of the present application further provides a computing power scheduling device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,
[0044] Wherein, the first processor is used to execute the steps of the above method when running the computer program.
[0045] An embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0046] The computing power scheduling method, apparatus, device and storage medium provided in the embodiments of the present application predict computing power costs based on historical cost data of computing power resources of candidate resource nodes in combination with empirical mode decomposition algorithms and neural network algorithms; determine the optimal scheduling scheme for task costs based on the predicted computing power costs; and perform computing power scheduling based on the optimal scheduling scheme. The embodiments of the present application predict computing power costs based on historical cost data of computing power resources in combination with empirical mode decomposition algorithms and neural network algorithms, and can achieve accurate cost prediction; further determine the optimal scheduling scheme for task costs based on the predicted computing power costs, and generate a scheduling strategy with the best business cost for customers, meeting customers' demand for high cost performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 This is a flowchart of the computing power scheduling method described in an embodiment of the present application;
[0048] Figure 2 This is a flowchart of computing power cost prediction described in the embodiment of the present application;
[0049] Figure 3 This is a schematic diagram of the structure of the computing power scheduling device described in an embodiment of the present application;
[0050] Figure 4 This is a schematic diagram of the structure of the computing power scheduling device described in an embodiment of the present application. DETAILED DESCRIPTION
[0051] The present application is described below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant inventions, rather than to limit the inventions. It should also be noted that, for ease of description, only the parts related to the relevant inventions are shown in the accompanying drawings. It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
[0052] At present, the computing power scheduling solutions based on computing power network usually have the following methods:
[0053] (1) Resource pool allocation and scheduling based on computing resource requirements: This solution usually matches the computing and network resources required for task deployment, divides an application task into multiple subtasks, and matches the corresponding resource pool according to the computing power of the resource pool occupied by the subtask. When selecting a matching solution, you can make decisions on the target strategy based on criteria such as minimizing resource utilization and balancing resource utilization.
[0054] (2) Resource matching and scheduling based on the location of computing resources: Usually, this solution will prioritize nodes that are close to end users for task deployment based on the geographical location of the resource pool, in order to optimize the user experience.
[0055] (3) Scheduling based on service priority: This solution usually specifies the service priority of the deployed business. At the resource level, it also divides the relevant service levels according to the computing power resources, and the scheduling algorithm makes matching decisions.
[0056] Among the computing power scheduling schemes of the above-mentioned computing power networks, the scheme for scheduling computing power from the perspective of optimizing the cost of using the computing network still needs to be improved and matured.
[0057] Based on this, the embodiment of the present application provides a computing power scheduling method, which is applied to the scheduling center of the computing power network, such as Figure 1 As shown, the method includes:
[0058] Step 101: predicting computing power cost based on historical cost data of computing power resources of candidate resource nodes and combining empirical mode decomposition algorithm and neural network algorithm;
[0059] Step 102: Determine an optimal scheduling solution for task cost based on the predicted computing power cost;
[0060] Step 103: Perform computing power scheduling based on the optimal scheduling solution.
[0061] In the embodiment of the present application, the method of predicting computing power cost based on historical cost data of computing power resources of candidate resource nodes and combining empirical mode decomposition algorithm and neural network algorithm includes:
[0062] For each candidate resource node, perform the following operations:
[0063] Determine the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and in combination with the empirical mode decomposition algorithm and the neural network algorithm;
[0064] Determine an error prediction value based on the historical cost data sequence and the original cost prediction value of the computing power in combination with a neural network algorithm;
[0065] A final prediction value of the computing power cost is determined based on the error prediction value and the original computing power cost prediction value.
[0066] In the embodiment of the present application, the resource node may also be referred to as a computing node or a computing node resource pool. The resource node includes, but is not limited to, a central processing unit (CPU), a graphics processing unit (GPU), storage, latency, network bandwidth, cache, location, etc. that meet the task resource deployment. When deploying an application (task) composed of multiple independent sub-modules, the relationship requirements such as affinity and non-affinity between the independent sub-modules should be met.
[0067] Here, when different computing node resource pools are selected for independent sub-module deployment, the basic requirements for network latency between sub-modules need to be met. Different computing node resource pools conduct latency data tests regularly, and select resource pools whose latency is not greater than the latency requirements between sub-modules. When the above latency requirements are met, obtain a list of computing node resource pool deployment combinations corresponding to each independent sub-module. Assuming that there are m sub-modules that need to be deployed independently, multiple groups of different arrays [C1, C2, C3, ..., Ci, ..., Cm] can be formed, where 1≤i≤m; Ci is the resource pool selected by sub-module i.
[0068] In the embodiment of the present application, the method of determining the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and combining the empirical mode decomposition algorithm and the neural network algorithm includes:
[0069] Decomposing the historical cost data sequence based on an empirical mode decomposition algorithm to obtain components and residual terms reflecting the intrinsic mode function of the historical cost data sequence;
[0070] Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively;
[0071] The predicted values corresponding to the components and the residual items are linearly superimposed to obtain the predicted value of the original cost of computing power.
[0072] In the embodiment of the present application, an empirical mode decomposition algorithm (such as a complementary set empirical mode decomposition model) may be used to decompose the historical cost data sequence X. Specifically,
[0073] The historical cost data sequence X of computing power can be decomposed into a series of components IMF=IMF1,IMF2,...IMF that can reflect the intrinsic mode function of the historical cost data sequence nand the residual term R. In one embodiment of the present application, the empirical mode decomposition algorithm may select the complementary set empirical mode decomposition (CEEMD) method with higher decomposition efficiency.
[0074] Here, the empirical mode decomposition algorithm is selected to decompose random features and stable features. The sequence with large fluctuations obtained by decomposition contains the random features of short-term cost changes, and the sequence with small fluctuations contains the relatively stable features of long-term cost changes.
[0075] In the embodiment of the present application, an improved BP neural network algorithm model (such as a PSO-BP neural network model) can be used to predict the decomposed components IMF and residual term R to obtain their respective predicted values, i.e., IMF ′ =IMF ′ 1. IMF ′ 2, ..., IMF ′ n and the residual term R ′ .
[0076] Here, the BP neural network algorithm is selected because of its strong adaptability and strong generalization ability in processing nonlinear unfamiliar data. Although it has the problem of easily falling into local optimality, the embodiment of the present application considers combining the BP neural network algorithm with the intelligent optimization algorithm and adopting an improved BP neural network algorithm.
[0077] In the embodiment of the present application, the above predicted components and residual terms are linearly superimposed to obtain the original cost prediction value x of the computing power ′ =IMF ′ 1+IMF ′ 2+...+IMF ′ n +R ′ .
[0078] In the embodiment of the present application, the step of determining the error prediction value based on the historical cost data sequence and the original computing power cost prediction value includes:
[0079] Determine a computing power error sequence component based on the historical cost data sequence and the computing power original cost prediction value;
[0080] Decomposing the computing power error sequence components to obtain components and residual terms reflecting the intrinsic mode functions of the computing power error sequence components;
[0081] Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively;
[0082] The predicted values corresponding to the components and the residual terms are linearly superimposed to obtain the error prediction value.
[0083] In one embodiment of the present application, the historical cost data sequence X minus the original cost prediction value x of the computing power can be used. ′ Get the computing power error sequence component e = Xx ′ .
[0084] In one embodiment of the present application, an empirical mode decomposition algorithm can be used to decompose the computing power error sequence component e. Specifically, the computing power error sequence component e can be decomposed to obtain a series of components imf=imf1, imf2, ...imf that can reflect the intrinsic mode function of the computing power error sequence component. n and the residual term r.
[0085] In one embodiment of the present application, an improved BP neural network algorithm model can be used to predict the components and residual terms obtained by decomposition to obtain their respective predicted values, i.e., imf ′ =imf1 ′ ,imf2 ′ ,...,imf n ′ and the residual term r ′ .
[0086] In one embodiment of the present application, the predicted component imf ′ and the residual term r ′ Perform linear superposition to obtain the error prediction value e ′ =imf1 ′ +imf2 ′ +...+imf n ′ +r ′ .
[0087] In the embodiment of the present application, determining the final predicted value of the computing power cost based on the error predicted value and the original predicted value of the computing power cost includes:
[0088] The error prediction value and the original computing power cost prediction value are linearly superimposed to obtain a final prediction value of the computing power cost.
[0089] In one embodiment of the present application, the error prediction value e ′ And the original cost prediction value of computing power x ′ Perform linear superposition to obtain the final predicted value X of computing power cost ′ =x ′ +e ′ The overall process of computing power cost prediction is as follows: Figure 2 shown.
[0090] In an embodiment of the present application, the optimal scheduling scheme for determining the task cost based on the predicted computing power cost includes:
[0091] Determine the computing power cost corresponding to each candidate resource node;
[0092] Cost calculation of different scheduling schemes based on the computing power costs of all candidate resource nodes;
[0093] The scheduling plan with the lowest cost is determined as the optimal scheduling plan.
[0094] In one embodiment of the present application, assuming that the number of candidate resource nodes for a task is K, the computing power costs corresponding to the K candidate resource nodes are respectively: X ′ (1) X ′ (2), ..., X ′ (K), then the minimum deployment cost = min(X ′ (1)+X ′ (2)+...+X ′ (K)). Perform computing power scheduling and deployment based on the deployment plan corresponding to the minimum deployment cost.
[0095] It can be seen that the embodiments of the present application provide a scheduling strategy for accurate cost prediction based on the cost of computing power resources, including predicting costs using a hybrid model based on error compensation based on historical cost data. In particular, the prediction model proposed for the highly random, nonlinear and non-stationary characteristics of computing power costs in scenarios where computing power resources in a computing power network are connected to the grid and multiple parties provide computing power. This can improve the prediction accuracy of computing power resource costs, thereby achieving resource scheduling that meets customer cost-effectiveness requirements.
[0096] In the embodiment of the present application, before predicting the computing power cost of the deployment phase based on the historical cost data of the computing power resources of the candidate resource nodes, the method further includes:
[0097] Obtain historical cost data of computing power resources of candidate resource nodes;
[0098] The resource pricing model in the historical cost data is converted into daily resource usage costs to form daily data of computing power costs.
[0099] In one embodiment of the present application, the cost information model of the corresponding computing node resource pool can be obtained based on the computing node resource pool deployment combination list, and the resource pricing model in the historical cost data is converted into the daily resource usage cost to form the daily data of computing power cost (including current and historical cost values). Therefore, the accuracy of the prediction can be further improved.
[0100] In the embodiment of the present application, after computing power scheduling is performed based on the optimal scheduling solution, the method further includes:
[0101] In the event that the pricing model of computing power resources changes, re-forecast the computing power cost and re-determine the optimal scheduling solution;
[0102] If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
[0103] In one embodiment of the present application, if the pricing model of the computing power resources incorporated by the computing power network provider and / or the third party changes, the cost prediction is repeated and the optimal scheduling plan is re-determined; if the cost corresponding to the re-determined optimal scheduling plan is greater than or equal to the initially set deployment cost (preset threshold), the computing power scheduling and deployment is re-performed.
[0104] In the embodiment of the present application, after computing power scheduling is performed based on the optimal scheduling solution, the method further includes:
[0105] When the preset time period arrives, re-predict the computing power cost and re-determine the optimal scheduling plan;
[0106] If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
[0107] In one embodiment of the present application, if a preset time period is reached, the computing power cost is re-predicted and the optimal scheduling plan is re-determined. When the cost corresponding to the re-determined optimal scheduling plan is greater than or equal to the initially set deployment cost (preset threshold), the computing power scheduling and deployment is re-performed.
[0108] It can be seen that the embodiment of the present application also makes intelligent and dynamic adjustments to cost scheduling according to the dynamic changes of the computing power resource pricing model, including setting the cost sensitivity by configuring the threshold. When the threshold condition is reached, the computing power cost prediction value will be updated, and the dynamic and cost-optimal computing power resource scheduling will be realized for users based on cost perception. Moreover, when the threshold is raised, frequent scheduling can be avoided by optimizing the threshold setting, thereby providing customers with more intelligent scheduling services.
[0109] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a computing power scheduling device, such as Figure 3 As shown, including:
[0110] The processing unit 301 is used to predict the computing power cost based on the historical cost data of the computing power resources of the alternative resource nodes and in combination with the empirical mode decomposition algorithm and the neural network algorithm; determine the optimal scheduling plan for the task cost based on the predicted computing power cost; and perform computing power scheduling based on the optimal scheduling plan.
[0111] In the embodiment of the present application, the processing unit 301 predicts the computing power cost based on the historical cost data of the computing power resources of the candidate resource node and in combination with the empirical mode decomposition algorithm and the neural network algorithm, including:
[0112] For each candidate resource node, perform the following operations:
[0113] Determine the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and in combination with the empirical mode decomposition algorithm and the neural network algorithm;
[0114] Determine an error prediction value based on the historical cost data sequence and the original cost prediction value of the computing power in combination with a neural network algorithm;
[0115] A final prediction value of the computing power cost is determined based on the error prediction value and the original computing power cost prediction value.
[0116] In the embodiment of the present application, the processing unit 301 determines the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and in combination with the empirical mode decomposition algorithm and the neural network algorithm, including:
[0117] Decomposing the historical cost data sequence based on an empirical mode decomposition algorithm to obtain components and residual terms reflecting the intrinsic mode function of the historical cost data sequence;
[0118] Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively;
[0119] The predicted values corresponding to the components and the residual items are linearly superimposed to obtain the predicted value of the original cost of computing power.
[0120] In the embodiment of the present application, the processing unit 301 determines the error prediction value based on the historical cost data sequence and the original cost prediction value of the computing power, including:
[0121] Determine a computing power error sequence component based on the historical cost data sequence and the computing power original cost prediction value;
[0122] Decomposing the computing power error sequence components to obtain components and residual terms reflecting the intrinsic mode functions of the computing power error sequence components;
[0123] Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively;
[0124] The predicted values corresponding to the components and the residual terms are linearly superimposed to obtain the error prediction value.
[0125] In the embodiment of the present application, the processing unit 301 determines the final prediction value of the computing power cost based on the error prediction value and the original computing power cost prediction value, including:
[0126] The error prediction value and the original computing power cost prediction value are linearly superimposed to obtain a final prediction value of the computing power cost.
[0127] In the embodiment of the present application, the processing unit 301 determines the optimal scheduling scheme of the task cost based on the predicted computing power cost, including:
[0128] Determine the computing power cost corresponding to each candidate resource node;
[0129] Cost calculation of different scheduling schemes based on the computing power costs of all candidate resource nodes;
[0130] The scheduling plan with the lowest cost is determined as the optimal scheduling plan.
[0131] In the embodiment of the present application, the processing unit 301 is also used to predict the computing cost of the deployment phase based on the historical cost data of the computing resources of the candidate resource node.
[0132] Obtain historical cost data of computing power resources of candidate resource nodes;
[0133] The resource pricing model in the historical cost data is converted into daily resource usage costs to form daily data of computing power costs.
[0134] In the embodiment of the present application, after the processing unit 301 performs computing power scheduling based on the optimal scheduling scheme, it is also used to
[0135] In the event that the pricing model of computing power resources changes, re-forecast the computing power cost and re-determine the optimal scheduling solution;
[0136] If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
[0137] In the embodiment of the present application, after the processing unit 301 performs computing power scheduling based on the optimal scheduling scheme, it is also used to
[0138] When the preset time period arrives, re-predict the computing power cost and re-determine the optimal scheduling plan;
[0139] If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
[0140] In actual application, the processing unit 301 can be implemented by a processor in a computing power scheduling device.
[0141] It should be noted that: the computing power scheduling device provided in the above embodiment only uses the division of the above program modules as an example when communicating. In actual applications, the above processing allocation can be completed by different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0142] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a computing power scheduling device, such as Figure 4 As shown, the computing power scheduling device 400 includes:
[0143] The first communication interface 401 is capable of exchanging information with other nodes on the network side;
[0144] A first processor 402 is connected to the first communication interface 401 to implement information interaction with other nodes on the network side, and is used to execute the method provided by one or more technical solutions of the computing power scheduling device when running a computer program;
[0145] A first memory 403 , in which the computer program is stored.
[0146] Specifically, the first processor 402 is used to predict the computing power cost based on the historical cost data of the computing power resources of the alternative resource nodes and in combination with the empirical mode decomposition algorithm and the neural network algorithm; determine the optimal scheduling plan for the task cost based on the predicted computing power cost; and perform computing power scheduling based on the optimal scheduling plan.
[0147] In the embodiment of the present application, the first processor 402 predicts the computing power cost based on the historical cost data of the computing power resources of the candidate resource node and in combination with the empirical mode decomposition algorithm and the neural network algorithm, including:
[0148] For each candidate resource node, perform the following operations:
[0149] Determine the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and in combination with the empirical mode decomposition algorithm and the neural network algorithm;
[0150] Determine an error prediction value based on the historical cost data sequence and the original cost prediction value of the computing power in combination with a neural network algorithm;
[0151] A final prediction value of the computing power cost is determined based on the error prediction value and the original computing power cost prediction value.
[0152] In the embodiment of the present application, the first processor 402 determines the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and in combination with the empirical mode decomposition algorithm and the neural network algorithm, including:
[0153] Decomposing the historical cost data sequence based on an empirical mode decomposition algorithm to obtain components and residual terms reflecting the intrinsic mode function of the historical cost data sequence;
[0154] Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively;
[0155] The predicted values corresponding to the components and the residual items are linearly superimposed to obtain the predicted value of the original cost of computing power.
[0156] In the embodiment of the present application, the first processor 402 determines the error prediction value based on the historical cost data sequence and the computing power original cost prediction value, including:
[0157] Determine a computing power error sequence component based on the historical cost data sequence and the computing power original cost prediction value;
[0158] Decomposing the computing power error sequence components to obtain components and residual terms reflecting the intrinsic mode functions of the computing power error sequence components;
[0159] Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively;
[0160] The predicted values corresponding to the components and the residual terms are linearly superimposed to obtain the error prediction value.
[0161] In the embodiment of the present application, the first processor 402 determines the final prediction value of the computing power cost based on the error prediction value and the original computing power cost prediction value, including:
[0162] The error prediction value and the original computing power cost prediction value are linearly superimposed to obtain a final prediction value of the computing power cost.
[0163] In the embodiment of the present application, the first processor 402 determines the optimal scheduling solution of the task cost based on the predicted computing power cost, including:
[0164] Determine the computing power cost corresponding to each candidate resource node;
[0165] Cost calculation of different scheduling schemes based on the computing power costs of all candidate resource nodes;
[0166] The scheduling plan with the lowest cost is determined as the optimal scheduling plan.
[0167] In the embodiment of the present application, before the first processor 402 predicts the computing cost of the deployment phase based on the historical cost data of the computing resources of the candidate resource node, it is also used to
[0168] Obtain historical cost data of computing power resources of candidate resource nodes;
[0169] The resource pricing model in the historical cost data is converted into daily resource usage costs to form daily data of computing power costs.
[0170] In the embodiment of the present application, after the first processor 402 performs computing power scheduling based on the optimal scheduling solution, it is also used to
[0171] In the event that the pricing model of computing power resources changes, re-forecast the computing power cost and re-determine the optimal scheduling solution;
[0172] If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
[0173] In the embodiment of the present application, after the first processor 402 performs computing power scheduling based on the optimal scheduling solution, it is also used to
[0174] When the preset time period arrives, re-predict the computing power cost and re-determine the optimal scheduling plan;
[0175] If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
[0176] It should be noted that the specific processing process of the first communication interface 401 and the first processor 402 can be understood by referring to the above method, which will not be repeated here.
[0177] Of course, in actual application, the various components in the computing power scheduling device 400 are coupled together through the bus system 404. It can be understood that the bus system 404 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 404 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 4 Various buses are labeled as bus system 404 .
[0178] The first memory 403 in the embodiment of the present application is used to store various types of data to support the operation of the computing power scheduling device 400. Examples of such data include: any computer program used to operate on the computing power scheduling device 400.
[0179] The method disclosed in the above embodiment of the present application can be applied to the first processor 402, or implemented by the first processor 402. The first processor 402 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 402. The above-mentioned first processor 402 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 402 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 403, and the first processor 402 reads the information in the first memory 403, and completes the steps of the above method in combination with its hardware.
[0180] In an exemplary embodiment, the computing power scheduling device 400 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0181] In an exemplary embodiment, the present application embodiment further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 403 storing a computer program, and the above-mentioned computer program can be executed by the first processor 402 of the computing power scheduling device 400 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0182] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0183] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0184] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A computing power scheduling method, characterized in that: Applied to the dispatch center of a computing power network, the method includes: Based on the historical cost data of computing power resources of candidate resource nodes, the computing power cost is predicted by combining the empirical mode decomposition algorithm and the neural network algorithm; Determine an optimal scheduling solution for task costs based on the predicted computing power costs; Computing power is scheduled based on the optimal scheduling solution.
2. The method according to claim 1, characterized in that The method of predicting computing power cost based on historical cost data of computing power resources of candidate resource nodes and combining empirical mode decomposition algorithm and neural network algorithm includes: For each candidate resource node, perform the following operations: Determine the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and in combination with the empirical mode decomposition algorithm and the neural network algorithm; Determine an error prediction value based on the historical cost data sequence and the original cost prediction value of the computing power in combination with a neural network algorithm; A final prediction value of the computing power cost is determined based on the error prediction value and the original computing power cost prediction value.
3. The method according to claim 2, characterized in that The determining of the original cost prediction value of computing power based on the historical cost data sequence in the historical cost data and in combination with an empirical mode decomposition algorithm and a neural network algorithm includes: Decomposing the historical cost data sequence based on an empirical mode decomposition algorithm to obtain components and residual terms reflecting the intrinsic mode function of the historical cost data sequence; Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively; The predicted values corresponding to the components and the residual items are linearly superimposed to obtain the predicted value of the original cost of computing power.
4. The method according to claim 2, characterized in that: The determining of the error prediction value based on the historical cost data sequence and the original computing power cost prediction value comprises: Determine a computing power error sequence component based on the historical cost data sequence and the computing power original cost prediction value; Decomposing the computing power error sequence components to obtain components and residual terms reflecting the intrinsic mode functions of the computing power error sequence components; Performing prediction processing on the components and residual items based on a neural network algorithm to obtain prediction values corresponding to the components and residual items respectively; The predicted values corresponding to the components and the residual terms are linearly superimposed to obtain the error prediction value.
5. The method according to claim 2, characterized in that: The determining the final predicted value of the computing power cost based on the error predicted value and the original predicted value of the computing power cost includes: The error prediction value and the original computing power cost prediction value are linearly superimposed to obtain a final prediction value of the computing power cost.
6. The method according to claim 1, characterized in that The optimal scheduling scheme for determining the task cost based on the predicted computing power cost includes: Determine the computing power cost corresponding to each candidate resource node; Cost calculation of different scheduling schemes based on the computing power costs of all candidate resource nodes; The scheduling plan with the lowest cost is determined as the optimal scheduling plan.
7. The method according to claim 1, characterized in that Before predicting the computing power cost, the method further includes: Obtain historical cost data of computing power resources of candidate resource nodes; The resource pricing model in the historical cost data is converted into daily resource usage costs to form daily data of computing power costs.
8. The method according to claim 1, characterized in that After computing power scheduling is performed based on the optimal scheduling solution, the method further includes: In the event that the pricing model of computing power resources changes, re-forecast the computing power cost and re-determine the optimal scheduling solution; If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
9. The method according to claim 1, characterized in that: After performing computing power scheduling based on the optimal scheduling solution, the method further includes: When the preset time period arrives, re-predict the computing power cost and re-determine the optimal scheduling plan; If the cost corresponding to the re-determined optimal scheduling solution is greater than the preset threshold, the computing power scheduling is performed again.
10. A computing power scheduling device, characterized in that: include: The processing unit is used to predict the computing power cost based on the historical cost data of the computing power resources of the alternative resource nodes and in combination with the empirical mode decomposition algorithm and the neural network algorithm; determine the optimal scheduling plan for the task cost based on the predicted computing power cost; and perform computing power scheduling based on the optimal scheduling plan.
11. A computing power scheduling device, characterized in that: include: The first processor is used to predict the computing power cost based on the historical cost data of the computing power resources of the alternative resource nodes and in combination with the empirical mode decomposition algorithm and the neural network algorithm; determine the optimal scheduling plan for the task cost based on the predicted computing power cost; and perform computing power scheduling based on the optimal scheduling plan.
12. A computing power scheduling device, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 9 are executed.
13. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
