Cloud host creation method and system

By introducing the docking plug-in into Citrix XenDesktop to connect with the cloud platform, it solves the problem of Citrix XenDesktop creating virtual cloud hosts on domestic cloud service provider platforms, enabling independent creation of cloud hosts, expanding the scope of application and reducing operation and maintenance costs.

CN110795182BActive Publication Date: 2024-09-13PING AN TECH (SHENZHEN) CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN201910883308.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-18
Publication Date
2024-09-13
Estimated Expiration
2039-09-18

AI Technical Summary

Technical Problem

The existing Citrix XenDesktop virtualization platform mainly relies on foreign servers, resulting in high operation and maintenance costs and a narrow scope of application, making it impossible to create virtual cloud hosts on the platforms of domestic cloud service providers.

Method used

Receive the cloud host creation instructions sent by the terminal through the desktop delivery control server, call the docking plug-in to connect with the cloud platform interface, create the cloud host according to the resource identifier, write the cloud host information to the preset capacity disk, and mount it to the disk service cloud host to realize independent creation of cloud hosts.

Benefits of technology

It has realized the independent creation of cloud hosts on domestic cloud platforms, expanded the scope of application, reduced operation and maintenance costs, and reduced dependence on foreign servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110795182B
    Figure CN110795182B
Patent Text Reader

Abstract

The present application relates to a cloud host creation method and system. The method comprises: a desktop delivery control server receives a cloud host creation instruction carrying a cloud platform identifier and a resource identifier sent by a terminal; calling a docking plug-in, and calling the corresponding cloud platform interface according to the platform identifier through the docking plug-in to send the resource identifier to the corresponding cloud platform. The cloud platform obtains the corresponding resource data according to the resource identifier, and creates the corresponding cloud host based on the resource data. This method can be used to connect the cloud platform and Citrix XenDesktop, and realize the creation of a cloud host of the cloud platform on Citrix XenDesktop.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a cloud host creation method and system. Background Art

[0002] Citrix XenDesktop is a desktop virtualization solution that transforms Windows desktops and applications into an on-demand service, delivering it to any user at any location and using any device, providing a complete virtual application and desktop solution that meets all business needs of users. While reducing IT costs, it allows employees to work freely anytime and anywhere. Citrix XenDesktop can deliver Windows desktops and applications from any cloud (public cloud, on-premises or hybrid cloud) in the modern digital workspace.

[0003] However, the virtualization platforms officially supported by Citrix XenDesktop are mainly servers from foreign service providers such as Citrix, Microsoft and VMware. Therefore, compared with domestic cloud service providers, if they need to use Citrix XenDesktop's virtual desktops, they can only virtualize the virtual desktops to the foreign supplier's virtualization platform by connecting to the servers provided by the above-mentioned foreign service providers. This not only increases their own operating and maintenance costs, but also because the servers provided by foreign suppliers are not applicable to all platforms, resulting in a relatively narrow scope of application. Summary of the invention

[0004] Based on this, it is necessary to provide a cloud host creation method and system that can reduce operation and maintenance costs in response to the above technical problems.

[0005] A cloud host creation method, the method comprising:

[0006] The desktop delivery control server receives a cloud host creation instruction sent by the terminal and carrying a cloud platform identifier and a resource identifier;

[0007] The desktop delivery control server calls the docking plug-in in response to the cloud host creation instruction, and calls the corresponding cloud platform interface according to the cloud platform identifier through the docking plug-in to send the resource identifier to the corresponding cloud platform;

[0008] The cloud platform obtains corresponding resource data according to the resource identifier, and creates a corresponding cloud host based on the resource data.

[0009] In one embodiment, the cloud platform obtains corresponding resource data according to the resource identifier, and after creating a corresponding cloud host based on the resource data, includes:

[0010] The desktop delivery control server obtains the cloud host information of the created cloud host, calls the docking plug-in, and sends a disk resource creation instruction carrying the cloud host information to the cloud platform;

