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

A method and device for establishing a decompiled class collection mapping relationship between different versions of Android applications

An Android application, mapping relationship technology, applied in the direction of decompilation/disassembly, program code conversion, etc., can solve the problems of class name confusion, spending a lot of time and energy, and large amount of APP code, so as to improve the establishment efficiency and accuracy efficiency, reduce difficulty, and improve comprehension efficiency

Active Publication Date: 2019-07-05
PEKING UNIV
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the amount of APP code is large and the structure is complex. In the absence of source code, the class name is confusing and difficult to understand.
It takes a lot of time and effort to manually find the mapping relationship between different version class collections, and it is difficult to implement

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
  • A method and device for establishing a decompiled class collection mapping relationship between different versions of Android applications
  • A method and device for establishing a decompiled class collection mapping relationship between different versions of Android applications
  • A method and device for establishing a decompiled class collection mapping relationship between different versions of Android applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the above purpose, characteristics and technology of the present invention more obvious and understandable, the technical solution of the present invention will be described in detail below.

[0036] figure 1 It is a flow chart of the steps of the method of the present invention, specifically comprising the following steps:

[0037] (1) Obtain the collection of decompiled classes.

[0038] For two different versions of the APP, due to the lack of source code, the APK file needs to be decompiled. First, you need to decompress the APK file to obtain the DEX file, that is, the Android executable file. Then use tools such as dex2jar to convert it into a jar package, and finally use tools such as jd-gui to obtain the decompiled source code. Extract the decompiled class set from the source code, and use one version as the evaluation set, and the other version as the judged object. Generally, the version with more complete documentation, clearer structure,...

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 relates to a method and a device for establishing a decompilation class set mapping relation between different versions of an Android application (APP). The method comprises the steps that (1) decompilation class sets of two different versions of the Android APP are acquired, the decompilation class set of one version is used as a judgment set, and the decompilation class set of theother version is used as a judged object; (2) a factor set is determined, the membership of a judged class to each class in the judgment set on each factor is calculated according to the judgment setand the factor set, and a fuzzy matrix is formed according to the membership; (3) weights of the factors are defined, the total membership of the judged class to each class in the judgment set is calculated according to the weights of the factors and the fuzzy matrix; and (4) whether the judged class establishes a mapping relation with the classes in the judgment set is determined according to thelevel of the total membership. Through the method and the device, the understanding efficiency of a developer on the difference between the different versions of the APP is improved, and the generation difficulty of a missing document is lowered.

Description

technical field [0001] The present invention is a method and a device for establishing a decompiled class set mapping relationship between Android application programs (Application, APP) of different versions by using fuzzy comprehensive evaluation technology. Background technique [0002] APP documentation is important information for understanding APP functions, performance, and usage methods, and is also an important basis for APP development and maintenance. However, for a large number of enterprises and government units, they often develop applications through third-party teams, facing the problem of missing source codes and some documents. They often have documents for the first version or some important versions, and lack of documents for other versions, which makes it very difficult to understand these versions. In order to solve this problem, an effective method is to compare the differences between different versions of APP, and use existing documents to generate ...

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 Patents(China)
IPC IPC(8): G06F8/53
CPCG06F8/53
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