System starting method, task execution method and cloud computing system

By pre-initializing resources on cloud computing nodes, the method addresses the inefficiencies in virtual machine startup times, enhancing the system's elasticity and user experience through rapid deployment and improved responsiveness to scaling demands.

CN119718532APending Publication Date: 2025-03-28HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311257088.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing cloud computing systems face inefficiencies in virtual machine startup times due to extensive resource initialization processes, which hinder the system's elasticity and responsiveness to dynamic scaling demands, leading to suboptimal user experiences.

Method used

A method is introduced where the cloud computing system's scheduler pre-initializes resources on multiple nodes based on anticipated resource requirements, allowing for the rapid allocation of these resources when a virtual machine startup request is received, thereby bypassing the need for extensive initialization during the startup process.

Benefits of technology

This approach significantly reduces virtual machine startup times, enhancing the cloud computing system's elasticity and responsiveness to scaling demands, leading to improved user experiences by leveraging pre-initialized resources for swift virtual machine deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718532A_ABST
    Figure CN119718532A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a system starting method, a task execution method and a cloud computing system. The system starting method comprises the steps of obtaining a virtual machine starting request; a target node corresponding to the first resource specification parameter is inquired from a node resource configuration table of the cloud computing system, and the target node comprises resources subjected to pre-initialization processing according to the first resource specification parameter; and scheduling the virtual machine starting request to the target node, so that the target node starts a target virtual machine based on the initialized resources. According to the method, resources are initialized and processed in advance on a plurality of nodes, and a scheduling end determines a corresponding target node from a node resource configuration table of a cloud computing system based on a first resource specification parameter under the condition of obtaining a virtual machine starting request, and schedules the target node, so that the target node does not need to initialize the resources, and the resource scheduling efficiency is improved. The target virtual machine is quickly started, the starting efficiency of the virtual machine is improved, and the elastic capacity of the cloud computing system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of cloud computing, and in particular to a system startup method. Background Art

[0002] With the development of cloud computing technology, cloud computing systems will deploy software and hardware resources used for computing on multiple nodes in a distributed manner, facilitating dynamic expansion and contraction and having elastic capabilities.

[0003] Currently, cloud computing systems perform computing tasks by running virtual machines on each node. The startup time of the virtual machine is an important indicator of the elasticity of the cloud computing system. The faster the system startup time, the faster the cloud computing system responds to elastic expansion needs and the better the user experience.

[0004] However, during the startup of a virtual machine, a large part of the time is consumed in the initialization process of the node's resources. For example, for an instance of a certain resource specification, it takes a total of 77 seconds from the time the user requests to create an instance on the front end to the time the instance status is successfully created. Among them, the initialization process of the graphics processing unit (GPU) on the node takes 43 seconds, accounting for more than 50% of the total time. The startup efficiency of the virtual machine is seriously dragged down by the initialization process of the resources on the node, and the system startup efficiency is insufficient, resulting in insufficient elasticity of the cloud computing system. Therefore, there is an urgent need for an efficient system startup method to improve the elasticity of the cloud computing system. Summary of the invention

[0005] In view of this, an embodiment of the present specification provides a system startup method. One or more embodiments of the present specification also relate to another system startup method, a task execution method, a system startup device, another system startup device, a task execution device, a cloud computing system, a computing device, a computer-readable storage medium, and a computer program to solve the technical defects existing in the prior art.

[0006] The embodiment of this specification provides a system startup method, which is applied to a scheduling end of a cloud computing system, including:

[0007] Obtaining a virtual machine startup request, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine;

[0008] Querying a target node corresponding to the first resource specification parameter from a node resource configuration table of the cloud computing system, wherein the target node includes a resource that has been pre-initialized according to the first resource specification parameter;

[0009] The virtual machine startup request is dispatched to the target node, so that the target node starts the target virtual machine based on the initialized resources.

[0010] In an embodiment of the present specification, a virtual machine startup request is obtained, wherein the virtual machine startup request carries a first resource specification parameter required to start a target virtual machine; a target node corresponding to the first resource specification parameter is queried from a node resource configuration table of a cloud computing system, wherein the target node includes resources that have been pre-initialized according to the first resource specification parameter; and the virtual machine startup request is dispatched to the target node, so that the target node starts the target virtual machine based on the initialized resources. Resources are pre-initialized on multiple nodes, and when the scheduling end obtains the virtual machine startup request, based on the first resource specification parameter required to start the target virtual machine, the scheduling end determines the corresponding target node from the node resource configuration table of the cloud computing system, and dispatches the virtual machine startup request to the target node, so that the target node does not need to initialize the resources again, and can quickly start the target virtual machine based on the initialized resources, thereby improving the efficiency of system startup and further improving the elasticity of the cloud computing system. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a flow chart of a system startup method provided by an embodiment of this specification;

[0012] Figure 2 It is a structural diagram of a cloud computing system in a system startup method provided in one embodiment of this specification;

[0013] Figure 3 It is a schematic diagram of a process of resource initialization in a system startup method provided by an embodiment of this specification;

[0014] Figure 4 It is a schematic diagram of a process of resource initialization in another system startup method provided by an embodiment of this specification;

[0015] Figure 5 It is a schematic diagram of a process of resource initialization in another system startup method provided in an embodiment of this specification;

[0016] Figure 6 It is a flowchart of a system startup method provided by an embodiment of this specification;

[0017] Figure 7 is a flow chart of another system startup method provided by an embodiment of this specification;

[0018] Figure 8 is a flowchart of a task execution method provided by an embodiment of this specification;

[0019] Fig. 9 It is a process flow chart of a system startup method applied to an e-commerce live broadcast data stream provided by an embodiment of this specification;

[0020] Fig.10 It is a structural schematic diagram of a system startup device provided by an embodiment of this specification;

[0021] Fig.11 It is a structural schematic diagram of another system starting device provided by an embodiment of this specification;

[0022] Fig.12 is a structural diagram of a task execution device provided by an embodiment of this specification;

[0023] Fig.13 It is a structural diagram of a cloud computing system provided by an embodiment of this specification;

[0024] Fig.14 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0025] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0026] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0027] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0028] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0029] In one or more embodiments of this specification, a large model refers to a deep learning model with large-scale model parameters, which usually contains hundreds of millions, tens of billions, hundreds of billions, trillions, or even more than 10 trillion model parameters. A large model can also be called a foundation model / foundation model. The large model is pre-trained with large-scale unlabeled corpus to produce a pre-trained model with more than 100 million parameters. This model can adapt to a wide range of downstream tasks, and the model has good generalization ability, such as a large-scale language model (LLM), a multi-modal pre-training model, etc.

[0030] When the big model is used in practice, only a small number of samples are needed to fine-tune the pre-trained model and it can be applied to different tasks. The big model can be widely used in natural language processing (NLP), computer vision and other fields. Specifically, it can be applied to computer vision tasks such as visual question answering (VQA), image caption (IC), image generation, as well as natural language processing tasks such as text-based sentiment classification, text summary generation, and machine translation. The main application scenarios of the big model include digital assistants, intelligent robots, search, online education, office software, e-commerce, intelligent design, etc.

[0031] First, the terms involved in one or more embodiments of this specification are explained.

[0032] Cloud computing system: a computing system based on a distributed node cluster. Computing resources (for example, hardware, software, and data storage) are distributed and deployed on multiple nodes, and computing services are provided through multiple nodes.

[0033] Node: A distributed node in a cloud computing system. Computing resources are deployed on any node. For example, a 1TB disk can be split into 512GB disks during the startup of a virtual machine. A single node corresponds to a cloud server, which executes tasks independently by calling resources through virtual machines.

[0034] Virtual Machine (VM): A software program that simulates the functions of one or more physical computers. Running virtual machine instances on a node and configuring corresponding resources for each virtual machine instance to perform tasks can make more efficient use of resources and provide better security and reliability. A virtual machine instance refers to a virtual computer environment running on a node, which can simulate a complete computer system. Virtual machine instances can provide independent operating environments for multiple computing tasks, thereby more effectively utilizing the resources on the node and improving the availability and elasticity of the cloud computing system.

[0035] Multilayer Perceptron (MLP) model: is a multi-layer feedforward neural network used for regression and classification tasks.

[0036] Support Vector Regression (SVR) model: a support vector machine model used for regression tasks.

[0037] XGBoost (Extreme Gradient Boosting): An artificial intelligence algorithm based on the gradient boosting algorithm. For classification and regression problems, it uses the gradient boosting algorithm to build decision trees and uses specific optimization algorithms to improve the accuracy and efficiency of the model.

[0038] In this specification, a system startup method is provided. This specification also involves another system startup method, a task execution method, a system startup device, another system startup device, a task execution device, a cloud computing system, a computing device, a computer-readable storage medium and a computer program, which are described in detail one by one in the following embodiments.

[0039] See also Figure 1 , Figure 1 A flowchart of a system startup method provided by an embodiment of the present specification is shown. The method is applied to the scheduling end of the cloud computing system and includes the following specific steps:

