# US 2025/0156168 A1 · Application Installation 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 2025/0156168 A1
- Document ID: US20250156168A1
- Status: Published application
- Kind: A1
- Application number: 19/022,449
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2022-09-28
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Rigele Te; Weisheng Li; Mingshan He
- Web page: https://patentgrep.com/patent/US20250156168A1

## CPC

- G06F 8/61: Installation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic device receives an installation request of a user. In response to the installation request, the electronic device downloads an installation package file of the application and stores the installation package file of the application in a shared folder. The shared folder supports access by a package manager service (PMS) with read/write permission. The electronic device invokes the PMS to obtain an address of the shared folder corresponding to the application, obtains the shared folder based on the address of the shared folder, and further installs the application based on the installation package file in the shared folder. In this way, the electronic device can obtain, based on the address of the shared folder, the installation package file stored in the shared folder.

## Claims

### Claim 1

A method, comprising:
receiving an installation request of a user, wherein the installation request requests to install an application;
in response to the installation request, downloading an installation package file of the application and storing the installation package file in a shared folder, wherein the shared folder supports access by a package manager service (PMS) with read/write permission;
invoking the PMS to obtain an address of the shared folder corresponding to the application;
obtaining, based on the address, the shared folder; and
installing, based on the installation package file in the shared folder, the application.

### Claim 2 (depends on 1)

The method of claim 1, wherein invoking the PMS comprises obtaining a session parameter (SessionParams) from a package installer service (PIS) by using a package installer session (PackageInstallerSession) corresponding to the application, and wherein the SessionParams comprises the address.

### Claim 3 (depends on 2)

The method of claim 2, further comprising invoking the PIS to create the PackageInstallerSession, wherein the PackageInstallerSession transmits the SessionParams corresponding to the application.

### Claim 4 (depends on 3)

The method of claim 3, wherein invoking the PIS comprises:
invoking the PIS to obtain the SessionParams; and
creating, based on the SessionParams, the PackageInstallerSession.

### Claim 5 (depends on 1)

The method of claim 1, wherein installing the application comprises:
invoking an installation daemon (InstalId) to rename the shared folder as an installation folder of the application; and
invoking the PMS to install the application by using the installation package file.

### Claim 6

An electronic device, comprising:
a memory configured to store instructions; and
one or more processors coupled to the memory and configured to execute the instructions to:
receive an installation request of a user, wherein the installation request requests to install an application;
in response to the installation request, download an installation package file of the application and store the installation package file in a shared folder, wherein the shared folder supports access by a package manager service (PMS) with read/write permission;
invoke the PMS to obtain an address of the shared folder corresponding to the application;
obtain, based on the address, the shared folder; and
install, based on the installation package file in the shared folder, the application.

### Claim 7 (depends on 6)

The electronic device of claim 6, wherein the one or more processors are further configured to execute the instructions to obtain a session parameter (SessionParams) from a package installer service (PIS) by using a package installer session (PackageInstallerSession) corresponding to the application, and wherein the SessionParams comprises the address.

### Claim 8 (depends on 7)

The electronic device of claim 7, wherein the one or more processors are further configured to execute the instructions to invoke the PIS to create the PackageInstallerSession, and wherein the PackageInstallerSession transmits the session parameter (SessionParams) corresponding to the application.

### Claim 9 (depends on 8)

The electronic device of claim 8, wherein the one or more processors are further configured to execute the instructions to:
invoke the PIS to obtain the SessionParams; and
create, based on the SEssionParams, the PackageInstallerSession.

### Claim 10 (depends on 6)

The electronic device of claim 6, wherein the one or more processors are further configured to execute the instructions to:
invoke an installation daemon (InstalId) to rename the shared folder as an installation folder of the application; and
invoke the PMS to install the application by using the installation package file.

### Claim 11

A computer program product comprising instructions that are stored on a non-transitory computer-readable medium and that, when executed by one or more processors, cause an electronic device to: receive an installation request of a user, wherein the installation request requests to install an application;
in response to the installation request, download an installation package file of the application and store the installation package file in a shared folder, wherein the shared folder supports access by a package manager service (PMS) with read/write permission;
invoke the PMS to obtain an address of the shared folder corresponding to the application;
obtain, based on the address, the shared folder; and
install, based on the installation package file in the shared folder, the application.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the one or more processors are further configured to execute the instructions to cause the electronic device to obtain a session parameter (SessionParams) from a package installer service (PIS) by using a package installer session (PackageInstallerSession) corresponding to the application, and wherein the SessionParams comprises the address.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the one or more processors are further configured to execute the instructions to cause the electronic device to invoke the PIS to create the PackageInstallerSession, and wherein the PackageInstallerSession transmits the SessionParams corresponding to the application.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the one or more processors are further configured to execute the instructions to cause the electronic device to:
invoke the PIS to obtain the SessionParams; and
create, based on the SessionParams, the PackageInstallerSession.

### Claim 15 (depends on 11)

The computer program product of claim 11, wherein the one or more processors are further configured to execute the instructions to cause the electronic device to:
invoke an installation daemon (InstalId) to rename the shared folder as an installation folder of the application; and
invoke the PMS to install the application by using the installation package file.

### Claim 16 (depends on 11)

The computer program product of claim 11, wherein the PMS is a component of an ANDROID system.

### Claim 17 (depends on 11)

The computer program product of claim 11, wherein the installation request is associated with an application market.

### Claim 18 (depends on 11)

The computer program product of claim 11, wherein the one or more processors are further configured to execute the instructions to create the shared folder in a local file system of the electronic device.

### Claim 19 (depends on 11)

The computer program product of claim 11, wherein the installation package file comprises a compressed file.

### Claim 20 (depends on 11)

The computer program product of claim 11, wherein the installation package file comprises an ANDROID application package (APK) file.
