Application packaging method and device

A technology of application programs and configuration files, applied in the field of data processing, can solve problems such as time-consuming, large installation packages, and reduced application packaging efficiency and application release efficiency

Pending Publication Date: 2019-10-18
ALIBABA GRP HLDG LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For some large-scale applications, such as shopping platforms and video platforms, there are many functions and a large amount of code. If they are directly packaged without code simplification and optimization, it will As a result, the entire installation package is very large, and a large amount of executable code will also affect the online stability of the application. Therefore, it is necessary to streamline and optimize the code.
[0004] At present, application packaging usually directly uses the proguard tool to simplify, optimize and obfuscate the application code at one time and then package it. When the application code is large, this packaging method usually takes a long time and reduces the Application packaging efficiency and application distribution efficiency

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
  • Application packaging method and device
  • Application packaging method and device
  • Application packaging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0150] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0151] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of an application packaging method of the present application, which may specifically include the following steps:

[0152] Step 101, obtain the source code of the application program to be packaged.

[0153] An application program can be a computer program for completing one or more specific tasks. It runs in user mode, can interact with users, has a visual user interface, and corresponds to different system platforms. Application programs can be written in different ways. Language construction, for example, for Android platform, can be written in Java language, and its source code can be JavaScript code.

[0154] The sou...

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

Embodiments of the invention provide an application packaging method and an application packaging device. The application packaging method comprises the steps of obtaining a source code of a to-be-packaged application; determining a service module to which a code in the source code belongs; obtaining a dependency relationship between the service modules; according to the dependency relationship, packaging the codes of the service module to obtain a packaged file of the service module; and packaging the application program by adopting the packaging file of the service module. The source code isdivided into different service modules, and the dependency relationship between the service modules is analyzed; according to the embodiment of the invention, concurrent packaging processing can be carried out on a plurality of service modules by adopting multiple threads according to the dependency relationship, so that the problem of long time consumption for carrying out one-time packaging processing on source codes of the application program is avoided, the packaging time of the application program is shortened, and the packaging efficiency and the publishing efficiency of the applicationprogram are improved.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to an application packaging method and device. Background technique [0002] As the application program has more and more functions, the application program also becomes larger and larger, and the application program is usually packaged and distributed for users to download and install. [0003] For some large-scale applications, such as shopping platforms and video platforms, there are many functions and a large amount of code. If they are directly packaged without code simplification and optimization, the entire installation package will be very large, and a large amount of executable code will also It affects the online stability of the application, so it is necessary to streamline and optimize the code. [0004] At present, application packaging usually directly uses the proguard tool to simplify, optimize and obfuscate the application code at one time and the...

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/41G06F8/53
CPCG06F8/443G06F8/53
Inventor 鲁嘉武
Owner ALIBABA GRP HLDG 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