Method for updating software of virtual machine

A software update, virtual machine technology, applied in software deployment, software simulation/interpretation/simulation, electrical components, etc., to achieve the effect of high efficiency, wide range of use, and accurate update process

Inactive Publication Date: 2014-10-15
G CLOUD TECH
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The technical problem solved by the present invention is to provide a virtual ...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for updating software of virtual machine
  • Method for updating software of virtual machine
  • Method for updating software of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] As shown in the figure, creating a virtual machine, installing an old version of software on the virtual machine, and obtaining an ISO image file are all routine operations, and details will not be described here. In the following, the present invention implements a virtual machine serial port monitoring program in python language, and uses a batch script to realize version comparison and software silent installation under a windows virtual machine as an example to illustrate the realization of a virtual machine software update method.

[0037] First checkout the old and new source code.

[0038] Then implement a serial port monitor program in the virtual machine, start running as a service process in the virtual machine and wait for the serial port command from the host machine, the code is as follows:

[0039]

[0040]

[0041] The above defines a listening function, using the "while1" infinite loop to call recv_msg(port) to listen to the specified port port.

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the field of technologies for updating software, in particular to a method for updating software of a virtual machine. The method includes steps of 1, virtualizing an optical disc driver and a serial port when the virtual machine is created; 2, acquiring a version number of installed software; 3, placing the software and the version number into an ISO (international standards organization) mirror file after software in new versions is released; 4, copying the ISO mirror file onto a host machine and mounting the ISO mirror file into the optical disc driver of the virtual machine; 5, transmitting commands to the serial port of the virtual machine from the host machine, acquiring software versions and comparing the software versions to each other; 6, executing silent installation on a software installation program in the ISO mirror file if the software version in the ISO mirror file is new, otherwise omitting installation if the software version in the ISO mirror file is not new. The method has the advantages that a manual mode for updating the software of the virtual machine can be replaced by the method, and the method can be applied to updating the software of the virtual machine.

Description

technical field [0001] The invention relates to the technical field of software update, in particular to a virtual machine software update method. Background technique [0002] After the virtual machine on the cloud platform is running, it is generally necessary to maintain the software on it, especially some virtual machines on the cloud platform need to install function enhancement software; for example, Hyper-V virtual machines need to install Hyper- V Integration Services, and some software that needs to be installed for virtual machine support and monitoring. When an update is required, generally it can only be installed manually one by one. The steps are generally as follows: [0003] 1. Maintenance personnel obtain the software installation program through the network or mount the installation CD or ISO image file; [0004] 2. The maintenance personnel judge whether the software needs to be updated by comparing the version information of the software; [0005] 3. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/455G06F9/445H04L29/08
CPCG06F9/455G06F8/65G06F9/45533
Inventor 莫展鹏杨松季统凯
Owner G CLOUD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products