CN108108203A - The method, apparatus and system of installation process are downloaded for installation kit - Google Patents
The method, apparatus and system of installation process are downloaded for installation kit Download PDFInfo
- Publication number
- CN108108203A CN108108203A CN201611051730.XA CN201611051730A CN108108203A CN 108108203 A CN108108203 A CN 108108203A CN 201611051730 A CN201611051730 A CN 201611051730A CN 108108203 A CN108108203 A CN 108108203A
- Authority
- CN
- China
- Prior art keywords
- file
- download
- installation kit
- link
- ahead
- 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.)
- Granted
Links
Classifications
-
- 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
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
-
- 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
- G06F9/44568—Immediately runnable code
- G06F9/44584—Portable applications, i.e. making applications self-contained, e.g. U3 standard
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
This application discloses a kind of method, the described method includes:Installation kit is downloaded from server-side;Installation operation is performed according to the file downloaded in obtained installation kit;Wherein, in downloading installation kit and performing each processing links of installation operation whole process, at least there are a processing links:When via other processing links treated file meets the default entry condition of the processing links when, the processing links, which start, to be performed and is performed parallel with other at least one processing links.
Description
Technical field
This application involves download mounting technique, and in particular to a kind of method, the dress of installation process are downloaded applied to installation kit
It puts, machine readable media and system.
Background technology
In order to use more functions on the terminal devices such as desktop computer, smart mobile phone, tablet computer, terminal device
User can download from server and provide the installation kit of corresponding function and be installed on the terminal device.
By taking mobile terminal device as an example, YunOS, iOS, the operating system platforms such as Android and Windows employ shifting
It is dynamic to apply ways of distribution of the shop as mobile application installation kit.One typical mobile application installation kit is typically a compression
File, including application description file, code file, resource file and signature file etc..User be desirable for it is a certain not yet
When downloading the mobile applications of installation, the application shop APP that mobile terminal device is installed can be usually utilized from corresponding operating
Complete mobile application installation kit is downloaded on mobile terminal device in the application shop of system platform, then performs installation again
Operation, entire installation process of downloading is that order carries out.Fig. 1 is referred to, which show the downloads of a mobile application installation kit
The schematic diagram of installation process, wherein just-ahead-of-time compilation (Ahead-of-time compilation-AOT) link is used for what will be downloaded
Intermediate code (such as:.dex file) etc. files be compiled into executable file.If the time that downloading needs is Tdownload, installation
The time that process performs each link (signature verification, just-ahead-of-time compilation and file replicate) and needs successively is Tinstall, then user feels
The total time being subject to is:T=Tdownload+Tinstall。
The download installation process that the order that the prior art uses performs, usually than relatively time-consuming, user is needed by for a long time
Required program function could be run by waiting, and influence the usage experience of user.
The content of the invention
The application provides a kind of method, including:
Installation kit is downloaded from server-side;
Installation operation is performed according to the file downloaded in obtained installation kit;
Wherein, in downloading installation kit and performing each processing links of installation operation whole process, at least there are one
Processing links:When via other processing links treated file meets the default entry condition of the processing links when, it is described
Processing links, which start, to be performed and is performed parallel with other at least one processing links.
Description of the drawings
Fig. 1 is the schematic diagram of the download installation process of mobile application installation kit in the prior art;
Fig. 2 is a kind of flow chart of the embodiment of method of the application;
Fig. 3 is the processing provided by the embodiments of the present application that installation operation is performed according to the file downloaded in obtained installation kit
Flow chart;
Fig. 4 is a kind of schematic diagram of the embodiment of device of the application;
Fig. 5 is a kind of schematic diagram of exemplary system provided by the embodiments of the present application;
Fig. 6 is a kind of schematic diagram of the embodiment of system of the application.
Specific embodiment
Many details are elaborated in the following description in order to fully understand the application.But the application can
Much to implement different from other manner described here, those skilled in the art can be in the feelings without prejudice to the application intension
Similar popularization is done under condition, therefore, the application from following public specific implementation limitation.
The technical solution of the application can have different change embodiment or alternate embodiments, and this specification will be tied
The example that attached drawing provides is closed specific embodiment is described in detail.It will be understood, however, to one skilled in the art, that this theory
The purpose of bright book is not configured to technical scheme being defined in the particular implementation of this disclosure, but in order to cover
Lid have altered embodiment, equivalent embodiments and the alternate embodiments consistent with technical scheme.
In the present specification to the reference of " embodiment ", " the present embodiment " or " example embodiment " etc., indicate described
Embodiment can include specific feature, structure or characteristic, but do not require that each embodiment is required for including this specifically
Feature, structure or characteristic.In addition, when describing specific feature, structure or characteristic with reference to one embodiment, in this field skill
In the knowledge of art personnel, this feature can be implemented with reference to other embodiment, (no matter whether it is detailed for structure or characteristic
Thin description).
Embodiments herein can be realized according to software, hardware, firmware or its combination or other modes.The application's
Embodiment can also be achieved to be stored in impermanency or permanent machine readable media (such as:Computer-readable medium) on finger
Order, described instruction can be read or be performed by one or more processors.Machine readable media includes any by machine readable shape
Formula stores or storage device, mechanism or other physical arrangements of transmission information.For example, machine readable media can include read-only deposit
Reservoir (ROM), random access storage device (RAM), magnetic disk storage medium, optical storage media, flash memory device and other.
In the attached drawing provided in this specification, some structures or method characteristic be typically according to specific arrangement mode and/
Or order is shown.However, it should be understood that these specific arrangement modes and/or order are not required in that.In some realities
It applies in example, these features can carry out tissue according to the arrangement mode different from attached drawing and/or order.In addition, in a certain attached drawing
Comprising structure or method characteristic, be not meant in all embodiments will include this feature, in some embodiments, can
It can be combined with not including this feature or this feature with other features.
In this application, a kind of method and related device, an a kind of machine readable media and germline are each provided
System.In the following embodiments, above-mentioned each content that the application provides will be illustrated.In order to make it easy to understand, first to this Shen
Technical solution please is briefly described.
The download installation process of installation kit generally includes to download and installs two parts operating process, is refined by function, whole
A download installation process can include multiple processing links:It is responsible for downloading the download link of installation kit from server-side, belongs to installation
The signature verification link of process, just-ahead-of-time compilation link, file replicate link etc., wherein download link and file duplication link are usual
It is to need the link performed, and other processing links can be then selectively carrying out according to actual conditions.
For the prior art in the download installation process of installation kit, generally use performs the mode of each processing links successively, leads
The entirety for downloading installation process is caused to take long, influence user experience.And in fact, in installation process is downloaded, respectively handle
Hardware component is not fully identical used in link, that is to say, that the hardware resource that each processing links occupy not fully phase
Together, such as:The processing links that link belongs to network operation intensity are downloaded, occupy more networked communication resource, file replicates
Link belongs to the processing links of I/O operation intensity, occupies the processing links such as more I/O resources, signature verification, just-ahead-of-time compilation
Belong to the processing links of CPU intensive type, mainly occupy cpu resource;In addition, each processing links are also to the occupancy of hardware resource
Limited, such as:Signature verification link can't reach 100% to the occupancy of cpu resource, particularly have in CPU at multinuclear
In the case of reason ability, CPU can't be occupied completely by the processing links of some CPU intensive type completely.
In view of the above-mentioned problems existing in the prior art and based on above-mentioned consideration, this application provides a kind of method, under
In each processing links for carrying installation kit and execution installation operation whole process, at least there are a processing links:When via it
Treated for his processing links when file meets the default entry condition of the processing links, the processing links start perform,
And it is performed parallel with other at least one processing links.So as to by the way that different processing links are performed parallel, improve firmly
While part resource utilization, the total time-consuming that installation kit downloads installation process is reduced, promotes user experience.
For example, an at least existing processing links can be signature verification link, which need not wait
It is finished to entire link of downloading, as long as the signature file needed for detecting download link by execution signature verification operations
It is locally downloading, it is possible to start and perform, while file in downloading link and continuing download installation kit, the file to having downloaded
Signature verification is carried out, so as to fulfill the parallel execution of link and signature verification link is downloaded.
In the specific implementation, by the way that the different disposal link downloaded in installation process is performed parallel, it is possible to reduce download
The total time-consuming of installation process obtains corresponding advantageous effect.In view of downloading on the mobile terminal device at present, installation is mobile to answer
With can include during installation kit just-ahead-of-time compilation process, cause to take it is apparent increase, in the following embodiments emphasis with
Implement the download installation process of installation kit in Android platform and perform just-ahead-of-time compilation link and other processing links parallel
Application scenarios exemplified by, the implementation process of technical solution provided the application is described in detail.
In the following, a kind of embodiment of method of the application offer is described in detail.It please refers to Fig.2, is the application
A kind of method embodiment flow chart, the method is usually in client implementation.In this flow chart and following embodiment
Description in, the order describing mode of step 201, step 202 is employed, it will be appreciated by those skilled in the art that this is retouched
Order is stated to only represent step 201 and prior to step 202 start, and the implementation procedure of step 201 and the implementation procedure of step 202 are
It can be partly overlapping.
Described method includes following steps:
Step 201 downloads installation kit from server-side.
This step, which corresponds to, downloads link, and main task is to download installation kit from server-side.Link is downloaded starting to perform
Afterwards, in order to start other processing links as early as possible, the parallel execution of different disposal link is realized, this step can be according to based on optimization
Purpose is the download priority that default file type is set, and downloads the file in installation kit from server-side successively.
Specific in the present embodiment, the installation kit of Android platform is typically a compressed file, is retouched wherein generally comprising
State file, code file, resource file, signature file etc..Due to the present embodiment optimization the purpose of be:Just-ahead-of-time compilation link and its
He performs at least one link parallel, to reduce the total time-consuming for downloading installation.In order to realize the purpose, at the same in view of based on
In the installation process of the installation kit of Android platform, in order to ensure the integrality of file, usually can first to downloaded file into
Then row signature verification performs the operations such as subsequent just-ahead-of-time compilation, file duplication again.Therefore, default file type can include:
Signature verification type and just-ahead-of-time compilation type, wherein belonging to the file of signature verification type includes:For verifying installation kit Chinese
The signature file of the integrality of part, wherein being commonly stored the hashed value of file in the installation kit being calculated using SHA scheduling algorithms;
Belonging to the file of just-ahead-of-time compilation type includes:The code file needed for just-ahead-of-time compilation link is performed (for example, Java bytecode is literary
Part) or code file and associated documents (such as:Library file, compiling configuration file) etc..
It, can be in this step preferentially from peace by setting for signature verification type and just-ahead-of-time compilation type and downloading priority
The file for belonging to both types is downloaded in dress bag.Specifically, it can be higher than for the download priority that signature verification type is set
For the download priority that just-ahead-of-time compilation type is set, belong to signature verification type so as to preferentially download first in installation kit
File, it is then preferential to download the file for belonging to just-ahead-of-time compilation type, finally download the alternative document in installation kit again.
When it is implemented, above-mentioned download peace according to the download priority set for default file type, successively from server-side
The process of file in dress bag, may be employed different modes and realizes, enumerate two kinds herein:Mode that client individually controls,
Client and the mode of server-side cooperation, illustrate separately below.
(1) the independent control mode of client
In this way, this step first can obtain installation kit structure description information from server-side, then according to
Structure description information and the download priority set for default file type determine the downloading order of file in installation kit;Most
Afterwards, file download request is sent to server-side and peace is obtained according to the response of the server-side successively according to the downloading order
File in dress bag.
The structure description information of the installation kit refers to the information for describing installation kit internal structure, such as including more
File path name of file, each file etc. less, the structure description information can be the part in installation kit, can also
It is stored in the alternative document independently of installation kit.With ipa (iphone application) installation kits on iOS and
Exemplified by apk (android package) installation kit on Android, both installation kits are all ZIP compressed files, structure
Description information is usually located at installation kit end, terminates the information such as record including central directory and central directory.Obtain installation kit
After structure description information, pass through the analysis to structure description information, it may be determined that the correlation for the file that the installation kit is included
Information.The relevant information of file can include:File path name, for example, the file path of certain library file is entitled:lib/x86/
1.so, according to this document pathname, it is the file for belonging to just-ahead-of-time compilation type that can know this document;The relevant information of file is also
It can include:The information such as initial position and end position in installation kit.Obtain the relevant information that installation kit includes file
Afterwards, you can the downloading order of file in installation kit is determined with reference to the download priority set for default file type.
When it is implemented, obtain installation kit structure description information and according to definite downloading order to clothes from server-side
Business end sends file download request, may be employed to server-side and sends Range Request request realizations.The Range
Request requests refer to, in order to obtain the partial content in resource file by HTTP request, institute is carried on its Range head
State the HTTP request of location information of the partial content in resource file.
Such as:Structure description information is located at installation kit end, and the length of 1024 byte then can be in HTTP request
Url field writes the location information of installation kit, and writes following message on Range heads:“Range:Bytes=-1024 ", will
HTTP request comprising above-mentioned Range header informations is sent to server-side, hereafter, what client can be returned according to server-side
HTTP responses obtain the structure description information of installation kit.
Same reason in installation kit is determined after the downloading order of file, can be asked in the HTTP sent to server-side
The Range heads asked include the range information pair for corresponding document, each range information pair successively according to the downloading order
In comprising corresponding document start position information and end position information in installation kit.For example, in the Range heads of HTTP request
Portion writes following message:“Range:Bytes=101~150,189~255 ", then represent that hope is preferential to obtain in installation kit the
The corresponding file of 101 bytes to 150 bytes then obtains the corresponding file of the 189th byte to 255 bytes in installation kit.Using
For aforesaid way after server-side sends the Range Request requests of scope information pair, server-side then can be according to same
Order returns to the file in installation kit, so as to which client can be obtained in installation kit successively according to the HTTP responses that server-side returns
File.
This step obtains the structure description information of installation kit and according to true by the way of Range Request are sent
Fixed downloading order obtains the file in installation kit, if module or unit of the server-side with realization HTTP1.1 protocol stacks,
Operation bidirectional or modification need not then be carried out, it is possible to return to installation kit structure description information and peace according to the requirement of client
File in dress bag, so as to fulfill the technical program to the transparent of server-side.
(2) client and the mode of server-side cooperation
In this way, server-side and client can make an appointment is set by server-side according to for default file type
File in installation kit is sent to client by the download priority put successively.Specifically, client can be in this step to clothes
Business end sends installation kit download request, after server-side receives download request, can be described according to from the structure of requested installation kit
The relevant information that extracted in information, installation kit includes file and the download priority set for default file type, really
Determine the transmission order of file in installation kit, and the file in installation kit is sent to client, client phase according to the order
Ground is answered to obtain the file in installation kit successively.
Above by the word in (one) and (two), to according to the download priority set for default file type, successively
The specific embodiment that the file in installation kit is downloaded from server-side is illustrated.Specific in the present embodiment, Android is put down
The mobile application installation kit of platform is typically a compressed file, therefore by after the file download in installation kit to client local,
Corresponding decompression operation can be performed, then performs installation operation using the file after decompression in subsequent step 202.
File in step 202, the installation kit obtained according to download performs installation operation.
In the present embodiment, in order to realize the optimization purpose described in step 201, in the download link that step 201 performs
In, it is preferential first to download the file for belonging to signature verification type, it is then preferential to download the file for belonging to just-ahead-of-time compilation type, finally
Download the alternative document in installation kit.This step can not wait until that step 201 starts again after completing all operationss of download link
Installation process, but pass through reasonable arrangement so that the just-ahead-of-time compilation link in installation process is with downloading other links such as link simultaneously
Row performs, so as to reduce the total time-consuming for downloading installation process.
It, usually can be first in order to ensure the integrality of file in the installation process of the installation kit based on Android platform
Signature verification is carried out to downloaded file, then performs the operations such as subsequent just-ahead-of-time compilation, file duplication again.Therefore, in this reality
It applies in example, the default entry condition of signature verification link can be:The file download for belonging to the signature verification type finishes;It carries
It is preceding compiling link default entry condition can be:The file download for belonging to just-ahead-of-time compilation type finishes and signature verification finishes.
The concrete processing procedure of this step can include following sub-step 202-1 to 202-3, be illustrated with reference to Fig. 3.
Step 202-1, after the file download of signature verification type is belonged to, start and perform signature verification link.
It is preferentially downloaded first due to the downloads link that step 201 performs and belongs to the file of signature verification type, then preferentially
The file for belonging to just-ahead-of-time compilation type is downloaded, therefore after download link download finishes the file for belonging to signature verification type, label
Name verification link can start, and first load the file for belonging to signature verification type downloaded upon actuation, i.e.,:Signature text
Part, then after download link download finishes and belongs to the file of just-ahead-of-time compilation type, using signature file to belonging to just-ahead-of-time compilation
The file of type carries out signature verification, and the alternative document then downloaded again to downloading link carries out signature verification.
This step realizes the parallel execution for downloading link and signature verification link.
Step 202-2, when the file download for belonging to just-ahead-of-time compilation type finishes and signature verification after, start perform
Just-ahead-of-time compilation link.
When the file for belonging to just-ahead-of-time compilation type finishes and via link download is downloaded via signature verification link completion label
After name verification operation, i.e.,:After the integrality for verifying the file for belonging to just-ahead-of-time compilation type, execution can be started and compiled in advance
Translate link.Just-ahead-of-time compilation link performs compilation operations, ultimately generating can according to the file for belonging to just-ahead-of-time compilation type downloaded
With the executable file run on a client device.
This step realizes the parallel execution of just-ahead-of-time compilation link and signature verification link.It is generally also needed due to downloading link
The long time is wanted, therefore it is also often to perform parallel that this step, which starts the just-ahead-of-time compilation link performed with downloading link,.
Step 202-3, start and perform file duplication link, the file and just-ahead-of-time compilation in the installation kit that download is obtained are given birth to
Into executable file, copy in the respective directories of file system.
This step can open after downloading link, signature verification link and just-ahead-of-time compilation link and being carried out the latest
The dynamic file that performs replicates link.
Such as:Mode of the prior art may be employed, when above-mentioned link is carried out finishing, starts and perform file duplication
Link will be downloaded executable file obtaining, being generated by the file in the installation kit of signature verification and just-ahead-of-time compilation and be replicated
Into the respective directories of file system.In the specific implementation, in the file replicates link, under can first creating for storing
The catalogue of obtained file and executable file is carried, then performs duplication operation again;The file that download obtains can also be carried out
Parsing, and therefrom selection and the platform configuration information of client device (including:Hardware configuration and software systems configuration) match
File, and for this partial document perform replicate operation;Link, which is replicated, in file can also carry out the operations such as software registration.
Preferably, in order to further shorten the total time-consuming of the download installation of installation kit, file can be replicated to link with carrying
Preceding compiling link performs parallel.Specifically, the default entry condition that can pre-set file duplication link is:Signature verification ring
Section completes the signature verification operations of file in the installation kit obtained to download.So as to be completed in signature verification link to downloading
In obtained installation kit after the signature verification of file, just startup file replicates link immediately, since just-ahead-of-time compilation link usually needs
The long time is wanted, therefore can usually realize that just-ahead-of-time compilation link replicates the parallel execution of link with file.
So far, by above-mentioned steps 201-202, the embodiment of the method for the application offer is described in detail.
By foregoing description as can be seen that since the entire each processing links downloaded involved by installation process of installation kit are no longer complete
It performs successively in sequence, but by execution more parallel than relatively time-consuming just-ahead-of-time compilation link and multiple processing links, such as:It downloads
Link, signature verification link etc., so as to effectively reduce the download installation of installation kit total time used, reduce user etc.
It treats the time, promotes user experience.
By taking the wechat application installation package in android system as an example, wherein code file etc. belongs to just-ahead-of-time compilation type
File accounts for the 15% of entire installation kit, perform just-ahead-of-time compilation operate the occupied time for the entire set-up time 50% with
On, after method provided in this embodiment, tested under 10M network speeds and show that the set-up time can reduce more than 20%.
It should be noted that above-described embodiment describes just-ahead-of-time compilation link with downloading link, label based on Android platform
The embodiment that multiple links such as name verification link perform parallel.In other embodiments, in entire download compiling link
Other parallel action methods may be employed.
Such as:For that under the application scenarios using secure transfer protocols such as HTTPS, can ensure installation kit in itself by agreement
Middle file is in the integrality of downloading process, then in the installation process of installation kit, signature verification link can not be performed, at this
In the case of kind, can only it be included by the default file type that download priority is set preferentially to download:Just-ahead-of-time compilation type, in advance
Compiling the default entry condition of link can be:The file download for belonging to just-ahead-of-time compilation type finishes.In the specific implementation, step
201 can preferentially download the file for belonging to just-ahead-of-time compilation type in installation kit, then download the alternative document in installation kit again,
In the following manner then may be employed in step 202 and start just-ahead-of-time compilation link:When the file download for belonging to just-ahead-of-time compilation type is complete
Bi Hou starts and performs just-ahead-of-time compilation link, so that just-ahead-of-time compilation link performs parallel with downloading link.
For another example, the file downloaded successively from server-side according to download priority in installation kit can not be used in step 201
Mode, but use mode of the prior art directly by entire installation kit download to client local, for example, can be to clothes
Business end sends the HTTP request for downloading installation kit, then receives the installation kit that server-side returns.Just-ahead-of-time compilation link it is pre-
If entry condition can be:The file download for belonging to just-ahead-of-time compilation type finishes and signature verification finishes.In step 202, when
After the download link download finishes the installation kit, start and perform signature verification link preferentially to belonging to just-ahead-of-time compilation type
File carries out signature verification, then carries out signature verification to the alternative document in the installation kit;When the signature verification link
After completing to the signature verification for the file for belonging to just-ahead-of-time compilation type, start and perform the just-ahead-of-time compilation link;So as to fulfill label
The parallel execution of name verification link and just-ahead-of-time compilation link.
For another example, for download installation process based on iOS platforms, not comprising just-ahead-of-time compilation link, ring will can be downloaded
Section replicates link with signature verification link or file and performs parallel, also possible.
A variety of different embodiments are enumerated above, these embodiments can be not limited in the specific implementation, only
It will be in installation process be downloaded, at least there are a processing links after execution is started, with other at least one processing links simultaneously
Row performs, and just can equally realize corresponding advantageous effect:It reduces installation kit and downloads installation total time used, reduce user's
Stand-by period promotes user experience.
For the relatively limited client device of the Internet resources such as mobile terminal device, cpu resource, under
During carrying installation mobile application installation kit, by the way that different processing links are performed parallel, advantageous effect will be more notable.
In conclusion the described method of above-described embodiment, due to downloading each processing links involved by installation process not
It is to perform successively in sequence again, but at least there are a processing links after execution is started, with other at least one processing
Link performs parallel, so as to which by the way that different processing links are performed parallel, reduction installation kit downloads installation total time used,
The stand-by period of user is reduced, promotes user experience.
In the above-described embodiment, provide a method, corresponding, the application also provides a kind of device.Please
Referring to Fig. 4, for a kind of schematic diagram of the embodiment of device of the application.Implement since device embodiment is substantially similar to method
Example, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Device described below is implemented
Example is only schematical.
A kind of device of the present embodiment, including:Download unit 401, for downloading installation kit from server-side;Installation unit
402, for performing installation operation according to the file downloaded in obtained installation kit;Wherein, in the download unit and the peace
It fills in each processing links involved by the whole work process of unit, at least there are a processing links:When via other processing
Treated for link when file meets the default entry condition of the processing links, the processing links start perform and with
Other at least one processing links perform parallel.
Optionally, in each processing links involved by the whole work process of the download unit and the installation unit
In, an at least existing processing links include:Just-ahead-of-time compilation link.
Optionally, the download unit, specifically for according to the download priority set for default file type, successively from
Server-side downloads the file in installation kit.
Optionally, the download unit, including:
Downloading order determination subelement from the installation kit structure description information of server-side acquisition and is pre- for basis
If the download priority that file type is set determines the downloading order of file in installation kit;
Request subelement is sent, for sending file download request to the server-side according to the downloading order;
File subelement is received, for obtaining the file in installation kit successively according to the response of the server-side.
Optionally, the downloading order determination subelement, specifically for by sending Range to the server-side
Installation kit structure description information described in Request acquisition requests;
It is described to send request subelement, specifically for being sent to the server-side installation kit is downloaded according to the downloading order
The Range Request requests of file.
Optionally, the download unit, including:
Download request transmission sub-unit, for sending installation kit download request to server-side;
File obtains subelement successively, for the response returned according to the server-side, obtains the server-side root successively
According to the file in the download priority set for default file type, the installation kit sent successively.
Optionally, the download unit, is specifically used for, and at least preferentially downloads in installation kit and belongs to just-ahead-of-time compilation type
Then file downloads the alternative document in installation kit;
The installation unit, including:
Just-ahead-of-time compilation subelement finishes for working as download unit download and belongs to the file of the just-ahead-of-time compilation type
Afterwards, just-ahead-of-time compilation link is performed;
File replicates subelement, replicates link for performing file, the text in the installation kit that download unit is downloaded
Part and the executable file of just-ahead-of-time compilation subelement generation, copy in the respective directories of file system.
Optionally, the download unit, is specifically used for, the preferential text for belonging to signature verification type downloaded in installation kit
Part, it is then preferential to download the file for belonging to the just-ahead-of-time compilation type, then download the alternative document in installation kit;
The installation unit, further includes:
Signature verification subelement finishes for working as download unit download and belongs to the file of the signature verification type
Afterwards, signature verification link is performed, belongs to institute using the file for belonging to signature verification type, to what the download unit was downloaded
The file for stating just-ahead-of-time compilation type carries out signature verification, and the alternative document then downloaded to the download unit carries out signature and tests
Card;
The just-ahead-of-time compilation subelement finishes specifically for working as download unit download and belongs to the just-ahead-of-time compilation type
File and the file by the signature verification subelement complete signature verification after, perform just-ahead-of-time compilation link.
Optionally, the file replicates subelement, is completed specifically for working as the signature verification subelement to the download
In the installation kit that unit is downloaded after the signature verification of file, perform file and replicate link.
Optionally, described device is deployed in mobile terminal device.
Fig. 5 is referred to, for a kind of schematic diagram with the exemplary system for downloading erecting device provided in this embodiment.System
System 500 can include:Erecting device 501 is downloaded, the download erecting device 501 can include:Download unit 501-1, installation
It can include signature verification subelement 501-2-1, just-ahead-of-time compilation subelement 501- in unit 501-2, the installation unit 501-2
2-2 and file replicate subelement 501-2-3.
The download erecting device 501, for downloading mobile application installation kit 502 from server-side, and obtains according to download
Installation kit in file perform installation operation, and entirely download installation process in, just-ahead-of-time compilation link with following three
There is the part performed parallel in link:It downloads link, signature verification link, file and replicates link.In the specific implementation, under described
Carrying erecting device 501 can implement in an operating system, and the operating system includes but is not limited to:Android operation system,
YunOS operating systems by Alibaba Co's design etc..
The download unit 501-1, for according to the download priority set for default file type, successively from server-side
The file in installation kit 502 is downloaded, can be included in the installation kit 502:Signature file 502-1, using description file 502-
2nd, code file 502-3 and resource file 502-4, wherein signature file are the files for belonging to signature verification type, code file
It is the file for belonging to just-ahead-of-time compilation type.The download unit 501-1 can preferential download signed file, it is then preferential to download generation
Then code file downloads the alternative document in installation kit.
The installation unit 501-2 holds for the file in the installation kit downloaded according to the download unit 501-1
Row installation operation.
Wherein, the signature verification subelement 501-2-1 finishes signature text for working as the download unit 501-1 downloads
After part, signature verification link is performed, i.e.,:The download unit 501-1 code files downloaded are signed using signature file
Then name verification carries out signature verification to the alternative document that the download unit 501-1 is downloaded.
The just-ahead-of-time compilation subelement 501-2-2, for work as download unit 501-1 download finish code file and
After the code file completes signature verification by the signature verification subelement 501-2-1, just-ahead-of-time compilation link is performed, for example,
Pass through compiled code file generated executable file.
The file replicates subelement 501-2-3, is completed for working as the signature verification subelement 501-2-2 under described
Carrier unit 501 is downloaded in obtained installation kit after the signature verification of file, is performed file and is replicated link.
It is as follows according to the download installation process that the system 500 performs:
1) download unit 501-1 preferentially downloads the signature file in installation kit.
2) the t1 moment, signature file, which has been downloaded, to be finished, and download unit 501-1 continues the preferential code text downloaded in installation kit
Part.At this point, signature verification subelement 501-2-1 will load the signature file downloaded.
3) the t2 moment, signature verification subelement 501-2-1 is by signature file loaded, and download unit 501-
1 has also downloaded to code file on client device, and signature verification subelement starts with signature file Validation Code text
The integrality of part.At the same time, download unit 501-1 continue download installation kit in remaining application file and resource are described
File etc..
4) t3 moment, signature verification subelement 501-2-1 finish the integrity verification of code file, and just-ahead-of-time compilation is single
First 501-2-2 starts to compile.
5) t4 moment, download unit 501 download the remaining file finished in installation kit, at this time installation kit downloading process knot
Beam.Signature verification subelement 501-2-1 continues to carry out signature verification to the alternative document in the installation kit downloaded.
6) t5 moment, signature verification subelement 501-2-1 finish the file verification in all installation kits downloaded, label
Name verification link terminates.File replicates subelement 501-2-3 and starts to perform remaining operation in installation procedure simultaneously, such as:Solution
Analysis file content establishes catalogue, replicates file etc..
7) t6 moment, just-ahead-of-time compilation subelement 501-2-2 complete compilation operations, generate executable file, just-ahead-of-time compilation
Link is finished, and file replicates subelement 501-2-3 and copies to the executable file in established catalogue, and completes
Other remaining installation operations, such as:Software registration etc. is carried out to system.Entire installation process of downloading terminates at the t7 moment, moves
Dynamic application program installs.
In the above-described embodiment, provide a method and a kind of device, in addition, present invention also provides a germlines
System, the system embodiment are as follows.
Fig. 6 is refer to, it illustrates a kind of schematic diagrames of the embodiment of system of the application.The system 600, can wrap
It includes:Processor 601, the system control unit 602 coupled with the processor, in the system coupled with the system control unit
(System Memory) 603 is deposited, the nonvolatile storage (NonVolatile coupled with the system control unit
Memory-NVM) or storage device 604 and the network interface 605 that is coupled with the system control unit.
The processor 601 can include at least one processor, and each processor can be single core processor or more
Core processor.The processor 601 can include general processor and application specific processor (for example, graphics processor, using processing
Device, baseband processor etc.) any combination.In the specific implementation, the processor 601 can be configured as using different realities
The mode of applying performs the method shown in Fig. 3.
The system control unit 602 can include any corresponding interface controller, be the processor 601 in extremely
A few processor and/or, any equipment to communicate with the system control unit 602 or component provide interface.
The system control unit 602 can include at least one memory control that interface is provided for the Installed System Memory 603
Device processed.The Installed System Memory 603 can be used for loading and store data and/or instruction.The Installed System Memory 603 can include appointing
What volatile memory, for example, dynamic random access memory (dynamic random access memory-DRAM).
The nonvolatile storage or storage device 604 can including at least one tangible, permanent computer
Medium is read, the computer-readable medium is used to store data and/or instruction.The nonvolatile storage or storage device 604
Can include any type of nonvolatile storage, for example, flash memory (flash memory) and/or, any non-volatile memory is set
It is standby, for example, at least one hard disk drive (hard disk drive-HDD), at least one CD drive, and/or extremely
Few digital versatile disc (digital versatile disk-DVD) driver.
The Installed System Memory 603 and the nonvolatile storage or storage device 604 can be stored with instruction 607 respectively
Temporary copy and persistence copy.When the instruction in described instruction 607 is performed by least one processor in processor 601
When, the system 600 is caused to perform following operation:Installation kit is downloaded from server-side;According to the text downloaded in obtained installation kit
Part performs installation operation;Wherein, in downloading installation kit and performing each processing links of installation operation whole process, at least deposit
In a processing links:When the default entry condition via other processing links treated file meets processing links
When, the processing links, which start, to be performed and is performed parallel with other at least one processing links.
The network interface 605 can include the transceiver that wireless interface is provided for the system 600, the system 600
Can the communication of across a network be realized by wireless interface and/or communicated with other equipment.The network interface 605 can include
Any hardware and/or firmware.The network interface 605 can include providing multi input, the mutiple antennas of multi output wireless interface.
In the specific implementation, the network interface 605 can be network adapter, wireless network adapter, telephone modem,
And/or radio modem.
In the specific implementation, at least one processor in the processor 601 can be with the system control unit 602
In the control logic of at least one controller be packaged together.In the specific implementation, it is at least one in the processor 601
Processor can be packaged together with the control logic of at least one controller in the system control unit 602, form system
System encapsulation (System in Package-SiP).In the specific implementation, at least one processor in the processor 601 can
It is integrated on the same chip with the control logic at least one controller in the system control unit 602.Specific
During implementation, at least one processor in the processor 601 can be at least one control in the system control unit 602
The control logic of device processed integrates on the same chip, forms system on chip (System on Chip-SoC).
The system 600 may further include input/output (I/O) equipment 606.The input-output apparatus 606 can
To include the user interface that user is supplied to be interacted with the system 600 and/or be interacted for peripheral assembly and the system 600
Peripheral component interface.
In various embodiments, user interface can include but is not limited to:Display (for example, liquid crystal display,
Touch-screen display etc.), loud speaker, microphone, at least one photographic device (such as camera, and/or video camera), flash lamp,
And keyboard.
In various embodiments, peripheral component interface can include but is not limited to:Nonvolatile memory port,
Audio jack and power interface.
In various embodiments, the system 600 can be deployed in the electronics such as PC, mobile computing device and set
Standby upper, the mobile computing device can include but is not limited to:Laptop, tablet computer, mobile phone, and/or its
His smart machine etc..In various embodiments, the system 600 can include more or fewer components and/or difference
Framework.
This specification can include a variety of example embodiments disclosed below.
In example embodiment 1, a kind of method can include:Installation kit is downloaded from server-side;The peace obtained according to download
File in dress bag performs installation operation;Wherein, downloading installation kit and performing each processing ring of installation operation whole process
In section, at least there are a processing links:When via other processing links, treated that file meets the pre- of the processing links
If during entry condition, the processing links, which start, to be performed and is performed parallel with other at least one processing links.
In example embodiment 2, the whole process described in example embodiment 1 includes at least following processing links:Correspond to
Link is replicated from the file that server-side downloads the download link of installation kit and belongs to installation operation process.
In example embodiment 3, the whole process described in any embodiment of example embodiment 1-2, which further includes, belongs to installation
One of following processing links of operating process or combination:Signature verification link, just-ahead-of-time compilation link.
In example embodiment 4, at least existing processing links described in any embodiment of example embodiment 1-3
Including:Just-ahead-of-time compilation link.
In example embodiment 5, the slave server-side described in any embodiment of example embodiment 1-4 downloads installation kit, bag
It includes:According to the download priority set for default file type, the file in installation kit is downloaded from server-side successively.
In example embodiment 6, being set according to for default file type described in any embodiment of example embodiment 1-5
Download priority, successively from server-side download installation kit in file, including:According to the installation pack arrangement obtained from server-side
Description information and the download priority set for default file type determine the downloading order of file in installation kit;According to institute
Downloading order is stated to send file download request to the server-side and obtained in installation kit successively according to the response of the server-side
File.
In example embodiment 7, the slave server-side described in any embodiment of example embodiment 1-6 obtains installation pack arrangement
Description information and file download request is sent to the server-side according to the downloading order, be by the server-side
Send what Range Request requests were realized.
In example embodiment 8, being set according to for default file type described in any embodiment of example embodiment 1-7
Download priority, successively from server-side download installation kit in file, including:Installation kit download request is sent to server-side;
According to the response that the server-side returns, it is excellent according to the download set for default file type that the server-side is obtained successively
File in first grade, the installation kit sent successively.
It is preferential by setting download priority described in any embodiment of example embodiment 1-8 in example embodiment 9
The default file type of download includes at least:Just-ahead-of-time compilation type;Belonging to the file of the just-ahead-of-time compilation type includes:Execution carries
Code file or code file and associated documents needed for preceding compiling link;The default trip bar of the just-ahead-of-time compilation link
Part is:The file for belonging to the just-ahead-of-time compilation type is at least downloaded and finished;The text downloaded successively from server-side in installation kit
Part, including:The file for belonging to the just-ahead-of-time compilation type in installation kit is at least preferentially downloaded, then downloads its in installation kit
His file;It is described that installation operation is performed according to the file downloaded in obtained installation kit, including:When belonging to the just-ahead-of-time compilation class
After the file download of type, start and perform the just-ahead-of-time compilation link;Start and perform file duplication link, will download what is obtained
The executable file of file and just-ahead-of-time compilation generation in installation kit, copies in the respective directories of file system.
It is excellent by setting download priority described in any embodiment of example embodiment 1-9 in example embodiment 10
The default file type first downloaded further includes:Signature verification type, belonging to the file of the signature verification type includes:For testing
Demonstrate,prove the signature file of the integrality of file in installation kit;The default entry condition of signature verification link is:Belong to the signature to test
The file download of card type finishes;The default entry condition of the just-ahead-of-time compilation link is:Belong to the just-ahead-of-time compilation type
File download finishes and signature verification finishes;At least preferential just-ahead-of-time compilation type of belonging to downloaded in installation kit
File, including:The preferential file for belonging to the signature verification type downloaded in installation kit, then preferential download belongs to described and carries
The file of preceding compiling type;It is described that installation operation is performed according to the file downloaded in obtained installation kit, it further includes:When belonging to
After the file download for stating signature verification type, start and perform the signature verification link, belong to signature verification using described
The file of type, the file for belonging to the just-ahead-of-time compilation type downloaded to the download link carry out signature verification, then right
The alternative document progress signature verification downloaded link and downloaded;It is described when belong to the just-ahead-of-time compilation type file download it is complete
Bi Hou starts and performs the just-ahead-of-time compilation link, including:When the file download for belonging to the just-ahead-of-time compilation type finishes and signs
After name verifies, start and perform the just-ahead-of-time compilation link.
In example embodiment 11, the file described in any embodiment of example embodiment 1-10 replicates the default of link and opens
Dynamic condition includes:The signature verification link completes the signature verification operations of file in the installation kit obtained to download;It is described to open
The dynamic file that performs replicates link, including:When the signature verification link completes the signature of file in the installation kit obtained to download
After verification, start and perform the file duplication link.
In example embodiment 12, any embodiment of example embodiment 1-11 is implemented on the mobile terminal device.
In example embodiment 13, a kind of device can include:Download unit, for downloading installation kit from server-side;Peace
Unit is filled, for performing installation operation according to the file downloaded in obtained installation kit;Wherein, in the download unit and described
In each processing links involved by the whole work process of installation unit, at least there are a processing links:When via its elsewhere
Treated for reason link when file meets the default entry condition of the processing links, the processing links start perform and
It is performed parallel with other at least one processing links.
In example embodiment 14, download unit and the installation unit described in example embodiment 13 it is entire worked
In each processing links involved by journey, an at least existing processing links include:Just-ahead-of-time compilation link.
In example embodiment 15, the download unit described in any embodiment of example embodiment 13-14, specifically for pressing
According to the download priority set for default file type, the file in installation kit is downloaded from server-side successively.
In example embodiment 16, the download unit described in any embodiment of example embodiment 13-15, including:It downloads
Order determination subelement, for being set according to the installation kit structure description information obtained from server-side and for default file type
The download priority put determines the downloading order of file in installation kit;Request subelement is sent, for according to the downloading order
File download request is sent to the server-side;File subelement is received, for being obtained successively according to the response of the server-side
File in installation kit.
In example embodiment 17, the downloading order determination subelement described in any embodiment of example embodiment 13-16,
Specifically for by sending installation kit structure description information described in Range Request acquisition requests to the server-side;It is described
Request subelement is sent, downloads the Range of installation package file according to the downloading order specifically for being sent to the server-side
Request is asked.
In example embodiment 18, the download unit described in any embodiment of example embodiment 13-17, including:It downloads
Transmission sub-unit is asked, for sending installation kit download request to server-side;File obtains subelement successively, for according to
The response that server-side returns, obtain successively the server-side according to the download priority for the setting of default file type, according to
File in the installation kit of secondary transmission.
In example embodiment 19, the download unit described in any embodiment of example embodiment 13-18 is specifically used for,
The file for belonging to just-ahead-of-time compilation type in installation kit is at least preferentially downloaded, then downloads the alternative document in installation kit;It is described
Installation unit, including:Just-ahead-of-time compilation subelement finishes for working as download unit download and belongs to the just-ahead-of-time compilation type
After file, just-ahead-of-time compilation link is performed;File replicates subelement, replicates link for performing file, download unit is downloaded
To installation kit in file and the generation of just-ahead-of-time compilation subelement executable file, copy to the respective directories of file system
In.
In example embodiment 20, the download unit described in any embodiment of example embodiment 13-19 is specifically used for,
The preferential file for belonging to signature verification type downloaded in installation kit, it is then preferential to download the text for belonging to the just-ahead-of-time compilation type
Then part downloads the alternative document in installation kit;The installation unit, further includes:Signature verification subelement, for work as it is described under
After carrier unit download finishes and belongs to the file of the signature verification type, signature verification link is performed, belongs to signature using described
The file of Authentication-Type carries out signature verification to the file for belonging to the just-ahead-of-time compilation type that the download unit is downloaded, so
Signature verification is carried out to the alternative document that the download unit is downloaded afterwards;The just-ahead-of-time compilation subelement, specifically for when described
Download unit download finishes the file for belonging to the just-ahead-of-time compilation type and the file is completed by the signature verification subelement
After signature verification, just-ahead-of-time compilation link is performed.
In example embodiment 21, the file described in any embodiment of example embodiment 13-20 replicates subelement, specifically
In the installation kit downloaded for the signature verification subelement to be worked as to complete to the download unit after the signature verification of file,
It performs file and replicates link.
In example embodiment 22, any embodiment of example embodiment 13-21 is deployed in mobile terminal device.
In example embodiment 23, a kind of machine readable media can be with store instruction, and described instruction, which is read out by the processor, to be held
During row, the method described in any embodiment of example embodiment 1-12 is performed.
In example embodiment 24, a kind of system can include:Processor and memory, the memory are used to deposit
Storage instruction, described instruction by the processor when reading execution, described in any embodiment of execution example embodiment 1-12
Method.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill
Art personnel are not being departed from spirit and scope, can make possible variation and modification, therefore the guarantor of the application
Shield scope should be subject to the scope that the application claim is defined.
Claims (24)
- A kind of 1. method, which is characterized in that including:Installation kit is downloaded from server-side;Installation operation is performed according to the file downloaded in obtained installation kit;Wherein, in downloading installation kit and performing each processing links of installation operation whole process, at least there are a processing Link:When via other processing links treated file meets the default entry condition of the processing links when, the processing Link, which starts, to be performed and is performed parallel with other at least one processing links.
- 2. according to the method described in claim 1, it is characterized in that, the whole process includes at least following processing links:It is right Ying Yucong server-sides download the download link of installation kit and belong to the file duplication link of installation operation process.
- 3. according to the method described in claim 2, the whole process further includes the following processing ring for belonging to installation operation process One of section or combination:Signature verification link, just-ahead-of-time compilation link.
- 4. according to the method described in claim 1, it is characterized in that, an at least existing processing links include:In advance Compile link.
- 5. according to the method described in claim 1, it is characterized in that, it is described from server-side download installation kit, including:According to be pre- If the download priority that file type is set, the file in installation kit is downloaded from server-side successively.
- It is 6. according to the method described in claim 5, it is characterized in that, described preferential according to the download set for default file type Grade downloads the file in installation kit from server-side successively, including:According to the installation kit structure description information obtained from server-side and it is the download priority that default file type is set, Determine the downloading order of file in installation kit;File download request is sent to the server-side and obtained successively according to the response of the server-side according to the downloading order Take the file in installation kit.
- 7. according to the method described in claim 6, it is characterized in that, from server-side obtain installation kit structure description information and File download request is sent to the server-side according to the downloading order, is by sending Range to the server-side Request requests are realized.
- It is 8. according to the method described in claim 5, it is characterized in that, described preferential according to the download set for default file type Grade downloads the file in installation kit from server-side successively, including:Installation kit download request is sent to server-side;According to the response that the server-side returns, the server-side is obtained successively according under the setting for default file type File in the installation kit for carry priority, sending successively.
- 9. according to the method described in claim 5, it is characterized in that, by setting the default file downloaded priority and preferentially downloaded Type includes at least:Just-ahead-of-time compilation type;Belonging to the file of the just-ahead-of-time compilation type includes:It performs needed for just-ahead-of-time compilation link Code file or code file and associated documents;The default entry condition of the just-ahead-of-time compilation link is:The file for belonging to the just-ahead-of-time compilation type is at least downloaded and finished;The file downloaded successively from server-side in installation kit, including:At least preferentially download belonging to described and carry in installation kit The file of preceding compiling type, then downloads the alternative document in installation kit;It is described that installation operation is performed according to the file downloaded in obtained installation kit, including:After the file download of the just-ahead-of-time compilation type is belonged to, start and perform the just-ahead-of-time compilation link;Start and perform file duplication link, the executable text of file and just-ahead-of-time compilation generation in the installation kit that download is obtained Part is copied in the respective directories of file system.
- It is 10. according to the method described in claim 9, it is characterized in that, described pre- by the way that download priority is set preferentially to download If file type further includes:Signature verification type, belonging to the file of the signature verification type includes:For verifying in installation kit The signature file of the integrality of file;The default entry condition of signature verification link is:The file download for belonging to the signature verification type finishes;The default entry condition of the just-ahead-of-time compilation link is:The file download for belonging to the just-ahead-of-time compilation type is finished and signed Name verifies;At least preferential file for belonging to the just-ahead-of-time compilation type downloaded in installation kit, including:It is preferential to download installation kit In the file for belonging to the signature verification type, then preferential download the file for belonging to the just-ahead-of-time compilation type;It is described that installation operation is performed according to the file downloaded in obtained installation kit, it further includes:After the file download of the signature verification type is belonged to, start and perform the signature verification link, using described The file for belonging to signature verification type, the file for belonging to the just-ahead-of-time compilation type downloaded to the download link are signed Verification, the alternative document then downloaded to the download link carry out signature verification;It is described to start after the file download of the just-ahead-of-time compilation type is belonged to and perform the just-ahead-of-time compilation link, including: When the file download for belonging to the just-ahead-of-time compilation type finish and signature verification after, start and perform the just-ahead-of-time compilation ring Section.
- 11. according to the method described in claim 10, it is characterized in that, the file replicates the default entry condition bag of link It includes:The signature verification link completes the signature verification operations of file in the installation kit obtained to download;Described start performs file duplication link, including:After the signature verification link completes the signature verification of file in the installation kit obtained to download, start and perform the text Part replicates link.
- 12. according to claim 1-11 any one of them methods, which is characterized in that the method is real on the mobile terminal device It applies.
- 13. a kind of device, which is characterized in that including:Download unit, for downloading installation kit from server-side;Installation unit, for performing installation operation according to the file downloaded in obtained installation kit;Wherein, in each processing links involved by the whole work process of the download unit and the installation unit, at least There are a processing links:When the default entry condition via other processing links treated file meets processing links When, the processing links, which start, to be performed and is performed parallel with other at least one processing links.
- 14. device according to claim 13, which is characterized in that in the entire of the download unit and the installation unit In each processing links involved by the course of work, an at least existing processing links include:Just-ahead-of-time compilation link.
- 15. device according to claim 13, which is characterized in that the download unit, specifically for according to literary to preset The download priority that part type is set downloads the file in installation kit from server-side successively.
- 16. device according to claim 15, which is characterized in that the download unit, including:Downloading order determination subelement, for according to the installation kit structure description information obtained from server-side and to preset text The download priority that part type is set determines the downloading order of file in installation kit;Request subelement is sent, for sending file download request to the server-side according to the downloading order;File subelement is received, for obtaining the file in installation kit successively according to the response of the server-side.
- 17. device according to claim 16, which is characterized in that the downloading order determination subelement, specifically for logical It crosses to the server-side and sends installation kit structure description information described in Range Request acquisition requests;It is described to send request subelement, specifically for being sent to the server-side installation package file is downloaded according to the downloading order Range Request request.
- 18. device according to claim 15, which is characterized in that the download unit, including:Download request transmission sub-unit, for sending installation kit download request to server-side;File obtains subelement successively, for the response returned according to the server-side, obtains the server-side successively according to institute State the download priority for the setting of default file type, the file in the installation kit sent successively.
- 19. device according to claim 15, which is characterized in that the download unit is specifically used for, at least preferential to download Then the file for belonging to just-ahead-of-time compilation type in installation kit downloads the alternative document in installation kit;The installation unit, including:Just-ahead-of-time compilation subelement for working as after download unit download finishes and belong to the file of the just-ahead-of-time compilation type, is held Row just-ahead-of-time compilation link;File replicates subelement, and link is replicated for performing file, file in the installation kit that download unit is downloaded and The executable file of just-ahead-of-time compilation subelement generation, copies in the respective directories of file system.
- 20. device according to claim 19, which is characterized in that the download unit is specifically used for, preferential to download installation The file for belonging to signature verification type in bag, it is then preferential to download the file for belonging to the just-ahead-of-time compilation type, then download Alternative document in installation kit;The installation unit, further includes:Signature verification subelement for working as after download unit download finishes and belong to the file of the signature verification type, is held Row signature verification link belongs to described and carries using the file for belonging to signature verification type, to what the download unit was downloaded The file of preceding compiling type carries out signature verification, then carries out signature verification to the alternative document that the download unit is downloaded;The just-ahead-of-time compilation subelement finishes specifically for working as download unit download and belongs to the text of the just-ahead-of-time compilation type After part and the file complete signature verification by the signature verification subelement, just-ahead-of-time compilation link is performed.
- 21. device according to claim 20, which is characterized in that the file replicates subelement, specifically for when described In the installation kit that the download unit is downloaded in the completion of signature verification subelement after the signature verification of file, perform file and answer Link processed.
- 22. according to claim 13-21 any one of them devices, which is characterized in that described device is deployed in mobile terminal and sets It is standby.
- 23. a kind of machine readable media, which is characterized in that the machine readable media store instruction, described instruction is by processor When reading execution, such as claim 1-12 any one of them methods are performed.
- 24. a kind of system, which is characterized in that including:Processor;Memory, for storing instruction, described instruction perform claim 1-12 such as and appoint when reading execution by the processor Method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611051730.XA CN108108203B (en) | 2016-11-25 | 2016-11-25 | Method, device and system for downloading and installing process of installation package |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611051730.XA CN108108203B (en) | 2016-11-25 | 2016-11-25 | Method, device and system for downloading and installing process of installation package |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108108203A true CN108108203A (en) | 2018-06-01 |
CN108108203B CN108108203B (en) | 2021-02-26 |
Family
ID=62204080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611051730.XA Active CN108108203B (en) | 2016-11-25 | 2016-11-25 | Method, device and system for downloading and installing process of installation package |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108108203B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109309725A (en) * | 2018-10-25 | 2019-02-05 | 深圳市腾讯信息技术有限公司 | Using downloading and update method, device, computer equipment and storage medium |
CN113377424A (en) * | 2021-06-23 | 2021-09-10 | 支付宝(杭州)信息技术有限公司 | Installation package processing method, device and equipment |
CN113553068A (en) * | 2020-04-17 | 2021-10-26 | 华为技术有限公司 | Method and device for downloading application package and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101000548A (en) * | 2006-12-31 | 2007-07-18 | 成都迈普产业集团有限公司 | Method for installing software installation packet |
CN101141197A (en) * | 2007-10-18 | 2008-03-12 | 中兴通讯股份有限公司 | Software download method |
CN101727344A (en) * | 2010-01-12 | 2010-06-09 | 腾讯科技(深圳)有限公司 | Method and device for installing software |
CN102081528A (en) * | 2009-11-26 | 2011-06-01 | 冼剑光 | Method for running large-scale software being loaded |
CN102646063A (en) * | 2012-03-05 | 2012-08-22 | 青岛海信移动通信技术股份有限公司 | Method and device for downloading software of mobile terminal |
CN102736939A (en) * | 2012-06-25 | 2012-10-17 | 腾讯科技(深圳)有限公司 | Software installation method, device and system |
CN103577225A (en) * | 2013-10-22 | 2014-02-12 | 北京奇虎科技有限公司 | Software installation method and device |
CN103677879A (en) * | 2012-09-14 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Software installation method and corresponding software installation device |
US8972975B1 (en) * | 2013-04-01 | 2015-03-03 | Google Inc. | Bounded installation time optimization of applications |
-
2016
- 2016-11-25 CN CN201611051730.XA patent/CN108108203B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101000548A (en) * | 2006-12-31 | 2007-07-18 | 成都迈普产业集团有限公司 | Method for installing software installation packet |
CN101141197A (en) * | 2007-10-18 | 2008-03-12 | 中兴通讯股份有限公司 | Software download method |
CN102081528A (en) * | 2009-11-26 | 2011-06-01 | 冼剑光 | Method for running large-scale software being loaded |
CN101727344A (en) * | 2010-01-12 | 2010-06-09 | 腾讯科技(深圳)有限公司 | Method and device for installing software |
CN102646063A (en) * | 2012-03-05 | 2012-08-22 | 青岛海信移动通信技术股份有限公司 | Method and device for downloading software of mobile terminal |
CN102736939A (en) * | 2012-06-25 | 2012-10-17 | 腾讯科技(深圳)有限公司 | Software installation method, device and system |
CN103677879A (en) * | 2012-09-14 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Software installation method and corresponding software installation device |
US8972975B1 (en) * | 2013-04-01 | 2015-03-03 | Google Inc. | Bounded installation time optimization of applications |
CN103577225A (en) * | 2013-10-22 | 2014-02-12 | 北京奇虎科技有限公司 | Software installation method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109309725A (en) * | 2018-10-25 | 2019-02-05 | 深圳市腾讯信息技术有限公司 | Using downloading and update method, device, computer equipment and storage medium |
CN113553068A (en) * | 2020-04-17 | 2021-10-26 | 华为技术有限公司 | Method and device for downloading application package and electronic equipment |
CN113553068B (en) * | 2020-04-17 | 2024-01-19 | 华为技术有限公司 | Method and device for downloading application package and electronic equipment |
CN113377424A (en) * | 2021-06-23 | 2021-09-10 | 支付宝(杭州)信息技术有限公司 | Installation package processing method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108108203B (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108111555B (en) | Method and system for controlling installation package downloading process | |
CN105765527B (en) | The method and apparatus of software development kit (SDK) for customization | |
US10694353B2 (en) | Updating web resources | |
US9672140B1 (en) | Processing special requests at dedicated application containers | |
US8799889B2 (en) | Application downloading | |
WO2015179603A1 (en) | Providing testing environments using virtualization | |
EP1692614A2 (en) | A method of rapid software application development for a wireless mobile device | |
CN105450461A (en) | Shunting method and network equipment | |
US20080098386A1 (en) | Methodology of individualized software deployment for hardware-independent personal computer mass deployment | |
CN105278999A (en) | Safe and efficient method for deploying virtual machine software | |
CN107357607B (en) | The read method and device of file data | |
CN111142884A (en) | Applet version deployment method and device, electronic equipment and storage medium | |
CN108108203A (en) | The method, apparatus and system of installation process are downloaded for installation kit | |
WO2019029451A1 (en) | Method for publishing mobile applications and electronic apparatus | |
CN108664294A (en) | The method and apparatus and electronic equipment and storage medium of presentation masking-out figure | |
GB2539758A (en) | Techniques for evaluating applications through use of an auxiliary application | |
CN112187921A (en) | Object file downloading method, device, system, server and storage medium | |
CN112154417B (en) | Sharing code libraries between stand-alone and Web-based versions of an application via an emulated network communication channel | |
WO2020199543A1 (en) | Method and apparatus applicable to release and upgrade of hybrid application, and intelligent device | |
CN110989986A (en) | Software template-based software generation method and device and computer equipment | |
CN110955449B (en) | Gray scale release method and device for client | |
CN107239265B (en) | Binding method and device of Java function and C function | |
US20230171179A1 (en) | Method for testing pressure, electronic device and storage medium | |
WO2023230545A1 (en) | Systems and methods for independent application design and deployment to platform host | |
CN110825373A (en) | Dynamic method and device for mobile terminal |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201117 Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China Applicant after: Zebra smart travel network (Hong Kong) Limited Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands Applicant before: Alibaba Group Holding Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |