CN105893008A - Method and device for customizing multi-channel installation package - Google Patents

Method and device for customizing multi-channel installation package Download PDF

Info

Publication number
CN105893008A
CN105893008A CN201510784836.XA CN201510784836A CN105893008A CN 105893008 A CN105893008 A CN 105893008A CN 201510784836 A CN201510784836 A CN 201510784836A CN 105893008 A CN105893008 A CN 105893008A
Authority
CN
China
Prior art keywords
channel
installation kit
application program
interim
file
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510784836.XA
Other languages
Chinese (zh)
Inventor
薛伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201510784836.XA priority Critical patent/CN105893008A/en
Priority to PCT/CN2016/082637 priority patent/WO2017084266A1/en
Publication of CN105893008A publication Critical patent/CN105893008A/en
Pending legal-status Critical Current

Links

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

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

The embodiment of the invention provides a method and a device for customizing a multi-channel installation package. The method comprises the following steps: according to an Android compiling way, generating the source code of an application program into a basic installation package, and copying the basic installation package to a temporary installation package; reading the unread channel information of the application program, generating a temporary channel file according to the channel information, and utilizing a channel number corresponding to the channel information to name the temporary channel file; writing the temporary channel file into the temporary installation package, and utilizing the channel number and the name of the application program to name the temporary installation package to obtain a channel package corresponding to the channel information; and pushing the channel package to a pushing channel for a terminal to be downloaded. The scheme provided by the embodiment of the invention reduces a great quantity of artificial participation and a repeated installation package compiling process in multi-channel installation package compiling, and greatly improves the packaging efficiency of the multi-channel installation package.

Description

