Method for generating APK file and terminal

A file and terminal technology, applied in the field of communication, can solve the problems of APK file piracy, decompilation, code tampering and repackaging and distribution, and achieve the effect of preventing decompilation and tampering of java code

Active Publication Date: 2015-09-23
MEIZU TECH CO LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and a terminal for generating an APK file, which can solve the problem that the generated APK file is e...

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
  • Method for generating APK file and terminal
  • Method for generating APK file and terminal
  • Method for generating APK file and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The embodiment of the present invention provides a method and terminal for generating an APK file, which is used to solve the problem that the generated APK file is easily decompiled by a decompilation tool, and it is very easy to pirate the APK file, tamper with the code and repackage and distribute it, and can Improve the security of APK files.

[0052] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of t...

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 the field of communication, in particular to a method for generating an APK file and a terminal. According to the embodiment, the method includes the steps that an executable file supported by an Android virtual machine is received; the verification value of the executable file is calculated according to a preset verification rule; the verification value of the executable file and the preset verification rule are compiled to generate a first file which can be called by the executable file; the executable file and the first file are packed to form the APK file. According to the embodiment, due to the fact that the calculated verification value of the executable file and the preset verification rule are compiled to generate the first file and due to the mutually dependent relation between the executable file and the first file, the first file in the APK file which is finally packed can only be used by the executable file generated in the APK file packing process of the time, the safety of the APK file is improved, the self-protection capability of the java code of the APK file is improved, and the problem that a java code is tampered due to decompiling is effectively solved.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and a terminal for generating an APK file. Background technique [0002] Along with the appearance of intelligent mobile terminals, a batch of mobile terminal systems have sprung up, such as android (Android) system is a kind of intelligent mobile terminal system widely used at present, wherein APK (Android application package) application installation file is a kind of standard android App installer. [0003] The programming language used by the software on the Android platform is Java, and through a series of compilation and packaging processes, the written Java code will finally form an APK file, which can be downloaded from the Internet for installation. [0004] However, due to the development and growth of the Android mobile platform, a large number of software based on the Android platform have emerged, and the distribution methods of these software have become more cha...

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
IPC IPC(8): G06F9/44G06F9/445
Inventor 刘俊
Owner MEIZU TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products