[0040] Step 102: Obtain a virtual machine startup request, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine.

[0041] The embodiments of this specification are applied to the scheduling end of the cloud computing system. The scheduling end is a functional module for scheduling instruction requests. The scheduling end records the node resource configuration table of the cloud computing system. After obtaining the virtual machine startup request, it is reasonably scheduled to the distributed deployed node, and the virtual machine startup is completed on the node, thereby realizing system startup. Figure 2 FIG. 1 shows a structural diagram of a cloud computing system in a system startup method provided in an embodiment of the present specification, such as Figure 2 As shown: the cloud computing system includes a virtual machine scheduling end (i.e., scheduling end), an artificial intelligence-based prediction system, a database, and multiple distributed nodes: node 1, node 2, node 3, and node 4.

[0042] The virtual machine startup request is an instruction request for the control node to start the virtual machine instance of the virtual machine. The target virtual machine is the virtual machine to be started for the virtual machine startup request, specifically the virtual machine instance, which does not really exist before step 106, and really exists after the corresponding startup on the target node in the subsequent step 106. The target virtual machine needs to be started and run based on the resources of the first resource specification parameter. The virtual machine startup request can be generated and sent to the scheduling end after the user determines the target virtual machine to be started at the front end of the cloud computing system. For example, the user selects the target virtual machine Unnamed.VM to be started at the front end, selects the first resource specification parameter: CPU number (1); GPU number (4) model (A100); memory capacity (8GB); disk capacity (512GB) disk type (SCSI); I / O controller type (LSI Logic); operating system version (Centos 764 bit), and generates a virtual machine startup request. The virtual machine startup request can also be generated by the scheduling end when the virtual machine startup condition is triggered. For example, when the computing task volume of the cloud computing system exceeds the operating upper limit of the current node, a virtual machine startup request is generated to perform elastic expansion.

[0043] Resources are the hardware and software resources deployed on the node, where hardware resources include but are not limited to: central processing unit (CPU), graphics processing unit, memory, disk, I / O controller and network hardware, and software resources include but are not limited to: operating system, database, operation method, operation class, interface.

[0044] Resource specification parameters are specification parameters of resources, including specification parameters of software and hardware resources, wherein the specification parameters of hardware resources include but are not limited to: specification parameters of central processing unit (model and number of units, etc.), specification parameters of graphics processing unit (model, number of units and video memory, etc.), specification parameters of memory (model of memory medium, type of memory medium, number of memory medium and memory capacity, etc.), specification parameters of disk (model of disk medium, type of disk medium, number of disk medium and disk capacity, etc.), specification parameters of I / O controller (type of I / O controller, etc.), specification parameters of network hardware (network type, network address, gateway, subnet, server address, network bandwidth and network connection method, etc.) and hardware compatibility, and the specification parameters of software resources include but are not limited to: specification parameters of operating system (type, version and running location, etc.), specification parameters of database (database source, database capacity and database location, etc.), specification parameters of running method and running class (version, throughput and running time, etc.), interface (version and interface type, etc.). The first resource specification parameters are the specification parameters of resources required to start the target virtual machine, including specification parameters of software and hardware resources.

[0045] Obtaining the virtual machine startup request may be receiving the virtual machine startup request sent by the front end, or may be generating the virtual machine startup request when a preset virtual machine startup condition is triggered.

[0046] Exemplarily, the cloud computing system is a public cloud computing system provided by a cloud service provider. A game company selects the public cloud computing system and needs to rent a node cluster consisting of 10 distributed nodes on the public cloud computing system and run the target virtual machine game.VM_i (i∈[0,9]) on the 10 distributed nodes to realize the cloud server construction of the game. The developers of the game company select 10 target virtual machines on the front-end page of the public cloud computing system and select the first resource specification parameters required to start the 10 target virtual machines: number of CPUs (1); number of GPUs (4) model (A100); memory capacity (8GB); disk capacity (512GB) disk type (SCSI); I / O controller type (LSI Logic); operating system version (Centos 7 64-bit). The front-end generates a corresponding virtual machine startup request and sends the virtual machine startup request to the scheduling end of the public cloud computing system. The scheduling end receives the virtual machine startup request sent by the front-end.

[0047] A virtual machine startup request is obtained, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine, providing a query basis for subsequent querying of the corresponding target node.

[0048] Step 104: querying a target node corresponding to the first resource specification parameter from a node resource configuration table of the cloud computing system, wherein the target node includes resources that have been pre-initialized according to the first resource specification parameter.

[0049] The node resource configuration table of the cloud computing system is a record table that records the resource configuration specifications of the nodes on the cloud computing system. The node resource configuration table is dynamically updated according to the resource configuration specifications of the nodes. After the resource configuration specifications on the nodes are updated, the resource specification parameters of the nodes recorded in the node resource configuration table are updated accordingly. For example, the node configuration table records the resource configuration specifications of 100 nodes in the cloud computing system: Node 1: current specification parameters of the CPU; current specification parameters of the GPU; current specification parameters of the memory; current specification parameters of the disk; current specification parameters of the operating system...Node 100: current specification parameters of the CPU; current specification parameters of the GPU; current specification parameters of the memory; current specification parameters of the disk; current specification parameters of the operating system.

[0050] The target node is a node that has completed pre-initialization processing of resources according to the first resource specification parameters. Pre-initialization processing is the process of setting up a virtual machine operating environment for resources on the node. The resources that have undergone pre-initialization processing can be directly used to create a virtual machine instance to achieve rapid startup of the virtual machine, for example, loading the running method, running class, setting the data read and write path, establishing an NVLink high-speed channel between two graphics processing units, pulling the operating system image file, and partitioning the memory or disk. Optionally, the selection of the target node can be determined based on the time distribution and spatial distribution on the basis of matching the first resource specification parameters. For example, the spatial locations of two nodes are A and B, respectively, and the front end is in A. The target node located in A is preferred. For another example, the status of the two nodes in the next 10 minutes is running and idle, respectively, and the latter is preferred as the target node.

[0051] Exemplarily, from the node resource configuration table of the public cloud computing system, the first resource specification parameter is queried corresponding to 10 target nodes: node 2, node 6, node 13...node 77, wherein the 10 distributed nodes, node 2, node 6, node 13...node 77, include pre-initialized hardware resources: number of CPUs (1); number of GPUs (4) model (A100); memory capacity (8GB); disk capacity (512GB) disk type (SCSI); I / O controller type (LSI Logic), and software resources: operating system version (Centos 7 64-bit).

[0052] The target node corresponding to the first resource specification parameter is queried from the node resource configuration table of the cloud computing system, wherein the target node includes resources that have been pre-initialized according to the first resource specification parameter. Based on the first resource specification parameter required to start the target virtual machine, the corresponding target node is accurately determined from the node resource configuration table of the cloud computing system, so as to schedule the virtual machine startup request to the target node in the future, laying a foundation for the normal startup and rapid startup of the target virtual machine.

[0053] Step 106: dispatching the virtual machine startup request to the target node, so that the target node starts the target virtual machine based on the initialized resources.

[0054] Based on the initialized resources, the target virtual machine is started, specifically in the following manner: based on the initialized resources, a virtual machine instance of the target virtual machine is created, the virtual machine instance is run, and the target virtual machine is started.

[0055] Exemplarily, the virtual machine startup request is scheduled to node 2, node 6, node 13 ... node 77, a total of 10 target nodes, so that the 10 target nodes create a virtual machine instance Instance.game.VM_i (i∈[0,9]) of the target virtual machine game.VM_i (i∈[0,9]) based on the initialized hardware resources (CPU, GPU, memory, disk and I / O controller) and software resources (operating system), run the virtual machine instances respectively, and start the target virtual machine.

[0056] In an embodiment of the present specification, a virtual machine startup request is obtained, wherein the virtual machine startup request carries a first resource specification parameter required to start a target virtual machine; a target node corresponding to the first resource specification parameter is queried from a node resource configuration table of a cloud computing system, wherein the target node includes resources that have been pre-initialized according to the first resource specification parameter; and the virtual machine startup request is dispatched to the target node, so that the target node starts the target virtual machine based on the initialized resources. Resources are pre-initialized on multiple nodes, and when the scheduling end obtains the virtual machine startup request, based on the first resource specification parameter required to start the target virtual machine, the scheduling end determines the corresponding target node from the node resource configuration table of the cloud computing system, and dispatches the virtual machine startup request to the target node, so that the target node does not need to initialize the resources again, and can quickly start the target virtual machine based on the initialized resources, thereby improving the efficiency of system startup and further improving the elasticity of the cloud computing system.

[0057] In an optional embodiment of the present specification, after step 104, the following specific steps are also included:

[0058] In the case where the target node corresponding to the first resource specification parameter is not found, identifying whether there is an idle node, wherein the idle node is a node that has not been initialized;

[0059] If so, the virtual machine startup request is scheduled to the idle node, so that the resources of the idle node are initialized based on the first resource specification parameter, and the target virtual machine is started based on the initialized resources.