A kind of method and device customizing installation kit by all kinds of means
Technical field
The present embodiments relate to application program installation kit and promote field, particularly relate to a kind of customization by all kinds of means The method and device of installation kit.
Background technology
That day being born from Android, pattern of increasing income just has attracted substantial amounts of brand and user, base Development trend in the application program of Android hits new peak the most repeatly.Exist much more very on the Internet at present Application program downloads market, such as *** play, pacifies intelligence market, 91 assistants, pea pods etc., Mei Dangying When sending out redaction by program, Android client needs to be distributed to application program each application market.For Add up these numbers brisk in the market, the market effect such as download, it is desirable to have a kind of method uniquely identifies it ?.
At present, application program distinguishes different market by channel number (channel).It is published to various In the application program installation kit in market, comprise channel this channel number of variable record, such as, a certain The channel number that application program is applied in pea pods market is wandoujia, at 360 mobile phone assistant's channels number For 360_zhushou.Channel number can be carried in required parameter, in order to backstage connects during client-access API Get off and calculate the effect of different channel, such as, add up the customer volume brought in which market bigger or possible There are some profits to need and concrete channel is divided into.
When sending out version, application program engineer can generate equivalent according to the channel list that market department provides every time Channel bag.Along with channel gets more and more, the application that on the Internet, some are burning hot, the most hundreds of canals Road, efficiently quickly compiles these installation kits, is that version is issued speed and seized a key factor in market.
The most commonly used packing scheme, mainly in androidmainfest.xml file, adds Channel record variable, the main distinction in the installation kit of each channel is exactly this variable.To each Revising this variable before channel compiling installation kit, re-use the primary Compilation Method of android, compiling generates peace Dress bag.
This scheme needs substantial amounts of artificial participation, needs manual amendment channel variable, and according to application Program scale each installation kit compilation time was at 5-30 minute.Based on this compilation scheme, cloud Dish client completes the compiling of all channel bags, needs time-consuming about 30-60 minute, also needs during this Want whole process the most on duty, waste time and energy very much.
Summary of the invention
The embodiment of the present invention provides a kind of method customizing installation kit by all kinds of means, in order to solve in prior art Need the defect of developer's manual modification channel variable, it is achieved that the dynamic reading of channel information.
The embodiment of the present invention provides a kind of video output mode changing method, comprises the steps:
Compile mode according to Android, the source code of application program is generated a basic installation kit, and Replicate described basis installation kit to interim installation kit;
Read not reading channel information and generating interim channel literary composition according to described channel information of described application program Part also names described interim channel file with the channel number that described channel information is corresponding;
Described interim channel file is write in described interim installation kit, and adds described answering with described channel number Described interim installation kit is named to obtain the channel bag that described channel information is corresponding by the title of program, and will Described channel bag pushes to channels for terminal downloads.
The embodiment of the present invention provides a kind of device customizing installation kit by all kinds of means, including:
Compilation unit, for compiling mode according to Android, generates one by the source code of application program Basis installation kit, and replicate described basis installation kit to interim installation kit;
Channel information reads unit, does not reads channel information and according to described for read described application program Channel information generates interim channel file and names described temporary canal with the channel number that described channel information is corresponding Road file;
Write channel file unit, be used for replicating described basis installation kit to interim installation kit and by described temporarily Channel file writes in described interim installation kit, and adds the title of described application program with described channel number Described interim installation kit is named to obtain the channel bag that described channel information is corresponding;
Installation kit push unit, for pushing to channels for terminal downloads by described channel bag.
The method and device customizing installation kit by all kinds of means that the embodiment of the present invention provides, changes prior art In the substantial amounts of artificial participation of installation kit compilation process and repeat to compile the process of installation kit by all kinds of means, with This simultaneously, the scheme that the embodiment of the present invention proposes greatly improves the packing efficiency of installation kit by all kinds of means.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is video output mode selecting method flow chart in prior art;
Fig. 2 is video output mode selecting method embodiment flow chart of the present invention;
Fig. 3 is that video output mode of the present invention selects apparatus embodiments structural representation.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Those skilled in the art know, and described " channel " is some nets that user can download application program Network platform, such as, apply under the popularization that shop, the official website of application issued, search platform provide Carry etc..One corresponding network platform of each " channel number " labelling, and by described " channel number " Can uniquely identify an application program by which kind of network platform is issued.Described " channel bag " It is exactly to divide different channels to pack the installation kit of application program.
Embodiment one
Fig. 1 is the techniqueflow chart of the embodiment of the present invention one, and in conjunction with Fig. 1, one of the present invention customizes by all kinds of means The method of installation kit comprises the following steps that
Step 101: compile mode according to Android, generates a basis peace by the source code of application program Dress bag, and replicate described basis installation kit to interim installation kit;
The primary compiling mode of Android mainly completes via the most several processes: the first step: packing resource literary composition Part, generates R.java file.This process be utilize aapt instrument by Resource file, AndroidManifest.xml file, Android MFC (Android.jar file) are packed; Second step: process AIDL file, generates corresponding .java file.This step utilizes aidl instrument by source Code file, aidl file, framework.aidl file generated are corresponding .java file;3rd step: compile Translate Java file, generate corresponding .class file.In this step, javac instrument is utilized to incite somebody to action] source code literary composition Part (including the .java file that R.java and AIDL generates), library file (.jar file) are compiled as .class File;4th step: .class file translations is become the .dex file that Davik VM supports.In this step .class file include Aidl generate .class file, R generate .class file, source file generate .class File), library file (.jar file), it is eventually converted into .dex file;5th step: packing generates and do not signs The .apk file of name.Utilize apkbuilder instrument by class file (.dex after the resource file after packing, packing File), libs file be packaged into unsigned .apk file;6th step: use jarsigner to the .apk that unsigns File is signed, the file after being signed;7th step: with zipalign instrument to the .apk after signature File carries out registration process, is to be published to Google because not carrying out registration process Market's.
Via said process, the source code of application program can generate a basic installation kit.The present invention is real Execute in example described basis installation kit without any channel information, be that the source code of application program is entered The original installation kit that row compiling obtains.
Described basis installation kit generally represents with the form of compressed file.It should be noted that the present invention is real Execute the compiling that " compiling " described in example is broad sense, including by source code file and configuration file Reason generate install file all processes, such as include to source code file compiling generate executable program, Explanatory files etc., also include generating compressed package, the installation procedure etc. supporting application program automatically to install.
In the embodiment of the present invention, the described basis installation kit generated is replicated, obtains some interim peaces Dress bag is so that the different publication channels of the follow-up program of being applied of modifying described interim installation kit are corresponding Channel bag.
Step 102: read not reading channel information and generating according to described channel information of described application program Interim channel file also names described interim channel file with the channel number that described channel information is corresponding;
In the embodiment of the present invention, from default described channel list, traversal reads each the channel do not read Information also generates interim channel file, i.e. each described channel information correspondence one according to described channel information Individual described interim channel file, until all of channel information is all read.Obtain described interim channel literary composition After part, described each described interim channel file is named, in the embodiment of the present invention, interim channel File is an empty file, puts in apk by this file during packing, names institute with channel information State channel file.Obtain channel number when apk runs, the filename reading described channel file can obtain Know the publication channel of described application program.
Such as, an application program is issued by this channel of pea pods, then can be with wandoujia Or abbreviation wdj names the described interim channel file of its correspondence.Certainly, in order to strengthen confidentiality, also Can name by arbitrary string or numeral, the described interim channel literary composition of such as this channel of pea pods Part can be named with the described interim channel file of named channel1, application this channel precious Channel2, official's issuing web site described interim channel file can be with named channel3 etc..
Step 103: described interim channel file is write in described interim installation kit, and with described channel Number add the title of described application program to name described interim installation kit to obtain the canal that described channel information is corresponding Road bag, and described channel bag is pushed to channels for terminal downloads.
In the embodiment of the present invention, the write of described interim channel file is not affected the file directory of signature authentication Under, to realize obtaining a channel bag by the amendment of described interim installation kit.Journey is applied for each For sequence, the quantity of the described channel information of its correspondence is equal to the described interim channel file of its correspondence Quantity is equal to the quantity of the described channel bag of its correspondence.In the embodiment of the present invention, use described application program Title and channel number name described channel bag, it is simple to marker recognition.Such as, the happy channel regarding video Bag title can be with named LETV_channel1 or LETV_anzhimarket.
In the embodiment of the present invention, described interim channel file is write the mode in described interim installation kit such as Under: interim installation kit is read in internal memory and decompress as file output stream, then by described interim channel literary composition Part is written in the output stream of installation kit with output stream form, finally by defeated for the installation kit of finishing writing channel file Go out circulation to be changed to inlet flow and again preserve into apk installation package file.So can avoid multiple file of packing Installation kit is decompressed to hard disk and re-compresses the performance loss brought again by Shi Fanfu.
It should be noted that the present invention implement in above-mentioned steps 102~step 103 for each channel Information repeats, until taking all over all of channel information such that it is able to avoid missing part channel bag, Affect promotion effect.
Embodiments provide a kind of method customizing installation kit by all kinds of means, at application program installation kit File is chosen and need not the file of signature authentication adds described interim channel file, do not affect installation kit Signature effect, be not required to simultaneously for each channel repeat compile channel bag, be effectively saved generation many canals The time of road installation kit, promote and given birth to packing efficiency.
Owing to the described interim installation kit of application program is through renaming, this download user to terminal For, can the most intuitively from the judgement nominally of installation kit be which kind of application program;Backstage is added up For, it is to pass through that the naming method of described interim installation package file reflects described application program the most intuitively Which kind of channel carries out issuing i.e. is promoted, advantageously in the statistics of channel effect.
In the embodiment of the present invention, only need to compile once mounting APMB package for each application program, it is not necessary to Individually channel information is carried out installation kit compiling, and is each canal by inquiring about described default channel list Road information generates interim channel file and is write direct by described interim channel file for the installation issued Bag, effectively reduces packing time and failed risk of packing, improves the work efficiency of composing software, keep away Exempt from substantial amounts of artificial participation.
Embodiment two
Fig. 2 is the techniqueflow chart of the embodiment of the present invention two, in conjunction with Fig. 2, will be apparent from lower part, Illustrate in detail in a kind of method customizing installation kit by all kinds of means of the present invention.
Step 201: publication channel corresponding for each application program and channel number are carried out list and collects, raw Become described default channel list.
In the embodiment of the present invention, the publication channel previously according to described application program sets up described channel information Table, in store application issued or the channel of popularization and corresponding channel number in described channel information table. In the embodiment of the present invention, described channel list can represent in the form of text, when reading channel information, passes through Described channel list is progressively scanned and just can get each publication channel number that application program is corresponding.
For an application program, each network platform represents a kind of publication channel, and the present invention is real Execute in example and unique channel number is set is identified for each described network platform.When an application program passes through When multiple network platforms are issued or are promoted, these application program correspondence multiple support channels number.
Such as, for the happy corresponding table that can have following publication channel and channel number depending on cloud disk:
Or will be such that
Certainly, it should be noted that in the embodiment of the present invention, for channel number naming method the most only One, above-mentioned name be intended for citing use, the title of channel number can be numeral, the spelling of channel title or Abbreviation, be possibly even random string or above-mentioned combination in any, as long as can uniquely identify right Answer channel.
Step 202: the source code of application program is generated a basic installation kit, and replicates described basis Installation kit is to interim installation kit;
Application source code generates the process of basis installation kit and is discussed in detail in embodiment one, herein Repeat no more.
In the embodiment of the present invention, the purpose of this step operation is the channel number corresponding according to described application program Amount, copies same amount of described interim installation kit by described basis installation kit, follow-up according to different Channel information carries out the amendment of channel information and comes with corresponding channel information each described interim installation kit Name described interim installation kit, on the one hand when described application issued, user can according to described temporarily The title of installation kit recognition application intuitively, on the other hand easily facilitates backstage and pushes away for different channels Wide statistics of variables.
Step 203: read not reading channel information and generating according to described channel information of described application program Interim channel file also names described interim channel file with the channel number that described channel information is corresponding;
In the embodiment of the present invention, can progressively scan described according to the sequence in described default channel list Do not read channel information in order to avoid skip, often read a new channel information, just for it for each of application program Generate corresponding described interim channel file, until all channel information traveled through in described channel list.
Step 204: described interim channel file is write the META-INF mesh in described interim installation kit Record;
Developer, after the exploitation completing application program, needs to be compiled application program generating one Application program installation kit.But, Android system is the effectiveness ensureing installation kit, to each installation kit Use signature mechanism, prevent original program to be maliciously tampered, therefore cannot be to application journey after generating installation kit Sequence code is modified.But, find through test, the APK of Android exist META-INF Catalogue, for depositing the information such as the exploitation version of some programs, revises in this catalogue after generating installation kit File content do not interfere with signature effect, still can be by the signature authentication of android.Therefore, this In bright embodiment, channel information is write under the META-INF catalogue in the installation kit of described basis, and After application program is installed and started, can dynamically read described channel information.
Step 205: add the title of described application program to name described interim installation kit with described channel number Obtain the channel bag that described channel information is corresponding.
After writing each described interim channel file, by corresponding described interim installation kit with corresponding institute State the title of channel number and described application program to name described interim installation kit, in order to promote on backstage Amount recruitment evaluation time, find a great convenience according to the name of described interim installation kit can learn be which kind of application program and with The channels of correspondence.Such as, for pleasure regards videoconference client, according to the title of application program With publication channel by the named LETV_wandoujia of channel bag of its correspondence, LETV_anzhishichang, LETV_gov etc..
Step 206: described channel bag is pushed to channels for terminal downloads.
Step 207: receive the Extended Results of the described channels of each described terminal to report.
In the embodiment of the present invention, described Extended Results includes that described terminal is starting the installation of described application program Time the title of described channel bag that reads, the title of described channel bag includes described channel number and described The title of application program.
Title according to described channel number and described application program adds up described application program corresponding to each The popularization amount of described channels.
When being typically first application program to be compiled for existing packing manner, according to the quantity of channel Source code corresponding for described application program is replicated same quantity, the more each source code obtaining duplication Carrying out the amendment of channel record variable, be compiled after amendment again, its workload is the biggest.And this In inventive embodiments, the described interim channel file comprising channel information write is not affected signature effect Under file directory, only need to once compile multiple support channels installation kit of just can packing, decrease packing with effectively subtracting Time and failed risk of packing, ultrahigh in efficiency.
Embodiment three
Fig. 3 is the structure drawing of device of the bright embodiment of this law three, and the present invention is a kind of customizes installation kit by all kinds of means Device includes following unit: compilation unit 301, channel information read unit 302, write channel file list Unit 303, installation kit push unit 304.
Described compilation unit 301, for compiling mode according to Android, the source code of application program is raw Become a basic installation kit, and replicate described basis installation kit to interim installation kit;
Described channel information reads unit 302, is connected with the channel information list added up in advance, is used for Read not reading channel information and generating interim channel file also according to described channel information of described application program Described interim channel file named by the channel number corresponding with described channel information;
Described write channel file unit 303, be connected with described compilation unit 301, call described canal simultaneously Described interim channel file in road Information reading unit 302, and described interim channel file is write institute State in interim installation kit, and add the title of described application program to name described interim peace with described channel number Dress bag obtains the channel bag that described channel information is corresponding;
Described installation kit push unit 304, is connected with described channel file unit 303 of writing, and being used for will Described channel bag pushes to channels for terminal downloads.
Further, described channel information reads unit 302, is additionally operable to inquire about channel list, it is thus achieved that described The described channel number that channel information is corresponding, wherein said default channel list have recorded each described should The channel information issued by program and the corresponding relation of channel number.
Further, described in write channel file unit 303, be additionally operable to by described interim channel file write META-INF catalogue in described interim installation kit.
Described device farther includes popularization amount statistic unit 305, and described popularization amount statistic unit 305 is used In the Extended Results of the described channels receiving each described terminal to report, wherein, described Extended Results Including the title of the described channel bag that described terminal reads when starting described application program and installing, described The title of channel bag includes described channel number and the title of described application program;Look into according to described channel number Ask the described interim installation kit of the name nominating adding described application program with described channel number, and obtain institute State the filename of described application program corresponding to interim installation kit;According to described channel number and described application The title of program adds up the described application program popularization amount corresponding to each described channels.
Embodiments provide a kind of device customizing installation kit by all kinds of means, at application program installation kit File is chosen and need not the file of signature authentication adds described interim channel file, do not affect installation kit Signature effect, be not required to simultaneously for each channel repeat compile channel bag, be effectively saved generation many canals The time of road installation kit, promote and given birth to packing efficiency.
Application example
The present invention will be further illustrated by an application scenarios example real with the lower part embodiment of the present invention Execute the actual application of example.
When pleasure regards cloud disk mobile phone terminal by issue redaction, set up pleasure according to its market publication channel and regard cloud disk Channel list, it is assumed that the described channel list obtained shows as follows:
The pleasure write is compiled by first developer depending on the source code of cloud disk, generates a basis peace Dress bag.Secondly, scan described channel list, read Article 1 channel information, i.e. happy regard official website this One publication channel, and generate the interim channel file of correspondence, by this interim channel file designation it is LETV-gov;Then replicate described basis installation kit and obtain an interim installation kit, pleasure is regarded official website The interim channel file that this channel information is corresponding writes the META-INF catalogue of interim installation kit;By this Individual interim installation kit named Letv cloud_LETV-gov, this has just obtained being entered depending on official website by happy The pleasure that row is issued regards the channel bag of cloud disk.Then scan described channel list, read Article 2 channel information, I.e. this publication channel of pea pods, and generate the interim channel file of correspondence, by this interim channel file Named wandoujia;Then replicate described basis installation kit and obtain an interim installation kit, pleasure is regarded official The interim channel file that side's this channel information of website is corresponding writes the META-INF mesh of interim installation kit Record;By this interim installation kit named Letv cloud_wandoujia, this has just obtained passing through pea pods The pleasure carrying out issuing regards the channel bag of cloud disk.Described channel list is scanned successively, directly according to above-mentioned process To the installation kit obtaining all publication channels.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by application program and realize, naturally it is also possible to logical Cross hardware.Based on such understanding, prior art is contributed by technique scheme the most in other words Part can embody with the form of application product, this computer applied algorithm product can be deposited Storage in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions With so that a computer equipment (can be personal computer, server, or the network equipment etc.) Perform the method described in some part of each embodiment or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. the method generating installation kit by all kinds of means, it is characterised in that including:
Compile mode according to Android, the source code of application program is generated a basic installation kit, and Replicate described basis installation kit to interim installation kit;
Read not reading channel information and generating interim channel literary composition according to described channel information of described application program Part also names described interim channel file with the channel number that described channel information is corresponding;
Described interim channel file is write in described interim installation kit, and adds described application journey with described channel number The title of sequence names described interim installation kit to obtain the channel bag that described channel information is corresponding, and by described Channel bag pushes to channels for terminal downloads.
Method the most according to claim 1, it is characterised in that generate according to described channel information and face Time channel file name described interim channel file, further with channel number corresponding to described channel information Including:
The channel list that inquiry is preset, it is thus achieved that the described channel number that described channel information is corresponding, wherein said pre- If channel list in have recorded that the channel information of each described application issued is corresponding with channel number to close System.
Method the most according to claim 1, it is characterised in that described interim channel file is write In described interim installation kit, farther include;
Described interim channel file is write the META-INF catalogue in described interim installation kit.
Method the most according to claim 1, it is characterised in that described method farther includes:
Receiving the Extended Results of the described channels of each described terminal to report, wherein, described popularization is tied Fruit includes the title of described channel bag that described terminal reads, institute when starting described application program and installing The title stating channel bag includes described channel number and the title of described application program;
Inquire according to described channel number and add with described channel number described in the name nominating of described application program Interim installation kit, and obtain the filename of described application program corresponding to described interim installation kit;
Title according to described channel number and described application program adds up described application program corresponding to each The popularization amount of described channels.
5. the device customizing installation kit by all kinds of means, it is characterised in that include such as lower unit:
Compilation unit, for compiling mode according to Android, generates one by the source code of application program Basis installation kit, and replicate described basis installation kit to interim installation kit;
Channel information reads unit, does not reads channel information and according to described for read described application program Channel information generates interim channel file and names described temporary canal with the channel number that described channel information is corresponding Road file;
Write channel file unit, for described interim channel file is write in described interim installation kit, and The title of described application program is added to name described interim installation kit to obtain described channel letter with described channel number The channel bag that breath is corresponding;
Installation kit push unit, for pushing to channels for terminal downloads by described channel bag.
Device the most according to claim 5, it is characterised in that described channel information reads unit, It is further used for:
Inquiry channel list, it is thus achieved that the described channel number that described channel information is corresponding, wherein said default canal Road list have recorded the channel information of each described application issued and the corresponding relation of channel number.
Device the most according to claim 5, it is characterised in that described in write channel file unit, enter One step is used for;
Described interim channel file is write the META-INF catalogue in described interim installation kit.
Device the most according to claim 5, it is characterised in that described device farther includes to promote Amount statistic unit, described popularization amount statistic unit is used for:
Receiving the Extended Results of the described channels of each described terminal to report, wherein, described popularization is tied Fruit includes the title of described channel bag that described terminal reads, institute when starting described application program and installing The title stating channel bag includes described channel number and the title of described application program;
Inquire according to described channel number and add with described channel number described in the name nominating of described application program Interim installation kit, and obtain the filename of described application program corresponding to described interim installation kit;
Title according to described channel number and described application program adds up described application program corresponding to each The popularization amount of described channels.
CN201510784836.XA 2015-11-16 2015-11-16 Method and device for customizing multi-channel installation package Pending CN105893008A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510784836.XA CN105893008A (en) 2015-11-16 2015-11-16 Method and device for customizing multi-channel installation package
PCT/CN2016/082637 WO2017084266A1 (en) 2015-11-16 2016-05-19 Method and device for customizing multi-channel installation package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510784836.XA CN105893008A (en) 2015-11-16 2015-11-16 Method and device for customizing multi-channel installation package

