Computing node scheduling method, device and equipment and computer storage medium

By building a service cluster and scheduling computing nodes according to service capability values, the problem of low resource scheduling efficiency in large-scale mixed resource pools is solved, resource utilization is improved, and resource waste is avoided.

CN118796439AActive Publication Date: 2024-10-18CHINA MOBILE GROUP ANHUI +1

Patent Information

Application Number
CN202410277125.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-12
Publication Date
2024-10-18
Estimated Expiration
2044-03-12

AI Technical Summary

Technical Problem

Existing technologies cannot effectively schedule virtualized computing nodes and bare metal servers in large-scale hybrid resource pools, resulting in low resource utilization and possible resource waste.

Method used

By obtaining business configuration requirement information, we build a service cluster and schedule computing nodes according to service capability values ​​to ensure that the service cluster can efficiently complete business requirements and avoid resource waste.

Benefits of technology

It improves resource utilization, ensures that the service cluster can efficiently complete business requirements, and solves the problem of resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796439A_ABST
    Figure CN118796439A_ABST
Patent Text Reader

Abstract

The invention discloses a computing node scheduling method and device, equipment and a computer storage medium. The method comprises the steps that under the condition that a cluster creation request is acquired, a plurality of computing nodes corresponding to the cluster creation request are acquired, and the cluster creation request comprises service configuration demand information; based on the plurality of computing nodes, at least one first service cluster is constructed according to the business configuration demand information, and the first service cluster comprises the computing nodes; obtaining a service capability value of at least one first service cluster; selecting a second service cluster of which the service capability value meets the target service capability value from the at least one first service cluster as a second service cluster; and scheduling the computing nodes in the second service cluster according to the computing nodes in the second service cluster. It is ensured that the constructed service cluster can efficiently complete business requirements, the problem of resource waste is avoided, and the utilization rate of resources is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and in particular, relates to a scheduling method, device, equipment and computer storage medium for computing nodes. Background Art

[0002] As applications continue to migrate to the cloud, some applications are increasingly demanding the computing power that cloud platforms can provide. In this case, the computing performance of traditional virtualized computing nodes provided by cloud platforms will not meet the needs of business use. In order to make up for the disadvantages of single virtualized computing nodes in computing performance, cloud platforms provide bare metal servers as a basic computing resource for business use. Bare metal servers and virtualized computing nodes jointly build a hybrid resource pool. With bare metal servers, cloud platforms can provide businesses with near-native computing power. At present, the large-scale hybrid resource pool of cloud platforms deploys and manages tens of thousands of virtualized computing nodes and tens of thousands of bare metal servers. As the scale of cloud platforms gradually expands, the scale of virtualized computing nodes and bare metal servers is also increasing, and their respective product characteristics are becoming more and more obvious.

[0003] In the prior art, for resource scheduling scenarios of large-scale hybrid resource pools, the same scheduling module is generally used to uniformly schedule virtualized computing nodes and bare metal servers. However, this resource scheduling method may not meet the normal usage needs of users and may also waste resources. Summary of the invention

[0004] The embodiments of the present application provide a scheduling method, apparatus, device and computer storage medium for computing nodes, which accurately construct a service cluster according to business configuration requirement information, select the service cluster with the highest service capability value for deployment, and schedule the corresponding computing nodes, thereby ensuring that the constructed service cluster can efficiently complete business requirements, avoiding the problem of resource waste and improving resource utilization.

[0005] In a first aspect, an embodiment of the present application provides a scheduling method for a computing node, including:

[0006] When a cluster creation request is obtained, multiple computing nodes corresponding to the cluster creation request are obtained, where the cluster creation request includes business configuration requirement information;

[0007] Based on the multiple computing nodes, at least one first service cluster is constructed according to the business configuration requirement information, the first service cluster including computing nodes;

[0008] Obtaining a service capability value of at least one first service cluster;

[0009] Selecting a second service cluster whose service capability value meets the target service capability value from at least one first service cluster;

[0010] Schedule computing nodes in the second service cluster.

[0011] In a possible implementation, the cluster creation request further includes node configuration requirement information; obtaining multiple computing nodes corresponding to the cluster creation request includes:

[0012] From the preset computing nodes, multiple computing nodes corresponding to the node configuration requirement information are screened.

[0013] In a possible implementation, multiple computing nodes corresponding to the node configuration requirement information are screened from the preset computing nodes, including:

[0014] Generate a computing node screening message according to the node configuration requirement information, where the computing node screening message includes the node configuration requirement information;

[0015] In the case where a computing node screening message is detected, multiple computing nodes corresponding to the node configuration requirement information in the computing node screening message are screened from preset computing nodes.

[0016] In a possible implementation embodiment, obtaining a service capability value of at least one first service cluster includes:

[0017] Acquire historical operation data and historical service configuration requirement information of each service in at least one first service cluster;

[0018] Detecting whether the historical operation data of each service in each first service cluster meets the historical service configuration requirement information, and obtaining a detection result, the detection result including the number of target services whose historical operation data meets the historical service configuration requirement information;

[0019] Determine a ratio of the number of target services in each first service cluster to the number of all services in each first service cluster, where the ratio represents a success rate of each first service cluster;

[0020] Selecting, from the at least one first service cluster, a third service cluster whose success rate is greater than a first preset value;

[0021] Selecting target historical operation data that meets historical business configuration requirement information from the historical operation data of the third service cluster;

[0022] Obtain the configuration parameters of the computing nodes in the target historical operation data;

[0023] Determine an observed value of a configuration parameter of each first service cluster in at least one first service cluster by using relationship information between the configuration parameter and the observed value;

[0024] Determine a target posterior probability distribution of each first service cluster according to the acquired joint prior probability distribution and the observed value, where the target posterior probability distribution is a posterior probability distribution of the service capability value of the service cluster;

[0025] The service capability value of each first service cluster is determined according to the target a posteriori probability distribution of each first service cluster, where the service capability value is the mean value of the target a posteriori probability distribution.

[0026] In a possible implementation, before determining the observed value of the configuration parameter of each first service cluster in at least one first service cluster by using the relationship information between the configuration parameter and the observed value, the method further includes:

[0027] The configuration parameters of each first service cluster in the at least one first service cluster are input into a service evaluation model, where the service evaluation model includes relationship information between the configuration parameters and the observed values ​​and a joint priori probability distribution.

[0028] In a possible implementation, before inputting the configuration parameters of each first service cluster in the at least one first service cluster into the service evaluation model, the method further includes:

[0029] Get the configuration parameters of the preset service cluster;

[0030] Inputting the configuration parameters of the preset service cluster into the initial service evaluation model, and determining the sample observation values ​​of the configuration parameters of the preset service cluster using the relationship information between the initial configuration parameters and the observation values ​​in the initial service evaluation model;

[0031] Determine the sample posterior probability distribution of the preset service cluster according to the initial joint prior probability distribution and the sample observation value in the initial service evaluation model, where the sample posterior probability distribution is the posterior probability distribution of the sample service capability value;

[0032] Determine the sample service capability value of the preset service cluster according to the sample posterior probability distribution of the preset service cluster, where the sample service capability value is the mean value of the sample posterior probability distribution;

[0033] The relationship information between the initial configuration parameters and the observed values ​​and the initial joint prior probability distribution are updated, and when the difference between the sample service capability value and the true service capability value is less than a second preset value, a service evaluation model is obtained.

[0034] In a second aspect, an embodiment of the present application provides a scheduling device for a computing node, including:

[0035] An acquisition module, used for acquiring multiple computing nodes corresponding to a cluster creation request when a cluster creation request is acquired, wherein the cluster creation request includes business configuration requirement information;

[0036] A construction module, configured to construct at least one first service cluster based on multiple computing nodes according to business configuration requirement information, wherein the first service cluster includes computing nodes;

[0037] The acquisition module is further used to acquire a service capability value of at least one first service cluster;

[0038] A selection module, configured to select a second service cluster whose service capability value meets a target service capability value from at least one first service cluster;

[0039] The scheduling module is used to schedule computing nodes in the second service cluster.

[0040] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising:

[0041] a processor and a memory storing computer program instructions;

[0042] When the processor executes the computer program instructions, any one of the above scheduling methods in the computing node is implemented.

[0043] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, any one of the above-mentioned methods for scheduling computing nodes is implemented.

[0044] In a fifth aspect, an embodiment of the present application provides a computer program product, characterized in that when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the above-mentioned scheduling methods for computing nodes.

[0045] The scheduling method, device, equipment and computer storage medium of the computing nodes of the embodiment of the present application, the method includes: when a cluster creation request is obtained, multiple computing nodes corresponding to the cluster creation request are obtained, and the cluster creation request includes business configuration requirement information; based on multiple computing nodes, at least one first service cluster is constructed according to the business configuration requirement information, and the first service cluster includes computing nodes; the service capacity value of at least one first service cluster is obtained; a second service cluster whose service capacity value meets the target service capacity value is selected from at least one first service cluster; and the computing nodes in the second service cluster are scheduled according to the computing nodes in the second service cluster. In this way, the service cluster is accurately constructed according to the business configuration requirement information, and the service cluster with the highest service capacity value is selected for deployment, and the corresponding computing nodes are scheduled, thereby ensuring that the constructed service cluster can efficiently complete the business needs, avoiding the problem of resource waste, and improving resource utilization. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0047] Figure 1 It is a structural diagram of a scheduling system for computing nodes provided by an embodiment of the present application;

[0048] Figure 2 is a flowchart of a scheduling method for computing nodes provided by another embodiment of the present application;

[0049] Figure 3 is a flowchart of a scheduling method for computing nodes provided by another embodiment of the present application;

[0050] Figure 4 is a flowchart of a scheduling method for computing nodes provided in yet another embodiment of the present application;

[0051] Figure 5 is a structural diagram of a scheduling device for a computing node provided in yet another embodiment of the present application;

[0052] Figure 6 It is a structural diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0053] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0054] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0055] As applications continue to migrate to the cloud, some applications are increasingly demanding the computing power that cloud platforms can provide. In this case, the computing performance of traditional virtualized computing nodes provided by cloud platforms will not meet the needs of business use. In order to make up for the disadvantages of single virtualized computing nodes in computing performance, cloud platforms provide bare metal servers as a basic computing resource for business use. Bare metal servers and virtualized computing nodes jointly build a hybrid resource pool. With bare metal servers, cloud platforms can provide businesses with near-native computing power. At present, the large-scale hybrid resource pool of cloud platforms deploys and manages tens of thousands of virtualized computing nodes and tens of thousands of bare metal servers. As the scale of cloud platforms gradually expands, the scale of virtualized computing nodes and bare metal servers is also increasing, and their respective product characteristics are becoming more and more obvious.

