Application Installation Scheduling for Parallel Scan and Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing application installation processes on electronic devices are time-consuming due to sequential performance of upper-layer and bottom-layer installation processes, particularly when installing multiple applications, which degrades user experience.
Innovation Solution
Implementing parallel execution of upper-layer installation and bottom-layer optimization processes, with temperature monitoring and task queuing to manage optimization tasks, ensuring efficient installation speed and stability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If upper-layer installation and bottom-layer optimization processes are performed sequentially, then installation process stability is maintained, but installation time increases significantly
Solution Approach 1:
The patent performs bottom-layer optimization in advance during the upper-layer installation phase. Specifically, while copying and scanning application packages (upper-layer), the system simultaneously performs optimization on previously installed applications (bottom-layer), rather than waiting for upper-layer to complete first. This preliminary action overlap resolves the contradiction by making the installation process more productive without sacrificing stability.
Solution Approach 2:
The patent ensures continuous useful action by overlapping the time periods of upper-layer installation and bottom-layer optimization. The first time period (copying/scanning first application package) and second time period (optimization of first application) at least partially overlap, allowing both processes to run concurrently. This continuity eliminates idle waiting time and significantly reduces total installation time while maintaining system stability through proper task management.
2Reliability
If bottom-layer optimization is performed for multiple applications in sequence, then optimization quality is ensured, but user experience deteriorates due to long wait times
Solution Approach 1:
The patent performs bottom-layer optimization as a preliminary action during the upper-layer installation process. While the system is copying and scanning application packages (upper-layer installation), it simultaneously performs optimization on installed applications in the background. This ensures optimization quality is maintained while users experience no additional wait time, as the optimization occurs concurrently with installation rather than sequentially after it.
Solution Approach 2:
The patent introduces a task queue mechanism as an intermediary to manage optimization requests. When multiple applications need optimization, the system queues them systematically and processes them in an organized manner during the installation time period. This intermediary management ensures each application receives proper optimization attention while preventing user-facing delays, thus maintaining both reliability and ease of operation.
3Productivity
If parallel execution of installation and optimization is implemented, then installation efficiency improves, but device temperature and power consumption increase
Solution Approach 1:
The patent implements partial parallel execution rather than full simultaneous execution of all tasks. The system overlaps upper-layer installation and bottom-layer optimization to the extent possible within the installation time period, but does not force continuous maximum-load parallelism. By allowing partial overlap and managing task scheduling flexibly, the system achieves improved installation efficiency while avoiding excessive temperature rise that would result from sustained high-intensity parallel processing.
4Device complexity
If optimization tasks are accumulated in a queue, then task management becomes organized, but system complexity increases
Solution Approach 1:
The patent implements a self-service task queue mechanism where the system automatically manages optimization task queuing, scheduling, and execution without requiring external intervention. The queue systematically organizes pending optimization requests and processes them during installation time periods based on available resources. This self-managing approach handles task management complexity internally while maintaining simple user-facing operations, thus reducing perceived system complexity despite the organizational structure behind the scenes.
Data Source
Figure 1
Figure 2
Figure 3(a)
AI summary
This application provides an application installation method and an electronic device. The method is applied to the 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, and user experience is improved.