Signal Masking Mechanism for Virtual Machine Data Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current virtualization technologies lack a mechanism to interrupt and manage signal processes effectively when handling read and write requests from virtual machines, leading to potential data inconsistency and inefficiencies in physical host operations.

Innovation Solution

A method and apparatus that acquire and process read and write requests from virtual machines, send them to a host machine for processing, and implement a signal masking mechanism to manage current processes, ensuring data consistency and efficiency by updating arrays and informing virtual machines of processing results.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a virtual machine sends read and write requests to a physical host without a signal masking mechanism, then the processing speed is faster, but data consistency cannot be guaranteed and abnormal virtual machine runs may occur

Engineering Contradiction:
Improvedata consistencyVSAvoidsignal masking mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by masking the preset signal before the host machine processes the read and write request. This prevents the interrupt signal from triggering during the critical processing period, ensuring data consistency is maintained throughout the entire operation cycle. The signal is unmasked only after the processing is complete and results are returned to the virtual machine.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism (the signal masking layer) between the virtual machine and the host machine processing. This intermediary controls when interrupt signals can be received, allowing the system to maintain reliability by blocking signals during critical sections while still permitting normal operation during safe periods.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If signal masking is implemented to ensure data consistency, then data consistency is improved, but the processing time increases due to additional masking and unmasking operations

Engineering Contradiction:
Improvedata consistencyVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The signal masking is performed preliminarily and continuously throughout the processing operation rather than being applied and removed multiple times. This approach ensures data consistency is maintained for the duration of the critical operation while minimizing the total time spent on masking operations.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If the host machine processes read and write requests without interrupt masking, then the operating efficiency is higher, but abnormal virtual machine runs may occur due to data inconsistency

Engineering Contradiction:
Improveoperating efficiencyVSAvoidvirtual machine run stability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies preliminary signal masking before the host machine begins processing read and write requests. This ensures that no interrupt signals can trigger during the critical processing period, preventing data inconsistency and abnormal virtual machine runs while allowing the host machine to maintain high processing efficiency throughout the operation.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10564889B2Method and apparatus for processing data based on physical host
Publication Date: 2020.02.18 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US10564889B2 patent drawing
  • US10564889B2 patent drawing
  • US10564889B2 patent drawing

AI summary

A method and apparatus for processing data based on a physical host are provided. A specific embodiment of the method includes: acquiring a read and write request sent by a virtual machine; sending the read and write request to a host machine for processing; starting masking a preset signal interrupting a current process, in response to the host machine completing processing the read and write request; and terminating masking the preset signal in response to completing following: updating a first array recording information of the processed read and write request, updating a second array recording information of completing the acquired read and write request, and informing the virtual machine of a processing result of the read and write request. The embodiment provides a signal masking mechanism, and guarantees data consistency, thereby improving the operating efficiency of a physical host.