Hypervisor Abnormality Detection via Peripheral Access Recording

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for monitoring a hypervisor, especially third-party hypervisors with closed internal logic, fail to accurately detect abnormalities without accessing the hypervisor's internal state, and may miss abnormal states caused by internal issues or require prioritization that can prevent deadlock detection.

Innovation Solution

An electronic controller design that includes a virtual machine, a hypervisor, an access recording unit, a state recording unit, and a monitoring unit, which records peripheral access requests and states to determine hypervisor abnormalities based on input and output, allowing detection without accessing the hypervisor's internal state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a monitoring virtual machine is installed to periodically execute test patterns and acquire internal state of the hypervisor, then abnormality detection capability is improved, but device complexity increases and the method cannot be applied to third-party hypervisors with closed internal logic

Engineering Contradiction:
Improveabnormality detection capabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the monitoring function from the hypervisor's internal state and relocates it to the virtual machine layer. Instead of monitoring internal hypervisor state directly, the system observes peripheral access requests and responses between virtual machines and the hypervisor, thereby detecting abnormalities without increasing core system complexity or requiring internal hypervisor access.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces peripheral access requests and responses as intermediary observables. These peripheral interactions serve as mediators that indirectly reveal hypervisor operational status without requiring direct access to internal hypervisor state, enabling monitoring of third-party hypervisors with closed internal logic.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If a watchdog timer is used to monitor hypervisor operation with high priority counting, then abnormality detection speed is improved, but deadlock detection capability deteriorates due to priority inversion

Engineering Contradiction:
Improveabnormality detection speedVSAvoiddeadlock detection capability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent dynamically adjusts monitoring priorities based on the type of abnormality being detected. Instead of using a fixed high-priority watchdog timer that can cause priority inversion, the system adapts its monitoring approach to observe peripheral access patterns, enabling simultaneous detection of both fast abnormalities and deadlocks without priority conflicts.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent implements feedback mechanisms that monitor the completion status of peripheral access requests. By tracking whether requests are properly completed or stuck in pending state, the system can detect deadlocks through the absence of expected feedback, rather than relying solely on high-priority timing mechanisms.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20240241747A1Electronic controller and abnormality determination method
Publication Date: 2024.07.18 ASTEMO LTD
  • US20240241747A1 patent drawing
  • US20240241747A1 patent drawing
  • US20240241747A1 patent drawing

AI summary

An electronic controller includes: a virtual machine that accesses a first virtual driver to execute a process; a hypervisor that calls a first real driver of a first peripheral, based on a peripheral access request received from the first virtual driver; an access recording unit that calls the first virtual driver to record a peripheral access request transmitted to the hypervisor; a state recording unit that calls the first real driver to record a state of a register of the first peripheral; and a monitoring unit that monitors an operation of the hypervisor. The monitoring unit determines an abnormality of the hypervisor, based on a record by the access recording unit and on a record by the state recording unit.