CN112596757A - Method and device for upgrading agent component of cloud desktop virtual machine and storage medium - Google Patents

Method and device for upgrading agent component of cloud desktop virtual machine and storage medium Download PDF

Info

Publication number
CN112596757A
CN112596757A CN202011350344.7A CN202011350344A CN112596757A CN 112596757 A CN112596757 A CN 112596757A CN 202011350344 A CN202011350344 A CN 202011350344A CN 112596757 A CN112596757 A CN 112596757A
Authority
CN
China
Prior art keywords
virtual machine
upgrading
agent component
machine agent
management platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202011350344.7A
Other languages
Chinese (zh)
Inventor
李志强
余泽喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN202011350344.7A priority Critical patent/CN112596757A/en
Publication of CN112596757A publication Critical patent/CN112596757A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The disclosure provides a method and a device for upgrading an agent component of a cloud desktop virtual machine and a storage medium, which are used for solving the technical problems in the aspects of resource consumption, upgrading efficiency and the like of virtual machine upgrading. The upgrading method and the upgrading device have the advantages that the upgrading package of the virtual machine agent assembly is packaged into the image file and uploaded to the virtualization management platform, the virtualization management platform carries the image file of the upgrading package for the virtual machine needing to upgrade the virtualization agent assembly, and finally the upgrading of the virtual machine agent assembly is completed by the upgrading program of the virtual machine assembly based on the carried upgrading package image. By the method, the occupation of network bandwidth can be reduced, the normal office work of staff is not influenced, the time required for hanging the disk is very short, the storage space of a virtual machine is not occupied, the upgrading process cannot be perceived by a user, and the rapid and accurate upgrading is achieved.

Description