[0060] In step 104, the target node corresponding to the first resource specification parameter is queried from the node resource configuration table. However, if the corresponding target node is not found, the virtual machine startup is terminated. The virtual machine startup does not have high availability and the elasticity of the cloud computing system cannot be guaranteed.

[0061] An idle node is a node whose resources have not been initialized in advance. An idle node includes idle resources that have not been initialized, including idle software and hardware resources. The idle resources on the idle node have not completed the process of setting up the virtual machine operating environment. If you want to create a virtual machine instance and start the virtual machine, you need to initialize the resources and then start the target virtual machine based on the initialized resources. Optionally, an idle node is a node that includes resources required by the first resource specification parameter and has not been initialized. An idle node includes idle resources that have not been initialized as required by the first resource specification parameter. Optionally, the selection of idle nodes can also be determined based on time distribution and spatial distribution.

[0062] Identify whether there are idle nodes. The identification methods include but are not limited to: from the node resource configuration table, determine that the nodes without recorded resource configuration specifications are idle nodes; determine whether each node is an idle node by sending heartbeat detection to each node; determine whether there are idle nodes based on the resource usage reported by each node; query whether there are reserved idle resources, and if so, determine that the nodes with reserved idle resources are idle nodes, which are not limited here.

[0063] It should be noted that the embodiment of this specification is equivalent to the process of normal virtual machine startup when steps 102 to 106 cannot be executed.

[0064] Exemplarily, when the target node corresponding to the first resource specification parameter is not found, 10 distributed nodes without recorded resource configuration specifications are determined as idle nodes from the node resource configuration table: node 1, node 4, node 18...node 84, and the virtual machine startup request is scheduled to the 10 idle nodes, so that the resources of the idle nodes are based on the first resource specification parameter: number of CPUs (1); number of GPUs (4) model (A100); memory capacity (8GB); disk capacity (512GB) disk type (SCSI); I / O controller type (LSI Logic), and software resources: operating system version (Centos7 64-bit), and the hardware resources and software resources are initialized. Based on the initialized hardware resources and software resources, a virtual machine instance Instance.game.VM_i (i∈[0,9]) of the target virtual machine game.VM_i (i∈[0,9]) is created, and the virtual machine instances are run respectively to start the target virtual machine.

[0065] In the case that the target node corresponding to the first resource specification parameter is not found, it is identified whether there is an idle node, wherein the idle node is a node that has not been initialized; if there is, the virtual machine startup request is dispatched to the idle node, so that the resources of the idle node are initialized based on the first resource specification parameter, and the target virtual machine is started based on the initialized resources. The high availability of virtual machine startup is guaranteed, and the elasticity of the cloud computing system is further guaranteed.

[0066] In an optional embodiment of the present specification, after identifying whether there is an idle node, the following specific steps are also included:

[0067] If it does not exist, determining a reference node, wherein the reference node includes resources that have been initialized in advance and the virtual machine has not been started;

[0068] The virtual machine startup request is dispatched to the reference node, so that the reference node resets the resources of the reference node, initializes the processing resources based on the first resource specification parameter, and starts the target virtual machine.

[0069] In the above embodiment, it is identified whether there are idle nodes for backup node scheduling to complete the virtual machine startup. However, if no idle node is identified, the virtual machine startup is terminated. The virtual machine startup still does not have high availability and the elasticity of the cloud computing system cannot be guaranteed.

[0070] The reference node is a node including resources that have been initialized in advance and the virtual machine has not been started. Optionally, the reference node includes resources that have been initialized in advance according to other specification parameters different from the first resource specification parameters and the virtual machine has not been started. For example, the first resource specification parameters are: number of CPUs (1); number of GPUs (4); model (A100); memory capacity (8GB); disk capacity (512GB); disk type (SCSI); I / O controller type (LSI Logic); operating system version (Centos 7 64-bit). Other resource specification parameters are: number of CPUs (1); number of GPUs (6); model (A100); memory capacity (16GB); disk capacity (1TB); disk type (SATA); I / O controller type (LSI Logic); operating system version (Centos 7 32-bit). The reference node has completed the initialization of resources in advance according to other resource specification parameters different from the first resource specification parameters, and the resources have not started the virtual machine.

[0071] The reference node is determined by querying the reference node corresponding to other resource specification parameters from the node resource configuration table, wherein the other resource specification parameters are different from the first resource specification parameters.

[0072] Optionally, after querying the reference nodes corresponding to other resource specification parameters, the following specific steps are also included:

[0073] If no reference node corresponding to other resource specification parameters is found, the virtual machine startup is terminated.

[0074] The resources of the reference node are reset based on the first resource specification parameters, and the target virtual machine is started. Specifically, the resources are reset, the resources are initialized based on the first resource specification parameters, and the target virtual machine is started based on the initialized resources.

[0075] Exemplarily, if it does not exist, query other resource specification parameters from the node resource configuration table: number of CPUs (1); number of GPUs (6) model (A100); memory capacity (16GB); disk capacity (1TB) disk type (SATA); I / O controller type (LSI Logic); operating system version (Centos 7 32-bit), and the corresponding 10 distributed nodes that have not started the virtual machine are reference nodes: node 3, node 5, node 16...node 80, and schedule the virtual machine startup request to the 10 reference nodes so that the 10 reference nodes reset the hardware resources and software resources, initialize the hardware resources and software resources based on the first resource specification parameters, and create a virtual machine instance Instance.game.VM_i (i∈[0,9]) of the target virtual machine game.VM_i (i∈[0,9]) based on the initialized hardware and software resources, run the virtual machine instances respectively, and start the target virtual machine.

[0076] If it does not exist, a reference node is determined, wherein the reference node includes resources that have been initialized in advance and the virtual machine has not been started; a virtual machine startup request is dispatched to the reference node, so that the reference node resets the resources of the reference node, initializes the processing resources based on the first resource specification parameter, and starts the target virtual machine. This further ensures the high availability of virtual machine startup and further ensures the elasticity of the cloud computing system.

[0077] In an optional embodiment of the present specification, before step 104, the following specific steps are also included:

[0078] Initialize the resources of the nodes in the cloud computing system based on the sample resource specification parameters;

[0079] The resource specification parameters of the node after initialization processing are recorded in the node resource configuration table of the cloud computing system.

[0080] The sample resource specification parameters are resource specification parameters required to start the sample virtual machine, including specification parameters of software and hardware resources. The sample virtual machine is a virtual machine that has been started before the initialization process, and the sample virtual machine runs on the node according to the sample resources with the sample resource specification parameters.

[0081] In the embodiment of the present specification, the node in the cloud computing system is a node including resources that have not been initialized and the virtual machine has not been started. It should be noted that the non-starting of the virtual machine does not mean that the virtual machine has never been started on the idle node, but that the resources on the node that meet the first resource specification parameters have not currently started the virtual machine.

[0082] The node after initialization processing is a node that has completed the initialization processing of resources according to specific resource specification parameters. The specific resource specification parameters can be the first resource specification parameters, or other resource specification parameters different from the first resource specification parameters. The number of nodes after initialization processing is at least one, which can be understood as the node after initialization processing is at least one set of node resource solutions that have completed initialization. When it is necessary to start a virtual machine, the node resource solution with the best matching specifications is selected from them to realize the rapid startup of the virtual machine.

[0083] Based on the sample resource specification parameters, the resources of the nodes in the cloud computing system are initialized. The specific method is: according to a predetermined initialization strategy, based on the sample resource specification parameters, the resources of the nodes in the cloud computing system are initialized, wherein the initialization strategy includes at least one of a node state retention strategy, a node state redundancy strategy and an artificial intelligence prediction strategy. The node state retention strategy is a strategy for retaining the sample resource specification parameters of the node where the historical virtual machine is located. The node state redundancy strategy is a strategy for initializing resources on the backup node based on the sample resource specification parameters of the sample virtual machine. The artificial intelligence prediction strategy is a strategy for outputting predicted resource specification parameters based on the sample resource specification parameters using a prediction model and initializing resources on idle nodes.

[0084] Exemplarily, in accordance with a predetermined node status retention strategy, a node status redundancy strategy, and an artificial intelligence prediction strategy, based on sample resource specification parameters, the resources of 60 nodes in the cloud computing system are initialized, and the resource specification parameters of the 60 nodes after initialization are recorded in the node resource configuration table of the cloud computing system.

[0085] Based on the sample resource specification parameters, the resources of the nodes in the cloud computing system are initialized; the resource specification parameters of the initialized nodes are recorded in the node resource configuration table of the cloud computing system. This provides a query basis for subsequent queries of the corresponding target nodes, and provides initialized resources for subsequent virtual machine startup, which improves the stability of virtual machine startup, improves the efficiency of virtual machine startup, and improves the stability and efficiency of system startup.

[0086] In an optional embodiment of the present specification, initializing resources of a node in a cloud computing system based on sample resource specification parameters includes the following specific steps:

[0087] For any historical virtual machine, when a virtual machine stop request for any historical virtual machine is obtained, resetting the resource state of the first node that starts any historical virtual machine;

[0088] Based on the sample resource specification parameters required to start any historical virtual machine, the resources of the first node are initialized.

[0089] When the historical virtual machine is stopped, the resources of the first node where the historical virtual machine is located are reset, and reinitialized according to the sample resource specification parameters of the historical virtual machine, and the sample resource specification parameters of the resources on the first node are recorded in the node resource configuration table. In step 104, when the sample resource specification parameters of the first node match the first resource specification parameters, the first node is determined to be the corresponding target node, and the resource initialization process can be skipped directly, which saves the startup time of the virtual machine and improves the efficiency of system startup.

[0090] A historical virtual machine is a virtual machine running on a node before the resources of the node are initialized, specifically a virtual machine instance. A virtual machine stop request is an instruction request for controlling a node to stop running a virtual machine instance, including a virtual machine stop request and a virtual machine deletion request. For example, virtual machine VM_1.1 is running on node 1. After receiving the virtual machine stop request, virtual machine VM_1.1 is stopped and the resources on node 1 are initialized. At this time, virtual machine VM_1.1 is a historical virtual machine.

[0091] The first node is the node where the historical virtual machine is located. The first node needs to initialize the resources according to the sample resource specification parameters of the historical virtual machine. The resource status of the first node is the running status of the resources on the first node, including the reset status (the state where the resources are not initialized, which can be understood as the state where the resources are formatted), the waiting state and the running state.

[0092] Figure 3 FIG. 1 shows a schematic diagram of a process flow of resource initialization in a system startup method provided in an embodiment of the present specification, such as Figure 3 As shown:

[0093] Start; when a virtual machine stop request for a historical virtual machine is obtained, stop the historical virtual machine; reset the resource status of the resources on the node of the historical virtual machine; initialize the resources of the node based on the sample resource specification parameters required by the historical virtual machine; record the resource specification parameters of the initialized node into the node resource configuration table of the cloud computing system; end.

[0094] When a virtual machine stop request is obtained for any historical virtual machine, the resource status of the first node that starts any historical virtual machine is reset. The specific method is: when a virtual machine stop request is obtained for any historical virtual machine, the virtual machine stop request is scheduled to the first node that starts any historical virtual machine, so that the first node stops running any historical virtual machine and changes the resource status of the first node from the running state to the reset state.

[0095] Exemplarily, for any historical virtual machine: the virtual machine test.VM on node 32, when a virtual machine stop request for the virtual machine test.VM is obtained, the virtual machine stop request is scheduled to node 32, so that node 32 stops running the virtual machine instance of the virtual machine test.VM, and changes the resource state of node 32 from the running state to the reset state, thereby completing the formatting of the resources on node 32.

[0096] For any historical virtual machine, when a virtual machine stop request for any historical virtual machine is obtained, the resource state of the first node that starts any historical virtual machine is reset; based on the sample resource specification parameters required to start any historical virtual machine, the resources of the first node are initialized. This provides initialized resources for subsequent virtual machine startup, improves the stability of virtual machine startup, improves the efficiency of virtual machine startup, and improves the stability and efficiency of system startup.

[0097] In an optional embodiment of the present specification, initializing resources of a node in a cloud computing system based on sample resource specification parameters includes the following specific steps:

[0098] For any sample virtual machine, upon receiving a virtual machine creation request for any sample virtual machine, create any sample virtual machine;

[0099] Determine sample resource specification parameters and idle second nodes required to start any sample virtual machine;

[0100] Based on the sample resource specification parameters, the resources of the second node are initialized.

[0101] When a virtual machine creation request for any sample virtual machine is obtained, if there is a second node with free resources, a backup node, i.e., the second node, with the same sample resource specification parameter resources is initialized according to the sample virtual machine just created, and the sample resource specification parameters of the resources on the second node are recorded in the node resource configuration table. In step 104, when the sample resource specification parameters of the resources on the second node match the first resource specification parameters, the second node is determined to be the corresponding target node, and the resource initialization process can be skipped directly, thereby saving the startup time of the virtual machine and improving the efficiency of system startup.

[0102] The sample virtual machine is a virtual machine running on other nodes before the resources of the current node are initialized, specifically a virtual machine instance. The virtual machine creation request is an instruction request for controlling other nodes to create sample virtual machine instances. For example, when a virtual machine creation request is obtained, the virtual machine creation request is scheduled to node 2, and a virtual machine VM_1.2 is created on node 2. On node 3, based on the resource specification parameters for creating virtual machine VM_1.2, the resources on node 3 are initialized. From the perspective of node 3, the current node, node 2 is another node, and virtual machine VM_1.2 is a sample virtual machine running on another node.

[0103] The second node is a node where resources are to be initialized. The second node needs to initialize the resources according to the sample resource specification parameters of the sample virtual machine. The resources on the second node are idle before initialization, that is, idle resources. The second node that completes the resource initialization process can be understood as a backup node for other nodes where the sample virtual machine is located.

[0104] Figure 4 FIG. 1 shows a schematic diagram of a process flow of resource initialization in another system startup method provided by an embodiment of the present specification, such as Figure 4 As shown:

[0105] Start; create a sample virtual machine; creation is complete; determine whether there are any nodes with idle resources; if so, initialize the resources of the node based on the sample resource specification parameters of the sample virtual machine, record the resource specification parameters of the initialized node into the node resource configuration table of the cloud computing system, and end; if not, end directly.

[0106] When a virtual machine creation request for any sample virtual machine is obtained, any sample virtual machine is created. The specific method is: when a virtual machine creation request for any sample virtual machine is obtained, the virtual machine creation request is scheduled to other nodes so that other nodes create any sample virtual machine.

[0107] Exemplarily, for any sample virtual machine: virtual machine test.VM, when a virtual machine creation request for the sample virtual machine test.VM is obtained, the virtual machine creation request is scheduled to other nodes: node 20, so that node 20 creates a virtual machine instance of the sample virtual machine test.VM, determines the sample resource specification parameters required to start the virtual machine instance of the sample virtual machine test.VM and the idle second node: node 30, and initializes the resources of node 30 based on the sample resource specification parameters.

[0108] For any sample virtual machine, when a virtual machine creation request for any sample virtual machine is received, any sample virtual machine is created; sample resource specification parameters and idle second nodes required to start any sample virtual machine are determined; and resources of the second node are initialized based on the sample resource specification parameters. Initialized resources are provided for subsequent virtual machine startup, thereby improving the stability and efficiency of virtual machine startup, and improving the stability and efficiency of system startup.

[0109] In an optional embodiment of the present specification, initializing resources of a node in a cloud computing system based on sample resource specification parameters includes the following specific steps:

[0110] For at least one sample virtual machine, obtaining sample resource specification parameters and distribution parameters of at least one sample virtual machine;

[0111] Based on the sample resource specification parameters and distribution parameters, a prediction model is used to perform prediction to obtain the predicted resource specification parameters required to start any target virtual machine;

[0112] Based on the predicted resource specification parameters, the resources of the idle third node are initialized.

[0113] A prediction model is used to perform prediction based on sample resource specification parameters and distribution parameters to obtain the predicted resource specification parameters required to start any target virtual machine. The resources of the idle third node are initialized according to the predicted resource specification parameters, and the sample resource specification parameters of the resources on the third node are recorded in the node resource configuration table. In step 104, when the sample resource specification parameters of the third node match the first resource specification parameters, the third node is determined to be the corresponding target node, and the resource initialization process can be skipped directly, thereby saving the startup time of the virtual machine and improving the efficiency of system startup.

[0114] The sample virtual machine is a virtual machine running on other nodes before the resources of the current node are initialized, specifically a virtual machine instance. The virtual machine creation request is an instruction request for controlling other nodes to create sample virtual machine instances. For example, virtual machine VM_1.4 is running on node 4, virtual machine VM_1.5 is running on node 5, and virtual machine VM_1.6 is running on node 6. On node 7, the resources of node 7 are initialized based on the resource specification parameters of virtual machines VM_1.4, VM_1.5, and VM_1.6. From the perspective of node 7, the current node, nodes 4, 5, and 6 are other nodes, and virtual machines VM_1.4, VM_1.5, and VM_1.6 are sample virtual machines running on other nodes.

[0115] The distribution parameters are the distribution attribute parameters of the sample virtual machine, including but not limited to: time distribution parameters, space distribution parameters and instance quantity distribution parameters. The time distribution parameters are the distribution parameters of the startup time of the sample virtual machine. For example, the startup time of the sample virtual machine is 12:00:00 on September 15, 2023, and the time distribution parameters are: (2023-9-15; 12:00:00). The space distribution parameters are the space distribution parameters of the node where the sample virtual machine is located. For example, the node where the sample virtual machine is located is in location A, and the space distribution parameters are: location A. The instance quantity distribution parameters are the distribution parameters of the virtual machine instances on the nodes. For example, the nodes where the sample virtual machine is located include: node 9, node 10 and node 11, and the number of instances on each node are: 12, 4 and 9 respectively, and the instance quantity distribution parameters are: (12; 4; 9).

