Virtual Machine State Preservation During Kernel Crash

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The crash of a host machine can cause a virtual machine to fail, leading to data loss and service disruptions, as existing technologies lack effective mechanisms for preserving virtual machine data and status information during kernel crashes.

Innovation Solution

A method and apparatus that acquire virtual machine device status information and physical address information from a target memory, generate snapshot files, and store them in a shared storage area, enabling recovery of the virtual machine by sending a recovery request to a backup device, thus preventing data loss.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the production kernel crashes, then the virtual machine stops running and services are disrupted, but data loss and system instability occur

Engineering Contradiction:
Improvevirtual machine stabilityVSAvoiddata loss
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent pre-allocates target memory to store virtual machine device status information and physical address information before kernel crashes occur. This preliminary preparation ensures that critical data is already in a recoverable state, allowing the system to restore the virtual machine after a crash without data loss

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of the virtual machine's memory state by storing device status information and physical address information in target memory. This copying mechanism preserves the virtual machine's state independently of the production kernel, enabling recovery even when the original kernel crashes

Inventive Principle:
Principle #26Copying

2Reliability

If the host machine crashes, then the virtual machine becomes unavailable, but service continuity is compromised

Engineering Contradiction:
Improveservice continuityVSAvoiddowntime
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system pre-allocates target memory and stores critical virtual machine information before crashes occur. This preliminary preparation enables rapid recovery by having all necessary data ready in advance, significantly reducing downtime and maintaining service continuity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces target memory as an intermediary storage layer between the virtual machine and the production kernel. This intermediary preserves virtual machine state independently, allowing recovery without waiting for host machine restoration, thus maintaining service continuity

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11392461B2Method and apparatus for processing information
Publication Date: 2022.07.19 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US11392461B2 patent drawing
  • US11392461B2 patent drawing
  • US11392461B2 patent drawing

AI summary

Embodiments of the present disclosure relate to a method and apparatus for processing information. The method can include: acquiring virtual machine device status information and physical address information from a target memory in response to determining a crash of a production kernel, the target memory being a memory pre-allocated to a running virtual machine by the production kernel, and the virtual machine device status information of the virtual machine and the physical address information corresponding to a virtual address of the memory of the virtual machine being stored into the target memory by the production kernel; acquiring data as target data according to the physical address information; and storing a file into a shared storage area according to the target data and the virtual machine device status information.