Method and device for upgrading agent component of cloud desktop virtual machine and storage medium
Technical Field
The disclosure relates to the technical field of cloud computing, and in particular relates to a method and a device for upgrading a cloud desktop virtual machine agent component and a storage medium.
Background
With social development and technological progress, network transmission is no longer a bottleneck, application scenarios of cloud desktop remote access solutions are more and more extensive, and the cloud desktop remote access solutions relate to various industries such as governments, enterprises, education, medical treatment and the like.
The cloud Desktop remote access solution is based on a Virtual Desktop Infrastructure (VDI), a Desktop is remotely hosted to a server, the server virtualizes a plurality of Virtual Machines (VMs) through one image to provide remote access for users, various operating systems such as windows, linux and the like are supported, the users can access to office processing related services through a PC, a mobile terminal and the like at any place and any time through a network, data transmission adopts an encryption mode to guarantee safety, an administrator controls the use of remote access users by configuring various safety strategies, and performs access control, auditing and log recording on the remote access users, so that the visual management of access cloud Desktop resources is realized.
The virtual machine Agent component (the Agent service program running in the virtual machine) in the cloud desktop virtual machine mainly provides processing of events such as virtual machine mouse and keyboard events, virtual machine resolution modification, virtual machine policy processing, clipboard copy function, single sign-on, virtual machine restart/shutdown and the like, and redirection-related data forwarding, and plays a very important role.
The overall architecture of the cloud desktop is shown in fig. 1, and mainly includes a cloud desktop virtualization management platform, infrastructure components, a cloud desktop virtual machine resource pool (VM), a cloud desktop management platform, a cloud desktop APP (client software for accessing a virtual machine), a cloud desktop network protocol, such as Google Remote Process Call (GRPC), and the like.
In a scenario where cloud desktops are used in large quantities, in order to ensure that new characteristics, optimization and security policies can be updated in real time and enable users to obtain better experience, an administrator needs to upgrade a virtual machine agent component in a virtual machine. For the upgrade of a plurality of virtual machine agent components, if the upgrade is downloaded in a traditional mode, network bandwidth is occupied inevitably, so that the normal office business of staff is influenced, meanwhile, the downloading time is long definitely, and the complete success of the download of an upgrade package cannot be ensured completely.
The existing virtual machine agent component upgrading mainly adopts two modes of BT or HTTP downloading an upgrading packet for installation and upgrading, when the virtual machine agent component needs upgrading, an administrator pushes upgrading information to the upgrading component in the virtual machine from a console, the upgrading component opens a specified port through BT or HTTP to download the upgrading packet, and installation and upgrading are executed after the downloading is completed.
The upgrading mode of downloading the upgrading packet of the virtual machine proxy component through BT or HTTP has the following defects:
(1) is unsafe: BT download requires firewall development of a specified port number, such as BT service port number 6969, which must be opened, otherwise it cannot be upgraded by downloading, and therefore there is a safety hazard.
(2) The resource consumption is large: a great deal of network bandwidth is occupied in the BT and HTTP downloading and upgrading process, and especially in batch upgrading, the processing of network services is influenced. In a batch upgrade environment, when multiple virtual machines simultaneously initiate HTTP requests, network bandwidth congestion and network resource exhaustion may occur. Because the virtual machine Agent component Agent is provided with installation packages of some driving programs, the upgrade package of the virtual machine Agent component Agent is relatively large, BT and HTTP download both occupy the terminal disk space, and the requirement on the virtual machine space is high.
(3) The efficiency is low: both BT and HTTP downloads have download failures due to network disconnection, and thus need to be upgraded again, and maintainability is poor.
Disclosure of Invention
In view of this, the present disclosure provides a method, an apparatus, and a storage medium for upgrading a cloud desktop virtual machine proxy component, which are used to solve technical problems in aspects of resource consumption and upgrading efficiency of virtual machine upgrading.
Based on an embodiment of the present disclosure, the method for upgrading the cloud desktop virtual machine agent component provided by the present disclosure includes:
the virtualization management platform receives the upgrade package mirror image of the virtual machine agent component;
the virtualization management platform receives an upgrading strategy of a virtual machine agent component;
the virtualization management platform is used for mounting a virtual machine agent component upgrading package mirror image for a virtual machine agent component to be upgraded;
and the virtual machine agent component starts a virtual machine component upgrading program, and the virtual machine component upgrading program uses the mounted virtual machine agent component upgrading package image to execute the upgrading of the virtual machine agent component.
Further, the method for the virtualization management platform to mount the virtual machine agent component upgrade package image for the virtual machine agent component to be upgraded includes:
sending an upgrade request message to the virtual machine agent component by the virtualization management platform through a remote procedure call protocol according to the upgrade strategy;
after the virtual machine agent component replies the upgrading request message of the virtual management platform, the virtual management platform carries out batch mounting of the virtual machine agent component upgrading package images for the virtual machine agent component to be upgraded, and after the mounting is successful, the virtual management platform sends an upgrading instruction to the virtual machine agent component so as to start an upgrading task.
Further, the method for the virtualization management platform to mount the virtual machine agent component upgrade package image for the virtual machine agent component to be upgraded includes:
the virtual machine agent component reports the version number of the virtual machine agent component to the virtualization management platform through a remote procedure call protocol heartbeat package, the virtualization management platform judges whether upgrading is needed or not according to the version number of the virtualization management platform and the version number reported by the virtual machine agent component, when the version number of the virtualization management platform is larger than the version number reported by the virtual machine agent component, the virtualization management platform loads an upgrade package mirror image of the virtual machine agent component for the virtual machine, and after the loading is successful, the virtualization management platform sends an upgrade instruction to the virtual machine agent component so as to start an upgrade task.
Further, the method for the virtual machine agent component to start the virtual machine component upgrading program, and the virtual machine component upgrading program to use the mounted virtual machine agent component upgrading package image to execute the upgrading of the virtual machine agent component includes:
the virtual machine agent component upgrades the virtual machine component upgrading program through the virtual machine agent component upgrading package mirror image;
and the virtual machine component upgrading program upgrades the virtual machine agent components based on the content in the virtual machine agent component upgrading package mirror image.
Furthermore, the upgrading of the virtual machine agent component comprises a virtual machine component upgrading program and related back-end components, front-end components and virtual machine graphics processor driven upgrading related to the virtual machine agent component; the virtual machine agent component is also responsible for reporting the upgrading state and the upgrading result of the virtual machine agent component to the virtualization management platform.
Based on this disclosed embodiment, this disclosure still provides a cloud desktop virtual machine agent subassembly upgrading device, and the device includes:
the virtual management platform is used for receiving the virtual machine agent component upgrade package mirror image, receiving a virtual machine agent component upgrade strategy and mounting the virtual machine agent component upgrade package mirror image for the virtual machine agent component to be upgraded;
the virtual machine agent component is used for starting a virtual machine component upgrading program;
and the virtual machine component upgrading program is used for executing the upgrading of the virtual machine agent component by using the mounted virtual machine agent component upgrading package mirror image.
Further, the virtualization management platform is further configured to send an upgrade request message to the virtual machine agent component through a remote procedure call protocol according to an upgrade policy; the virtualization management platform is further used for carrying out batch mounting of virtual machine agent component upgrade package mirror images for the virtual machine agent components to be upgraded after receiving a virtualization management platform upgrade request response of the virtual machine agent components, and after the mounting is successful, the virtualization management platform sends an upgrade instruction to the virtual machine agent components so as to start an upgrade task.
Further, the virtual machine agent component reports the version number of the virtual machine agent component to the virtualization management platform through a remote procedure call protocol heartbeat packet; the virtualization management platform judges whether upgrading is needed or not according to the version number of the virtualization management platform and the version number reported by the virtual machine agent assembly, when the version number of the virtualization management platform is larger than the version number reported by the virtual machine agent assembly, the virtualization management platform loads the virtual machine agent assembly upgrading package mirror image for the virtual machine, and after the loading is successful, the virtualization management platform sends an upgrading instruction to the virtual machine agent assembly so as to start an upgrading task.
Further, the virtual machine agent component is also used for upgrading the virtual machine component upgrading program through the virtual machine agent component upgrading package image; and the virtual machine component upgrading program upgrades the virtual machine agent components based on the content in the virtual machine agent component upgrading package mirror image.
The upgrading method and the upgrading device have the advantages that the upgrading package of the virtual machine agent assembly is packaged into the image file and uploaded to the virtualization management platform, the virtualization management platform carries the image file of the upgrading package for the virtual machine needing to upgrade the virtualization agent assembly, and finally the upgrading of the virtual machine agent assembly is completed by the upgrading program of the virtual machine assembly based on the carried upgrading package image. By the method, the occupation of network bandwidth can be reduced, the normal office work of staff is not influenced, the time required for hanging the disk is very short, the storage space of a virtual machine is not occupied, the upgrading process cannot be perceived by a user, and the rapid and accurate upgrading is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present disclosure or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present disclosure.
FIG. 1 is a schematic diagram of a general architecture of a cloud desktop;
fig. 2 is a flowchart illustrating steps of a method for upgrading a cloud desktop virtual machine agent component according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an agent component upgrading apparatus for a cloud desktop virtual machine according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device for implementing an agent component upgrading method for a cloud desktop virtual machine according to an embodiment of the present disclosure.
Detailed Description
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present disclosure. As used in the embodiments of the present disclosure, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The term "and/or" as used in this disclosure is meant to encompass any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of embodiments of the present disclosure. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
In a cloud desktop application environment, a cloud desktop virtual machine is provided for a customer to use in a virtual desktop resource pool mode, when an agent component in the cloud desktop virtual machine has new characteristics or needs to be upgraded in an optimized mode, an administrator checks the state of the cloud desktop virtual machine and the version of the agent component through the virtual desktop resource pool in a cloud desktop virtualization management platform, and therefore whether an agent component upgrade package of the cloud desktop virtual machine needs to be issued or not is determined.
Fig. 2 is a flowchart illustrating steps of a method for upgrading a cloud desktop virtual machine agent component according to an embodiment of the present disclosure, where the method includes:
step 201, a virtualization management platform receives an upgrade package mirror image of a virtual machine agent component;
in an embodiment of the present disclosure, an administrator may check a version number of an agent component of a cloud desktop virtual machine (virtual machine for short) through a virtual desktop resource pool of a cloud desktop virtualization management platform (virtualization management platform for short), and determine which virtual machine agent components need to be upgraded according to the version number, if there are virtual machine agent components that need to be upgraded, the administrator may upload a packaged virtual machine agent component upgrade package image file, such as an image file in an ISO format, to the virtualization management platform through a management page of the virtualization management platform, and the virtualization management platform stores the upgrade package image file locally after receiving the upgrade package image file.
202, receiving an upgrading strategy of a virtual machine agent component by a virtualization management platform;
after the upgrade package image file is uploaded, an administrator may configure an upgrade policy for the upgrade of the agent component through the virtualization management platform, for example, may configure the upgrade at a specified time point or immediately upgrade.
Step 203, when the task to be upgraded starts, the virtualization management platform mounts the virtual machine agent component upgrade package mirror image for the virtual machine agent component to be upgraded;
after the virtualization management platform formulates the upgrade strategy, the upgrade strategy can be issued to the virtual machine agent component, or the upgrade strategy can be executed through an upgrade task on the virtualization management platform. According to different strategy execution modes, the virtual machine agent component can actively initiate an upgrading task to the virtualization management platform, and the virtualization management platform can also send an upgrading request message to the virtual machine agent component to trigger the upgrading task of the virtual machine agent component.
And step 204, starting the virtual machine component upgrading program by the virtual machine agent component, and using the mounted virtual machine agent component upgrading package image to execute the upgrading of the virtual machine agent component by the virtual machine component upgrading program.
In an embodiment of the present disclosure, a virtualization management platform sends an upgrade request message to a virtual machine agent component through a remote procedure call protocol (e.g., a GRPC network protocol) according to an upgrade policy, after the virtual machine agent component replies to the upgrade request message of the virtualization management platform, the virtualization management platform performs batch mounting of an upgrade package mirror image of the virtual machine agent component for the virtual machine agent component to be upgraded, after the mounting is successful, the virtualization management platform sends an upgrade instruction to the virtual machine agent component to start an upgrade task, and the virtual machine agent component performs upgrade by enumerating and querying a virtual machine component upgrade program in the mount mirror image.
In another embodiment of the present disclosure, the virtual machine agent component reports its version number to the virtualization management platform through a remote procedure call protocol (e.g., GRPC network protocol) heartbeat package, the virtualization management platform determines whether upgrading is needed according to its version number and the version number reported by the virtual machine agent component, when the version number of the virtualization management platform is greater than the version number reported by the virtual machine agent component, the virtualization management platform loads the upgrade package mirror image of the virtual machine agent component for the virtual machine, after the loading is successful, the virtualization management platform sends an upgrade instruction to the virtual machine agent component to start the upgrade task, after the virtual machine agent component receives the upgrade instruction of the virtualization management platform, the virtual machine agent component upgrades by enumerating the upgrade program in the query load mirror image, and reports the upgrade process state and the upgrade result to the virtualization management platform through the remote procedure call protocol, and the virtualization management platform displays the upgrading process and the upgrading result and records the upgrading history.
In an embodiment of the present disclosure, a virtual machine agent component starts a virtual machine component upgrade program, and a method for executing, by the virtual machine component upgrade program, upgrade of the virtual machine agent component using a mounted virtual machine agent component upgrade package image is:
step 204a, the virtual machine agent component upgrades the virtual machine component upgrading program through the virtual machine agent component upgrading package mirror image;
the virtual machine agent component firstly acquires the latest virtual machine component upgrading program from the mirror image mounting position of the upgrading package and upgrades the local virtual machine component upgrading program, and then the virtual machine component upgrading program finishes the upgrading of the virtual machine agent component.
And step 204b, the virtual machine component upgrading program upgrades the virtual machine agent components based on the content in the virtual machine agent component upgrading package mirror image.
In an embodiment of the present disclosure, the upgrading of the virtual machine agent component may include upgrading both the virtual machine component upgrading program and the virtual machine agent component. Upgrades to virtual machine proxy components may involve related back-end components, front-end components, and virtual machine Graphics Processor (GPU) driven upgrades. The virtual machine component upgrading program is used for completing upgrading tasks of all components and drivers involved in virtual machine agent component upgrading, and is also responsible for reporting the upgrading state and the upgrading result of the virtual machine agent component to the virtualization management platform.
The upgrading program of the virtual machine component can be upgraded in an incremental or full mode, the whole upgrading process only needs the mounted image of the upgrading package of the virtual machine agent component, any file does not need to be downloaded, the upgrading is carried out in the background, the user can really realize the perception-free upgrading, the upgrading process and the upgrading result can be notified to the virtualization management platform through the network, the virtualization management platform records the upgrading log and the upgrading history, and the use of the user is not influenced in the whole upgrading process.
The upgrading method and the upgrading device have the advantages that the upgrading package of the virtual machine agent assembly is packaged into the image file and uploaded to the virtualization management platform, the virtualization management platform carries the image file of the upgrading package for the virtual machine needing to upgrade the virtualization agent assembly, and finally the upgrading of the virtual machine agent assembly is completed by the upgrading program of the virtual machine assembly based on the carried upgrading package image. By the method, the occupation of network bandwidth can be reduced, the normal office work of staff is not influenced, the time required for hanging the disk is very short, the storage space of a virtual machine is not occupied, the upgrading process cannot be perceived by a user, and the rapid and accurate upgrading is achieved.
It should be recognized that embodiments of the present disclosure can be realized and implemented by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The method may be implemented in a computer program using standard programming techniques, including a non-transitory computer readable storage medium configured with the computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Further, operations of processes described by the present disclosure may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described in this disclosure (or variations and/or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) executing collectively on one or more processors, by hardware, or combinations thereof. The computer program includes a plurality of instructions executable by one or more processors.
Further, the method may be implemented in any type of computing platform operatively connected to a suitable interface, including but not limited to a personal computer, mini computer, mainframe, workstation, networked or distributed computing environment, separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, and the like. Aspects of the disclosure may be embodied in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optically read and/or write storage medium, RAM, ROM, or the like, such that it may be read by a programmable computer, which when read by the storage medium or device, is operative to configure and operate the computer to perform the procedures described herein. Further, the machine-readable code, or portions thereof, may be transmitted over a wired or wireless network. The invention described in this disclosure includes these and other different types of non-transitory computer-readable storage media when such media include instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. The disclosure also includes the computer itself when programmed according to the methods and techniques described in this disclosure.
Fig. 3 is a schematic structural diagram of an agent component upgrading apparatus for a cloud desktop virtual machine according to an embodiment of the present disclosure. The apparatus 300 comprises: virtualization management platform 310, virtual machine agent component 320, virtual machine component upgrade program 330.
The virtualization management platform 310 is configured to receive a virtual machine agent component upgrade package image, receive a virtual machine agent component upgrade policy, and mount the virtual machine agent component upgrade package image for the virtual machine agent component 320 to be upgraded;
the virtual machine agent component 320 is used to start the virtual machine component upgrade program 330;
the virtual machine component upgrade program 330 is used to perform the upgrade of the virtual machine agent component 320 using the mounted virtual machine agent component upgrade package image.
In an embodiment of the present disclosure, the virtualization management platform 310 is further configured to send an upgrade request message to the virtual machine agent component 320 through a remote procedure call protocol according to the upgrade policy; after receiving the response of the upgrade request of the virtualization management platform of the virtual machine agent component 320, the virtualization management platform 310 mounts the upgrade package mirror images of the virtual machine agent components to be upgraded in batch, and after the virtual machine agent components are successfully mounted, the virtualization management platform 310 sends an upgrade instruction to the virtual machine agent component 320 to start the upgrade task.
In an embodiment of the present disclosure, the virtual machine agent component 320 reports its version number to the virtualization management platform 310 through a remote procedure call protocol (e.g., GRPC network protocol) heartbeat package, the virtualization management platform 310 determines whether upgrading is required according to its version number and the version number reported by the virtual machine agent component 320, when the version number of the virtualization management platform 310 is greater than the version number reported by the virtual machine agent component 320, the virtualization management platform 310 loads a virtual machine agent component upgrade package image for the virtual machine, after the loading is successful, the virtualization management platform 310 sends an upgrade instruction to the virtual machine agent component 320 to start an upgrade task, after the virtual machine agent component 320 receives the upgrade instruction of the virtual management platform 310, the virtual machine agent component 320 upgrades by enumerating the upgrade program 330 in the query mount image, and reports the upgrade process status and the upgrade result to the virtualization management platform through the remote procedure call protocol, and the virtualization management platform displays the upgrading process and the upgrading result and records the upgrading history.
Preferably, the virtual machine agent component 320 is further configured to upgrade the virtual machine component upgrade program 330 through the virtual machine agent component upgrade package image, and the virtual machine component upgrade program 330 performs the upgrade of the virtual machine agent component 320 based on the content in the virtual machine agent component upgrade package image.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device 400 includes: a processor 410 such as a Central Processing Unit (CPU), an internal bus 420, a network interface 440, and a computer-readable storage medium 430. Wherein the processor 410 and the computer-readable storage medium 430 can communicate with each other through an internal bus 420. The computer readable storage medium 430 may store therein a computer program provided by the present disclosure for implementing the above-mentioned virtual machine agent component upgrading method, and when the computer program is executed by the processor 410, the functions of the steps of the method provided by the present disclosure can be realized.
The machine-readable storage medium may include Random Access Memory (RAM) and may also include Non-Volatile Memory (NVM), such as at least one disk Memory. Additionally, the machine-readable storage medium 1202 may also be at least one memory device located remotely from the aforementioned processor. The Processor may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), etc.; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
The equipment provided by the embodiment of the disclosure and the method provided by the embodiment of the disclosure have the same technical concept and the same beneficial effects as the method adopted, operated or realized by the equipment.
The above description is only an example of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (10)