[0011] The cloud platform responds to the disk resource creation instruction and creates a disk of preset capacity;

[0012] The cloud platform writes the cloud host information into the preset capacity disk, and mounts the preset capacity disk to the disk service cloud host;

[0013] The desktop delivery control server calls the docking plug-in to identify and associate the preset capacity disk in which the cloud host information has been written with the corresponding cloud host.

[0014] In one embodiment, before the desktop delivery control server receives the cloud host creation instruction carrying the cloud platform identifier and the resource identifier sent by the terminal, it includes:

[0015] The desktop delivery control server receives a registration instruction sent by the terminal;

[0016] The desktop delivery control server completes the registration of the docking plug-in according to the registration instruction.

[0017] In one embodiment, the desktop delivery control server completes the registration of the docking plug-in according to the registration instruction, including:

[0018] Get the first plug-in file and the corresponding registration path;

[0019] Deleting the preset interface file from the first plug-in file to obtain a second plug-in file;

[0020] After the second plug-in file is copied to the registration path, the registration of the docking plug-in is completed based on the preset registration script file and the second plug-in file.

[0021] In one embodiment, after the desktop delivery control server completes the registration of the docking plug-in according to the registration instruction, the following steps are included:

[0022] The desktop delivery control server calls the registered docking plug-in and uses the docking plug-in to connect with the cloud platform.

[0023] In one embodiment, the desktop delivery control server calls the registered docking plug-in and uses the docking plug-in to connect with the cloud platform, including:

[0024] The desktop delivery control server receives a connection instruction carrying a connection key and a cloud platform identifier;

[0025] The desktop delivery control server responds to the connection instruction and calls the docking plug-in;

[0026] After the desktop delivery control server verifies that the connection key is correct by using the docking plug-in, it connects to the cloud platform based on a preset connection mode and the cloud platform identifier.

[0027] In one embodiment, the desktop delivery control server calls the registered docking plug-in, and after connecting with the cloud platform using the docking plug-in, includes:

[0028] The desktop delivery control server calls the docking plug-in to obtain resource data from the cloud platform and generates a resource identifier corresponding to the resource data.

[0029] A cloud host creation system, the system comprising:

[0030] The terminal is used to generate a creation instruction carrying a cloud platform identifier and a resource identifier, and send the creation instruction to a desktop delivery control server;

[0031] The desktop delivery control server is used to receive a cloud host creation instruction sent by the terminal and carrying a cloud platform identifier and a resource identifier; call a docking plug-in, and call a corresponding cloud platform interface according to the cloud platform identifier through the docking plug-in to send the resource identifier to the corresponding cloud platform;

[0032] The cloud platform is used to obtain corresponding resource data according to the resource identifier and create a corresponding cloud host based on the resource data.

[0033] In one of the embodiments, the desktop delivery control server is further used to obtain cloud host information of the created cloud host, call the docking plug-in, and send a disk resource creation instruction carrying the cloud host information to the cloud platform;

[0034] The cloud platform is also used to respond to the disk resource creation instruction and create a disk with preset capacity;

[0035] The cloud platform is also used to write the cloud host information into the preset capacity disk, and mount the preset capacity disk to the disk service cloud host;

[0036] The desktop delivery control server calls the docking plug-in to identify and associate the preset capacity disk in which the cloud host information has been written with the corresponding cloud host.

[0037] In one of the embodiments, the desktop delivery control server is further used to receive a registration instruction sent by a terminal; the desktop delivery control server is further used to complete the registration of the docking plug-in according to the registration instruction.

[0038] In the above-mentioned cloud host creation method and system, after the desktop delivery control server receives the cloud host creation instruction sent by the terminal and carrying the cloud platform identifier and the resource identifier, it responds to the cloud host creation instruction and calls the docking plug-in. This ensures that the desktop delivery control server calls the plug-in on demand according to the instruction, saving resources. The desktop delivery control server uses the docking plug-in to call the cloud platform interface of the cloud platform identifier and sends the resource identifier to the cloud platform, thereby ensuring that the desktop delivery control server and the cloud platform are connected through the docking plug-in. The cloud platform obtains the corresponding resource data according to the resource identifier, and completes the creation of the cloud host according to the resource data, thereby ensuring that a virtual cloud host of the virtual cloud platform can be created on Citrix XenDesktop. Autonomous creation of cloud hosts on the cloud platform is achieved, the scope of application is expanded, and the cost of operation and maintenance is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 An application scenario diagram of a cloud host creation method in one embodiment;

[0040] Figure 2 A schematic diagram of a process of creating a cloud host in one embodiment;

[0041] Figure 3 A schematic diagram of a process of creating a cloud host in another embodiment;

[0042] Figure 4 A schematic diagram of a flow chart of completing the registration steps of a docking plug-in according to a registration instruction in an embodiment;

[0043] Figure 5 The following is a timing diagram of a cloud host creation method in one embodiment. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] The cloud host creation method provided in this application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the desktop delivery control server 104 through the network, and the desktop delivery control server 104 communicates with the cloud platform 106 through the network. The terminal 102 generates a creation instruction carrying a cloud platform identifier and a resource identifier, and sends the creation instruction to the desktop delivery control server 104. The desktop delivery control server 104 receives the cloud host creation instruction carrying the cloud platform identifier and the resource identifier sent by the terminal; calls the docking plug-in, and calls the corresponding cloud platform interface according to the cloud platform identifier through the docking plug-in to send the resource identifier to the corresponding cloud platform 106. The cloud platform 106 obtains the corresponding resource data according to the resource identifier, and creates the corresponding cloud host based on the resource data. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the desktop delivery control server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0046] In one embodiment, Figure 2 As shown, a cloud host creation method is provided, comprising the following steps:

[0047] Step S202: The desktop delivery control server receives a cloud host creation instruction carrying a cloud platform identifier and a resource identifier sent by a terminal.

[0048] Among them, the desktop delivery controller is the DDC (Desktop Delivery Controller) server of Citrix XenDesktop, and the terminal is a computer device with a DDC server installed. The cloud host creation instruction is a request from the terminal to instruct the DDC server to create a cloud host. The cloud platform identifier is the unique identifier of the cloud platform, which is used to identify the corresponding cloud platform. The cloud host creation instruction refers to an instruction used to instruct the DDC server to create a cloud host on the corresponding cloud platform. The resource identifier is the unique identifier of the resource data required to create cloud platform resources. Identification includes but is not limited to ID (Identity), number, name, etc.

[0049] Specifically, the cloud host creation instruction is triggered by the user at the terminal to instruct the DDC server to create a cloud host on the corresponding cloud platform. Cloud host is a virtualization technology similar to VPS host (Virtual Private Server). VPS uses virtual software to virtualize multiple parts similar to independent hosts on a host, which can realize single-machine multi-user. Each part can be a separate operating system, and the management method is the same as the host. The cloud host is a virtualization of multiple parts similar to independent hosts on a group of cluster hosts. Each host in the cluster has a mirror of the cloud host, which greatly improves the security and stability of the virtual host. Unless all hosts in the cluster have problems, the cloud host will be inaccessible. The cloud platform is a platform that provides cloud computing services. It is a virtual environment that provides countless sites through countless physical hosts. It can be understood that the cloud host in this embodiment is a host virtualized from the cluster host provided by the cloud platform.

[0050] When a user needs to create a cloud host, he or she selects the cloud platform identifier of the cloud platform to create the cloud host and the resource identifier of the required resource data through the operation terminal. After receiving the selected cloud platform identifier and resource identifier from the user, the terminal generates a cloud host creation instruction. The cloud platform identifier and resource identifier are sent to the DDC server along with the created cloud host creation instruction.

[0051] Step S204, the desktop delivery control server calls the docking plug-in in response to the cloud host creation instruction, and calls the corresponding cloud platform interface according to the cloud platform identifier through the docking plug-in to send the resource identifier to the corresponding cloud platform.

