# US 2024/0378068 A1 · Control method and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0378068 A1
- Document ID: US20240378068A1
- Status: Published application
- Kind: A1
- Application number: 18/574,634
- Filed: 2022-04-01
- Published: 2024-11-14
- Earliest claimed: 2021-06-29
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Feng Wang
- Web page: https://patentgrep.com/patent/US20240378068A1

## CPC

- G06F 9/45537: {Provision of facilities of other operating environments, e.g. WINE (I/O emulation G06F13/105)}
- G06F 8/61: Installation
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

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.

## Claims

### Claim 1

A control method, comprising:
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, wherein 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 wherein 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, wherein the second message indicates that the second operating system is to be mounted to the first virtual device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the second message further indicates to the second operating system to install the first application.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
sending a fourth message to the second operating system in response to a received third message sent by the second operating system, wherein the third message indicates that mounting is successful, and the fourth message indicates to the second operating system to install the first application.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the first message comprises one or more of a name of the first application, the first storage path, or information about whether the second storage path is modified.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the second message comprises a mounting manner and a mounting parameter.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the mounting manner comprises direct mounting or first unmounting and then mounting.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the mounting parameter comprises one a name of the first virtual device, a directory mounted to the second operating system, or a type of a specified file system.

### Claim 8 (depends on 1)

The method according to claim 1, further comprising performing, before the constructing the first virtual device:
destroying a second virtual device, wherein the second virtual device is constructed based on the second storage path.

### Claim 9 (depends on 1)

The method according to claim 1, wherein at least one of the first client is a client having an application providing function, or the first client is a client having an application migration function.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the first operating system is a Windows operating system, wherein the second operating system is an Android operating system, and wherein the first application is an Android application.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the first virtual device is used by the second operating system to access the first storage path.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the second storage path is a storage path of a second application, and the second application is a previously installed application.

### Claim at position 13

13-18. (canceled)

### Claim 19

An electronic device, comprising:
at least one processor; and
at least one non-transitory computer readable memory connected to the at least one processor and including computer program code, wherein the at least one non-transitory computer readable memory and the computer program code are configured, with the at least one processor, to implement a first operating system and a simulator comprising a second operating system, and to cause the electronics device to perform at least:
determining, by the simulator, 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, wherein 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;
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, wherein the second message indicates that the second operating system is to be mounted to the first virtual device.

### Claim 20

A non-transitory computer-readable storage medium, including computer program code, wherein the at least one non-transitory computer readable storage medium and the computer program code are configured, with at least one processor of an electronic device, to implement a first operating system and a simulator comprising a second operating system, and to cause the electronics device to perform at least:
determining, by the simulator, 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, wherein 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;
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, wherein the second message indicates that the second operating system is to be mounted to the first virtual device.

### Claim 21

(canceled)

### Claim 22 (depends on 19)

The electronic device according to claim 19, wherein the second message further indicates to the second operating system to install the first application.

### Claim 23 (depends on 19)

The electronic device according to claim 19, wherein the at least one non-transitory computer readable memory and the computer program code are configured, with at least one processor of an electronic device, to cause the electronics device to further perform at least:
sending a fourth message to the second operating system in response to a received third message sent by the second operating system, wherein the third message indicates that mounting is successful, and the fourth message indicates to the second operating system to install the first application.

### Claim 24 (depends on 19)

The electronic device according to claim 19, wherein the second message comprises a mounting manner and a mounting parameter;
wherein the mounting manner comprises direct mounting or first unmounting and then mounting; and
wherein the mounting parameter comprises one of the following: a name of the first virtual device, a directory mounted to the second operating system, or a type of a specified file system.

### Claim 25 (depends on 20)

The non-transitory computer-readable storage medium according to claim 20, wherein the second message further indicates to the second operating system to install the first application.

### Claim 26 (depends on 20)

The non-transitory computer-readable storage medium according to claim 20, wherein the at least one non-transitory computer readable memory and the computer program code are configured, with the at least one processor of the electronic device, to cause the electronics device to further perform at least:
sending a fourth message to the second operating system in response to a received third message sent by the second operating system, wherein the third message indicates that mounting is successful, and the fourth message indicates to the second operating system to install the first application.

### Claim 27 (depends on 20)

The non-transitory computer-readable storage medium according to claim 20, wherein the second message comprises a mounting manner and a mounting parameter;
wherein the mounting manner comprises direct mounting or first unmounting and then mounting; and
wherein the mounting parameter comprises one of the following: a name of the first virtual device, a directory mounted to the second operating system, or a type of a specified file system.
