Application Code Compilation Optimization via User Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing application optimization methods, particularly in Android operating systems, face performance degradation when installed over the air (OTA) or during factory resets, and the hybrid compilation method requires waiting for specific conditions to improve performance, leading to inefficiencies.

Innovation Solution

An electronic device optimizes application code based on user input, allowing users to select and compile applications using a compilation filter tailored to their preferences, providing real-time optimization and visibility into the compilation process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the hybrid compilation method is used to reduce installation time and storage space, then installation efficiency is improved, but application execution performance deteriorates when specific conditions are not met

Engineering Contradiction:
Improveinstallation efficiencyVSAvoidapplication execution performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary analysis of application code to identify frequently executed methods before runtime compilation. By pre-processing the code and creating a profile of usage patterns, the system prepares optimization targets in advance, enabling faster compilation when conditions are met and improving overall execution performance without sacrificing installation efficiency.

Inventive Principle:
Principle #10Preliminary action

2Quantity of substance

If compilation is performed only when specific conditions are satisfied, then installation time and storage space are reduced, but execution speed deteriorates due to waiting for conditions

Engineering Contradiction:
Improvestorage spaceVSAvoidexecution speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The system implements feedback mechanisms that continuously monitor application execution patterns and condition states. When frequently executed methods are detected, the system provides feedback to trigger compilation even if traditional conditions are not fully met, thereby improving execution speed while maintaining reasonable storage space utilization through selective compilation based on actual usage feedback.

Inventive Principle:
Principle #23Feedback

3Speed

If the AOT method is used to improve execution speed, then application execution is faster, but installation time and storage space increase

Engineering Contradiction:
Improveexecution speedVSAvoidinstallation efficiency
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

Instead of compiling entire applications using AOT method, the system applies local quality by selectively compiling only the frequently executed portions of code (hot paths) while leaving less critical code in interpretable form. This approach achieves execution speed improvement for critical paths without incurring the full installation time and storage overhead of complete AOT compilation.

Inventive Principle:
Principle #3Local quality

4Extent of automation

If no user control is provided for compilation, then the system operates automatically, but users cannot optimize performance for their specific usage patterns

Engineering Contradiction:
Improveautomatic compilationVSAvoiduser-specific optimization
Core Design Contradiction:
Extent of automationVSAdaptability or versatility

Solution Approach 1:

The system implements dynamic control where compilation behavior adapts based on both automatic detection of usage patterns and user preferences. Users can dynamically adjust compilation priorities, select specific applications for optimization, and modify compilation triggers according to their specific needs, while the system maintains automatic operation for default scenarios, achieving both automation and adaptability.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentEP3977264B1Application optimization method and electronic device supporting the same
Publication Date: 2025.10.15 SAMSUNG ELECTRONICS CO LTD
  • EP3977264B1 patent drawingFigure 1
  • EP3977264B1 patent drawingFigure 2~3
  • EP3977264B1 patent drawingFigure 4

AI summary

An electronic device and method are disclosed. The electronic device includes an input device, a display, a memory and a processor. The processor implements the method, including: determining, by at least one processor, whether a designated condition is satisfied, based on determining that the designated condition is satisfied, displaying, on a display of the electronic device, a list of applications installed in a memory of the electronic device, detecting a first input through an input device selecting at least one application from the list, and compiling the selected at least one application.