Method and device for obtaining operation system types and versions of virtual machines

An operating system and virtual machine technology, applied in the field of obtaining the type and version of the virtual machine operating system, can solve the problems of not being able to cross the operating system, consuming target computer resources, and applications not being able to cross the operating system

Inactive Publication Date: 2017-12-12
BEIJING VRV SOFTWARE CO LTD
View PDF10 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method includes many disadvantages: the operation of obtaining information depends on the running state of the target computer, and only the computer in the power-on state can obtain the above-mentioned system type and version information; the operation of obtaining information depends on the application programs provided by the target computer, and must pass these Only provided application programs can obtain the above system type and version information; the application program used on the target computer to obtain system type and version information cannot be used across operating systems; the operation of obtaining system type and version in

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 and device for obtaining operation system types and versions of virtual machines
  • Method and device for obtaining operation system types and versions of virtual machines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0027] It should be noted that all the expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same. It can be seen that "first" and "second " is only for the convenience of expression, and should not be understood as a limitation to the embodiments of the present invention, and will not be described one by one in the subsequent embodiments.

[0028] Based on the above purpose, the first aspect of the embodiments of the present invention proposes a first embodiment of a method for obtaining the type and version of a virtual machine operating system for different virtual ma...

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 discloses a method for obtaining types and versions of virtual machine operation systems. The method comprises the following steps of: obtaining a virtual machine identifier of a target guest virtual machine and determining the target guest virtual machine at a virtualization platform interface according to the virtual machine identifier; determining a virtual disk mirror image file carried by the target guest virtual machine; loading the virtual disk mirror image file to a host machine/or management domain; and analyzing operation system type and/or version information of the target guest virtual machine from the virtual disk mirror image file loaded in a memory of the host machine/management domain. According to the method, operation system type and version obtaining can be carried out on different virtual machines or different types of virtual machines, the operation does not need to start up a target computer and is independent of application programs of the target computer, the application programs can be used in different operation systems, resources of the target computer is not consumed, and the target computer does not perceive the operation.

Description

technical field [0001] The present invention relates to the field of virtual machines, and more specifically, to a method and device for obtaining the type and version of a virtual machine operating system. Background technique [0002] Regardless of whether it is a Windows operating system or a Linux operating system, their operating system type and version information are stored in specific locations on the disk through files. The disk here refers to a physical hard disk in a physical environment; it refers to a virtual disk image file in a virtualized environment. This article mainly deals with virtual disk image files. The specific location on the disk of the file storing the operating system type and version information is related to the specific operating system, and the location is different for different operating systems. For example, the Windows operating system is usually placed in a folder named config in the C drive; while the Linux operating system is usually...

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/44
Inventor 李健波张泽云潘学树党艳平
Owner BEIJING VRV SOFTWARE CO LTD
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