1. A cloud desktop virtual machine agent component upgrading method is characterized by comprising the following steps:
the virtualization management platform receives the upgrade package mirror image of the virtual machine agent component;
the virtualization management platform receives an upgrading strategy of a virtual machine agent component;
the virtualization management platform is used for mounting a virtual machine agent component upgrading package mirror image for a virtual machine agent component to be upgraded;
and the virtual machine agent component starts a virtual machine component upgrading program, and the virtual machine component upgrading program uses the mounted virtual machine agent component upgrading package image to execute the upgrading of the virtual machine agent component.
2. The method of claim 1, wherein the method for the virtualization management platform to mount the virtual machine agent component upgrade package image for the virtual machine agent component to be upgraded comprises:
sending an upgrade request message to the virtual machine agent component by the virtualization management platform through a remote procedure call protocol according to the upgrade strategy;
after the virtual machine agent component replies the upgrading request message of the virtual management platform, the virtual management platform carries out batch mounting of the virtual machine agent component upgrading package images for the virtual machine agent component to be upgraded, and after the mounting is successful, the virtual management platform sends an upgrading instruction to the virtual machine agent component so as to start an upgrading task.
3. The method of claim 1, wherein the method for the virtualization management platform to mount the virtual machine agent component upgrade package image for the virtual machine agent component to be upgraded comprises:
the virtual machine agent component reports the version number of the virtual machine agent component to the virtualization management platform through a remote procedure call protocol heartbeat package, the virtualization management platform judges whether upgrading is needed or not according to the version number of the virtualization management platform and the version number reported by the virtual machine agent component, when the version number of the virtualization management platform is larger than the version number reported by the virtual machine agent component, the virtualization management platform loads an upgrade package mirror image of the virtual machine agent component for the virtual machine, and after the loading is successful, the virtualization management platform sends an upgrade instruction to the virtual machine agent component so as to start an upgrade task.
4. The method of claim 1, wherein the virtual machine agent component starts a virtual machine component upgrade program, and the method for performing the upgrade of the virtual machine agent component by the virtual machine component upgrade program using the mounted virtual machine agent component upgrade package image comprises:
the virtual machine agent component upgrades the virtual machine component upgrading program through the virtual machine agent component upgrading package mirror image;
and the virtual machine component upgrading program upgrades the virtual machine agent components based on the content in the virtual machine agent component upgrading package mirror image.
5. The method of claim 1,
the upgrading of the virtual machine agent component comprises a virtual machine component upgrading program, and the upgrading of the related back end component, front end component and virtual machine graphic processor drive related to the virtual machine agent component;
the virtual machine agent component is also responsible for reporting the upgrading state and the upgrading result of the virtual machine agent component to the virtualization management platform.
6. An agent component upgrading device for a cloud desktop virtual machine, the device comprising:
the virtual management platform is used for receiving the virtual machine agent component upgrade package mirror image, receiving a virtual machine agent component upgrade strategy and mounting the virtual machine agent component upgrade package mirror image for the virtual machine agent component to be upgraded;
the virtual machine agent component is used for starting a virtual machine component upgrading program;
and the virtual machine component upgrading program is used for executing the upgrading of the virtual machine agent component by using the mounted virtual machine agent component upgrading package mirror image.
7. The apparatus of claim 6,
the virtualization management platform is also used for sending an upgrading request message to the virtual machine agent component through a remote procedure call protocol according to the upgrading strategy;
the virtualization management platform is further used for carrying out batch mounting of virtual machine agent component upgrade package mirror images for the virtual machine agent components to be upgraded after receiving a virtualization management platform upgrade request response of the virtual machine agent components, and after the mounting is successful, the virtualization management platform sends an upgrade instruction to the virtual machine agent components so as to start an upgrade task.
8. The apparatus of claim 6,
the virtual machine agent component reports the version number of the virtual machine agent component to a virtualization management platform through a remote procedure call protocol heartbeat packet;
the virtualization management platform judges whether upgrading is needed or not according to the version number of the virtualization management platform and the version number reported by the virtual machine agent assembly, when the version number of the virtualization management platform is larger than the version number reported by the virtual machine agent assembly, the virtualization management platform loads the virtual machine agent assembly upgrading package mirror image for the virtual machine, and after the loading is successful, the virtualization management platform sends an upgrading instruction to the virtual machine agent assembly so as to start an upgrading task.
9. The apparatus of claim 6,
the virtual machine agent component is also used for upgrading the virtual machine component upgrading program through the virtual machine agent component upgrading package mirror image;
and the virtual machine component upgrading program upgrades the virtual machine agent components based on the content in the virtual machine agent component upgrading package mirror image.
10. A storage medium on which a computer program is stored, which computer program, when being executed by a processor, carries out the method steps of one of claims 1 to 5.
CN202011350344.7A 2020-11-26 2020-11-26 Method and device for upgrading agent component of cloud desktop virtual machine and storage medium Withdrawn CN112596757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011350344.7A CN112596757A (en) 2020-11-26 2020-11-26 Method and device for upgrading agent component of cloud desktop virtual machine and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011350344.7A CN112596757A (en) 2020-11-26 2020-11-26 Method and device for upgrading agent component of cloud desktop virtual machine and storage medium

