Application program packaging method and device, computer device, and computer storage medium

A technology of computer devices and application programs, applied in the field of computer software, can solve problems such as time-consuming about five or six minutes and failure to provide, and achieve the effect of improving packaging efficiency

Pending Publication Date: 2019-03-29
CHINA PING AN LIFE INSURANCE CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] (1) Adding a channel number needs to be packaged once, and multiple steps are required to complete the package, and it takes about five or six minutes to package once;
[0004] (2) Depending on the development environment, such as Android Studio and eclipse, if there is no development environment, other channel packages cannot be provided

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 program packaging method and device, computer device, and computer storage medium
  • Application program packaging method and device, computer device, and computer storage medium
  • Application program packaging method and device, computer device, and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] figure 1 It is a flow chart of the application packaging method provided by Embodiment 1 of the present invention. The application program packaging method is applied to a computer device. The application program packaging method packages the application program to generate an installation package containing channel information. like figure 1 As shown, the application packaging method specifically includes the following steps:

[0056] Step 101, obtaining the basic installation package of the application program.

[0057] The basic installation package is an installation package that does not contain channel information.

[0058]A base installer of a packaged application can be obtained. Or, the basic installation package can be generated according to the source code of the application program.

[0059] In one embodiment, generating the basic installation package may include the following steps:

[0060] The first step: package the resource files of the applicati...

Embodiment 2

[0099] figure 2 A structural diagram of an application packaging device provided in Embodiment 2 of the present invention. like figure 2 As shown, the application packaging apparatus 10 may include: an acquiring unit 201 , a creating unit 202 , a reading unit 203 , a copying unit 204 , a generating unit 205 , and a naming unit 206 .

[0100] The obtaining unit 201 is configured to obtain the basic installation package of the application program.

[0101] The basic installation package is an installation package that does not contain channel information.

[0102] A base installer of a packaged application can be obtained. Or, the basic installation package can be generated according to the source code of the application program.

[0103] In one embodiment, the acquisition unit 201 generating the basic installation package may include the following steps:

[0104] The first step: package the resource files of the application program and generate the R.java file. In this st...

Embodiment 3

[0143] This embodiment provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the above embodiment of the application packaging method are implemented, for example figure 1 Steps 101-106 shown:

[0144] Step 101, obtaining the basic installation package of the application;

[0145] Step 102, creating a channel number configuration file of the application;

[0146] Step 103, read a channel number from the channel number configuration file;

[0147] Step 104, copying the basic installation package to obtain the initial installation package corresponding to the channel number;

[0148] Step 105, generating an empty file under the META-INF directory of the initial installation package;

[0149] Step 106, in the initial installation package, name the empty file with the channel number, and obtain the channel package corresponding to the channel...

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

An application program packaging method includes: obtaining a basic installation package of that application program; creating a channel number configuration file of the application program; reading achannel number from the channel number configuration file; copying the basic installation package to obtain an initial installation package corresponding to the channel number; generating an empty file in the the META-INF directory of the initial installation package; In the initial installation package, the empty file is named after the channel number to obtain the channel package correspondingto the channel number. The invention also provides an application program packaging device, a computer device and a computer-readable storage medium. The invention can quickly generate an installationpackage containing channel information.

Description

technical field [0001] The invention relates to the technical field of computer software, and specifically relates to an application program packaging method and device, a computer device, and a computer-readable storage medium. Background technique [0002] At present, many apps on the market need to configure multiple channel numbers, and the channel numbers are written in a static file in the installation package. The existing packaging method for multi-channel account installation packages has the following problems: [0003] (1) Adding a channel number needs to be packaged once, and multiple steps are required to complete the package, and it takes about five or six minutes to package once; [0004] (2) Depending on the development environment, such as Android Studio and eclipse, if there is no development environment, other channel packages cannot be provided. Contents of the invention [0005] In view of the above, it is necessary to propose an application packagin...

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): G06F8/61
CPCG06F8/61
Inventor 张欢
Owner CHINA PING AN LIFE INSURANCE 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