[0052] Among them, a plug-in is a program written in accordance with a certain specification of the application program interface, and a docking plug-in is a program used to dock with a DDC server and a cloud platform. After receiving the cloud host creation instruction, the traditional DDC server creates a corresponding cloud host in the virtual cloud platform of the cooperating foreign service provider. However, for domestic service providers without cooperation, it is impossible to create a cloud host in their own cloud platform by sending a cloud host creation instruction to the DDC server. Therefore, in this embodiment, the docking of the DDC server and the cloud platform is achieved through the written docking program. The cloud platform interface refers to the API interface (Application Programming Interface) of the cloud platform.

[0053] Specifically, when the DDC server receives the command to create a cloud host, it calls the docking plug-in pre-deployed in the DDC server, and docks with the cloud platform corresponding to the cloud platform identifier through the docking plug-in. The docking plug-in determines the cloud platform to be docked according to the cloud platform identifier, and then calls the API interface pre-agreed by the cloud platform, and sends the resource identifier to the cloud platform through the API interface.

[0054] Step S206: The cloud platform obtains corresponding resource data according to the resource identifier, and creates a corresponding cloud host based on the resource data.

[0055] Specifically, when the cloud platform receives the resource identifier, it obtains the corresponding resource data according to the resource identifier and establishes the corresponding cloud host. The resource data includes network resources, template image resources, storage resources, computing solution resources, etc.

[0056] The above-mentioned cloud host creator, after the desktop delivery control server receives the cloud host creation instruction sent by the terminal carrying the cloud platform identifier and resource identifier, responds to the cloud host creation instruction and calls the docking plug-in. This ensures that the desktop delivery control server calls the plug-in on demand according to the instruction, saving resources. The desktop delivery control server uses the docking plug-in to call the cloud platform interface of the cloud platform identifier and sends the resource identifier to the cloud platform, thereby ensuring that the desktop delivery control server and the cloud platform are connected through the docking plug-in. The cloud platform obtains the corresponding resource data based on the resource identifier, and completes the creation of the cloud host based on the resource data, thereby ensuring that a virtual cloud host of the virtual cloud platform can be created on Citrix XenDesktop. It realizes the autonomous creation of cloud hosts on the cloud platform, expands the scope of application, and reduces the cost of operation and maintenance.

[0057] In one embodiment, Figure 3 As shown, in step S206, the cloud platform obtains the corresponding resource data according to the resource identifier, and after creating the corresponding cloud host based on the resource data, the following steps are also included:

[0058] Step S208, the desktop delivery control server obtains the cloud host information of the created cloud host, calls the docking plug-in, and sends a disk resource creation instruction carrying the cloud host information to the cloud platform.

[0059] The disk resource creation instruction is used to request the corresponding cloud platform to create a disk, and the created disk is used to store cloud host information.

[0060] Specifically, when the cloud host is created, the DDC server obtains the cloud host information of the created cloud host. At the same time, it generates a disk creation instruction, and calls the docking plug-in to send the obtained cloud host information along with the disk creation instruction to the corresponding cloud platform. The cloud host information includes the host ID, host name, DDC address corresponding to the host, and domain control information.

[0061] Step S210: The cloud platform responds to the disk resource creation instruction and creates a disk of preset capacity.

[0062] In step S212, the cloud platform writes the cloud host information into the preset capacity disk, and mounts the preset capacity disk to the disk service cloud host.

[0063] The preset capacity disk refers to a disk with a preset capacity. In this embodiment, the preset capacity disk is preferably a 1GB disk. The disk service cloud host refers to a cloud host with a user-managed cloud host identity disk pre-deployed in the cloud platform. The disk service cloud host is developed based on the Golang language.