[0056] In the prior art, for resource scheduling scenarios of large-scale hybrid resource pools, the same scheduling module is generally used to uniformly schedule virtualized computing nodes and bare metal servers. However, this resource scheduling method may not meet the normal usage needs of users and may also waste resources.

[0057] In order to solve the problems of the prior art, the embodiments of the present application provide a scheduling method, device, equipment and computer storage medium for computing nodes. The method is applied to a scheduling system for computing nodes, such as Figure 1As shown, the scheduling system 10 of the computing node includes a cloud platform 11 and a hybrid resource pool 12. The hybrid resource pool 12 includes computing nodes, which may include but are not limited to bare metal servers and virtualized computing nodes, and provide users with a variety of infrastructure resources including networks, servers, storage, application software, etc. The cloud platform 11 includes a node pre-deployment module 111, a service evaluation module 112, and a node scheduling module 113. The node pre-deployment module is used to screen computing nodes and build a service cluster; based on the configuration requirements uploaded by the user and the configuration and load of each computing node in the hybrid resource pool, a computing node is selected from the hybrid resource pool, and multiple groups of service clusters that provide services to users are pre-built based on the selected computing nodes. The service evaluation module 112 is used to evaluate the service capability value of the service cluster; obtain the historical operation data of each computing node in the pre-email service cluster and the user's business needs, analyze and calculate the success rate of each service cluster to complete the user's needs, so as to complete the service performance evaluation of each service cluster. The node deployment module 113 is used to schedule computing nodes according to the service capability value of the service cluster; according to the evaluation result output by the service evaluation module 112, the computing node is scheduled from the hybrid resource pool to deploy the service cluster.

[0058] The following first introduces the scheduling method of computing nodes provided in the embodiment of the present application.

[0059] Figure 2 A flowchart of a method for scheduling computing nodes provided in one embodiment of the present application is shown.

[0060] like Figure 2 As shown, the scheduling method for computing nodes provided in the embodiment of the present application includes the following steps.

[0061] S210 . When a cluster creation request is obtained, obtain multiple computing nodes corresponding to the cluster creation request, where the cluster creation request includes service configuration requirement information.

[0062] Here, computing nodes refer to server resources. Computing nodes refer to computing nodes that can meet business configuration requirement information. In the case of obtaining a cluster creation request, node identifiers of multiple computing nodes corresponding to the cluster creation request are obtained. The cluster creation request may include a request generated when a business request is received.

[0063] In some embodiments, the business configuration requirement information is set in advance by the user. It may include, but is not limited to, functional requirement information and service requirement information. The functional requirement information may include the functions that the constructed cluster can provide (e.g., video rendering function, editing function, content generation function, etc.), and the service requirement information may include the user's requirements for computing power, latency, network, and priority for each function in the constructed service cluster.

[0064] S220: Based on the multiple computing nodes, at least one first service cluster is constructed according to the business configuration requirement information, where the first service cluster includes computing nodes.

[0065] In some embodiments, the node pre-deployment module determines the computing nodes required to meet the business configuration requirement information based on the node identifiers of multiple computing nodes and the configuration parameters of each computing node, and pre-builds multiple groups of first service clusters based on these computing nodes. Among them, the configuration parameters of the computing nodes may include: the number of CPU cores, disk performance indicators IOPS (specifically, they may include disk read and write performance, disk rotation speed, average access time, etc.), disk response time, disk throughput, and memory resource size. The configuration parameters such as the number of CPU cores, disk performance indicators IOPS, disk response time, disk throughput, and memory resource size are obtained respectively, and multiple groups of first service clusters that meet the business configuration requirement information are pre-built.

[0066] As an example, the following three groups of first service clusters that meet the business configuration requirement information are constructed respectively: the first service cluster a: includes virtual computing node a, virtual computing node b and virtual computing node c; the first service cluster b: includes bare metal server d, bare metal server e and virtual computing node c; the first service cluster c: includes virtual computing node a, virtual computing node b and bare metal server d.

[0067] S230: Obtain a service capability value of at least one first service cluster.

[0068] In some embodiments, the node pre-deployment module builds at least one first service cluster based on the node identifiers of multiple computing nodes according to business configuration requirement information, and sends the node identifiers of the computing nodes corresponding to each first service cluster to the service evaluation module.

[0069] In some embodiments, the node pre-deployment module may send the node identifier of the computing node corresponding to each first service cluster to the service evaluation module, so as to evaluate the performance of each first service cluster through the service evaluation module and obtain the service capability value of at least one first service cluster.

[0070] S240: Select a second service cluster whose service capability value meets the target service capability value from at least one first service cluster.

[0071] In some embodiments, the target service capacity value may be a service capacity value with the highest service capacity value in at least one first service cluster. The service capacity values ​​selected in at least one first service cluster are compared, and a second service cluster with the highest service capacity value is selected from the at least one first service cluster.

