Virtual machine creation request processing method, device, equipment and storage medium

By combining and centrally responding to batch virtual machine creation requests, the server pressure problem when the number of virtual machine creation requests is large, faster response time and lower load are achieved, and the performance and user experience of virtual machine creation services are improved.

CN118860562BActive Publication Date: 2025-07-11TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410655586.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2025-07-11
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

In public cloud scenarios, when the number of virtual machine creation requests is large, the existing technology requires full filtering and weight configuration operations on each request, resulting in a surge in server pressure and increasing response time, which affects the service quality of virtual machine creation.

Method used

Merge batch virtual machine creation requests with the same parameters, generate cache records, and centrally respond when conditions are met to reduce full filtering and weight configuration operations.

Benefits of technology

Through merge processing and centralized response, we reduce the time-consuming response of virtual machine creation requests, reduce server load, optimize virtual machine creation service performance, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118860562B_ABST
    Figure CN118860562B_ABST
Patent Text Reader

Abstract

The present application discloses a method, apparatus, device, and storage medium for processing virtual machine creation requests, belonging to the field of computer cloud technology, including obtaining a virtual machine creation request, where the virtual machine creation request includes virtual machine creation parameters and the number of virtual machines, and the number of virtual machines refers to the total number of virtual machines corresponding to a batch request, and the batch request is formed by each virtual machine creation request with the virtual machine creation parameters; when the number of virtual machines is greater than a first preset value, saving the virtual machine creation request; generating a cache record in the case of no corresponding cache record, where the cache record includes resource parameters; and responding to a set request based on the resource parameters, where the set request is formed by the saved virtual machine creation requests belonging to the batch request. The present application streamlines the computational amount required for response through a centralized response method, reduces the response time of virtual machine creation requests and the server load, optimizes the performance of virtual machine creation services, and improves the virtual machine creation experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer cloud technology, and particularly to a method, apparatus, device, and storage medium for processing virtual machine creation requests. Background Art

[0002] With the rapid development of cloud technology, Internet applications can provide users with cloud virtual machine management services, including but not limited to services such as virtual machine creation, virtual machine deletion, and virtual machine update. Taking the public cloud scenario as an example, in the public cloud scenario, numerous users have different requirements for virtual machine creation. Each time a virtual machine is created, it is necessary to determine a physical machine that meets the specific creation requirements of the user from a large number of physical machine resource pools, and then create a virtual machine on the determined physical machine. This is a huge computing process because the cloud structure is complex, the scale of the physical machine resource pool is large, and the physical machines also cover different models and specifications, which leads to a large amount of computing involved in the process of determining the physical machine. And in some special scenarios, with the increase in the amount of virtual machine creation requests, the pressure on the server providing the cloud virtual machine management service will soar, resulting in a reduction in the quality of the cloud virtual machine management service. Summary of the Invention

[0003] Embodiments of this application provide a method, apparatus, device, and storage medium for processing virtual machine creation requests, which can reduce the response time of virtual machine creation requests and reduce the server load, optimize the performance of the virtual machine creation service, and improve the virtual machine creation experience.

[0004] Obtain a virtual machine creation request, where the virtual machine creation request includes virtual machine creation parameters and the number of virtual machines. The number of virtual machines refers to the total number of virtual machines corresponding to a batch request, and the batch request is formed by each virtual machine creation request with the virtual machine creation parameters.

[0005] When the number of virtual machines is greater than a first preset value, save the virtual machine creation request.

[0006] When there is no cache record corresponding to the batch request, generate a cache record, where the cache record includes resource parameters, and the resource parameters indicate the physical machine corresponding to the virtual machine creation parameters.

[0007] Respond to a set request based on the resource parameters, where the set request is formed by the virtual machine creation requests that belong to the batch request and are saved.

[0008] According to one aspect of the embodiments of this application, a virtual machine creation request processing apparatus is provided. The apparatus includes:

[0009] A request acquisition module, configured to acquire a virtual machine creation request, where the virtual machine creation request includes virtual machine creation parameters and the number of virtual machines. The number of virtual machines refers to the total number of virtual machines corresponding to a batch request, and the batch request is formed by each virtual machine creation request with the virtual machine creation parameters;

[0010] A request processing module, configured to perform the following operations:

[0011] When the number of virtual machines is greater than a first preset value, save the virtual machine creation request;

[0012] When there is no cache record corresponding to the batch request, generate a cache record, where the cache record includes resource parameters, and the resource parameters indicate a physical machine corresponding to the virtual machine creation parameters;

[0013] Respond to a set request based on the resource parameters, where the set request is formed by virtual machine creation requests that belong to the batch request and are saved.

[0014] According to an aspect of an embodiment of the present application, a computer device is provided. The computer device includes a processor and a memory. At least one instruction, at least one program, a code set, or an instruction set is stored in the memory. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the above-mentioned virtual machine creation request processing method.

[0015] According to an aspect of an embodiment of the present application, a computer-readable storage medium is provided. At least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the above-mentioned virtual machine creation request processing method.

[0016] According to an aspect of an embodiment of the present application, a computer program product is provided. The computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes to implement the above-mentioned virtual machine creation request processing method.

[0017] The technical solution provided by the embodiment of the present application can bring the following beneficial effects:

[0018] The embodiments of the present application provide a method for processing virtual machine creation requests. This method can merge and process a batch of virtual machine creation requests with the same parameters. Specifically, if the number of virtual machines in a virtual machine creation request is greater than a first preset value, it indicates that this virtual machine creation request belongs to one of the batch requests with the same parameters. Then, instead of directly responding to this virtual machine creation request, it saves this virtual machine creation request and obtains a cache record corresponding to this virtual machine creation request. When certain conditions are met, it centrally responds to a set of requests including this virtual machine creation request. The set of requests is a subset of the aforementioned batch requests. That is to say, multiple virtual machine creation requests with the same parameters are merged into a set of requests for centralized response. Then, there is no need to perform full-scale filtering operations and full-scale weight configuration operations for each request. In the virtual machine creation scenario, identify the virtual machine creation requests belonging to the batch requests and save them until the set of requests including this virtual machine creation request can be centrally responded to. This can streamline the computational effort required for the response through centralized response, reduce the response time of virtual machine creation requests, lower the server load, avoid congestion of related components, optimize the performance of the virtual machine creation service, and enhance the virtual machine creation experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] To more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.

[0020] Figure 1 is a schematic diagram of an application program running environment provided by an embodiment of the present application;

[0021] Figure 2 is a flowchart of a method for processing virtual machine creation requests provided by an embodiment of the present application;

[0022] Figure 3 is a schematic flowchart of a method for generating cache records provided by an embodiment of the present application;

[0023] Figure 4 is a flowchart of a method for centralized response provided by an embodiment of the present application;

[0024] Figure 5 is a schematic diagram of a framework for a method of processing virtual machine creation requests provided by an embodiment of the present application;

[0025] Figure 6 is a schematic flowchart of a process for processing virtual machine creation in related technologies provided by an embodiment of the present application;

[0026] Figure 7 It is a schematic flowchart of a virtual machine creation process provided by an embodiment of the present application;

[0027] Figure 8 It is a schematic diagram of a virtual machine service system for implementing virtual machine creation provided by an embodiment of the present application;

[0028] Figure 9 It is a block diagram of a virtual machine creation request processing device provided by an embodiment of the present application;

[0029] Figure 10 It is a block diagram of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0030] Before introducing the method embodiments provided by the present application, the relevant terms or nouns that may be involved in the method embodiments of the present application are briefly introduced first, so as to facilitate the understanding of those skilled in the art of the present application.

[0031] Artificial Intelligence (AI) is to use a digital computer or a machine controlled by a digital computer to simulate, extend, and expand human intelligence, a theory, method, technology, and application system that can perceive the environment, acquire knowledge, and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science. It attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a way similar to human intelligence. Artificial intelligence also studies the design principles and implementation methods of various intelligent machines, enabling the machines to have the functions of perception, reasoning, and decision-making.

[0032] Artificial intelligence technology is an interdisciplinary subject, involving a wide range of fields, including both hardware-level technologies and software-level technologies. The basic technologies of artificial intelligence generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, large virtual machine creation request processing technology, operation / interaction systems, and mechatronics. The software technologies of artificial intelligence mainly include several major directions such as computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0033] Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data computing, storage, processing, and sharing. Cloud technology is the general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, be used on demand, and is flexible and convenient. Cloud computing technology will become an important support. The back-end services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-based websites, and more portal websites. With the high development and application of the Internet industry, in the future, each item may have its own identification mark and needs to be transmitted to the back-end system for logical processing. Data at different levels will be processed separately, and various industry data requires a powerful system back-end support, which can only be achieved through cloud computing.

[0034] Before specifically elaborating on the embodiments of the present application, the relevant technical background related to the embodiments of the present application is introduced to facilitate the understanding of those skilled in the art of the present application field.

[0035] With the rapid development of cloud technology, Internet applications can provide users with cloud virtual machine management services, including but not limited to services such as virtual machine creation, virtual machine deletion, and virtual machine update. Taking the public cloud scenario as an example, in the public cloud scenario, numerous users have different requirements for virtual machine creation. Each time a virtual machine is created, it is necessary to determine a physical machine that meets the specific creation requirements of the user from a large number of physical machine resource pools, and then create a virtual machine on the determined physical machine. This is a huge computing process because the cloud structure is complex, the scale of the physical machine resource pool is large, and the physical machines also cover different models and specifications, which leads to a large amount of computing involved in the process of determining the physical machine. And in some special scenarios, with the increase in the volume of virtual machine creation requests, the pressure on the server providing the cloud virtual machine management service will soar, resulting in a reduction in the quality of the cloud virtual machine management service.

[0036] In the related art, for each virtual machine creation request, it is necessary to use the packing service to perform filtering operations and weight configuration operations on the physical machine resource pool based on the virtual machine creation parameters of the virtual machine creation request, so as to screen out the physical machines for loading virtual machines. The purpose of the filtering operation is to filter out physical machines that do not meet the requirements of the virtual machine creation parameters, and the purpose of the weight configuration operation is to measure the adaptability of the physical machine to the virtual machine creation parameters and quantify the suitability of creating a virtual machine corresponding to the virtual machine creation parameters in the physical machine. The execution objects of performing the filtering operation and the weight configuration operation for the virtual machine creation request are all physical machines in the underlying physical machine resource pool and all the filtered physical machines respectively. Therefore, it belongs to a full-scale filtering operation and a full-scale weight configuration operation. Each full-scale filtering operation and full-scale weight configuration operation requires a large amount of computing power. Performing the full-scale filtering operation and full-scale weight configuration operation for each virtual machine creation request will overload the packing service.

[0037] In this technical framework, when users create a large number of virtual machines with the same specifications, problems such as increased request time consumption and reduced processing capacity will occur. For users, the waiting time for creating this batch of virtual machines becomes longer, and the experience of creating virtual machines decreases; for the server providing cloud virtual machine management services, the server load soars, relevant components are congested, and it may even report errors and cause the server to crash.

[0038] In view of this, the embodiments of the present application provide a method for processing virtual machine creation requests. This method can merge and process a batch of virtual machine creation requests with the same parameters. Specifically, if the number of virtual machines in the virtual machine creation request is greater than a first preset value, it means that the virtual machine creation request belongs to one of the batch requests with the same parameters. Then, instead of directly responding to the virtual machine creation request, the virtual machine creation request can be saved, and a cache record corresponding to the virtual machine creation request can be obtained. When certain conditions are met, a centralized response is made to the set request including the virtual machine creation request. The set request is a subset of the aforementioned batch request. That is to say, multiple virtual machine creation requests with the same parameters are merged into a set request for centralized response. Then, there is no need to perform a full-scale filtering operation and a full-scale weight configuration operation for each request. In the virtual machine creation scenario, the virtual machine creation requests belonging to the batch requests are determined and saved until the centralized response to the set request including the virtual machine creation request can streamline the computing power required for the response through the centralized response method, reduce the response time consumption of the virtual machine creation request, reduce the server load, avoid congestion of relevant components, optimize the performance of the virtual machine creation service, and improve the virtual machine creation experience.