[0116] The prediction model is a neural network model used to predict resource specification parameters, including but not limited to: multi-layer perceptron and support vector regression model. The prediction model determines the relationship between the resource specification parameters and the distribution parameters based on the sample resource specification parameters and the distribution parameters. The prediction model outputs the predicted resource specification parameters based on the input distribution parameters.

[0117] The predicted resource specification parameters are the predicted resource specification parameters, including the specification parameters of software and hardware resources.

[0118] Figure 5 FIG. 1 shows a schematic diagram of a process flow of resource initialization in another system startup method provided in an embodiment of the present specification, such as Figure 5 As shown:

[0119] Start; determine whether there are still nodes with idle resources; if not, end directly; if so, analyze the sample resource specification parameters and distribution parameters of the sample virtual machine, use the prediction model to predict, and obtain the predicted resource specification parameters required to start any target virtual machine; determine whether there are nodes with predicted resource specification parameters; if not, end directly; if so, send the predicted resource specification parameters to the node, initialize the node's resources based on the predicted resource specification parameters, record the resource specification parameters of the initialized node into the node resource configuration table of the cloud computing system, and end.

[0120] Based on the sample resource specification parameters and distribution parameters, a prediction model is used to perform prediction to obtain the predicted resource specification parameters required to start any target virtual machine. The specific method is to perform regression prediction based on the sample resource specification parameters and distribution parameters, and obtain the predicted resource specification parameters required to start any target virtual machine.

[0121] Exemplarily, for 1000 sample virtual machines, sample resource specification parameters, time distribution parameters, space distribution parameters and instance quantity distribution parameters of the 1000 sample virtual machines are obtained, and based on the sample resource specification parameters, time distribution parameters, space distribution parameters and instance quantity distribution parameters, a prediction model is used to perform prediction, and the predicted resource specification parameters required to start any target virtual machine are obtained; based on the predicted resource specification parameters, the resources of the idle third node: node 40 are initialized.

[0122] For at least one sample virtual machine, obtain sample resource specification parameters and distribution parameters of at least one sample virtual machine; based on the sample resource specification parameters and distribution parameters, use the prediction model to predict and obtain the predicted resource specification parameters required to start any target virtual machine; based on the predicted resource specification parameters, initialize the resources of the idle third node. By using the neural network model prediction method, initialized resources are provided for subsequent virtual machine startup, which improves the stability of virtual machine startup, improves the efficiency of virtual machine startup, and improves the stability and efficiency of system startup.

[0123] In an optional embodiment of the present specification, the distribution parameter includes at least one of a time distribution parameter and a space distribution parameter;

[0124] Correspondingly, based on the sample resource specification parameters and distribution parameters, a prediction model is used to perform prediction to obtain the predicted resource specification parameters required to start any target virtual machine, including the following specific steps:

[0125] Based on the sample resource specification parameters and time distribution parameters, the prediction model is used to perform time regression prediction on the target virtual machine startup request obtained within the prediction time, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request;

[0126] or,

[0127] Based on the sample resource specification parameters and spatial distribution parameters, a prediction model is used to perform spatial regression prediction on the target virtual machine startup request that obtains the prediction space, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request;

[0128] or,

[0129] Based on the sample resource specification parameters, time distribution parameters and space distribution parameters, the prediction model is used to perform spatiotemporal regression prediction on the target virtual machine startup request that obtains the prediction space within the prediction time, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request.

[0130] The time distribution parameter is the distribution parameter of the startup time of the sample virtual machine. For example, the startup time of the sample virtual machine is 12:00:00 on September 15, 2023, and the time distribution parameter is: (2023-9-15; 12:00:00). The space distribution parameter is the space distribution parameter of the node where the sample virtual machine is located. For example, the node where the sample virtual machine is located is in A, and the space distribution parameter is: A.

[0131] In the embodiments of this specification, the prediction model is a neural network model that supports regression. The prediction model is constructed based on sample resource specification parameters and distribution parameters to obtain a regression model, and the regression model is a regression relationship model between resource specification parameters and distribution parameters. The prediction model outputs predicted resource specification parameters based on the input distribution parameters. The prediction model is optimized by the extreme gradient algorithm, and a decision tree is constructed by using a gradient boosting algorithm, and a specific optimization algorithm is used to improve the accuracy and efficiency of the prediction model.

[0132] Based on the sample resource specification parameters and time distribution parameters, the prediction model is used to perform time regression prediction on the target virtual machine startup request obtained within the prediction time, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request. The specific method is as follows: based on the sample resource specification parameters and time distribution parameters, the prediction model is used to build a regression model, and the trained regression model is used to perform time regression prediction on the target virtual machine startup request obtained within the prediction time, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request.

[0133] Exemplarily, based on the sample resource specification parameters and time distribution parameters of 1,000 sample virtual machines and based on the XGBoost algorithm, a regression model is constructed using a prediction model. The trained regression model is used to perform time regression prediction on the target virtual machine startup request obtained within the prediction time (20:00:00 on September 16, 2023). The predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request. Based on the predicted resource specification parameters, the resources of the idle third node: node 40 are initialized.

[0134] Based on the sample resource specification parameters and spatial distribution parameters, the prediction model is used to perform spatial regression prediction on the target virtual machine startup request that obtains the prediction space, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request. The specific method is: based on the sample resource specification parameters and spatial distribution parameters, the prediction model is used to build a regression model, and the trained regression model is used to perform spatial regression prediction on the target virtual machine startup request in the prediction space, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request.

[0135] Exemplarily, based on sample resource specification parameters and spatial distribution parameters and based on the XGBoost algorithm, a regression model is constructed using a prediction model, and the trained regression model is used to perform spatial regression prediction on the target virtual machine startup request in the prediction space (A), and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request. Based on the predicted resource specification parameters, the resources of the idle third node: node 40 are initialized.

[0136] Based on the sample resource specification parameters, time distribution parameters and space distribution parameters, the prediction model is used to perform spatiotemporal regression prediction on the target virtual machine startup request that obtains the prediction space within the prediction time, and the prediction resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request. The specific method is as follows: based on the sample resource specification parameters, time distribution parameters and space distribution parameters, the prediction model is used to construct a regression model, and the trained regression model is used to perform spatiotemporal regression prediction on the target virtual machine startup request that obtains the prediction space within the prediction time, and the prediction resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request.

[0137] Exemplarily, based on sample resource specification parameters, time distribution parameters and space distribution parameters, and based on the XGBoost algorithm, a regression model is constructed using a prediction model, and the trained regression model is used to perform spatiotemporal regression prediction on the target virtual machine startup request obtained in the prediction space (A) within the prediction time (20:00:00 on September 16, 2023), and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request. Based on the predicted resource specification parameters, the resources of the idle third node: node 40 are initialized.

[0138] Based on the sample resource specification parameters and time distribution parameters, the prediction model is used to perform time regression prediction on the target virtual machine startup request obtained within the prediction time, and the prediction resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request; or, based on the sample resource specification parameters and space distribution parameters, the prediction model is used to perform space regression prediction on the target virtual machine startup request that obtains the prediction space, and the prediction resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request; or, based on the sample resource specification parameters, time distribution parameters and space distribution parameters, the prediction model is used to perform time-space regression prediction on the target virtual machine startup request that obtains the prediction space within the prediction time, and the prediction resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request. The method of using the neural network model for time-space regression prediction accurately provides initialized resources for subsequent virtual machine startup in time and space, further ensures the stability of virtual machine startup, further improves the efficiency of virtual machine startup, and further improves the efficiency of system startup.

[0139] Figure 6 A schematic diagram of a system startup method provided by an embodiment of this specification is shown. Figure 6 As shown:

[0140] Start; query whether there is a target node corresponding to the first resource specification parameter from the node resource configuration table of the cloud computing system.

[0141] If yes, the virtual machine startup request is dispatched to the target node, and the target node quickly starts the target virtual machine based on the resources after the initialization process, and the process ends. This method greatly shortens the time of virtual machine startup and improves the efficiency of system startup.

[0142] If not, identify whether there is an idle node; if so, schedule the virtual machine startup request to the idle node, initialize the resources of the idle node based on the first resource specification parameter, start the target virtual machine based on the initialized resources, and end. This method performs a normal virtual machine startup, and the startup time is consistent with the current system startup method, and does not increase the virtual machine startup time.

[0143] If not, identify whether there is an idle node; if not, determine whether there is a reference node that has been initialized in advance and has not started the virtual machine; if not, end directly; if yes, schedule the virtual machine startup request to the reference node, reset the resources of the reference node based on the first resource specification parameter, start the target virtual machine based on the reset resources, and end. This method adds the operation of resetting resources, but because the time for resetting resources is short, it does not significantly increase the startup time of the virtual machine.

