| CPC G06F 8/61 (2013.01) [G06F 8/70 (2013.01)] | 12 Claims |

|
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.
|