Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for judging idle virtual machine and method for closing virtual machine

A virtual machine and virtual machine server technology, applied in the field of desktop virtualization, can solve the problems of fluctuations in CPU and memory usage, inaccurate judgment, and inaccurate idle virtual machines, so as to achieve accurate judgment results, improve application scope, and facilitate calls Effect

Active Publication Date: 2022-03-15
GUANGDONG MICROCLOUD TECH INC
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The traditional indicators for judging whether a virtual machine or computer is in an idle state are whether the keyboard and mouse have not been operated for a long time, and further judge whether the utilization rate of CPU and memory is even. However, it is not accurate to use the above two indicators to judge an idle virtual machine
For example, when a virtual machine is playing a video or audio conference, the keyboard and mouse may not be operated for a long time, and the CPU and memory usage fluctuate less. At this time, the virtual machine is easily judged as idle, but the It is inaccurate that the virtual machine of the meeting is judged as idle

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
  • A method and system for judging idle virtual machine and method for closing virtual machine
  • A method and system for judging idle virtual machine and method for closing virtual machine
  • A method and system for judging idle virtual machine and method for closing virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0039] A method for judging an idle virtual machine is used for judging whether a virtual machine of a virtualization system is in an idle state. The virtualization system includes a virtual machine server and a client; the virtual machine server is deployed in the server, and the client and the virtual machine server establish a connection through a virtualization data transmission protocol to form a virtualization system.

[0040] The virtualization data transmission protocol of the virtualization system is SPICE protocol.

[0041] like Figure 1-5 As shown, the method for judging an idle virtual machine includes:

[0042] S1. A message statistics module is established in the virtualization data transmission protocol of the virtual machine server side.

[0043] The virtualization data transmission protocol is the SPICE protocol, that is, the Simple Indep...

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 and system for judging an idle virtual machine and a method for shutting down a virtual machine, which belong to the technical field of desktop virtualization, and include: S1, establishing a message statistics module in a virtualization data transmission protocol on a virtual machine server side; S2 1. Establish idle virtual machine detection service in the server; S3, call the message statistics module to detect whether the keyboard and mouse of the virtual machine are inactive for a long time; if so, perform step S4; S4, call the message statistics module to detect whether the screen image of the virtual machine is No change for a long time; if so, execute step S5; S5, call the message statistics module to detect whether the virtual machine has no voice activity for a long time; if so, mark the virtual machine as idle state. The present invention mainly solves the problem that the index for judging whether the virtual machine is in an idle state is relatively inaccurate. The present invention detects whether the keyboard and mouse of the virtual machine have been inactive for a long time, whether the screen image has not changed for a long time, and whether there has been no voice activity for a long time, and the judgment result more precise.

Description

technical field [0001] The invention relates to the technical field of desktop virtualization, in particular to a method and system for judging an idle virtual machine and a method for closing the virtual machine. Background technique [0002] Through virtualization technology, multiple virtual machines can be run on one computer to realize desktop virtualization, that is, Desktop Virtualization. [0003] One of the advantages of virtualization technology is elastic computing, that is, computing resources can be allocated reasonably according to the needs of each user. machine performance and optimize resource allocation. [0004] Many virtual machines will be in an idle state during certain periods of time, but the virtual machines in the idle state will still occupy CPU resources and memory resources, so that the server cannot allocate the occupied computing resources to the required virtual machines. Waste of electricity. In order to release the computing resources occ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/451G06F9/455
CPCG06F9/452G06F9/45558
Inventor 张天虎廖振岚
Owner GUANGDONG MICROCLOUD TECH INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products