[0072] In some embodiments, the target service capacity value may be a plurality of service capacity values ​​with higher service capacity values ​​in at least one first service cluster. The target service capacity value may include a preset number of service capacity values. The preset number may be set in advance. It is also possible to select a plurality of service clusters with higher service capacity values ​​from at least one first service cluster. A second service cluster is selected from a plurality of service clusters with higher service capacity values ​​according to preset information. As an example, the preset information is a cluster load condition or a combination matching property between clusters. The preset information is not limited here and is information set in advance.

[0073] S250: Schedule computing nodes in the second service cluster.

[0074] In some embodiments, computing nodes in the second service cluster are scheduled from the hybrid resource pool according to node identifiers of computing nodes in the second service cluster, and service cluster deployment is performed, thereby completing service resource scheduling.

[0075] In this way, the service cluster is accurately constructed according to the business configuration requirement information, and the service cluster with the highest service capability value is selected for deployment, and the corresponding computing nodes are scheduled, thereby ensuring that the constructed service cluster can efficiently meet business needs, avoiding the problem of resource waste and improving resource utilization.

[0076] Based on this, in some embodiments, such as Figure 3 As shown, the cluster creation request also includes node configuration requirement information; the above S210 may include S211:

[0077] S211 . Filter multiple computing nodes corresponding to the node configuration requirement information from preset computing nodes.

[0078] In some embodiments, the node configuration requirement information may include, but is not limited to, the type of computing node (for example, a virtualized computing node, or a bare metal server), operating system type, CPU, memory, hard disk specifications, and other custom information.

[0079] In some embodiments, the preset computing nodes include all computing nodes in the hybrid resource pool, and multiple computing nodes corresponding to the node configuration requirement information can be screened from the preset computing nodes based on the node identifier.

[0080] In this way, when selecting computing nodes that meet the node configuration requirement information, there is no need to consider all the computing nodes in the hybrid resource pool, which not only reduces the processing pressure but also can accurately schedule computing nodes that meet business needs from the hybrid resource pool.

[0081] Based on this, in some embodiments, the above S211 may include:

[0082] Generate a computing node screening message according to the node configuration requirement information, where the computing node screening message includes the node configuration requirement information;

[0083] In the case where a computing node screening message is detected, multiple computing nodes corresponding to the node configuration requirement information in the computing node screening message are screened from preset computing nodes.

[0084] In some embodiments, the cloud platform can determine the type of computing nodes required to build the first service cluster and the number of computing nodes of each type based on the node configuration requirement information. And generate corresponding computing node screening messages based on the type and quantity. Among them, the computing node screening message mainly includes the node configuration requirement information. Then the cloud platform can create a message queue and add the generated computing node screening message to the message queue. Using the routing proxy mechanism of the message queue, each computing node screening message is forwarded to the node screening module in the cloud platform. The node screening module screens multiple computing nodes corresponding to the node configuration requirement information in the computing node screening message from the preset computing nodes based on the node identifier.

[0085] As an example, assume that the cloud platform determines that the computing nodes required to build the first service cluster are bare metal servers based on the node configuration requirement information. The cloud platform can then generate a corresponding bare metal server filtering message, and add a bare metal message queue to the filtering message, and routing information that the bare metal message queue can receive. The generated bare metal server filtering message is added to the bare metal message queue, and the message is forwarded to the bare metal filtering module that monitors the bare metal message queue using the routing proxy mechanism of the message queue. The bare metal filtering module filters multiple bare metal servers corresponding to the node configuration requirement information in the bare metal server filtering message from the preset computing nodes based on the node identifier.

[0086] In this way, whenever a computing node filtering message is detected, the corresponding computing node can be filtered out according to user needs, thereby building a service cluster required by the user.

[0087] Based on this, in some embodiments, such as Figure 4 As shown, the above S230 may further include:

[0088] S221. Obtain historical operation data and historical service configuration requirement information of each service in at least one first service cluster;

[0089] S222, detecting whether the historical operation data of each service in each first service cluster meets the historical service configuration requirement information, and obtaining a detection result, where the detection result includes the number of target services whose historical operation data meets the historical service configuration requirement information;

[0090] S223, determining a ratio of the number of target services in each first service cluster to the number of all services in each first service cluster, where the ratio represents a success rate of each first service cluster;

[0091] S224. Selecting a third service cluster having a success rate greater than a first preset value from the at least one first service cluster;

[0092] S225, selecting target historical operation data that meets historical business configuration requirement information from the historical operation data of the third service cluster;

[0093] S226, obtaining configuration parameters of the computing nodes in the target historical operation data;

[0094] S227. Determine an observed value of a configuration parameter of each first service cluster in at least one first service cluster by using relationship information between the configuration parameter and the observed value;

[0095] S228. Determine a target posterior probability distribution of each first service cluster according to the acquired joint prior probability distribution and the observed value, where the target posterior probability distribution is a posterior probability distribution of the service capability value of the service cluster;

[0096] S229: Determine a service capability value of each first service cluster according to the target a posteriori probability distribution of each first service cluster, where the service capability value is a mean value of the target a posteriori probability distribution.