[0144] See also Figure 7 , Figure 7 A flowchart of another system startup method provided by an embodiment of the present specification is shown. The method is applied to a target node of a cloud computing system and includes the following specific steps:

[0145] Step 702: Receive a virtual machine startup request scheduled by the scheduling end, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine, and the first resource specification parameter is a resource specification parameter of the resource on the target node.

[0146] Step 704: Based on the initialized resources, the target virtual machine is started, thereby realizing system startup.

[0147] The embodiments of this specification are applied to the target node of the cloud computing system. The target node is a node containing resources pre-initialized according to the first resource specification parameters. The scheduling end of the cloud computing system is a functional module for scheduling instruction requests. The scheduling end records the node resource configuration table of the cloud computing system. After obtaining the virtual machine startup request, it is reasonably scheduled to the distributed deployed node to complete the virtual machine startup on the node.

[0148] Based on the initialized resources, the target virtual machine is started, specifically in the following manner: based on the initialized resources, a virtual machine instance of the target virtual machine is created, the virtual machine instance is run, and the target virtual machine is started.

[0149] Exemplarily, Node 2, Node 6, Node 13 ... Node 77, a total of 10 target nodes, receive a virtual machine startup request scheduled by the scheduling end of the public cloud computing system, and create a virtual machine instance Instance.game.VM_i (i∈[0,9]) of the target virtual machine game.VM_i (i∈[0,9]) based on the initialized hardware resources (CPU, GPU, memory, disk, and I / O controller) and software resources (operating system), run the virtual machine instances respectively, and start the target virtual machine.

[0150] In an embodiment of the present specification, a virtual machine startup request scheduled by a scheduling end is received, wherein the virtual machine startup request carries a first resource specification parameter required to start a target virtual machine, and the first resource specification parameter is a resource specification parameter of a resource on a target node; based on the resources after initialization processing, the target virtual machine is started. The resources are pre-initialized on the target node, and when the scheduling end obtains the virtual machine startup request, based on the first resource specification parameter required to start the target virtual machine, the corresponding target node is determined from the node resource configuration table of the cloud computing system, and the virtual machine startup request is scheduled to the target node, so that the target node does not need to initialize the resources again, and can quickly start the target virtual machine based on the initialized resources, thereby improving the efficiency of system startup, and further improving the elasticity of the cloud computing system.

[0151] See also Figure 8 , Figure 8 A flowchart of a task execution method provided by an embodiment of the present specification is shown. The method is applied to a scheduling end of a cloud computing system and includes the following specific steps:

[0152] Step 802: Receive a task processing request for a target task sent by the front end.

[0153] Step 804: In response to the task processing request, a virtual machine startup request is generated, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine.

[0154] Step 806: querying a target node corresponding to the first resource specification parameter from a node resource configuration table of the cloud computing system, wherein the target node includes resources that have been pre-initialized according to the first resource specification parameter.

[0155] Step 808: dispatching the virtual machine startup request to the target node, so that the target node starts the target virtual machine based on the initialized resources and executes the target task on the target virtual machine.

[0156] Step 810: Receive the task execution result of the target task fed back by the target node, and feed back the task execution result to the front end.

[0157] The embodiments of this specification are applied to the scheduling end of the cloud computing system. The scheduling end is a functional module for scheduling instruction requests. The scheduling end records the node resource configuration table of the cloud computing system. After obtaining the virtual machine startup request, it is reasonably scheduled to the distributed deployed node to complete the virtual machine startup and execute the computing task on the node.

[0158] The target task is a computing task that needs to be executed in a distributed manner, including but not limited to: neural network model training tasks, neural network model training tasks (question-answering tasks, text processing tasks, image processing tasks, etc.), graph computing tasks, and data stream processing tasks. The task processing request is an instruction request to execute the target task based on the cloud computing system. The task execution result is the execution result obtained by the cloud computing system executing the target task.

[0159] In the embodiments of this specification, the specific methods of steps 804 to 808 refer to steps 102 to 106 and will not be repeated here.

[0160] Exemplarily, a task processing request for a game data flow task sent by a game operator from a front end of a cloud computing system is received, a virtual machine startup request is generated in response to the task processing request, 12 target nodes including pre-initialized resources corresponding to the first resource specification parameter (CPU quantity (1); GPU quantity (4); model (A100); memory capacity (8GB); disk capacity (512GB); disk type (SCSI); I / O controller type (LSI Logic); operating system version (Centos7 64-bit)) are queried from a node resource configuration table of the cloud computing system, the virtual machine startup request is scheduled to the 12 target nodes, so that the 12 target nodes start the target virtual machines based on the initialized resources and execute the game data flow task on the target virtual machines, the task execution results of the game data flow task fed back by the 12 target nodes are received, and the task execution results are fed back to the front end of the cloud computing system.

[0161] In the embodiment of the present specification, a task processing request for a target task is sent by a front end; in response to the task processing request, a virtual machine startup request is generated, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine; from the node resource configuration table of the cloud computing system, a target node corresponding to the first resource specification parameter is queried, wherein the target node includes resources pre-initialized according to the first resource specification parameter; the virtual machine startup request is dispatched to the target node, so that the target node starts the target virtual machine based on the resources after initialization processing, and executes the target task on the target virtual machine; the task execution result of the target task fed back by the target node is received, and the task execution result is fed back to the front end. Resources are pre-initialized on multiple nodes, and when the scheduling end obtains the virtual machine startup request, based on the first resource specification parameter required to start the target virtual machine, the corresponding target node is determined from the node resource configuration table of the cloud computing system, and the virtual machine startup request is dispatched to the target node, so that the target node does not need to initialize the resources again, and can quickly start the target virtual machine based on the resources after initialization processing, thereby improving the efficiency of system startup, thereby improving the elasticity of the cloud computing system, realizing highly elastic task processing, and improving the efficiency, stability and availability of task processing.

[0162] The following combination Fig. 9 , taking the application of the system startup method provided in this specification in e-commerce live broadcast as an example, the system startup method is further explained. Fig. 9 A flowchart of a processing process of a system startup method applied to an e-commerce live broadcast data stream provided by an embodiment of the present specification is shown. The method is applied to the scheduling end of the cloud computing system, and includes the following specific steps:

[0163] Step 902: For any historical virtual machine, when a virtual machine stop request is obtained for any historical virtual machine, the node state of the first node that starts any historical virtual machine is reset, and the resources of the first node are initialized based on the sample resource specification parameters required to start any historical virtual machine. The resource specification parameters of the node after initialization are recorded in the node resource configuration table of the cloud computing system.

[0164] Step 904: For any sample virtual machine, when a virtual machine creation request for any sample virtual machine is obtained, any sample virtual machine is created, the sample resource specification parameters required to start any sample virtual machine and the idle second node are determined, and the resources of the second node are initialized based on the sample resource specification parameters, and the resource specification parameters of the node after the initialization are recorded in the node resource configuration table of the cloud computing system.

[0165] Step 906: For at least one sample virtual machine, obtain sample resource specification parameters and distribution parameters of at least one sample virtual machine, and based on the sample resource specification parameters and distribution parameters, use the prediction model to perform prediction to obtain the predicted resource specification parameters required to start any target virtual machine; based on the predicted resource specification parameters, initialize the resources of the idle third node, and record the resource specification parameters of the initialized node into the node resource configuration table of the cloud computing system.

[0166] Step 908: For the target virtual machine that processes the e-commerce live broadcast data stream, receive a virtual machine startup request carrying the first resource specification parameters required to start the target virtual machine.

[0167] Step 910: Query the target node corresponding to the first resource specification parameter from the node resource configuration table of the cloud computing system, and schedule the virtual machine startup request to the target node, so that the target node starts the target virtual machine to process the e-commerce live broadcast data stream based on the initialized resources.

[0168] Step 912: If the target node corresponding to the first resource specification parameter is not found, an idle node is identified, and the virtual machine startup request is scheduled to the idle node, so that the idle node initializes the resources based on the first resource specification parameter, and based on the initialized resources, the target virtual machine is started to process the e-commerce live broadcast data stream.

[0169] Step 914: If there are no idle nodes, determine a reference node that includes resources that have been pre-initialized and the virtual machine has not been started, schedule the virtual machine startup request to the reference node, so that the reference node resets the resources of the reference node, initializes the processing resources based on the first resource specification parameters, and starts the target virtual machine to process the e-commerce live broadcast data stream.

[0170] In the embodiments of the present specification, different initialization strategies are used to complete the initialization processing of resources on the node in advance. When a virtual machine startup request is received for a target virtual machine that processes an e-commerce live broadcast data stream, the target node corresponding to the first resource specification parameter carried in the virtual machine startup request is queried from the node resource configuration table of the cloud computing system, and the virtual machine startup request is directly scheduled to the target node. Based on the resources that have been initialized, the target virtual machine is started to process the e-commerce live broadcast data stream. There is no need to initialize the resources again. The target virtual machine can be quickly started based on the initialized resources, thereby improving the efficiency of system startup, and thereby improving the elasticity of the cloud computing system, while also improving the data processing efficiency and stability of the e-commerce live broadcast data stream.

[0171] Corresponding to the above method embodiment, this specification also provides a system startup device embodiment, Fig.10 FIG. 1 shows a schematic diagram of the structure of a system startup device provided by an embodiment of the present specification. Fig.10 As shown, the device is applied to the scheduling end of the cloud computing system, and the device includes:

[0172] The acquisition module 1002 is configured to acquire a virtual machine startup request, wherein the virtual machine startup request carries a first resource specification parameter required to start a target virtual machine;

[0173] The query module 1004 is configured to query a target node corresponding to the first resource specification parameter from a node resource configuration table of the cloud computing system, wherein the target node includes a resource that has been pre-initialized according to the first resource specification parameter;

[0174] The first scheduling module 1006 is configured to schedule the virtual machine startup request to the target node, so that the target node starts the target virtual machine based on the initialized resources.

[0175] Optionally, the device further comprises:

[0176] The second scheduling module is configured to identify whether there is an idle node when the target node corresponding to the first resource specification parameter is not queried, wherein the idle node is a node that has not been initialized; if so, schedule the virtual machine startup request to the idle node so that the resources of the idle node are initialized based on the first resource specification parameter, and start the target virtual machine based on the initialized resources.

[0177] Optionally, the device further comprises:

[0178] The third scheduling module is configured to determine a reference node if it does not exist, wherein the reference node includes resources that have been initialized in advance and the virtual machine has not been started; schedule the virtual machine startup request to the reference node so that the reference node resets the resources of the reference node, initializes the processing resources based on the first resource specification parameters, and starts the target virtual machine.

[0179] Optionally, the device further comprises:

[0180] The pre-initialization module is configured to initialize the resources of the nodes in the cloud computing system based on the sample resource specification parameters; and record the resource specification parameters of the nodes after the initialization processing into the node resource configuration table of the cloud computing system.

[0181] Optionally, the pre-initialization module is further configured to:

[0182] For any historical virtual machine, when a virtual machine stop request for any historical virtual machine is obtained, the resource state of the first node that starts any historical virtual machine is reset; based on the sample resource specification parameters required to start any historical virtual machine, the resources of the first node are initialized.

[0183] Optionally, the pre-initialization module is further configured to:

[0184] For any sample virtual machine, upon receiving a virtual machine creation request for any sample virtual machine, create any sample virtual machine; determine the sample resource specification parameters and the idle second node required to start any sample virtual machine; and initialize the resources of the second node based on the sample resource specification parameters.

[0185] Optionally, the pre-initialization module is further configured to:

[0186] For at least one sample virtual machine, obtain sample resource specification parameters and distribution parameters of at least one sample virtual machine; based on the sample resource specification parameters and distribution parameters, use the prediction model to perform prediction to obtain the predicted resource specification parameters required to start any target virtual machine; based on the predicted resource specification parameters, initialize the resources of the idle third node.

[0187] Optionally, the distribution parameter includes at least one of a time distribution parameter and a space distribution parameter;

[0188] Correspondingly, the pre-initialization module is further configured as follows:

[0189] Based on the sample resource specification parameters and time distribution parameters, the prediction model is used to perform time regression prediction on the target virtual machine startup request obtained within the prediction time, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request; or, based on the sample resource specification parameters and spatial distribution parameters, the prediction model is used to perform spatial regression prediction on the target virtual machine startup request obtained in the prediction space, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request; or, based on the sample resource specification parameters, time distribution parameters and spatial distribution parameters, the prediction model is used to perform spatiotemporal regression prediction on the target virtual machine startup request obtained in the prediction space within the prediction time, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request.

[0190] In an embodiment of the present specification, a virtual machine startup request is obtained, wherein the virtual machine startup request carries a first resource specification parameter required to start a target virtual machine; a target node corresponding to the first resource specification parameter is queried from a node resource configuration table of a cloud computing system, wherein the target node includes resources that have been pre-initialized according to the first resource specification parameter; and the virtual machine startup request is dispatched to the target node, so that the target node starts the target virtual machine based on the initialized resources. Resources are pre-initialized on multiple nodes, and when the scheduling end obtains the virtual machine startup request, based on the first resource specification parameter required to start the target virtual machine, the scheduling end determines the corresponding target node from the node resource configuration table of the cloud computing system, and dispatches the virtual machine startup request to the target node, so that the target node does not need to initialize the resources again, and can quickly start the target virtual machine based on the initialized resources, thereby improving the efficiency of system startup and further improving the elasticity of the cloud computing system.

[0191] The above is a schematic scheme of a system startup device of this embodiment. It should be noted that the technical scheme of the system startup device and the technical scheme of the system startup method described above are of the same concept, and the details not described in detail in the technical scheme of the system startup device can be found in the description of the technical scheme of the system startup method described above.

[0192] Corresponding to the above method embodiment, this specification also provides a system startup device embodiment, Fig.11 FIG. 2 shows a schematic diagram of the structure of another system startup device provided by an embodiment of the present specification. Fig.11 As shown, the device is applied to a target node of a cloud computing system, and the device includes:

[0193] The receiving module 1102 is configured to receive a virtual machine startup request scheduled by the scheduling end, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine, and the first resource specification parameter is a resource specification parameter of a resource on the target node;

[0194] The startup module 1104 is configured to start the target virtual machine based on the initialized resources.

[0195] In an embodiment of the present specification, a virtual machine startup request scheduled by a scheduling end is received, wherein the virtual machine startup request carries a first resource specification parameter required to start a target virtual machine, and the first resource specification parameter is a resource specification parameter of a resource on a target node; based on the resources after initialization processing, the target virtual machine is started. The resources are pre-initialized on the target node, and when the scheduling end obtains the virtual machine startup request, based on the first resource specification parameter required to start the target virtual machine, the corresponding target node is determined from the node resource configuration table of the cloud computing system, and the virtual machine startup request is scheduled to the target node, so that the target node does not need to initialize the resources again, and can quickly start the target virtual machine based on the initialized resources, thereby improving the efficiency of system startup, and further improving the elasticity of the cloud computing system.

[0196] The above is a schematic scheme of a system startup device of this embodiment. It should be noted that the technical scheme of the system startup device and the technical scheme of the system startup method described above are of the same concept, and the details not described in detail in the technical scheme of the system startup device can be found in the description of the technical scheme of the system startup method described above.

[0197] Corresponding to the above method embodiment, this specification also provides a task execution device embodiment, Fig.12 FIG. 1 shows a schematic diagram of a task execution device provided by an embodiment of the present specification. Fig.12 As shown, the device is applied to the scheduling end of the cloud computing system, and the device includes:

[0198] The request receiving module 1202 is configured to receive a task processing request for a target task sent by the front end;

[0199] The request generation module 1204 is configured to generate a virtual machine startup request in response to the task processing request, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine;

[0200] The node query module 1206 is configured to query a target node corresponding to the first resource specification parameter from a node resource configuration table of the cloud computing system, wherein the target node includes a resource that has been pre-initialized according to the first resource specification parameter;

[0201] The request scheduling module 1208 is configured to schedule the virtual machine startup request to the target node, so that the target node starts the target virtual machine based on the initialized resources and executes the target task on the target virtual machine;

[0202] The result forwarding module 1210 is configured to receive the task execution result of the target task fed back by the target node, and feed back the task execution result to the front end.

[0203] In the embodiment of the present specification, a task processing request for a target task is sent by a front end; in response to the task processing request, a virtual machine startup request is generated, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine; from the node resource configuration table of the cloud computing system, a target node corresponding to the first resource specification parameter is queried, wherein the target node includes resources that have been pre-initialized according to the first resource specification parameter; the virtual machine startup request is dispatched to the target node, so that the target node starts the target virtual machine based on the initialized resources and executes the target task on the target virtual machine; the task execution result of the target task fed back by the target node is received, and the task execution result is fed back to the front end. Resources are pre-initialized on multiple nodes, and when the scheduling end obtains the virtual machine startup request, based on the first resource specification parameter required to start the target virtual machine, the corresponding target node is determined from the node resource configuration table of the cloud computing system, and the virtual machine startup request is dispatched to the target node, so that the target node does not need to initialize the resources again, and can quickly start the target virtual machine based on the initialized resources, thereby improving the efficiency of system startup, thereby improving the elasticity of the cloud computing system, realizing highly elastic task processing, and improving the efficiency, stability and availability of task processing.

[0204] The above is a schematic scheme of a task execution device of this embodiment. It should be noted that the technical scheme of the task execution device and the technical scheme of the above task execution method belong to the same concept, and the details not described in detail in the technical scheme of the task execution device can be referred to the description of the technical scheme of the above task execution method.

[0205] Corresponding to the above method embodiment, this specification also provides a cloud computing system embodiment. Fig.13 FIG. 1 shows a schematic diagram of a cloud computing system provided by an embodiment of the present specification. Fig.13 As shown, the cloud computing system includes a scheduling terminal 1302 and a target node 1304, and the target node 1304 includes resources that have been pre-initialized according to the first resource specification parameters;

