WO2017084266A1 - 一种定制多渠道安装包的方法及装置 - Google Patents

一种定制多渠道安装包的方法及装置 Download PDF

Info

Publication number
WO2017084266A1
WO2017084266A1 PCT/CN2016/082637 CN2016082637W WO2017084266A1 WO 2017084266 A1 WO2017084266 A1 WO 2017084266A1 CN 2016082637 W CN2016082637 W CN 2016082637W WO 2017084266 A1 WO2017084266 A1 WO 2017084266A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
temporary
installation package
file
application
Prior art date
Application number
PCT/CN2016/082637
Other languages
English (en)
French (fr)
Inventor
薛伟
Original Assignee
乐视控股(北京)有限公司
乐视网信息技术(北京)股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视网信息技术(北京)股份有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017084266A1 publication Critical patent/WO2017084266A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • Embodiments of the present invention relate to the field of application installation, and in particular, to a method and an apparatus for customizing a multi-channel installation package.
  • the application installation package published to various markets includes a channel variable to record the channel number.
  • the channel number of an application applied in the pea pod market is wandoujia
  • the 360 mobile assistant channel number is 360_zhushou.
  • Channel package With more and more channels, some hot applications on the Internet, even hundreds of channels, efficiently and quickly compile these installation packages, is a key factor in the market release speed to seize the market.
  • the packaging scheme that is commonly used nowadays is mainly to add the channel number record variable in the androidmainfest.xml file.
  • the main difference in the installation package of each channel is this variable. Modify the variable before compiling the installation package for each channel, and then use the android native compilation method to compile and generate the installation package.
  • the embodiment of the invention provides a method for customizing a multi-channel installation package, which is used to solve the defect that the developer needs to manually modify the channel number variable in the prior art, and realizes the dynamic reading of the channel information.
  • the embodiment of the invention provides a video output mode switching method, which includes the following steps:
  • the Android compilation mode generate a basic installation package by using the source code of the application, and copy the basic installation package to the temporary installation package;
  • Reading the unread channel information of the application generating a temporary channel file according to the channel information, and naming the temporary channel file by using a channel number corresponding to the channel information;
  • An embodiment of the present invention provides an apparatus for customizing a multi-channel installation package, including:
  • Compilation unit for generating the source code of the application according to the Android compilation mode Basic installation package, and copy the basic installation package to the temporary installation package;
  • a channel information reading unit configured to read unread channel information of the application, generate a temporary channel file according to the channel information, and name the temporary channel file by using a channel number corresponding to the channel information;
  • the installation package pushing unit is configured to push the channel package to the promotion channel for the terminal to download.
  • the method and device for the multi-channel customized installation package provided by the embodiment of the present invention change the process of the manual participation of the multi-channel installation package compilation process in the prior art and the process of repeatedly compiling the installation package, and at the same time, the embodiment of the present invention proposes The solution greatly improves the packaging efficiency of multi-channel installation packages.
  • Embodiment 1 is a technical flowchart of Embodiment 1 of the present invention.
  • Embodiment 2 is a technical flowchart of Embodiment 2 of the present invention.
  • FIG. 3 is a structural diagram of a device according to Embodiment 3 of the present invention.
  • the "channel” is a network platform that a user can download an application, such as an application store, an official website published by an application, a promotion download provided by a search platform, and the like.
  • Each "channel number” marks a corresponding network platform, and through the "channel number", it is possible to uniquely identify which network platform an application is distributed through.
  • the "channel package” is to package the installation package of the application into different channels.
  • a method for customizing a multi-channel installation package according to the present invention includes the following steps:
  • Step 101 According to the Android compilation mode, generate a basic installation package by using the source code of the application, and copy the basic installation package to the temporary installation package;
  • the native compilation method of Android is mainly completed through the following processes:
  • the first step is to package the resource file and generate the R.java file.
  • This process uses the aapt tool to package the Resource file, the AndroidManifest.xml file, and the Android base class library (Android.jar file).
  • the second step is to process the AIDL file and generate the corresponding .java file.
  • This step uses the aidl tool to generate the source file, aidl file, and framework.aidl file as the corresponding .java file.
  • the third step is to compile the Java file and generate the corresponding .class file. In this step, use the javac tool to compile source files (including .java files generated by R.java and AIDL) and library files (.jar files) into .class files.
  • Step 4 Convert .class files to Davik VM support. .dex file.
  • the .class files in this step include Aidl generated .class files, R generated .class files, source files generated by .class files, library files (.jar files), and finally converted to .dex files;
  • Step 5 Packaging Generate an unsigned .apk file. Use the apkbuilder tool to package the packaged resource file, the packaged class file (.dex file), and the libs file into an unsigned .apk file.
  • Step 6 Use the jarsigner to sign the unsigned .apk file and get the signature.
  • Step 7 Use the zipalign tool to align the signed .apk file. Normally, it can't be posted to Google Market without alignment.
  • the source code of the application can generate a basic installation package.
  • the basic installation package in the embodiment of the present invention does not carry any channel information, and is an original installation package obtained by compiling the original code of the application.
  • the base installation package is typically presented in the form of a compressed file.
  • the "compilation" described in the embodiment of the present invention is a generalized compilation, including all processes of processing a source code file and a configuration file to generate an installation file, for example, including compiling and generating an executable program for the source code file, Interpretive files, etc., also include the generation of compressed packages, installers, etc. that support the automatic installation of applications.
  • the generated basic installation package is copied, and a plurality of temporary installation packages are obtained, so that the temporary installation package is subsequently modified to obtain a channel package corresponding to different distribution channels of the application.
  • Step 102 Read unread channel information of the application, generate a temporary channel file according to the channel information, and name the temporary channel file by using a channel number corresponding to the channel information;
  • each unread channel information is traversed from the preset channel list, and a temporary channel file is generated according to the channel information, that is, each of the channel information corresponds to one of the temporary channel files. Until all channel information is read. After the temporary channel file is obtained, each of the temporary channel files is named.
  • the temporary channel file is an empty file, and the file is put into the apk when packaged, and the channel information is used. Name the channel file. When the apk is running, the channel number is obtained, and the file name of the channel file is read to obtain the distribution channel of the application.
  • the corresponding temporary channel file can be named by wandoujia or abbreviated wdj.
  • wdj the temporary channel file
  • it can also be named with any string or number, such as the temporary channel of the pea pod channel.
  • the temporary file file of the channel named channel1, application treasure may be named channel2, and the temporary channel file of the official publishing website may be named channel3 and the like.
  • Step 103 Write the temporary channel file into the temporary installation package, and name the temporary installation package with the channel number and the name of the application to obtain a channel package corresponding to the channel information, and The channel package is pushed to the promotion channel for the terminal to download.
  • the temporary channel file is written in a file directory that does not affect signature authentication, so as to obtain a channel package by modifying the temporary installation package.
  • the corresponding number of the channel information is equivalent to the number of the corresponding temporary channel files corresponding to the corresponding number of the channel packets.
  • the channel package is named by using the name of the application and the channel number to facilitate tag identification.
  • the channel pack name for LeTV videos can be named LETV_channel1 or LETV_anzhimarket.
  • the temporary channel file is written into the temporary installation package as follows: the temporary installation package is read and decompressed into a file output stream in the memory, and the temporary channel file is outputted as an output stream. The form is written to the output stream of the installation package, and finally the output stream of the installation package that writes the channel file is converted into an input stream and re-saved into the apk installation package file. This avoids the performance penalty of repeatedly decompressing the installation package to the hard disk and recompressing when packaging multiple files.
  • steps 102 to 103 in the implementation of the present invention are repeatedly performed for each channel information until all channel information is obtained, thereby avoiding missing some channel packets and affecting the promotion effect.
  • the embodiment of the present invention provides a method for customizing a multi-channel installation package, and adding the temporary channel file to a file that does not require signature authentication in the application installation package file does not affect the signature effect of the installation package, and does not need to be targeted.
  • the channel package is repeatedly compiled in each channel, which effectively saves the time for generating multi-channel installation packages and improves the packaging efficiency.
  • the download of the terminal is used.
  • the naming manner of the temporary installation package file also intuitively reflects the channel through which the application is used. It is more conducive to the statistics of channel effects when publishing or promotion.
  • only one installation package file needs to be compiled for each application, and the installation information of the channel information is not separately compiled, and a temporary channel file is generated for each channel information by querying the preset channel list.
  • the temporary channel file is directly written into the installation package for publishing, which effectively reduces the risk of packaging time and packaging failure, improves the working efficiency of the compiled software, and avoids a large amount of manual participation.
  • Embodiment 2 is a technical flow chart of Embodiment 2 of the present invention. In conjunction with FIG. 2, the following part will more clearly and specifically illustrate a method for customizing a multi-channel installation package of the present invention.
  • Step 201 The list of the distribution channels and the channel numbers corresponding to each application is summarized, and the preset channel list is generated.
  • the channel information table is established in advance according to the publishing channel of the application, and the channel information table stores a channel for publishing or promoting the application and a corresponding channel number.
  • the channel list may be displayed in text form.
  • each publishing channel number corresponding to the application may be obtained by performing a progressive scan on the channel list.
  • each network platform represents a distribution channel.
  • a unique channel number is set for each of the network platforms for identification.
  • the naming manner of the channel number is not unique, and the naming is used for example only.
  • the name of the channel number may be a full number or abbreviation of the number, the channel name, or even A random string or any combination of the above, as long as the corresponding channel can be uniquely identified.
  • Step 202 Generate a basic installation package by using source code of the application, and copy the basic installation package to the temporary installation package;
  • the purpose of the step operation is to copy the basic installation package to the same number of the temporary installation package according to the number of channels corresponding to the application, and subsequently refer to each channel according to different channel information.
  • the temporary installation package modifies the channel information and uses the corresponding channel information to name the temporary installation package.
  • the user can intuitively identify the application according to the name of the temporary installation package. It is more convenient for the background to collect statistics on different channels.
  • Step 203 Read unread channel information of the application, generate a temporary channel file according to the channel information, and name the temporary channel file by using a channel number corresponding to the channel information;
  • each unread channel information of the application may be scanned line by line according to the order in the preset channel list to avoid missing reading, and each time a new channel information is read, a corresponding The temporary channel file until traversing all channel information in the channel list.
  • Step 204 Write the temporary channel file into the META-INF directory in the temporary installation package.
  • the application After the developer completes the development of the application, the application needs to be compiled to generate an application installation package.
  • the android system uses a signature mechanism for each installation package to prevent the original program from being maliciously tampered with, so the application code cannot be modified after the installation package is generated.
  • the META-INF directory exists in the Android APK, which is used to store information such as the development version of the program. After the installation package is generated, modifying the contents of the file in this directory will not affect the signature effect, and still can pass the android. Signature certification. Therefore, in the embodiment of the present invention, the channel information is written in the META-INF directory in the basic installation package, and the channel information can be dynamically read after the application installation is started.
  • Step 205 Name the temporary installation package by using the channel number and the name of the application to obtain a channel package corresponding to the channel information.
  • the corresponding temporary installation package is named by the corresponding channel number and the name of the application, and is used to evaluate the promotion effect in the background. According to the name of the temporary installation package, it is possible to know which application and the corresponding promotion channel. For example, for the LeTV video client, the corresponding channel package is named LETV_wandoujia, LETV_anzhishichang, LETV_gov, etc. according to the name of the application and the distribution channel.
  • Step 206 Push the channel package to a promotion channel for the terminal to download.
  • Step 207 Receive a promotion result of the promotion channel reported by each terminal.
  • the promotion result includes a name of the channel package that is read by the terminal when the application is started, and the name of the channel package includes the channel number and the application name.
  • the source code corresponding to the application is copied by the same amount according to the number of channels, and then the channel number record variable is modified for each source code copied. After compiling and compiling, the workload is very large.
  • the temporary channel file including the channel information is written in a file directory that does not affect the signature effect, and the multiple channel installation package can be packaged in one time, thereby effectively reducing the packaging time and packaging. The risk of failure is extremely efficient.
  • the device for customizing a multi-channel installation package includes the following units: a compiling unit 301, a channel information reading unit 302, a write channel file unit 303, and an installation package pushing unit. 304.
  • the compiling unit 301 is configured to generate a basic installation package by using the source code of the application according to the Android compilation mode, and copy the basic installation package to the temporary installation package;
  • the channel information reading unit 302 is connected to the pre-stated channel information list, and is configured to read the unread channel information of the application, generate a temporary channel file according to the channel information, and use the channel corresponding to the channel information. Name the temporary channel file;
  • the write channel file unit 303 is connected to the compiling unit 301, and simultaneously invokes the temporary channel file in the channel information reading unit 302, and writes the temporary channel file. Entering into the temporary installation package, and naming the temporary installation package with the channel number plus the name of the application to obtain a channel package corresponding to the channel information;
  • the installation package pushing unit 304 is connected to the write channel file unit 303, and is configured to push the channel package to a promotion channel for downloading by the terminal.
  • the channel information reading unit 302 is further configured to query the channel list, and obtain the channel number corresponding to the channel information, where the preset channel list records the release of each of the application programs. Correspondence between channel information and channel number.
  • write channel file unit 303 is further configured to write the temporary channel file into the META-INF directory in the temporary installation package.
  • the device further includes a promotion amount statistic unit 305, configured to receive a promotion result of the promotion channel reported by each terminal, wherein the promotion result includes that the terminal is initiating the The name of the channel package read by the application installation, the name of the channel package includes the channel number and the name of the application; and the application is added according to the channel number to add the application by the channel number Named by the name of the program, the temporary installation package, and the file name of the application corresponding to the temporary installation package; according to the channel number and the name of the application, the application corresponds to each The promotion volume of the promotion channel.
  • the promotion result includes that the terminal is initiating the The name of the channel package read by the application installation, the name of the channel package includes the channel number and the name of the application; and the application is added according to the channel number to add the application by the channel number Named by the name of the program, the temporary installation package, and the file name of the application corresponding to the temporary installation package; according to the channel number and the name of the application, the application corresponds to each The promotion volume
  • the embodiment of the present invention provides a device for customizing a multi-channel installation package, and adding the temporary channel file to a file that does not require signature authentication in the application installation package file does not affect the signature effect of the installation package, and does not need to be targeted.
  • the channel package is repeatedly compiled in each channel, which effectively saves the time for generating multi-channel installation packages and improves the packaging efficiency.
  • the channel list of the LeTV cloud disk is established according to its market release channel, and the obtained channel list is as follows:
  • the developer compiles the source code of the good LeTV cloud disk to generate a basic installation package.
  • scanning the channel list reading the first channel information, that is, the release channel of the LeTV official website, and generating a corresponding temporary channel file, naming the temporary channel file as LETV-gov; then copying the basic installation
  • the package gets a temporary installation package, and the temporary channel file corresponding to the channel information of the LeTV official website is written into the META-INF directory of the temporary installation package; the temporary installation package is named Letv cloud_LETV-gov, which is obtained through the official LeTV
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located a place, or it can be distributed more On a network unit. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

