CN103577762B - Channel marking system and method in Android application distribution system - Google Patents
Channel marking system and method in Android application distribution system Download PDFInfo
- Publication number
- CN103577762B CN103577762B CN201210255238.XA CN201210255238A CN103577762B CN 103577762 B CN103577762 B CN 103577762B CN 201210255238 A CN201210255238 A CN 201210255238A CN 103577762 B CN103577762 B CN 103577762B
- Authority
- CN
- China
- Prior art keywords
- channel information
- unit
- channel
- file
- memory element
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
Abstract
The invention discloses a channel marking system and method in an Android application distribution system. The system comprises an encoding unit, a retrieving unit and a channel information adding unit, wherein the encoding unit serves for encoding channel information, the retrieving unit serves for retrieving the setting file entry of compressed files, and the channel information adding unit serves for adding the channel information encoded by the encoding unit to the extra field of the setting file entry retrieved by the retrieving unit. According to the channel marking system and method in the Android application distribution system, channel marks are located in the structure of zip-format files instead of being uncompressed and re-packaged. Therefore, errors due to package for channel adding can be reduced, and different channel marks can be added to APKs (android package) and distributed to various channels through minimized operation, further file modification can be simplified, the operation is simple and the response speed can be high.
Description
Technical field
The invention belongs to computer software technical field, it is related to a kind of channel Mk system, more particularly, to a kind of network pushes away
The channel Mk system in ARIXTRA application distribution system in wide;Moreover, it relates to a kind of ARIXTRA application distribution system
Interior channel labeling method.
Background technology
With the extensive application of the network promotion and network selling, and the enhancing of the network function of portable set, people
Can downloaded software, logon web page in several ways.Operating system also by originally traditional windows system gradually by ARIXTRA
Android system replaces.For system development side, software development side and advertisement putting side, what it was designed and developed is
System, software, and the advertisement thrown in, are finally known by user by which kind of mode, utilization rate height, and how effect is to opening again
Send out a critically important parameter index.Therefore, channel labelling, channel tracking and channel statistics are particularly important.
In the prior art, channel labelling is typically added in the apk bag of ARIXTRA application.In order to add this channel mark
Note, needs apk bag is decompressed, and then adds channel tab file, and file is repacked signature, and needs to use
The private key of developer could be implemented.It is also required to first apk bag be decompressed when extracting channel labelling simultaneously, then could read
Channel labelling.The operation of therefore whole channel labelling and reading channel information is all extremely loaded down with trivial details, and range is also quite limited, and
Mistake easily occurs during packaging operation.
Accordingly, it is desirable to be able to using a kind of method of new device of channel labelling and channel labelling, overcome channel labelling
And operational loaded down with trivial details, response time restricted defect when reading.
Content of the invention
The technical problem to be solved is: a kind of channel Mk system is provided, can not decompressed and by channel
Information writes file, simplifies the operation of channel labelling, it is to avoid mistake during channel labelling, shortens response time.
Additionally, the present invention also provides the channel labeling method in a kind of ARIXTRA application distribution system, can not decompressed and
Channel information is write file, simplifies the operation of channel labelling, it is to avoid mistake occurs during channel labelling, shorten response time.
For solving above-mentioned technical problem, the present invention adopts the following technical scheme that
A kind of channel Mk system, described system includes:
Coding unit, for being encoded channel information;
Channel information adding device, is added to setting of compressed file for the channel information after encoding described coding unit
Determine in the extra domain of file entry.
As a preferred embodiment of the present invention, described system also includes retrieval unit, for retrieving in compressed file
Set file entry;
Channel information after described coding unit is encoded by described channel information adding device is added to described retrieval unit
Retrieve in the extra domain of setting file entry obtaining.
As a preferred embodiment of the present invention, described system also includes memory element, buffer unit, signature unit, refers to
Make unit;
, in order to data storage, described buffer unit is in order to store temporary file for described memory element;
Described command unit connects described coding unit, retrieval unit, channel information adding device, signature unit, in order to
Action to described coding unit, retrieval unit, channel information adding device, signature unit coordinates control;
Described command unit controls coding unit to be encoded, and the channel information obtaining is put into described storage single after coding
Unit, sends the channel information obtaining after coding to signature unit simultaneously;
Described command unit controls signature unit to carry out encrypted signature to the channel information encoding through described coding unit,
Then send to described memory element;
Described command unit instruction retrieval unit scans for, and the channel information through encrypted signature in memory element is put
To in buffer unit, meanwhile, the channel information without encrypted signature is put into buffer unit by command unit instruction memory element
In;
Described command unit controls channel information adding device to rearrange file, by the channel information through encrypted signature
It is put in the extra domain of the file entry set in compressed file with without the channel information of encrypted signature.
As a preferred embodiment of the present invention, described retrieval unit is used for retrieving in zip formatted file and is used for depositing canal
The setting file entry of road information.
As a preferred embodiment of the present invention, described system also includes:
The reception server, reads feedback data during channel information in order to receive client;
Statistic unit, is connected with described the reception server, in order to count the feedback data that described the reception server receives.
A kind of labeling method of the channel Mk system in above-mentioned ARIXTRA application distribution system, methods described includes as follows
Step:
Coding step, channel information is encoded by coding unit;
Channel information adds step, and the channel information after described coding unit is encoded by channel information adding device is added to
In the extra domain of setting file entry of compressed file.
As a preferred embodiment of the present invention, methods described also includes searching step, and retrieval unit retrieves compressed file
In setting file entry;
Described channel information adds in step, channel information adding device described coding unit is encoded after channel information
It is added in the extra domain of setting file entry that described retrieval unit retrieval obtains.
As a preferred embodiment of the present invention, described system also includes memory element, buffer unit, signature unit, refers to
Make unit;, in order to data storage, described buffer unit is in order to store temporary file for described memory element;Described command unit connects
Described coding unit, retrieval unit, channel information adding device, signature unit, in order to described coding unit, retrieval unit,
Channel information adding device, the action of signature unit coordinate control;
Methods described specifically includes:
Described command unit controls coding unit to be encoded, and the channel information obtaining is put into described storage single after coding
Unit, sends the channel information obtaining after coding to signature unit simultaneously;
Described command unit controls signature unit to carry out encrypted signature to the channel information encoding through described coding unit,
Then send to described memory element;
Described command unit instruction retrieval unit scans for, and the channel information through encrypted signature in memory element is put
To in buffer unit, meanwhile, the channel information without encrypted signature is put into buffer unit by command unit instruction memory element
In;
Described command unit controls channel information adding device to rearrange file, by the channel information through encrypted signature
In the extra domain of the file entry of the setting being put into without the channel information of encrypted signature in compressed file;Then will
The file adding channel information is packed.
As a preferred embodiment of the present invention, in described searching step, retrieval unit is used for retrieving in zip formatted file
For depositing the setting file entry of channel information.
As a preferred embodiment of the present invention, methods described also includes:
Feedback data step, receives client by a reception server and reads feedback data during channel information;
Statistic procedure, the feedback data that the described the reception server of statistics receives.
The beneficial effects of the present invention is: the channel Mk system in ARIXTRA application distribution system proposed by the present invention and side
Method, channel labelling is placed in the structure of zip formatted file, rather than by decompressing and repacking.Thus, do not need
Using the private key of developer, it is reduced to add the mistake that channel packing causes it is only necessary to do the operation of minimum, canal that will be different
Road labelling is added in apk installation kit and is distributed to different channels, and the change realizing file simplifies, simple to operate, rings simultaneously
Answer speed fast, also increase the range of the method.
Brief description
Fig. 1 is the composition schematic diagram of the channel Mk system in ARIXTRA application distribution system of the present invention.
Fig. 2 is the flow chart of the channel labeling method in ARIXTRA application distribution system of the present invention.
Specific embodiment
Describe the preferred embodiments of the present invention below in conjunction with the accompanying drawings in detail.
Embodiment one
Refer to Fig. 1, present invention is disclosed the channel Mk system in a kind of ARIXTRA application distribution system, described system bag
Include: command unit 11, coding unit 12, signature unit 13, memory element 14, retrieval unit 15, buffer unit 16, channel information
Adding device 17, packaged unit 18;Described in detail below unit.
Described command unit 11 connects described coding unit 12, signature unit 13, retrieval unit 15, channel information interpolation list
Unit 17, in order to carry out to the action of described coding unit 12, signature unit 13, retrieval unit 15, channel information adding device 17
Coordinate to control.
Described command unit 11 controls coding unit 12 to be encoded channel information, the channel information that will obtain after coding
Put into described memory element 14, send the channel information obtaining after coding to signature unit 13 simultaneously.
Described command unit 11 controls signature unit 13 that the channel information encoding through described coding unit 11 is signed
Name encryption, then sends to described memory element 14.
Described command unit 11 instruction retrieval unit 15 scans for, and retrieval unit 15 is used for retrieving compressed format files
Last file entry in (as zip formatted file).Channel information through encrypted signature in memory element 14 is put
To in buffer unit 16;Meanwhile, command unit 11 instruction memory element 14 is slow by being put into without the channel information of encrypted signature
In memory cell 16.
Described command unit 11 controls channel information adding device 17 to rearrange file, signs passing through in buffer unit 16
The channel information of name encryption and be added to last that the retrieval of described retrieval unit obtains without the channel information of encrypted signature
In the extra domain of individual file entry.Then, packaged unit 18 is packed to the file adding channel information.
Additionally, described system can also include the reception server, statistic unit.The reception server is read in order to receive client
Take feedback data during channel information;Statistic unit is connected with described the reception server, connects in order to count described the reception server
The feedback data received.
It is described above the composition of channel Mk system of the present invention, the present invention, while disclosing said system, also discloses
The labeling method of above-mentioned channel Mk system.Refer to Fig. 2, described channel labeling method comprises the steps:
[step s1] command unit 11 controls coding unit 12 to be encoded channel information, the channel that will obtain after coding
Information puts into described memory element 14, sends the channel information obtaining after coding to signature unit 13 simultaneously.
[step s2] command unit 11 controls signature unit 13 that the channel information encoding through described coding unit 11 is entered
Row encrypted signature, then sends to described memory element 14.
[step s3] command unit 11 instruction retrieval unit 15 scans for, and retrieval unit 15 is used for retrieving compressed format literary composition
Last file entry in part (as zip formatted file).By the channel information through encrypted signature in memory element 14
It is put in buffer unit 16;Meanwhile, the channel information without encrypted signature is put into by command unit 11 instruction memory element 14
In buffer unit 16.
[step s4] described command unit 11 controls channel information adding device 17 to rearrange file, by buffer unit 16
The middle channel information through encrypted signature and be added to the retrieval of described retrieval unit without the channel information of encrypted signature and obtain
The extra domain of last file entry in.
The file adding channel information is packed by [step s5] packaged unit 18.
It is an advantage of the current invention that not needing to take the source code of developer it is not necessary to private key is it is not necessary to carry out to apk
Signature.
Embodiment two
The present embodiment is with the difference of embodiment one, in the present embodiment, is added to the file in zip formatted file
Entry, is not necessarily last file entry, can make the file entry that other set.It is added to last
The advantage of file entry is, the byte before not interfering with, convenient align, addressing is convenient.In order to ensure android application
The compatibility of apk, can leave channel information in last file entry in.If but do not require strict compatibility,
Each file entry can place channel information.
Additionally, AES, deciphering, propagation etc. can adopt any related algorithm, for example, encryption can adopt aes etc..
In sum, the channel Mk system in ARIXTRA application distribution system proposed by the present invention and method, by channel mark
Note is placed in the structure of zip formatted file, rather than by decompressing and repacking.Thus, it is reduced to add channel packing
It is only necessary to do the operation of minimum, channel labelling that will be different is added in apk installation kit and is distributed to difference the mistake causing
Channel, realize file change simplify, simple to operate, fast response time simultaneously.
Here description of the invention and application are illustrative, are not wishing to limit the scope of the invention to above-described embodiment
In.The deformation of embodiments disclosed herein and change are possible, real for those skilled in the art
It is known for applying the replacement of example and equivalent various parts.It should be appreciated by the person skilled in the art that without departing from the present invention
Spirit or essential characteristics in the case of, the present invention can in other forms, structure, arrangement, ratio, and with other assemblies,
Material and part are realizing.In the case of without departing from scope and spirit of the present invention, embodiments disclosed herein can be entered
The other deformation of row and change.
Claims (8)
1. the channel Mk system in a kind of ARIXTRA application distribution system is it is characterised in that described system includes:
Coding unit, for being encoded channel information;
Channel information adding device, is added to the setting of compressed file for the channel information after encoding described coding unit
In the extra domain of file entry;
Described system also includes retrieval unit, for retrieving the setting file entry in compressed file;
Channel information after described coding unit is encoded by described channel information adding device is added to described retrieval unit retrieval
In the extra domain of setting file entry obtaining;
Further include memory element, buffer unit, command unit;
, in order to data storage, described buffer unit is in order to store temporary file for described memory element;
Described command unit connects described coding unit, retrieval unit, channel information adding device, in order to single to described coding
Unit, retrieval unit, the action of channel information adding device coordinate control;
Described command unit controls coding unit to be encoded, and the channel information obtaining after coding is put into described memory element;
Described command unit instruction retrieval unit scans for, and the channel information in memory element is put in buffer unit;
Described command unit controls channel information adding device to rearrange file, channel information is put in compressed file and sets
The extra domain of file entry in.
2. the channel Mk system in ARIXTRA application distribution system according to claim 1 it is characterised in that:
Further include signature unit, described command unit connects described signature unit,
The channel information that described command unit obtains after encoding sends to signature unit;
Described command unit controls signature unit to carry out encrypted signature to the channel information encoding through described coding unit, then
Send to described memory element;
Described command unit instruction retrieval unit scans for, and the channel information through encrypted signature in memory element is put into slow
In memory cell, meanwhile, the channel information without encrypted signature is put in buffer unit command unit instruction memory element;
Described command unit controls channel information adding device to rearrange file, by the channel information and not through encrypted signature
It is put in the extra domain of the file entry set in compressed file through the channel information of encrypted signature.
3. the channel Mk system in ARIXTRA application distribution system according to claim 1 it is characterised in that:
Described retrieval unit is used for retrieving and is used in zip formatted file depositing the setting fileentry of channel information.
4. the channel Mk system in ARIXTRA application distribution system according to claim 1 it is characterised in that:
Described system also includes:
The reception server, reads feedback data during channel information in order to receive client;
Statistic unit, is connected with described the reception server, in order to count the feedback data that described the reception server receives.
5. a kind of channel labelling side using the channel Mk system in ARIXTRA application distribution system as claimed in claim 1
Method is it is characterised in that methods described comprises the steps:
Coding step, channel information is encoded by coding unit;
Channel information adds step, and the channel information after described coding unit is encoded by channel information adding device is added to compression
In the extra domain of setting file entry of file;
Methods described also includes searching step, and retrieval unit retrieves the setting file entry in compressed file;
Described channel information adds in step, and the channel information after described coding unit is encoded by channel information adding device adds
In the extra domain of the setting file entry obtaining to the retrieval of described retrieval unit;
Methods described specifically includes:
Described command unit controls coding unit to be encoded, and the channel information obtaining after coding is put into described memory element,
Described command unit instruction retrieval unit scans for, and the channel information in memory element is put in buffer unit,
Described command unit controls channel information adding device to rearrange file, channel information is put in compressed file and sets
The extra domain of file entry in;Then the file adding channel information is packed.
6. channel labeling method according to claim 5 it is characterised in that:
Further include, the channel information that described command unit obtains after encoding sends to signature unit;
Described command unit controls signature unit to carry out encrypted signature to the channel information encoding through described coding unit, then
Send to described memory element;
Described command unit instruction retrieval unit scans for, and the channel information through encrypted signature in memory element is put into slow
In memory cell, meanwhile, the channel information without encrypted signature is put in buffer unit command unit instruction memory element;
Described command unit controls channel information adding device to rearrange file, by the channel information and not through encrypted signature
It is put in the extra domain of the file entry set in compressed file through the channel information of encrypted signature;Then canal will be added
The file of road information is packed.
7. channel labeling method according to claim 5 it is characterised in that:
In described searching step, retrieval unit is used for retrieving and is used in zip formatted file depositing the setting file of channel information
entry.
8. channel labeling method according to claim 5 it is characterised in that:
Methods described also includes:
Feedback data step, receives client by a reception server and reads feedback data during channel information;
Statistic procedure, the feedback data that the described the reception server of statistics receives.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210255238.XA CN103577762B (en) | 2012-07-23 | 2012-07-23 | Channel marking system and method in Android application distribution system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210255238.XA CN103577762B (en) | 2012-07-23 | 2012-07-23 | Channel marking system and method in Android application distribution system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103577762A CN103577762A (en) | 2014-02-12 |
CN103577762B true CN103577762B (en) | 2017-02-01 |
Family
ID=50049523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210255238.XA Active CN103577762B (en) | 2012-07-23 | 2012-07-23 | Channel marking system and method in Android application distribution system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103577762B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090946B (en) * | 2014-06-30 | 2018-05-15 | 广州华多网络科技有限公司 | The method and device of information is added in application installation package |
CN104346167B (en) * | 2014-08-25 | 2018-05-08 | 腾讯科技(深圳)有限公司 | The method and device of channel bag is applied in generation |
CN105631361B (en) * | 2014-10-28 | 2018-12-07 | 中国移动通信集团终端有限公司 | A kind of application program channel source identification method and device |
CN105718276B (en) * | 2014-12-02 | 2020-12-11 | 北京奇虎科技有限公司 | Method and device for providing APK download and NGINX server |
CN104503745B (en) * | 2014-12-09 | 2018-06-26 | 北京奇虎科技有限公司 | A kind of method and apparatus generated using channel packet |
CN104503780B (en) * | 2014-12-09 | 2018-12-14 | 深圳市奇付通科技有限公司 | It is a kind of that method and apparatus that applying channel packet are provided |
CN104503862B (en) * | 2014-12-09 | 2017-12-19 | 北京奇虎科技有限公司 | The method and apparatus for obtaining the check value using channel bag |
CN104850444A (en) * | 2015-05-29 | 2015-08-19 | 百度在线网络技术(北京)有限公司 | Software installation package distribution method, software installation package distribution device, software installation method and software installation device |
CN105487881A (en) * | 2015-08-20 | 2016-04-13 | 广州爱九游信息技术有限公司 | Software installation package packaging method, device and system |
CN106843962A (en) * | 2017-01-19 | 2017-06-13 | 北京乐盟互动科技有限公司 | One kind application packaging method and device |
CN113094121B (en) * | 2021-04-30 | 2023-03-10 | 腾讯科技(成都)有限公司 | Data processing method, data processing equipment and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1950798A (en) * | 2004-04-29 | 2007-04-18 | 西姆毕恩软件有限公司 | Installation of software on removable media |
EP1965333A2 (en) * | 2005-03-10 | 2008-09-03 | Hitachi Ltd. | File server for translating user identifier |
CN102056188A (en) * | 2009-10-30 | 2011-05-11 | 华为终端有限公司 | Data generation method, data transmission method and related equipment |
-
2012
- 2012-07-23 CN CN201210255238.XA patent/CN103577762B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1950798A (en) * | 2004-04-29 | 2007-04-18 | 西姆毕恩软件有限公司 | Installation of software on removable media |
EP1965333A2 (en) * | 2005-03-10 | 2008-09-03 | Hitachi Ltd. | File server for translating user identifier |
CN102056188A (en) * | 2009-10-30 | 2011-05-11 | 华为终端有限公司 | Data generation method, data transmission method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103577762A (en) | 2014-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103577762B (en) | Channel marking system and method in Android application distribution system | |
CN101646995A (en) | Data stream filters and plug-ins for storage managers | |
CN102664930A (en) | Off-line learning system | |
US10380329B2 (en) | Method and apparatus for preventing application from being deciphered | |
CN102821094B (en) | Data safety processing method in virtual desktop and system | |
CN101910976A (en) | Efficient low power retrieval techniques of media data from non-volatile memory | |
CN105933799A (en) | Method and device for playing video | |
CN103460707A (en) | Multimedia content editing server, multimedia content editing method, program, and integrated circuit | |
CN110633575A (en) | Data encryption method, device, equipment and storage medium | |
CN105446975A (en) | File packing method and device | |
CN111339201A (en) | Evaluation method and system based on block chain | |
CN108182129A (en) | A kind of digital evidence obtaining system and method based on mobile terminal mirror image restoring data information | |
CN102779048A (en) | Method and device for operating hypertext markup language5 (HTML5) application program at mobile terminal | |
CN112506878A (en) | File processing method and device, storage medium and electronic equipment | |
CN109376119B (en) | Method for creating disk image file encrypted snapshot, method for using disk image file encrypted snapshot and storage medium | |
CN106506178A (en) | A kind of method and system for for the accurate drainage of main broadcaster | |
CN104317817B (en) | The version compatibility method and device of a kind of configuration file | |
CN110968885A (en) | Model training data storage method and device, electronic equipment and storage medium | |
CN101739391A (en) | Method for generating electronic book with binary file format and electronic book generated by same | |
CN103646121A (en) | Identifier code, application method and device | |
CN102611716A (en) | Method and device for transmitting media file | |
US20220014381A1 (en) | Message authentication code (mac) generation for live migration of encrypted virtual machiness | |
CN105704215A (en) | File sharing system and corresponding file sending and receiving method and device | |
CN111198692A (en) | Installation package generation method and device | |
CN103226673A (en) | Method and device for processing SWF (Shock Wave Flash) separation encryption in batches |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |