Dynamic Virtual Device Mounting for Android Simulators

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current simulators for Android applications on PC systems cannot modify the shared path between the host machine and the virtual machine in real time without restarting the virtual machine, disrupting ongoing applications.

Innovation Solution

A control method that allows for dynamic mounting of the virtual machine to a new virtual device based on changes in the download directory, enabling the virtual machine to access installation packages in the new directory without restarting, by constructing a new virtual device and mounting the operating system to it.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the shared path is modified by virtualizing the host file directory and mounting it to the virtual machine, then file sharing capability is achieved, but the shared path cannot be changed without restarting the virtual machine

Engineering Contradiction:
Improveshared path modification capabilityVSAvoidoperation continuity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent implements dynamic remounting of the virtual device to allow the shared path to be changed during virtual machine operation. The host file directory virtualization is made dynamic by enabling remount operations that update the mount path without requiring virtual machine restart, thus making the system adaptable to path changes while maintaining operational continuity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent performs preliminary path validation and preparation before executing the remount operation. The system checks whether the new path is valid and prepares the remounting process in advance, ensuring that the path modification can be executed smoothly without disrupting the running virtual machine applications.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If the virtual machine is restarted to change the shared path, then the path modification is achieved, but the running applications are closed and affected

Engineering Contradiction:
Improveshared path modification capabilityVSAvoidapplication running stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent implements dynamic remounting of the virtual device to allow the shared path to be changed during virtual machine operation. This dynamic approach enables path modification without virtual machine restart, thereby maintaining application running stability while achieving the required adaptability for shared path changes.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent uses the host system as an intermediary to perform the path modification. The host file directory virtualization layer acts as a mediator that can be remounted with new paths without affecting the running virtual machine applications, thus protecting application stability while enabling path changes.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If the virtual machine is restarted to change the shared path, then the path modification is achieved, but time is lost due to application closure and restart

Engineering Contradiction:
Improveshared path modification capabilityVSAvoidtime for path modification
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent implements dynamic remounting of the virtual device to allow the shared path to be changed during virtual machine operation. This eliminates the need for virtual machine restart, thereby reducing time loss while maintaining the adaptability required for shared path modification.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent ensures continuous operation of the virtual machine during path modification. By enabling remounting without restart, the useful action of running applications continues uninterrupted, eliminating the time loss that would otherwise occur during virtual machine restart and application reinitialization.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20240378068A1Control method and electronic device
Publication Date: 2024.11.14 HUAWEI TECH CO LTD
  • US20240378068A1 patent drawing
  • US20240378068A1 patent drawing
  • US20240378068A1 patent drawing

AI summary

A control method for an electronic device, the method including determining, by a simulator configured to be installed on an electronic device comprising a first operating system, in response to a received first message sent by a first client in the electronic device, whether a first storage path is the same as a second storage path, where the first message indicates to install a first application, and the first storage path is a storage path of an installation package of the first application, and the simulator comprises a second operating system, constructing, in response to the first storage path being different from the second storage path, a first virtual device based on the first storage path, and sending a second message to the second operating system, where the second message indicates that the second operating system is to be mounted to the first virtual device.