一种定制多渠道安装包的方法及装置。所述方法包括:根据Android编译方式,将应用程序的源代码生成一个基础安装包,并复制所述基础安装包到临时安装包(101);读取所述应用程序的未读渠道信息并根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件(102);将所述临时渠道文件写入所述临时安装包中,并以所述渠道号加所述应用程序的名称来命名所述临时安装包得到所述渠道信息对应的渠道包,将所述渠道包推送至推广渠道以供终端下载(103)。所述方法缩减了多渠道安装包编译中大量的人工参与以及重复编译安装包的过程,极大提高了多渠道安装包的打包效率。

Description

一种定制多渠道安装包的方法及装置
交叉引用
本申请引用于2015年11月16日递交的名称为“一种定制多渠道安装包的方法及装置”的第201510784836X号中国专利申请,其通过引用被全部并入本申请。
技术领域
本发明实施例涉及应用程序安装领域,尤其涉及一种定制多渠道安装包的方法及装置。
背景技术
从Android诞生的那天开始,开源模式就吸引了大量的品牌和用户,基于Android的应用程序的发展趋势也屡创新高。目前互联网上存在非常多的应用程序下载市场,如google play,安智市场,91助手,豌豆荚等,每当应用程序发新版本时,Android客户端需要将应用程序分发到各个应用市场。为了统计这些市场活跃数,下载量等市场效果,需要有一种方法来唯一标识它们。
目前,应用程序通过渠道号(channel)来区分不同的市场。发布到各种市场的应用程序安装包中,包含一个channel变量记录该渠道号,比如,某一应用程序在豌豆荚市场中应用的渠道号是wandoujia,在360手机助手渠道号为360_zhushou。客户端访问API时会在请求参数中带上渠道号,以便后台接下来计算不同渠道的效果,例如统计哪些市场带来的用户量比较大或者可能有一些盈利需要和具体的渠道进行分成。
每次发版时,应用程序工程师会根据市场部提供的渠道列表生成等量 的渠道包。随着渠道越来越多,互联网上一些火热的应用,甚至达到数百个渠道,高效快速的编译这些安装包,是版本发布速度抢占市场的一个关键因素。
现在普遍采用的打包方案,主要是在androidmainfest.xml文件中,添加渠道号记录变量,每个渠道的安装包中的主要区别就是这个变量。在给每个渠道编译安装包前修改该变量,再使用android原生的编译方法,编译生成安装包。
这个方案需要大量的人工参与,需手工修改渠道号变量,并且根据应用程序规模大小每个安装包编译时间在5-30分钟不等。基于这个编译方案,云盘客户端完成所有渠道包的编译,需要耗时30-60分钟左右,此过程中还需要全程人工值守,非常费时费力。
发明内容
本发明实施例提供一种定制多渠道安装包的方法,用以解决现有技术中需要开发者手动修改渠道号变量的缺陷,实现了渠道信息的动态读取。
本发明实施例提供一种视频输出模式切换方法,包括如下步骤:
根据Android编译方式,将应用程序的源代码生成一个基础安装包,并复制所述基础安装包到临时安装包;
读取所述应用程序的未读渠道信息并根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件;
将所述临时渠道文件写入所述临时安装包中,并以所述渠道号加所述应用程序的名称来命名所述临时安装包得到所述渠道信息对应的渠道包,并将所述渠道包推送至推广渠道以供终端下载。
本发明实施例提供一种定制多渠道安装包的装置,包括:
编译单元,用于根据Android编译方式,将应用程序的源代码生成一 个基础安装包,并复制所述基础安装包到临时安装包;
渠道信息读取单元,用于读取所述应用程序的未读渠道信息并根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件;
写渠道文件单元,用于复制所述基础安装包到临时安装包并将所述临时渠道文件写入所述临时安装包中,并以所述渠道号加所述应用程序的名称来命名所述临时安装包得到所述渠道信息对应的渠道包;
安装包推送单元,用于将所述渠道包推送至推广渠道以供终端下载。
本发明实施例提供的多渠道定制安装包的方法及装置,改变了现有技术中多渠道安装包编译过程的大量的人工参与以及重复编译安装包的过程,与此同时,本发明实施例提出的方案极大提高了多渠道安装包的打包效率。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1为本发明实施例一的技术流程图;
图2为本发明实施例二的技术流程图;
图3为本发明实施例三的装置结构图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本领域技术人员熟知,所述“渠道”为用户能够下载应用程序的一些网络平台,例如应用商店、应用程序发布的官方网站、搜索平台提供的推广下载等等。每个“渠道号”标记一个相应的网络平台,并且通过所述“渠道号”可以唯一地识别一应用程序是通过何种网络平台进行发布的。所述“渠道包”就是将应用程序的安装包分不同的渠道进行打包。
实施例一
图1是本发明实施例一的技术流程图,结合图1,本发明一种定制多渠道安装包的方法包括如下的步骤:
步骤101:根据Android编译方式,将应用程序的源代码生成一个基础安装包,并复制所述基础安装包到临时安装包;
安卓的原生编译方式主要经由一下几个过程完成:第一步:打包资源文件,生成R.java文件。这一过程是利用aapt工具将Resource文件、AndroidManifest.xml文件、Android基础类库(Android.jar文件)进行打包;第二步:处理AIDL文件,生成对应的.java文件。此步骤利用aidl工具将源码文件、aidl文件、framework.aidl文件生成为对应的.java文件;第三步:编译Java文件,生成对应的.class文件。此步骤中,利用javac工具将源码文件(包括R.java和AIDL生成的.java文件)、库文件(.jar文件)编译为.class文件;第四步:把.class文件转化成Davik VM支持的.dex文件。此步骤中的.class文件包括Aidl生成.class文件,R生成的.class文件,源文件生成的.class文件),库文件(.jar文件),最终转化为.dex文件;第五步:打包生成未签名的.apk文件。利用apkbuilder工具将打包后的资源文件、打包后类文件(.dex文件)、libs文件打包成未签名的.apk文件;第六步:使用jarsigner对未签名.apk文件进行签名,得到签名后的 文件;第七步:用zipalign工具对签名后的.apk文件进行对齐处理,因通常情况下不进行对齐处理是不能发布到Google Market的。
经由上述过程,应用程序的源代码即可生成一个基础安装包。本发明实施例中的所述基础安装包不带有任何的渠道信息,是应用程序的原始代码进行编译得到的原始安装包。
所述基础安装包通常以压缩文件的形式展现。值得注意的是,本发明实施例中所述的“编译”是广义的编译,包括将源代码文件和配置文件进行处理生成安装文件的所有过程,例如包括对源代码文件编译生成可执行程序、解释性文件等,还包括生成支持应用程序自动安装的压缩包、安装程序等。
本发明实施例中,将生成的所述基础安装包进行复制,得到若干临时安装包以便后续对所述临时安装包进行修改得到应用程序的不同发布渠道对应的渠道包。
步骤102:读取所述应用程序的未读渠道信息并根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件;
本发明实施例中,从预设的所述渠道列表中遍历读取每一条未读的渠道信息并根据所述渠道信息生成临时渠道文件,即每一个所述渠道信息对应一个所述临时渠道文件,直至所有的渠道信息都被读取。得到所述临时渠道文件后,对所述每个所述临时渠道文件进行命名,本发明实施例中,临时渠道文件是一个空的文件,打包时将这个文件放入apk中,以渠道信息来命名所述渠道文件。当apk运行时获取渠道号,读取所述渠道文件的文件名即可获知所述应用程序的发布渠道。
例如,一个应用程序通过豌豆荚这一渠道进行发布,则可以wandoujia或缩写wdj来命名其对应的所述临时渠道文件。当然,为了增强保密性,也可以用任意字符串或是数字来命名,例如豌豆荚这一渠道的所述临时渠 道文件可以命名为channel1、应用宝这一渠道的所述临时渠道文件可以命名为channel2、官方发布网站的所述临时渠道文件可以命名为channel3等等。
步骤103:将所述临时渠道文件写入所述临时安装包中,并以所述渠道号加所述应用程序的名称来命名所述临时安装包得到所述渠道信息对应的渠道包,并将所述渠道包推送至推广渠道以供终端下载。
本发明实施例中,将所述临时渠道文件写入不影响签名认证的文件目录下,以实现通过所述临时安装包的修改得到一个渠道包。对于每一个应用程序而言,其对应的所述渠道信息的数量等同于其对应的所述临时渠道文件的数量等同于其对应的所述渠道包的数量。本发明实施例中,用所述应用程序的名称和渠道号来命名所述渠道包,便于标记识别。例如,乐视视频的渠道包名称可以命名为LETV_channel1或LETV_anzhimarket。
本发明实施例中,将所述临时渠道文件写入所述临时安装包中的方式如下:将临时安装包在内存中读取并解压为文件输出流,再将所述临时渠道文件以输出流形式写入到安装包的输出流中,最后将写好渠道文件的安装包输出流转换为输入流重新保存成apk安装包文件。这样可以避免打包多个文件时反复将安装包解压缩到硬盘再重新压缩带来的性能损耗。
值得注意的是,本发明实施中的上述步骤102~步骤103对于每一条渠道信息重复执行,直至取遍所有的渠道信息,从而能够避免漏掉部分渠道包,影响推广效果。
本发明实施例提供了一种定制多渠道安装包的方法,在应用程序安装包文件中选取不需要签名认证的文件中添加所述临时渠道文件,不影响安装包的签名效果,同时不需针对每一渠道重复编译渠道包,有效地节省生成多渠道安装包的时间,提升生了打包效率。
由于应用程序的所述临时安装包已经过重新命名,这对终端的下载用 户而言,可以很直观地从安装包的名称上判断是何种应用程序;对于后台统计而言,所述临时安装包文件的命名方式也直观地反映了所述应用程序是通过何种渠道进行发布即推广的,更加有利于渠道效果的统计。
本发明实施例中,对于每个应用程序只需编译一次安装包文件,不需要单独对渠道信息进行安装包编译,并通过查询所述预设的渠道列表为每一渠道信息生成临时渠道文件并将所述临时渠道文件直接写入用于发布的安装包,有效减少打包时间和打包失败的风险,提高了编译软件的工作效率,避免了大量的人工参与。
实施例二
图2是本发明实施例二的技术流程图,结合图2,以下部分将更清楚、详细地阐明本发明一种定制多渠道安装包的方法中。
步骤201:将每一应用程序对应的发布渠道和渠道号进行列表汇总,生成所述预设的渠道列表。
本发明实施例中,预先根据所述应用程序的发布渠道建立所述渠道信息表,所述渠道信息表中保存着应用程序发布或推广的渠道以及相应的渠道号。本发明实施例中,所述渠道列表可以文本形式展现,读取渠道信息时,通过对所述渠道列表进行逐行扫描便可得到应用程序对应的每一发布渠道号。
对一应用程序而言,每一个网络平台都代表了一种发布渠道,本发明实施例中为每一个所述网络平台设置唯一渠道号进行标识。当一应用程序通过多个网络平台进行发布或推广时,该应用程序对应多个渠道号。
例如,对于乐视云盘可以有如下的发布渠道和渠道号的对应表:
Figure PCTCN2016082637-appb-000001
Figure PCTCN2016082637-appb-000002
或者也可以是这样的:
Figure PCTCN2016082637-appb-000003
当然,需要说明的是,本发明实施例中,对于渠道号的命名方式并不唯一,上述命名仅供举例使用,渠道号的名称可以是数字、渠道名称的全拼或缩写,甚至也可以是随机字符串或者上述的任意组合,只要能够唯一识别对应渠道即可。
步骤202:将应用程序的源代码生成一个基础安装包,并复制所述基础安装包到临时安装包;
应用程序源代码生成基础安装包的过程已在实施例一种详细介绍,此处不再赘述。
本发明实施例中,此步操作的目的在于根据所述应用程序对应的渠道数量,将所述基础安装包复制出同样数量的所述临时安装包,后续根据不同的渠道信息对每个所述临时安装包进行渠道信息的修改并用相应的渠道信息来命名所述临时安装包,一方面在所述应用程序发布时,用户可根据所述临时安装包的名称直观地识别应用程序,另一方面更加便于后台对于不同渠道推广量的统计。
步骤203:读取所述应用程序的未读渠道信息并根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件;
本发明实施例中,可以按照所述预设的渠道列表中的排序逐行扫描所述应用程序的每一条未读渠道信息以免漏读,每读一条新的渠道信息,就为其生成相应的所述临时渠道文件,直至遍历所述渠道列表中的所有渠道信息。
步骤204:将所述临时渠道文件写入所述临时安装包中的META-INF目录;
开发人员在完成应用程序的开发后,需要对应用程序进行编译生成一个应用程序安装包。但是,android系统为保证安装包的有效性,对每个安装包采用签名机制,防止原程序被恶意篡改,因此无法在生成安装包后对应用程序代码进行修改。但是,经过测试发现,Android的APK中存在META-INF目录,用来存放一些程序的开发版本等信息,在生成安装包后修改此目录中的文件内容不会影响签名效果,仍然能通过android的签名认证。因此,本发明实施例中,将渠道信息写入所述基础安装包中的META-INF目录下,并且在应用程序安装启动后,可以动态地读取所述渠道信息。
步骤205:以所述渠道号加所述应用程序的名称来命名所述临时安装包得到所述渠道信息对应的渠道包。
写完每个所述临时渠道文件之后,将对应的所述临时安装包以对应的所述渠道号和所述应用程序的名称来命名所述临时安装包,用以在后台作推广量效果评估时,根据所述临时安装包的名称便可得知是何种应用程序以及与之对应的推广渠道。例如,对于乐视视频客户端而言,根据应用程序的名称和发布渠道将其对应的渠道包命名为LETV_wandoujia、LETV_anzhishichang、LETV_gov等等。
步骤206:将所述渠道包推送至推广渠道以供终端下载。
步骤207:接收每个所述终端上报的所述推广渠道的推广结果。
本发明实施例中,所述推广结果包括所述终端在启动所述应用程序安装时读取到的所述渠道包的名称,所述渠道包的名称包括所述渠道号以及所述应用程序的名称。
根据所述渠道号以及所述应用程序的名称统计所述应用程序对应于每个所述推广渠道的推广量。
针对现有的打包方式通常是先对应用程序进行编译时,根据渠道的数量将所述应用程序对应的源代码复制同样的数量,再对复制得到的每一源代码进行渠道号记录变量的修改,修改之后再进行编译,其工作量非常大。而本发明实施例中,将包含渠道信息的所述临时渠道文件写入不影响签名效果的文件目录下,只需一次编译便可打包多个渠道安装包,有效减地减少了打包时间和打包失败的风险,效率极高。
实施例三
图3是本发明实施例三的装置结构图,本发明一种定制多渠道安装包的装置包括如下的单元:编译单元301、渠道信息读取单元302、写渠道文件单元303、安装包推送单元304。
所述编译单元301,用于根据Android编译方式,将应用程序的源代码生成一个基础安装包,并复制所述基础安装包到临时安装包;
所述渠道信息读取单元302,与预先统计的渠道信息列表相连接,用于读取所述应用程序的未读渠道信息并根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件;
所述写渠道文件单元303,与所述编译单元301相连,同时调用所述渠道信息读取单元302中的所述临时渠道文件,并将所述临时渠道文件写 入所述临时安装包中,并以所述渠道号加所述应用程序的名称来命名所述临时安装包得到所述渠道信息对应的渠道包;
所述安装包推送单元304,与所述写渠道文件单元303相连接,用于将所述渠道包推送至推广渠道以供终端下载。
进一步地,所述渠道信息读取单元302,还用于查询渠道列表,获得所述渠道信息对应的所述渠道号,其中所述预设的渠道列表中记录了每个所述应用程序发布的渠道信息与渠道号的对应关系。
进一步地,所述写渠道文件单元303,还用于将所述临时渠道文件写入所述临时安装包中的META-INF目录。
所述装置进一步包括推广量统计单元305,所述推广量统计单元305用于接收每个所述终端上报的所述推广渠道的推广结果,其中,所述推广结果包括所述终端在启动所述应用程序安装时读取到的所述渠道包的名称,所述渠道包的名称包括所述渠道号以及所述应用程序的名称;根据所述渠道号查询到以所述渠道号加所述应用程序的名称命名的所述临时安装包,并得到所述临时安装包对应的所述应用程序的文件名;根据所述渠道号以及所述应用程序的名称统计所述应用程序对应于每个所述推广渠道的推广量。
本发明实施例提供了一种定制多渠道安装包的装置,在应用程序安装包文件中选取不需要签名认证的文件中添加所述临时渠道文件,不影响安装包的签名效果,同时不需针对每一渠道重复编译渠道包,有效地节省生成多渠道安装包的时间,提升生了打包效率。
应用实例
以下部分本发明实施例将通过一个应用场景实例来进一步说明本发 明实施例的实际应用。
当乐视云盘手机端将发布新版本时,根据其市场发布渠道建立乐视云盘的渠道列表,假设得到的所述渠道列表显示如下:
Figure PCTCN2016082637-appb-000004
首先开发人员将编写好的乐视云盘的源代码进行编译,生成一个基础安装包。其次,扫描所述渠道列表,读取第一条渠道信息,即乐视官方网站这一发布渠道,并生成对应的临时渠道文件,将这个临时渠道文件命名为LETV-gov;接着复制所述基础安装包得到一个临时安装包,将乐视官方网站这一渠道信息对应的临时渠道文件写入临时安装包的META-INF目录;将这个临时安装包命名为Letv cloud_LETV-gov,这就得到了通过乐视官方网站进行发布的乐视云盘的渠道包。接着扫描所述渠道列表,读取第二条渠道信息,即豌豆荚这一发布渠道,并生成对应的临时渠道文件,将这个临时渠道文件命名为wandoujia;接着复制所述基础安装包得到一个临时安装包,将乐视官方网站这一渠道信息对应的临时渠道文件写入临时安装包的META-INF目录;将这个临时安装包命名为Letv cloud_wandoujia,这就得到了通过豌豆荚进行发布的乐视云盘的渠道包。按照上述的过程依次扫描所述渠道列表,直至获得所有发布渠道的安装包。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多 个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
上述说明示出并描述了本申请的实施例,但如前所述,应当理解本申请并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述发明构想范围内,通过上述教导或相关领域的技术或知识进行改动。而本领域人员所进行的改动和变化不脱离本申请的精神和范围,则都应在本申请所附权利要求的保护范围内。

