Intelligent scheduling method and device for computing power network
By preprocessing and model optimization of historical data of the computing power network, an intelligent scheduling model is constructed, which solves the problem of insufficient efficiency and accuracy of computing power network scheduling in the existing technology, achieves efficient and low-cost resource allocation, and improves the efficiency of the computing power network. System operational efficiency.
Patent Information
- Application Number
- CN202410531649.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-10-18
AI Technical Summary
The decision-making accuracy and efficiency of existing computing power network scheduling solutions are not high and cannot meet operational needs in complex business and resource expansion environments, resulting in high maintenance costs and affecting system operation efficiency.
By preprocessing historical business-related data of the computing network, training data is generated, and the pre-trained model is used for inference operations, optimizing the loss function to build a computing network scheduling model, and determining the target cloud computing group for scheduling based on real-time business information. , improve the accuracy and efficiency of resource allocation.
Intelligent scheduling with minimum manual participation and optimal cost accounting is achieved, reducing manual investment costs in the operation process, improving the overall operating efficiency of the system, and ensuring rapid execution of user services and minimal system overhead.
Smart Images

Figure CN118802912A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud computing technology, and in particular to a method and device for intelligent scheduling of computing power networks. Background Art
[0003] Intelligent scheduling of computing network resources is an important part of the development of computing networks. Building an advanced scheduling center can optimize the entire computing network resource architecture and provide efficient and high-quality service capabilities to upper-level applications.
[0004] As the computing network construction of major operators progresses, different types of computing scheduling solutions have begun to be introduced on the market. The existing solutions include some simple capacity matching methods, but the accuracy and efficiency of decision-making are not satisfactory. Summary of the invention
[0005] The present application aims to solve one of the technical problems in the related art at least to some extent.
[0006] To this end, the first objective of this application is to propose a computing power network intelligent scheduling method.
[0007] The second object of the present application is to provide a device.
[0008] The third objective of the present application is to provide an electronic device.
[0009] A fourth objective of the present application is to provide a computer-readable storage medium.
[0010] A fifth object of the present application is to provide a computer program product.
[0011] To achieve the above objectives, the first embodiment of the present application proposes a computing power network intelligent scheduling method, including:
[0012] Preprocessing historical business-related data of the computing power network to obtain training data, wherein the training data includes label data, and the computing power network includes multiple cloud computing power groups;
[0013] Inputting the training data into a pre-training model for inference operation to generate a training result;
[0014] Determine a loss function according to the training result and the corresponding label data, and optimize the pre-trained model according to the loss function to generate a computing power network scheduling model;
[0015] Inputting the real-time business related information data corresponding to the current business into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current business;
[0016] The target cloud computing group is scheduled to process the current business.
[0017] Optionally, the training data includes at least one of the following: business information data, demand data, cloud computing group availability status data, current network data, business billing data, and business execution result data;
[0018] Optionally, the preprocessing of historical business-related data of the computing power network to obtain training data includes at least one of the following:
[0019] Associating the historical business related data according to the business number and timestamp;
[0020] Determine the service type of the service corresponding to the service number, and determine the service information data according to the service number and the service type;
[0021] Determine the demand data according to the static demand and the dynamic demand corresponding to the business type;
[0022] Determine a status identifier according to the current available status of all cloud computing groups, obtain the current usage rate of each host in the cloud computing group, and use the status identifier and the usage rate as the available status data of the cloud computing group;
[0023] Determining the current network data according to the relative distance between the cloud computing power group center and the user location;
[0024] Determine a relative cost composition according to a ratio between the costs of each of the cloud computing power groups, and use the relative cost composition as the business bill data;
[0025] A decision tag is determined according to the cloud computing power group corresponding to the business number, and the business execution result data is generated according to the decision tag, wherein the business execution result data is the tag data.
[0026] Optionally, inputting the training data into a pre-trained model for inference operation to generate a training result includes:
[0027] Inputting the training data into each neuron in the pre-trained model;
[0028] The training data is weighted and accumulated in the neuron, and an activation function is input as an output value of the neuron;
[0029] The training result is obtained according to the output value.
[0030] Optionally, the training result includes a training score corresponding to each of the cloud computing power groups, and determining a loss function according to the training result and the corresponding label data, and optimizing the pre-trained model according to the loss function to generate a computing power network scheduling model, including:
[0031] The training scores and the business execution result data corresponding to each of the cloud computing power groups are input into the loss function to determine the loss function value.
[0032] Perform back propagation according to the loss function value to determine a gradient vector;
[0033] With the goal of reducing the loss function value, the weight value in each of the neurons is adjusted according to the gradient vector.
[0034] Optionally, inputting the real-time service-related information data corresponding to the current service into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current service includes:
[0035] Input the real-time business related information data into the computing power network scheduling model for inference operation to generate a decision score corresponding to each cloud computing power group under the current business, wherein the real-time business related information data includes at least one of the following: business information data, demand data, cloud computing power group available status data, current network data, and business bill data;
[0036] The cloud computing power group corresponding to the maximum value in the decision score is used as the target cloud computing power group.
[0037] To achieve the above-mentioned purpose, the second embodiment of the present application proposes a computing power network intelligent scheduling device, including:
[0038] A training data processing module, used for preprocessing historical business-related data of the computing power network to obtain training data, wherein the training data includes label data, and the computing power network includes multiple cloud computing power groups;
[0039] A training module, used for inputting the training data into a pre-training model for performing an inference operation to generate a training result;
[0040] An optimization module, used to determine a loss function according to the training results and the corresponding label data, and optimize the pre-trained model according to the loss function to generate a computing power network scheduling model;
[0041] A decision module, used to input the real-time business-related information data of the computing power network into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current business;
[0042] The computing power scheduling module is used to schedule the target cloud computing power group to process the current business.
[0043] Optionally, the training module includes:
[0044] A data input module, used for inputting the training data into each neuron in the pre-training model;
[0045] A calculation module, used for accumulating the weighted training data in the neuron and inputting an activation function as an output value of the neuron;
[0046] A result output module is used to obtain the training result according to the output value.
[0047] To achieve the above-mentioned purpose, the third aspect of the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0048] The memory stores computer-executable instructions;
[0049] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0050] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present application proposes a computer-readable storage medium, in which computer-readable storage medium is stored computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0051] To achieve the above-mentioned purpose, the fifth aspect of the present application proposes a computer program product, which implements any method in the first aspect when executed by a processor.
[0052] The computing network intelligent scheduling method, device, electronic device and storage medium provided in this application are based on deep learning, and learn the characteristics of cloud computing groups by loading historical business-related data, build a computing network scheduling model, and learn to intelligently select the best cloud computing group from a large amount of actual business data used by the computing network. It can improve the accuracy and efficiency of selecting computing network resources for business.
[0053] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0055] Figure 1 A flowchart of a computing power network intelligent scheduling method provided in an embodiment of the present application;
[0056] Figure 2A flowchart of a computing power network intelligent scheduling method provided in an embodiment of the present application;
[0057] Figure 3 A schematic diagram of a pre-training model structure provided in an embodiment of the present application;
[0058] Figure 4 A schematic diagram of the structure of a computing power network intelligent scheduling device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0060] Technological innovations such as the Internet, big data, cloud computing, artificial intelligence, and blockchain have accelerated the development of the digital economy. The development of the data economy will drive the generation of massive amounts of data, and data processing requires powerful computing power coordinated by the cloud, edge, and end, as well as extensive network connections.
[0061] The computing network is a new type of information infrastructure that allocates and flexibly schedules computing resources, storage resources, and network resources between the cloud, edge, and end based on business needs. The essence of the computing network is a computing resource service. In the future, corporate customers or individual users will not only need networks and clouds, but also need to flexibly schedule computing tasks to the right place.
[0062] The core value of the network is to improve efficiency. The telephone network has improved the efficiency of human communication, the Internet has improved the efficiency of human collaboration, and the emergence of computing power networks is to improve the efficiency of collaborative work among cloud, edge, and end computing. The difference is that traditional networks directly serve humans, while computing power networks directly serve intelligent machines and indirectly serve humans through intelligent machines.
[0063] The computing power network builds an interconnected network of massive data, efficient computing power, and ubiquitous intelligence, bringing intelligence to every person, every family, and every organization.
[0064] When computing network resources are relatively fixed, the number of resources is small, and the network environment does not change much, the existing technology can complete the resource allocation strategy of the entire system through simple rule formulation. However, when the resources of the entire system are expanded, the resource level increases, the environment changes greatly, and the business becomes more and more complex, the existing technology cannot meet the operational needs and brings huge maintenance costs, which will ultimately greatly affect the operational efficiency of the entire computing network system.
[0065] To address this problem, the present application provides a computing power network intelligent scheduling method. Figure 1 A flowchart of a computing power network intelligent scheduling method provided by an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0066] Step 101, preprocessing historical business-related data of a computing power network to obtain training data, wherein the training data includes label data, and the computing power network includes multiple cloud computing power groups;
[0067] The purpose of this embodiment is to use six types of data, including actual operation business information data of the computing network, static and dynamic data generated by demand, resource status data, billing data, network line data, and business execution data, through technical means to complete intelligent scheduling with minimum human involvement and optimal cost accounting from the business execution process of the computing network. To achieve the following goals: the cloud computing group node closest to the user will be allocated, the user's business execution will be the fastest, the overall system overhead will be the smallest, and the labor input cost in the operation link will be minimized.
[0068] A neural network model is used to make decisions to determine which cloud computing group the current business should be assigned to. First, the model needs to be trained. The data used for training is the historical business-related data of the computing network. Features are extracted and the model is trained based on the decisions made when the business was executed in the computing network in the past.
[0069] Preprocess the historical business-related data to normalize it and generate a format suitable for input model training data. Optionally, the training data is divided into multiple batches. Batch_Size characterizes the size of each batch of samples, that is, the amount of training data in a batch of data. Training a batch is an iteration. The size of Batch Size affects the optimization degree and speed of the model. At the same time, it directly affects the usage of GPU memory. If the GPU memory is not large, it is best to set this value smaller.
[0070] Step 102, inputting the training data into a pre-training model for inference operation to generate a training result;
[0071] In this embodiment, the "pre-training" approach is generally to put a large amount of low-cost collected training data together, learn the commonalities among them through some pre-training method, and then "transplant" the commonalities into the model of a specific task, and then use a small amount of labeled data in the relevant specific field for "fine-tuning". In this way, the model only needs to start from the "commonalities" to "learn" the "special" part of the specific task.
[0072] The pre-trained model has been trained using a large amount of data related to the computing network, and can initially extract features from the training data. Using the training data to train the mature pre-trained model and adjusting the parameters in the pre-trained model can effectively reduce the training time and improve the training efficiency. During the training process, the training data is first input into the pre-trained model for preliminary reasoning operations to generate training results.
[0073] Step 103, determining a loss function according to the training result and the corresponding label data, and optimizing the pre-trained model according to the loss function to generate a computing power network scheduling model;
[0074] In this embodiment, after generating the training results, the pre-trained model needs to be specially optimized for this training task. The training results may be different from the label data corresponding to the samples in the training data. This difference is calculated according to the loss function, and the parameters in the pre-trained model are adjusted with the goal of minimizing the value of the loss function. After multiple rounds of iterative optimization, the value of the loss function is reduced and stabilized below a certain threshold. The final model obtained is a computing power network scheduling model.
[0075] Step 104: input the real-time service-related information data corresponding to the current service into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current service;
[0076] In this embodiment, after the computing power network scheduling model is trained, it can be put into actual application. When allocating services, the real-time business-related information data corresponding to the current business is input into the computing power network scheduling model for reasoning operation, and a decision score can be output, which represents the degree of fit between the current business and each cloud computing power group. The higher the degree of fit, the more suitable the business is for the cloud computing power group to execute. In this way, the most suitable cloud computing power group is determined as the target cloud computing power group.
[0077] Step 105: Schedule the target cloud computing group to process the current business.
[0078] In this embodiment, after determining the target cloud computing group, an instruction can be sent to notify the cloud computing group to execute the current business.
[0079] This embodiment is based on deep learning, which learns the characteristics of cloud computing groups by loading historical business-related data, builds a computing network scheduling model, and learns to intelligently select the best cloud computing group from a large amount of actual business data used by the computing network. This can improve the accuracy and efficiency of selecting computing network resources for a business.
[0080] Optionally, the training data includes at least one of the following: business information data, demand data, cloud computing group availability status data, current network data, business billing data, and business execution result data.
[0081] In this embodiment, business information data can be used to distinguish the types of such businesses, such as "pure computing" and "rendering", and the system initially predefines N types of businesses; the static and dynamic requirements of the needs are used to determine the resource requirements, such as "5 GPU hosts are required, with a memory of more than 8G, a data volume of 1T, and a processing time requirement of less than 2h, etc."; the available status data of the cloud computing power group is used to determine the overall resource pool, including all mounted cloud resource groups; the current network data is used to determine all available network resources at that point in time; the billing data after the business is executed is used to analyze the cost status of the business; the business execution result data includes the execution time of the business, the details of the resources called (such as how many machines, which clouds they belong to, network usage, etc.) to determine the best scheduling result for the actual business operation.
[0082] This embodiment provides another computing power network intelligent scheduling method. Figure 2 A flowchart of a computing power network intelligent scheduling method provided by an embodiment of the present application. Figure 2 As shown, Figure 1 Step 101 pre-processes historical business-related data of the computing network to obtain training data, including at least one of the following:
[0083] Step 201, associating the historical business related data according to the business number and timestamp;
[0084] Step 202, determining the service type of the service corresponding to the service number, and determining the service information data according to the service number and the service type;
[0085] Step 203, determining the demand data according to the static demand and dynamic demand corresponding to the business type;
[0086] Step 204, determining a status identifier according to the current available status of all cloud computing groups, obtaining the current usage rate of each host in the cloud computing group, and using the status identifier and the usage rate as the available status data of the cloud computing group;
[0087] Step 205, determining the current network data according to the relative distance between the cloud computing power group center and the user location;
[0088] Step 206, determining a relative cost composition according to a ratio between the costs of each of the cloud computing power groups, and using the relative cost composition as the business bill data;
[0089] Step 207, determining a decision tag according to the cloud computing power group corresponding to the business number, and generating the business execution result data according to the decision tag, wherein the business execution result data is the tag data.
[0090] In this embodiment, machine algorithms are used to implement data modeling and training. The training data set, test data set, and production data must be preprocessed before use. After associating various types of data with the service number and timestamp as conditions, the idleness of each cloud computing group at each service execution time point, the distance from the user, etc. are obtained and counted in a single service execution environment. After data preprocessing, a two-dimensional matrix is formed, as shown in Table 1:
[0091] x1 x2 x3 x4 x5 x6 x7 x8 x9 Y 13 3 0|5|0|16|8|1024| 10|24| 111 536 80|70|60 546 1 010 14 5 5|0|6|8|16|2048| 5|48| 111 332 70|70|60 523 1 001 15 4 5|3|6|8|32|2048| 50|96| 111 345 50|50|80 345 1 100
[0092] Table 1
[0093] Among them: x1 and x2 belong to business information data, x3 and x4 belong to business information data, x5 and x7 belong to cloud computing group available status data, x6 belongs to current network data, x8 belongs to business bill data, and Y belongs to business execution result data.
[0094] The x1 column is the business number, which is a unique identifier used to represent the business. Each business has a different business number.
[0095] The x2 column is the service type. In this embodiment, 10 service types are set, represented by 1-10 respectively;
[0096] x3 is a static requirement, including: number of CPU hosts | number of GPU hosts | number of DPU hosts | main frequency requirements | memory requirements | storage requirements | other requirements;
[0097] x4 is a dynamic requirement, including: cost limit | execution time limit | other limits;
[0098] The x5 column is the status identifier corresponding to the available status of all current cloud computing groups. For example, if there are three cloud computing groups in total, 111 means that all three cloud computing groups are available; 101 means that the second cloud computing group is unavailable;
[0099] The x6 column is the relative distance between the current center of each cloud computing group and the user's location. Based on this distance, the current network data corresponding to each cloud computing group can be determined;
[0100] The x7 column is the utilization rate of the hosts in each cloud computing group. It reflects the busyness of each cloud computing group and is expressed as the percentage of the hosts in each computing group (that is, whether the hosts are currently processing other services). For example, 70 means that 70% of the hosts in a cloud computing group are currently in use and 30% are idle. This value is reported regularly by each cloud computing group;
[0101] The x8 column is the current business bill data of each cloud computing group, which represents the relative cost composition of the cloud computing group (that is, the amount of cloud business consumption). This value comes from the comparison of statistical results of historical business operations. For example, 546 means that without considering the cost of cloud service consumption, after the same similar business is run in different cloud computing groups, the relative cost of the first cloud computing group is 5 (the amount to be paid is 5), the relative cost of the second cloud computing group is 4 (the amount to be paid is 4), and the relative cost of the third computing group is 6 (the amount to be paid is 6). This value is of great significance in the scheduling process that is particularly sensitive to cost;
[0102] The x9 column is reserved and currently filled with 1 to facilitate future expansion;
[0103] Y is the decision label for the cloud computing group, which indicates the cloud computing group that is finally selected to execute the business when the business number corresponding to x1 makes a decision. For example, if there are three cloud computing groups in total, 100 means selecting cloud computing group 1; 010 means selecting cloud computing group 2; and 001 means selecting cloud computing group 3.
[0104] Each line is the summary characteristic data of a specific business.
[0105] Origin of the y value: Since cloud services from different manufacturers have different degrees of compatibility with the services required by users, all cloud resource pools are divided into multiple cloud computing groups according to manufacturer categories. Taking the current three cloud computing groups as an example, the initial business operation uses a simple comparison to find the cloud computing group closest to the user's location, and comprehensively considers dimensions such as network, resource capabilities, and cost accounting, and designates a cloud computing group to be responsible for processing all user needs. For example, if computing group No. 2 is finally designated, Y is 010.
[0106] In a possible embodiment, data (historical business-related data) of all business executions that have been confirmed to be completed within a time range of more than half a year are obtained from the customer service and operation and maintenance departments, and the data is preprocessed according to the data preprocessing requirements by associating the business number and time. Among the preprocessed data sets, 80% is used as training data and 20% is used as test data.
[0107] Optionally, the step 102 of inputting the training data into a pre-trained model for inference operation to generate a training result includes:
[0108] Inputting the training data into each neuron in the pre-trained model;
[0109] The training data is weighted and accumulated in the neuron, and an activation function is input as an output value of the neuron;
[0110] The training result is obtained according to the output value.
[0111] Optionally, the step 103 determines a loss function according to the training result and the corresponding label data, and optimizes the pre-trained model according to the loss function to generate a computing power network scheduling model, including:
[0112] The training scores and the business execution result data corresponding to each of the cloud computing groups are input into a loss function to determine a loss function value. The training results include the training scores corresponding to each of the cloud computing groups.
[0113] Perform back propagation according to the loss function value to determine a gradient vector;
[0114] With the goal of reducing the loss function value, the weight value in each of the neurons is adjusted according to the gradient vector.
[0115] Figure 3 A schematic diagram of a pre-training model structure provided in an embodiment of the present application. Figure 3 As shown, we use frameworks such as numpy and pandas to load the training data set, and use the tensorflow tool to train the model. The figure includes:
[0116] Feature data: columns x1 to x9; Target label data is the Y column; Estimator uses DNNClassifier.
[0117] The training process is:
[0118] 1. Use tf.data to load business information data, demand data, cloud computing group available status data, current network data, business billing data, business execution result data, and instantiate reading of training data and test data.
[0119] 2. Model building and debugging Use the dynamic graph mode Eager Execution and the well-known neural network high-level API framework Keras, combined with the visualization tool TensorBoard, to easily and quickly build and debug the model.
[0120] 3. Model training: Make full use of massive data and computing resources for efficient training according to data element groups.
[0121] 4. Pre-trained model call: Through TensorFlow Hub, you can easily call pre-trained mature models.
[0122] 5. Model deployment: Through components such as TensorFlow Serving, TensorFlow Lite, and TensorFlow.js, the TensorFlow model can be deployed to various usage scenarios such as servers, mobile terminals, and embedded terminals.
[0123] 6. Input the test data and training data into the neural network (the input value of each neuron is first weighted and accumulated, and then the activation function is input as the output value of the neuron) and forward propagate to obtain the score.
[0124] 7. Input the "score" into the loss function (regularization penalty to prevent overfitting), compare it with the expected value to get the error, and sum it if there are multiple scores. The degree of recognition is judged by the error (the smaller the loss value, the better).
[0125] 8. Determine the gradient vector through back propagation (reverse derivative, required for the error function and each activation function in the neural network, the ultimate goal is to minimize the error).
[0126] 9. Finally, each weight is adjusted through the gradient vector to adjust the "score" so that the error tends to 0 or converges.
[0127] 10. Repeat the above process until the set number of times or the average value of the loss error no longer decreases (lowest point).
[0128] 11. Training completed.
[0129] If the model prediction success rate meets expectations, the model can be applied to the entire network data for cloud computing group scheduling selection. If the model prediction success rate does not meet expectations, continue to add training data sets and test data sets, and iterate the training model again until the prediction success rate meets expectations.
[0130] In this embodiment, in a fully connected neural network, each neuron in each layer is connected to all neurons or input data in the previous layer. Therefore, when calculating, the output of each neuron = the cumulative sum of the activation function of the previous layer.
[0131] Backpropagation (BP) is short for "error back propagation". It is a learning algorithm suitable for multi-layer neural networks. It is based on the gradient descent method. Gradient descent is a common method for training neural networks. Many training methods are improved based on the gradient descent method, so it is important to understand the gradient descent method. The gradient descent method calculates the gradient of the loss function and feeds this gradient back to the optimization function to update the weights to minimize the loss function.
[0132] In the forward propagation process, the input information passes through the input layer, the hidden layer, and is processed layer by layer and transmitted to the output layer. If the predicted value is different from the teacher value, the sum of the squares of the error between the output and the expected value is taken as the loss function (there are many loss functions, this is one of them).
[0133] The loss function in the forward propagation is passed into the back propagation process, and the partial derivative of the loss function with respect to the weight of each neuron is calculated layer by layer as the gradient of the objective function with respect to the weight. The weight is modified according to the calculated gradient, and the learning of the network is completed in the weight modification process. When the error reaches the expected value, the network learning ends.
[0134] Similar to forward propagation, in backward propagation, the nodes of the next layer are connected to multiple nodes of the previous layer, so the errors of all nodes need to be summed. After calculating the error of each neuron, the weights will be updated, and the training process is completed after the update.
[0135] Optionally, the step 104 inputs the real-time service-related information data corresponding to the current service into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current service, including:
[0136] Input the real-time business related information data into the computing power network scheduling model for inference operation to generate a decision score corresponding to each cloud computing power group under the current business, wherein the real-time business related information data includes at least one of the following: business information data, demand data, cloud computing power group available status data, current network data, and business bill data;
[0137] The cloud computing power group corresponding to the maximum value in the decision score is used as the target cloud computing power group.
[0138] In this embodiment, after the computing power network scheduling model performs inference operations on the real-time business related information data, it outputs the decision score corresponding to the current business for each cloud computing power group. The decision score represents the adaptability of the cloud computing power group to the current business. The higher the decision score, the higher the adaptability.
[0139] In a possible embodiment, there are three cloud computing power groups, and their corresponding decision scores are 0.05, 0.93, and 0.02, respectively. It can be determined that the second cloud computing power group is most suitable for executing the current business, and the second cloud computing power group can be determined as the target cloud computing power group.
[0140] Optionally, after generating the computing network scheduling model, use the latest data to iteratively train the model every month to continuously improve the model's predictable coverage and improve the accuracy of the model's decisions.
[0141] In order to implement the above embodiments, the present application also proposes a computing power network intelligent scheduling device. Figure 4 This is a schematic diagram of the structure of a computing power network intelligent scheduling device provided in an embodiment of the present application. Figure 4 As shown, the device comprises:
[0142] A training data processing module 410 is used to pre-process historical business-related data of the computing power network to obtain training data, wherein the training data includes label data, and the computing power network includes multiple cloud computing power groups;
[0143] A training module 420, configured to input the training data into a pre-trained model for performing an inference operation to generate a training result;
[0144] An optimization module 430, configured to determine a loss function according to the training result and the corresponding label data, and optimize the pre-trained model according to the loss function to generate a computing power network scheduling model;
[0145] The decision module 440 is used to input the real-time business-related information data of the computing power network into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current business;
[0146] The computing power scheduling module 450 is used to schedule the target cloud computing power group to process the current business.
[0147] Optionally, the training module 420 includes:
[0148] A data input module, used for inputting the training data into each neuron in the pre-training model;
[0149] A calculation module, used for accumulating the weighted training data in the neuron and inputting an activation function as an output value of the neuron;
[0150] A result output module is used to obtain the training result according to the output value.
[0151] In order to implement the above embodiments, the present application also proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the above embodiments.
[0152] In order to implement the above embodiments, the present application also proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.
[0153] In order to implement the above embodiments, the present application also proposes a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.
[0154] The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this application are in compliance with relevant laws and regulations and do not violate public order and good morals.
[0155] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign the agreement / authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.
[0156] The present application is expected to provide an implementation scheme for users to selectively block the use or access of personal information data. That is, the present disclosure is expected to provide hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, the risk can be minimized by limiting data collection and deleting the data. In addition, when applicable, such personal information is de-identified to protect the privacy of the user.
[0157] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0158] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0159] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0160] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0161] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0162] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0163] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0164] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A computing power network intelligent scheduling method, characterized in that: The following steps are involved: Preprocessing historical business-related data of the computing power network to obtain training data, wherein the training data includes label data, and the computing power network includes multiple cloud computing power groups; Inputting the training data into a pre-training model for inference operation to generate a training result; Determine a loss function according to the training result and the corresponding label data, and optimize the pre-trained model according to the loss function to generate a computing power network scheduling model; Inputting the real-time business related information data corresponding to the current business into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current business; The target cloud computing group is scheduled to process the current business.
2. The method according to claim 1, characterized in that The training data includes at least one of the following: business information data, demand data, cloud computing group availability status data, current network data, business billing data, and business execution result data; The preprocessing of the historical business-related data of the computing power network to obtain training data includes at least one of the following: Associating the historical business related data according to the business number and timestamp; Determine the service type of the service corresponding to the service number, and determine the service information data according to the service number and the service type; Determine the demand data according to the static demand and the dynamic demand corresponding to the business type; Determine a status identifier according to the current available status of all cloud computing groups, obtain the current usage rate of each host in the cloud computing group, and use the status identifier and the usage rate as the available status data of the cloud computing group; Determining the current network data according to the relative distance between the cloud computing power group center and the user location; Determine a relative cost composition according to a ratio between the costs of each of the cloud computing power groups, and use the relative cost composition as the business bill data; A decision tag is determined according to the cloud computing power group corresponding to the business number, and the business execution result data is generated according to the decision tag, wherein the business execution result data is the tag data.
3. The method according to claim 2, characterized in that The step of inputting the training data into a pre-training model for performing an inference operation to generate a training result includes: Inputting the training data into each neuron in the pre-trained model; The training data is weighted and accumulated in the neuron, and an activation function is input as an output value of the neuron; The training result is obtained according to the output value.
4. The method according to claim 3, characterized in that The training results include training scores corresponding to each of the cloud computing power groups, determining a loss function based on the training results and the corresponding label data, and optimizing the pre-trained model based on the loss function to generate a computing power network scheduling model, including: Input the training score and the business execution result data corresponding to each of the cloud computing power groups into a loss function to determine a loss function value; Perform back propagation according to the loss function value to determine a gradient vector; With the goal of reducing the loss function value, the weight value in each of the neurons is adjusted according to the gradient vector.
5. The method according to any one of claims 1 to 4, characterized in that The step of inputting the real-time service-related information data corresponding to the current service into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current service includes: Input the real-time business related information data into the computing power network scheduling model for inference operation to generate a decision score corresponding to each cloud computing power group under the current business, wherein the real-time business related information data includes at least one of the following: business information data, demand data, cloud computing power group available status data, current network data, and business bill data; The cloud computing power group corresponding to the maximum value in the decision score is used as the target cloud computing power group.
6. A computing power network intelligent scheduling device, characterized in that: include: A training data processing module, used for preprocessing historical business-related data of the computing power network to obtain training data, wherein the training data includes label data, and the computing power network includes multiple cloud computing power groups; A training module, used for inputting the training data into a pre-training model for performing an inference operation to generate a training result; An optimization module, used to determine a loss function according to the training results and the corresponding label data, and optimize the pre-trained model according to the loss function to generate a computing power network scheduling model; A decision module, used to input the real-time business-related information data of the computing power network into the computing power network scheduling model to determine the target cloud computing power group corresponding to the current business; The computing power scheduling module is used to schedule the target cloud computing power group to process the current business.
7. The device according to claim 6, characterized in that The training module includes: A data input module, used for inputting the training data into each neuron in the pre-training model; A calculation module, used for accumulating the weighted training data in the neuron and inputting an activation function as an output value of the neuron; A result output module is used to obtain the training result according to the output value.
8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 5 when being executed by a processor.
Citation Information
Patent Citations
Cloud computing resource scheduling method and scheduling system based on historical data perception
CN115934333A
Computing power network task scheduling method and device, computer equipment and storage medium
CN116263701A
Neural network model generation method based on computing power resource optimization and related device
CN116629347A
Resource scheduling method and device, equipment, program product and storage medium
CN117056018A
Cloud resource prediction algorithm based on GC-LSTM neural network model
CN117785443A