[0097] In some embodiments, the service evaluation module obtains historical operation data of the computing nodes corresponding to at least one first service cluster, wherein the historical operation data includes historical computing power data and historical storage capacity data of the computing nodes. Specifically, the computing power data can be represented by data refinement of the following dimensions: CPU MIPS (millions of instructions processed per second by the processor), GPU FLOPS (number of floating-point operations per second by the processor), number of serverless computing function triggers per second, and other data. The historical storage capacity data can be represented by data refinement of the following dimensions: IOPS (number of I / O operations per second), number of accessible storage resources per second, single storage operation access time, and the like.

[0098] In some embodiments, the service evaluation module determines the historical business configuration requirement information of the user by parsing the historical business configuration requirement information uploaded by the user. And according to the historical business configuration requirement information uploaded by the user, the configuration parameters that have a greater impact on the service evaluation of the first service cluster are determined from the historical operation data. For example, according to the historical business configuration requirement information, the service evaluation module determines that the main business requirement of the user is the demand for computing power, and the service performance evaluation module can further determine the computing power data as the configuration parameter used for evaluation.

[0099] In some embodiments, the process of the service evaluation module determining the main business needs of the user may include: detecting whether the historical operation data of the first service cluster meets the historical business configuration requirement information, determining the proportion of the historical operation data that meets the historical business configuration requirement information, and obtaining the success rate of the first service cluster; selecting a third service cluster whose success rate is greater than a first preset value from at least one first service cluster; selecting target historical operation data that meets the historical business configuration requirement information from the historical operation data of the third service cluster; obtaining the configuration parameters of the computing nodes in the target historical operation data, and determining the configuration parameters of the computing nodes in the target historical operation data as the configuration parameters used for evaluation.

[0100] In some embodiments, the relationship information between the configuration parameters and the observed values ​​is determined in advance. After obtaining the observed values ​​of the configuration parameters of the first service cluster, the joint prior probability distribution of the observed values ​​and the service capability values ​​is obtained, and the target posterior probability distribution of the first service cluster is determined based on the obtained joint prior probability distribution and the observed values, and then the mean of the target posterior probability distribution of the service capability values ​​is determined. The mean of the posterior probability distribution represents the service capability value of the first service cluster.

[0101] In this way, the service capability value is calculated by the configuration parameters corresponding to the service cluster with a higher success rate, and the obtained service capability value better reflects whether the service cluster can meet the business needs.

[0102] Based on this, in some embodiments, before the above S227, the method may further include:

[0103] The configuration parameters of each first service cluster in the at least one first service cluster are input into a service evaluation model, where the service evaluation model includes relationship information between the configuration parameters and the observed values ​​and a joint priori probability distribution.

[0104] In some embodiments, the service performance evaluation module includes a service evaluation model, which is trained by a large number of training samples. The service evaluation model takes configuration parameters as input and takes the service completion degree (service capability value) of the first service cluster for user business needs as output.

[0105] In some embodiments, a service evaluation model is established through machine learning to predict the service performance of the first service cluster. A data-driven machine learning method is used to establish a service evaluation model. For example, random statistical methods such as vector machines and Gaussian regression and deep learning methods such as long short-term memory neural networks, random forests, simulated annealing, and particle swarm analysis can be used to establish a service evaluation model. The embodiment of the present application focuses on a specific introduction to the Gaussian regression model. A service evaluation model is constructed based on Gaussian process regression (GPR). The Gaussian process has the advantages of strong generalization ability and adaptive acquisition of hyperparameters. It can realize dynamic behavior modeling and prediction of any linear or nonlinear system, and can provide a confidence interval for the prediction result.

[0106] In this way, the service evaluation model trained with a large number of samples can accurately obtain the service capability value of at least one first service cluster.

[0107] Based on this, in some embodiments, before inputting the configuration parameters of each first service cluster in the at least one first service cluster into the service evaluation model, the method may further include:

[0108] Get the configuration parameters of the preset service cluster;

[0109] Inputting the configuration parameters of the preset service cluster into the initial service evaluation model, and determining the sample observation values ​​of the configuration parameters of the preset service cluster using the relationship information between the initial configuration parameters and the observation values ​​in the initial service evaluation model;

[0110] Determine the sample posterior probability distribution of the preset service cluster according to the initial joint prior probability distribution and the sample observation value in the initial service evaluation model, where the sample posterior probability distribution is the posterior probability distribution of the sample service capability value;

[0111] Determine the sample service capability value of the preset service cluster according to the sample posterior probability distribution of the preset service cluster, where the sample service capability value is the mean value of the sample posterior probability distribution;

[0112] The relationship information between the initial configuration parameters and the observed values ​​and the initial joint prior probability distribution are updated, and when the difference between the sample service capability value and the true service capability value is less than a second preset value, a service evaluation model is obtained.

[0113] In some embodiments, an initial service evaluation model is trained based on configuration parameters of a preset service cluster to obtain a trained service evaluation model.

[0114] In some embodiments, the service evaluation module obtains the status information and business operation data of each computing node corresponding to each first service cluster in the hybrid resource pool in real time. The business operation data of the computing nodes corresponding to the same first service cluster is input into the service evaluation model, and then the service capability value of each constructed first service cluster can be determined through the trained service evaluation model.

[0115] As an example, the relationship information between the configuration parameters and the observed values ​​may be a noisy regression model as shown in formula (1), which is as follows:

[0116] Y=f(X)+ξ (1)

[0117] Among them, Y is the observed value, f(X) is the basis function, ξ is Gaussian noise, and X represents the configuration parameter. The prior distribution of the observed value is:

[0118] The joint prior distribution of the observed value Y and the service capability value y is as follows:

[0119]

[0120] Among them, K(X,X)=(k ij ) is a symmetric positive definite covariance matrix, k ij The configuration parameter x is measured by a square exponential kernel function k i and x j The correlation between them, the square exponential kernel function is shown in the following formula (2):

[0121]

[0122] Among them, p1 and p2 parameters are adjustable, K(x*,X)=K(X,x*)T is the covariance matrix between the test set x* and the training set X, K(x*,x*) is the covariance matrix of the test set itself, and In is an n-dimensional identity matrix. The posterior distribution of the predicted value y is calculated as:

[0123]

[0124] in, Mean vector is the Gaussian process regression model prediction mean, corresponding to the point prediction output, for The variance of the service capacity prediction result with probability distribution significance is obtained. The relationship information between the configuration parameters and the observed values ​​and the parameters in the joint prior probability distribution are updated, and when the difference between the service capacity prediction result and the actual service capacity value is less than the second preset value, a service evaluation model is obtained.

[0125] In this way, the service evaluation model is trained through real-time data, so that the obtained service evaluation model is more in line with reality and the service capacity value of the service cluster is obtained more accurately.

[0126] In the embodiment provided in the present application, the cloud platform obtains a cluster creation request from a user to schedule computing nodes from a hybrid resource pool to build a service cluster. Among them, the cluster creation request includes business configuration requirement information and node configuration requirement information. The cloud platform determines the computing node type according to the node configuration requirement information, generates a corresponding computing node screening message according to the computing node type, and sends the computing node screening message to the virtualization computing node screening module and the bare metal server screening module respectively, and the two node screening modules complete the screening of computing nodes from the hybrid resource pool respectively. Based on the computing nodes screened by the two node screening modules, the computing node pre-deployment module pre-builds multiple groups of first service clusters according to the business configuration requirement information uploaded by the user, and sends the computing node identifiers corresponding to each first service cluster to the service evaluation module. The service evaluation module obtains the historical operation data and historical business configuration requirement information of each computing node corresponding to each first service cluster according to the computing node identifier corresponding to the received first service cluster, analyzes and calculates the success rate of each first service cluster in completing user requirements, so as to complete the service performance evaluation of each first service cluster. Then, the node scheduling module can schedule the computing node with the highest service capability value from the hybrid resource pool according to the service capability value, and perform service cluster deployment, thereby completing service resource scheduling.

[0127] In the embodiment provided in the present application, after obtaining the cluster creation request, the cloud platform can first filter out some computing nodes that can be used to build the first service cluster from the hybrid resource pool through the node screening module according to the node configuration requirement information. Then, based on the node pre-deployment module, multiple groups of first service clusters are pre-built according to the business configuration requirement information uploaded by the user, and the computing node identifiers corresponding to each first service cluster are sent to the service evaluation module to obtain the service capability value of the first service cluster. Then, the computing node corresponding to the first service cluster with the highest service capability value is scheduled from the hybrid resource pool to deploy the service cluster, thereby completing the service resource scheduling. The service cluster constructed in this way is the service cluster with the highest efficiency evaluation for user business needs, thereby ensuring that the constructed service cluster can efficiently meet the user's business needs; at the same time, it also avoids the problem of waste of cloud platform resources due to the inability to accurately schedule computing nodes that meet user business needs from the resource pool.

[0128] Through the embodiments provided in this application, the scheduling problem of cloud hosts and computing nodes (bare metal servers and virtualized computing nodes) in large-scale hybrid resource pools can be greatly improved. On the one hand, the difficulty of building service clusters is reduced, while at the same time, the service efficiency of service clusters in meeting user business needs is improved, greatly improving the user experience.

[0129] Based on the computing node scheduling method provided in the above embodiment, the present application also provides a specific implementation of a computing node scheduling device. Please refer to the following embodiment.

[0130] See also Figure 5 The computing node scheduling device 300 provided in the embodiment of the present application includes:

[0131] The acquisition module 310 is used to acquire multiple computing nodes corresponding to the cluster creation request when a cluster creation request is acquired, where the cluster creation request includes business configuration requirement information;

[0132] A construction module 320 is used to construct at least one first service cluster based on multiple computing nodes according to business configuration requirement information, where the first service cluster includes computing nodes;

[0133] The acquisition module 310 is further used to acquire a service capability value of at least one first service cluster;

[0134] A selection module 330, configured to select a second service cluster whose service capability value meets a target service capability value from at least one first service cluster;

[0135] The scheduling module 340 is used to schedule computing nodes in the second service cluster.

[0136] Based on this, in some embodiments, the cluster creation request also includes node configuration requirement information; the acquisition module 310 includes:

[0137] The screening submodule is used to screen multiple computing nodes corresponding to the node configuration requirement information from the preset computing nodes.

[0138] Based on this, in some embodiments, the screening submodule may include:

[0139] A generating unit, used to generate a computing node screening message according to the node configuration requirement information, wherein the computing node screening message includes the node configuration requirement information;