[0064] Specifically, after the cloud platform receives the disk resource creation instruction sent by the DDC server calling the docking plug-in, it responds to the disk resource creation instruction and calls the disk service cloud host to create a 1GB disk. Furthermore, the cloud host information is written into the created 1GB disk, and the disk is mounted on the disk server cloud host. Alternatively, when the cloud platform receives the disk resource creation instruction sent by the DDC server calling the docking plug-in, it responds to the disk resource creation instruction to create a 1GB disk, first mounts the disk to the disk service cloud host, and then writes the cloud host information into the disk. Among them, the cloud host information can be written to the disk through the Linux dd command.

[0065] Step S214, the docking plug-in associates the preset capacity disk in which the cloud host information has been written with the corresponding cloud host.

[0066] Specifically, when the cloud host information of the cloud host has been written into the created preset capacity disk, the cloud host is associated with the preset capacity disk, thereby establishing an association between the disk and the cloud host. The identification association can be understood as binding or mapping the disk ID of the preset capacity disk with the host ID of the cloud host.

[0067] In this embodiment, by writing the cloud host information into the created disk and mounting the disk on the disk service cloud host of the cloud platform, the cloud platform can manage the cloud host information conveniently.

[0068] In one embodiment, in step S202, before the desktop delivery control server receives the cloud host creation instruction carrying the cloud platform identifier and the resource identifier sent by the terminal, the step of registering the docking plug-in in the desktop delivery control server is also included.

[0069] Registering the plug-in in the desktop delivery control server includes the following steps:

[0070] Step S1: The desktop delivery control server receives a registration instruction sent by a terminal.

[0071] The registration instruction refers to an instruction for instructing the desktop delivery control server to complete the registration of the docking plug-in. Specifically, the user generates the registration instruction by operating the terminal, and the terminal sends the registration instruction to the desktop delivery control server.

[0072] Step S2: The desktop delivery control server completes registration of the docking plug-in according to the registration instruction.

[0073] Specifically, after receiving the registration instruction, the desktop delivery control server obtains the corresponding plug-in file and registration path according to the registration instruction, and completes the registration of the docking plug-in based on the plug-in file. The plug-in file and registration path can be sent to the desktop delivery control server together according to the registration instruction, or obtained by the desktop delivery control server sending an acquisition request to the terminal, or extracted by the desktop delivery control server from the storage path of the plug-in file.

[0074] In one embodiment, Figure 4 As shown, the desktop delivery control server completes the registration of the docking plug-in according to the registration instruction, including the following steps:

[0075] Step S402: Obtain a first plug-in file and a corresponding registration path.

[0076] Step S404: Delete the preset interface file from the first plug-in file to obtain a second plug-in file.

[0077] Among them, the first plug-in file is the original plug-in file obtained by the desktop delivery control server, and the registration path refers to the address where the docking plug-in is registered. The second plug-in file is the first plug-in file after deleting the preset interface file. In other words, the first plug-in file refers to a plug-in file that includes the preset interface file, and the second plug-in file refers to a plug-in file that does not include the preset interface file. In this embodiment, the preset interface file includes a creation interface file (Citrix.MachineCreationAPI.dll) and a management interface file (Citrix.ManagedMachineAPI.dll). Since the desktop delivery control server already includes the creation interface file and the management interface file, in order to avoid misunderstandings caused by file duplication, when registering the docking plug-in, the preset interface file is deleted before registration.

[0078] Specifically, after the desktop delivery control server obtains the first plug-in file and the registration path, it searches for the corresponding preset interface file from the first plug-in file through the file name of the preset interface file, deletes the preset interface file from the first plug-in file, and obtains the second plug-in file.

[0079] Step S406: After the second plug-in file is copied to the registration path, the registration of the docking plug-in is completed based on the preset registration script file and the second plug-in file.

[0080] Among them, the registration script is a pre-written program file for registering the docking plug-in. The registration script is a Powershell file. Specifically, after obtaining the second plug-in file, copy the second plug-in file to the registration path corresponding to the registration. Run the preset registration script file and the second plug-in file to complete the registration of the docking plug-in, that is, the docking plug-in has been registered to the desktop delivery control server.

[0081] In this embodiment, before the desktop delivery control server creates a cloud host using the cloud platform, the docking plug-in is registered in the desktop delivery control server, so as to facilitate the subsequent connection between the desktop delivery control server and the cloud platform.

[0082] In one embodiment, after the desktop delivery control server completes the registration of the docking plug-in according to the registration instruction, the process further includes a step in which the desktop delivery control server calls the registered docking plug-in and uses the docking plug-in to connect to the cloud platform.

[0083] The desktop delivery control server calls the registered docking plug-in, and uses the docking plug-in to connect with the cloud platform specifically includes: the desktop delivery control server receives a connection instruction carrying a connection key and a cloud platform identifier. The desktop delivery control server responds to the connection instruction and calls the docking plug-in. After the desktop delivery control server verifies that the connection key is correct using the docking plug-in, it connects with the cloud platform based on a preset connection method and the cloud platform identifier.

[0084] The connection instruction is a request for instructing the docking plug-in to connect the cloud platform to the desktop delivery control server. The connection key is used to identify the identity of the terminal user who sends the connection instruction. The connection key includes but is not limited to the account password, etc. The default connection method is http.

[0085] Specifically, after the desktop delivery control server completes the registration of the docking plug-in, it feeds back the registration completion information to the terminal. After the terminal receives the feedback information of the completion of the registration of the docking plug-in, it displays the feedback information of the completion of the registration on the display screen of the terminal to prompt the user that the registration has been completed. Further, the user triggers the generation of the connection instruction by operating the terminal and inputting the connection key in the terminal. After the terminal generates the connection instruction, the connection instruction and the connection key corresponding to the connection instruction are sent to the desktop delivery control server. After receiving the connection instruction carrying the connection key, the desktop delivery control server synchronously calls the registered docking plug-in. The connection key is verified by the docking plug-in. When the connection key is verified correctly, the docking plug-in connects the desktop delivery control server to the cloud platform based on the preset connection method. Among them, the docking plug-in is integrated with the desktop delivery control server through an interface, and connected to the cloud platform through a Web API. Verifying the connection key can be understood as that the connection key is a key existing in the key library and has connection authority.

[0086] Furthermore, in one embodiment, when the desktop delivery control server calls a registered docking plug-in and connects to the cloud platform using the docking plug-in, the desktop delivery control server obtains resource data from the cloud platform by calling the docking plug-in and generates a resource identifier corresponding to the resource data.

[0087] Specifically, after the desktop delivery control server is connected to the cloud platform through the docking plug-in, the docking plug-in is used to obtain the resource data on the cloud platform. In addition, the resource data is generated into corresponding resource identifiers and stored locally on the desktop delivery control server. When the user initiates a cloud host creation instruction at the terminal, the generated resource identifier is displayed at the terminal for the user to select. The user determines the resource data of the cloud platform through the generated resource identifier and selects the required resource data.

[0088] It should be understood that although Figure 2-4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0089] In one embodiment, Figure 5As shown, a timing diagram of a cloud host creation method is provided, wherein, after the desktop delivery control server registers the docking plug-in, the terminal generates a creation instruction carrying a cloud platform identifier and a resource identifier, and sends the creation instruction to the desktop delivery control server. The desktop delivery control server receives the cloud host creation instruction carrying a cloud platform identifier and a resource identifier sent by the terminal. In response to the creation instruction, the docking plug-in is called, and the resource identifier is sent to the corresponding cloud platform by calling the corresponding cloud platform interface according to the cloud platform identifier through the docking plug-in. The cloud platform obtains the corresponding resource data according to the resource identifier, and creates the corresponding cloud host based on the resource data.

[0090] In one embodiment, a cloud host creation system is provided, including a terminal 102, a desktop delivery control server 104 and a cloud platform 106, wherein:

