Application installation method and electronic device

US12333288B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12333288-B2
Application numberUS-202118017023-A
CountryUS
Kind codeB2
Filing dateJul 15, 2021
Priority dateJul 23, 2020
Publication dateJun 17, 2025
Grant dateJun 17, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

This application provides an application installation method and an electronic device. The method includes: detecting an operation of triggering installation of a first application and a second application by a user; in response to the operation, copying and scanning a first application package, where the first application package is an application package corresponding to the first application; copying and scanning a second application package in a first time period after the copying and scanning a first application package, where the second application package is an application package corresponding to the second application; and performing optimization on the first application in a second time period after the copying and scanning a first application package, where the first time period and the second time period at least partially overlap. According to technical solutions in embodiments of this application, an installation speed of installing a plurality of applications is increased.

First claim

Opening claim text (preview).

What is claimed is: 1. An application installation method, wherein the method is applied to an electronic device, and the method comprises: detecting a first user operation triggering installation of a first application and a second application; in response to the first user operation, copying and scanning a first application package, wherein the first application package is an application package corresponding to the first application; copying and scanning a second application package in a first time period after the copying and scanning the first application package, wherein the second application package is an application package corresponding to the second application; performing optimization on the first application in a second time period after the copying and scanning the first application package, wherein the first time period and the second time period at least partially overlap; detecting a second user operation triggering installation of a third application and a fourth application; and copying and scanning a third application package in a third time period after the copying and scanning the first application package; wherein the third application package is an application package corresponding to the third application; and when a duration of the second time period is greater than a sum of a duration of the first time period and a duration of the third time period, a start moment at which a fourth application package is copied and scanned is later than or equal to a start moment at which optimization is performed on the second application. 2. The method according to claim 1 , wherein the method further comprises: detecting a third user operation of triggering installation of a third application; when copying and scanning of the second application package are completed, detecting a temperature of a central processing unit (CPU) of the electronic device; determining that the temperature is greater than or equal to a preset value; pausing for a first preset duration when optimization of the second application ends; and copying and scanning a third application package after the first preset duration, wherein the third application package is an application package corresponding to the third application. 3. The method according to claim 2 , wherein before the performing optimization on the first application, optimization is performed on a fourth application, and the determining that the temperature is greater than or equal to the preset value comprises: determining that the temperature is greater than or equal to the preset value and that a duration of a fourth time period is greater than or equal to a second preset duration, wherein the fourth time period is the same as the second time period; or a time interval between the second time period and a fifth time period is less than or equal to a third preset duration, the fourth time period is a sum of the second time period and the fifth time period, and the fifth time period is a time period in which the electronic device performs optimization on the fourth application. 4. The method according to claim 1 , wherein the performing optimization on the first application comprises: adding a first optimization task to a first task queue, wherein the first optimization task optimizes the first application; starting a first thread, wherein the first thread fetches the first optimization task from the first task queue; and invoking a first interface, wherein the first interface starts a second thread, and the second thread executes the first optimization task. 5. An electronic device, comprising: one or more processors; and one or more memories, wherein the one or more memories store one or more computer programs, the one or more computer programs comprise instructions, and when the instructions are executed by the one or more processors, the electronic device is enabled to perform the following steps: detecting a first user operation triggering installation of a first application and a second application; in response to the first user operation, copying and scanning a first application package, wherein the first application package is an application package corresponding to the first application; copying and scanning a second application package in a first time period after the copying and scanning the first application package, wherein the second application package is an application package corresponding to the second application; performing optimization on the first application in a second time period after the copying and scanning the first application package, wherein the first time period and the second time period at least partially overlap; detecting a second user operation triggering installation of a third application and a fourth application; and copying and scanning a third application package in a third time period after the copying and scanning the first application package; wherein the third application package is an application package corresponding to the third application; when a duration of the second time period is greater than a sum of a duration of the first time period and a duration of the third time period, a start moment at which a fourth application package is copied and scanned is later than or equal to a start moment at which optimization is performed on the second application. 6. The electronic device according to claim 5 , wherein when the instructions are executed by the one or more processors, the electronic device is enabled to perform the following steps: detecting a third user operation of triggering installation of a third application; when copying and scanning of the second application package are completed, detecting a temperature of a central processing unit (CPU) of the electronic device; determining that the temperature is greater than or equal to a preset value; pausing for a first preset duration when optimization of the second application ends; and copying and scanning a third application package after the first preset duration, wherein the third application package is an application package corresponding to the third application. 7. The electronic device according to claim 6 , wherein before the performing optimization on the first application, optimization is performed on a fourth application, and the electronic device is specifically configured to: determine that the temperature is greater than or equal to the preset value and that a duration of a fourth time period is greater than or equal to a second preset duration, wherein the fourth time period is the same as the second time period; or when a time interval between the second time period and a fifth time period is less than or equal to a third preset duration, the fourth time period is a sum of the second time period and the fifth time period, and the fifth time period is a time period in which the electronic device performs optimization on the fourth application. 8. The electronic device according to claim 5 , wherein the electronic device is specifically configured to: add a first optimization task to a first task queue, wherein the first optimization task optimizes the first application; start a first thread, wherein the first thread fetches the first optimization task from the first task queue; and invoke a first interface, wherein the first interface starts a second thread, and the second thread is used to execute the first optimization task. 9. A non-transitory computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are run on an electronic device, the electronic device is enabled to perform: detecting a first user operation of triggering

Assignees

Inventors

Classifications

  • Software maintenance or management · CPC title

  • G06F8/61Primary

    Installation · CPC title

  • taking into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206) · CPC title

  • Queue · CPC title

  • Message passing systems or structures, e.g. queues · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12333288B2 cover?
This application provides an application installation method and an electronic device. The method includes: detecting an operation of triggering installation of a first application and a second application by a user; in response to the operation, copying and scanning a first application package, where the first application package is an application package corresponding to the first application…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F8/61. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 17 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 9 related publications on this page (citations in our corpus or others sharing the same primary CPC).