Publications (1)

Publication Number Publication Date
CN105893008A true CN105893008A (en) 2016-08-24

Family

ID=57002784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510784836.XA Pending CN105893008A (en) 2015-11-16 2015-11-16 Method and device for customizing multi-channel installation package

Country Status (2)

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

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502715A (en) * 2016-09-19 2017-03-15 乐视控股(北京)有限公司 A kind of application program collocation method and device by all kinds of means
CN106598677A (en) * 2016-12-20 2017-04-26 北京小米移动软件有限公司 Installation package downloading method and device
CN106775824A (en) * 2016-11-22 2017-05-31 武汉斗鱼网络科技有限公司 A kind of application file packaging system and method with channel information
CN106843939A (en) * 2016-12-30 2017-06-13 百度在线网络技术(北京)有限公司 The generation method and device of the channel bag of application
CN106843909A (en) * 2017-03-07 2017-06-13 东软集团股份有限公司 Support the channel packaging method and device of channel customization
CN107145342A (en) * 2017-03-31 2017-09-08 腾讯科技(深圳)有限公司 The treating method and apparatus of the channel information of application
CN107179931A (en) * 2017-07-06 2017-09-19 广州优视网络科技有限公司 Installation kit packaging method, apparatus and system
CN107678755A (en) * 2017-09-13 2018-02-09 北京京东尚科信息技术有限公司 Method, apparatus, electronic equipment and the computer-readable medium of installation kit packing
CN107797808A (en) * 2016-08-31 2018-03-13 腾讯科技(深圳)有限公司 Application installation package processing method and processing device
CN107943494A (en) * 2017-08-04 2018-04-20 上海壹账通金融科技有限公司 Distribution method and mobile terminal are applied by all kinds of means
CN108108161A (en) * 2016-11-23 2018-06-01 上海冰穹网络科技有限公司 Support the access system and method for SDK by all kinds of means
CN108123965A (en) * 2016-11-26 2018-06-05 上海壹账通金融科技有限公司 The method, apparatus and system of application package distribution
CN108228246A (en) * 2016-12-14 2018-06-29 北京国双科技有限公司 The generation method and device of a kind of application installation package
CN108521349A (en) * 2018-03-15 2018-09-11 福建天泉教育科技有限公司 A kind of method and system of the installation number of statistics installation kit
CN108628617A (en) * 2018-05-18 2018-10-09 深圳爱加密科技有限公司 A kind of packaging method by all kinds of means of Android application program
CN108762775A (en) * 2018-05-24 2018-11-06 苏州乐麟无线信息科技有限公司 A kind of packaging method and device of installation kit
CN108762761A (en) * 2018-05-17 2018-11-06 深圳市分期乐网络科技有限公司 Generation method, device, server and the storage medium of target channel packet
CN108920323A (en) * 2018-06-08 2018-11-30 广州优视网络科技有限公司 Using data statistical approach, device and mobile terminal
CN108958826A (en) * 2017-05-22 2018-12-07 北京京东尚科信息技术有限公司 The method and apparatus of dynamic configuration application installation package
CN109257399A (en) * 2017-07-13 2019-01-22 上海擎感智能科技有限公司 Cloud platform application management method and management platform, storage medium
CN109542461A (en) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 Dissemination method, terminal device and the medium of application installation package
CN109542459A (en) * 2018-09-29 2019-03-29 中国平安人寿保险股份有限公司 Application program packaging method and device, computer installation and computer storage medium
CN110069264A (en) * 2019-03-21 2019-07-30 平安普惠企业管理有限公司 Construct method, apparatus, computer equipment and the storage medium of resource packet
CN110399160A (en) * 2019-07-29 2019-11-01 腾讯科技(深圳)有限公司 Channel packet packaging method, device, server and storage medium
CN110597550A (en) * 2019-08-14 2019-12-20 平安国际智慧城市科技股份有限公司 Application program recommendation downloading method and device, electronic equipment and storage medium
CN111078223A (en) * 2018-10-22 2020-04-28 腾讯科技(深圳)有限公司 Application program packaging method and device
CN111611007A (en) * 2020-05-21 2020-09-01 掌阅科技股份有限公司 Script-based application program installation package packaging method and device
CN113377415A (en) * 2021-06-28 2021-09-10 郑州阿帕斯数云信息科技有限公司 Application publishing method and device
CN113407932A (en) * 2021-06-18 2021-09-17 湖南快乐阳光互动娱乐传媒有限公司 Channel identification reporting method, system and storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337294B (en) * 2018-01-04 2020-11-10 金瓜子科技发展(北京)有限公司 Application program downloading method and device
CN110377331B (en) * 2019-07-22 2023-10-13 腾讯科技(深圳)有限公司 Monitoring method, device, equipment and storage medium for issuing application program
CN110830559B (en) * 2019-10-24 2022-08-09 北京城市网邻信息技术有限公司 Channel package automatic batch processing method, device, equipment and storage medium
CN112764796A (en) * 2019-11-05 2021-05-07 阿里巴巴集团控股有限公司 Installation package generation system
CN111596931A (en) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 Application program packaging method and device, electronic equipment and readable storage medium
CN111857801B (en) * 2020-07-08 2022-07-05 广州云徙科技有限公司 Construction method of mobile application
CN112052013B (en) * 2020-08-03 2024-06-14 完美世界(北京)软件科技发展有限公司 Method and device for generating software package, storage medium and electronic device
CN112988177B (en) * 2021-04-16 2023-08-01 腾讯科技(深圳)有限公司 Application installation package release method, application program operation method, server and terminal

Citations (4)

* 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
CN104503745A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Method and device for generating application channel package
CN104615414A (en) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 Channel packet customization method and device
CN104754062A (en) * 2015-04-16 2015-07-01 腾讯科技(北京)有限公司 Internet based information popularization method, server and user terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019708B (en) * 2012-11-30 2015-12-09 北京奇虎科技有限公司 For the system of releasing software

Patent Citations (4)

* 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
CN104615414A (en) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 Channel packet customization method and device
CN104503745A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Method and device for generating application channel package
CN104754062A (en) * 2015-04-16 2015-07-01 腾讯科技(北京)有限公司 Internet based information popularization method, server and user terminal

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797808A (en) * 2016-08-31 2018-03-13 腾讯科技(深圳)有限公司 Application installation package processing method and processing device
CN106502715A (en) * 2016-09-19 2017-03-15 乐视控股(北京)有限公司 A kind of application program collocation method and device by all kinds of means
CN106775824A (en) * 2016-11-22 2017-05-31 武汉斗鱼网络科技有限公司 A kind of application file packaging system and method with channel information
CN108108161A (en) * 2016-11-23 2018-06-01 上海冰穹网络科技有限公司 Support the access system and method for SDK by all kinds of means
CN108123965B (en) * 2016-11-26 2021-04-13 深圳壹账通智能科技有限公司 Method, device and system for distributing application program package
CN108123965A (en) * 2016-11-26 2018-06-05 上海壹账通金融科技有限公司 The method, apparatus and system of application package distribution
CN108228246A (en) * 2016-12-14 2018-06-29 北京国双科技有限公司 The generation method and device of a kind of application installation package
CN108228246B (en) * 2016-12-14 2021-07-27 北京国双科技有限公司 Method and device for generating application installation package
CN106598677A (en) * 2016-12-20 2017-04-26 北京小米移动软件有限公司 Installation package downloading method and device
CN106843939A (en) * 2016-12-30 2017-06-13 百度在线网络技术(北京)有限公司 The generation method and device of the channel bag of application
CN106843909A (en) * 2017-03-07 2017-06-13 东软集团股份有限公司 Support the channel packaging method and device of channel customization
CN107145342B (en) * 2017-03-31 2024-03-19 腾讯科技(深圳)有限公司 Method and device for processing channel information of application
CN107145342A (en) * 2017-03-31 2017-09-08 腾讯科技(深圳)有限公司 The treating method and apparatus of the channel information of application
CN108958826A (en) * 2017-05-22 2018-12-07 北京京东尚科信息技术有限公司 The method and apparatus of dynamic configuration application installation package
CN108958826B (en) * 2017-05-22 2022-06-07 北京京东尚科信息技术有限公司 Method and device for dynamically configuring application installation package
CN107179931A (en) * 2017-07-06 2017-09-19 广州优视网络科技有限公司 Installation kit packaging method, apparatus and system
CN109257399B (en) * 2017-07-13 2023-01-24 上海擎感智能科技有限公司 Cloud platform application program management method, management platform and storage medium
CN109257399A (en) * 2017-07-13 2019-01-22 上海擎感智能科技有限公司 Cloud platform application management method and management platform, storage medium
CN107943494A (en) * 2017-08-04 2018-04-20 上海壹账通金融科技有限公司 Distribution method and mobile terminal are applied by all kinds of means
CN107678755A (en) * 2017-09-13 2018-02-09 北京京东尚科信息技术有限公司 Method, apparatus, electronic equipment and the computer-readable medium of installation kit packing
CN108521349A (en) * 2018-03-15 2018-09-11 福建天泉教育科技有限公司 A kind of method and system of the installation number of statistics installation kit
CN108762761A (en) * 2018-05-17 2018-11-06 深圳市分期乐网络科技有限公司 Generation method, device, server and the storage medium of target channel packet
CN108628617A (en) * 2018-05-18 2018-10-09 深圳爱加密科技有限公司 A kind of packaging method by all kinds of means of Android application program
CN108762775A (en) * 2018-05-24 2018-11-06 苏州乐麟无线信息科技有限公司 A kind of packaging method and device of installation kit
CN108920323A (en) * 2018-06-08 2018-11-30 广州优视网络科技有限公司 Using data statistical approach, device and mobile terminal
CN109542459A (en) * 2018-09-29 2019-03-29 中国平安人寿保险股份有限公司 Application program packaging method and device, computer installation and computer storage medium
CN109542461A (en) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 Dissemination method, terminal device and the medium of application installation package
CN111078223A (en) * 2018-10-22 2020-04-28 腾讯科技(深圳)有限公司 Application program packaging method and device
CN111078223B (en) * 2018-10-22 2021-09-28 腾讯科技(深圳)有限公司 Application program packaging method and device
CN110069264A (en) * 2019-03-21 2019-07-30 平安普惠企业管理有限公司 Construct method, apparatus, computer equipment and the storage medium of resource packet
CN110399160B (en) * 2019-07-29 2024-04-02 腾讯科技(深圳)有限公司 Channel package packaging method, device, server and storage medium
CN110399160A (en) * 2019-07-29 2019-11-01 腾讯科技(深圳)有限公司 Channel packet packaging method, device, server and storage medium
CN110597550A (en) * 2019-08-14 2019-12-20 平安国际智慧城市科技股份有限公司 Application program recommendation downloading method and device, electronic equipment and storage medium
CN111611007B (en) * 2020-05-21 2023-08-29 掌阅科技股份有限公司 Method and equipment for packaging application program installation package based on script realization
CN111611007A (en) * 2020-05-21 2020-09-01 掌阅科技股份有限公司 Script-based application program installation package packaging method and device
CN113407932A (en) * 2021-06-18 2021-09-17 湖南快乐阳光互动娱乐传媒有限公司 Channel identification reporting method, system and storage medium
CN113377415A (en) * 2021-06-28 2021-09-10 郑州阿帕斯数云信息科技有限公司 Application publishing method and device