[0039] To make the objectives, technical solutions, and advantages of this application clearer, the following will further describe the embodiments of this application in detail with reference to the accompanying drawings. It should be noted that all kinds of data used in the embodiments of this application are fully authorized by the relevant entities before use.

[0040] Please refer to Figure 1 , which shows a schematic diagram of an application program running environment provided by an embodiment of this application. The application program running environment may include: a terminal 10 and a server 20.

[0041] The terminal 10 includes, but is not limited to, electronic devices such as mobile phones, computers, intelligent voice interaction devices, intelligent home appliances, vehicle-mounted terminals, game consoles, e-book readers, multimedia playback devices, wearable devices, etc. A client of the application program may be installed in the terminal 10.

[0042] In the embodiment of this application, the above application program may be any application program that can provide or rely on virtual machine creation request processing. Typically, the application program is a media application program. Of course, in addition to media application programs, other types of application programs may also provide or rely on virtual machine creation request processing. For example, news application programs, social application programs, interactive entertainment application programs, browser application programs, shopping application programs, content sharing application programs, virtual reality (VR) application programs, augmented reality (AR) application programs, etc., and the embodiments of this application do not limit this. Optionally, the client of the above application program runs in the terminal 10.

[0043] The server 20 is used to provide background services for the client of the application program in the terminal 10. For example, the server 20 may be the background server of the above application program. The server 20 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Optionally, the server 20 provides background services for the application programs in multiple terminals 10 at the same time.

[0044] Optionally, the terminal 10 and the server 20 may communicate with each other through the network 30. The terminal 10 and the server 20 may be directly or indirectly connected through wired or wireless communication methods, and this application does not limit this here.

[0045] In one embodiment, the server 20 may support virtual machine management services in public cloud, private cloud or hybrid cloud scenarios, such as virtual machine creation services. A private cloud is to create cloud infrastructure and software and hardware resources within a firewall for departments within an institution or enterprise to share the resources in the data center. To create a private cloud, in addition to hardware resources, there is generally cloud device (IaaS, Infrastructure as a Service) software. Private cloud computing also includes three layers: cloud hardware, cloud platform, and cloud services. The difference is that the cloud hardware is the user's own personal computer or server, rather than the data center of a cloud computing vendor. The purpose of a cloud computing vendor to build a data center is to provide public cloud services for millions of users, so it needs to have hundreds of thousands of servers. For private cloud computing, it only serves relatives and friends for an individual, and only serves the employees of the enterprise, as well as the customers and suppliers of the enterprise for an enterprise. Therefore, an individual's or enterprise's own personal computer or server is sufficient to provide cloud services. A public cloud usually refers to a cloud that can be used provided by a third-party provider. A public cloud can generally be used through the Internet and may be free or low-cost. The core attribute of a public cloud is shared resource services. There are many instances of this cloud that can provide services in today's entire open public network. A hybrid cloud combines a public cloud and a private cloud and is the main mode and development direction of cloud computing in recent years. A private cloud is mainly for enterprise users. Due to security considerations, enterprises are more willing to store data in a private cloud, but at the same time, they also hope to obtain the computing resources of a public cloud. In this case, hybrid clouds are increasingly adopted. It mixes and matches a public cloud and a private cloud to achieve the best effect. This personalized solution achieves the goal of saving money and being secure.

[0046] Please refer to Figure 2 , which shows a flowchart of a method for processing a virtual machine creation request provided by an embodiment of the present application. This method can be applied to a computer device. The above computer device refers to an electronic device with data calculation and processing capabilities. For example, the execution entity of each step can be Figure 1 related devices in the application program running environment shown, such as the server 20. This method may include the following steps:

[0047] Step S201. Obtain a virtual machine creation request. The above virtual machine creation request includes virtual machine creation parameters and the number of virtual machines. The above number of virtual machines refers to the total number of virtual machines corresponding to a batch request. The above batch request is formed by each virtual machine creation request with the above virtual machine creation parameters;

[0048] Embodiments of the present application can be implemented based on a virtual machine service system, which can run on the relevant devices in Figure 1 and support the creation of virtual machines in cloud scenarios. In the scenario of creating virtual machines in the cloud, a user can apply to the cloud to create one or more virtual machines. If the user applies to create a batch of virtual machines, that is, batch-create N (N>1) virtual machines, the virtual machine service system can create a virtual machine creation request for each virtual machine, obtaining N virtual machine creation requests. These virtual machine creation requests have the same virtual machine creation parameters and the same number of virtual machines, and the number of virtual machines is N. That is to say, if the server of the virtual machine service system receives a virtual machine creation request and the number of virtual machines carried by the virtual machine creation request is greater than 1, it can be determined that the virtual machine creation request belongs to one of a batch of virtual machine creation requests.

[0049] In one embodiment, the above virtual machine service system may include a message distributor, which is used to manage various messages in a columnar and centralized manner, including virtual machine creation requests. Each component of the virtual machine service system that can process messages communicates with the message distributor to obtain and process messages. In a specific embodiment, the above obtaining of virtual machine creation requests includes: obtaining a batch request; sequentially sending each of the virtual machine creation requests in the batch request to the message distributor; and extracting the virtual machine creation requests in the message distributor.

[0050] The batch request can be a batch of virtual machine creation requests generated when a user batch-creates N (N>1) virtual machines. Each of the above virtual machine creation requests in this batch of requests is sequentially sent to the message distributor to ensure that each of the above virtual machine creation requests in the batch request is also adjacent in the message distributor. This can ensure that when obtaining messages from the message distributor, all virtual machine creation requests in this batch can be obtained continuously, reducing the probability of other virtual machine creation requests being mixed in during the processing of the same batch of virtual machine creation requests and avoiding the occurrence of resource inconsistency. The specific explanation is that when the virtual machine service system responds to a virtual machine creation request, it needs to package the virtual machine creation request, that is, select a physical machine for creating the virtual machine. Suppose the virtual machine service system sequentially obtains three virtual machine creation requests, namely Request 1, Request 2, and Request 3, where Request 1 and Request 3 are requests in the same batch, and Request 2 is mixed in. Then the packaging result indication of Request 1 can load the virtual machine on Physical Machine 11, the packaging result indication of Request 2 can load the virtual machine on Physical Machine 11, and the packaging result indication of Request 3 can load the virtual machine on Physical Machine 11. Then, in the case where Request 2 is responded to, after Physical Machine 11 responds to Request 1, another virtual machine (the virtual machine corresponding to Request 2) is loaded on it. Then Physical Machine 11 may not be suitable for loading the virtual machine corresponding to Request 3 due to a large amount of virtual machine loading, that is, it is inconsistent with the packaging result of Request 3, that is, a resource inconsistency phenomenon occurs. Therefore, the embodiment of the present application uses a message distributor to reduce the probability of other virtual machine creation requests being mixed in during the processing of the same batch of virtual machine creation requests and avoid the occurrence of resource inconsistency.

[0051] In one embodiment, the step of sequentially sending each of the above virtual machine creation requests in the above batch request to the message distributor includes: determining a corresponding physical machine resource pool according to the virtual machine creation parameters of the above batch request; and sending each of the above virtual machine creation requests in the above batch request to the message distributor uniquely corresponding to the above physical machine resource pool.

[0052] Each physical machine resource pool is configured with a corresponding message distributor, which can implement grouped processing of virtual machine creation requests at the level of the message distributor. Subsequently, when picking up virtual machine creation requests from the message distributor and performing corresponding filtering operations, the filtering operations are only implemented on the physical machine resource pool corresponding to the message distributor, without implementing filtering operations on other physical machine resource pools, improving the speed of the filtering operations.

[0053] Step S202. When the number of the above virtual machines is greater than a first preset value, save the above virtual machine creation request;

[0054] In the embodiment of the present application, the first preset value can be set according to actual needs, and it can be an integer greater than or equal to 1. The lower the first preset value, the higher the frequency of performing the merging process on the virtual machine creation requests. If the number of the above virtual machines is greater than the first preset value, the server determines to perform the merging process on the virtual machine creation request, that is, regards the virtual machine creation request as one of the subsequent set requests, and responds to the virtual machine creation request when centrally processing the set request. When it is not responded to, the virtual machine creation request is saved first.

[0055] If the virtual machine service system includes the foregoing message distributor, after saving the above virtual machine creation request, a message processing response is directly sent to the above message distributor to trigger the above message distributor to delete the above virtual machine creation request. The purpose of such an operation is to notify the message distributor that the message has been accepted by the system and the message can be deleted in the message distributor to reduce the blockage of the message distributor and avoid repeatedly obtaining and processing the message. In a specific embodiment, an ACK message can be replied to the message distributor. The ACK message is a response message of the virtual machine service system and can notify the message distributor that the corresponding virtual machine creation request has been accepted to trigger the message distributor to delete the virtual machine creation request.

[0056] Step S203. In the case where there is no cache record corresponding to the above batch request, a cache record is generated. The cache record includes resource parameters, and the resource parameters indicate the physical machine corresponding to the virtual machine creation parameters.

[0057] If the virtual machine creation instruction of the batch request is obtained for the first time, a cache record is generated. In the case where a cache record has been generated, if virtual machine creation instructions of other virtual machines in the same batch are obtained, since there is already such a cache record, step S203 can be skipped. The virtual machine creation parameters of the requests in the same batch are the same, and only the corresponding resource parameters need to be determined based on the virtual machine creation parameters. The resource parameters can be used for the centralized processing of the requests in this batch. Before the centralized processing, only a filtering operation and a full-scale weight configuration operation need to be performed when obtaining the resource parameters, and there is no need to perform a filtering operation and a full-scale weight configuration operation for each virtual machine creation request during the centralized processing, and the resource parameters can be reused to improve the response speed of each request in the set request.

[0058] The cache record is a record that can save a resource parameter corresponding to each batch request, and the generation method thereof is not limited in the embodiment of the present application. In one embodiment, the above virtual machine creation request includes parent identification information, and the parent identification information indicates the common identification of each of the above virtual machine creation requests in the above batch request. Please refer to Figure 3 , which shows a schematic flowchart of the cache record generation method in the embodiment of the present application. The above generation of the cache record includes:

[0059] Step S301. Generate a cache identifier according to the above-mentioned parent identifier information, and the cache identifier corresponds to the above batch request;

[0060] The parent identifier information is the common identifier of each virtual machine creation request in the above batch request, and can also be understood as the identifier of the batch request. The cache identifier can correspond one-to-one with the batch identifier, or can be generated by the batch identifier and the request identifier in the batch request, that is, the cache identifier can locate each request saved in the batch request.

[0061] Step S302. Perform a filtering operation in the physical machine resource pool according to the above virtual machine creation parameters to determine a physical machine, and the filtering operation is used to filter out physical machines that do not meet the above virtual machine creation parameters;

