Quick batch generation method and system for android program installation packages

A technology for generating systems and installation packages, applied in the field of mobile Internet, can solve problems such as high error rate, low efficiency, and efficiency to be improved, and achieve the effects of reducing manual intervention, improving work efficiency, and high execution efficiency

Inactive Publication Date: 2016-11-16
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In this way, dozens of program installation packages need to be produced every time a program version is released. In the prior art, the program installation packages are generated in the following ways: (1) the installation packages are generated by the android studio programming tool, but in the above method, each time Only 1 installation package can be produced, and it takes about 5 minutes to produce 1 installation package. If 50 installation packages are produced, a large number of repeated operations are required, and the efficiency is very low. Moreover, each time is manual operation, and the error rate is relatively high; (2) Batch generation of installation packages is achieved by writing Gradle packaging scripts. In the above method, each time Gradle produces an installation package, the project project needs to be rebuilt once. It takes about 5 minutes to build a project project. Related to computer performance, although manual operations are reduced, efficiency still needs to be improved
In short, in the above method, each package needs to be compiled and built again, and the existence of this process makes batch packaging take a long time, which seriously reduces the batch packaging efficiency of installation packages for app store programs

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
  • Quick batch generation method and system for android program installation packages
  • Quick batch generation method and system for android program installation packages
  • Quick batch generation method and system for android program installation packages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Such as figure 1 As shown, the method involved in this embodiment mainly includes the following core processes:

[0050] Package file preparation: including unsigned installation package, key, key path, channel number identifier file;

[0051] Decompress the file package: directly decompress the unsigned installation package;

[0052] Modify the channel number in the configuration file in the installation package;

[0053] Obtain the installation package for key generation.

[0054] Such as figure 2 As shown, in the specific execution steps, according to the method for rapid batch generation of Android program installation packages implemented in the present invention, the entire rapid batch program package generation includes the following steps:

[0055] STEP1: Determine the information of the application store corresponding to the installation package to be uploaded, and assign an identifier to each application store. Generally, the identifier is in the form of a number;

[005...

Embodiment 2

[0066] Such as image 3 As shown, in completing the above-mentioned batch generation steps, the present invention additionally assists the automatic execution of the batch installation package generation by writing a python script, where the functions of the script involve the following steps:

[0067] STEP1: Use apkTool.jar to unzip the packaged application installation package with unsigned channel name. The installation package with unsigned channel name is an installation package that has not been generated for each application store temporarily;

[0068] STEP2: Read one of the channel number identifiers in the channel number identifier file;

[0069] STEP3: Modify the channel number in the configuration file AndroidManifest in the decompressed application to the read channel number identifier;

[0070] STEP4: Repackage the program installation package of the signed channel name;

[0071] STEP5: Fill in the path and password of the signature key file key to complete the generation o...

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 discloses a quick batch generation method and system for android program installation packages. The generation method comprises the following steps of generating unsigned android program installation packages, and setting a file with a plurality of channel number identifiers; decompressing the unsigned android program installation packages; and sequentially reading the channel number identifiers in the file with the channel number identifiers to modify channel numbers of configuration files in the decompressed unsigned android program installation packages, and performing repackaging so as to realize batch generation of the android program installation packages. According to the quick batch generation method and system for the android program installation packages, disclosed by the invention, the generation efficiency of the batch program installation packages can be remarkably improved.

Description

Technical field [0001] The present invention belongs to the field of mobile Internet, and more specifically, relates to a method and system for rapid batch generation of Android program installation packages. Background technique [0002] After developing a mobile application software, in addition to placing it on the company’s official website / personal homepage for users to download and use, there is also an important promotion method, which is the application store, such as Apple’s app store and Google’s android market. . If you want your application software to be understood and used by more users, publishing to the application store is an indispensable promotion channel. [0003] At present, the mobile Internet industry is developing rapidly, and various mobile phones, tablet computers, and smart TV software are emerging in an endless stream. As the main download channel of mobile software, there are also various application stores. At present, there are hundreds of domestic a...

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): G06F9/44G06F9/445
CPCG06F8/30G06F8/61
Inventor 杨明
Owner WUHAN DOUYU NETWORK 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