Virtual Machine Hardware Testing Isolation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional hardware and firmware testing procedures risk crashing the host operating system, causing inconvenience and increased testing duration due to potential abnormalities during testing, which can lead to data damage and system instability.

Innovation Solution

A computer system and method utilizing a virtual machine with a guest operating system, a guest driver, and an expansion test module to simulate and test hardware or firmware without affecting the host system, allowing for safe testing and development of firmware drivers without external hardware connections, using virtual hardware to process test instructions and generate response signals.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional hardware and firmware testing is performed by connecting hardware device to host computer and installing firmware driver into host operating system, then testing can be conducted, but the host operating system may crash or collapse causing system risk and increased testing duration

Engineering Contradiction:
Improvesystem safetyVSAvoidtesting duration
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system segments the testing environment from the host system by introducing a virtual machine layer. The hardware device is connected to the virtual machine rather than directly to the host operating system, creating isolated testing compartments. This segmentation ensures that abnormalities during testing affect only the virtual machine and not the host system, resolving the contradiction between system safety and testing duration.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The virtual machine acts as an intermediary between the hardware device and the host operating system. All test instructions pass through the virtual machine layer, which absorbs and contains any abnormalities. This intermediary protects the host system from crashes while maintaining continuous testing capability, thus improving system safety without increasing testing duration.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If firmware driver is installed into host operating system for testing hardware device, then hardware testing can be performed, but abnormality may cause host operating system to crash or collapse

Engineering Contradiction:
Improvetesting convenienceVSAvoidsystem stability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The testing environment is segmented into a virtual machine that runs independently from the host operating system. The firmware driver is installed and tested within the virtual machine rather than directly in the host system. This segmentation maintains testing convenience while protecting host system stability, as abnormalities are confined to the virtual machine environment.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The virtual machine serves as an intermediary testing environment that isolates the firmware driver testing from the host operating system. Test personnel can conveniently install and test firmware drivers in the virtual machine without risking host system stability, as the virtual machine absorbs any abnormality effects.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If virtual machine is used for testing hardware device, then host operating system safety is ensured, but additional virtualization layer is introduced

Engineering Contradiction:
Improvehost system safetyVSAvoidsystem structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The virtual machine acts as an intermediary layer that provides host system safety during hardware testing. Although this introduces an additional virtualization layer, modern virtualization technology makes this complexity transparent and manageable. The safety benefits outweigh the structural complexity, as the virtual machine effectively isolates testing risks from the host system.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The virtual machine provides multiple functions: it serves as both the testing environment for firmware drivers and the isolation layer for protecting the host system. This multi-functionality justifies the additional structural layer, as it simultaneously achieves testing convenience and host system safety without requiring separate systems.

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

4Ease of operation

If virtual hardware is used to simulate peripheral hardware functions, then firmware driver development can proceed without external hardware connection, but virtualization overhead is introduced

Engineering Contradiction:
Improvedevelopment convenienceVSAvoidsystem resource consumption
Core Design Contradiction:
Ease of operationVSUse of energy by moving object

Solution Approach 1:

Virtual hardware is created as a software copy of peripheral hardware devices. This copying enables firmware driver development to proceed without physical hardware connections, significantly improving development convenience. The virtual hardware replica provides sufficient functionality for testing while consuming minimal system resources compared to maintaining multiple physical devices.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The virtual hardware provides universal testing capability for multiple types of peripheral devices through software simulation. This multi-functionality allows a single virtualized system to replace multiple physical devices, reducing overall system resource consumption while maintaining development convenience across different hardware types.

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

Data Source

PatentUS9436491B1Computer system and method for testing hardware device based on virtual machine
Publication Date: 2016.09.06 ACCELSTOR TECH LTD
  • US9436491B1 patent drawing
  • US9436491B1 patent drawing
  • US9436491B1 patent drawing

AI summary

The invention provides a computer system and a method for testing hardware device based on virtual machine. The computer system comprises a virtual machine device installed with a guest operating system. The guest operating system comprises a guest driver and a hypervisor having an expansion test module. When the computer system is intended for testing the hardware device, the guest driver will issue a sequence of test instructions to a real hardware or a virtual hardware via the expansion test module. The real hardware or the virtual hardware processes the test instructions so as to generate at least one response signal and transmit the response signal to the guest driver via the expansion test module. The guest driver is capable of detecting the response signal in order to verify the correctness of the real hardware or the virtual hardware processing the test instructions.