Application of multi-channel packaging method, device, computer equipment and storage medium

A multi-channel and channel technology, applied in version control, software deployment, software maintenance/management, etc., can solve problems such as error-prone, low packaging efficiency, and inability to modify code

Active Publication Date: 2019-12-24
PING AN TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] This application provides a multi-channel packaging method, device, computer equipment and storage medium, aiming to solve the problem of multi-channel packaging in the prior art. Every time a channel package is added, the build.gradle needs to be modified, and the productFlavors defines the channel number, and the code cannot be modified during the packaging process, resulting in low packaging efficiency and error-prone problems

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 of multi-channel packaging method, device, computer equipment and storage medium
  • Application of multi-channel packaging method, device, computer equipment and storage medium
  • Application of multi-channel packaging method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0033] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0034] It should also be understood that the terminology used in the specificati...

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

Disclosed are a multi-channel packaging method and apparatus for an application, a computer device, and a storage medium. The method comprises: acquiring an apk installation package, adjusting an extension of the apk installation package to be a specified extension by means of a first script, and carrying out unzipping to obtain an unzipped file; acquiring multiple sub-files included in the unzipped file and respectively carrying out an SHA1 operation to obtain file digests corresponding to the sub-files on a one-to-one basis; respectively carrying out Base64 encoding on the file digests to obtain hash values corresponding to the file digests on a one-to-one basis and storing same in a directory of the sub-files; creating a channel marking file in the directory of the sub-files by means of a second script, and correspondingly naming the channel marking file according to a channel number to be configured to obtain an unzipped file including channel data; and zipping the unzipped file by means of a third script to obtain a channel package. The method realizes the automation of forming a channel package, simplifies the process of forming the channel package, and increases the packaging efficiency and the success rate.

Description

technical field [0001] The present application relates to the technical field of Android application development, in particular to an application multi-channel packaging method, device, computer equipment and storage medium. Background technique [0002] At present, when Android applications (that is, application programs in the Android system) are packaged in multiple channels, the following scheme is generally adopted: [0003] 1) Define the mate-data tag in the AndroidManifest.xml file, and set the channel placeholder; [0004] 2) Define the channel number in productFlavors under the project build.gradle file (the gradle file is a project automation build tool; productFlavors is used to define the characteristics of the product); [0005] When using the above method for multi-channel packaging, every time you add a channel package, you need to modify build.gradle, and you need to define the channel number in productFlavors, that is, when you need to configure multiple ch...

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 Patents(China)
IPC IPC(8): G06F8/71
CPCG06F8/71G06F8/61
Inventor 杨文
Owner PING AN TECH (SHENZHEN) 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