Cloud host creation method and device
By using vendor adapter conversion templates in a multi-cloud management platform to automatically generate cloud host creation parameters, the problem of differences in cloud host creation processes among different cloud vendors is solved, achieving efficient and unified cloud host creation and saving time.
Patent Information
- Application Number
- CN202310614859.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
When accessing cloud resources from different cloud vendors through a multi-cloud management platform, the cloud host creation process varies for each vendor's resources, causing users to spend a significant amount of time creating multiple cloud hosts.
A method for creating a cloud server is provided. By determining the cloud server creation parameters corresponding to the target cloud server, and using the parameter conversion template in the vendor adapter to convert the cloud server request parameters into cloud server creation parameters, the method sends the cloud server to the target cloud vendor to generate the target cloud server, thus masking the differences in the creation process between different cloud vendors.
It simplifies the cloud server creation process, helps users save time, reduces repetitive operations on cloud server creation processes from different cloud providers, and improves resource management efficiency and utilization.
Smart Images

Figure CN119030863A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud computing technology, and in particular to a cloud host creation method and device. Background Art
[0002] Currently, when calling cloud resources from different cloud vendors through a multi-cloud management platform, different cloud hosts need to be created for different cloud vendor resources, and the cloud host creation processes corresponding to the resources of each cloud vendor are different. Therefore, when it is necessary to create cloud hosts corresponding to resources of multiple cloud vendors, a lot of user time will be wasted. Summary of the invention
[0003] The present application provides a cloud host creation method and device, which can effectively simplify the operation process of creating a cloud host and help users save time.
[0004] In order to achieve the above objectives, this application adopts the following technical solutions:
[0005] In a first aspect, the present application provides a cloud host creation method, the method comprising:
[0006] In response to a creation request for a target cloud host, determining cloud host creation parameters corresponding to the target cloud host;
[0007] Sending the cloud host creation parameters to the target cloud vendor, so that the target cloud vendor generates the target cloud host based on the cloud host creation parameters; the target cloud vendor is the cloud vendor corresponding to the target cloud host;
[0008] Receive the target cloud host sent by the target cloud vendor.
[0009] Based on the above technical solution, a cloud host creation method provided in an embodiment of the present application can respond to a creation request for a target cloud host, determine cloud host creation parameters corresponding to the target cloud host, and send the cloud host creation parameters to the target cloud vendor, so that the target cloud vendor generates a target cloud host based on the cloud host creation parameters; the target cloud vendor is the cloud vendor corresponding to the target cloud host; and the target cloud host sent by the target cloud vendor is received. Through this method, the process of creating a cloud host can be effectively simplified, helping users save time.
[0010] Optionally, in response to a creation request for a target cloud host, determining cloud host creation parameters corresponding to the target cloud host includes:
[0011] In response to a creation request for a target cloud host, obtaining a vendor adapter corresponding to the target cloud vendor;
[0012] Based on the parameter conversion template included in the manufacturer adapter, the cloud host request parameters included in the creation request are converted to obtain the cloud host creation parameters corresponding to the target cloud host.
[0013] Optionally, in response to a creation request for a target cloud host, obtaining a vendor adapter corresponding to the target cloud vendor includes:
[0014] In response to a creation request for a target cloud host, obtaining cloud vendor identification information included in the creation request;
[0015] Determine the target cloud vendor based on the cloud vendor identification information;
[0016] Get the vendor adapter corresponding to the target cloud vendor.
[0017] Optionally, send the cloud host creation parameters to the target cloud provider, including:
[0018] Determine the cloud host creation process corresponding to the target cloud vendor;
[0019] According to the cloud host creation process, send the cloud host creation parameters to the target cloud vendor.
[0020] Optionally, the cloud host request parameters include at least one of the following parameters:
[0021] Parameter format;
[0022] Parameter name;
[0023] The parameter type.
[0024] In a second aspect, the present application provides a cloud host creation device, the device comprising:
[0025] A determination unit, configured to determine cloud host creation parameters corresponding to the target cloud host in response to a creation request for the target cloud host;
[0026] A sending unit, used to send the cloud host creation parameters to a target cloud vendor, so that the target cloud vendor generates a target cloud host based on the cloud host creation parameters; the target cloud vendor is the cloud vendor corresponding to the target cloud host;
[0027] The receiving unit is used to receive the target cloud host sent by the target cloud vendor.
[0028] Optionally, the determining unit includes:
[0029] An acquisition unit, configured to acquire a vendor adapter corresponding to a target cloud vendor in response to a creation request for a target cloud host;
[0030] The conversion unit is used to convert the cloud host request parameters contained in the creation request based on the parameter conversion template contained in the manufacturer adapter to obtain the cloud host creation parameters corresponding to the target cloud host.
[0031] Optionally, the acquisition unit is specifically used for:
[0032] In response to a creation request for a target cloud host, obtaining cloud vendor identification information included in the creation request;
[0033] Determine the target cloud vendor based on the cloud vendor identification information;
[0034] Get the vendor adapter corresponding to the target cloud vendor.
[0035] Optionally, the sending unit is specifically used for:
[0036] Determine the cloud host creation process corresponding to the target cloud vendor;
[0037] According to the cloud host creation process, send the cloud host creation parameters to the target cloud vendor.
[0038] Optionally, the cloud host request parameters include at least one of the following parameters:
[0039] Parameter format;
[0040] Parameter name;
[0041] The parameter type.
[0042] In a third aspect, the present application provides a cloud host creation device, which includes: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the cloud host creation method described in the first aspect and any possible implementation method of the first aspect.
[0043] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal, the terminal executes the cloud host creation method described in the first aspect and any possible implementation of the first aspect.
[0044] In a fifth aspect, an embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a cloud host creation device, the cloud host creation device executes the cloud host creation method as described in the first aspect and any possible implementation of the first aspect.
[0045] In a sixth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the cloud host creation method as described in the first aspect and any possible implementation method of the first aspect.
[0046] Specifically, the chip provided in the embodiment of the present application also includes a memory for storing computer programs or instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A structural block diagram of a cloud host creation method provided in an embodiment of the present application;
[0048] Figure 2 A flowchart of a method for creating a cloud host provided in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of the structure of a cloud host creation device provided in an embodiment of the present application;
[0050] Figure 4 A schematic diagram of the structure of another cloud host creation device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] A cloud host creation method and device provided in an embodiment of the present application are described in detail below in conjunction with the accompanying drawings.
[0052] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0053] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0054] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0055] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0056] The following is an explanation of some terms in the embodiments of the present disclosure to facilitate understanding by those skilled in the art:
[0057] 1. Cloudy
[0058] Multi-cloud is a cloud composed of multiple public clouds and / or private clouds.
[0059] 2. Public Cloud
[0060] Public cloud usually refers to a cloud provided by a third-party provider for users to use. Public cloud can generally be used through the Internet. The core attribute of public cloud is shared resource service.
[0061] 3. Private Cloud
[0062] A private cloud is usually built for a single user, thus providing more effective control over data, security, and service quality.
[0063] 4. Cloud Host
[0064] Cloud hosting is an important part of cloud computing in infrastructure applications and is located at the bottom of the cloud computing industry chain pyramid. Cloud hosting is a virtualization technology similar to Virtual Private Server (VPS) hosting. Cloud hosting can be a group of cluster hosts that virtualize multiple independent hosts. Each host in the cluster has a mirror of the cloud hosting, which greatly improves the security and stability of the virtual host.
[0065] Public cloud vendors provide enterprises with infrastructure such as computing resources, storage resources, and network resources, so that enterprises no longer need to invest manpower to maintain the hardware of IT (Information Technology) infrastructure. With the unprecedented development of the cloud computing industry and Internet applications, more and more enterprises are beginning to adopt multi-cloud IT architecture. The complexity of IT systems built on public clouds is also increasing, which poses higher challenges to the IT operation and maintenance capabilities of enterprises in multi-cloud environments, such as managing cloud resources from different cloud vendors. Therefore, multi-cloud management platforms that can simultaneously access and manage resources from different cloud vendors have emerged. Among them, multi-cloud management platforms can centrally manage cloud resources from different cloud vendors, improve resource management efficiency and resource operation and maintenance efficiency, and at the same time, through the cross-cloud management capabilities of the multi-cloud management platform, cross-cloud resource allocation can be achieved, the utilization rate of cloud resources can be improved, and enterprise costs can be reduced.
[0066] However, when calling and managing cloud resources from different cloud vendors through a multi-cloud management platform, it is usually necessary to create different cloud hosts for cloud resources from different cloud vendors. However, the cloud host creation processes corresponding to cloud resources from different cloud vendors are different. Therefore, when it is necessary to create cloud hosts corresponding to resources from multiple cloud vendors, a lot of user time will be wasted.
[0067] In order to solve the above technical problems, a cloud host creation method provided in an embodiment of the present application can determine the cloud host creation parameters corresponding to the target cloud host in response to a creation request for the target cloud host. After obtaining the cloud host creation parameters, the cloud host creation parameters can be sent to the target cloud vendor, so that the target cloud vendor generates the target cloud host based on the cloud host creation parameters, and receives the target cloud host sent by the target cloud vendor. In the above method, the server can automatically respond to the creation request for the target cloud host and determine the cloud host creation parameters corresponding to the target cloud host, without the need for the user to manually enter the cloud host creation parameters corresponding to the target cloud host. Therefore, it can effectively simplify the process of creating a cloud host and help users save time.
[0068] Figure 1 A structural block diagram of a cloud host creation method provided in an embodiment of the present application, such as Figure 1 As shown, the structural diagram may include: a service distribution module 101, an adaptation module 102 and an orchestration calling module 103. The adaptation module 102 may include adapters corresponding to various cloud vendors, and the adapters may include parameter conversion templates that can obtain cloud host creation parameters based on cloud host request parameters.
[0069] In an embodiment of the present application, a user's creation request for a target cloud host can be received through the service distribution module 101. After receiving the creation request, the service distribution module 101 can determine the target cloud vendor corresponding to the target cloud host based on the cloud vendor identification information included in the creation request; after determining the target cloud vendor, the service distribution module 101 can select a vendor adapter corresponding to the target cloud vendor from the adaptation module 102, and convert the cloud host request parameters included in the creation request through the parameter conversion template included in the vendor adapter to obtain the cloud host creation parameters.
[0070] After obtaining the cloud host creation parameters, the adaptation module 102 can send the obtained cloud host creation parameters to the target cloud vendor according to the cloud host creation process, so that the target cloud vendor generates the target cloud host based on the cloud host creation parameters. The cloud host creation process is determined by the service distribution module 101 through the orchestration calling module 103 after determining the target cloud vendor according to the cloud vendor identification information included in the creation request.
[0071] In the embodiment of the present application, after receiving the target cloud host sent by the target cloud vendor, the orchestration calling module 103 can also bind the attached resources corresponding to the target cloud host.
[0072] Figure 2 A schematic diagram of a process for creating a cloud host provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes:
[0073] Step S201, in response to a creation request for a target cloud host, determining cloud host creation parameters corresponding to the target cloud host.
[0074] In an optional implementation, in response to a creation request for a target cloud host, a vendor adapter corresponding to the target cloud vendor is obtained; based on a parameter conversion template contained in the vendor adapter, the cloud host request parameters contained in the creation request are converted to obtain cloud host creation parameters.
[0075] Specifically, the user can perform entry operations (or input operations) and click operations on the target cloud host on the cloud management platform of the user terminal. After receiving the user's entry operations (or input operations) and click operations on the target cloud host, the user terminal can generate a creation request for the target cloud host and send the creation request to the server. After receiving the creation request, the server can obtain the vendor adapter corresponding to the target cloud vendor, and based on the parameter conversion template contained in the vendor adapter, convert the cloud host request parameters contained in the creation request to obtain the cloud host creation parameters. Among them, the target cloud vendor is the cloud vendor corresponding to the target cloud host.
[0076] The entry operation or input operation is to enter or input cloud host request parameters, and the entry operation may include but is not limited to voice entry and other operations.
[0077] In an embodiment of the present application, the cloud host request parameter includes at least one parameter of a parameter format, a parameter name, and a parameter type.
[0078] In the embodiment of the present application, the creation request can be a creation request corresponding to a synchronous interface or a creation request corresponding to an asynchronous interface. The synchronous interface can be a feign interface, which can return results synchronously without waiting; the asynchronous interface can be a message queue, which can return results asynchronously and is suitable for interfaces that need to wait for state changes.
[0079] In an embodiment of the present application, the vendor adapters corresponding to each cloud vendor and the parameter conversion templates contained in the vendor adapters may be stored in a database in advance.
[0080] In the embodiment of the present application, different cloud vendors correspond to different vendor adapters and parameter conversion templates. The parameter conversion template can convert the parameter format, parameter name or parameter type contained in the cloud host request parameter into the target parameter format, target parameter name or target parameter type required to create the target cloud host.
[0081] Exemplarily, in one embodiment, it is assumed that the cloud host request parameters include a parameter format (format a), the vendor adapter corresponding to the target cloud vendor is vendor adapter A, and the parameter conversion template included in vendor adapter A can convert the cloud host request parameters with parameter format a into cloud host creation parameters with parameter format b. After obtaining vendor adapter A corresponding to the target cloud vendor, the server can convert the cloud host request parameters with parameter format a included in the creation request through the parameter conversion template included in vendor adapter A to obtain cloud host creation parameters with parameter format b.
[0082] In another embodiment, it is assumed that the cloud host request parameters include parameter format, parameter name and parameter type (format a), the vendor adapter corresponding to the target cloud vendor is vendor adapter A, and the parameter conversion template included in vendor adapter A can convert cloud host request parameters whose parameter format, parameter name and parameter type are format a into cloud host creation parameters whose parameter format, parameter name and parameter type are format b. After the server obtains vendor adapter A corresponding to the target cloud vendor, it can convert the cloud host request parameters whose parameter format, parameter name and parameter type are format a contained in the creation request through the parameter conversion template included in vendor adapter A to obtain cloud host creation parameters whose parameter format, parameter name and parameter type are format b.
[0083] In the above technical solution, the differences in cloud host creation parameters corresponding to different cloud hosts can be shielded. The user only needs to perform a simple entry operation (or input operation) through the visual interface of the user terminal to enter the cloud host request parameters and click operations to trigger the creation process, without having to enter different cloud host request parameters for different cloud hosts. Therefore, it can effectively simplify the process of creating cloud hosts and help users save time.
[0084] In an optional implementation, in the process of obtaining the vendor adapter corresponding to the target cloud vendor, the server may respond to a creation request for a target cloud host, obtain cloud vendor identification information included in the creation request, determine the target cloud vendor based on the cloud vendor identification information, and obtain the vendor adapter corresponding to the target cloud vendor.
[0085] In an optional implementation, the cloud host request parameters may be stored in a database in advance, and therefore, the above step S201 may be replaced by: in response to a creation request for a target cloud host, obtaining the cloud host request parameters, and determining the cloud host creation parameters corresponding to the target cloud host.
[0086] Specifically, the user can perform a click operation on the target cloud host on the cloud management platform of the user terminal. After receiving the user's click operation on the target cloud host, the user terminal can obtain the cloud host request parameters from the database, and generate a creation request for the target cloud host based on the cloud host request parameters, and send the creation request to the server. After receiving the creation request, the server can obtain the vendor adapter corresponding to the target cloud vendor, and based on the parameter conversion template contained in the vendor adapter, convert the cloud host request parameters contained in the creation request to obtain the cloud host creation parameters.
[0087] In the above technical solution, the differences in cloud host creation parameters corresponding to different cloud hosts can be shielded. The user only needs to trigger the creation process with one click, that is, to trigger the creation process by clicking through the visual interface of the user terminal, without the need for the user to manually enter the cloud host request parameters corresponding to the target cloud host, or to enter different cloud host request parameters for different cloud hosts. Therefore, it can further effectively simplify the process of creating a cloud host and help users save time.
[0088] In an optional implementation, before responding to a creation request for a target cloud host and determining cloud host creation parameters corresponding to the target cloud host, the parameter conversion template may be updated in response to an update instruction for any parameter conversion template.
[0089] In the above technical solution, when the format of the cloud host creation parameters corresponding to the target cloud host changes, it is only necessary to update the parameter conversion template contained in the vendor adapter corresponding to the target cloud vendor stored in the database to complete the parameter conversion, without the need for the user to manually modify the cloud host request parameters. Therefore, the operational process of creating a cloud host can be further simplified, helping users save time.
[0090] Step S202: sending the cloud host creation parameters to the target cloud vendor, so that the target cloud vendor generates a target cloud host based on the cloud host creation parameters.
[0091] In an optional implementation, in the process of sending the cloud host creation parameters to the target cloud vendor, the cloud host creation process corresponding to the target cloud vendor can be determined first, and then the cloud host creation parameters can be sent to the target cloud vendor according to the cloud host creation process.
[0092] Specifically, the cloud host creation process corresponding to the target cloud vendor can be determined according to the target cloud vendor determined in step S201, and then the cloud host creation parameters can be sent to the server corresponding to the target cloud vendor according to the determined cloud host creation process, so that the server of the target cloud vendor can generate the corresponding target cloud host based on the cloud host creation parameters.
[0093] In an embodiment of the present application, the cloud host creation process corresponding to each cloud vendor can be stored in a database in advance.
[0094] Step S203: receiving the target cloud host sent by the target cloud vendor.
[0095] In the above technical solution, in the environment where different cloud vendors have different cloud host creation processes, the cloud host creation method provided by the embodiment of the present application can shield the differences in cloud host creation processes between various cloud vendors and provide a unified process to the outside world. Therefore, the upper-level business only needs to orchestrate the cloud vendor resources through a unified interface, which can reduce the difficulty of development. At the same time, it also allows users to create corresponding cloud hosts according to different cloud host creation processes for different cloud vendors, thereby effectively simplifying the process of creating cloud hosts and helping users save time.
[0096] In addition, in the cloud host creation method provided in the embodiment of the present application, the degree of code coupling and complexity can be reduced through the flexibility of configuration, and the dependence on the code can be reduced. At the same time, the flexibility of configuration also reduces the difficulty of transplantation caused by the code and increases portability. And during use, when the number of machines needs to be increased for expansion due to insufficient resources or excessive business pressure, the resource orchestration system needs to be transitioned. In this application, because the resource orchestration system does not participate in the actual creation operation, the resource orchestration system can be easily transitioned.
[0097] Figure 3 A schematic diagram of the structure of a cloud host creation device provided in an embodiment of the present application, such as Figure 3 As shown, the device comprises:
[0098] The determining unit 301 is configured to determine a cloud host creation parameter corresponding to the target cloud host in response to a creation request for the target cloud host;
[0099] The sending unit 302 is used to send the cloud host creation parameters to the target cloud vendor, so that the target cloud vendor generates a target cloud host based on the cloud host creation parameters; the target cloud vendor is the cloud vendor corresponding to the target cloud host;
[0100] The receiving unit 303 is used to receive the target cloud host sent by the target cloud vendor.
[0101] Optionally, the determining unit 301 includes:
[0102] An acquisition unit, configured to acquire a vendor adapter corresponding to a target cloud vendor in response to a creation request for a target cloud host;
[0103] The conversion unit is used to convert the cloud host request parameters contained in the creation request based on the parameter conversion template contained in the manufacturer adapter to obtain the cloud host creation parameters.
[0104] Optionally, the acquisition unit is specifically used for:
[0105] In response to a creation request for a target cloud host, obtaining cloud vendor identification information included in the creation request;
[0106] Determine the target cloud vendor based on the cloud vendor identification information;
[0107] Get the vendor adapter corresponding to the target cloud vendor.
[0108] Optionally, the sending unit 302 is specifically configured to:
[0109] Determine the cloud host creation process corresponding to the target cloud vendor;
[0110] According to the cloud host creation process, send the cloud host creation parameters to the target cloud vendor.
[0111] Optionally, the cloud host request parameters include at least one of the following parameters:
[0112] Parameter format;
[0113] Parameter name;
[0114] The parameter type.
[0115] Figure 4 Another possible structural diagram of the cloud host creation device involved in the above embodiment is shown. The cloud host creation device includes: a processor 401 and a communication interface 402. The processor 401 is used to control and manage the actions of the cloud host creation device, and the communication interface 402 is used to support the communication between the cloud host creation device and other network entities. The cloud host creation device may also include a memory 403 and a bus 404, and the memory 403 is used to store program codes and data of the cloud host creation device.
[0116] Among them, the memory 403 can be a memory in a cloud host creation device, etc. The memory can include a volatile memory, such as a random access memory; the memory can also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory can also include a combination of the above types of memory.
[0117] The processor 401 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The processor may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0118] The bus 404 may be an Extended Industry Standard Architecture (EISA) bus, etc. The bus 404 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0119] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0120] An embodiment of the present application provides a computer program product including instructions. When the computer program product is run on a computer, the computer is enabled to execute the cloud host creation method in the above method embodiment.
[0121] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the cloud host creation method in the method flow shown in the above method embodiment.
[0122] Among them, the computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0123] An embodiment of the present invention provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the cloud host creation method described in the embodiment of the present application.
[0124] Since the cloud host creation device, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present invention will not be repeated here.
[0125] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0126] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0127] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0128] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A cloud host creation method, characterized in that: The method comprises: In response to a creation request for a target cloud host, determining cloud host creation parameters corresponding to the target cloud host; Sending the cloud host creation parameters to a target cloud vendor, so that the target cloud vendor generates the target cloud host based on the cloud host creation parameters; the target cloud vendor is the cloud vendor corresponding to the target cloud host; Receive the target cloud host sent by the target cloud vendor.
2. The method according to claim 1, characterized in that: The step of determining, in response to a creation request for a target cloud host, cloud host creation parameters corresponding to the target cloud host includes: In response to a creation request for the target cloud host, obtaining a vendor adapter corresponding to the target cloud vendor; Based on the parameter conversion template included in the manufacturer adapter, the cloud host request parameters included in the creation request are converted to obtain the cloud host creation parameters corresponding to the target cloud host.
3. The method according to claim 2, characterized in that The step of obtaining, in response to the creation request for the target cloud host, a vendor adapter corresponding to the target cloud vendor includes: In response to a creation request for the target cloud host, obtaining cloud vendor identification information included in the creation request; Determining the target cloud vendor based on the cloud vendor identification information; Get the vendor adapter corresponding to the target cloud vendor.
4. The method according to claim 1, characterized in that: The sending of the cloud host creation parameters to the target cloud vendor includes: Determine a cloud host creation process corresponding to the target cloud vendor; According to the cloud host creation process, the cloud host creation parameters are sent to the target cloud vendor.
5. The method according to any one of claims 1 to 4, characterized in that The cloud host request parameters include at least one of the following parameters: Parameter format; Parameter name; The parameter type.
6. A cloud host creation device, characterized in that: The device comprises: A determination unit, configured to determine, in response to a creation request for a target cloud host, a cloud host creation parameter corresponding to the target cloud host; A sending unit, configured to send the cloud host creation parameters to a target cloud vendor, so that the target cloud vendor generates the target cloud host based on the cloud host creation parameters; the target cloud vendor is the cloud vendor corresponding to the target cloud host; The receiving unit is used to receive the target cloud host sent by the target cloud vendor.
7. The device according to claim 6, characterized in that The determining unit comprises: An acquiring unit, configured to acquire a vendor adapter corresponding to the target cloud vendor in response to a creation request for the target cloud host; The conversion unit is used to convert the cloud host request parameters contained in the creation request based on the parameter conversion template contained in the manufacturer adapter to obtain the cloud host creation parameters corresponding to the target cloud host.
8. The device according to claim 7, characterized in that The acquisition unit is specifically used for: In response to a creation request for the target cloud host, obtaining cloud vendor identification information included in the creation request; Determining the target cloud vendor based on the cloud vendor identification information; Get the vendor adapter corresponding to the target cloud vendor.
9. The device according to claim 6, characterized in that The sending unit is specifically used for: Determine a cloud host creation process corresponding to the target cloud vendor; According to the cloud host creation process, the cloud host creation parameters are sent to the target cloud vendor.
10. The device according to any one of claims 6 to 9, characterized in that: The cloud host request parameters include at least one of the following parameters: Parameter format; Parameter name; The parameter type.
11. A cloud host creation device, characterized in that: include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the cloud host creation method as described in any one of claims 1-5.
12. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer executes the cloud host creation method described in any one of claims 1 to 5.