[0062] This filtering operation is a full-scale filtering operation performed on the corresponding physical machine resource pool. Although the execution scope of the filtering operation has been reduced by the division of the physical machine resource pool compared with the technology that does not distinguish the physical machine resource pool, and the execution speed of the filtering operation has been improved, the full-scale filtering operation is still time-consuming. The embodiment of the present application ensures that only one full-scale filtering operation is performed on the set request to minimize the execution frequency of the full-scale filtering operation. This filtering operation is used to filter out physical machines that do not meet the creation requirements according to the virtual machine creation parameters in the physical machine resource pool that can be used to create the corresponding virtual machine, and obtain physical machines that adapt to the virtual machine creation parameters. There can be more than one such physical machine. The embodiment of the present application does not limit the implementation manner of the filtering operation and does not constitute an implementation obstacle.

[0063] Step S303. Perform a weight configuration operation on the determined physical machine to obtain the weight corresponding to the physical machine;

[0064] This weight configuration operation is the full-scale weight configuration operation mentioned above, that is, calculate the weight corresponding to each physical machine obtained after the filtering operation. The higher the weight, the more suitable the physical machine is for creating a virtual machine that meets the virtual machine creation parameters.

[0065] Step S304. Generate the above resource parameters according to the above physical machine and the weight corresponding to the physical machine;

[0066] The embodiments of the present application do not limit the form of resource parameters. The data forms used to identify the subject matter and the weight of the subject matter can all be used to generate resource parameters. In one embodiment, a heap object can be used to represent resource parameters. A heap object (heap) is a general term for a class of special data structures in computer science. A heap is usually an array object that can be regarded as a tree. A heap always satisfies the following properties: the value of a certain node in the heap is always not greater than or not less than the value of its parent node; a heap is always a complete binary tree. In the embodiments of the present application, the heap object includes multiple resource objects resource_provider, and resource_provider points to the corresponding physical machine and includes the weight corresponding to the physical machine.

[0067] Step S305. Generate the above cache record according to the above cache identifier and the above resource parameters.

[0068] The embodiments of the present application do not limit the expression method and storage location of the cache record, and do not constitute an implementation obstacle.

[0069] Step S204. Respond to the above set request based on the above resource parameters, and the above set request is formed by virtual machine creation requests that belong to the above batch request and are saved.

[0070] The embodiments of the present application can save any virtual machine creation request in the obtained batch request first, and under certain conditions, centrally respond to the set request formed by the saved virtual machine creation requests. The embodiments of the present application do not limit the response timing. The above responding to the set request based on the above resource parameters includes: when the number of virtual machine creation requests in the above set request reaches a second preset value, responding to the above set request based on the above resource parameters; or, when the waiting response duration of the above set request reaches a preset duration threshold, responding to the above set request based on the above resource parameters.

[0071] The embodiments of the present application do not limit the second preset value, which can be less than, equal to, or greater than the first preset value. Its meaning is that when enough virtual machine creation requests in the same batch request are saved, a centralized processing can be performed. The embodiments of the present application do not limit the preset duration threshold, which can be customized according to the actual situation. The meaning that the waiting response duration of the above set request reaches the preset duration threshold is calculated from the time when the first saved request in the set request is saved. If the saving time is long enough, a centralized processing can be performed.

[0072] If the foregoing resource parameters only include a single physical machine, directly create virtual machines corresponding to each virtual creation request in the set request on the single physical machine.

[0073] In one embodiment, the above resource parameters include at least two physical machines and the weight corresponding to each of the above physical machines. Please refer to Figure 4 , which shows the flowchart of the centralized response method according to the embodiments of the present application. The above response to the set request based on the above resource parameters includes:

[0074] Step S401. Extract the target virtual machine creation request, where the target virtual machine creation request is any unresponded request in the above set request;

[0075] Taking the target virtual machine creation request as the first request in the set request as an example, step S401 can sequentially extract each request in the set request.

[0076] Step S402. Based on the weights corresponding to the respective physical machines in the above resource parameters, determine the physical machine for responding to the above target virtual machine creation request, and respond to the above target virtual machine creation request based on the determination result;

[0077] Take the physical machine corresponding to the resource_provider with the largest weight as the responder for the first request, and create the corresponding virtual machine. In a specific embodiment, the above response to the target virtual machine creation request based on the determination result includes: sending a virtual machine creation message to the virtual machine creation component, where the virtual machine creation message indicates the physical machine in the determination result to trigger the virtual machine creation component to create a virtual machine on the physical machine in the determination result.

[0078] Step S403. Update the weight of the physical machine corresponding to the determination result in the above resource parameters.

[0079] Since the aforementioned resource_provider has been used to create the virtual machine for the first request, its own relevant parameters may change, and the matching degree with the virtual machine creation parameters may also change. Therefore, it is necessary to reconfigure its weight, update the weight corresponding to it in the resource parameters, and the weights of other physical machines in the virtual resource parameters do not need to be updated. Therefore, this weight configuration is not a full-scale weight configuration, and the speed is very fast, with almost no time-consuming impact and resource-consuming impact. After step S403, the next request of the set request can be continued, that is, step S401 is repeatedly executed until all requests in the set request are completely responded.

[0080] In one embodiment, when the above set request is completely responded, delete the saved above set request and the above cache record. In the embodiments of the present application, all caches are deleted and cache traces are erased after the set request is centrally responded to support the centralized response of the next set request.

[0081] Please refer toFigure 5 , which shows a schematic diagram of the framework for processing virtual machine creation requests in an embodiment of the present application. A user sends a virtual machine creation request to the console of the virtual machine service system through the front end of the virtual machine service system. The console sequentially and continuously sends the virtual machine creation requests belonging to the batch requests to the message distributor. The packing service of the virtual machine service system extracts the virtual machine creation requests from the message distributor. If the virtual machine creation request belongs to a batch request, it is saved, otherwise it is directly processed. If the virtual machine creation request belongs to a batch request, the corresponding cache record also needs to be saved. It is judged whether the number of saved requests meets the requirements. If it meets, centralized processing is performed, otherwise requests continue to be collected. It is judged whether the duration of the saved requests meets the requirements. If it meets, centralized processing is performed, otherwise requests continue to be collected.