[0140] The screening unit is used to screen multiple computing nodes corresponding to the node configuration requirement information in the computing node screening message from preset computing nodes when a computing node screening message is detected.

[0141] Based on this, in some embodiments, the apparatus 300 may further include:

[0142] The acquisition module 310 is further configured to acquire historical operation data and historical service configuration requirement information of each service in the at least one first service cluster before acquiring the service capability value of the at least one first service cluster;

[0143] A detection module, used to detect whether the historical operation data of each service in each first service cluster meets the historical service configuration requirement information, and obtain a detection result, wherein the detection result includes the number of target services whose historical operation data meets the historical service configuration requirement information;

[0144] A determination module, used to determine a ratio of the number of target services in each first service cluster to the number of all services in each first service cluster, where the ratio represents a success rate of each first service cluster;

[0145] The selection module 330 is further configured to select, from the at least one first service cluster, a third service cluster having a success rate greater than a first preset value;

[0146] The selection module 330 is further used to select target historical operation data that meets the historical business configuration requirement information from the historical operation data of the third service cluster;

[0147] The acquisition module 310 is further used to acquire the configuration parameters of the computing nodes in the target historical operation data;

[0148] The determination module is further used to determine the observed value of the configuration parameter of each first service cluster in the at least one first service cluster by using the relationship information between the configuration parameter and the observed value;

[0149] The determination module is further used to determine the target posterior probability distribution of each first service cluster according to the acquired joint prior probability distribution and the observed value, where the target posterior probability distribution is the posterior probability distribution of the service capability value of the service cluster;

[0150] The determination module is further used to determine the service capability value of each first service cluster according to the target a posteriori probability distribution of each first service cluster, where the service capability value is the mean value of the target a posteriori probability distribution.

[0151] Based on this, in some embodiments, the apparatus 300 may further include:

[0152] Before determining the observed value of the configuration parameter of each first service cluster in at least one first service cluster by using the relationship information between the configuration parameter and the observed value, the configuration parameter of each first service cluster in at least one first service cluster is input into a service evaluation model, which includes the relationship information between the configuration parameter and the observed value and the joint prior probability distribution.

[0153] Based on this, in some embodiments, the apparatus 300 may further include:

[0154] The acquisition module 310 is further configured to acquire the configuration parameters of the preset service cluster before inputting the configuration parameters of each first service cluster in the at least one first service cluster into the service evaluation model;

[0155] The determination module is further used to input the configuration parameters of the preset service cluster into the initial service evaluation model, and determine the sample observation values ​​of the configuration parameters of the preset service cluster using the relationship information between the initial configuration parameters and the observation values ​​in the initial service evaluation model;

[0156] The determination module is further used to determine the sample posterior probability distribution of the preset service cluster according to the initial joint prior probability distribution and the sample observation value in the initial service evaluation model, and the sample posterior probability distribution is the posterior probability distribution of the sample service capability value;

[0157] The determination module is further used to determine the sample service capability value of the preset service cluster according to the sample posterior probability distribution of the preset service cluster, and the sample service capability value is the mean value of the sample posterior probability distribution;

[0158] The determination module is also used to update the relationship information between the initial configuration parameters and the observed values ​​and the initial joint prior probability distribution, and obtain the service evaluation model when the difference between the sample service capability value and the true service capability value is less than a second preset value.

[0159] The various modules of the computing node scheduling device provided in the embodiment of the present application can implement the functions of the various steps of the computing node scheduling method provided above and achieve the corresponding technical effects, which will not be repeated here for the sake of concise description.

[0160] Based on the same inventive concept, an embodiment of the present application also provides an electronic device.

[0161] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0162] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.

[0163] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0164] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside of an integrated gateway disaster recovery device. In a specific embodiment, memory 402 is a non-volatile solid-state memory.

[0165] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.

[0166] The processor 401 implements any one of the computing node scheduling methods in the above embodiments by reading and executing computer program instructions stored in the memory 402 .

[0167] In one example, the electronic device may further include a communication interface 403 and a bus 410. Figure 6 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.

[0168] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0169] The bus 410 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, a front side bus (Front Side Bus, FSB), a hypertransport (Hyper Transport, HT) interconnection, an industry standard architecture (Industry Standard Architecture, ISA) bus, an infinite bandwidth interconnection, a low pin count (Linear Predictive Coding, LPC) bus, a memory bus, a micro channel architecture (MicroChannel Architecture, MCA) bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) bus, a video electronics standard association local (VESA Local Bus, VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 410 may include one or more buses. Although the embodiments of the present application describe and illustrate a specific bus, the present application considers any suitable bus or interconnection. The electronic device can execute the scheduling method of the computing node in the embodiments of the present invention, thereby realizing the above-mentioned scheduling method of the computing node.

[0170] In addition, in combination with the scheduling method of computing nodes in the above embodiments, the embodiments of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the scheduling methods of computing nodes in the above embodiments is implemented.

[0171] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes each process of implementing any one of the above-mentioned scheduling method embodiments of a computing node.

[0172] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0173] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0174] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0175] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0176] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A scheduling method for computing nodes, characterized in that: include: In the case of obtaining a cluster creation request, obtaining multiple computing nodes corresponding to the cluster creation request, wherein the cluster creation request includes service configuration requirement information; Based on the multiple computing nodes, construct at least one first service cluster according to the business configuration requirement information, each of the first service clusters includes at least one computing node; Acquire a service capability value of the at least one first service cluster; Selecting a second service cluster whose service capability value meets the target service capability value from the at least one first service cluster; Schedule computing nodes in the second service cluster.