Publications (1)

Publication Number Publication Date
CN112596757A true CN112596757A (en) 2021-04-02

Family

ID=75184562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011350344.7A Withdrawn CN112596757A (en) 2020-11-26 2020-11-26 Method and device for upgrading agent component of cloud desktop virtual machine and storage medium

Country Status (1)

Country Link
CN (1) CN112596757A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254051A (en) * 2021-07-12 2021-08-13 浙江华网俊业科技有限公司 Multi-terminal point-to-point pushing method
CN113595802A (en) * 2021-08-09 2021-11-02 山石网科通信技术股份有限公司 Upgrading method and device of distributed firewall
CN113934443A (en) * 2021-10-11 2022-01-14 西安万像电子科技有限公司 Software upgrading system
CN116339781A (en) * 2023-03-29 2023-06-27 安超云软件有限公司 Upgrading method and device for internal software of virtual machine, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150185A (en) * 2013-03-15 2013-06-12 汉柏科技有限公司 Method for automatic upgrading of virtual machine Agent
US20140109089A1 (en) * 2012-10-12 2014-04-17 Inventec Corporation System to rebuild difference virtual hard disk for updating operation system and method thereof
CN104102527A (en) * 2014-07-10 2014-10-15 国云科技股份有限公司 Method for updating software of virtual machine
CN110806911A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Cloud desktop management and control method, device and system
CN111061537A (en) * 2019-11-13 2020-04-24 苏州浪潮智能科技有限公司 Method, system and device for updating Tools of virtual machine and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140109089A1 (en) * 2012-10-12 2014-04-17 Inventec Corporation System to rebuild difference virtual hard disk for updating operation system and method thereof
CN103150185A (en) * 2013-03-15 2013-06-12 汉柏科技有限公司 Method for automatic upgrading of virtual machine Agent
CN104102527A (en) * 2014-07-10 2014-10-15 国云科技股份有限公司 Method for updating software of virtual machine
CN110806911A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Cloud desktop management and control method, device and system
CN111061537A (en) * 2019-11-13 2020-04-24 苏州浪潮智能科技有限公司 Method, system and device for updating Tools of virtual machine and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡晓亮: "基于Kubernetes的容器云平台设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254051A (en) * 2021-07-12 2021-08-13 浙江华网俊业科技有限公司 Multi-terminal point-to-point pushing method
CN113595802A (en) * 2021-08-09 2021-11-02 山石网科通信技术股份有限公司 Upgrading method and device of distributed firewall
CN113934443A (en) * 2021-10-11 2022-01-14 西安万像电子科技有限公司 Software upgrading system
CN116339781A (en) * 2023-03-29 2023-06-27 安超云软件有限公司 Upgrading method and device for internal software of virtual machine, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11622010B2 (en) Virtualizing device management services on a multi-session platform
CN112596757A (en) Method and device for upgrading agent component of cloud desktop virtual machine and storage medium
JP6363796B2 (en) Dynamic code deployment and versioning
US20180039507A1 (en) System and method for management of a virtual machine environment
US10976981B2 (en) Remote desktop exporting
US7823023B2 (en) Test framework for testing an application
US8713582B2 (en) Providing policy-based operating system services in an operating system on a computing system
CN110192182B (en) Dynamic and dedicated virtualized graphics processing
US20110078333A1 (en) Synchronization of server-side cookies with client-side cookies
KR20170110647A (en) Security protocols for low latency execution of program code
KR102056960B1 (en) Updating software components through online stores
US20130159376A1 (en) Systems and methods for a computing resource broker agent
WO2015038241A1 (en) Methods, systems, and computer readable mediums for updating components in a converged infrastructure system
CN110908753B (en) Intelligent fusion cloud desktop server, client and system
US10776236B1 (en) Transferrable containerized applications for remote-access client-server environments
CN109725950B (en) Method, device and storage medium for realizing single-instance operation of client
US9195518B1 (en) System and method for communicating production virtual machine access events to a service appliance in a virtualized environment
US10002007B2 (en) Operating system (OS) independent device drivers
CN116010740A (en) Data file updating method and device of browser, electronic equipment and storage medium
US9191445B2 (en) Systems and methods for managing emulation sessions
CN115562807A (en) Method and system for mounting dynamic equipment for android container in kubernets environment
CN114662102A (en) File processing method and device and storage medium
CN109634721B (en) Method and related device for starting communication between virtual machine and host
CN105094896B (en) Client terminal start-up method, apparatus and system on virtual platform
CN114035864A (en) Interface processing method, interface processing device, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210402

WW01 Invention patent application withdrawn after publication