Virtual Machine Status Detection via Message Queue Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for detecting the status of a virtual machine are unreliable due to network access restrictions and agent software deactivation, leading to inaccurate determination of virtual machine activity.

Innovation Solution

A method that involves obtaining and analyzing the message queue update status of a virtual network card or virtual disk to determine whether the virtual machine is in a normal operating state or an internal abnormal state, without relying on external networks or software.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If network-based detection (ping) is used to detect virtual machine status, then the detection method is simple, but the detection accuracy deteriorates when the virtual machine prohibits network access

Engineering Contradiction:
Improvedetection method simplicityVSAvoidvirtual machine activity detection accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent introduces an intermediary detection mechanism that monitors the virtual machine's internal message queue system rather than relying on external network communication. The host system queries the message queue status through the virtual machine's internal architecture, acting as an intermediary that can detect activity without requiring the virtual machine to permit external network access or agent software installation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The virtual machine's own internal message queue system serves the detection purpose. By monitoring whether the message queue has been updated within a time window, the system uses the virtual machine's internal mechanisms to reveal its activity state, eliminating the need for external agents or network access permissions.

Inventive Principle:
Principle #25Self-service

2Reliability

If agent software is installed in the virtual machine for detection, then the detection capability is enhanced, but the reliability deteriorates when the user deactivates the agent software

Engineering Contradiction:
Improvedetection capabilityVSAvoidresistance to agent deactivation
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent extracts the detection function from the traditional agent software model and relocates it to the virtual machine's internal message queue system. Instead of relying on an optional agent component that can be deactivated, the system directly monitors the message queue that is inherently part of the virtual machine's operation, eliminating the single point of failure.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The message queue acts as an intermediary between the virtual machine's internal operations and the external detection system. By monitoring changes in the message queue state, the host can infer virtual machine activity without requiring direct access to or installation of agent software within the virtual machine.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If message queue update status is monitored to determine virtual machine status, then the detection accuracy improves, but the device complexity increases

Engineering Contradiction:
Improvevirtual machine status determination accuracyVSAvoiddetection mechanism complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The message queue monitoring mechanism serves multiple detection purposes simultaneously. By observing whether the message queue has been updated within a time window, the system can detect various virtual machine states (normal operation, suspended, stopped) using a single unified approach, avoiding the need for multiple separate detection mechanisms.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system monitors changes in the message queue's update timestamp parameter. By comparing the current time with the last update time of the message queue, the system derives virtual machine status information from a single parameter change, simplifying the detection logic despite the increased monitoring capability.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20240143380A1Virtual machine status determination method and system, and electronic device
Publication Date: 2024.05.02 LENOVO (BEIJING) LTD
  • US20240143380A1 patent drawing
  • US20240143380A1 patent drawing
  • US20240143380A1 patent drawing

AI summary

A virtual machine status determination method includes obtaining a message queue of a virtual network card or a virtual disk of a virtual machine, determining a message queue update status of the virtual network card or the virtual disk, and determining whether the virtual machine is currently in an internal abnormal state or a normal operating state based on the message queue update status.