[0082] Please refer to Figure 6 , which shows a schematic diagram of the process for processing virtual machine creation in the related art. In the case of generating a virtual machine creation instruction at the front end, the packing service is executed for each virtual machine creation request. Specifically, resource sets are determined by invoking filtering operations and weight configuration operations through the packing service. A resource object is selected from the resource sets, and a physical machine is determined from the resource object, and a virtual machine is created in the physical machine. Please refer to Figure 7 , which shows a schematic diagram of the process for processing virtual machine creation in an embodiment of the present application. Only for non-batch requests is it necessary to execute the packing service one by one. Resource sets are determined by invoking filtering operations and weight configuration operations through the packing service. A resource object is selected from the resource sets, and a physical machine is determined from the resource object, and a virtual machine is created in the physical machine. For batch requests, a full set of packing services can be directly executed for the first request among them, and other requests can reuse the resource object.

[0083] For the requests in the batch requests of the embodiments of the present application that can reuse resource objects, there is no need to perform full-scale filtering operations and weight configuration operations, and multiple detailed designs are adopted to ensure that no resource inconsistency problems occur in the reuse situation, significantly reducing the average processing time of virtual machine creation requests, reducing the server load pressure, enhancing the response ability and throughput ability of virtual machine creation requests, improving virtual machine creation instructions, and optimizing the user's virtual machine creation experience.

[0084] Please refer to Figure 8 , which shows a schematic diagram of a virtual machine service system for implementing virtual machine creation in an embodiment of the present application. The virtual machine service system includes a packing service. The packing service picks up messages from the message distributor and processes centralized requests by interacting with the cache. The cache stores cache records and also stores the saved set requests. The packing service obtains resource parameters by interacting with a filtering component and a weight configuration component, and interacts with a virtual machine creation component according to the resource parameters to implement centralized processing of set requests.

[0085] The following is an embodiment of the device of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the device embodiment of the present application, please refer to the method embodiment of the present application.

[0086] Please refer to Figure 9 , which shows a block diagram of a virtual machine creation request processing device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned virtual machine creation request processing method, and the above-mentioned function can be implemented by hardware or by hardware executing corresponding software. The device can be a computer device or can be set in a computer device. The device may include:

[0087] A request acquisition module 901, configured to acquire a virtual machine creation request, where the virtual machine creation request includes virtual machine creation parameters and the number of virtual machines, and the number of virtual machines refers to the total number of virtual machines corresponding to a batch request, and the batch request is formed by each virtual machine creation request with the above-mentioned virtual machine creation parameters;

[0088] A request processing module 902, configured to perform the following operations:

[0089] When the number of the above-mentioned virtual machines is greater than a first preset value, save the above-mentioned virtual machine creation request;

[0090] When there is no cache record corresponding to the above-mentioned batch request, generate a cache record, where the cache record includes resource parameters, and the resource parameters indicate the physical machine corresponding to the above-mentioned virtual machine creation parameters;

[0091] Respond to a set request based on the above-mentioned resource parameters, where the set request is formed by virtual machine creation requests that belong to the above-mentioned batch request and are saved;

[0092] When the above-mentioned set request is completely responded, delete the saved above-mentioned set request and the above-mentioned cache record.

[0093] In an embodiment, the above-mentioned virtual machine creation request includes parent identification information, and the parent identification information indicates a common identification of each of the above-mentioned virtual machine creation requests in the above-mentioned batch request. The request processing module 902 is configured to perform the following operations:

[0094] Generate a cache identifier according to the above-mentioned parent identification information, where the cache identifier corresponds to the above-mentioned batch request;

[0095] Perform a filtering operation on the physical machine resources according to the above-mentioned virtual machine creation parameters to determine a physical machine, where the filtering operation is used to filter out physical machines that do not meet the above-mentioned virtual machine creation parameters;

[0096] Perform a weight configuration operation on the determined physical machine to obtain the weight corresponding to the physical machine;

[0097] Generate the above resource parameters according to the above physical machine and the weight corresponding to the above physical machine;

[0098] Generate the above cache record according to the above cache identifier and the above resource parameters.

[0099] In one embodiment, the above resource parameters include at least two physical machines and the weight corresponding to each of the above physical machines. The above request processing module 902 is configured to perform the following operations:

[0100] Extract a target virtual machine creation request, where the target virtual machine creation request is any unresponded request in the above set of requests;

[0101] Determine the physical machine for responding to the above target virtual machine creation request based on the weights respectively corresponding to the above physical machines in the above resource parameters, and respond to the above target virtual machine creation request based on the determination result;

[0102] Update the weight of the physical machine corresponding to the above determination result in the above resource parameters.

[0103] In one embodiment, the above request processing module 902 is configured to perform the following operations:

[0104] When the number of virtual machine creation requests in the above set of requests reaches a second preset value, respond to the above set of requests based on the above resource parameters;

[0105] Or,

[0106] When the waiting time for the above set of requests to be responded reaches a preset time threshold, respond to the above set of requests based on the above resource parameters.

[0107] In one embodiment, the above request acquisition module 901 is configured to perform the following operations:

[0108] Acquire the above batch request;

[0109] Send each of the above virtual machine creation requests in the above batch request to the message distributor in sequence;

[0110] Extract the above virtual machine creation request in the above message distributor.

[0111] In one embodiment, the above request acquisition module 901 is configured to perform the following operations:

[0112] Determine the corresponding physical machine resource pool according to the virtual machine creation parameters of the above batch request;

[0113] Send each of the above virtual machine creation requests in the above batch request to the message distributor uniquely corresponding to the above physical machine resource pool.

[0114] In one embodiment, the above request processing module 902 is configured to perform the following operations:

[0115] Send a message processing response to the above message distributor to trigger the above message distributor to delete the above virtual machine creation request.

[0116] In one embodiment, the above request processing module 902 is configured to perform the following operations:

[0117] Send a virtual machine creation message to the virtual machine creation component, where the virtual machine creation message indicates the physical machine in the above determination result, so as to trigger the virtual machine creation component to create a virtual machine on the physical machine in the above determination result.