2. The method for scheduling computing nodes according to claim 1, characterized in that: The cluster creation request also includes node configuration requirement information; The obtaining of multiple computing nodes corresponding to the cluster creation request includes: The plurality of computing nodes corresponding to the node configuration requirement information are screened from preset computing nodes.

3. The method for scheduling computing nodes according to claim 2, characterized in that: The step of screening the plurality of computing nodes corresponding to the node configuration requirement information from the preset computing nodes includes: Generate a computing node screening message according to the node configuration requirement information, wherein the computing node screening message includes the node configuration requirement information; In the case where the computing node screening message is detected, the plurality of computing nodes corresponding to the node configuration requirement information in the computing node screening message are screened from preset computing nodes.

4. The method for scheduling computing nodes according to claim 1, characterized in that: Acquiring a service capability value of the at least one first service cluster includes: Acquire historical operation data and historical service configuration requirement information of each service in the at least one first service cluster; Detecting whether the historical operation data of each service in each of the first service clusters meets the historical service configuration requirement information, and obtaining a detection result, wherein the detection result includes the number of target services whose historical operation data meets the historical service configuration requirement information; Determine a ratio of the number of the target services in each of the first service clusters to the number of all services in each of the first service clusters, wherein the ratio represents a success rate of each of the first service clusters; Selecting, from the at least one first service cluster, a third service cluster whose success rate is greater than a first preset value; Selecting target historical operation data that meets the historical service configuration requirement information from the historical operation data of the third service cluster; Obtaining configuration parameters of computing nodes in the target historical operation data; Determining an observed value of a configuration parameter of each of the at least one first service cluster by using relationship information between the configuration parameter and the observed value; Determine a target posterior probability distribution of each first service cluster according to the acquired joint prior probability distribution and the observed value, wherein the target posterior probability distribution is a posterior probability distribution of a service capability value of the service cluster; A service capability value of each of the first service clusters is determined according to the target a posteriori probability distribution of each of the first service clusters, where the service capability value is a mean value of the target a posteriori probability distribution.

5. The method for scheduling computing nodes according to claim 4, characterized in that: Before determining the observed value of the configuration parameter of each of the at least one first service cluster by using the relationship information between the configuration parameter and the observed value, the method further includes: The configuration parameters of each of the at least one first service cluster are input into a service evaluation model, wherein the service evaluation model includes relationship information between the configuration parameters and the observed values ​​and the joint prior probability distribution.

6. The method for scheduling computing nodes according to claim 5, characterized in that: Before inputting the configuration parameters of each of the at least one first service cluster into the service evaluation model, the method further includes: Get the configuration parameters of the preset service cluster; Inputting the configuration parameters of the preset service cluster into an initial service evaluation model, and determining sample observation values ​​of the configuration parameters of the preset service cluster using relationship information between initial configuration parameters and observation values ​​in the initial service evaluation model; Determine, according to the initial joint prior probability distribution in the initial service evaluation model and the sample observation value, the sample posterior probability distribution of the preset service cluster, the sample posterior probability distribution being the posterior probability distribution of the sample service capability value; Determine a sample service capability value of the preset service cluster according to the sample posterior probability distribution of the preset service cluster, wherein the sample service capability value is a mean value of the sample posterior probability distribution; The relationship information between the initial configuration parameters and the observed values ​​and the initial joint prior probability distribution are updated, and the service evaluation model is obtained when the difference between the sample service capability value and the true service capability value is less than a second preset value.

7. A scheduling device for a computing node, characterized in that: include: An acquisition module, used to acquire a cluster creation request and a plurality of computing nodes corresponding to the cluster creation request, wherein the cluster creation request includes business configuration requirement information; A construction module, configured to construct at least one first service cluster based on the multiple computing nodes and in accordance with the business configuration requirement information, each of the first service clusters including at least one of the computing nodes; The acquisition module is further used to acquire the service capability value of the at least one first service cluster; A selection module, configured to select a second service cluster whose service capability value meets a target service capability value from the at least one first service cluster; A scheduling module is used to schedule the computing nodes in the second service cluster.

8. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the scheduling method for the computing node according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the scheduling method for a computing node according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the scheduling method for computing nodes as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Resource scheduling method and device

    CN114884901A

  • K8s-based disaster recovery drill fault prediction and Pod scheduling method

    CN115220961A

  • Data resource allocation method and device based on cloud computing

    CN115242662A

  • Micro-service scheduling method and device, equipment and storage medium

    CN116647599A

  • Quality of service rapid prediction method based on multi-relation probability matrix decomposition

    CN116760735A

Cited By

  • Asynchronous communication method and device, computer equipment and storage medium

    CN119652977A

  • Asynchronous communication method and device, computer device and storage medium

    CN119652977B

  • Method for determining target server in mobile Internet of Vehicles and target request equipment

    CN119854875A

  • Cloud network system, cloud network message processing method and electronic device

    US20250088484A1