Maintenance system, method and device of cloud computer virtual machine and storage medium
Patent Information
- Application Number
- CN202510162767.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2026-08-18
AI Technical Summary
由于镜像中的数据量过大,在传输过程中需要消耗较高的带宽成本,而且耗时很长,无法及时处理出现异常的云电脑虚拟机
[0031]When the first cloud computer virtual machine needs maintenance, such as fixing anomalies or updating it, the cloud computer backend server can generate and issue maintenance operation instructions (i.e., first execution information) based on the maintenance requirements. The first cloud computer virtual machine then executes these instructions to effectively maintain itself. This avoids the time-consuming problem of issuing new image versions, as required in related technologies. It achieves the technical effect of timely maintenance of the first cloud computer virtual machine (such as timely fixing anomalies or timely updates). Furthermore, compared to the need to transmit new image data in related technologies, this application directly transmits the maintenance operation instructions (such as instructions to fix anomalies or update the first cloud computer virtual machine), thus significantly saving transmission resources.
Smart Images

Figure CN122593897A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer and Internet technology, and in particular to a maintenance system, method, device and storage medium for cloud computer virtual machines. Background Technology
[0002] Cloud PC virtual machines refer to virtual machine instances in a cloud computing environment, providing users with flexible and scalable computing resources through virtualization technology. During the operation of a cloud PC virtual machine, issues such as abnormal virtual machine image versions can lead to malfunctions in its use.
[0003] In related technologies, when a cloud computer virtual machine running on the host machine malfunctions, such as when the image version corresponding to the cloud computer virtual machine is abnormal, the abnormality can be resolved by the following steps: First, analyze and repair the abnormality and create a new image; then, distribute the new image to the host machine; users can create a new cloud computer virtual machine in this new image to achieve the repair of the cloud computer virtual machine abnormality.
[0004] The above method requires synchronizing a new image to each host machine when a problem occurs with the cloud PC virtual machine, such as an issue with the image version of the cloud PC instance. Because the image contains a large amount of data, the transmission process consumes significant bandwidth and is time-consuming, making it impossible to promptly handle abnormal cloud PC virtual machines. Summary of the Invention
[0005] This application provides a maintenance system, method, device, and storage medium for cloud computer virtual machines. The technical solutions provided by this application are as follows.
[0006] According to one aspect of the embodiments of this application, a maintenance system for cloud computer virtual machines is provided, the system comprising: a cloud computer backend server, a cluster server and a host machine, wherein at least one cloud computer virtual machine is running in the host machine;
[0007] The cloud computer backend server is used to obtain maintenance requirements for the first cloud computer virtual machine, determine first execution information based on the maintenance requirements, and send the first execution information to the cluster server; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among the at least one cloud computer virtual machine;
[0008] The cluster server is configured to determine the operation and maintenance channel information based on the first execution information, and send the first execution information and the operation and maintenance channel information to the host machine; wherein, the operation and maintenance channel information is used to instruct the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine;
[0009] The host machine is used to establish an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, and send the first execution information to the first cloud computer virtual machine through the operation and maintenance channel;
[0010] The first cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information.
[0011] According to one aspect of the embodiments of this application, a method for maintaining a cloud computer virtual machine is provided, the method comprising:
[0012] The cloud computer backend server obtains the maintenance requirements for the first cloud computer virtual machine, determines the first execution information based on the maintenance requirements, and sends the first execution information to the cluster server; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among at least one cloud computer virtual machine running in the host machine;
[0013] Based on the first execution information, the cluster server determines the operation and maintenance channel information and sends the first execution information and the operation and maintenance channel information to the host machine; wherein, the operation and maintenance channel information is used to instruct the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine;
[0014] The host machine establishes an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, and sends the first execution information to the first cloud computer virtual machine through the operation and maintenance channel;
[0015] The first cloud computer virtual machine executes the operation instructions indicated in the first execution information.
[0016] According to one aspect of the embodiments of this application, a method for maintaining a cloud computer virtual machine is provided, the method comprising:
[0017] Obtain maintenance requirements for a first cloud computer virtual machine, and determine first execution information based on the maintenance requirements; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine being maintained among at least one cloud computer virtual machine running in the host machine;
[0018] The first execution information is sent to the cluster server, which triggers the cluster server to determine the operation and maintenance channel information and send the first execution information and the operation and maintenance channel information to the host machine; wherein, the operation and maintenance channel information is used to indicate the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine; the operation and maintenance channel is used by the host machine to send the first execution information to the first cloud computer virtual machine to trigger the first cloud computer virtual machine to execute the operation instruction indicated in the first execution information.
[0019] According to one aspect of the embodiments of this application, a method for maintaining a cloud computer virtual machine is provided, the method comprising:
[0020] The system receives first execution information sent by the cloud computer backend server. The first execution information is determined based on the maintenance requirements for the first cloud computer virtual machine. The first execution information includes operation instructions for maintaining the first cloud computer virtual machine. The first cloud computer virtual machine is a virtual machine that needs to be maintained among at least one cloud computer virtual machine running in the host machine.
[0021] Based on the first execution information, operation and maintenance channel information is determined; wherein, the operation and maintenance channel information is used to indicate the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine;
[0022] The host machine sends the first execution information and the operation and maintenance channel information, wherein the operation and maintenance channel information is used to trigger the host machine to establish the operation and maintenance channel, and the operation and maintenance channel is used by the host machine to send the first execution information to the first cloud computer virtual machine to trigger the first cloud computer virtual machine to execute the operation instructions indicated in the first execution information.
[0023] According to one aspect of the embodiments of this application, a method for maintaining a cloud computer virtual machine is provided, the method comprising:
[0024] The system receives maintenance channel information sent by the cluster server. The maintenance channel information is used to instruct the establishment of an maintenance channel between the host machine and the first cloud computer virtual machine. The maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine. The host machine runs at least one cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among the at least one cloud computer virtual machine.
[0025] Based on the maintenance channel information, establish the maintenance channel between the virtual machine and the first cloud computer.
[0026] The first execution information is sent to the first cloud computer virtual machine through the operation and maintenance channel. The first execution information includes operation instructions for maintaining the first cloud computer virtual machine. The first cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information.
[0027] According to one aspect of the embodiments of this application, a computer device is provided, the computer device including a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-described method for maintaining a cloud computer virtual machine.
[0028] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer program, which is loaded and executed by a processor to implement the above-described method for maintaining a cloud computer virtual machine.
[0029] According to one aspect of the embodiments of this application, a computer program product is provided, the computer program product including a computer program stored in a computer-readable storage medium, and a processor reading from the computer-readable storage medium and executing the computer program to implement the above-described cloud computer virtual machine maintenance method.
[0030] The technical solutions provided in this application have at least the following beneficial effects:
[0031] When the first cloud computer virtual machine needs maintenance, such as fixing anomalies or updating it, the cloud computer backend server can generate and issue maintenance operation instructions (i.e., first execution information) based on the maintenance requirements. The first cloud computer virtual machine then executes these instructions to effectively maintain itself. This avoids the time-consuming problem of issuing new image versions, as required in related technologies. It achieves the technical effect of timely maintenance of the first cloud computer virtual machine (such as timely fixing anomalies or timely updates). Furthermore, compared to the need to transmit new image data in related technologies, this application directly transmits the maintenance operation instructions (such as instructions to fix anomalies or update the first cloud computer virtual machine), thus significantly saving transmission resources.
[0032] Furthermore, the aforementioned first execution information is transmitted through the operation and maintenance channel, which can shield the upper-layer business and is only called or established between the cloud computer backend server, cluster server, host machine, and first cloud computer virtual machine, thereby enabling the operation and maintenance channel to be completely isolated from the upper-layer business. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of a computer system provided in one embodiment of this application;
[0034] Figure 2 This is a schematic diagram of a cloud computer virtual machine maintenance system provided in one embodiment of this application;
[0035] Figure 3 This is a flowchart of system information interaction provided in one embodiment of this application;
[0036] Figure 4 This is a flowchart of system information interaction provided in another embodiment of this application;
[0037] Figure 5 This is a flowchart of system information interaction provided in another embodiment of this application;
[0038] Figure 6 This is a flowchart of system information interaction provided in another embodiment of this application;
[0039] Figure 7 This is a flowchart of a cloud computer virtual machine maintenance method provided in one embodiment of this application;
[0040] Figure 8 This is a structural block diagram of a computer device provided in one embodiment of this application. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0042] Before introducing the technical solutions of this application, some terms involved in this application will be explained. The following related explanations are optional solutions and can be arbitrarily combined with the technical solutions of the embodiments of this application, all of which fall within the protection scope of the embodiments of this application. The embodiments of this application include at least some of the following contents.
[0043] Cloud PCs: Cloud PCs are a comprehensive service solution that includes cloud resources, transmission protocols, and cloud terminals. Using open cloud terminals and transmission protocols, resources such as desktops, applications, and hardware are provided to users in an on-demand, elastically allocated service model. Users can achieve single-machine multi-user access without having to consider building complex IT (Information Technology) systems. Cloud PCs are a new type of IT service, also known as cloud computing services. Cloud PCs are a virtualized computing service based on cloud computing technology, allowing users to remotely access and use computing resources provided in the cloud via a network without relying on local hardware devices.
[0044] Mirroring: Mirroring is a file storage format and a type of redundancy. Data on one disk is copied exactly to another disk. Many files can be created into a single image file, placed on the same disk as programs like Ghost, and then opened by these programs to restore the original files. RAID 1 and RAID 10 utilize mirroring. Common image file formats include ISO, BIN, IMG, TAO, DAO, CIF, and FCD.
[0045] Cloud PC Backend: The backend server that executes the business logic of the cloud PC, such as handling user client login requests, power-on requests, power-off requests, user information authentication, etc., and also acts as an interaction bridge between the client and the physical machines inside the data center.
[0046] Data Center: The physical machines required for cloud computers are deployed in different data centers across the country. Each data center contains two types of machines: one is the physical machine that runs the cloud computer, i.e., the Node node, and the other is the storage server, which is used to store the relevant data of the user's cloud computer (i.e., the running equipment described below).
[0047] Kubernetes (often simply called K8s) is an open-source container orchestration and management platform for automating the deployment, scaling, and management of containerized applications. It provides a rich set of features and tools that make running and managing containerized applications in distributed environments simpler and more reliable.
[0048] Cloud PC Kubernetes cluster server: Processes user commands such as powering on, powering off, and creating cloud PCs issued by the cloud PC backend, and sends the commands to specific Node nodes for execution. For example, upon receiving a power-on event, it selects an idle Node node to start and run the cloud PC.
[0049] QEMU (Quick Emulator) Channels: QEMU channels are a mechanism for communication between a host and a virtual machine. They allow for bidirectional, low-latency communication between the host and the virtual machine for operations such as data transfer, command execution, and event notification. In this application, QEMU channels are used for communication between the host machine (i.e., the Node mentioned above) and the cloud computer virtual machine (also known as a cloud computer) running on the host machine.
[0050] GSE (GameSense Engine) Channel: In a cloud PC virtual machine, the GSE channel refers to the communication and interaction between the virtual machine and SteelSeries devices within the cloud PC platform. In a cloud PC virtual machine, the GSE channel can be used to achieve real-time communication and interaction between the virtual machine and SteelSeries devices. Through the GSE channel, the virtual machine can send real-time game status, events, and commands to the SteelSeries devices to enable game-related interactions such as lighting effects, vibration feedback, and display information. In this application, the GSE channel is used for communication between the host machine and the cloud PC virtual machine running on the host machine.
[0051] Please refer to Figure 1 This illustration shows a schematic diagram of a computer system provided in one embodiment of this application. The computer system may include: a terminal device 10, a cloud computer backend server 20, a cluster server 30, and a host machine 40.
[0052] Terminal device 10 includes, but is not limited to, mobile phones, tablets, smart voice interaction devices, game consoles, wearable devices, multimedia playback devices, PCs (Personal Computers), in-vehicle terminals, smart home appliances, and other electronic devices. In some embodiments, terminal device 10 runs a client corresponding to a cloud computer virtual machine, which can be referred to as a cloud computer client. Through the cloud computer client, users can access and control a remote cloud computer virtual machine on their local device, achieving a user experience similar to that of a local computer. The cloud computer client typically provides a graphical user interface, enabling users to view the screen of the remote virtual machine and send user input (such as keyboard and mouse operations) to the remote cloud computer virtual machine for processing over the network.
[0053] The cloud PC backend server 20, also known as the cloud PC backend, is used to provide backend services for the cloud PC client in the terminal device 10. For example, it handles login requests, power-on requests, power-off requests, and user information authentication for the cloud PC client. The cloud PC backend server 20 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, but it is not limited to these.
[0054] Cluster server 30, also known as cloud computer cluster server or scheduling server, is used to manage and schedule cloud computer resources. For example, cluster server 30 can receive user commands such as power on / off from the cloud computer backend server and schedule these commands to be executed in the cloud computer virtual machine on a specific host machine. Cluster server 30 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms, but it is not limited to these.
[0055] Host machine 40, also known as a Node, is used to run at least one cloud computer virtual machine (also called a cloud computer). This at least one cloud computer virtual machine is created and managed using virtualization technology, and they share the hardware resources of host machine 40, such as CPU (Central Processing Unit), memory, storage, and network interfaces. Host machine 40 is also used to communicate with cluster server 30, receive scheduling instructions, and perform operations such as starting, shutting down, and migrating cloud computers, supporting the stable and efficient operation of the cloud computer service. The cloud computer virtual machine maintenance system proposed in this application may include at least one host machine. Each host machine 40 can create at least one cloud computer virtual machine.
[0056] In some embodiments, the terminal device 10 and the cloud computer backend server 20 can communicate with each other via a network. This network can be a wired network or a wireless network.
[0057] In some embodiments, the cloud computer backend server 20 and the cluster server 30 can communicate with each other via a network. This network can be a wired network or a wireless network.
[0058] In some embodiments, the cluster server 30 and the host machine 40 can communicate with each other via a network. This network can be a wired network or a wireless network.
[0059] In some embodiments, the host machine 40 and the cloud computer virtual machine running on it can communicate with each other through an operation and maintenance channel. This operation and maintenance channel can be the QEMU channel described above, or the GSE channel, or other dedicated channels for information transmission; this application does not limit this to any particular channel.
[0060] In some embodiments, when maintenance of a first cloud computer virtual machine is required, the cloud computer backend server 20 generates an operation instruction (also called an execution instruction) for maintaining the first cloud computer virtual machine based on the maintenance requirements for the first cloud computer virtual machine, and sends the execution instruction to the cluster server 30. The cluster server 30 sends the execution instruction to the host machine 40 corresponding to the first cloud computer virtual machine, and instructs the host machine 40 to establish an operation and maintenance channel with the first cloud computer virtual machine. This operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine. After establishing the operation and maintenance channel with the first cloud computer virtual machine, the host machine 40 transmits the execution instruction through the operation and maintenance channel. After receiving the execution instruction, the first cloud computer virtual machine executes the execution instruction to maintain the first cloud computer virtual machine, such as repairing any existing anomalies. In the above method, when maintenance of the first cloud computer virtual machine is required, the cloud computer backend server can generate and issue an operation instruction (i.e., first execution information) for maintaining the first cloud computer virtual machine based on the maintenance requirements, and the first cloud computer virtual machine executes the operation instruction to effectively maintain itself. This avoids the problem of excessive time consumption caused by the need to issue new image versions in related technologies. This invention achieves the technical effect of enabling timely maintenance of the first cloud computer virtual machine (e.g., timely repair of anomalies in the first cloud computer virtual machine, and timely updates to the first cloud computer virtual machine). Furthermore, compared to related technologies that require the transmission of new image data, this application directly transmits operation instructions for maintaining the first cloud computer virtual machine (e.g., operation instructions for repairing anomalies), thereby significantly saving transmission resources.
[0061] In some embodiments, the cloud computer backend server 20, cluster server 30, and host machine 40 can be implemented as a single computer device, which possesses the functions of all three devices: cloud computer backend server 20, cluster server 30, and host machine 40. Of course, the cloud computer backend server 20, cluster server 30, and host machine 40 can also be implemented as different computer devices. This application does not limit this.
[0062] Please refer to Figure 2This application illustrates a cloud computer virtual machine maintenance system provided in one embodiment of the present application. The system includes: a cloud computer backend server 20, a cluster server 30, and a host machine 40, wherein at least one cloud computer virtual machine is running on the host machine 40.
[0063] The cloud computer backend server 20 is used to obtain maintenance requirements for the first cloud computer virtual machine, determine the first execution information based on the maintenance requirements, and send the first execution information to the cluster server 30; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among at least one cloud computer virtual machine.
[0064] Cluster server 30 is used to determine operation and maintenance channel information based on the first execution information, and send the first execution information and operation and maintenance channel information to host machine 40; wherein, the operation and maintenance channel information is used to instruct the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine.
[0065] Host machine 40 is used to establish an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, and to send the first execution information to the first cloud computer virtual machine through the operation and maintenance channel.
[0066] The first cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information.
[0067] In some embodiments, maintaining the first cloud computer virtual machine refers to repairing, updating, optimizing performance, or performing other necessary operations on the first cloud computer virtual machine to ensure its normal and efficient operation. In some embodiments, the maintenance requirement is used for at least one of the following: repairing anomalies existing in the first cloud computer virtual machine, or updating the first cloud computer virtual machine.
[0068] In some embodiments, anomalies in the First Cloud PC virtual machine may include at least one of the following types: outdated software version, software malfunction, system crash, misconfiguration, insufficient resources, and security issues. Software malfunction can refer to an application malfunction in the First Cloud PC virtual machine, such as application crashes or system services failing to start. System crashes can refer to an anomaly in the First Cloud PC virtual machine's system, such as an outdated operating system version or a blue screen error. Misconfiguration errors can include network configuration errors or file system corruption. Insufficient resources can include insufficient memory or disk space. Security issues can include malware infection, unauthorized access, or expired security certificates.
[0069] In some embodiments, exceptions can include image-related exceptions and non-image-related exceptions. An image refers to the base file used to create a cloud PC virtual machine. The image file may contain all the data and configuration of the operating system, and may also include other software to enable the rapid deployment of a new virtual machine instance. Image-related exceptions refer to exceptions caused by the cloud PC virtual machine's image file, while non-image-related exceptions refer to exceptions not caused by the cloud PC virtual machine's image file.
[0070] Image anomalies can include at least one of the following types: corrupted image file, expired image file, misconfigured image file, inconsistent image file, and infected image file. Corrupted image file indicates that some critical system or application files in the image file are corrupted, causing the virtual machine to fail to start or run normally. Expired image file indicates that an older version of the image file was used, containing known vulnerabilities or incompatible configurations, causing the virtual machine to be unstable or unable to run. Misconfigured image file indicates incorrect system or application configurations in the image file, causing anomalies during virtual machine startup. Inconsistent image file indicates inconsistencies in the image file during transmission or storage, resulting in incomplete or inconsistent file content. Infected image file indicates that the image file is infected with malware or viruses, posing a security risk after the virtual machine starts.
[0071] Non-mirror image anomalies can include at least one of the following types: application anomalies, system service anomalies, network configuration problems, and security problems. Application anomalies indicate that the application fails to start or crashes frequently, potentially preventing users from using the virtual machine normally. System service anomalies indicate that important system services (such as HTTP (Hypertext Transfer Protocol) services) are not running or are unstable, affecting the normal functioning of the virtual machine. Network configuration problems indicate network connection failures or network configuration errors, preventing the cloud computer virtual machine from accessing network resources. Security problems indicate that the cloud computer virtual machine has been attacked by malware or has unauthorized access behavior, potentially leading to data leakage or system damage. The above examples of anomalies for the first cloud computer virtual machine are merely illustrative and are not intended to limit the scope of this application.
[0072] It's understandable that since multiple cloud PC virtual machines are created based on the same image, the image corresponding to each cloud PC virtual machine is completely identical. If the image is faulty (i.e., the image-related fault mentioned above), it means that every single cloud PC virtual machine in the multiple cloud PC virtual machines will simultaneously experience a fault. If the fault is not an image-related fault, due to the differences between the multiple cloud PC virtual machines, only some of the cloud PC virtual machines will experience a fault.
[0073] In some embodiments, updating the first cloud computer virtual machine may include updating the data (such as applications) included in the first cloud computer virtual machine or the first cloud computer virtual machine itself, in order to add, improve and optimize the functionality of the first cloud computer virtual machine.
[0074] The above method can, on the one hand, repair the anomalies existing in the First Cloud Computer virtual machine, and on the other hand, update the First Cloud Computer virtual machine, making the functions of the maintained First Cloud Computer virtual machine more complete and optimized.
[0075] In some embodiments, the business layer detects that the first cloud computer virtual machine needs maintenance and sends the maintenance request for the first cloud computer virtual machine to the cloud computer backend server 20. The cloud computer backend server 20 determines the first cloud computer virtual machine from at least one cloud computer virtual machine. Specifically: (1) When the business layer detects that the first cloud computer virtual machine needs maintenance, it sends the maintenance request to the cloud computer backend server 20. The maintenance request may include at least one of the following: the unique identifier of the first cloud computer virtual machine (such as virtual machine ID), maintenance type, maintenance time, maintenance logs, etc. Among them, the maintenance type may include repairing the anomaly existing in the first cloud computer virtual machine or updating the first cloud computer virtual machine as described above. (2) After receiving the maintenance request, the cloud computer backend server 20 will filter out the first cloud computer virtual machine that needs maintenance from all existing cloud computer virtual machines according to the information in the maintenance request. For example, assuming that the maintenance request is to repair the anomaly existing in the first cloud computer virtual machine, the first cloud computer virtual machine can be determined from multiple cloud computer virtual machines according to the anomaly type. For example, if it is an image anomaly, the cloud computer backend server 20 will take all cloud computer virtual machines created based on the image as the first cloud computer virtual machine. For example, if it is a non-mirror error, the cloud computer backend server 20 will treat the cloud computer virtual machines involved in the error as the first cloud computer virtual machine.
[0076] The operation instructions indicated in the first execution information refer to specific operation instructions based on maintenance needs, used to resolve anomalies in the first cloud computer virtual machine or to update the first cloud computer virtual machine. In some embodiments, after the business layer detects that the first cloud computer virtual machine needs maintenance, it sends the aforementioned maintenance request to the cloud computer backend server 20. The cloud computer backend server 20 determines the operation instructions indicated in the first execution information based on the maintenance request. For example, assuming the maintenance request is to fix an anomaly existing in the first cloud computer virtual machine, if the anomaly is an image anomaly, the generated first execution information may include operation instructions to reload the latest image or roll back to the previous stable version of the image. For example, if the anomaly is a network anomaly, instructions to restart the network service of the first cloud computer virtual machine can be generated. The above are merely examples, and this application does not limit them.
[0077] In some embodiments, the first execution information may be an execution script. This execution script contains the specific steps of each operation instruction, enabling the first cloud computer virtual machine to automatically execute these instructions, thereby completing the required operations.
[0078] In some embodiments, the cloud computer backend server 20 is used to determine scheduling information based on maintenance needs when maintenance of the first cloud computer virtual machine is required, and send the scheduling information to the cluster server 30. After receiving the scheduling information, the cluster server 30 is used to determine maintenance channel information based on first execution information, and send the first execution information and maintenance channel information to the host machine 40. The scheduling information is used to instruct the establishment of a maintenance channel between the host machine and the first cloud computer virtual machine, and the maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine.
[0079] The above method, by scheduling the cluster server through the cloud brain backend server to instruct the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, can make the maintenance requirement detection and scheduling information generation of the cloud computer backend server form a logical closed loop.
[0080] In some embodiments, such as Figure 2 As shown, the system may include at least one data center, each data center including at least one cluster server 30 and at least two host machines 40, each host machine 40 running at least one cloud computer virtual machine. The cloud computer backend server 20 is used to determine the data center requiring maintenance and send first execution information / scheduling information to the cluster server in the data center requiring maintenance. The data center requiring maintenance indicates that one or more cloud computer virtual machines included in that data center need maintenance. It is understood that if there is no first cloud computer virtual machine requiring maintenance in the data center, the cloud computer backend server 20 does not need to send the first execution information / scheduling information to the cluster server 30 in that data center.
[0081] In some embodiments, the scheduling information further includes at least one of the following: the identification information of the host machine corresponding to the first cloud computer virtual machine, and the identification information of the first cloud computer virtual machine. The identification information of the host machine corresponding to the first cloud computer virtual machine refers to a unique identifier of the host machine, such as a host machine ID or host machine name, used to distinguish different host machines; the identification information of the first cloud computer virtual machine refers to a unique identifier of the cloud computer virtual machine, such as a virtual machine ID or virtual machine name, used to distinguish different cloud computer virtual machines.
[0082] In some embodiments, the cluster server 30 is configured to determine, based on the identification information of the host machine corresponding to the first cloud computer virtual machine, the host machine that needs maintenance from among multiple host machines, and send first execution information, maintenance channel information, and the identification information of the first cloud computer virtual machine to the host machine that needs maintenance. The host machine that needs maintenance is used to indicate that one or more cloud computer virtual machines included in the host machine need maintenance. It is understood that if there is no first cloud computer virtual machine that needs maintenance in the host machine, the cluster server 30 does not need to send the first execution information, maintenance channel information, and the identification information of the first cloud computer virtual machine to the host machine. In some embodiments, if the scheduling information only includes the identification information of the host machine corresponding to the first cloud computer virtual machine, it means that each cloud computer virtual machine in the host machine is a first cloud computer virtual machine that needs maintenance. In some embodiments, if the scheduling information only includes the identification information of the first cloud computer virtual machine, the cluster server 30 is configured to determine, based on the identification information of the first cloud computer virtual machine, the host machine corresponding to the first cloud computer virtual machine from among multiple host machines, and send the first execution information, maintenance channel information, and the identification information of the first cloud computer virtual machine to the host machine that needs maintenance.
[0083] In some embodiments, after receiving the identification information corresponding to the first cloud computer virtual machine, the host machine determines the first cloud computer virtual machine that needs maintenance from among multiple cloud computer virtual machines based on the identification information, establishes an operation and maintenance channel with the first cloud computer virtual machine that needs maintenance, and sends first execution information to the first cloud computer virtual machine through the operation and maintenance channel. The first cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information. In some embodiments, when there are multiple first cloud computer virtual machines, the host machine establishes an operation and maintenance channel with each first cloud computer virtual machine. That is, there is a one-to-one correspondence between the host machine and the first cloud computer virtual machines. For cloud computer virtual machines that do not need maintenance, the host machine does not need to establish an operation and maintenance channel with them. In this case, the operation and maintenance channel is created when the first execution information needs to be transmitted between the host machine and the first cloud computer virtual machine. In some embodiments, the operation and maintenance channel can also be created in advance, and the operation and maintenance channel can be opened / activated when the first execution information needs to be transmitted. Specifically, the operation and maintenance channel between the host machine and each cloud computer virtual machine running on it can be established in advance, or the operation and maintenance channel between the host machine and some of the cloud computer virtual machines running on it can be established in advance. For example, if certain cloud computer virtual machines frequently malfunction or require regular maintenance, a maintenance channel can be created in advance. When needed, the created maintenance channel can be activated or opened directly.
[0084] The above method creates an operation and maintenance channel between the host machine and the first cloud computer virtual machine. This operation and maintenance channel is dedicated to transmitting the first execution information. Since this operation and maintenance channel is an independent and dedicated communication channel, separate from the regular business network, it reduces the burden on the business network and improves the efficiency of the transmission of the first execution information.
[0085] Furthermore, by creating maintenance channels only when maintenance operations are required, unnecessary resource waste is avoided. Establishing maintenance channels in advance reduces channel creation time and improves the response speed of maintenance operations.
[0086] like Figure 3 The diagram illustrates a flowchart of system information interaction provided in one embodiment of this application. It may include the following steps S1 to S6.
[0087] Step S1: If the first cloud computer virtual machine needs maintenance, the cloud computer backend server 20 determines the first execution information based on the maintenance requirements for the first cloud computer virtual machine.
[0088] In step S2, the cloud computer backend server 20 sends the first execution information to the cluster server 30. Accordingly, the cluster server 30 receives the first execution information.
[0089] In step S3, the cluster server 30 determines the operation and maintenance channel information based on the first execution information.
[0090] In step S4, the cluster server 30 sends the first execution information and operation and maintenance channel information to the host machine 40. Correspondingly, the host machine 40 receives the first execution information and operation and maintenance channel information.
[0091] In step S5, the host machine 40 establishes an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, and sends the first execution information to the first cloud computer virtual machine.
[0092] Step S6: The first cloud computer virtual machine executes the first execution information. The first cloud computer virtual machine executes the operation instructions indicated in the first execution information.
[0093] For a detailed description of steps S1 to S6 above, please refer to the corresponding content above; this application will not repeat them here.
[0094] In summary, the technical solution provided in this application allows the cloud computer backend server to generate and issue maintenance instructions (i.e., first execution information) for the first cloud computer virtual machine when maintenance is required, such as fixing anomalies or updating the first cloud computer virtual machine. The first cloud computer virtual machine then executes these instructions, effectively maintaining itself. This avoids the time-consuming problem of issuing new image versions in related technologies. It achieves the technical effect of timely maintenance of the first cloud computer virtual machine (e.g., timely fixing anomalies or timely updates). Furthermore, compared to the need to transmit new image data in related technologies, this application directly transmits maintenance instructions for the first cloud computer virtual machine (e.g., instructions to fix anomalies or update the first cloud computer virtual machine), significantly saving transmission resources.
[0095] Furthermore, the aforementioned first execution information is transmitted through the operation and maintenance channel, which can shield the upper-layer business and is only called or established between the cloud computer backend server, cluster server, host machine, and first cloud computer virtual machine, thereby enabling the operation and maintenance channel to be completely isolated from the upper-layer business.
[0096] The following describes the specific implementation method for establishing an operation and maintenance channel between the host machine and the first cloud computer virtual machine.
[0097] In some embodiments, the operation and maintenance channel information includes channel type information, which is used to indicate the type of operation and maintenance channel.
[0098] Cluster server 30 is used to determine channel type information based on the first execution information.
[0099] Host machine 40 is used to establish an operation and maintenance channel with the first cloud computer virtual machine based on the channel type information. The type of the operation and maintenance channel is the type indicated by the channel type information.
[0100] In some embodiments, the channel type information is used to indicate the communication protocol and technology used when establishing an operation and maintenance channel between the host machine and the first cloud computer virtual machine. The cluster server 30 determines the channel type based on the first execution information and sends the channel type information to the host machine 40, thereby ensuring that the host machine can establish the operation and maintenance channel of the correct type according to the system requirements, thus avoiding communication method mismatch or errors.
[0101] In some embodiments, the cluster server 30 is configured to determine channel type information based on the feature information of the first execution information. The feature information includes at least one of the following: complexity information, latency information, and data volume information. The complexity information indicates the complexity of the operation instructions included in the first execution information, the latency information indicates the sensitivity of the first execution information to latency, and the data volume information indicates the data volume of the operation instructions included in the first execution information.
[0102] In some embodiments, a higher complexity of the operation instruction indicates more execution steps. A lower complexity indicates fewer execution steps. In some embodiments, the latency sensitivity of the first execution information refers to the time requirement for the operation instruction to execute the instruction on the first cloud computer virtual machine. A higher latency sensitivity indicates a higher requirement for the operation instruction to execute within a short time; any delay may lead to serious consequences or performance degradation. For example, the first execution information corresponding to a network interruption anomaly is highly sensitive to latency. A lower latency sensitivity indicates a lower requirement for the execution time of the operation instruction, allowing for completion within a relatively long time, with less impact from delays on the operation result. Examples include scheduled maintenance tasks such as "performing backup tasks during off-peak hours" or "updating system patches at night." In some embodiments, the data size of the operation instruction indicates the amount of data required to be transmitted. A larger data size indicates more data to be transmitted, potentially requiring more resources and time to complete the transmission operation. A smaller data size indicates less data to be transmitted, typically requiring fewer resources and time.
[0103] In some embodiments, the operation and maintenance channel type may include type 1 and type 2. It is assumed that type 1 is suitable for transmitting operation instructions with higher complexity, and type 2 is suitable for transmitting lightweight operation instructions with lower complexity. If the operation instruction indicated in the first execution information has higher complexity, the operation and maintenance channel type is determined to be type 1; if the operation instruction indicated in the first execution information has lower complexity, the operation and maintenance channel type is determined to be type 2. Similarly, it is assumed that type 1 has lower transmission latency, and type 2 has higher transmission latency. If the first execution information is highly sensitive to latency, the operation and maintenance channel type is determined to be type 1; if the first execution information is less sensitive to latency, the operation and maintenance channel type is determined to be type 2. Similarly, it is assumed that type 1 is suitable for operation instructions with larger data volumes, and type 2 is suitable for operation instructions with smaller data volumes. If the operation instruction indicated in the first execution information has a larger data volume, the operation and maintenance channel type is determined to be type 1; if the operation instruction indicated in the first execution information has a smaller data volume, the operation and maintenance channel type is determined to be type 2.
[0104] In some embodiments, the type of operation and maintenance channel may include a QEMU channel and a GSE channel. The QEMU channel consumes cloud computer virtual machine resources and is suitable for transmitting lightweight, simple execution instructions with low transmission latency; the GSE channel is suitable for transmitting large amounts of complex execution information with relatively high transmission latency. For example, if the operation instructions indicated in the first execution information are highly complex, the type of operation and maintenance channel is determined to be QEMU; if the operation instructions indicated in the first execution information are less complex, the type of operation and maintenance channel is determined to be GSE. For example, if the first execution information is highly sensitive to latency, the type of operation and maintenance channel is determined to be QEMU; if the first execution information is less sensitive to latency, the type of operation and maintenance channel is determined to be GSE. For example, if the amount of operation instruction data indicated in the first execution information is large, the type of operation and maintenance channel is determined to be GSE; if the amount of operation instruction data indicated in the first execution information is small, the type of operation and maintenance channel is determined to be QEMU.
[0105] The above method allows the cluster server to flexibly select the appropriate channel type for transmitting the first execution information based on its characteristic information, thereby improving the transmission efficiency of the first execution information. Furthermore, it ensures that maintenance needs with high latency sensitivity can be addressed promptly.
[0106] In some embodiments, the cloud computer backend server 20 is also used to store first execution information and identification information of the first cloud computer virtual machine in the database.
[0107] The first cloud computer virtual machine is also used to determine the execution result information after executing the operation instructions indicated in the first execution information, and send the execution result information to the cloud computer backend server; wherein, the execution result information is used to indicate the result of executing the operation instructions indicated in the first execution information.
[0108] The cloud computer backend server 20 is also used to delete the first execution information and identification information stored in the database based on the execution result information, provided that the first cloud computer virtual machine has been successfully maintained.
[0109] The cloud computer backend server 20 is also used to determine second execution information based on the execution result information, in the case where the first cloud computer virtual machine is not successfully maintained, based on the abnormal information indicated in the execution result information. The abnormal information is related to the reason for the failure to maintain the first cloud computer virtual machine. The second execution information includes the operation instructions for maintaining the first cloud computer virtual machine.
[0110] The first cloud computer virtual machine is also used to execute the operation instructions indicated in the second execution information.
[0111] In some embodiments, first execution information and identification information of the first cloud computer virtual machine are stored in a database. Upon successful maintenance of the first cloud computer virtual machine—that is, upon successful repair of any anomalies within the first cloud computer virtual machine or successful update of the first cloud computer virtual machine—the corresponding first execution information and identification information are deleted. This facilitates centralized management of the first cloud computer virtual machines that still require maintenance by the cloud computer backend server.
[0112] In some embodiments, the second execution information may be the same as or different from the first execution information, and this application does not limit this. In some embodiments, the second execution information is determined based on the type of reason for the unsuccessful maintenance of the first cloud computer virtual machine. The types of reasons for the unsuccessful maintenance of the first cloud computer virtual machine include: related to the first execution information and related to the first cloud computer virtual machine itself. Wherein, related to the first execution information means that the reason for the unsuccessful maintenance of the first cloud computer virtual machine lies in the first execution information. This may include at least one of the following: erroneous operation instructions in the first execution information, unprepared dependent resources, permission issues, and environment compatibility issues. Wherein, erroneous operation instructions in the first execution information indicate that the operation instructions are incorrect or incomplete, causing the first cloud computer virtual machine to fail to execute correctly. For example, incorrect parameter settings for a command cause the command to fail to run. Unprepared dependent resources indicate that resources (such as files, databases, network services, etc.) dependent on the first execution information are not ready or unavailable, causing the operation to fail. For example, when attempting to start an application, the required configuration file is not uploaded to the first cloud computer virtual machine. Permission issues indicate that the operation instructions in the first execution information require specific permissions, but the first cloud computer virtual machine does not have these permissions, causing the operation to fail. For example, a command might require root (superuser) privileges, but the current user only has regular user privileges. Environment compatibility issues indicate that the operation instructions in the first execution message are incompatible with the virtual machine's current runtime environment, causing the operation to fail. For example, a command might have compatibility issues in certain operating system versions. In this case, a new second execution message needs to be generated based on the specific cause of the problem; that is, the second execution message will differ from the first. For example, if the operation instruction is incorrect, a new, correct operation instruction is generated. If dependent resources are not ready, a new operation instruction is generated to ensure the resources are ready. If a permission issue causes failure, a new operation instruction is generated to adjust the permission settings. If an environment compatibility issue causes failure, a new operation instruction compatible with the current environment is generated.
[0113] "Related to the first cloud computer virtual machine itself" means the failure to maintain the first cloud computer virtual machine is due to the virtual machine itself. This can include at least one of the following: hardware failure, software crash, insufficient resources, or temporary network problems. Hardware failure indicates a hardware failure in the host machine or storage device where the first cloud computer virtual machine resides, causing the virtual machine to malfunction. Examples include hard drive damage or memory failure. Software crash indicates a crash in the application within the first cloud computer virtual machine, preventing the virtual machine from starting or running. For example, an application exits abnormally. Insufficient resources indicate insufficient resources (such as CPU, memory, and storage space) required by the first cloud computer virtual machine, preventing the operation from completing. For example, insufficient memory prevents the application from starting. Insufficient resources indicate an error in the configuration file of the first cloud computer virtual machine, preventing the virtual machine from starting or running normally. For example, incorrect network configuration or corrupted application configuration files. Temporary network problems indicate a temporary network interruption or excessive latency during operation, causing the operation to fail. For example, a temporary network connection interruption. In this case, there is no need to generate new operation instructions; simply reissue the first execution information. That is, the second execution information is consistent with the first execution information.
[0114] like Figure 4 The diagram illustrates a flowchart of system information interaction provided in another embodiment of this application. It may include the following steps S7 to S10. That is, in Figure 3 Step S6 is followed by steps S7 to S10:
[0115] Step S7: After executing the operation instructions indicated in the first execution information, the first cloud computer virtual machine determines the execution result information.
[0116] In step S8, the first cloud computer virtual machine sends the execution result information to the cloud computer backend server 20. Correspondingly, the cloud computer backend server receives the execution result information.
[0117] Step S9: If the first cloud computer virtual machine is not successfully maintained, determine the second execution information based on the abnormal information indicated in the execution result information.
[0118] In step S10, the cloud computer backend server 20 instructs the second execution information to the first cloud computer virtual machine. Accordingly, the first cloud computer virtual machine receives and executes the second execution information.
[0119] In some embodiments, step S10 above, namely, the cloud computer backend server 20 instructing the first cloud computer virtual machine to provide the second execution information, includes: the cloud computer backend server 20 sending the second execution information to the cluster server 30; and then the cluster server 30 forwarding the second execution information to the first cloud computer virtual machine. For detailed steps, please refer to the corresponding description above.
[0120] The above method allows the cloud computer backend server 20 to flexibly determine the second execution information based on the type of reason for the unsuccessful maintenance of the first cloud computer virtual machine. If the reason is related to the first execution information, new and different second execution information needs to be generated to solve the specific problem. If the reason is related to the first cloud computer virtual machine itself, the first execution information can be reissued. This mechanism makes the maintenance of the first cloud computer virtual machine more efficient and flexible, improving the reliability of system maintenance.
[0121] The following describes the implementation method for maintaining a large number of cloud computer virtual machines. Specifically, it describes the maintenance methods for cloud computer virtual machines when the number of virtual machines is large.
[0122] In some embodiments, the cloud computer backend server 20 is further configured to determine a target cloud computer virtual machine from the first cloud computer virtual machines when the number of the first cloud computer virtual machines is greater than or equal to a first threshold, wherein the number of the target cloud computer virtual machines is less than the number of the first cloud computer virtual machines.
[0123] The target cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information within the first time unit.
[0124] The other virtual machines in the first cloud computer virtual machine, excluding the target cloud computer virtual machine, are used to execute the operation instructions indicated in the first execution information within the second time unit, provided that the target cloud computer virtual machine is successfully maintained. The second time unit is the time unit following the first time unit.
[0125] In some embodiments, when the image is abnormal or needs to be updated, it may cause a large number of cloud computer virtual machines to malfunction. In this case, anomaly repair or update can be performed on a subset of the target first cloud computer virtual machines first. After confirming the accuracy of the first execution information, anomaly repair or update can then be performed on the other virtual machines in the first cloud computer virtual machine group, excluding the target cloud computer virtual machine.
[0126] In some embodiments, the target cloud computer virtual machine can be any virtual machine in the first cloud computer virtual machine, and this application does not limit it.
[0127] In some embodiments, the target cloud computer virtual machine executes the operation instructions indicated in the first execution information within a first time unit. The cloud computer backend server 20 is further configured to determine second execution information if the first cloud computer virtual machine is not successfully maintained. The target cloud computer virtual machine is configured to execute the operation instructions indicated in the second execution information within a second time unit. Other virtual machines in the first cloud computer virtual machine besides the target cloud computer virtual machine are configured to execute the operation instructions indicated in the second execution information within a third time unit, which is a time unit following the second time unit, if the target cloud computer virtual machine is successfully maintained.
[0128] The above method involves first maintaining a subset of the first cloud computer virtual machines. After confirming the accuracy of the initial execution information, maintenance is then performed on the other cloud computer virtual machines besides the target one. This effectively reduces the risk of maintenance operations and avoids the instability caused by large-scale maintenance at once.
[0129] In some embodiments, such as Figure 2 As shown, the system includes at least one data center, and each data center includes at least one cluster server and at least two host machines.
[0130] The cloud computer backend server 20 is used to determine the target cloud computer virtual machine for each data center from the first cloud computer virtual machines in each data center. For example, 10% of the first cloud computer virtual machines in each data center can be determined as the target cloud computer virtual machines.
[0131] The method described above verifies the accuracy of the initial execution information by selecting target cloud computer virtual machines from multiple data centers. This covers different hardware environments, network environments, and server configurations, ensuring that the verification results are more representative. If only one or a few data centers are selected for verification, problems with the hardware, network, or other environments of that data center may lead to inaccurate verification results. Selecting target virtual machines from multiple data centers can diversify the risks during the verification process and avoid inaccurate verification results due to a single data center failure.
[0132] In some embodiments, the method further includes the following before the cloud computer backend server sends the first execution information:
[0133] The cloud computer backend server 20 is also used to send trigger information to the cloud computer client, which is the client corresponding to the first cloud computer virtual machine. The trigger information is used to determine at least one of the following: the online status of the first cloud computer virtual machine, and whether the first cloud computer virtual machine needs to be maintained.
[0134] The cloud PC client is used to send response information to the cloud PC backend server to trigger information.
[0135] The cloud computer backend server 20 is also used to send first execution information based on response information, in the case that the first cloud computer virtual machine is online, or in the case that it is determined that the first cloud computer virtual machine has not been successfully maintained.
[0136] In some embodiments, when the first cloud computer virtual machine requires maintenance, the cloud computer backend server 20 sends trigger information to the cloud computer client. When the trigger information is used to determine the online status of the first cloud computer virtual machine, the response information can be a heartbeat status reported by the client. The heartbeat status is used to indicate the current status of the first cloud computer virtual machine, including online and offline. In some embodiments, when the trigger information is used to determine whether the first cloud computer virtual machine needs maintenance, the response information can be either "maintenance of the first cloud computer virtual machine is required" or "maintenance of the first cloud computer virtual machine is not required."
[0137] like Figure 5 The diagram illustrates a flowchart of system information interaction provided in another embodiment of this application. It may include the following steps S1 to S4.
[0138] In step S1, the cloud computer backend server 20 sends trigger information to the cloud computer client. Correspondingly, the cloud computer client receives the trigger information.
[0139] In step S2, the cloud PC client sends a response message to the cloud PC backend server 20. Correspondingly, the cloud PC backend server 20 receives this response message.
[0140] In step S3, the cloud computer backend server 20 determines the online status of the first cloud computer virtual machine and whether it needs to be maintained based on the response information.
[0141] Step S4: If the first cloud computer virtual machine is online, or if it is determined that the first cloud computer virtual machine needs to be maintained, send the first execution information to the cluster server 30.
[0142] For a detailed description of steps S1 to S4 above, please refer to the corresponding content above; this application will not repeat them here.
[0143] The above method ensures that no invalid operations (i.e., no first execution information is sent) are performed when the first cloud computer virtual machine is offline (i.e., not online) by monitoring its online status. By determining whether maintenance of the first cloud computer virtual machine is necessary, maintenance can be performed according to user needs, ensuring the necessity of maintenance operations.
[0144] Please refer to Figure 6 The diagram illustrates a system information interaction provided in another embodiment of this application. It may include the following steps 1 to 13.
[0145] Step 1: The business layer detects that the first cloud computer virtual machine needs maintenance and sends the maintenance request for the first cloud computer virtual machine to the cloud computer backend server 20. Accordingly, the cloud computer backend server receives the maintenance request and determines the first execution information based on the maintenance request.
[0146] Step 2: The cloud computer backend server 20 writes the first execution information and the identification information of the first cloud computer virtual machine into the database.
[0147] Step 3: The cloud computer backend server 20 sends a trigger message to the cloud computer client to determine the online status of the first cloud computer virtual machine or whether the first cloud computer virtual machine needs to be maintained.
[0148] Step 4: The cloud PC client sends response information to the cloud PC backend server 20, such as reporting heartbeat status, to indicate the current online status.
[0149] Step 5: The cloud PC backend server 20 sends first execution information / scheduling information to the cluster server 30. The scheduling information is used to instruct the establishment of an operation and maintenance channel between the host machine 40 and the first cloud PC virtual machine. Accordingly, the cluster server 30 receives the first execution information / scheduling information.
[0150] Step 6: The cluster server 30 schedules the first execution information to the host machine 40 to which the first cloud computer virtual machine belongs. In some embodiments, the cluster server 30 also sends channel type information to the host machine 40 to indicate the channel type of the operation and maintenance channel established between the host machine 40 and the first cloud computer virtual machine.
[0151] Step 7: The host machine 40 establishes an operation and maintenance channel with the first cloud computer virtual machine and sends the first execution information through the operation and maintenance channel.
[0152] Step 8: The first cloud computer virtual machine executes the operation instructions indicated in the first execution information; determines the execution result information, and reports it to the cloud computer backend server 20.
[0153] Step 9: The cloud PC client reports its heartbeat status to the cloud PC backend server 20 to indicate that the first cloud PC virtual machine is currently online. If no heartbeat status is received from the cloud PC client, the cloud PC backend server 20 determines that the first cloud PC virtual machine has not been successfully maintained.
[0154] Step 10: The cloud computer backend server 20 determines whether the first cloud computer virtual machine has been successfully maintained based on the reported results (i.e., the reported execution result information). If the maintenance of the first cloud computer virtual machine is successful, the first execution information and the identifier information of the first cloud computer virtual machine that has been successfully maintained are deleted from the database.
[0155] Step 11: The cloud computer backend server 20 sends the trigger information again to the cloud computer client corresponding to the first cloud computer virtual machine that failed to complete maintenance.
[0156] Step 12: The cloud computer client corresponding to the first cloud computer virtual machine that failed to complete maintenance sends a response message to the cloud computer backend server 20.
[0157] Step 13: Repeat steps 5 to 10 above until all first cloud computer virtual machines have been successfully maintained. That is, repeat steps 5 to 10 above until there are no first cloud computer virtual machines in the database that need maintenance.
[0158] Please refer to Figure 7 The diagram illustrates a flowchart of a cloud computer virtual machine maintenance method according to an embodiment of this application. The method may include the following steps 710-740.
[0159] Step 710: The cloud computer backend server obtains the maintenance requirements for the first cloud computer virtual machine, determines the first execution information based on the maintenance requirements, and sends the first execution information to the cluster server; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among at least one cloud computer virtual machine running on the host machine.
[0160] Step 720: Based on the first execution information, the cluster server determines the operation and maintenance channel information and sends the first execution information and the operation and maintenance channel information to the host machine; wherein, the operation and maintenance channel information is used to instruct the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine.
[0161] Step 730: The host machine establishes an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, and sends the first execution information to the first cloud computer virtual machine through the operation and maintenance channel.
[0162] Step 740: The first cloud computer virtual machine executes the operation instructions indicated in the first execution information.
[0163] In some embodiments, the operation and maintenance channel information includes channel type information, which is used to indicate the type of the operation and maintenance channel; the cluster server determines the operation and maintenance channel information based on the first execution information, including: the cluster server determines the channel type information according to the first execution information; the host establishes an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, and sends the first execution information to the first cloud computer virtual machine through the operation and maintenance channel, including: the host establishes an operation and maintenance channel with the first cloud computer virtual machine according to the channel type information, and the type of the operation and maintenance channel is the type indicated by the channel type information.
[0164] In some embodiments, the cluster server determines the channel type information based on the first execution information by: the cluster server determining the channel type information based on the feature information of the first execution information, wherein the feature information includes at least one of the following: complexity information, latency information, and data volume information; wherein the complexity information is used to indicate the complexity of the operation instructions included in the first execution information, the latency information is used to indicate the sensitivity of the first execution information to latency, and the data volume information is used to indicate the data volume of the operation instructions included in the first execution information.
[0165] In some embodiments, the method further includes: the cloud computer backend server storing first execution information and identification information of the first cloud computer virtual machine in a database; after the first cloud computer virtual machine executes the operation instructions indicated in the first execution information, it determines execution result information and sends the execution result information to the cloud computer backend server; wherein, the execution result information is used to indicate the result of executing the operation instructions indicated in the first execution information; based on the execution result information, if the first cloud computer virtual machine is successfully maintained, the cloud computer backend server deletes the first execution information and identification information stored in the database; based on the execution result information, if the first cloud computer virtual machine is not successfully maintained, the cloud computer backend server determines second execution information based on the abnormal information indicated in the execution result information, wherein the abnormal information is related to the reason for the failure to maintain the first cloud computer virtual machine, and the second execution information includes the operation instructions for maintaining the first cloud computer virtual machine; the first cloud computer virtual machine executes the operation instructions indicated in the second execution information.
[0166] In some embodiments, maintenance requirements are used for at least one of the following: fixing anomalies in the first cloud computer virtual machine, or updating the first cloud computer virtual machine.
[0167] In some embodiments, the method further includes: when the number of first cloud computer virtual machines is greater than or equal to a first threshold, the cloud computer backend server determines a target cloud computer virtual machine from the first cloud computer virtual machines, wherein the number of target cloud computer virtual machines is less than the number of first cloud computer virtual machines; the target cloud computer virtual machine executes the operation instructions indicated in the first execution information within a first time unit; and other virtual machines in the first cloud computer virtual machines, excluding the target cloud computer virtual machine, execute the operation instructions indicated in the first execution information within a second time unit, wherein the second time unit is a time unit following the first time unit.
[0168] In some embodiments, the cloud computer backend server determines the target cloud computer virtual machine from the first cloud computer virtual machine by: the cloud computer backend server determining the target cloud computer virtual machine corresponding to each data center from the first cloud computer virtual machines in each data center, wherein each data center includes at least one cluster server and at least two host machines.
[0169] In some embodiments, the method further includes: the cloud computer backend server sending trigger information to the cloud computer client, the cloud computer client being the client corresponding to the first cloud computer virtual machine, the trigger information being used to determine at least one of the following: the online status of the first cloud computer virtual machine, and whether the first cloud computer virtual machine needs to be maintained; the cloud computer client sending response information of the trigger information to the cloud computer backend server; and the cloud computer backend server, based on the response information, sending first execution information if the first cloud computer virtual machine is online or if it is determined that the first cloud computer virtual machine needs to be maintained.
[0170] The following is a flowchart illustrating a cloud computer virtual machine maintenance method according to another embodiment of this application. The method is executed by a cloud computer backend server. The method may include the following steps 810-820.
[0171] Step 810: Obtain the maintenance requirements for the first cloud computer virtual machine, and determine the first execution information based on the maintenance requirements; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among at least one cloud computer virtual machine running in the host machine.
[0172] Step 820: Send first execution information to the cluster server. The first execution information is used to trigger the cluster server to determine the operation and maintenance channel information and send the first execution information and operation and maintenance channel information to the host machine. The operation and maintenance channel information is used to indicate the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine. The operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine. The operation and maintenance channel is used by the host machine to send the first execution information to the first cloud computer virtual machine to trigger the first cloud computer virtual machine to execute the operation instructions indicated in the first execution information.
[0173] The following is a flowchart of a cloud computer virtual machine maintenance method according to another embodiment of this application. The main body executing this method is a cluster server. The method may include the following steps 910 to 930.
[0174] Step 910: Receive first execution information sent by the cloud computer backend server. The first execution information is determined based on the maintenance requirements for the first cloud computer virtual machine. The first execution information includes operation instructions for maintaining the first cloud computer virtual machine. The first cloud computer virtual machine is at least one virtual machine that needs to be maintained among the cloud computer virtual machines running on the host machine.
[0175] Step 920: Based on the first execution information, determine the operation and maintenance channel information; wherein, the operation and maintenance channel information is used to indicate the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine.
[0176] Step 930: Send first execution information and operation and maintenance channel information to the host machine. The operation and maintenance channel information is used to trigger the host machine to establish an operation and maintenance channel. The operation and maintenance channel is used by the host machine to send the first execution information to the first cloud computer virtual machine to trigger the first cloud computer virtual machine to execute the operation instructions indicated in the first execution information.
[0177] The following is a flowchart of a cloud computer virtual machine maintenance method according to another embodiment of this application. The host machine is the subject executing this method. The method may include the following steps 1010 to 1030.
[0178] Step 1010: Receive maintenance channel information sent by the cluster server. The maintenance channel information is used to instruct the establishment of an maintenance channel between the host machine and the first cloud computer virtual machine. The maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine. The host machine runs at least one cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among at least one cloud computer virtual machine.
[0179] Step 1020: Based on the operation and maintenance channel information, establish an operation and maintenance channel between the virtual machine and the first cloud computer.
[0180] Step 1030: Send first execution information to the first cloud computer virtual machine through the operation and maintenance channel. The first execution information includes operation instructions for maintaining the first cloud computer virtual machine. The first cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information.
[0181] For details of the above method embodiments, please refer to the corresponding description in the system embodiments section; this application will not repeat them here.
[0182] The above embodiments only describe the technical solution provided in this application from the perspective of the interaction between the cloud computer client, the cloud computer backend server, the cluster server, the host machine, and the first cloud computer virtual machine. The steps executed by the cloud computer client described above can be implemented independently as a maintenance method for the cloud computer virtual machine on the cloud computer client side. The steps executed by the cloud computer backend server described above can be implemented independently as a maintenance method for the cloud computer virtual machine on the cloud computer backend server side. The steps executed by the cluster server described above can be implemented independently as a maintenance method for the cloud computer virtual machine on the cluster server side. The steps executed by the host machine described above can be implemented independently as a maintenance method for the cloud computer virtual machine on the host machine side. The steps executed by the first cloud computer virtual machine described above can be implemented independently as a maintenance method for the cloud computer virtual machine on the first cloud computer virtual machine side.
[0183] Please refer to Figure 8 The diagram illustrates a structural block diagram of a computer device 800 provided in one embodiment of this application.
[0184] Typically, computer device 800 includes a processor 810 and a memory 820.
[0185] Processor 810 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 810 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 810 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 810 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 810 may also include an AI processor for handling computational operations related to machine learning.
[0186] The memory 820 may include one or more computer-readable storage media, which may be non-transitory. The memory 820 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 820 is used to store a computer program configured to be executed by one or more processors to implement the aforementioned maintenance method for cloud computer virtual machines on the cloud computer backend server side, or the maintenance method for cloud computer virtual machines on the cluster server side, or the maintenance method for cloud computer virtual machines on the host machine side.
[0187] Those skilled in the art will understand that Figure 8 The structure shown does not constitute a limitation on the computer device 800, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0188] In some embodiments, a computer-readable storage medium is also provided, wherein a computer program is stored in the storage medium, the computer program being loaded and executed by a processor to implement the above-described method for maintaining a cloud computer virtual machine on the cloud computer backend server side, or on the cloud computer virtual machine on the cluster server side, or on the cloud computer virtual machine on the host machine side.
[0189] Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives), or optical disc, etc. The random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
[0190] In some embodiments, a computer program product is also provided, the computer program product including a computer program stored in a computer-readable storage medium, the processor reading from the computer-readable storage medium and executing the computer program to implement the above-described method for maintaining a cloud computer virtual machine on the cloud computer backend server side, or a method for maintaining a cloud computer virtual machine on the cluster server side, or a method for maintaining a cloud computer virtual machine on the host machine side.
[0191] It should be understood that "multiple" as used herein refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.
[0192] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A cloud computer virtual machine maintenance system, characterized by, The system includes: a cloud computer backend server, a cluster server, and a host machine, wherein at least one cloud computer virtual machine runs on the host machine; The cloud computer backend server is used to obtain maintenance requirements for the first cloud computer virtual machine, determine first execution information based on the maintenance requirements, and send the first execution information to the cluster server; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among the at least one cloud computer virtual machine; The cluster server is configured to determine the operation and maintenance channel information based on the first execution information, and send the first execution information and the operation and maintenance channel information to the host machine; wherein, the operation and maintenance channel information is used to instruct the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine; The host machine is used to establish an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, and send the first execution information to the first cloud computer virtual machine through the operation and maintenance channel; The first cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information.
2. The system of claim 1, wherein, The operation and maintenance channel information includes channel type information, which indicates the type of the operation and maintenance channel. The cluster server is used to determine the channel type information based on the first execution information; The host machine is used to establish the operation and maintenance channel with the first cloud computer virtual machine according to the channel type information, wherein the type of the operation and maintenance channel is the type indicated by the channel type information.
3. The system according to claim 2, characterized in that, The cluster server is configured to determine the channel type information based on the feature information of the first execution information, wherein the feature information includes at least one of the following: complexity information, latency information, and data volume information; The complexity information is used to indicate the complexity of the operation instructions included in the first execution information, the latency information is used to indicate the sensitivity of the first execution information to latency, and the data volume information is used to indicate the data volume of the operation instructions included in the first execution information.
4. The system according to any one of claims 1 to 3, characterized in that, The cloud computer backend server is also used to store the first execution information and the identification information of the first cloud computer virtual machine in the database; The first cloud computer virtual machine is further configured to determine execution result information and send the execution result information to the cloud computer backend server after executing the operation instruction indicated in the first execution information; wherein, the execution result information is used to indicate the result of executing the operation instruction indicated in the first execution information; The cloud computer backend server is also used to delete the first execution information and the identification information stored in the database based on the execution result information, provided that the first cloud computer virtual machine has been successfully maintained; The cloud computer backend server is further configured to, based on the execution result information, determine second execution information in the event that the first cloud computer virtual machine has not been successfully maintained, based on the abnormal information indicated in the execution result information, wherein the abnormal information is related to the reason for the failure to maintain the first cloud computer virtual machine, and the second execution information includes operation instructions for maintaining the first cloud computer virtual machine; The first cloud computer virtual machine is also used to execute the operation instructions indicated in the second execution information.
5. The system according to any one of claims 1 to 4, characterized in that, The maintenance requirement is for at least one of the following: fixing anomalies existing in the first cloud computer virtual machine, or updating the first cloud computer virtual machine.
6. The system according to any one of claims 1 to 5, characterized in that, The cloud computer backend server is also used to determine a target cloud computer virtual machine from the first cloud computer virtual machines when the number of the first cloud computer virtual machines is greater than or equal to a first threshold, wherein the number of the target cloud computer virtual machines is less than the number of the first cloud computer virtual machines. The target cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information within the first time unit; The other virtual machines in the first cloud computer virtual machine, excluding the target cloud computer virtual machine, are used to execute the operation instructions indicated in the first execution information within a second time unit when the target cloud computer virtual machine is successfully maintained. The second time unit is a time unit following the first time unit.
7. The system of claim 6, wherein, The system includes at least one computer room, and each computer room includes at least one cluster server and at least two host machines; The cloud computer backend server is used to determine the target cloud computer virtual machine corresponding to each computer room from the first cloud computer virtual machine in each computer room.
8. The system according to any one of claims 1 to 7, characterized in that, The cloud computer backend server is also used to send trigger information to the cloud computer client, the cloud computer client being the client corresponding to the first cloud computer virtual machine, and the trigger information is used to determine at least one of the following: the online status of the first cloud computer virtual machine, and whether the first cloud computer virtual machine needs to be maintained; The cloud computer client is used to send response information of the trigger information to the cloud computer backend server; The cloud computer backend server is also used to send the first execution information based on the response information, when the first cloud computer virtual machine is online or when it is determined that the first cloud computer virtual machine needs to be maintained.
9. A method of maintaining a cloud computer virtual machine, the method comprising: The method includes: The cloud computer backend server obtains the maintenance requirements for the first cloud computer virtual machine, determines the first execution information based on the maintenance requirements, and sends the first execution information to the cluster server; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among at least one cloud computer virtual machine running in the host machine; Based on the first execution information, the cluster server determines the operation and maintenance channel information and sends the first execution information and the operation and maintenance channel information to the host machine; wherein, the operation and maintenance channel information is used to instruct the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine; The host machine establishes an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, and sends the first execution information to the first cloud computer virtual machine through the operation and maintenance channel; The first cloud computer virtual machine executes the operation instructions indicated in the first execution information.
10. The method according to claim 9, characterized in that, The operation and maintenance channel information includes channel type information, which indicates the type of the operation and maintenance channel. Based on the first execution information, the cluster server determines the operation and maintenance channel information, including: The cluster server determines the channel type information based on the first execution information; The host machine establishes an operation and maintenance channel with the first cloud computer virtual machine based on the operation and maintenance channel information, including: The host machine establishes the operation and maintenance channel with the first cloud computer virtual machine according to the channel type information, and the type of the operation and maintenance channel is the type indicated by the channel type information.
11. The method according to claim 10, characterized in that, The cluster server determines the channel type information based on the first execution information, including: The cluster server determines the channel type information based on the feature information of the first execution information, wherein the feature information includes at least one of the following: complexity information, latency information, and data volume information; The complexity information is used to indicate the complexity of the operation instructions included in the first execution information, the latency information is used to indicate the sensitivity of the first execution information to latency, and the data volume information is used to indicate the data volume of the operation instructions included in the first execution information.
12. The method according to any one of claims 9 to 11, characterized in that, The method further includes: The cloud computer backend server stores the first execution information and the identification information of the first cloud computer virtual machine in the database; After executing the operation instruction indicated in the first execution information, the first cloud computer virtual machine determines the execution result information and sends the execution result information to the cloud computer backend server; wherein, the execution result information is used to indicate the result of executing the operation instruction indicated in the first execution information; Based on the execution result information, the cloud computer backend server deletes the first execution information and the identification information stored in the database if the first cloud computer virtual machine is successfully maintained. Based on the execution result information, if the first cloud computer virtual machine is not successfully maintained, the cloud computer backend server determines second execution information based on the abnormal information indicated in the execution result information. The abnormal information is related to the reason for the failure to maintain the first cloud computer virtual machine. The second execution information includes operation instructions for maintaining the first cloud computer virtual machine. The first cloud computer virtual machine executes the operation instructions indicated in the second execution information.
13. The method according to any one of claims 9 to 12, characterized in that, The method further includes: When the number of the first cloud computer virtual machines is greater than or equal to a first threshold, the cloud computer backend server determines a target cloud computer virtual machine from the first cloud computer virtual machines, and the number of the target cloud computer virtual machines is less than the number of the first cloud computer virtual machines. The target cloud computer virtual machine executes the operation instructions indicated in the first execution information within the first time unit; If the other virtual machines in the first cloud computer virtual machine, excluding the target cloud computer virtual machine, successfully maintain the first cloud computer virtual machine, they execute the operation instructions indicated in the first execution information within the second time unit, where the second time unit is the time unit following the first time unit.
14. The method according to any one of claims 9 to 13, characterized in that, The method further includes: The cloud computer backend server sends trigger information to the cloud computer client, which is the client corresponding to the first cloud computer virtual machine. The trigger information is used to determine at least one of the following: the online status of the first cloud computer virtual machine, and whether the first cloud computer virtual machine needs to be maintained. The cloud computer client sends a response message to the cloud computer backend server regarding the trigger information. Based on the response information, the cloud computer backend server sends the first execution information when the first cloud computer virtual machine is online or when it is determined that the first cloud computer virtual machine needs to be maintained.
15. A method for maintaining a cloud computer virtual machine, characterized in that, The method includes: Obtain maintenance requirements for a first cloud computer virtual machine, and determine first execution information based on the maintenance requirements; wherein, the first execution information includes operation instructions for maintaining the first cloud computer virtual machine, and the first cloud computer virtual machine is a virtual machine that needs to be maintained among at least one cloud computer virtual machine running in the host machine; The first execution information is sent to the cluster server, which triggers the cluster server to determine the operation and maintenance channel information and send the first execution information and the operation and maintenance channel information to the host machine; wherein, the operation and maintenance channel information is used to indicate the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine; the operation and maintenance channel is used by the host machine to send the first execution information to the first cloud computer virtual machine to trigger the first cloud computer virtual machine to execute the operation instruction indicated in the first execution information.
16. A method for maintaining a cloud computer virtual machine, characterized in that, The method includes: The system receives first execution information sent by the cloud computer backend server. The first execution information is determined based on the maintenance requirements for the first cloud computer virtual machine. The first execution information includes operation instructions for maintaining the first cloud computer virtual machine. The first cloud computer virtual machine is a virtual machine that needs to be maintained among at least one cloud computer virtual machine running in the host machine. Based on the first execution information, operation and maintenance channel information is determined; wherein, the operation and maintenance channel information is used to indicate the establishment of an operation and maintenance channel between the host machine and the first cloud computer virtual machine, and the operation and maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine; The host machine sends the first execution information and the operation and maintenance channel information, wherein the operation and maintenance channel information is used to trigger the host machine to establish the operation and maintenance channel, and the operation and maintenance channel is used by the host machine to send the first execution information to the first cloud computer virtual machine to trigger the first cloud computer virtual machine to execute the operation instructions indicated in the first execution information.
17. A method for maintaining a cloud computer virtual machine, characterized in that, The method includes: The system receives maintenance channel information sent by the cluster server. The maintenance channel information is used to instruct the establishment of an maintenance channel between the host machine and the first cloud computer virtual machine. The maintenance channel is used for bidirectional communication between the host machine and the first cloud computer virtual machine. The host machine runs at least one cloud computer virtual machine, and the first cloud computer virtual machine is the virtual machine that needs to be maintained among the at least one cloud computer virtual machine. Based on the maintenance channel information, establish the maintenance channel between the virtual machine and the first cloud computer. The first execution information is sent to the first cloud computer virtual machine through the operation and maintenance channel. The first execution information includes operation instructions for maintaining the first cloud computer virtual machine. The first cloud computer virtual machine is used to execute the operation instructions indicated in the first execution information.
18. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the method as claimed in any one of claims 15 to 17.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the method as described in any one of claims 15 to 17.
20. A computer program product, characterized in that, The computer program product includes a computer program that is loaded and executed by a processor to implement the method as described in any one of claims 15 to 17.