CN106843939A - The generation method and device of the channel bag of application - Google Patents
The generation method and device of the channel bag of application Download PDFInfo
- Publication number
- CN106843939A CN106843939A CN201611259384.4A CN201611259384A CN106843939A CN 106843939 A CN106843939 A CN 106843939A CN 201611259384 A CN201611259384 A CN 201611259384A CN 106843939 A CN106843939 A CN 106843939A
- Authority
- CN
- China
- Prior art keywords
- channel information
- channel
- installation kit
- bag
- application
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000009434 installation Methods 0.000 claims abstract description 98
- 230000006835 compression Effects 0.000 claims description 4
- 238000007906 compression Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 9
- 230000015572 biosynthetic process Effects 0.000 abstract description 5
- 230000007257 malfunction Effects 0.000 abstract description 4
- 238000003860 storage Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012856 packing Methods 0.000 description 2
- 108010092377 aminoalcoholphosphotransferase Proteins 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 230000014616 translation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides the generation method and device of a kind of channel bag of application.Wherein methods described includes:According to the channel information of application, the channel information is configured under assets catalogues in basic installation kit;Described basic installation kit to being configured with the channel information is signed, and obtains target channel bag.Technical scheme, multiple support channels bag can be generated according to a basic installation kit, and without described in prior art, generation is compiled respectively for each channel bag source code respectively according to application and the channel information of each channel, therefore technical scheme, the generating process of channel bag can be greatly simplified, the formation efficiency of channel bag is very high;And the channel bag of the technical scheme generation of the present embodiment, it is not easy to malfunction, accuracy is higher.
Description
【Technical field】
The present invention relates to computer software technical field, more particularly to a kind of application channel bag generation method and dress
Put.
【Background technology】
With the development of computer technology, the computer application (Application of various function;App appearance),
The life of people is greatly facilitated.For example, the trip that map App can be convenient for people to;The App of news category can help people
Domestic News are checked whenever and wherever possible;Various amusement class App can at any time help people to be diverted oneself whenever and wherever possible.
Obtain application through various channels for the ease of user, be packaged into different channels by by application in the prior art
Bag, for example, the unique mark Channel ID of the channel for identifying the application can be increased in channel bag;Then by corresponding
Channel is pushed to user.Prior art generates different channel bags according to different channels, and being easy to application provider to count should
Used in the push effect of each channel.In the prior art, it is necessary to the channel bag according to generation is corresponding in the generating process of channel bag
Channel information and the application source code, the compiling corresponding channel bag of generation.The multiple of same application is generated if desired not
Same channel information, is required to the source code according to corresponding channel information and application, respectively the corresponding channel bag of compiling generation.
From the foregoing, in the prior art, the generating process of the channel bag of the multiple difference channel of same application is, it is necessary to root
Generation is compiled respectively according to the source code of application and the channel information of each channel;The process for generating channel bag is more multiple
It is miscellaneous, and easily error, cause the formation efficiency of channel bag very low.
【The content of the invention】
The invention provides the generation method and device of a kind of channel bag of application, the generation for improving channel bag is imitated
Rate.
The present invention provides a kind of generation method of the channel bag of application, and methods described includes:
According to the channel information of application, the channel information is configured under assets catalogues in basic installation kit;
Described basic installation kit to being configured with the channel information is signed, and obtains target channel bag.
Still optionally further, in method as described above, the channel information according to application, in basic installation kit
The channel information is configured under assets catalogues, is specifically included:
Judge whether include former channel information described in the basic installation kit under assets catalogues;
If including deleting the former channel information;
According to the channel information of the application, the channel is write under assets catalogues described in the basic installation kit
Information.
Still optionally further, in method as described above, also include:
If not including former channel information described in the basic installation kit under assets catalogues, according to the channel of the application
Information, directly writes the channel information described in the basic installation kit under assets catalogues.
Still optionally further, in method as described above, the described pair of basis for being configured with the channel information is installed
Bag is signed, and obtains target channel bag, is specifically included:
Whether judgement includes signing messages in being configured with the described basic installation kit of the channel information, if including deleting
Except the signing messages, the basic installation kit is signed again using jarsigner, obtained the target channel bag.
Still optionally further, in method as described above, if not including signing messages in the basic installation kit, also wrap
Include:
The basic installation kit is signed using jarsigner directly, the target channel bag is obtained.
Still optionally further, in method as described above, the described basic installation kit to being configured with the channel information enters
Row signature, obtains after target channel bag, also includes:
Alignment is compressed to the target channel bag for generating using ZIPALIGN.
Still optionally further, in method as described above, according to the channel information of application, the assets in basic installation kit
Before the channel information is configured under catalogue, also include:
According to the source code of the application, the described basic installation kit of the application is generated.
The present invention also provides a kind of generating means of the channel bag of application, and described device includes:
Channel information configuration module, for the channel information according to application, matches somebody with somebody under assets catalogues in basic installation kit
Put the channel information;
Signature blocks, for being signed to the described basic installation kit for being configured with the channel information, obtain target canal
Road bag.
Still optionally further, in device as described above, the channel information configuration module, specifically for:
Judge whether include former channel information described in the basic installation kit under assets catalogues;
If including deleting the former channel information;
According to the channel information of the application, the channel is write under assets catalogues described in the basic installation kit
Information.
Still optionally further, in device as described above, the channel information configuration module, if being specifically additionally operable to the base
Former channel information is not included described in plinth installation kit under assets catalogues, according to the channel information of the application, directly described
The channel information is write described in basic installation kit under assets catalogues.
Still optionally further, in device as described above, the signature blocks, specifically for judging to be configured with the channel
Whether include signing messages in the described basic installation kit of information, if including, the signing messages is deleted, utilize
Jarsigner is signed again to the basic installation kit, obtains the target channel bag.
Still optionally further, in device as described above, the signature blocks, if in being additionally operable to the basic installation kit not
Including signing messages, the basic installation kit is signed using jarsigner directly, obtain the target channel bag.
Still optionally further, in device as described above, also include:
Compression alignment module, for being compressed alignment to the target channel bag for generating using ZIPALIGN.
Still optionally further, in device as described above, also include:
Generation module, for the source code according to the application, generates the described basic installation kit of the application.
The generation method and device of the channel bag of application of the invention, by the channel information according to application, pacify on basis
In dress bag channel information is configured under assets catalogues;Basic installation kit to being configured with channel information is signed, and obtains target
Channel bag.Technical scheme, multiple support channels bag can be generated according to a basic installation kit, and without prior art institute
State, life is compiled respectively for each channel bag source code respectively according to application and the channel information of each channel
Into, therefore technical scheme, the generating process of channel bag can be greatly simplified, the formation efficiency of channel bag is very high;
And the channel bag of the technical scheme generation of the present embodiment, it is not easy to malfunction, accuracy is higher.
【Brief description of the drawings】
Fig. 1 is the flow chart of the generation method embodiment one of the channel bag of application of the invention.
Fig. 2 is the flow chart of the generation method embodiment two of the channel bag of application of the invention.
Fig. 3 is the structure chart of the generating means embodiment one of the channel bag of application of the invention.
Fig. 4 is the structure chart of the generating means embodiment two of the channel bag of application of the invention.
The structure chart of a kind of electronic equipment embodiment that Fig. 5 is provided for the present invention.
【Specific embodiment】
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment pair
The present invention is described in detail.
Fig. 1 is the flow chart of the generation method embodiment one of the channel bag of application of the invention.As shown in figure 1, this implementation
The generation method of the channel bag of the application of example, specifically may include steps of:
100th, according to the channel information of application, channel information is configured under assets catalogues in basic installation kit;
101st, the basic installation kit for being configured with channel information is signed, obtains target channel bag.
The channel information of the application of the present embodiment can include the identification information of the channel of application, for the unique mark canal
Road.The identification information of such as channel can include the source of channel, such as Baidu, QQ or application is precious, pea folder Chinese or
Person's Chinese phonetic alphabet as channel mark;Or can also be represented using the mark of customized channel such as channel ID
The mark of channel, such as be channel 01 using corresponding channel mark by Baidu's offer this;Being there is provided by QQ should
It is channel 02 with corresponding channel mark.One can be created in the present embodiment under the assets catalogues of basic installation kit
Record the file of channel number, the channel information for placing the channel bag.By in basic installation kit in the present embodiment
Channel information is placed under assets catalogues.Because the All Files under the assets catalogues necessarily participates in follow-up signature treatment,
So, can fully ensure that channel information can not be distorted arbitrarily.Therefore, in the present embodiment, by assets catalogues
The file of storage channel information is created, to ensure the safety of channel information, is difficult to be tampered.
If in Android operation system, the source code life that the basic installation kit in the present embodiment can be applied according to
Into form for apk file.The basic installation kit of the present embodiment, can be the bag generated according to the mode of prior art
Include channel information and the channel bag signed;Now the basic installation kit can be by normal mounting.Or the present embodiment
Basic installation kit can also be a tundish that can not be installed, for example with it is above-mentioned can be with the basic installation kit of normal mounting
Compare, the basic installation kit of the program can be not write channel information and/or the tundish signed.Due to normal hair
The channel bag of cloth must be added to channel information, and be signed, and can promote issue.And the channel that do not write of the present embodiment is believed
Breath and/or the basic installation kit signed can be easy to be subsequently generated others as a basic installation kit for centre
Channel bag.When channel information is not write in the basic installation kit, now need in the compilation phase, created under assets catalogues
One file of record channel number, but channel information is not write in this document, i.e., and only to establish one can store canal
The file of road information, is easy to subsequently write channel information wherein.When being unsigned in being wrapped during the basis is installed, the basis is installed
The security of bag is poor, it is impossible to be run.As long as and work as the basic installation kit and be signed and can be run, if the basis is pacified
Dress packet signature, and with former channel information, when now running, former channel information can be read, but also can be according to reading
To former channel information and the position of former channel information be under assets catalogues and the channel information to be write configures the basis
Installation kit.If basic installation kit is unsigned, regardless of whether with former channel information, being now not suitable for operation, Ke Yizhi
The position i.e. assets catalogues according to former channel information are connect, is detected whether with former channel information, and according to the channel to be write
Information, configures the basic installation kit.In the present embodiment, multiple support channels bag can be generated according to a basic installation kit.
The generation method of the channel bag of the application of the present embodiment, according to the channel information of application, in basic installation kit
Channel information is configured under assets catalogues;Basic installation kit to being configured with channel information is signed, and obtains target channel bag.
The technical scheme of the present embodiment, multiple support channels bag can be generated according to a basic installation kit, and without described in prior art, pin
Generation is compiled respectively according to the source code and the channel information of each channel applied respectively to each channel bag, therefore
The technical scheme of the present embodiment, can greatly simplify the generating process of channel bag, and the formation efficiency of channel bag is very high;And this reality
Apply the channel bag of the technical scheme generation of example, it is not easy to malfunction, accuracy is higher.
Fig. 2 is the flow chart of the generation method embodiment two of the channel bag of application of the invention.The application of the present embodiment
The generation method of channel bag further introduces this in further detail on the basis of the technical scheme of above-mentioned embodiment illustrated in fig. 1
The technical scheme of invention.As shown in Fig. 2 the generation method of the channel bag of the application of the present embodiment, can specifically include following step
Suddenly:
200th, according to the source code of application, the basic installation kit of application is generated;
In the present embodiment according to application source code, generate application basic installation kit during, it is necessary to
A file for record channel information is created under the assets catalogues of android engineerings, subsequently to record canal in this document
Road information.Specifically, channel information can have been recorded in the basis of generation is installed;Channel information can not also be recorded, is only protected
Stay a file for recording channel information of sky.The channel information is specifically as follows channel number, and the channel information specifically may be used
To record in the title of this document, or record is inside this document.The generation of the basic installation kit of the present embodiment can be wrapped
Include following process:A file for record channel information is created under the assets catalogues of android engineerings;If herein
Generation one needs the basic installation kit of operation, can write channel information in the file of the channel information;If otherwise herein
What is generated is a tundish for being used to be easy to other channel bags of generation, now can also temporarily not in record channel information
File in write channel information.Then Android component strapping tool (Android Asset Packaging Tool are utilized;
AAPT) by Resource files, AndroidManifest.xml files, Android MFCs (Android.jar files)
Packed Deng resource file, generated R.java files.Using Android IDLs (Android Interface
Definition Language;AIDL it is) that sound code file, aidl files, framework.aidl file generateds is corresponding
.java file.Using javac instruments by source code file (including R.java and AIDL generate .java files), library file
(.jar files) is compiled as .class files;The .dex files that .class file translations are supported into Davik VM.Utilize
By the resource file after packing, after packing, class file (.dex files), libs files are packaged into and unsign apkbuilder instruments
.apk files;If the basic installation kit of generation needs operation, can finally need to use herein according to demand
Jarsigner signs to .apk files of unsigning, the .apk files after being signed;If the basic installation kit for otherwise generating
It is a tundish for being used to be easy to other channel bags of generation, can not also be now signed.The base that i.e. the present embodiment is generated
Plinth is installed can include following four kinds of situations:1) including channel information, including signing messages;2) channel information is not included, including
Signing messages;3) including channel information, not including signing messages;4) channel information is not included, not including signing messages.
201st, whether former channel information is included in judgement basis installation kit under assets catalogues;If including performing step
202;Otherwise, if including performing step 203;
202nd, former channel information is deleted;Perform step 203;
203rd, according to the channel information of application, channel information is write under assets catalogues in basic installation kit;Perform step
Rapid 204;
The channel information of the application in the step is the channel information in the channel bag that will be generated.
The step of the present embodiment 201-203 the step of be above-mentioned embodiment illustrated in fig. 1 100 a kind of specific implementation.
Whether the 204th, judgement includes signing messages in being configured with the basic installation kit of channel information, if including performing step
205;Otherwise, if including performing step 206;
205th, signing messages is deleted;Perform step 206;
206th, basic installation kit is signed using jarsigner, obtains target channel bag;Perform step 207;
The form of the target channel bag finally given in the present embodiment is .apk forms.
The step of the present embodiment 204-206 the step of be above-mentioned embodiment illustrated in fig. 1 101 a kind of specific implementation.
207th, alignment is compressed to the target channel bag for generating using ZIPALIGN.
The channel bag of the generation of the present embodiment must need to be compressed registration process before issue, can just be published to
In application market.
The generation method of the channel bag of the application of the present embodiment, by using above-mentioned technical proposal, according to a basis peace
Dress bag can generate multiple support channels bag, and without described in prior art, for each channel bag respectively according to the source generation of application
The channel information of code and each channel is compiled generation respectively, can greatly simplify the generating process of channel bag, channel bag
Formation efficiency it is very high;And the channel bag of the technical scheme generation of the present embodiment, it is not easy to malfunction, accuracy is higher.
Fig. 3 is the structure chart of the generating means embodiment one of the channel bag of application of the invention.As shown in figure 3, this implementation
The generating means of the channel bag of the application of example, can specifically include:Channel information configuration module 10 and signature blocks 11.
Wherein channel information configuration module 10 is used for the channel information according to application, the assets catalogues in basic installation kit
Lower configuration channel information;Signature blocks 11 are used for the basis for being configured with channel information after the treatment of channel information configuration module 10
Installation kit is signed, and obtains target channel bag.
The generating means of the channel bag of the application of the present embodiment, the life of the channel bag by realizing application using above-mentioned module
Into realization principle and technique effect and above-mentioned related method embodiment realize identical, above-mentioned related side is may be referred in detail
The record of method embodiment, will not be repeated here.
Fig. 4 is the structure chart of the generating means embodiment two of the channel bag of application of the invention.As shown in figure 4, this implementation
The generating means of the channel bag of the application of example, it is further more detailed on the basis of the technical scheme of above-mentioned embodiment illustrated in fig. 3
Carefully introduce technical scheme.
In the generating means of the channel bag of the application of the present embodiment, channel information configuration module 10 specifically can be used for:
Whether former channel information is included in judgement basis installation kit under assets catalogues;
If including deleting former channel information;
According to the channel information of application, channel information is write under assets catalogues in basic installation kit.
Still optionally further, in the generating means of the channel bag of the application of the present embodiment, channel information configuration module 10 has
If body can be also used for not including former channel information under assets catalogues in basic installation kit, according to the channel information of application, directly
It is connected in basic installation kit and writes channel information under assets catalogues.
Still optionally further, in the generating means of the channel bag of the application of the present embodiment, signature blocks 11 are specifically for sentencing
It is disconnected to be configured with the basic installation kit of channel information whether include signing messages, if including, signing messages is deleted, utilize
Jarsigner is signed again to basic installation kit, obtains target channel bag.
Still optionally further, in the generating means of the channel bag of the application of the present embodiment, signature blocks 11 are specifically additionally operable to
If not including signing messages in basic installation kit, basic installation kit is signed using jarsigner directly, obtain target canal
Road bag.
Still optionally further, as shown in figure 4, also including that compression is right in the generating means of the channel bag of the application of the present embodiment
Neat module 12.Specifically, the target that compression alignment module 12 is generated after being used to sign signature blocks 11 using ZIPALIGN
Channel bag is compressed alignment.
Still optionally further, as shown in figure 4, also including generation mould in the generating means of the channel bag of the application of the present embodiment
Block 13.Wherein the generation module 13 is used for the source code according to application, generates the basic installation kit of application.Accordingly, channel letter
Breath configuration module 10 is used for the channel information according to application, under assets catalogues in the basic installation kit of the generation of generation module 13
Configuration channel information.
The generating means of the channel bag of the application of the present embodiment, the life of the channel bag by realizing application using above-mentioned module
Into realization principle and technique effect and above-mentioned related method embodiment realize identical, above-mentioned related side is may be referred in detail
The record of method embodiment, will not be repeated here.
The above method provided in an embodiment of the present invention and device to set and can run on the computer in electronic equipment
Program embodies.As shown in Figure 5, the structure chart of a kind of electronic equipment embodiment for being provided for the present invention.The electronic equipment can be with
Including one or more processors 800, also including memory 801 and one or more programs, embodiment illustrated in fig. 5 one includes one
Technical scheme is described as a example by individual processor 800.Wherein one or more program storages in memory 801,
Perform to realize the method flow and/or device shown in the above embodiment of the present invention by said one or multiple processors 800
Operation.For example, the method flow performed by said one or multiple processors 800, can include:
According to the channel information of application, the channel information is configured under assets catalogues in basic installation kit;
Described basic installation kit to being configured with the channel information is signed, and obtains target channel bag.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can store and be deposited in an embodied on computer readable
In storage media.Above-mentioned SFU software functional unit storage is in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention each
The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention
Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.
Claims (14)
1. the generation method of the channel bag of a kind of application, it is characterised in that methods described includes:
According to the channel information of application, the channel information is configured under assets catalogues in basic installation kit;
Described basic installation kit to being configured with the channel information is signed, and obtains target channel bag.
2. method according to claim 1, it is characterised in that the channel information according to application, in basic installation kit
The channel information is configured under middle assets catalogues, is specifically included:
Judge whether include former channel information described in the basic installation kit under assets catalogues;
If including deleting the former channel information;
According to the channel information of the application, the channel letter is write under assets catalogues described in the basic installation kit
Breath.
3. method according to claim 2, it is characterised in that methods described also includes:
If not including former channel information described in the basic installation kit under assets catalogues, the channel letter according to the application
Breath, directly writes the channel information described in the basic installation kit under assets catalogues.
4. method according to claim 1, it is characterised in that the described pair of basis peace for being configured with the channel information
Dress bag is signed, and obtains target channel bag, is specifically included:
Whether judgement includes signing messages in being configured with the described basic installation kit of the channel information, if including deleting institute
Signing messages is stated, the basic installation kit is signed again using jarsigner, obtain the target channel bag.
5. method according to claim 4, it is characterised in that if not including signing messages, institute in the basic installation kit
Stating method also includes:
The basic installation kit is signed using jarsigner directly, the target channel bag is obtained.
6. according to any described methods of claim 1-5, it is characterised in that the basis to being configured with the channel information
Installation kit is signed, and is obtained after target channel bag, and methods described also includes:
Alignment is compressed to the target channel bag for generating using ZIPALIGN.
7. according to any described methods of claim 1-5, it is characterised in that according to the channel information of application, installed on basis
Before configuring the channel information under assets catalogues in bag, methods described also includes:
According to the source code of the application, the described basic installation kit of the application is generated.
8. generating means of the channel bag of a kind of application, it is characterised in that described device includes:
Channel information configuration module, for the channel information according to application, institute is configured under assets catalogues in basic installation kit
State channel information;
Signature blocks, for being signed to the described basic installation kit for being configured with the channel information, obtain target channel bag.
9. device according to claim 8, it is characterised in that the channel information configuration module, specifically for:
Judge whether include former channel information described in the basic installation kit under assets catalogues;
If including deleting the former channel information;
According to the channel information of the application, the channel letter is write under assets catalogues described in the basic installation kit
Breath.
10. device according to claim 9, it is characterised in that the channel information configuration module, if being specifically additionally operable to institute
Stating does not include former channel information under assets catalogues described in basic installation kit, according to the channel information of the application, directly exist
Described in the basic installation kit channel information is write under assets catalogues.
11. devices according to claim 8, it is characterised in that the signature blocks, are configured with described specifically for judgement
Whether include signing messages in the described basic installation kit of channel information, if including, the signing messages is deleted, utilize
Jarsigner is signed again to the basic installation kit, obtains the target channel bag.
12. devices according to claim 11, it is characterised in that the signature blocks, if be additionally operable to the basis installing
Do not include signing messages in bag, the basic installation kit is signed using jarsigner directly, obtain the target channel
Bag.
13. according to any described devices of claim 8-12, it is characterised in that described device also includes:
Compression alignment module, for being compressed alignment to the target channel bag for generating using ZIPALIGN.
14. according to any described devices of claim 8-13, it is characterised in that described device also includes:
Generation module, for the source code according to the application, generates the described basic installation kit of the application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611259384.4A CN106843939A (en) | 2016-12-30 | 2016-12-30 | The generation method and device of the channel bag of application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611259384.4A CN106843939A (en) | 2016-12-30 | 2016-12-30 | The generation method and device of the channel bag of application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106843939A true CN106843939A (en) | 2017-06-13 |
Family
ID=59115030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611259384.4A Pending CN106843939A (en) | 2016-12-30 | 2016-12-30 | The generation method and device of the channel bag of application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106843939A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107579829A (en) * | 2017-07-31 | 2018-01-12 | 北京五八信息技术有限公司 | The endorsement method and device of compressed file bag |
CN107704238A (en) * | 2017-11-28 | 2018-02-16 | 广州市千钧网络科技有限公司 | A kind of method and device packed to project |
CN107992311A (en) * | 2017-12-27 | 2018-05-04 | 北京酷我科技有限公司 | A kind of method of rapid batch packing generation APK file |
CN108037949A (en) * | 2017-12-26 | 2018-05-15 | 深圳乐信软件技术有限公司 | Installation kit packaging method, device, computer equipment and storage medium by all kinds of means |
CN111046436A (en) * | 2018-10-11 | 2020-04-21 | 中国人民解放军战略支援部队航天工程大学 | System level package management-based signature authentication method and server |
CN111078223A (en) * | 2018-10-22 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Application program packaging method and device |
CN111198692A (en) * | 2018-11-16 | 2020-05-26 | 北京奇虎科技有限公司 | Installation package generation method and device |
CN111209001A (en) * | 2019-12-19 | 2020-05-29 | 福建升腾资讯有限公司 | Method, system, equipment and medium for batch generation of APKs of android channels |
CN111381865A (en) * | 2020-04-01 | 2020-07-07 | 深圳传趣网络技术有限公司 | Packaging method, device and equipment of game application and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103729186A (en) * | 2013-12-31 | 2014-04-16 | 上海网达软件股份有限公司 | Method for generating multi-channel apk file packages in batches |
CN104346184A (en) * | 2013-08-01 | 2015-02-11 | 中兴通讯股份有限公司 | Application packaging device and application packaging method |
CN105068853A (en) * | 2015-07-16 | 2015-11-18 | 贵阳语玩科技有限公司 | Channel package output method and apparatus |
CN105893008A (en) * | 2015-11-16 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and device for customizing multi-channel installation package |
-
2016
- 2016-12-30 CN CN201611259384.4A patent/CN106843939A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346184A (en) * | 2013-08-01 | 2015-02-11 | 中兴通讯股份有限公司 | Application packaging device and application packaging method |
CN103729186A (en) * | 2013-12-31 | 2014-04-16 | 上海网达软件股份有限公司 | Method for generating multi-channel apk file packages in batches |
CN105068853A (en) * | 2015-07-16 | 2015-11-18 | 贵阳语玩科技有限公司 | Channel package output method and apparatus |
CN105893008A (en) * | 2015-11-16 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and device for customizing multi-channel installation package |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107579829A (en) * | 2017-07-31 | 2018-01-12 | 北京五八信息技术有限公司 | The endorsement method and device of compressed file bag |
CN107704238A (en) * | 2017-11-28 | 2018-02-16 | 广州市千钧网络科技有限公司 | A kind of method and device packed to project |
CN107704238B (en) * | 2017-11-28 | 2021-06-15 | 广州市千钧网络科技有限公司 | Method and device for packaging items |
CN108037949A (en) * | 2017-12-26 | 2018-05-15 | 深圳乐信软件技术有限公司 | Installation kit packaging method, device, computer equipment and storage medium by all kinds of means |
CN108037949B (en) * | 2017-12-26 | 2020-09-15 | 深圳乐信软件技术有限公司 | Installation package multi-channel packaging method and device, computer equipment and storage medium |
CN107992311A (en) * | 2017-12-27 | 2018-05-04 | 北京酷我科技有限公司 | A kind of method of rapid batch packing generation APK file |
CN111046436A (en) * | 2018-10-11 | 2020-04-21 | 中国人民解放军战略支援部队航天工程大学 | System level package management-based signature authentication method and server |
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 |
CN111198692A (en) * | 2018-11-16 | 2020-05-26 | 北京奇虎科技有限公司 | Installation package generation method and device |
CN111209001A (en) * | 2019-12-19 | 2020-05-29 | 福建升腾资讯有限公司 | Method, system, equipment and medium for batch generation of APKs of android channels |
CN111381865A (en) * | 2020-04-01 | 2020-07-07 | 深圳传趣网络技术有限公司 | Packaging method, device and equipment of game application and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106843939A (en) | The generation method and device of the channel bag of application | |
CN103582888B (en) | System and method for preserving references in sandboxes | |
CN111782338B (en) | Data processing method and system based on blockchain intelligent contract | |
CN106778283B (en) | Method and system for protecting key data of system partition | |
US20200151170A1 (en) | Spark query method and system supporting trusted computing | |
TWI530874B (en) | Method and apparatus for generating application installation packages and running applications | |
CN104424423B (en) | The permission of application program determines method and apparatus | |
CN103810421B (en) | The method of calibration of application program, device and terminal unit | |
KR101434860B1 (en) | Method for Verifying Integrity of Dynamic Code Using Hash | |
CN111143869B (en) | Application package processing method and device, electronic equipment and storage medium | |
CN105184152B (en) | A kind of mobile terminal data processing method | |
CN107403089A (en) | Resource tamper Detection method and apparatus based on application program | |
CN106843909A (en) | Support the channel packaging method and device of channel customization | |
CN105075223B (en) | Tracking in a computing environment using | |
CN108196851A (en) | Using dissemination method and device | |
CN105631361A (en) | Application program channel source identification method and device | |
CN107301343A (en) | Secure data processing method, device and electronic equipment | |
TW202018573A (en) | Method and device for concealing transaction written to blockchain | |
CN106843962A (en) | One kind application packaging method and device | |
CN108170461A (en) | Difference upgrade package generation method, difference upgrade method and device | |
CN110021291B (en) | Method and device for calling voice synthesis file | |
CN104239112B (en) | A kind of installation method of device drive program and device | |
CN104657631B (en) | The processing method and processing device of the channel information of application | |
CN110008733B (en) | Method and device for hiding transaction written into block chain | |
CN110457669A (en) | The sheet disposal method and system based on B/S framework for facilitating service logic to control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170613 |