[0206] The scheduling end 1302 is used to obtain a virtual machine startup request, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine, query the target node 1304 corresponding to the first resource specification parameter from the node resource configuration table of the cloud computing system, and schedule the virtual machine startup request to the target node 1304;

[0207] The target node 1304 is used to receive the virtual machine startup request scheduled by the scheduling end 1302, and start the target virtual machine based on the initialized resources.

[0208] Optionally, the scheduling end 1302 is further used to initialize the nodes in the cloud computing system based on the sample resource specification parameters, and record the resource specification parameters of the initialized nodes into the node resource configuration table of the cloud computing system.

[0209] In an embodiment of the present specification, a cloud computing system includes a scheduling end and a target node, wherein the target node includes resources that have been pre-initialized according to a first resource specification parameter; the scheduling end is used to obtain a virtual machine startup request, wherein the virtual machine startup request carries the first resource specification parameter required to start the target virtual machine, queries the target node corresponding to the first resource specification parameter from the node resource configuration table of the cloud computing system, and schedules the virtual machine startup request to the target node; the target node is used to receive the virtual machine startup request scheduled by the scheduling end, and starts the target virtual machine based on the initialized resources. The resources of the node are pre-initialized, and when the scheduling end obtains the virtual machine startup request, based on the first resource specification parameter required to start the target virtual machine, the scheduling end determines the corresponding target node from the node resource configuration table of the cloud computing system, and schedules the virtual machine startup request to the target node. The target node does not need to initialize the resources again, and can quickly start the target virtual machine based on the initialized resources, thereby improving the efficiency of system startup and thus improving the elasticity of the cloud computing system.

[0210] The above is a schematic scheme of a cloud computing system of this embodiment. It should be noted that the technical scheme of the cloud computing system and the technical scheme of the system startup method described above are of the same concept, and the details not described in detail in the technical scheme of the cloud computing system can be referred to the description of the technical scheme of the system startup method described above.

[0211] Fig.14 14 shows a block diagram of a computing device provided by an embodiment of the present specification. The components of the computing device 1400 include but are not limited to a memory 1410 and a processor 1420. The processor 1420 is connected to the memory 1410 via a bus 1430, and the database 1450 is used to store data.

[0212] The computing device 1400 also includes an access device 1440, which enables the computing device 1400 to communicate via one or more networks 1460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 1440 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).

[0213] In one embodiment of the present specification, the above components of the computing device 1400 and Fig.14 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Fig.14 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0214] The computing device 1400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 1400 may also be a mobile or stationary server.

[0215] The processor 1420 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the above-mentioned system startup method or task execution method.

[0216] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned system startup method and task execution method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned system startup method or task execution method.

[0217] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned system startup method or task execution method.

[0218] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the system startup method and the task execution method described above are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be found in the description of the technical scheme of the system startup method or the task execution method described above.

[0219] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned system startup method or task execution method.

[0220] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the above-mentioned system startup method and task execution method belong to the same concept, and the details not described in detail in the technical scheme of the computer program can be referred to the description of the technical scheme of the above-mentioned system startup method or task execution method.

[0221] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0222] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0223] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0224] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0225] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A system startup method, applied to a scheduling end of a cloud computing system, the method comprising: Obtaining a virtual machine startup request, wherein the virtual machine startup request carries a first resource specification parameter required to start a target virtual machine; Querying a target node corresponding to the first resource specification parameter from a node resource configuration table of the cloud computing system, wherein the target node includes resources that have been pre-initialized according to the first resource specification parameter; The virtual machine startup request is dispatched to the target node, so that the target node starts the target virtual machine based on the initialized resources.

2. The method according to claim 1, after querying the target node corresponding to the first resource specification parameter from the node resource configuration table of the cloud computing system, further comprises: In the case that the target node corresponding to the first resource specification parameter is not found, identifying whether there is an idle node, wherein the idle node is a node that has not been initialized; If so, the virtual machine startup request is scheduled to the idle node, so that the resources of the idle node are initialized based on the first resource specification parameter, and the target virtual machine is started based on the initialized resources.

3. The method according to claim 2, after identifying whether there is an idle node, further comprising: If not, determining a reference node, wherein the reference node includes resources that have been pre-initialized and the virtual machine has not been started; The virtual machine startup request is dispatched to the reference node, so that the reference node resets the resources of the reference node, initializes and processes the resources based on the first resource specification parameters, and starts the target virtual machine.

4. The method according to any one of claims 1 to 3, before querying the target node corresponding to the first resource specification parameter from the node resource configuration table of the cloud computing system, further comprising: Initializing resources of nodes in the cloud computing system based on sample resource specification parameters; The resource specification parameters of the node after the initialization process are recorded in the node resource configuration table of the cloud computing system.

5. The method according to claim 4, wherein the initializing processing of the resources of the nodes in the cloud computing system based on the sample resource specification parameters comprises: For any historical virtual machine, when a virtual machine stop request for the any historical virtual machine is obtained, resetting the resource state of the first node that starts the any historical virtual machine; Based on the sample resource specification parameters required to start any of the historical virtual machines, the resources of the first node are initialized.

6. The method according to claim 4, wherein the initializing processing of the resources of the nodes in the cloud computing system based on the sample resource specification parameters comprises: For any sample virtual machine, when a virtual machine creation request for the any sample virtual machine is obtained, create the any sample virtual machine; Determine sample resource specification parameters and idle second nodes required to start any of the sample virtual machines; Based on the sample resource specification parameters, the resources of the second node are initialized.

7. The method according to claim 4, wherein the initializing processing of the resources of the nodes in the cloud computing system based on the sample resource specification parameters comprises: For at least one sample virtual machine, obtaining sample resource specification parameters and distribution parameters of the at least one sample virtual machine; Based on the sample resource specification parameters and the distribution parameters, a prediction model is used to perform prediction to obtain the predicted resource specification parameters required to start any target virtual machine; Based on the predicted resource specification parameters, the idle resources of the third node are initialized.

8. The method according to claim 7, wherein the distribution parameter comprises at least one of a time distribution parameter and a space distribution parameter; The step of using a prediction model to predict based on the sample resource specification parameters and the distribution parameters to obtain the predicted resource specification parameters required to start any target virtual machine includes: Based on the sample resource specification parameters and the time distribution parameters, a prediction model is used to perform time regression prediction on the target virtual machine startup request obtained within the prediction time, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request; or, Based on the sample resource specification parameters and the spatial distribution parameters, a prediction model is used to perform spatial regression prediction on the target virtual machine startup request that obtains the prediction space, and the prediction resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request; or, Based on the sample resource specification parameters, the time distribution parameters and the space distribution parameters, a prediction model is used to perform spatiotemporal regression prediction on the target virtual machine startup request that obtains the prediction space within the prediction time, and the predicted resource specification parameters required to start any target virtual machine are obtained from the target virtual machine startup request.

9. A system startup method, applied to a target node of a cloud computing system, wherein the target node includes a resource that has been pre-initialized according to a first resource specification parameter, comprising: Receive a virtual machine startup request scheduled by a scheduling end, wherein the virtual machine startup request carries a first resource specification parameter required to start a target virtual machine, and the first resource specification parameter is a resource specification parameter of a resource on the target node; Based on the pre-initialized resources, the target virtual machine is started.

10. A task execution method, applied to a scheduling end of a cloud computing system, comprising: Receive task processing requests for target tasks sent by the front end; In response to the task processing request, generating a virtual machine startup request, wherein the virtual machine startup request carries a first resource specification parameter required to start the target virtual machine; Querying a target node corresponding to the first resource specification parameter from a node resource configuration table of the cloud computing system, wherein the target node includes a resource that has been pre-initialized according to the first resource specification parameter; Dispatching the virtual machine startup request to the target node, so that the target node starts the target virtual machine based on the initialized resources and executes the target task on the target virtual machine; Receive the task execution result of the target task fed back by the target node, and feed back the task execution result to the front end.

11. A cloud computing system, the system comprising a scheduling end and a target node, the target node comprising a resource that has been pre-initialized according to a first resource specification parameter; The scheduling end is used to obtain a virtual machine startup request, wherein: The virtual machine startup request carries a first resource specification parameter required to start the target virtual machine, queries the target node corresponding to the first resource specification parameter from the node resource configuration table of the cloud computing system, and schedules the virtual machine startup request to the target node; The target node is used to receive a virtual machine startup request scheduled by a scheduling end, and to start the target virtual machine based on the initialized resources.

12. According to the cloud computing system of claim 11, the scheduling end is also used to initialize the nodes in the cloud computing system based on sample resource specification parameters, and record the resource specification parameters of the initialized nodes into the node resource configuration table of the cloud computing system.

13. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method according to any one of claims 1 to 10 are implemented.

14. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the steps of the method according to any one of claims 1 to 10.