Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Decoupling method for Android application

A technology for Android and application installation. It is applied in the direction of program code conversion, decompilation/disassembly, software deployment, etc. It can solve the problems of slow loading of web pages, slow application startup, memory power consumption, etc., and reduce the opening time and application volume. Reduce, reduce the effect of application energy consumption

Pending Publication Date: 2018-07-17
PEKING UNIV
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] More and more complex applications cause users to wait for longer download and installation times when trying new applications. At the same time, the increase in the size of the application will also cause the application to start slowly, load more memory and consume more power.
The above problems will affect the user experience of using the application, leading to the loss of application users, causing losses to both users and developers
[0005] In view of the above status quo, people in the industry try to solve related problems from different angles, but the results are not satisfactory
On the one hand, it is possible to use related functions by allowing users to access the web version of the service, but this method will be limited by the slow loading of web pages and poor interaction, and users cannot obtain the same experience as mobile applications; on the other hand, developers By providing a simplified version of the application to the end user to reduce the overhead of downloading and installing the application, but this solution requires the developer to maintain multiple versions of the application, which will increase the developer's additional development and maintenance costs, and if the user needs the simplified version When the function is not provided in the application, it is still necessary to download the complete application

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Decoupling method for Android application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to clearly and completely describe the technical solutions in the embodiments of the present invention. An application example of a decoupling method for an Android application will be given below with reference to the drawings in the embodiments of the present invention. combine figure 1 As shown, the method mainly includes the following steps:

[0024] 1) Decompile the APK file of the application through the decompilation tool to obtain the dex bytecode file of the application (that is, the class code file of the application), the resource file of the application (including layout files, image resources, etc.), AndroidManifest.xml file and resources .arsc file (the configuration file of the application, which contains the page information and resource information of the application), C / C++ class library (that is, the so file, which is a native class library developed by C / C++).

[0025] Through the static analysis of the bytecode, the call graph between all...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a decoupling method for Android application. The method can automatically decouple the existing Android application into a base package and a function package. The base packagecontains common functions used by users in the application. The function package contains other functions and users can download it as needed. The core idea is to use static analysis to analyze the dependencies between Android pages, re-package common pages as well as dependent codes and resources into the base package and package other non-common pages as well as dependent codes and resources into the function package that is downloaded to the device when users access. At the time of operation, the installation and running of the decoupled are managed by a container in the application layer.Blocking and simulating Android runtime environment to run the pages in the base package and dynamically loading the pages in the package in combination with Android runtime loading mechanism.

Description

technical field [0001] The invention relates to the technical field of software, in particular to a method for decoupling Android applications. Background technique [0002] With the popularization of mobile devices such as smartphones and tablets, more and more users meet their daily life and work needs through mobile applications installed on mobile devices, such as users browsing current affairs news through news applications, online shopping through shopping applications, etc. . [0003] Due to the limitations of existing application distribution and installation mechanisms, users must download a complete application installation package (such as an APK file of an Android application) from an application store, then install the downloaded application installation package, and finally open the application to use the functions of the application. However, with the iteration of the application version, developers integrate more and more functions into the application, and ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/53G06F8/61
CPCG06F8/53G06F8/61
Inventor 刘譞哲黄罡柳熠马郓梅宏
Owner PEKING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products