[0091] The terminal 102 is used to generate a creation instruction carrying a cloud platform identifier and a resource identifier, and send the creation instruction to the desktop delivery control server 104. The desktop delivery control server 104 receives the cloud host creation instruction carrying the cloud platform identifier and the resource identifier sent by the terminal 102; calls the docking plug-in, and calls the corresponding cloud platform interface according to the cloud platform identifier through the docking plug-in to send the resource identifier to the corresponding cloud platform 106. The cloud platform 106 obtains the corresponding resource data according to the resource identifier, and creates the corresponding cloud host based on the resource data.

[0092] In one embodiment, the desktop delivery control server 404 is further used to obtain the cloud host information of the created cloud host, call the docking plug-in, and send a disk resource creation instruction carrying the cloud host information to the cloud platform 406. The cloud platform 406 is used to respond to the disk resource creation instruction and create a preset capacity disk; the cloud platform 406 writes the cloud host information into the preset capacity disk, and mounts the preset capacity disk to the disk service cloud host. The desktop delivery control server 404 calls the docking plug-in to identify and associate the preset capacity disk with the corresponding cloud host.

[0093] In one embodiment, the desktop delivery control server 404 is further configured to receive a registration instruction sent by the terminal; and complete the registration of the docking plug-in according to the registration instruction.

[0094] In one embodiment, the desktop delivery control server 404 is also used to obtain a first plug-in file and a corresponding registration path; delete a preset interface file from the first plug-in file to obtain a second plug-in file; after copying the second plug-in file to the registration path, complete the registration of the docking plug-in based on the preset registration script file and the second plug-in file.

[0095] In one embodiment, the desktop delivery control server 404 is further configured to call a registered docking plug-in and utilize the docking plug-in to connect to the cloud platform.

[0096] In one embodiment, the desktop delivery control server 404 is also used to receive a connection instruction carrying a connection key and a cloud platform identifier; respond to the connection instruction and call the docking plug-in; after verifying that the connection key is correct using the docking plug-in, connect to the cloud platform based on a preset connection method and cloud platform identifier.

[0097] In one embodiment, the desktop delivery control server 404 is further configured to call the docking plug-in to obtain resource data from the cloud platform and generate a resource identifier corresponding to the resource data.

[0098] For the specific definition of the cloud host creation system, please refer to the definition of the cloud host creation method above, which will not be repeated here. Each module in the above cloud host creation system can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0099] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0100] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for creating a cloud host, the method comprising: The desktop delivery control server receives a connection instruction carrying a connection key and a cloud platform identifier; the connection instruction is used to instruct the docking plug-in to connect the cloud platform to the desktop delivery control server; the connection key is used to identify the identity of the terminal user who sends the connection instruction; The desktop delivery control server responds to the connection instruction and calls the docking plug-in; After the desktop delivery control server verifies that the connection key is correct by using the docking plug-in, it connects to the cloud platform based on a preset connection mode and the cloud platform identifier; The desktop delivery control server receives a registration instruction sent by the terminal; The desktop delivery control server completes the registration of the docking plug-in according to the registration instruction; The desktop delivery control server receives a cloud host creation instruction sent by the terminal and carrying a cloud platform identifier and a resource identifier; The desktop delivery control server calls the docking plug-in in response to the cloud host creation instruction, and calls the corresponding cloud platform interface according to the cloud platform identifier through the docking plug-in to send the resource identifier to the corresponding cloud platform; The cloud platform obtains corresponding resource data according to the resource identifier, and creates a corresponding cloud host based on the resource data.

2. The method according to claim 1, characterized in that The cloud platform obtains corresponding resource data according to the resource identifier, and creates a corresponding cloud host based on the resource data, including: The desktop delivery control server obtains the cloud host information of the created cloud host, calls the docking plug-in, and sends a disk resource creation instruction carrying the cloud host information to the cloud platform; The cloud platform responds to the disk resource creation instruction and creates a disk of preset capacity; The cloud platform writes the cloud host information into the preset capacity disk, and mounts the preset capacity disk to the disk service cloud host; The desktop delivery control server calls the docking plug-in to identify and associate the preset capacity disk in which the cloud host information has been written with the corresponding cloud host.

