Precompiled ODEX Files in Android APKs for Rapid Deployment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing Android application installation process on mobile intelligent devices is slow and resource-intensive due to the need for localized compilation of Dex bytecodes into machine codes, leading to long installation times and high energy consumption, resulting in poor user experience.

Innovation Solution

Incorporating an optimized target file, such as a machine code file for the ART virtual machine or an ODEX file for the Dalvik virtual machine, into the APK installation package and utilizing a cloud application store and client to facilitate rapid deployment, eliminating the need for localized compilation during installation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If localized compilation of Dex bytecodes into machine codes is performed during installation, then application compatibility across different devices is ensured, but installation time and energy consumption increase significantly

Engineering Contradiction:
Improveapplication compatibilityVSAvoidinstallation time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent pre-compiles Dex bytecodes into optimized machine codes (odex files) during the application packaging stage, before installation. The precompiled odex files are stored in the APK package, eliminating the need for compilation during device installation. This preliminary action resolves the contradiction by ensuring compatibility through advance compilation while avoiding time loss during actual installation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts the code compilation process from the installation process. By separating the compilation step (performed offline during packaging) from the installation step (performed online on device), the patent removes the time-consuming compilation operation from the installation workflow, thus reducing installation time while maintaining compatibility through the extracted and precompiled odex files.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If localized compilation of Dex bytecodes into machine codes is performed during installation, then application compatibility across different devices is ensured, but energy consumption increases

Engineering Contradiction:
Improveapplication compatibilityVSAvoidenergy consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent performs code compilation in advance during the application packaging stage, before the application is installed on any device. By completing the energy-intensive compilation process offline during packaging, the patent eliminates the need for high energy consumption during device installation, while still ensuring compatibility through the precompiled odex files that are included in the APK.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If precompiled machine code files are integrated into APK packages, then installation speed is improved, but device compatibility and optimization may be compromised

Engineering Contradiction:
Improveinstallation speedVSAvoiddevice compatibility
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent applies local quality by creating device-specific optimized versions of applications. The system identifies the target device's architecture and optimization characteristics, then generates and distributes the appropriate precompiled odex files tailored to each device type. This ensures that while installation is fast, the precompiled code is optimized for the specific device, maintaining both speed and compatibility.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes parameters by generating different precompiled versions of applications based on device-specific parameters such as CPU architecture, instruction set, and optimization level. By varying these parameters when creating odex files for different devices, the patent ensures that precompiled applications maintain both high installation speed and device-specific optimization and compatibility.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10007501B1Method of deploying applications rapidly based on customized android platform
Publication Date: 2018.06.26 HUNAN NEW CLOUDNET TECH CO LTD
  • US10007501B1 patent drawing
  • US10007501B1 patent drawing
  • US10007501B1 patent drawing

AI summary

The present invention discloses a method for rapidly deploying an application based on a customized android platform, and is aimed to solve the problems of long installation time, high energy consumption, a slow system response, and poor user experience when installing an application in a mobile intelligent device running the Android system. The technical solutions are as below: building a system for rapidly deploying an application based on the customized Android platform, wherein the system includes a cloud application store running in a cloud server and an application store client running in a mobile intelligent device; improving the installation process of the application for the Android system, introducing the cloud application store and a store client, and incorporating an optimized target file into the APK file, wherein the optimized target file is needed when the mobile intelligent device runs the application.