Mobile OS Upgrade Compilation Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The process of upgrading the Android operating system on mobile terminals is excessively time-consuming due to the compilation of numerous APK files, which can take tens of minutes on devices with low hardware configurations, affecting user experience.

Innovation Solution

A method and apparatus that determine the processing attribute of application installation packages during system upgrades, compiling only those with an 'upgrade compilation attribute' while skipping compilation for those with an 'idle compilation attribute, based on usage time, importance level, and operational conditions, thereby optimizing the compilation process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all APK files are compiled during system upgrade, then application execution efficiency is improved, but upgrade time becomes excessively long

Engineering Contradiction:
Improveapplication execution efficiencyVSAvoidupgrade time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the compilation process into two distinct phases: upgrade compilation for critical system applications and idle compilation for non-critical applications. This segmentation allows the system to prioritize compilation of essential APKs during upgrade while deferring less critical compilations to idle periods, thereby resolving the contradiction between ensuring application execution efficiency and minimizing upgrade time.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies preliminary action by identifying and compiling critical system applications during the upgrade process before user interaction is needed, while non-critical applications are compiled in advance during idle periods detected before the upgrade. This ensures that essential applications are ready for immediate execution while reducing the perceived upgrade time for users.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If compilation is performed during upgrade, then application performance is improved, but user experience deteriorates due to long waiting time

Engineering Contradiction:
Improvecompilation efficiencyVSAvoiduser experience
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent implements periodic action by performing compilation during idle periods detected before the upgrade process. The system monitors device idle states and schedules compilation tasks to execute during these periods, then performs upgrade compilation only for critical applications during the actual upgrade. This periodic approach maintains high compilation efficiency while improving user experience by minimizing waiting time during upgrade.

Inventive Principle:
Principle #19Periodic action

3Reliability

If critical applications are compiled during upgrade, then system reliability is improved, but resource consumption increases

Engineering Contradiction:
Improvesystem reliabilityVSAvoidenergy consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by differentiating between critical and non-critical applications and assigning different compilation strategies to each category. Critical system applications receive upgrade compilation during the upgrade process to ensure system reliability, while non-critical applications are compiled during idle periods when device resources are available. This localized approach ensures system reliability is maintained for essential applications while optimizing resource consumption overall.

Inventive Principle:
Principle #3Local quality

Data Source

PatentEP3096224B1Method and apparatus for processing application installation package
Publication Date: 2019.09.25 XIAOMI INC
  • EP3096224B1 patent drawingFigure 1
  • EP3096224B1 patent drawingFigure 2
  • EP3096224B1 patent drawingFigure 3A~3B

AI summary

The present disclosure discloses a method and an apparatus for processing an application installation package, belonging to the field of mobile terminals. The method includes: acquiring (102) a processing attribute of the application installation package when it is monitored that an operating system is being upgraded, the processing attribute being an upgrade compilation attribute or an idle compilation attribute; and during upgrade of the operating system, compiling (104) the application installation package whose processing attribute is the upgrade compilation attribute. In the present disclosure, necessary application installation packages are compiled during upgrade, which solves the problem that the upgrade process takes too long time, so as to greatly shorten time-consuming of the upgrade and meanwhile guarantee the user's normal use of the application installation packages, and improve the user experience.