Also Published As

Publication number Publication date
WO2017084266A1 (en) 2017-05-26

Similar Documents

Publication Publication Date Title
CN105893008A (en) Method and device for customizing multi-channel installation package
CN111142903B (en) Configuration file interactive updating method and device based on file comparison
CN108829405B (en) Channel package generation method and device, storage medium and electronic device
CN103019708B (en) For the system of releasing software
CN103064666B (en) One software distribution method by all kinds of means and system
CN111158674B (en) Component management method, system, device and storage medium
CN104123126B (en) It is a kind of to be used to generate the method and apparatus for merging conflict record list
US20050102665A1 (en) Automatic parallel non-dependent component deployment
CN109491695A (en) A kind of increment updating method of integrated Android application
CN106155651A (en) The method and system that the automation of application version is issued and updated
CN106921731B (en) Vulnerability repair method and device
CN109800005B (en) Client hot update method and device
CN109542459A (en) Application program packaging method and device, computer installation and computer storage medium
CN107783816A (en) The method and device that creation method and device, the big data cluster of virtual machine create
CN104346184A (en) Application packaging device and application packaging method
CN104142825A (en) Method and system for modularization development of products
US20090007081A1 (en) System and Method of Generating Applications for Mobile Devices
CN107707625A (en) Foreground resource based on Maven is packed and carries out version management and the method used
CN106610839A (en) Method for releasing upgrading package and lightweight upgrading method, device and system
CN105867903A (en) Method and device or splitting code library
CN103701817B (en) Method and device for generating configuration file
CN107797823A (en) Business Rule Management method, apparatus, storage medium and computer equipment
CN101208690A (en) Translating expressions in a computing environment
US20200379982A1 (en) Information processing system and method of controlling information processing system
CN106790658A (en) A kind of Docker network plug-ins implementation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824