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

Android platform executable program encrypting method

A technology for executing programs and encryption methods, applied in the direction of program/content distribution protection, computer security devices, instruments, etc., can solve problems such as damaging the interests of application program developers, and achieve the effect of protecting interests and preventing decompilation

Active Publication Date:
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the multiple uses mentioned above seriously damage the interests of application developers

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
  • Android platform executable program encrypting method
  • Android platform executable program encrypting method
  • Android platform executable program encrypting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] The traditional Java virtual machine can implement class encryption through the defineClass method of ClassLoader. defineClass can convert a piece of data in the memory into a virtual machine class, but the Android virtual machine does not provide this method. In addition, since the Android virtual machine introduces a stage called dexopt, the dex file must be converted into an odex file through this program. The odex is generated when running or installing the apk, and stored on the disk. Due to the limitations of the Android virtual machine itself, normal methods cannot implement class encryption.

[0028] Such as image 3 As shown, the present invention adopts the method of replacing the API to realize the encryption of the APK. Since the Android Dalvik virtual machine and the APK run in the same process space, the key API of the Dalvik VM can be replaced to realize the runtime decryption of the APK.

[0029]Replacement API refers to the function of replacing the s...

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 an Android platform executable program encrypting method. The Android platform executable program encrypting method comprises the steps of, firstly, packaging APK (Android package) files into encrypted APK files through a package tool; secondly, performing run-time encryption and decryption in a mode of API (application programming interface) interception and replacement. The Android platform executable program encrypting method can avoid decompilation, tempering and pirate of APKs, thereby protecting the interests of program developers.

Description

technical field [0001] The present invention relates to software processing technology, and more specifically, relates to an executable program encryption method of an Android platform. Background technique [0002] The APK file is an application package file (application package file) of the Android platform, and is an application installation file format on the Android operating system. The code of an Android application runs on an Android device. It must be compiled first, and then packaged into a file that can be recognized by the Android system before it can be run. The file format that can be recognized and run by the Android system is "APK" files. An APK file contains compiled code files (classes.dex files), file resources (resources), certificates (certificates) and manifest files (manifest file: AndroidManifest.xml). [0003] Since the Android platform is developed using the Java language, the code in the Apk is easy to decompile. On the basis of decompilation, i...

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): G06F21/12
CPCG06F21/125G06F21/14G06F2221/2107
Inventor 陈彪阚志刚王卫民
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