3. The method according to claim 1, characterized in that The desktop delivery control server completes the registration of the docking plug-in according to the registration instruction, including: Get the first plug-in file and the corresponding registration path; Deleting the preset interface file from the first plug-in file to obtain a second plug-in file; After the second plug-in file is copied to the registration path, the registration of the docking plug-in is completed based on the preset registration script file and the second plug-in file.

4. The method according to claim 1, characterized in that: After the desktop delivery control server completes the registration of the docking plug-in according to the registration instruction, the following steps are included: The desktop delivery control server calls the registered docking plug-in and uses the docking plug-in to connect with the cloud platform.

5. The method according to claim 4, characterized in that The desktop delivery control server calls the registered docking plug-in, and after connecting with the cloud platform using the docking plug-in, includes: The desktop delivery control server calls the docking plug-in to obtain resource data from the cloud platform and generates a resource identifier corresponding to the resource data.

6. A cloud host creation system, characterized in that: The system comprises: The terminal is used to send a registration instruction to the desktop delivery control server; generate a creation instruction carrying a cloud platform identifier and a resource identifier, and send the creation instruction to the desktop delivery control server; A desktop delivery control server, used to receive a connection instruction carrying a connection key and a cloud platform identifier; the connection instruction is used to instruct a docking plug-in to connect a cloud platform to the desktop delivery control server; the connection key is used to identify the identity of a terminal user who sends the connection instruction; in response to the connection instruction, the docking plug-in is called; after verifying that the connection key is correct using the docking plug-in, the docking plug-in is connected to the cloud platform based on a preset connection method and the cloud platform identifier; receiving a registration instruction sent by a terminal; completing the registration of the docking plug-in according to the registration instruction; receiving a cloud host creation instruction carrying a cloud platform identifier and a resource identifier sent by the terminal; calling the docking plug-in, and calling the corresponding cloud platform interface according to the cloud platform identifier through the docking plug-in to send the resource identifier to the corresponding cloud platform; The cloud platform is used to obtain corresponding resource data according to the resource identifier and create a corresponding cloud host based on the resource data.

7. The system according to claim 6, characterized in that The desktop delivery control server is also used to obtain the cloud host information of the created cloud host, call the docking plug-in, and send a disk resource creation instruction carrying the cloud host information to the cloud platform; The cloud platform is also used to respond to the disk resource creation instruction and create a disk with preset capacity; The cloud platform is also used to write the cloud host information into the preset capacity disk, and mount the preset capacity disk to the disk service cloud host; The desktop delivery control server calls the docking plug-in to identify and associate the preset capacity disk in which the cloud host information has been written with the corresponding cloud host.

8. The system according to claim 6, characterized in that The desktop delivery control server is also used to obtain the first plug-in file and the corresponding registration path; The desktop delivery control server is further used to delete the preset interface file from the first plug-in file to obtain a second plug-in file; The desktop delivery control server is further configured to complete the registration of the docking plug-in based on a preset registration script file and the second plug-in file after copying the second plug-in file to the registration path.

9. The system according to claim 6, characterized in that After the desktop delivery control server completes the registration of the docking plug-in according to the registration instruction, the following steps are included: The desktop delivery control server calls the registered docking plug-in and uses the docking plug-in to connect with the cloud platform.

10. The system according to claim 9, characterized in that The desktop delivery control server calls the registered docking plug-in, and after connecting with the cloud platform using the docking plug-in, includes: The desktop delivery control server calls the docking plug-in to obtain resource data from the cloud platform and generates a resource identifier corresponding to the resource data.

Citation Information

Patent Citations

  • Cloud terminal management method and device

    CN104468240A

  • Cloud host resource reservation method and device

    CN107241421A

  • Cloud host initialization method and device

    CN107463411A

  • Method of cloud platform to create mirror image, and cloud platform device

    CN107888695A

  • Hybrid cloud platform management system and hybrid cloud platform management method

    CN108449418A