[0118] It should be noted that, when the device provided in the above embodiment realizes its functions, only the above division of each functional module is used for illustration. In actual application, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment belong to the same concept, and the specific implementation process can be seen in the method embodiment, which will not be elaborated here.

[0119] Please refer to Figure 10 , which shows a structural block diagram of a computer device provided in an embodiment of the present application for executing the above virtual machine creation request processing method, and the computer device can be a server. Specifically:

[0120] The computer device 1000 includes a central processing unit (CPU) 1001, a system memory 1004 including a random access memory (RAM) 1002 and a read only memory (ROM) 1003, and a system bus 1005 connecting the system memory 1004 and the central processing unit 1001. The computer device 1000 also includes a basic input / output system (I / O (Input / Output) system) 1006 for helping to transmit information between various devices in the computer, and a mass storage device 1007 for storing an operating system 1013, application programs 1014 and other program modules 1015.

[0121] The Basic Input / Output System 1006 includes a display 1008 for displaying information and input devices 1009 such as a mouse, keyboard, etc. for user input of information. Both the display 1008 and the input devices 1009 are connected to the central processing unit 1001 through an input / output controller 1010 connected to the system bus 1005. The Basic Input / Output System 1006 may also include an input / output controller 1010 for receiving and processing inputs from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1010 also provides outputs to a display screen, printer, or other types of output devices.

[0122] The mass storage device 1007 is connected to the central processing unit 1001 through a mass storage controller (not shown) connected to the system bus 1005. The mass storage device 1007 and its associated computer-readable medium provide non-volatile storage for the computer device 1000. That is, the mass storage device 1007 may include computer-readable media (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0123] Without loss of generality, computer-readable media may include computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, magnetic tape cartridges, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that computer storage media is not limited to the above several types. The above-mentioned system memory 1004 and mass storage device 1007 may be collectively referred to as memory.

[0124] According to various embodiments of the present application, the computer device 1000 may also run by connecting to a remote computer on a network such as the Internet. That is, the computer device 1000 may be connected to the network 1012 through a network interface unit 1011 connected to the system bus 1005, or rather, the network interface unit 1011 may also be used to connect to other types of networks or remote computer systems (not shown).

[0125] The above-mentioned memory further includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the above-mentioned virtual machine creation request processing method.

[0126] In an exemplary embodiment, a computer-readable storage medium is further provided. At least one instruction, at least one program, a code set or an instruction set is stored in the above-mentioned storage medium. When the at least one instruction, the at least one program, the code set or the instruction set is executed by a processor, the above-mentioned virtual machine creation request processing method is implemented.

[0127] Specifically, the virtual machine creation request processing method includes:

[0128] Obtain a virtual machine creation request, where the virtual machine creation request includes virtual machine creation parameters and the number of virtual machines. The number of virtual machines refers to the total number of virtual machines corresponding to a batch request, and the batch request is formed by each virtual machine creation request with the above-mentioned virtual machine creation parameters;

[0129] In the case where the number of virtual machines is greater than a first preset value, save the virtual machine creation request;

[0130] In the case where there is no cache record corresponding to the batch request, generate a cache record, where the cache record includes resource parameters, and the resource parameters indicate the physical machine corresponding to the virtual machine creation parameters;

[0131] Respond to a set request based on the above-mentioned resource parameters. The set request is formed by the virtual machine creation requests that belong to the batch request and are saved;

[0132] In the case where the set request has been completely responded to, delete the saved set request and the cache record.

[0133] In one implementation manner, the virtual machine creation request includes parent identification information, and the parent identification information indicates the common identification of each virtual machine creation request in the batch request. The generating of the cache record includes:

[0134] Generate a cache identifier according to the above-mentioned parent identification information, and the cache identifier corresponds to the batch request;

[0135] Perform a filtering operation on the physical machine resources pool according to the virtual machine creation parameters to determine a physical machine. The filtering operation is used to filter out physical machines that do not meet the virtual machine creation parameters;

[0136] Perform a weight configuration operation on the determined physical machine to obtain the weight corresponding to the physical machine;

[0137] Generate the above resource parameters according to the above physical machine and the weight corresponding to the above physical machine;

[0138] Generate the above cache record according to the above cache identifier and the above resource parameters.

[0139] In one embodiment, the above resource parameters include at least two physical machines and the weight corresponding to each of the above physical machines. The responding to the set request based on the above resource parameters includes:

[0140] Extract a target virtual machine creation request, where the target virtual machine creation request is any unresponded request in the above set request;

[0141] Determine the physical machine for responding to the target virtual machine creation request based on the weights respectively corresponding to the physical machines in the above resource parameters, and respond to the target virtual machine creation request based on the determination result;

[0142] Update the weight of the physical machine corresponding to the determination result in the above resource parameters.

[0143] In one embodiment, the responding to the set request based on the above resource parameters includes:

[0144] When the number of virtual machine creation requests in the above set request reaches a second preset value, respond to the above set request based on the above resource parameters;

[0145] Or,

[0146] When the waiting time for the above set request to be responded reaches a preset time threshold, respond to the above set request based on the above resource parameters.

[0147] In one embodiment, the obtaining of the virtual machine creation request includes:

[0148] Obtain the above batch request;

[0149] Send each of the above virtual machine creation requests in the above batch request to the message distributor in sequence;

[0150] Extract the above virtual machine creation request in the above message distributor.

[0151] In one embodiment, the sending of each of the above virtual machine creation requests in the above batch request to the message distributor in sequence includes:

[0152] Determine the corresponding physical machine resource pool according to the virtual machine creation parameters of the above batch request;

[0153] Send each of the above virtual machine creation requests in the above batch request to the message distributor uniquely corresponding to the above physical machine resource pool.

[0154] In one embodiment, after saving the virtual machine creation request, the method further includes:

[0155] Sending a message processing response to the message distributor to trigger the message distributor to delete the virtual machine creation request.

[0156] In one embodiment, responding to the target virtual machine creation request based on the determination result includes:

[0157] Sending a virtual machine creation message to the virtual machine creation component, where the virtual machine creation message indicates the physical machine in the determination result, to trigger the virtual machine creation component to create a virtual machine on the physical machine in the determination result.

[0158] Optionally, the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or optical discs, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0159] In an exemplary embodiment, there is also provided a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual machine creation request processing method or the recommendation method described above.

[0160] It should be understood that the term "a plurality of" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after. In addition, the step numbers described herein only exemplarily show a possible execution sequence between steps. In some other embodiments, the above steps may not be executed in the order of the numbers. For example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in the reverse order of the illustration. The embodiments of the present application do not limit this.

[0161] In addition, in the specific embodiments of the present application, data related to user information and the like are involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent needs to be obtained, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.

[0162] The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for processing virtual machine creation requests, characterized in that, The method includes: A batch request is used to batch-create N virtual machines. A virtual machine creation request is created for each of the virtual machines, obtaining N virtual machine creation requests. Each of the virtual machine creation requests has the same virtual machine creation parameters and the same number of virtual machines, and the number of virtual machines is N for each, where N is greater than 1; Obtain a virtual machine creation request; When the virtual machine creation request is any one of the requests in the batch request, save the virtual machine creation request; In the case where there is no cache record corresponding to the batch request, generate a cache record. The cache record includes resource parameters and a cache identifier. The resource parameters indicate the physical machines corresponding to the virtual machine creation parameters, and the cache identifier is used to locate each saved virtual machine creation request in the batch request; Respond to a set request based on the resource parameters. The set request is formed by multiple saved virtual machine creation requests belonging to the batch request, and the set request is a subset of the batch request.

2. The method according to claim 1, wherein The virtual machine creation request includes parent identification information, and the parent identification information indicates the common identifier of each virtual machine creation request in the batch request. The generating of the cache record includes: Generate a cache identifier according to the parent identification information, and the cache identifier corresponds to the batch request; Perform a filtering operation on the physical machine resource pool according to the virtual machine creation parameters to determine physical machines. The filtering operation is used to filter out physical machines that do not meet the virtual machine creation parameters; Perform a weight configuration operation on the determined physical machines to obtain the weights corresponding to the physical machines; Generate the resource parameters according to the physical machines and the weights corresponding to the physical machines; Generate the cache record according to the cache identifier and the resource parameters.

3. The method according to claim 1 or 2, characterized in that, The resource parameters include at least two physical machines and the weights corresponding to each of the physical machines. Responding to the set request based on the resource parameters includes: Extract a target virtual machine creation request, where the target virtual machine creation request is any unresponded request in the set request; Based on the weights respectively corresponding to the physical machines in the resource parameters, determine the physical machine used to respond to the target virtual machine creation request, and respond to the target virtual machine creation request based on the determination result; Update the weight of the physical machine corresponding to the determination result in the resource parameters.

4. The method according to claim 1, characterized in that, Responding to the set request based on the resource parameters includes: In the case where the number of virtual machine creation requests in the set request reaches a second preset value, respond to the set request based on the resource parameters; Or, In the case where the waiting time for the set request to be responded reaches a preset time threshold, respond to the set request based on the resource parameters.

5. The method according to claim 4, wherein The obtaining of a virtual machine creation request includes: Obtain the batch request; Send each virtual machine creation request in the batch request to the message distributor in sequence; Extract the virtual machine creation request in the message distributor.

6. The method according to claim 5, wherein The sending of each virtual machine creation request in the batch request to the message distributor in sequence includes: Determine the corresponding physical machine resource pool according to the virtual machine creation parameters of the batch request; Send each of the virtual machine creation requests in the batch request to the message distributor uniquely corresponding to the physical machine resource pool.

7. The method according to claim 6, wherein After saving the virtual machine creation request, the method further includes: Sending a message processing response to the message distributor to trigger the message distributor to delete the virtual machine creation request.

8. The method according to claim 3, characterized in that, The responding to the target virtual machine creation request based on the determination result includes: Sending a virtual machine creation message to the virtual machine creation component, the virtual machine creation message indicating the physical machine in the determination result, to trigger the virtual machine creation component to create a virtual machine on the physical machine in the determination result.

9. A virtual machine creation request processing device, characterized in that, The apparatus includes: A request acquisition module, configured to batch request for batch creation of N virtual machines, create a virtual machine creation request for each of the virtual machines to obtain N virtual machine creation requests, each of the virtual machine creation requests having the same virtual machine creation parameters and the same number of virtual machines, the number of virtual machines being N, N being greater than 1; obtain a virtual machine creation request; A request processing module, configured to perform the following operations: When the virtual machine creation request is any request in the batch request, save the virtual machine creation request; In the case where there is no cache record corresponding to the batch request, generate a cache record, the cache record including resource parameters and a cache identifier, the resource parameters indicating the physical machine corresponding to the virtual machine creation parameters, and the cache identifier being used to locate each virtual machine creation request saved in the batch request; Respond to a set request based on the resource parameters, the set request being formed by a plurality of virtual machine creation requests that belong to the batch request and are saved, the set request being a subset of the batch request.

10. A computer device, characterized in that, The computer device includes a processor and a memory, and at least one instruction, at least one program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the virtual machine creation request processing method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, At least one instruction, at least one program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the virtual machine creation request processing method according to any one of claims 1 to 8.

12. A computer program product, characterized in that, The computer program product includes computer instructions, the processor of the computer device reads the computer instructions, and the processor of the computer device executes the computer instructions to implement the virtual machine creation request processing method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and device for creating virtual machines on batch, equipment and storage medium

    CN108170508A

  • Method, device and equipment for creating virtual machine and storage medium

    CN110704167A

  • Virtual machine generation method and device

    CN112559114A