Event Proxy Mapping for Stable Virtualized Device Communication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing virtualization technologies face issues of poor stability and high maintenance costs due to the need for adapting compute cards and virtualized devices, leading to instability and increased development efforts.

Innovation Solution

An inter-application communication method using an event proxy to implement bidirectional mapping between an event file descriptor and a driver, allowing communication between applications on a host and compute card without modifying the virtualized device code, thereby maintaining system stability and reducing maintenance costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If compute card and virtualized device are adapted in advance to enable inter-application communication, then communication efficiency is improved, but system stability deteriorates and maintenance costs increase

Engineering Contradiction:
Improveinter-application communication efficiencyVSAvoidvirtual machine system stability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces an event proxy as an intermediary component that sits between the compute card driver and the virtualized device. The event proxy translates and forwards events between these components without requiring direct adaptation between them, thus maintaining system stability while enabling efficient communication. The event proxy acts as a buffer that decouples the dependencies between the driver and virtualized device, allowing them to operate independently.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If compute card and virtualized device are adapted in advance, then communication functionality is achieved, but development and maintenance costs increase

Engineering Contradiction:
Improvecommunication functionalityVSAvoiddevelopment and maintenance cost
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The event proxy is designed as a universal intermediary that can handle multiple types of communication scenarios between different compute cards and virtualized devices. Instead of creating custom adaptation code for each specific combination, the event proxy provides a general-purpose solution that works across different configurations, thereby reducing development and maintenance costs while maintaining communication functionality.

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

3Speed

If direct communication between host application and compute card application is implemented, then communication speed is improved, but system complexity increases

Engineering Contradiction:
Improvecommunication speedVSAvoidsystem complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The communication path is segmented into distinct components: the host application, the compute card driver, the event proxy, and the virtualized device. This segmentation allows each component to operate independently at its optimal speed while maintaining clear boundaries and interfaces. The event proxy processes events asynchronously, preventing bottlenecks and maintaining high communication speed without requiring complex integrated designs.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentEP4589436A1Inter-application communication method and apparatus based on virtualized device, and electronic device
Publication Date: 2025.07.23 BEIJING VOLCANO ENGINE TECH CO LTD
  • EP4589436A1 patent drawingFigure 1~2
  • EP4589436A1 patent drawingFigure 3
  • EP4589436A1 patent drawingFigure 4

AI summary

Embodiments of the present disclosure provide an inter-application communication method and apparatus based on a virtualized device, and an electronic device. The method includes: receiving a first event message sent by a first application running in an operating system of a host, where the first event message is used to request a second application running in an operating system of a compute card to perform a target function, and the operating system of the host communicates with the operating system of the compute card through a driver; processing the first event message through an event proxy to generate a second event message including an event file descriptor, where the event proxy is configured to implement bidirectional mapping between the event file descriptor and the driver; and sending the second event message to a virtualized device, to establish a communication channel between the first application and the second application, so that the second application performs the target function corresponding to the first event message Code of the virtualized device does not need to be modified, thereby avoiding a risk of system stability caused by code modification.