Claims (8)

  1. 一种生成多渠道安装包的方法,其特征在于,包括:
    根据Android编译方式,将应用程序的源代码生成一个基础安装包,并复制所述基础安装包到临时安装包;
    读取所述应用程序的未读渠道信息并根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件;
    将所述临时渠道文件写入所述临时安装包中,并以所述渠道号加所述应用程序的名称来命名所述临时安装包得到所述渠道信息对应的渠道包,并将所述渠道包推送至推广渠道以供终端下载。
  2. 根据权利要求1所述的方法,其特征在于,根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件,进一步包括:
    查询预设的渠道列表,获得所述渠道信息对应的所述渠道号,其中所述预设的渠道列表中记录了每个所述应用程序发布的渠道信息与渠道号的对应关系。
  3. 根据权利要求1所述的方法,其特征在于,将所述临时渠道文件写入所述临时安装包中,进一步包括;
    将所述临时渠道文件写入所述临时安装包中的META-INF目录。
  4. 根据权利要求1所述的方法,其特征在于,所述方法进一步包括:
    接收每个所述终端上报的所述推广渠道的推广结果,其中,所述推广结果包括所述终端在启动所述应用程序安装时读取到的所述渠道包的名称,所述渠道包的名称包括所述渠道号以及所述应用程序的名称;
    根据所述渠道号查询到以所述渠道号加所述应用程序的名称命名的所述临时安装包,并得到所述临时安装包对应的所述应用程序的文件名;
    根据所述渠道号以及所述应用程序的名称统计所述应用程序对应于每个所述推广渠道的推广量。
  5. 一种定制多渠道安装包的装置,其特征在于,包括如下单元:
    编译单元,用于根据Android编译方式,将应用程序的源代码生成一个基础安装包,并复制所述基础安装包到临时安装包;
    渠道信息读取单元,用于读取所述应用程序的未读渠道信息并根据所述渠道信息生成临时渠道文件并用所述渠道信息对应的渠道号命名所述临时渠道文件;
    写渠道文件单元,用于将所述临时渠道文件写入所述临时安装包中,并以所述渠道号加所述应用程序的名称来命名所述临时安装包得到所述渠道信息对应的渠道包;
    安装包推送单元,用于将所述渠道包推送至推广渠道以供终端下载。
  6. 根据权利要求5所述的装置,其特征在于,所述渠道信息读取单元,进一步用于:
    查询渠道列表,获得所述渠道信息对应的所述渠道号,其中所述预设的渠道列表中记录了每个所述应用程序发布的渠道信息与渠道号的对应关系。
  7. 根据权利要求5所述的装置,其特征在于,所述写渠道文件单元,进一步用于:
    将所述临时渠道文件写入所述临时安装包中的META-INF目录。
  8. 根据权利要求5所述的装置,其特征在于,所述装置进一步包括推广量统计单元,所述推广量统计单元用于:
    接收每个所述终端上报的所述推广渠道的推广结果,其中,所述推广 结果包括所述终端在启动所述应用程序安装时读取到的所述渠道包的名称,所述渠道包的名称包括所述渠道号以及所述应用程序的名称;
    根据所述渠道号查询到以所述渠道号加所述应用程序的名称命名的所述临时安装包,并得到所述临时安装包对应的所述应用程序的文件名;
    根据所述渠道号以及所述应用程序的名称统计所述应用程序对应于每个所述推广渠道的推广量。
