CN106911738A - A kind of method and server for generating application installation kit - Google Patents
A kind of method and server for generating application installation kit Download PDFInfo
- Publication number
- CN106911738A CN106911738A CN201510975378.8A CN201510975378A CN106911738A CN 106911738 A CN106911738 A CN 106911738A CN 201510975378 A CN201510975378 A CN 201510975378A CN 106911738 A CN106911738 A CN 106911738A
- Authority
- CN
- China
- Prior art keywords
- application
- installation kit
- identification information
- original packet
- intermediate parity
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3239—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
Abstract
The invention discloses a kind of method and server for generating application installation kit, the method includes:Receive the application request message that application side sends;According to the identification information of application, the original packet of respective application is obtained, and generate corresponding application installation kit;Original packet generation intermediate parity value according to respective application, according to the intermediate parity value for being generated and the identification information of application side, generates the check value of application installation kit;Application installation kit and its check value are handed down to application side, so that application side is verified and promoted to application installation kit.According to this programme, the application installation kit of the identification information comprising application side is during circulation, the channels of respective application can be identified according to the identification information of its application side for being included, and then promotion effect of the different application sides to respective application can be counted, can further improve the overall promotion effect of application accordingly by the adjustment of corresponding channels.
Description
Technical field
The present invention relates to Internet technical field, and in particular to a kind of method of generation application installation kit
And server.
Background technology
With continuing to develop for development of Mobile Internet technology, all kinds of application software suitable for mobile terminal are more next
It is more, greatly facilitate and enrich the life of people.It is with the Android application in mobile phone assistant's platform
Example, the Android application installation package in mobile phone assistant's platform uses the original installation kit of manufacturer.However,
Due to only have application message data in original installation kit and without the relevant information of mobile phone assistant's platform so that it is former
Beginning installation kit None- identified application side during the circulation from application side to user side, i.e., without
Method knows that each is to make user by the popularization of which application side in the application that mobile terminal is mounted
Download, it is impossible to know the promotion effect of each application side, and then cannot be counted with application side
The flows such as clearing, are promoted so can not will apply and give third-party application popularization side.Therefore, it is original
Application installation package greatly constrains the popularization of application software.
Therefore, need at present those skilled in the art urgently solve a technical problem be exactly:How
The installation kit of the identification information comprising application side is provided to third-party application popularization side.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes above mentioned problem or at least part of to provide one kind
Solve the above problems generation application installation kit method and server.
According to one aspect of the present invention, there is provided a kind of method of generation application installation kit, wherein,
The method includes:
The application request message that application side sends is received, the application request message includes:Using
Identification information, the identification information of application side;
According to the identification information of the application, the original packet of respective application is obtained;
Original packet and the identification information of the application side according to the respective application, generate application and push away
Wide installation kit;
Original packet generation intermediate parity value according to the respective application, according to the intermediate parity value for being generated
With the identification information of the application side, the check value of the application installation kit is generated;
The application installation kit and its check value are handed down to the application side, are answered for described
The application installation kit is verified and promoted to user with popularization side.
Alternatively, the identification information of the original packet according to the respective application and the application side,
Generation application installation kit includes:
The head number of the original packet for reading the respective application is accessed in the original packet of the respective application
According to the SDK with mantissa's evidence;
The identification information of original packet and the application side to the respective application together compiles generation should
With popularization installation kit;Or, by data continued access corresponding to the identification information of the application side described
The stem and/or afterbody of the data of the original packet of respective application, packing generation application installation kit.
Alternatively, it is described to be included according to the original packet of respective application generation intermediate parity value:Calculate institute
The MD5 values of original packet of respective application are stated as intermediate parity value;
The identification information according to the intermediate parity value for being generated and the application side, generation is described
The check value of application installation kit:Calculate the mark letter of the intermediate parity value and the application side
The MD5 values of breath, as the check value of the application installation kit.
Alternatively, the MD5 values of the original packet for calculating the respective application are used as intermediate parity value bag
Include:
The data of the original packet of the respective application are divided into multistage according to preset rules, each data segment is calculated
MD5 values, the MD5 value superpositions of each data segment are obtained into intermediate parity value.
Alternatively, it is described to be included according to the original packet of respective application generation intermediate parity value:Calculate institute
The SHA1 values of original packet of respective application are stated as intermediate parity value;
The identification information according to the intermediate parity value for being generated and the application side, generation is described
The check value of application installation kit:Calculate the mark letter of the intermediate parity value and the application side
The SHA1 values of breath, as the check value of the application installation kit.
Alternatively, the SHA1 values of the original packet for calculating the respective application are used as intermediate parity value bag
Include:
The data of the original packet of the respective application are divided into multistage according to preset rules, each data segment is calculated
SHA1 values, the SHA1 value superpositions of each data segment are obtained into intermediate parity value.
Alternatively, the method is further included:By the data length of the application installation kit, install
One or more in bag title, corresponding Apply Names, corresponding application icon and the application
Installation kit and its check value are together handed down to the application side.
Alternatively, the method is further included:
The application feedback message that applications client sends is received, is wrapped in the application feedback message
Include:The identification information of the application side carried in the corresponding application installation kit of the applications client.
According to another aspect of the present invention, a kind of server for generating application installation kit is additionally provided,
Wherein, the server includes:
Receiving unit, is suitable to receive the application request message that application side sends, and the application request disappears
Breath includes:The identification information of application, the identification information of application side;
Installation kit generation unit, is suitable to the identification information according to the application, obtains the original of respective application
Bag;Original packet and the identification information of the application side according to the respective application, generate application and push away
Wide installation kit;
Check value generation unit, is suitable to generate intermediate parity value, root according to the original packet of the respective application
According to the intermediate parity value for being generated and the identification information of the application side, the application peace is generated
Fill the check value of bag;
Issuance unit, is suitable to for the application installation kit and its check value to be handed down to the application
Side, so that the application side is verified and promoted to user to the application installation kit.
Alternatively, the installation kit generation unit, is suitable to be accessed in the original packet of the respective application and uses
In the head data and the SDK of mantissa's evidence of the original packet for reading the respective application;To described
The identification information of the original packet of respective application and the application side together compiles generation application and installs
Bag;Or, by data continued access corresponding to the identification information of the application side in the respective application
The stem and/or afterbody of the data of original packet, packing generation application installation kit.
Alternatively, the check value generation unit, is suitable to the MD5 of the original packet for calculating the respective application
Value is used as intermediate parity value;Calculate the identification information of the intermediate parity value and the application side
MD5 values, as the check value of the application installation kit.
Alternatively, the check value generation unit, is suitable to the original of the respective application according to preset rules
The data for beginning to wrap are divided into multistage, calculate the MD5 values of each data segment, and the MD5 values of each data segment are superimposed
Obtain intermediate parity value.
Alternatively, the check value generation unit, is suitable to the SHA1 of the original packet for calculating the respective application
Value is used as intermediate parity value;Calculate the identification information of the intermediate parity value and the application side
SHA1 values, as the check value of the application installation kit.
Alternatively, the check value generation unit, is suitable to the original of the respective application according to preset rules
The data for beginning to wrap are divided into multistage, calculate the SHA1 values of each data segment, and the SHA1 values of each data segment is folded
Plus obtain intermediate parity value.
Alternatively, the issuance unit, be further adapted for by the data length of the application installation kit,
One or more in installation kit title, corresponding Apply Names, corresponding application icon and the application
Promote installation kit and its check value together returns to the application side.
Alternatively, the receiving unit, is further adapted for receiving the application time that applications client sends
Feedback message, the application feedback message includes:The corresponding application peace of the applications client
The identification information of the application side carried in dress bag.
From the foregoing, the technical scheme that the present invention is provided disappears according to the application request that application side sends
Breath, further mark of the generation comprising application side is believed on the basis of the original packet for obtaining respective application
The application installation kit of breath, and the check value corresponding to the application installation kit is generated, will be using pushing away
Guangan dress chartered plane device check value is handed down to application side so that the application side can be according to check value
Correctness and security to application installation kit are verified, and then are promoted again to user.According to this
Scheme, the application installation kit of the identification information comprising application side during circulation, either
Different clients are still downloaded in application side, the application that can be included according to it
The identification information of side identifies the channels of respective application, and then can count different applications
Side can further improve to the promotion effect of respective application accordingly by the adjustment of corresponding channels
The overall promotion effect of application, meets popularization demand of the manufacturer for application.
Described above is only the general introduction of technical solution of the present invention, in order to better understand skill of the invention
Art means, and can be practiced according to the content of specification, and it is of the invention above and other in order to allow
Objects, features and advantages can become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are for this
Field those of ordinary skill will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical part.In the accompanying drawings:
Fig. 1 shows a kind of method for generating application installation kit according to an embodiment of the invention
Flow chart;
Fig. 2 shows a kind of server for generating application installation kit according to an embodiment of the invention
Schematic diagram.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although being shown in accompanying drawing
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure without
Should be limited by embodiments set forth here.Conversely, there is provided these embodiments are able to more thoroughly
Understand the disclosure, and can by the scope of the present disclosure it is complete convey to those skilled in the art.
Fig. 1 shows a kind of method for generating application installation kit according to an embodiment of the invention
Flow chart.As shown in figure 1, the method includes:
Step S110:The application request message that application side sends is received, in the application request message
Including:The identification information of application, the identification information of application side.
Wherein, the application side is the application platform of integrated various applications, and user can pass through
The application platform gets the different application of different vendor's exploitation.The application that this step is received
Just the application request message of transmission refers to:Receive the application request that application root sends according to the demand of popularization
Message, the identification information of the application included in the application request message is that the application side waits to promote
The identification information of application, is the unique mark of respective application, and the identification information of application side be this should
With the unique mark of popularization side.
Step S120:According to the identification information of the application, the original packet of respective application is obtained.
This step is index with the identification information applied, and is obtained from being pre-configured with the system using original packet
The original packet of respective application, for example, in advance storing in content distributing network the original packet of each application
(CDN) in server, this step is by the shell scripts of linux by the original packet of respective application from CDN
Downloaded in server, it is of course also possible to be to send the mark comprising application to CDN server to believe
The request of breath, receives the original packet of the respective application that CDN server is returned.
Step S130:The identification information of original packet according to the respective application and the application side,
Generation application installation kit.
Step S140:Original packet generation intermediate parity value according to the respective application, according to what is generated
Intermediate parity value and the identification information of the application side, generate the verification of the application installation kit
Value.
Step S150:The application installation kit and its check value are handed down to the application side,
So that the application side is verified and is promoted to user to the application installation kit.
It can be seen that, the application request message that the method shown in Fig. 1 sends according to application side is obtaining phase
The further application of identification information of the generation comprising application side on the basis of the original packet that should be applied
Installation kit, and the check value corresponding to the application installation kit is generated, by application installation kit machine
Check value is handed down to application side so that the application side can pacify according to check value to application
The correctness and security for filling bag are verified, and then are promoted again to user.According to this programme, comprising should
With the application installation kit of the identification information of popularization side during circulation, either in application side
Still different clients are downloaded to, can be according to the identification information of its application side for being included
The channels of respective application are identified, and then different application sides can be counted to respective application
Promotion effect, the entirety that can further improve application accordingly by the adjustment of corresponding channels pushes away
Wide effect, meets popularization demand of the manufacturer for application.
In one embodiment of the invention, original packets and institute of the step S130 according to the respective application
The identification information of application side is stated, generation application installation kit includes:In the original of the respective application
The head data and the software development work of mantissa's evidence of the original packet for reading the respective application are accessed in beginning bag
Tool bag SDK;The identification information of original packet and the application side to the respective application is together compiled
Generation application installation kit;Or, by data continued access corresponding to the identification information of the application side
In the stem and/or afterbody of the data of the original packet of the respective application, packing generation application is installed
Bag.
Wherein, the original packet for reading the respective application is accessed in the original packet of the respective application
Head data and the purpose of SDK SDK of mantissa's evidence be:Application for generating is pacified
Dress bag, when the application installation kit is installed on the terminal device, it is necessary to using the software development work
Tool bag SDK identifies the original data portion of the respective application in the application installation kit, to perform
The original data portion realizes the correlation function of respective application.When the access in the original packet of respective application
After the SDK, record has the version number of the SDK in the file of the original packet of affiliated respective application.
In one embodiment of the invention, step S140 is generated according to the original packet of the respective application
Intermediate parity value, according to the intermediate parity value for being generated and the identification information of the application side, generates
The check value of the application installation kit includes:Calculate the MD5 values of the original packet of the respective application
As intermediate parity value;Calculate the MD5 of the identification information of the intermediate parity value and the application side
Value, as the check value of the application installation kit.
Wherein, the MD5 for calculating the original packet of respective application can be based on as the process of intermediate parity value
OpenSSL exploitations calculate the PHP expanded applications of MD5 medians;Calculate the intermediate parity value and institute
Stating the MD5 values of the identification information of application side can be:Intermediate parity value is calculated in real time and application is pushed away
MD5 value of character series connection corresponding to wide square identification information with after.
Specifically, the MD5 values of the original packet of the above-mentioned calculating respective application are used as intermediate parity value bag
Include:The data of the original packet of the respective application are divided into multistage according to preset rules, each data segment is calculated
MD5 values, the MD5 value superpositions of each data segment are obtained into intermediate parity value.In this point of the present embodiment
, it is necessary to carry out storage treatment to middle check value under the scene of section superposition calculation MD5, relative to a large amount of
Calculating, the cost of storage is very low.
In another embodiment of the present invention, step S140 gives birth to according to the original packet of the respective application
Into intermediate parity value, according to the intermediate parity value for being generated and the identification information of the application side, give birth to
Check value into the application installation kit includes:Calculate the SHA1 of the original packet of the respective application
Value is used as intermediate parity value;Calculate the identification information of the intermediate parity value and the application side
SHA1 values, as the check value of the application installation kit.
Specifically, the SHA1 values of the original packet of the above-mentioned calculating respective application are used as intermediate parity value bag
Include:The data of the original packet of the respective application are divided into multistage according to preset rules, each data segment is calculated
SHA1 values, the SHA1 value superpositions of each data segment are obtained into intermediate parity value.It is this in the present embodiment
, it is necessary to carry out storage treatment to middle check value under the scene of segmentation superposition calculation SHA1, relative to big
The calculating of amount, the cost of storage is very low.
Further, can also be together with application installation kit in the lump by the association of the application installation kit
Information is sent to application side so that user browses to the application installation kit by application side
When, moreover it is possible to the related information of the application installation kit is known in the lump.Then in one embodiment of the present of invention
In, the method shown in Fig. 1 also includes:By the data length of the application installation kit, installation kit name
One or more in title, corresponding Apply Names, corresponding application icon are installed with the application
Bag and its check value are together handed down to the application side.
Further, in one embodiment of the invention, the method shown in Fig. 1 also includes:Receiving should
The application feedback message sent with client, the application feedback message includes:It is described to answer
With the identification information of the application side carried in the corresponding application installation kit of client.
For example, reached the standard grade in Extension Software Platform b using a being promoted, then the application of application a is pacified
Dress bag is issued to Extension Software Platform b, includes using the original packet pair of a using the application installation kit of a
The data the answered data corresponding with the identification information of Extension Software Platform b, wherein corresponding using the original packet of a
Data corresponding to the identification information of data trailer continued access Extension Software Platform b, and in the application installation kit
The SDK for reading tail data is accessed, this is applied user m the application of a from Extension Software Platform b
Promote installation kit to download on the mobile phone of oneself, the application peace for installing this using a is decompressed on mobile phone
Dress bag, during installation, the corresponding data of original packet for applying a is identified using the SDK simultaneously
Installation is performed, is installed on the mobile phone of user m and is applied a clients, and, known using the SDK
The identification information for not gone out Extension Software Platform b is put under the specified file path using a clients.In response to
Using the operation using a clients, this is scanned user m using a clients under specified file path
The identification information of Extension Software Platform b and the installation feedback uploaded onto the server as application a clients.Similarly,
The application installation kit of the application a for being promoted by any Extension Software Platform, all downloads and installation are somebody's turn to do
Can accordingly using the application a clients on the terminal device of the user of the application installation kit of a
The identification information of application side carries out feedback, then server side can be known and be downloaded using all of a
The channel of installation, can further count to the promotion effect of each application side, check and apply a
Promotion effect in which application side is best, and what its reason is, with the issue to application from now on
Reference is provided with promoting.
Fig. 2 shows a kind of server for generating application installation kit according to an embodiment of the invention
Schematic diagram.As shown in Fig. 2 the server 200 of the generation application installation kit includes:
Receiving unit 210, is suitable to receive the application request message that application side sends, and the application please
Seeking message includes:The identification information of application, the identification information of application side.
Installation kit generation unit 220, is suitable to the identification information according to the application, obtains respective application
Original packet;Original packet and the identification information of the application side according to the respective application, generate and answer
With popularization installation kit.
Check value generation unit 230, is suitable to generate intermediate parity value according to the original packet of the respective application,
According to the intermediate parity value for being generated and the identification information of the application side, the application is generated
The check value of installation kit.
Issuance unit 240, is suitable to for the application installation kit and its check value to be handed down to the application
Popularization side, so that the application side is verified and promoted to user to the application installation kit.
It can be seen that, the application request message that the server shown in Fig. 2 sends according to application side is being obtained
Further the application of identification information of the generation comprising application side is pushed away on the basis of the original packet of respective application
Wide installation kit, and the check value corresponding to the application installation kit is generated, chartered plane is installed into application
Device check value is handed down to application side so that the application side can be according to check value to application
The correctness and security of installation kit are verified, and then are promoted again to user.Foundation this programme, comprising
The application installation kit of the identification information of application side during circulation, either in application
Side is still downloaded to different clients, can believe according to the mark of its application side for being included
Breath identifies the channels of respective application, and then can count different application sides to accordingly should
Promotion effect, the entirety of application can be further improved accordingly by the adjustment of corresponding channels
Promotion effect, meets popularization demand of the manufacturer for application.
Further, in one embodiment of the invention, the receiving unit 210, is further adapted for receiving
The application feedback message that applications client sends, the application feedback message includes:It is described
The identification information of the application side carried in the corresponding application installation kit of applications client.
In one embodiment of the invention, the installation kit generation unit 220, is suitable to described corresponding
Accessed in the original packet of application original packet for reading the respective application head data and mantissa's evidence it is soft
Part development kit;The identification information of original packet and the application side to the respective application is together
Compiling generation application installation kit;Or, by data corresponding to the identification information of the application side
In the stem and/or afterbody of the data of the original packet of the respective application, generation application of packing is pacified for continued access
Dress bag.
In one embodiment of the invention, the check value generation unit 230, is suitable to calculate the phase
The MD5 values of the original packet that should be applied are used as intermediate parity value;Calculate the intermediate parity value and it is described should
With the MD5 values of the identification information of popularization side, as the check value of the application installation kit.
In one embodiment of the invention, the check value generation unit 230, is suitable to according to default rule
The data of the original packet of the respective application are then divided into multistage, the MD5 values of each data segment are calculated, will
The MD5 value superpositions of each data segment obtain intermediate parity value.
In one embodiment of the invention, the check value generation unit 230, is suitable to calculate the phase
The SHA1 values of the original packet that should be applied are used as intermediate parity value;Calculate the intermediate parity value and it is described should
With the SHA1 values of the identification information of popularization side, as the check value of the application installation kit.
In one embodiment of the invention, the check value generation unit 230, is suitable to according to default rule
The data of the original packet of the respective application are then divided into multistage, the SHA1 values of each data segment are calculated, will
The SHA1 value superpositions of each data segment obtain intermediate parity value.
Further, in one embodiment of the invention, be further adapted for will be described for the issuance unit 240
The data length of application installation kit, installation kit title, corresponding Apply Names, corresponding application drawing
One or more in mark together return to the application and push away with the application installation kit and its check value
Wide side.
In one embodiment of the invention, receiving unit 210, are further adapted for receiving applications client
The application feedback message of transmission, the application feedback message includes:The applications client
The identification information of the application side carried in corresponding application installation kit.
It should be noted that each embodiment of each embodiment of server shown in Fig. 2 and method shown in Fig. 1
Correspondence is identical, has above been described in detail, and will not be repeated here.
In sum, the application request message that the technical scheme that the present invention is provided sends according to application side,
Further generation includes the identification information of application side on the basis of the original packet for obtaining respective application
Application installation kit, and the check value corresponding to the application installation kit is generated, application is pacified
Dress chartered plane device check value is handed down to application side so that the application side can be according to check value correspondence
Verified with the correctness and security of promoting installation kit, and then promoted again to user.According to this programme,
The application installation kit of the identification information comprising application side is either being applied during circulation
Popularization side is still downloaded to different clients, can be according to the mark of its application side for being included
Knowledge information identifies the channels of respective application, and then can count different application sides to phase
The promotion effect that should be applied, application can be further improved accordingly by the adjustment of corresponding channels
Overall promotion effect, meets popularization demand of the manufacturer for application.
It should be noted that:
Algorithm and display be not solid with any certain computer, virtual bench or miscellaneous equipment provided herein
There is correlation.Various fexible units can also be used together with based on teaching in this.As described above,
It is obvious to construct the structure required by this kind of device.Additionally, the present invention is not also for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done to language-specific above is to disclose preferred forms of the invention.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of without these details.In some instances, not
Known method, structure and technology are shown specifically, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect
Or it is multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention is sometimes
It is grouped together into single embodiment, figure or descriptions thereof.However, should not be by the disclosure
Method be construed to reflect following intention:I.e. the present invention for required protection requirement ratio is in each claim
The middle more features of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right
It is required that in itself all as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out certainly to the module in the equipment in embodiment
Adaptively change and they are arranged in one or more equipment different from the embodiment.Can be with
Module or unit or component in embodiment is combined into a module or unit or component, and in addition may be used
To be divided into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit exclude each other, can be using any combinations to this specification (including companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes or unit of person's equipment are combined.Unless expressly stated otherwise, this specification (including companion
With claim, summary and accompanying drawing) disclosed in each feature can it is identical by offers, equally or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include it
Some included features are rather than further feature, but the group of the feature of different embodiments in its embodiment
Conjunction means to be within the scope of the present invention and formed different embodiments.For example, in following power
In sharp claim, the one of any of embodiment required for protection mode can make in any combination
With.
All parts embodiment of the invention can be realized with hardware, or be processed with one or more
The software module run on device is realized, or is realized with combinations thereof.Those skilled in the art should
Understand, basis can be realized using microprocessor or digital signal processor (DSP) in practice
A kind of some or all parts in the server of the generation application installation kit of the embodiment of the present invention
Some or all functions.The present invention be also implemented as perform method as described herein one
Partly or completely equipment or program of device (for example, computer program and computer program product).
It is such to realize that program of the invention be stored on a computer-readable medium, or can have one
Or the form of multiple signals.Such signal can be downloaded from internet website and obtained, or carried
There is provided on body signal, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention,
And those skilled in the art can design replacement in fact without departing from the scope of the appended claims
Apply example.In the claims, should not be configured to any reference symbol being located between bracket will to right
The limitation asked.Word "comprising" does not exclude the presence of element or step not listed in the claims.Positioned at unit
Word "a" or "an" before part does not exclude the presence of element as multiple.The present invention can be by means of
Include the hardware of some different elements and realized by means of properly programmed computer.Listing
If in the unit claim of equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.Can be by this
A little words are construed to title.
The invention discloses A1, a kind of method of generation application installation kit, wherein, the method includes:
The application request message that application side sends is received, the application request message includes:Using
Identification information, the identification information of application side;
According to the identification information of the application, the original packet of respective application is obtained;
Original packet and the identification information of the application side according to the respective application, generate application and push away
Wide installation kit;
Original packet generation intermediate parity value according to the respective application, according to the intermediate parity value for being generated
With the identification information of the application side, the check value of the application installation kit is generated;
The application installation kit and its check value are handed down to the application side, are answered for described
The application installation kit is verified and promoted to user with popularization side.
A2, the method as described in A1, wherein, the original packet according to the respective application with it is described
The identification information of application side, generation application installation kit includes:
The head number of the original packet for reading the respective application is accessed in the original packet of the respective application
According to the SDK with mantissa's evidence;
The identification information of original packet and the application side to the respective application together compiles generation should
With popularization installation kit;Or, by data continued access corresponding to the identification information of the application side described
The stem and/or afterbody of the data of the original packet of respective application, packing generation application installation kit.
A3, the method as described in A1, wherein,
It is described to be included according to the original packet of respective application generation intermediate parity value:Calculating is described accordingly should
The MD5 values of original packet are used as intermediate parity value;
The identification information according to the intermediate parity value for being generated and the application side, generation is described
The check value of application installation kit includes:Calculate the mark of the intermediate parity value and the application side
The MD5 values of knowledge information, as the check value of the application installation kit.
A4, the method as described in A3, wherein, the MD5 of the original packet for calculating the respective application
Value includes as intermediate parity value:
The data of the original packet of the respective application are divided into multistage according to preset rules, each data segment is calculated
MD5 values, the MD5 value superpositions of each data segment are obtained into intermediate parity value.
A5, the method as described in A1, wherein,
It is described to be included according to the original packet of respective application generation intermediate parity value:Calculating is described accordingly should
The SHA1 values of original packet are used as intermediate parity value;
The identification information according to the intermediate parity value for being generated and the application side, generation is described
The check value of application installation kit includes:Calculate the mark of the intermediate parity value and the application side
The SHA1 values of knowledge information, as the check value of the application installation kit.
A6, the method as described in A5, wherein, the SHA1 of the original packet for calculating the respective application
Value includes as intermediate parity value:
The data of the original packet of the respective application are divided into multistage according to preset rules, each data segment is calculated
SHA1 values, the SHA1 value superpositions of each data segment are obtained into intermediate parity value.
A7, the method as described in A1, wherein, the method is further included:By application peace
Fill in data length, installation kit title, corresponding Apply Names, the corresponding application icon of bag
Or multiple together it is handed down to the application side with the application installation kit and its check value.
A8, the method as described in A1, wherein, the method is further included:
The application feedback message that applications client sends is received, is wrapped in the application feedback message
Include:The identification information of the application side carried in the corresponding application installation kit of the applications client.
The invention also discloses B9, a kind of server of generation application installation kit, wherein, the service
Device includes:
Receiving unit, is suitable to receive the application request message that application side sends, and the application request disappears
Breath includes:The identification information of application, the identification information of application side;
Installation kit generation unit, is suitable to the identification information according to the application, obtains the original of respective application
Bag;Original packet and the identification information of the application side according to the respective application, generate application and push away
Wide installation kit;
Check value generation unit, is suitable to generate intermediate parity value, root according to the original packet of the respective application
According to the intermediate parity value for being generated and the identification information of the application side, the application peace is generated
Fill the check value of bag;
Issuance unit, is suitable to for the application installation kit and its check value to be handed down to the application
Side, so that the application side is verified and promoted to user to the application installation kit.
B10, the server as described in B9, wherein,
The installation kit generation unit, is suitable to be accessed for reading in the original packet of the respective application
State the head data of the original packet of respective application and the SDK of mantissa's evidence;To the respective application
Original packet and the application side identification information together compile generation application installation kit;Or,
The number of the original packet by data continued access corresponding to the identification information of the application side in the respective application
According to stem and/or afterbody, packing generation application installation kit.
B11, the server as described in B9, wherein,
The check value generation unit, is suitable to the MD5 value conducts of the original packet for calculating the respective application
Intermediate parity value;The MD5 values of the identification information of the intermediate parity value and the application side are calculated,
As the check value of the application installation kit.
B12, the server as described in B11, wherein,
The check value generation unit, is suitable to the number of the original packet of the respective application according to preset rules
According to multistage is divided into, the MD5 values of each data segment are calculated, the MD5 value superpositions of each data segment are obtained into centre
Check value.
B13, the server as described in B9, wherein,
The check value generation unit, is suitable to the SHA1 value conducts of the original packet for calculating the respective application
Intermediate parity value;The SHA1 values of the identification information of the intermediate parity value and the application side are calculated,
As the check value of the application installation kit.
B14, the server as described in B13, wherein,
The check value generation unit, is suitable to the number of the original packet of the respective application according to preset rules
According to multistage is divided into, the SHA1 values of each data segment are calculated, during the SHA1 value superpositions of each data segment are obtained
Between check value.
B15, the server as described in B9, wherein,
The issuance unit, is further adapted for data length, the installation kit of the application installation kit
One or more in title, corresponding Apply Names, corresponding application icon are pacified with the application
Dress bag and its check value together return to the application side.
B16, the server as described in B9, wherein,
The receiving unit, is further adapted for receiving the application feedback message that applications client sends,
The application feedback message includes:Taken in the corresponding application installation kit of the applications client
The identification information of the application side of band.
Claims (10)
1. it is a kind of generate application installation kit method, wherein, the method includes:
The application request message that application side sends is received, the application request message includes:Using
Identification information, the identification information of application side;
According to the identification information of the application, the original packet of respective application is obtained;
Original packet and the identification information of the application side according to the respective application, generate application and push away
Wide installation kit;
Original packet generation intermediate parity value according to the respective application, according to the intermediate parity value for being generated
With the identification information of the application side, the check value of the application installation kit is generated;
The application installation kit and its check value are handed down to the application side, are answered for described
The application installation kit is verified and promoted to user with popularization side.
2. the method for claim 1, wherein the original packet according to the respective application with
The identification information of the application side, generation application installation kit includes:
The head number of the original packet for reading the respective application is accessed in the original packet of the respective application
According to the SDK with mantissa's evidence;
The identification information of original packet and the application side to the respective application together compiles generation should
With popularization installation kit;Or, by data continued access corresponding to the identification information of the application side described
The stem and/or afterbody of the data of the original packet of respective application, packing generation application installation kit.
3. the method for claim 1, wherein
It is described to be included according to the original packet of respective application generation intermediate parity value:Calculating is described accordingly should
The MD5 values of original packet are used as intermediate parity value;
The identification information according to the intermediate parity value for being generated and the application side, generation is described
The check value of application installation kit includes:Calculate the mark of the intermediate parity value and the application side
The MD5 values of knowledge information, as the check value of the application installation kit.
4. method as claimed in claim 3, wherein, the original packet for calculating the respective application
MD5 values include as intermediate parity value:
The data of the original packet of the respective application are divided into multistage according to preset rules, each data segment is calculated
MD5 values, the MD5 value superpositions of each data segment are obtained into intermediate parity value.
5. the method for claim 1, wherein
It is described to be included according to the original packet of respective application generation intermediate parity value:Calculating is described accordingly should
The SHA1 values of original packet are used as intermediate parity value;
The identification information according to the intermediate parity value for being generated and the application side, generation is described
The check value of application installation kit includes:Calculate the mark of the intermediate parity value and the application side
The SHA1 values of knowledge information, as the check value of the application installation kit.
6. method as claimed in claim 5, wherein, the original packet for calculating the respective application
SHA1 values include as intermediate parity value:
The data of the original packet of the respective application are divided into multistage according to preset rules, each data segment is calculated
SHA1 values, the SHA1 value superpositions of each data segment are obtained into intermediate parity value.
7. the method for claim 1, wherein the method is further included:The application is pushed away
In data length, installation kit title, corresponding Apply Names, the corresponding application icon of wide installation kit
One or more are together handed down to the application side with the application installation kit and its check value.
8. the method for claim 1, wherein the method is further included:
The application feedback message that applications client sends is received, is wrapped in the application feedback message
Include:The identification information of the application side carried in the corresponding application installation kit of the applications client.
9. it is a kind of generate application installation kit server, wherein, the server includes:
Receiving unit, is suitable to receive the application request message that application side sends, and the application request disappears
Breath includes:The identification information of application, the identification information of application side;
Installation kit generation unit, is suitable to the identification information according to the application, obtains the original of respective application
Bag;Original packet and the identification information of the application side according to the respective application, generate application and push away
Wide installation kit;
Check value generation unit, is suitable to generate intermediate parity value, root according to the original packet of the respective application
According to the intermediate parity value for being generated and the identification information of the application side, the application peace is generated
Fill the check value of bag;
Issuance unit, is suitable to for the application installation kit and its check value to be handed down to the application
Side, so that the application side is verified and promoted to user to the application installation kit.
10. server as claimed in claim 9, wherein,
The installation kit generation unit, is suitable to be accessed for reading in the original packet of the respective application
State the head data of the original packet of respective application and the SDK of mantissa's evidence;To the respective application
Original packet and the application side identification information together compile generation application installation kit;Or,
The number of the original packet by data continued access corresponding to the identification information of the application side in the respective application
According to stem and/or afterbody, packing generation application installation kit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510975378.8A CN106911738A (en) | 2015-12-22 | 2015-12-22 | A kind of method and server for generating application installation kit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510975378.8A CN106911738A (en) | 2015-12-22 | 2015-12-22 | A kind of method and server for generating application installation kit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106911738A true CN106911738A (en) | 2017-06-30 |
Family
ID=59200085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510975378.8A Pending CN106911738A (en) | 2015-12-22 | 2015-12-22 | A kind of method and server for generating application installation kit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106911738A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343047A (en) * | 2017-07-06 | 2017-11-10 | 北京奇虎科技有限公司 | Application system and method |
CN108521349A (en) * | 2018-03-15 | 2018-09-11 | 福建天泉教育科技有限公司 | A kind of method and system of the installation number of statistics installation kit |
CN109710280A (en) * | 2018-12-27 | 2019-05-03 | 上海掌门科技有限公司 | It is a kind of for installing the method and apparatus of application on a user device |
CN111369295A (en) * | 2020-03-06 | 2020-07-03 | 北京字节跳动网络技术有限公司 | Method, device, equipment and storage medium for reporting application program effect information |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102056188A (en) * | 2009-10-30 | 2011-05-11 | 华为终端有限公司 | Data generation method, data transmission method and related equipment |
CN104077503A (en) * | 2014-07-22 | 2014-10-01 | 百度在线网络技术(北京)有限公司 | Processing method and device for APK (Android Package) files |
CN104267988A (en) * | 2014-09-26 | 2015-01-07 | 北京飞流九天科技有限公司 | System and method for packing mobile applications |
CN104346167A (en) * | 2014-08-25 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Method and device for generating application channel package |
CN104503862A (en) * | 2014-12-09 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for obtaining check value of application channel package |
CN104503745A (en) * | 2014-12-09 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for generating application channel package |
CN104978530A (en) * | 2015-03-12 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Application security management method, application security management device, application management server and application security management system |
CN105068855A (en) * | 2015-08-19 | 2015-11-18 | 北京奇虎科技有限公司 | Method, server and system for compiling android package development files |
-
2015
- 2015-12-22 CN CN201510975378.8A patent/CN106911738A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102056188A (en) * | 2009-10-30 | 2011-05-11 | 华为终端有限公司 | Data generation method, data transmission method and related equipment |
CN104077503A (en) * | 2014-07-22 | 2014-10-01 | 百度在线网络技术(北京)有限公司 | Processing method and device for APK (Android Package) files |
CN104346167A (en) * | 2014-08-25 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Method and device for generating application channel package |
CN104267988A (en) * | 2014-09-26 | 2015-01-07 | 北京飞流九天科技有限公司 | System and method for packing mobile applications |
CN104503862A (en) * | 2014-12-09 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for obtaining check value of application channel package |
CN104503745A (en) * | 2014-12-09 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for generating application channel package |
CN104978530A (en) * | 2015-03-12 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Application security management method, application security management device, application management server and application security management system |
CN105068855A (en) * | 2015-08-19 | 2015-11-18 | 北京奇虎科技有限公司 | Method, server and system for compiling android package development files |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343047A (en) * | 2017-07-06 | 2017-11-10 | 北京奇虎科技有限公司 | Application system and method |
CN108521349A (en) * | 2018-03-15 | 2018-09-11 | 福建天泉教育科技有限公司 | A kind of method and system of the installation number of statistics installation kit |
CN109710280A (en) * | 2018-12-27 | 2019-05-03 | 上海掌门科技有限公司 | It is a kind of for installing the method and apparatus of application on a user device |
CN109710280B (en) * | 2018-12-27 | 2022-04-15 | 上海掌门科技有限公司 | Method and equipment for installing application on user equipment |
CN111369295A (en) * | 2020-03-06 | 2020-07-03 | 北京字节跳动网络技术有限公司 | Method, device, equipment and storage medium for reporting application program effect information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106911738A (en) | A kind of method and server for generating application installation kit | |
CN106484453B (en) | Method and device for realizing system upgrading | |
CN104503745B (en) | A kind of method and apparatus generated using channel packet | |
CN107678750A (en) | A kind of SDK packaging methods, computing device and SDK packaging systems | |
CN107346252A (en) | Using update method and device | |
CN104866293B (en) | A kind of method and device to Android application extensions for Microsoft Internet Explorer & Microsoft Office | |
CN104602138A (en) | Method and device for supporting HLS protocol by streaming media server | |
CN106911734A (en) | A kind of method and server for generating application installation kit | |
CN107194250A (en) | The integrity checking method and device of internal storage code | |
CN103152327B (en) | A kind of method, client and system configuring compression/de-compression plug-in unit | |
CN106778099A (en) | The generation method and device of anti-tamper APK, install and operation method and device | |
CN109725912A (en) | Application program configuration method, device, terminal, server and readable storage medium storing program for executing | |
CN109788029A (en) | Gray scale call method, device, terminal and the readable storage medium storing program for executing of micro services | |
CN107239309A (en) | Patch generation method and device, update method, electronic equipment, storage medium | |
CN104301139A (en) | Router adaptation method and device and terminal device | |
CN103677956B (en) | A kind of method and apparatus of the application operation of simulation mobile device on the computing device | |
CN109710265A (en) | Method and device for acquiring software installation package and electronic equipment | |
CN110297776A (en) | Examining report generation, method of reseptance, device, equipment and storage medium | |
CN105117499A (en) | File display method and device based on cloud disk | |
CN111176685A (en) | Upgrading method and device | |
CN104811796A (en) | Network video continuous transmission method and network video continuous transmission device | |
CN106856497A (en) | The binding method and device of a kind of mobile device and accessory | |
CN109496417A (en) | Data test method, apparatus, equipment/terminal/server and computer readable storage medium | |
CN110046496B (en) | Software development method, system, block chain link point equipment and storage medium | |
CN107426256A (en) | A kind of method for uploading of upgrade file, terminal and server |
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: 20170630 |