PCT/CN2016/082637 2015-11-16 2016-05-19 一种定制多渠道安装包的方法及装置 WO2017084266A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510784836.XA CN105893008A (zh) 2015-11-16 2015-11-16 一种定制多渠道安装包的方法及装置
CN201510784836.X 2015-11-16

Publications (1)

Publication Number Publication Date
WO2017084266A1 true WO2017084266A1 (zh) 2017-05-26

Family

ID=57002784

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082637 WO2017084266A1 (zh) 2015-11-16 2016-05-19 一种定制多渠道安装包的方法及装置

Country Status (2)

Country Link
CN (1) CN105893008A (zh)
WO (1) WO2017084266A1 (zh)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337294A (zh) * 2018-01-04 2018-07-27 金瓜子科技发展(北京)有限公司 应用程序下载方法及装置
CN110377331A (zh) * 2019-07-22 2019-10-25 腾讯科技(深圳)有限公司 发布应用程序的监控方法、装置、设备及存储介质
CN110830559A (zh) * 2019-10-24 2020-02-21 北京城市网邻信息技术有限公司 渠道包自动化批量处理方法、装置、设备及存储介质
CN111596931A (zh) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 应用程序封装方法、装置、电子设备及可读存储介质
CN111857801A (zh) * 2020-07-08 2020-10-30 广州云徙科技有限公司 一种移动应用的构建方法
CN112052013A (zh) * 2020-08-03 2020-12-08 完美世界(北京)软件科技发展有限公司 软件包的生成方法及装置、存储介质、电子装置
CN112764796A (zh) * 2019-11-05 2021-05-07 阿里巴巴集团控股有限公司 安装包生成系统
CN112988177A (zh) * 2021-04-16 2021-06-18 腾讯科技(深圳)有限公司 应用安装包的发布、应用程序的运行方法、服务器及终端

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797808A (zh) * 2016-08-31 2018-03-13 腾讯科技(深圳)有限公司 应用安装包处理方法及装置
CN106502715A (zh) * 2016-09-19 2017-03-15 乐视控股(北京)有限公司 一种应用程序多渠道配置方法及装置
CN106775824A (zh) * 2016-11-22 2017-05-31 武汉斗鱼网络科技有限公司 一种带有渠道信息的应用文件打包系统及方法
CN108108161A (zh) * 2016-11-23 2018-06-01 上海冰穹网络科技有限公司 支持多渠道sdk的接入系统及方法
CN108123965B (zh) * 2016-11-26 2021-04-13 深圳壹账通智能科技有限公司 应用程序包分发的方法、装置及系统
CN108228246B (zh) * 2016-12-14 2021-07-27 北京国双科技有限公司 一种应用安装包的生成方法及装置
CN106598677A (zh) * 2016-12-20 2017-04-26 北京小米移动软件有限公司 下载安装包的方法及装置
CN106843939A (zh) * 2016-12-30 2017-06-13 百度在线网络技术(北京)有限公司 应用的渠道包的生成方法及装置
CN106843909A (zh) * 2017-03-07 2017-06-13 东软集团股份有限公司 支持渠道定制的渠道打包方法及装置
CN107145342B (zh) * 2017-03-31 2024-03-19 腾讯科技(深圳)有限公司 应用的渠道信息的处理方法和装置
CN108958826B (zh) * 2017-05-22 2022-06-07 北京京东尚科信息技术有限公司 动态配置应用安装包的方法和装置
CN107179931A (zh) * 2017-07-06 2017-09-19 广州优视网络科技有限公司 安装包打包方法、装置及系统
CN109257399B (zh) * 2017-07-13 2023-01-24 上海擎感智能科技有限公司 云平台应用程序管理方法及管理平台、存储介质
CN107943494A (zh) * 2017-08-04 2018-04-20 上海壹账通金融科技有限公司 多渠道应用分发方法及移动终端
CN107678755B (zh) * 2017-09-13 2021-01-26 北京京东尚科信息技术有限公司 安装包打包的方法、装置、电子设备和计算机可读介质
CN108521349B (zh) * 2018-03-15 2020-06-05 福建天泉教育科技有限公司 一种统计安装包的安装数量的方法及系统
CN108762761A (zh) * 2018-05-17 2018-11-06 深圳市分期乐网络科技有限公司 目标渠道包的生成方法、装置、服务器及存储介质
CN108628617A (zh) * 2018-05-18 2018-10-09 深圳爱加密科技有限公司 一种安卓应用程序的多渠道打包方法
CN108762775A (zh) * 2018-05-24 2018-11-06 苏州乐麟无线信息科技有限公司 一种安装包的打包方法和装置
CN108920323B (zh) * 2018-06-08 2022-04-15 阿里巴巴(中国)有限公司 应用数据统计方法、装置及移动终端
CN109542459A (zh) * 2018-09-29 2019-03-29 中国平安人寿保险股份有限公司 应用程序打包方法及装置、计算机装置及计算机存储介质
CN109542461A (zh) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 应用安装包的发布方法、终端设备及介质
CN111078223B (zh) * 2018-10-22 2021-09-28 腾讯科技(深圳)有限公司 一种应用程序的打包方法及装置
CN110069264A (zh) * 2019-03-21 2019-07-30 平安普惠企业管理有限公司 构建资源包的方法、装置、计算机设备和存储介质
CN110399160B (zh) * 2019-07-29 2024-04-02 腾讯科技(深圳)有限公司 渠道包打包方法、装置、服务器以及存储介质
CN110597550A (zh) * 2019-08-14 2019-12-20 平安国际智慧城市科技股份有限公司 应用程序推荐下载方法、装置、电子设备及存储介质
CN111611007B (zh) * 2020-05-21 2023-08-29 掌阅科技股份有限公司 基于脚本实现的应用程序安装包的打包方法及设备
CN113407932B (zh) * 2021-06-18 2023-05-23 湖南快乐阳光互动娱乐传媒有限公司 一种渠道标识的上报方法、系统及存储介质
CN113377415A (zh) * 2021-06-28 2021-09-10 郑州阿帕斯数云信息科技有限公司 应用发布方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070234316A1 (en) * 2006-03-07 2007-10-04 Sap Ag Methods and systems for development of software for complex systems
CN103019708A (zh) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 用于发布软件的方法和系统
CN104503745A (zh) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 一种生成应用渠道包的方法和装置
CN104615414A (zh) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 一种渠道包定制方法及装置
CN104754062A (zh) * 2015-04-16 2015-07-01 腾讯科技(北京)有限公司 基于互联网的信息推广方法、服务器及用户终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070234316A1 (en) * 2006-03-07 2007-10-04 Sap Ag Methods and systems for development of software for complex systems
CN103019708A (zh) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 用于发布软件的方法和系统
CN104615414A (zh) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 一种渠道包定制方法及装置
CN104503745A (zh) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 一种生成应用渠道包的方法和装置
CN104754062A (zh) * 2015-04-16 2015-07-01 腾讯科技(北京)有限公司 基于互联网的信息推广方法、服务器及用户终端

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337294A (zh) * 2018-01-04 2018-07-27 金瓜子科技发展(北京)有限公司 应用程序下载方法及装置
CN110377331A (zh) * 2019-07-22 2019-10-25 腾讯科技(深圳)有限公司 发布应用程序的监控方法、装置、设备及存储介质
CN110377331B (zh) * 2019-07-22 2023-10-13 腾讯科技(深圳)有限公司 发布应用程序的监控方法、装置、设备及存储介质
CN110830559A (zh) * 2019-10-24 2020-02-21 北京城市网邻信息技术有限公司 渠道包自动化批量处理方法、装置、设备及存储介质
CN112764796A (zh) * 2019-11-05 2021-05-07 阿里巴巴集团控股有限公司 安装包生成系统
CN111596931A (zh) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 应用程序封装方法、装置、电子设备及可读存储介质
CN111857801A (zh) * 2020-07-08 2020-10-30 广州云徙科技有限公司 一种移动应用的构建方法
CN112052013A (zh) * 2020-08-03 2020-12-08 完美世界(北京)软件科技发展有限公司 软件包的生成方法及装置、存储介质、电子装置
CN112988177A (zh) * 2021-04-16 2021-06-18 腾讯科技(深圳)有限公司 应用安装包的发布、应用程序的运行方法、服务器及终端
CN112988177B (zh) * 2021-04-16 2023-08-01 腾讯科技(深圳)有限公司 应用安装包的发布、应用程序的运行方法、服务器及终端

Also Published As

Publication number Publication date
CN105893008A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017084266A1 (zh) 一种定制多渠道安装包的方法及装置
KR102281052B1 (ko) 이동 단말 애플리케이션 업데이트 방법 및 장치
TW201729089A (zh) 用於可信執行環境的可信應用產生及安裝方法
WO2019201039A1 (zh) 一种更新应用程序的方法、系统及应用服务器
EP2876552A2 (en) Software installation package generation and software installation method, device, and system
US20160357530A1 (en) Method and apparatus for intermediate representation of applications
CN105049486A (zh) 静态文件的版本管理、文件拉取控制方法、装置及系统
US11106512B2 (en) System and method for container provenance tracking
KR20120125292A (ko) 운영 체제 자동 업데이트 절차
US9311317B1 (en) Injecting custom data into files in zip format containing apps, without unzipping, resigning or re-zipping the files
CN103257958B (zh) 一种基于云存储的翻译方法及系统
US9195482B2 (en) Method and apparatus for distributing a composite software stack as a virtual machine image
CN109725912B (zh) 应用程序配置方法、装置、终端、服务器及可读存储介质
WO2022105563A1 (zh) 索引文件生成方法、终端设备、电子设备及介质
US9513762B1 (en) Static content updates
US10057331B2 (en) Automatic abstraction of flow of control in a distributed virtualization platform
CN111209001A (zh) 批量生成安卓各渠道apk的方法、系统、设备和介质
US20230259358A1 (en) Documentation enforcement during compilation
CN110928571A (zh) 业务程序开发方法和装置
CN112769706A (zh) 组件化路由方法及系统
CN110532016B (zh) 版本管理方法、版本更新方法和版本管理系统
CN112527386B (zh) 应用程序发布方法及装置
CN107391528B (zh) 前端组件依赖信息搜索方法及设备
CN114553858A (zh) 一种资源预下载的方法、装置以及设备
Bhardwaj et al. Serving mobile apps: A slice at a time

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16865448

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16865448

Country of ref document: EP

Kind code of ref document: A1