CN103699410B - Method and device for updating application programs - Google Patents
Method and device for updating application programs Download PDFInfo
- Publication number
- CN103699410B CN103699410B CN201310714581.0A CN201310714581A CN103699410B CN 103699410 B CN103699410 B CN 103699410B CN 201310714581 A CN201310714581 A CN 201310714581A CN 103699410 B CN103699410 B CN 103699410B
- Authority
- CN
- China
- Prior art keywords
- file
- files
- differential
- version
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000004422 calculation algorithm Methods 0.000 claims description 78
- 230000006837 decompression Effects 0.000 claims description 22
- 230000006835 compression Effects 0.000 claims description 20
- 238000007906 compression Methods 0.000 claims description 20
- 238000012856 packing Methods 0.000 claims description 20
- 238000004321 preservation Methods 0.000 claims 3
- 230000004044 response Effects 0.000 abstract description 5
- 230000003247 decreasing effect Effects 0.000 abstract 1
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical group [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 25
- 230000006870 function Effects 0.000 description 22
- 230000008569 process Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 7
- 238000009434 installation Methods 0.000 description 7
- 201000004569 Blindness Diseases 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a device for updating application programs. The method comprises the following steps of: acquiring one or more first files of a first version of the application programs, and one or more second files of a second version of the application programs; generating the update difference files of the one or more first files and the corresponding one or more second files; issuing the update difference files comprising download addresses; generating configuration files comprising the version information of the second version and the download addresses of the update difference files; issuing the configuration files. According to the method and the device disclosed by the invention, clients are prevented from blindly accessing a server to request to update service, thus reducing the response frequency of the server and decreasing the resource consumption of the server; meanwhile, the volume of each of the update difference files produced by data difference is greatly reduced compared with a complete version update data package, thus greatly reducing network bandwidth resources, and increasing download success rate and update success rate.
Description
Technical field
The present invention relates to the field of electrical communication technology, and in particular to the update method and one kind application journey of a kind of application program
The updating device of sequence.
Background technology
When application program existing defects or need add some functions when, be required for entering the application program in client
Row edition upgrading.
The method of the application program of current updating client is roughly divided into following two:
A kind of method is that all composing documents included in the application program of redaction are made single installation journey by server
Sequence is installed for client downloads.Client is being downloaded with server and is running installation procedure, using in new edition application
All composing documents are replaced to all composing documents in the old edition application of client.
This method can cause to repeat installation operation, and renewal step is numerous and diverse and without practical significance, updates the time
Very long, Consumer's Experience is very low.Installation procedure is general very big, can greatly waste network bandwidth resources, and easily occurs downloading
Failure situation, cause update success rate will be low.With the continuous enhancing of function of application, application program updating is to service
The download pressure that device brings is also increasing.
Another method is that server provides under client the composing document that some are basic in the application program of redaction
Carry.Client downloads corresponding composing document from server end, and saves it in temp directory, then the composing document that will be downloaded
It is substituted into the application program of client.
This method restriction is very big, it is impossible to carries out complete renewal to application program, may result in application program
Composing document function it is inconsistent and cause collapse.The composing document on basis is general also very big, can also waste network bandwidth resources, and
And easily there is the situation of failed download, cause update success rate will be low.With the continuous enhancing of function of application, basis
Composing document renewal it is also increasing to the download pressure that server brings.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State the update method and a kind of corresponding updating device of application program of a kind of application program of problem.
According to one aspect of the present invention, there is provided a kind of update method of application program, including:
One or more first files and the application program of the second edition of the application program of first version are obtained respectively
One or more second files;
Generate the renewal differential file of one or more of first files and corresponding one or more the second files;
Issue the renewal differential file;The renewal differential file includes download address;
Generation configuration file;The configuration file includes the version information and the renewal differential file of the second edition
Download address;
Issue the configuration file.
Alternatively, one or more of first files be by All Files according to the first version application program
One or more first files of structure category packing generation;
One or more of second files are according to structure category by All Files according to the application program of the second edition
One or more second files of packing generation;
Version information of the version information of the first version higher than the second edition.
Alternatively, one or more of first files include first foundation component file and/or the first extension element text
Part;
One or more of first files are generated in the following manner:
The infrastructure component of the application program of first version is packaged as first foundation component file according to structure category;
The extension element of the application program of first version is packaged as the first extension element file according to structure category.
Alternatively, one or more of second files include the second infrastructure component file and/or the second extension element text
Part;
One or more of second files are generated in the following manner:
The infrastructure component of the application program of the second edition is packaged as the second infrastructure component file according to structure category;
The extension element of the application program of the second edition is packaged as the second extension element file according to structure category.
Alternatively, the difference for generating one or more of first files and corresponding one or more the second files
The step of file, includes:
The first foundation component file and the second infrastructure component file are calculated using difference algorithm Courgette
Infrastructure component differential file;
The first extension element file and the second extension element file are calculated using difference algorithm Courgette
Extension element differential file;
By the infrastructure component differential file and/or the extension element differential file boil down to version updating bag;
It is renewal differential file by the version updating packet compression.
According to another aspect of the present invention, there is provided a kind of update method of application program, including:
Configuration file is obtained from server side;The configuration file includes the version information of the second edition and updates difference text
The download address of part;
When the version information that the version information of client is the second edition, from the download address download described in more
New differential file;
Using the file of one or more preset 3rd and renewal differential file generation more new file;
The more new file is decompressed;
More new file after decompression is installed.
Alternatively, one or more of 3rd files include the 3rd infrastructure component file and/or the 3rd extension element text
Part;The more new file includes that infrastructure component updates bag and/or extension element updates bag;The more new file includes infrastructure component
Update bag and/or extension element updates bag;
The step of one or more preset the 3rd files of the use and renewal differential file generation more new file
Including:
The renewal differential file is decompressed, version updating bag is obtained;
The version updating bag is decompressed, infrastructure component differential file and/or extension element differential file is obtained;
The 3rd infrastructure component file and the infrastructure component differential file are generated using difference algorithm Courgette
Infrastructure component updates bag;
The 3rd extension element file and the extension element differential file are generated using difference algorithm Courgette
Extension element updates bag.
According to another aspect of the present invention, there is provided a kind of update method of application program, including:
Generate the renewal differential file of the first file and the second file;Wherein, first file answering for first version
With the composing document of program, second file is the composing document of the application program of the second edition;
Issue the renewal differential file;The renewal differential file includes download address;
Generation configuration file;The configuration file includes the version information and the renewal differential file of the composing document
Download address;
Issue the configuration file.
Alternatively, version information of the version information of the first version higher than the second edition.
Alternatively, the step of renewal differential file of generation the first file and second file includes:
The data difference file of the first file and the second file is calculated using difference algorithm Courgette;
It is that file updates bag by the data difference compressing file;
The file is updated into packet compression to update differential file.
According to another aspect of the present invention, there is provided a kind of update method of application program, including:
Configuration file is obtained from server side;The configuration file includes the version information of composing document and updates difference text
The download address of part;
When the version information of the 3rd preset file is the version information of the composing document, under the download address
Carry the renewal differential file;
Using the 3rd file and renewal differential file generation more new file;
More new file replaces the 3rd file by described in.
Alternatively, the step of use the 3rd file and the renewal differential file generate more new file includes:
The renewal differential file is decompressed, file is obtained and is updated bag;
Decompress the file and update bag, obtain data difference file;
Using difference algorithm Courgette by the 3rd file and the data difference file generated more new file.
According to another aspect of the present invention, there is provided a kind of updating device of application program, including:
First acquisition module, is suitable to one or more first files and second for the application program for obtaining first version respectively
One or more second files of the application program of version;
First generation module, is suitable to one or more of first files of generation and corresponding one or more second files
Renewal differential file;
First release module, is suitable to issue the renewal differential file;The renewal differential file includes download address;
Second generation module, is suitable to generate configuration file;The configuration file includes the version information of the second edition
With the download address of the renewal differential file;
Second release module, is suitable to issue the configuration file.
Alternatively, one or more of first files be by All Files according to the first version application program
One or more first files of structure category packing generation;
One or more of second files are according to structure category by All Files according to the application program of the second edition
One or more second files of packing generation;
Version information of the version information of the first version higher than the second edition.
Alternatively, one or more of first files include first foundation component file and/or the first extension element text
Part;
One or more of first files are generated in the following manner:
The infrastructure component of the application program of first version is packaged as first foundation component file according to structure category;
The extension element of the application program of first version is packaged as the first extension element file according to structure category.
Alternatively, one or more of second files include the second infrastructure component file and/or the second extension element text
Part;
One or more of second files are generated in the following manner:
The infrastructure component of the application program of the second edition is packaged as the second infrastructure component file according to structure category;
The extension element of the application program of the second edition is packaged as the second extension element file according to structure category.
Alternatively, first generation module is further adapted for:
The first foundation component file and the second infrastructure component file are calculated using difference algorithm Courgette
Infrastructure component differential file;
The first extension element file and the second extension element file are calculated using difference algorithm Courgette
Extension element differential file;
By the infrastructure component differential file and/or the extension element differential file boil down to version updating bag;
It is renewal differential file by the version updating packet compression.
According to another aspect of the present invention, there is provided a kind of updating device of application program, including:
Second acquisition module, is suitable to obtain configuration file from server side;The configuration file includes the version of the second edition
The download address of this information and renewal differential file;
First download module, when the version information being suitable in client is the version information of the second edition, from described
Download address downloads the renewal differential file;
3rd generation module, is suitable for use with the file of one or more preset 3rd and renewal differential file generation more
New file;
Decompression module, is suitable to decompress the more new file;
Module is installed, is suitable to the more new file after decompression is installed.
Alternatively, one or more of 3rd files include the 3rd infrastructure component file and/or the 3rd extension element text
Part;The more new file includes that infrastructure component updates bag and/or extension element updates bag;The more new file includes infrastructure component
Update bag and/or extension element updates bag;
3rd generation module is further adapted for:
The renewal differential file is decompressed, version updating bag is obtained;
The version updating bag is decompressed, infrastructure component differential file and/or extension element differential file is obtained;
The 3rd infrastructure component file and the infrastructure component differential file are generated using difference algorithm Courgette
Infrastructure component updates bag;
The 3rd extension element file and the extension element differential file are generated using difference algorithm Courgette
Extension element updates bag.
According to another aspect of the present invention, there is provided a kind of updating device of application program, including:
4th generation module, is suitable to generate the renewal differential file of the first file and the second file;Wherein, first text
Part is the composing document of the application program of first version, and second file is the composing document of the application program of the second edition;
3rd release module, is suitable to issue the renewal differential file;The renewal differential file includes download address;
5th generation module, is suitable to generate configuration file;The configuration file includes the version information of the composing document
With the download address of the renewal differential file;
4th release module, is suitable to issue the configuration file.
Alternatively, version information of the version information of the first version higher than the second edition.
Alternatively, the 4th generation module is further adapted for:
The data difference file of the first file and the second file is calculated using difference algorithm Courgette;
It is that file updates bag by the data difference compressing file;
The file is updated into packet compression to update differential file.
According to another aspect of the present invention, there is provided a kind of updating device of application program, including:
3rd acquisition module, is suitable to obtain configuration file from server side;The configuration file includes the version of composing document
The download address of this information and renewal differential file;
Second download module, the version information being suitable in the 3rd preset file is the version information of the composing document
When, download the renewal differential file from the download address;
6th generation module, is suitable for use with the 3rd file and renewal differential file generation more new file;
Replacement module, is suitable to for the more new file to replace the 3rd file.
Alternatively, the 6th generation module is further adapted for:
The renewal differential file is decompressed, file is obtained and is updated bag;
Decompress the file and update bag, obtain data difference file;
Using difference algorithm Courgette by the 3rd file and the data difference file generated more new file.
The present invention makes in the data difference that server is calculated between redaction and the application program of legacy version and updates poor
Different article part, and make configuration file and issued, client downloads configuration file is checked whether and meets update condition, when meeting
Ability down loading updating differential file is updated, and prevents client blindness access server from asking more new demand servicing, reduces server
Response times, reduce the resource cost of server, meanwhile, the renewal differential file made using data difference is compared to complete
The volume of version updating packet greatly reduce, greatly reduce network bandwidth resources, improve the success rate of download, carry
The high success rate for updating.Further, server can increase the speed and frequency of renewal so that the function of application program is more
Add kind, improve Consumer's Experience.
The present invention is packed based on infrastructure component and extension element, and redaction is calculated using difference algorithm Courgette
Make and update differential file with the infrastructure component of the application program of legacy version and the data difference of extension element so that client can
The combination of the infrastructure component and extension element of redaction, on the premise of client performance is not influenceed, two-wire are carried out with dual-thread
Journey greatly accelerates group speed, and then improves whole renewal speed.
Data difference of the present invention between the composing document that server calculates the application program of redaction and legacy version
Make and update differential file, and make configuration file and issued, client downloads configuration file checks whether that satisfaction updates bar
Part, when meeting, ability down loading updating differential file is updated, and prevents client blindness access server from asking more new demand servicing, subtracts
Lack the response times of server, reduce the resource cost of server, meanwhile, the renewal difference text made using data difference
Part is greatly reduced compared to the volume of complete composing document new data packets, greatly reduces network bandwidth resources, is improve down
The success rate of load, improves the success rate of renewal.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage 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 is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
The step of Fig. 1 shows a kind of update method embodiment 1 of application program according to an embodiment of the invention is flowed
Cheng Tu;
The step of Fig. 2 shows a kind of update method embodiment 2 of application program according to an embodiment of the invention is flowed
Cheng Tu;
The step of Fig. 3 shows a kind of update method embodiment 3 of application program according to an embodiment of the invention is flowed
Cheng Tu;
The step of Fig. 4 shows a kind of update method embodiment 4 of application program according to an embodiment of the invention is flowed
Cheng Tu;
Fig. 5 shows a kind of structural frames of the updating device embodiment 1 of application program according to an embodiment of the invention
Figure;
Fig. 6 shows a kind of structural frames of the updating device embodiment 2 of application program according to an embodiment of the invention
Figure;
Fig. 7 shows a kind of structural frames of the updating device embodiment 3 of application program according to an embodiment of the invention
Figure;And,
Fig. 8 shows a kind of structural frames of the updating device embodiment 4 of application program according to an embodiment of the invention
Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Reference picture 1, shows a kind of step of the update method embodiment 1 of application program according to an embodiment of the invention
Rapid flow chart, methods described may include steps of:
Step 101, obtains one or more first files of the application program of first version and answering for the second edition respectively
With one or more second files of program;
In embodiments of the present invention, the first file and the second file can be the file for previously generating, and directly extract;
First file and the second file can also be currently generated.
To make those skilled in the art more fully understand the embodiment of the present invention, in this manual, using browser as should
Illustrated with a kind of example of program.
In one preferred embodiment of the invention, one or more of first files can be by All Files according to
One or more first files of the structure category packing generation of the application program of the first version;
In actual applications, due to an application program(Such as browser)Composing document be generally all tens, very
To up to a hundred.If the application program of a version of upgrading needs to configure each composing document upgrading, upgrading can be caused very
Complexity, therefore application program(Such as browser)All Files must break into a compressed package or multiple according to bibliographic structure
Compressed package.These compressed packages are all only that file is packed, and any compression algorithm are not used, in order to carry out incremental computations.
Used as a kind of preferred exemplary of the embodiment of the present invention, one or more of first files can include first foundation
Component file and/or the first extension element file;
In implementing, one or more of first files can be generated in the following manner:
Sub-step S11, first foundation group is packaged as by the infrastructure component of the application program of first version according to structure category
Part file;
Sub-step S12, the first expanded set is packaged as by the extension element of the application program of first version according to structure category
Part file.
One application program can be made up of many files, and wherein most is all a little expansion plugins and some other
Small routine.Infrastructure component can be the file of the foundation function of realizing application program, such as render function in browser
Etc., extension element can be the file of the expansion function of realizing application program, such as the gesture operation work(in browser
, plug-in unit etc. can be searched for.
It should be noted that different application is under different demands, foundation function and expansion function can be with
Be it is different, the embodiment of the present invention can based on arbitrary file in specified application component or extension element, for example
The gesture operation function of above-mentioned browser can be included into infrastructure component.
The structure category of application program can be the catalogue file of the structuring after installing, and infrastructure component and extension element can
Can be second-level directory etc. so that with the storing directory specified, the storing directory can be root.
In one preferred embodiment of the invention, one or more of second files can be All Files according to the
One or more second files that the application program of two versions is generated according to structure category packing;
Wherein, the version information of the first version can be higher than the version information of the second edition.
Then in this example, the application program of first version can be the application program of redaction, the application of the second edition
Program can be the application program of legacy version, and application program is compared and updated, it is necessary to answer whole version on a large scale
It is updated with program.
It should be noted that the structure mesh of the application program of the structure category of the application program of the second edition and first version
Record can be corresponding.
Used as a kind of preferred exemplary of the embodiment of the present invention, one or more of second files can include the second basis
Component file and/or the second extension element file;
In implementing, one or more of second files can be generated in the following manner:
Sub-step S21, the second base set is packaged as by the infrastructure component of the application program of the second edition according to structure category
Part file;
Sub-step S22, the second expanded set is packaged as by the extension element of the application program of the second edition according to structure category
Part file.
It should be noted that the application of the second infrastructure component file and the second extension element file and first foundation component text
The application substantially identical of part and the first extension element file, related part is referred to first foundation component file and first
The related description of extension element file, the embodiment of the present invention is not described in detail herein.
Additionally, on the premise of client performance is allowed, the embodiment of the present invention can also draw application program according to function
Be divided into three, multiple components such as four packed, the data difference for then calculating new and old edition makes difference update file, this
Inventive embodiments are not any limitation as to this.
Step 102, generates one or more of first files poor with the renewal of corresponding one or more the second files
Different article part;
Update the file that differential file can be generated by the data that the first file and the second file have differences.
In one kind of the invention is preferable to carry out, the step 102 can include following sub-step:
Sub-step S31, the first foundation component file and second basis are calculated using difference algorithm Courgette
The infrastructure component differential file of component file;
Sub-step S32, the first extension element file and second extension are calculated using difference algorithm Courgette
The extension element differential file of component file;
Difference algorithm Courgette is built on the basis of Open Source Code a bsdiff and bspatch, be can be used for
For two different editions(Legacy version and redaction)Binary file(Binary File), to find and wherein distinguish, generation is mended
Fourth file;The binary file of redaction is generated plus the binary file of legacy version according further to this patch file.
It should be noted that first foundation component file and the second infrastructure component file, and, the first extension element file
With can include binary file in the second extension element file, it is also possible to including nonbinary file.For binary file,
Difference algorithm Courgette can first carry out dis-assembling, then carry out the calculating of differential file using bsdiff again.For non-two
Binary file, difference algorithm Courgette can directly carry out the calculating of differential file using bsdiff.
For the application program after compiling, even if changing the source code of very little, also result in out-of-proportion big
The amount other change of binary level.If adding several line codes, such as, inspection for scope prevents cache overflow, behind institute
Some codes can all be moved to accommodate new instruction.Some instruction and datas are often the address of other instruction and data,
So the code after compiling is internal reference everywhere.But before the change of these internal pointers, only a small number of several rows
The variation of code, and be substantial amounts of internal pointer, the main DLL of such as browser(Dynamic Link Library, dynamic link
Storehouse)The program of size, the quantity of internal pointer probably has 500,000.
And source code does not have above mentioned problem then, because all of element of source code is symbolism.Compile and link
During, function is to be converted (commite in the stage below)Into specified address.
Difference algorithm Courgette can find inside and refer to an original decomposer (disassembler)
Pin.Program is divided into 3 parts by decomposer:One list of internal pointer destination address;Other bytes and an instruction
(Instruction) sequence returns to original input by adjusting and interting determining common byte and pointer.Then can be with
This will be referred to as " language of decomposition " (assemblylanguage) because can be processed using a decomposer these instruction and
This byte sequence is issued to return to original file.
The part of non-pointer probably account for the 80% of original application program, because not mixing any pointer, by comparison
Effect is better, and the change of the size and source code of difference bag is linear.It is simple to be compared using the language for decomposing
The version updating bag for coming is probably smaller by 30% than original.
Difference algorithm Courgette introduces label to identify address so that pointer can be controlled.These addresses are stored in
Array the inside, and pointer list can be replaced by the subscript list of array.This data is an original symbol table, these symbols
Number name, or label is in fact the array index of integer.Using symbol table so that difference algorithm Courgette how table
There is certain free degree up to application program.By changing corresponding list index so that difference algorithm Courgette can be moved
Address around array.
Difference algorithm Courgette Program transformation into original assemblylanguage, then assembly's
Difference is compared in rank:
Server:
asm_old=disassemble(original)
asm_new=disassemble(update)
asm_new_adjusted=adjust(asm_new,asm_old)
asm_diff=bsdiff(asm_old,asm_new_adjusted)
transmit asm_diff
Difference algorithm Courgette passes through the address of mobile asm_new internal symbol tables(asm_new_adjusted=
adjust(asm_new,asm_old))So that the minimum of version updating file.Address in two symbol tables is matching,
Ensure that index list possesses many public word strings on their statistical attribute.According to the code or Debugging message of surrounding,
The address of alignment does not use any exploratory method to be matched.
The application program of old edition and the application program of new edition must be a good executable files.If old edition should
Several executable files can be included with the application program of program and new edition, it is also possible to which the file comprising decomplier is such as
JavaScript and PNG pictures, it will more useful.For browser, the application program of old edition and the application journey of new edition
Sequence is a kind of history file, can include the file that all installation and operations need.
Difference algorithm Courgette is converted into input the form of another more effective binary system difference, in conversion
Differential Compression, and the output after opposite conversion has beaten patch come the acquisition from original document are done in space.By difference
After the conversion regime of algorithm Courgette, a smaller AKU can be obtained.
Sub-step S33, by the infrastructure component differential file and/or the extension element differential file boil down to version more
New bag;
It is being the further occupancy for reducing network traffics, can be to infrastructure component differential file and/or extension element difference
File is compressed packing, and version updating bag is specifically as follows the compressed package of 7z compressed formats.
Sub-step S34, is renewal differential file by the version updating packet compression.
For the ease of issue and the further occupancy for reducing network traffics, the version updating packet compression to be issued into renewal
Differential file, is specifically as follows CAB file, while being easy to the client can horse back decompression processing.
CAB is the compressed package form that Microsoft is worked out, and is usually used in the installation procedure of application program, using Windows certainly
The utility program Extract.exe of band can be decompressed to it, and WinZip, WinRAR, WinMount etc. support this form.
Step 103, issues the renewal differential file;The renewal differential file can include download address;
The position specified during differential file is uploaded onto the server will be updated to be issued, there is external net one to be downloaded ground
Location.
Step 104, generates configuration file;The configuration file can include the version information of the second edition and described
Update the download address of differential file;
Configuration file config.ini can have the instruction second edition(Legacy version)Version information and download address it
Outward, there can also be the name information for identifying configuration file, for the check information of security verification, such as MD5
(Message Digest Algorithm, Message Digest Algorithm 5), first version(Redaction)Version information etc.,
The embodiment of the present invention is not any limitation as to this.
Step 105, issues the configuration file.
Issued the position specified during configuration file config.ini is uploaded onto the server so that client can be following
Configuration file config.ini is carried to be updated.
It should be noted that the application program of preceding latest edition can be one, but client is possible without every
Can be all updated after the version updating of secondary application program, therefore the application version of client there may be multiple, then enter
The renewal differential file that row updates can be multiple, and configuration file can include legacy version for one, i.e. configuration file
Application program(Can be part, or all)Version information, and, the download address of corresponding more new file.When
So, configuration file can also be multiple, i.e., one configuration file only include a version information for the application program of legacy version with
And the download address of corresponding more new file.
Reference picture 2, shows a kind of step of the update method embodiment 2 of application program according to an embodiment of the invention
Rapid flow chart, methods described may include steps of:
Step 201, configuration file is obtained from server side;The version information of the configuration file including the second edition and more
The download address of new differential file;
Using the embodiment of the present invention, client(It can be application program)Can be in the default time(Such as every morning 6
Point, on every Saturdays 6 points etc.), it is also possible to it is spaced the default time period(Such as every 6 hours, 8 hours etc.)Actively from server
Download configuration file.
Server can also be actively in the default time(For example 6 points of every morning, on every Saturdays 6 points etc.), or
Every the default time period(Such as every 6 hours, 8 hours etc.)Actively to client push configuration file.
Server actively can also gather version information after application program update from client, should to client push
Version information is updated corresponding configuration file.Client is obtained to ensure the right of privacy and right to know of user in server
The version information of the application program in the client can be gathered after to mandate.It is possible to further first check the client
Whether user adds specified plan, if it is, confirming version information of the client user to the application program of server
Collection is authorized, and server can continue executing with collecting flowchart, if the user of the client does not add executive plan,
Then confirm that version information collection of the client user not to the application program of server end is authorized, server end cannot
Obtain the version information of the application program in the client.
Step 202, when the version information that the version information of client is the second edition, under the download address
Carry the renewal differential file;
Client can item by item check the information in configuration file config.ini, when version information and the configuration of client
When the version information of the second edition in file config.ini is identical, accesses corresponding download address and downloaded more from server
New differential file.
Step 203, using the file of one or more preset 3rd and renewal differential file generation more new file;
In one preferred embodiment of the invention, one or more of 3rd files can be by All Files according to
One or more first files of the structure category packing generation of the application program of the second edition.3rd file can be visitor
Family end is last update after the more new file that leaves, the file that can be previously generated for client can also be that client is worked as
Previous existence into.
Used as a kind of preferred exemplary of the embodiment of the present invention, one or more of 3rd files can include the 3rd basis
Component file and/or the 3rd extension element file;
It is one if that the 3rd file is previously generated for client or be currently generated in implementing
Or multiple first files can be generated in the following manner:
Sub-step S31, the 3rd base set is packaged as by the infrastructure component of the application program of the second edition according to structure category
Part file;
Sub-step S32, the 3rd expanded set is packaged as by the extension element of the application program of the second edition according to structure category
Part file.
It should be noted that the application of the 3rd infrastructure component file and the 3rd extension element file and first foundation component text
The application substantially identical of part and the first extension element file, related part is referred to first foundation component file and first
The related description of extension element file, the embodiment of the present invention is not described in detail herein.
In inventive embodiments, the more new file can include that infrastructure component updates bag and/or extension element updates bag;
The more new file can include that infrastructure component updates bag and/or extension element updates bag;
Then the step 203 can include following sub-step:
Sub-step S41, decompresses the renewal differential file, obtains version updating bag;
When it is CAB file to update differential file, can using Extract.exe, WinZip, WinRAR or
WinMount is decompressed to it.
Sub-step S42, decompresses the version updating bag, obtains infrastructure component differential file and/or extension element difference text
Part;
Further decompressed when to version updating bag, differential file and/or extension element differential file can be obtained.Work as version
When renewal bag can be the compressed package of 7z compressed formats, can be decompressed using corresponding decompression algorithm.
Sub-step S43 is poor by the 3rd infrastructure component file and the infrastructure component using difference algorithm Courgette
Different file generated infrastructure component updates bag;
Sub-step S44 is poor by the 3rd extension element file and the extension element using difference algorithm Courgette
Different file generated extension element updates bag.
In implementing, can by below scheme carry out infrastructure component update bag and/or extension element update bag
Combination.
Client:
receive asm_diff
asm_old=disassemble(original)
asm_new_adjusted=bspatch(asm_old,asm_diff)
update=assemble(asm_new_adjusted)
The infrastructure component calculated using difference algorithm Courgette update bag substantially can with redaction should
With the packaging file of the infrastructure component file of program(Such as first foundation component file)Identical, it is substantial that extension element updates bag
Can be with the packaging file of the extension element file of the application program of redaction(Such as the first extension element file)It is identical.
For binary file, difference algorithm Courgette can carry out the combination of differential file using bsdiff, then enter
The respective operations of row dis-assembling.For nonbinary file, difference algorithm Courgette can be directly poor using bsdiff
The combination of different article part.
It should be noted that due to the combination operation of difference algorithm Courgette in embodiment of the method 2, can be with method
The operation splitting of difference algorithm Courgette is strict opposite in embodiment 1, and related part is referred in embodiment of the method 1
The part explanation of the operation splitting of difference algorithm Courgette, the embodiment of the present invention is not described in detail herein.
The present invention is packed based on infrastructure component and extension element, and redaction is calculated using difference algorithm Courgette
Make and update differential file with the infrastructure component of the application program of legacy version and the data difference of extension element so that client can
The combination of the infrastructure component and extension element of redaction, on the premise of client performance is not influenceed, two-wire are carried out with dual-thread
Journey greatly accelerates group speed, and then improves whole renewal speed.
Step 203, decompresses to the more new file;
More new file after decompression can be the application program of redaction.
Step 204, installs the more new file after decompression.
In embodiments of the present invention, infrastructure component renewal bag and/or extension element can be updated bag and be installed to by client
The renewal of application program is completed by the position specified.
It should be noted that client can be wrapped after infrastructure component renewal bag and/or extension element renewal bag is installed
Include infrastructure component and update bag and/or extension element, in case next update, i.e., expand as the 3rd infrastructure component file and/or the 3rd
Exhibition component file.
The present invention makes in the data difference that server is calculated between redaction and the application program of legacy version and updates poor
Different article part, and make configuration file and issued, client downloads configuration file is checked whether and meets update condition, when meeting
Ability down loading updating differential file is updated, and prevents client blindness access server from asking more new demand servicing, reduces server
Response times, reduce the resource cost of server, meanwhile, the renewal differential file made using data difference is compared to complete
The volume of version updating packet greatly reduce, greatly reduce network bandwidth resources, improve the success rate of download, carry
The high success rate for updating.Further, server can increase the speed and frequency of renewal so that the function of application program is more
Add kind, improve Consumer's Experience.
Those skilled in the art more fully understand the present invention for convenience, below by way of a renewal example for browser more
Further illustrate the application program update process of the embodiment of the present invention:
In server side:
1st, it is Chrome.core.7z according to the infrastructure component of structure category packing browser;
Extension element according to structure category packing browser is Chrome.ext.7z;
Chrome.core.7z has packed all of browser core document, this bag solution press out after browser
Operation.Substantially file is as follows:
360se.exe(Perform file)
6.5.1.134(The release directory file)
Chrome.dll
gcswf32.dll
Chrome.ext.7z has packed all of browser extension file, the file inside this bag generally with seldom.
Substantially file is as follows:
6.5.1.134(The release directory file)
pdf.dll
2nd, the difference text of the Chrome.core.7z and Chrome.ext.7z of the browser of redaction and legacy version is calculated
Part.
Chrome.core.diff=GetDiff(chrome.core.7z(new),chrome.core.7z(old))
Chrome.ext.diff=GetDiff(chrome.ext.7z(new),chrome.ext.7z(old))
Wherein, GetDiff is differential file.
3rd, Chrome.core.diff and Chrome.ext.diff are broken into a compressed package diff.7z.
4th, diff.7z is packaged into diff.cab files.
5th, diff.cab files passes to specified location are issued, download address is http://xxx.com/file_
diff.cab。
6th, generation configuration file config.ini.Wherein redaction is 6.3.1.100, and legacy version is 6.2.1.200.
[se6.2.1.200_6.3.1.100.7z]
ver=6.3.1.100
md5=1bdedd0ad00b758fa92b2b9edaa9a120
check=(%fver_old%=="6.2.1.200")
URL=http://xxx.com/diff.cab
The 7th, configuration file config.ini is uploaded to the position specified to issue.
In client-side:
8th, at every fixed time(Such as 6 hours), go to download upgrading configuration config.ini.
9th, item by item check configuration file config.ini, judge browser it is current version number satisfaction (%fver_old%=="
6.2.1.200")。
10th, when version number " 6.2.1.200 " is met, from http://xxx.com/diff.cab downloads diff.cab texts
Part.
11st, decompression diff.cab is diff.7z.
12nd, decompression diff.7z is chrome.core.diff, chrome.ext.diff.
13rd, the infrastructure component and extension element of the browser of redaction are calculated.
Chrome.core.7z(new)=ApplyDiff(chrome.core.7z(old),chrome.core.diff)
Chrome.ext.7z(new)=ApplyDiff(chrome.ext.7z(old),chrome.ext.diff)
Wherein, ApplyDiff is more new file.
14th, decompression new Chrome.core.7z and Chrome.ext.7z obtains the browser of redaction.
The 15th, the browser of redaction is installed.
For whole browser, the difference in size of the 7z bags that one differential file of one installation kit of upgrading and upgrading breaks into
For:
All | 40M |
Diff.7z | 2M |
Reference picture 3, shows a kind of step of the update method embodiment 3 of application program according to an embodiment of the invention
Rapid flow chart, methods described may include steps of:
The renewal differential file of step 301, the first file of generation and the second file;Wherein, first file is first
The composing document of the application program of version, second file is the composing document of the application program of the second edition;
In actual applications, the first file and the second file can be the different editions of same composing document.Specifically,
The composing document can be executable file(Binary file), or non-executable file(Nonbinary file).
In a kind of preferred exemplary of the embodiment of the present invention, the version information of the first version can be higher than described second
The version information of version.
Then in this example, the application program of first version can be the application program of redaction, the application of the second edition
Program can be the application program of legacy version, and application program has carried out the renewal of composing document, can be based only on composing document and enter
Row updates.
In one preferred embodiment of the invention, the step 301 can include following sub-step:
Sub-step S51, the data difference file of the first file and the second file is calculated using difference algorithm Courgette;
It should be noted that binary file can be included in the first file and the second file, it is also possible to enter including non-two
File processed.For binary file, difference algorithm Courgette can first carry out dis-assembling, then be carried out using bsdiff again
The calculating of differential file.For nonbinary file, difference algorithm Courgette directly can carry out difference text using bsdiff
The calculating of part.
For single executable file, generally wherein one or two line code, but this simply all may be have modified when updating
Modification may but cause all of function after the function to be all moved rearwards by fixed length.So using difference algorithm
When Courgette calculates data difference, can first dis-assembling, then only select difference block therein to calculate.
Specifically, inside a binary file, code section is contained(Function, data), point to these functions
Pointer list(Compiling link is produced, contain how the information such as mapping function), because these addresses are internal relative addresses,
Even if having changed a small line code, after recompility, the address of function will change, and point to the pointer value of these functions
All change.Therefore, even if having changed a slight variable, very manifold modification is also resulted in.
The principle of Bsdiff is exactly to carry out dis-assembling to binary file, and two parts described above are located respectively
Reason, it is in fact just similar with common text for code section, change not too large, this partial volume is substantially accounted for
80% or so of whole binary file is removed.Then some renewal treatment are carried out to dynamic pointer part, is just substantially achieved
The target of patch installing.
For non-executable file, basic calculation process is as follows:
Server:
diff=bsdiff(original,update)
transmit diff
For executable file, basic calculation process is as follows:
server:
asm_old=disassemble(original)
asm_new=disassemble(update)
asm_new_adjusted=adjust(asm_new,asm_old)
asm_diff=bsdiff(asm_old,asm_new_adjusted)
transmit asm_diff
Sub-step S52, is that file updates bag by the data difference compressing file;
It is being the further occupancy for reducing network traffics, packing, version updating can be compressed to data differential file
Bag is specifically as follows the compressed package of 7z compressed formats.
Sub-step S53, packet compression is updated to update differential file by the file.
For the ease of issue and the further occupancy for reducing network traffics, the file to be issued is updated packet compression into renewal
Differential file, is specifically as follows CAB file, while being easy to the client can horse back decompression processing.
Step 302, issues the renewal differential file;The renewal differential file includes download address;
The position specified during differential file is uploaded onto the server will be updated to be issued, there is external net one to be downloaded ground
Location.
Step 303, generates configuration file;The configuration file includes the version information of the composing document and the renewal
The download address of differential file;
Configuration file config.ini can have the instruction second edition(Legacy version)Version information and download address it
Outward, there can also be the name information for identifying configuration file, for the check information of security verification, such as MD5
(Message Digest Algorithm, Message Digest Algorithm 5), first version(Redaction)Version information etc.,
The embodiment of the present invention is not any limitation as to this.
Step 304, issues the configuration file.
Issued the position specified during configuration file config.ini is uploaded onto the server so that client can be following
Configuration file config.ini is carried to be updated.
It should be noted that the application program of preceding latest edition can be one, but client is possible without every
Can be all updated after the version updating of secondary application program, therefore the application version of client there may be multiple, then enter
The renewal differential file that row updates can be multiple, and configuration file can include legacy version for one, i.e. configuration file
Application program(Can be part, or all)Version information, and, the download address of corresponding more new file.When
So, configuration file can also be multiple, i.e., one configuration file only include a version information for the application program of legacy version with
And the download address of corresponding more new file.
Reference picture 4, shows a kind of step of the update method embodiment 4 of application program according to an embodiment of the invention
Rapid flow chart, methods described may include steps of:
Step 401, configuration file is obtained from server side;The version information of the configuration file including composing document and more
The download address of new differential file;
Using the embodiment of the present invention, client(It can be application program)Can be in the default time(Such as every morning 6
Point, on every Saturdays 6 points etc.), it is also possible to it is spaced the default time period(Such as every 6 hours, 8 hours etc.)Actively from server
Download configuration file.
Server can also be actively in the default time(For example 6 points of every morning, on every Saturdays 6 points etc.), or
Every the default time period(Such as every 6 hours, 8 hours etc.)Actively to client push configuration file.
Server actively can also gather version information after application program update from client, should to client push
Version information is updated corresponding configuration file.Client is obtained to ensure the right of privacy and right to know of user in server
The version information of the application program in the client can be gathered after to mandate.It is possible to further first check the client
Whether user adds specified plan, if it is, confirming version information of the client user to the application program of server
Collection is authorized, and server can continue executing with collecting flowchart, if the user of the client does not add executive plan,
Then confirm that version information collection of the client user not to the application program of server end is authorized, server end cannot
Obtain the version information of the application program in the client.
Step 402, when the version information of the 3rd preset file is the version information of the composing document, under described
Set address downloads the renewal differential file;
Client can item by item check the information in configuration file config.ini, when version information and the configuration of client
When the version information of the second edition in file config.ini is identical, accesses corresponding download address and downloaded more from server
New differential file.
Step 403, using the 3rd file and renewal differential file generation more new file;
In one preferred embodiment of the invention, the 3rd file can be corresponding same with renewal differential file
Individual composing document.3rd file can be the more new file left after updating the client last time, can also be that client is worked as
The preceding composing document for using.
In one preferred embodiment of the invention, the step 403 can include following sub-step:
Sub-step S61, decompresses the renewal differential file, obtains file and updates bag;
When it is CAB file to update differential file, can using Extract.exe, WinZip, WinRAR or
WinMount is decompressed to it.
Sub-step S62, decompresses the file and updates bag, obtains data difference file;
Further decompressed when to version updating bag, data difference file can be obtained.When version updating bag can be pressed for 7z
During the compressed package of contracting form, can be decompressed using corresponding decompression algorithm.
Sub-step S63, using difference algorithm Courgette by the 3rd file and the data difference file generated more
New file.
In implementing, the combination of the file of data the 3rd and differential file renewal bag can be carried out by below scheme.
For non-executable file, basic calculation process is as follows:
Client:
receive diff
update=bspatch(original,diff)
For executable file, basic calculation process is as follows:
Client:
receive asm_diff
asm_old=disassemble(original)
asm_new_adjusted=bspatch(asm_old,asm_diff)
update=assemble(asm_new_adjusted)
Step 404, more new file replaces the 3rd file by described in.
Complete to update by the more new file for generating is replaced into the 3rd file that current application program is used.
Data difference of the present invention between the composing document that server calculates the application program of redaction and legacy version
Make and update differential file, and make configuration file and issued, client downloads configuration file checks whether that satisfaction updates bar
Part, when meeting, ability down loading updating differential file is updated, and prevents client blindness access server from asking more new demand servicing, subtracts
Lack the response times of server, reduce the resource cost of server, meanwhile, the renewal difference text made using data difference
Part is greatly reduced compared to the volume of complete composing document new data packets, greatly reduces network bandwidth resources, is improve down
The success rate of load, improves the success rate of renewal.
Those skilled in the art more fully understand the present invention for convenience, below by way of composing document for browser
Update the application program update process that example illustrates further the embodiment of the present invention:
In server side:
1st, the differential file of the composing document of the browser of redaction and legacy version is calculated
file.diff=GetDiff(file(new),file(old))
Wherein, GetDiff is differential file.
2nd, file.diff breaks into compressed package file_diff.7z.
3rd, fille_diff.7z is packaged into file_diff.cab.
4th, file_diff.cab files passes to specified location are issued, download address is http://xxx.com/
file_diff.cab。
5th, generation configuration file config.ini.Wherein redaction is 6.3.1.100, and legacy version is 6.2.1.200.
[file_diff.cab]
ver=6.3.1.100
md5=1bdedd0ad00b758fa92b2b9edaa9a123
check=(%fver_file%=="6.2.1.200")
URL=http://xxx.com/file_diff.cab
The 6th, configuration file config.ini is uploaded to the position specified to issue.
In client-side:
7th, at every fixed time(Such as 6 hours), go to download upgrading configuration config.ini.
8th, item by item check configuration file config.ini, judge browser it is current version number satisfaction (%fver_old%=="
6.2.1.200")。
9th, when version number " 6.2.1.200 " is met, from http://xxx.com/file_diff.cab downloads file_
Diff.cab files.
10th, decompression file_diff.cab is file_diff.7z.
11st, decompression file_diff.7z is file.diff
12nd, the composing document of the browser of redaction is calculated.
file(new)=ApplyDiff(file(old),file.diff)
Wherein, ApplyDiff is more new file.
The 13rd, more new file is replaced the composing document of current browser.
For a composing document of whole browser, one differential file packing of whole composing document and upgrading of upgrading
The difference in size of 7z bags is
All | 1.5M |
File_diff.7z | 136K |
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but this area
Technical staff should know that the present invention is not limited by described sequence of movement, because according to the present invention, some steps can
Sequentially or simultaneously carried out with using other.Secondly, those skilled in the art should also know, implementation described in this description
Example belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
Reference picture 5, shows a kind of knot of the updating device embodiment 1 of application program according to an embodiment of the invention
Structure block diagram, described device can include such as lower module:
First acquisition module 501, be suitable to the application program for obtaining first version respectively one or more first files and
One or more second files of the application program of the second edition;
First generation module 502, be suitable to one or more of first files of generation with it is corresponding one or more second
The renewal differential file of file;
First release module 503, is suitable to issue the renewal differential file;The renewal differential file includes downloading ground
Location;
Second generation module 504, is suitable to generate configuration file;The configuration file includes that the version of the second edition is believed
The download address of breath and the renewal differential file;
Second release module 505, is suitable to issue the configuration file.
In one preferred embodiment of the invention, one or more of first files can be by All Files according to
One or more first files of the structure category packing generation of the application program of the first version;
One or more of second files can be according to structure by All Files according to the application program of the second edition
One or more second files of catalogue packing generation;
The version information of the first version can be higher than the version information of the second edition.
In one preferred embodiment of the invention, one or more of first files can include first foundation component
File and/or the first extension element file;
One or more of first files can be generated in the following manner:
The infrastructure component of the application program of first version is packaged as first foundation component file according to structure category;
The extension element of the application program of first version is packaged as the first extension element file according to structure category.
In one preferred embodiment of the invention, one or more of second files can include the second infrastructure component
File and/or the second extension element file;
One or more of second files can be generated in the following manner:
The infrastructure component of the application program of the second edition is packaged as the second infrastructure component file according to structure category;
The extension element of the application program of the second edition is packaged as the second extension element file according to structure category.
In one preferred embodiment of the invention, first generation module can be adapted to:
The first foundation component file and the second infrastructure component file are calculated using difference algorithm Courgette
Infrastructure component differential file;
The first extension element file and the second extension element file are calculated using difference algorithm Courgette
Extension element differential file;
By the infrastructure component differential file and/or the extension element differential file boil down to version updating bag;
It is renewal differential file by the version updating packet compression.
For the device embodiment of Fig. 5, because it is substantially similar to the embodiment of the method for Fig. 1, so the ratio of description
Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Reference picture 6, shows a kind of knot of the updating device embodiment 2 of application program according to an embodiment of the invention
Structure block diagram, described device can include such as lower module:
Second acquisition module 601, is suitable to obtain configuration file from server side;The configuration file includes the second edition
The download address of version information and renewal differential file;
First download module 602, when the version information being suitable in client is the version information of the second edition, from institute
State download address and download the renewal differential file;
3rd generation module 603, is suitable for use with the file of one or more preset 3rd and renewal differential file life
Into more new file;
Decompression module 604, is suitable to decompress the more new file;
Module 605 is installed, is suitable to the more new file after decompression is installed.
In one preferred embodiment of the invention, one or more of 3rd files can include the 3rd infrastructure component
File and/or the 3rd extension element file;The more new file can include that infrastructure component updates bag and/or extension element updates
Bag;The more new file can include that infrastructure component updates bag and/or extension element updates bag;
3rd generation module can be adapted to:
The renewal differential file is decompressed, version updating bag is obtained;
The version updating bag is decompressed, infrastructure component differential file and/or extension element differential file is obtained;
The 3rd infrastructure component file and the infrastructure component differential file are generated using difference algorithm Courgette
Infrastructure component updates bag;
The 3rd extension element file and the extension element differential file are generated using difference algorithm Courgette
Extension element updates bag.
For the device embodiment of Fig. 6, because it is substantially similar to the embodiment of the method for Fig. 2, so the ratio of description
Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Reference picture 7, shows a kind of knot of the updating device embodiment 3 of application program according to an embodiment of the invention
Structure block diagram, described device can include such as lower module:
4th generation module 701, is suitable to generate the renewal differential file of the first file and the second file;Wherein, described
One file can be the composing document of the application program of first version, and second file can be the application program of the second edition
Composing document;
3rd release module 702, is suitable to issue the renewal differential file;The renewal differential file includes downloading ground
Location;
5th generation module 703, is suitable to generate configuration file;The configuration file includes that the version of the composing document is believed
The download address of breath and the renewal differential file;
4th release module 704, is suitable to issue the configuration file.
In one preferred embodiment of the invention, the version information of the first version can be higher than the second edition
Version information.
In one preferred embodiment of the invention, the 4th generation module can be adapted to:
The data difference file of the first file and the second file is calculated using difference algorithm Courgette;
It is that file updates bag by the data difference compressing file;
The file is updated into packet compression to update differential file.
For the device embodiment of Fig. 7, because it is substantially similar to the embodiment of the method for Fig. 3, so the ratio of description
Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Reference picture 8, shows a kind of knot of the updating device embodiment 4 of application program according to an embodiment of the invention
Structure block diagram, described device can include such as lower module:
3rd acquisition module 801, is suitable to obtain configuration file from server side;The configuration file includes composing document
The download address of version information and renewal differential file;
Second download module 802, the version information being suitable in the 3rd preset file is the version letter of the composing document
During breath, the renewal differential file is downloaded from the download address;
6th generation module 803, is suitable for use with the 3rd file and renewal differential file generation more new file;
Replacement module 804, is suitable to for the more new file to replace the 3rd file.
In one preferred embodiment of the invention, the 6th generation module can be adapted to:
The renewal differential file is decompressed, file is obtained and is updated bag;
Decompress the file and update bag, obtain data difference file;
Using difference algorithm Courgette by the 3rd file and the data difference file generated more new file.
For the device embodiment of Fig. 8, because it is substantially similar to the embodiment of the method for Fig. 4, so the ratio of description
Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.Additionally, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this hair
Bright preferred forms.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist
Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself
All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any
Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power
Profit requires, makes a summary and accompanying drawing)Disclosed in each feature can carry out generation by the alternative features for providing identical, equivalent or similar purpose
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection is appointed
One of meaning mode can be used in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor(DSP)Come in the more new equipment for realizing application program according to embodiments of the present invention
The some or all functions of some or all parts.The present invention is also implemented as performing method as described herein
Some or all equipment or program of device(For example, computer program and computer program product).Such reality
Existing program of the invention can be stored on a computer-readable medium, or can have the form of one or more signal.
Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or in any other form
There is provided.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing 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.These words can be explained and run after fame
Claim.
Embodiment of the invention discloses that A1, a kind of update method of application program, including:
One or more first files and the application program of the second edition of the application program of first version are obtained respectively
One or more second files;
Generate the renewal differential file of one or more of first files and corresponding one or more the second files;
Issue the renewal differential file;The renewal differential file includes download address;
Generation configuration file;The configuration file includes the version information and the renewal differential file of the second edition
Download address;
Issue the configuration file.
A2, the method as described in A1, one or more of first files are according to the first version by All Files
Application program structure category packing generation one or more first files;
One or more of second files are according to structure category by All Files according to the application program of the second edition
One or more second files of packing generation;
Version information of the version information of the first version higher than the second edition.
A3, the method as described in A1, one or more of first files include first foundation component file and/or first
Extension element file;
One or more of first files are generated in the following manner:
The infrastructure component of the application program of first version is packaged as first foundation component file according to structure category;
The extension element of the application program of first version is packaged as the first extension element file according to structure category.
A4, the method as described in A3, one or more of second files include the second infrastructure component file and/or second
Extension element file;
One or more of second files are generated in the following manner:
The infrastructure component of the application program of the second edition is packaged as the second infrastructure component file according to structure category;
The extension element of the application program of the second edition is packaged as the second extension element file according to structure category.
A5, the method as described in A4, one or more of first files of generation with it is corresponding one or more
The step of differential file of two files, includes:
The first foundation component file and the second infrastructure component file are calculated using difference algorithm Courgette
Infrastructure component differential file;
The first extension element file and the second extension element file are calculated using difference algorithm Courgette
Extension element differential file;
By the infrastructure component differential file and/or the extension element differential file boil down to version updating bag;
It is renewal differential file by the version updating packet compression.
Embodiments of the invention also disclose B6, a kind of update method of application program, including:
Configuration file is obtained from server side;The configuration file includes the version information of the second edition and updates difference text
The download address of part;
When the version information that the version information of client is the second edition, from the download address download described in more
New differential file;
Using the file of one or more preset 3rd and renewal differential file generation more new file;
The more new file is decompressed;
More new file after decompression is installed.
B7, the method as described in B6, one or more of 3rd files include the 3rd infrastructure component file and/or the 3rd
Extension element file;The more new file includes that infrastructure component updates bag and/or extension element updates bag;The more new file bag
Include infrastructure component and update bag and/or extension element renewal bag;
The step of one or more preset the 3rd files of the use and renewal differential file generation more new file
Including:
The renewal differential file is decompressed, version updating bag is obtained;
The version updating bag is decompressed, infrastructure component differential file and/or extension element differential file is obtained;
The 3rd infrastructure component file and the infrastructure component differential file are generated using difference algorithm Courgette
Infrastructure component updates bag;
The 3rd extension element file and the extension element differential file are generated using difference algorithm Courgette
Extension element updates bag.
Embodiments of the invention also disclose C8, a kind of update method of application program, including:
Generate the renewal differential file of the first file and the second file;Wherein, first file answering for first version
With the composing document of program, second file is the composing document of the application program of the second edition;
Issue the renewal differential file;The renewal differential file includes download address;
Generation configuration file;The configuration file includes the version information and the renewal differential file of the composing document
Download address;
Issue the configuration file.
C9, the method as described in C8, the version information of the version information higher than the second edition of the first version.
The step of renewal differential file of C10, the method as described in C8, the file of the generation first and the second file, wraps
Include:
The data difference file of the first file and the second file is calculated using difference algorithm Courgette;
It is that file updates bag by the data difference compressing file;
The file is updated into packet compression to update differential file.
Embodiments of the invention also disclose D11, a kind of update method of application program, including:
Configuration file is obtained from server side;The configuration file includes the version information of composing document and updates difference text
The download address of part;
When the version information of the 3rd preset file is the version information of the composing document, under the download address
Carry the renewal differential file;
Using the 3rd file and renewal differential file generation more new file;
More new file replaces the 3rd file by described in.
D12, the method as described in D11, it is described that text is updated using the 3rd file and renewal differential file generation
The step of part, includes:
The renewal differential file is decompressed, file is obtained and is updated bag;
Decompress the file and update bag, obtain data difference file;
Using difference algorithm Courgette by the 3rd file and the data difference file generated more new file.
Embodiments of the invention also disclose E13, a kind of updating device of application program, including:
First acquisition module, is suitable to one or more first files and second for the application program for obtaining first version respectively
One or more second files of the application program of version;
First generation module, is suitable to one or more of first files of generation and corresponding one or more second files
Renewal differential file;
First release module, is suitable to issue the renewal differential file;The renewal differential file includes download address;
Second generation module, is suitable to generate configuration file;The configuration file includes the version information of the second edition
With the download address of the renewal differential file;
Second release module, is suitable to issue the configuration file.
E14, the device as described in E13, one or more of first files are according to the first edition by All Files
One or more first files of the structure category packing generation of this application program;
One or more of second files are according to structure category by All Files according to the application program of the second edition
One or more second files of packing generation;
Version information of the version information of the first version higher than the second edition.
E15, the device as described in E13, one or more of first files include first foundation component file and/or the
One extension element file;
One or more of first files are generated in the following manner:
The infrastructure component of the application program of first version is packaged as first foundation component file according to structure category;
The extension element of the application program of first version is packaged as the first extension element file according to structure category.
E16, the device as described in E15, one or more of second files include the second infrastructure component file and/or the
Two extension element files;
One or more of second files are generated in the following manner:
The infrastructure component of the application program of the second edition is packaged as the second infrastructure component file according to structure category;
The extension element of the application program of the second edition is packaged as the second extension element file according to structure category.
E17, the device as described in E16, first generation module are further adapted for:
The first foundation component file and the second infrastructure component file are calculated using difference algorithm Courgette
Infrastructure component differential file;
The first extension element file and the second extension element file are calculated using difference algorithm Courgette
Extension element differential file;
By the infrastructure component differential file and/or the extension element differential file boil down to version updating bag;
It is renewal differential file by the version updating packet compression.
Embodiments of the invention also disclose F18, a kind of updating device of application program, including:
Second acquisition module, is suitable to obtain configuration file from server side;The configuration file includes the version of the second edition
The download address of this information and renewal differential file;
First download module, when the version information being suitable in client is the version information of the second edition, from described
Download address downloads the renewal differential file;
3rd generation module, is suitable for use with the file of one or more preset 3rd and renewal differential file generation more
New file;
Decompression module, is suitable to decompress the more new file;
Module is installed, is suitable to the more new file after decompression is installed.
F19, the device as described in F18, one or more of 3rd files include the 3rd infrastructure component file and/or the
Three extension element files;The more new file includes that infrastructure component updates bag and/or extension element updates bag;The more new file
Bag is updated including infrastructure component and/or extension element updates bag;
3rd generation module is further adapted for:
The renewal differential file is decompressed, version updating bag is obtained;
The version updating bag is decompressed, infrastructure component differential file and/or extension element differential file is obtained;
The 3rd infrastructure component file and the infrastructure component differential file are generated using difference algorithm Courgette
Infrastructure component updates bag;
The 3rd extension element file and the extension element differential file are generated using difference algorithm Courgette
Extension element updates bag.
Embodiments of the invention also disclose G20, a kind of updating device of application program, including:
4th generation module, is suitable to generate the renewal differential file of the first file and the second file;Wherein, first text
Part is the composing document of the application program of first version, and second file is the composing document of the application program of the second edition;
3rd release module, is suitable to issue the renewal differential file;The renewal differential file includes download address;
5th generation module, is suitable to generate configuration file;The configuration file includes the version information of the composing document
With the download address of the renewal differential file;
4th release module, is suitable to issue the configuration file.
G21, the device as described in G20, the version information of the version information higher than the second edition of the first version.
G22, the device as described in G20, the 4th generation module are further adapted for:
The data difference file of the first file and the second file is calculated using difference algorithm Courgette;
It is that file updates bag by the data difference compressing file;
The file is updated into packet compression to update differential file.
Embodiments of the invention also disclose H23, a kind of updating device of application program, including:
3rd acquisition module, is suitable to obtain configuration file from server side;The configuration file includes the version of composing document
The download address of this information and renewal differential file;
Second download module, the version information being suitable in the 3rd preset file is the version information of the composing document
When, download the renewal differential file from the download address;
6th generation module, is suitable for use with the 3rd file and renewal differential file generation more new file;
Replacement module, is suitable to for the more new file to replace the 3rd file.
H24, the device as described in H23, the 6th generation module are further adapted for:
The renewal differential file is decompressed, file is obtained and is updated bag;
Decompress the file and update bag, obtain data difference file;
Using difference algorithm Courgette by the 3rd file and the data difference file generated more new file.
Claims (24)
1. a kind of update method of application program, including:
One of one or more first files of the application program of first version and the application program of the second edition is obtained respectively
Or multiple second files;
Generate the renewal differential file of one or more of first files and corresponding one or more the second files;
Issue the renewal differential file;The renewal differential file includes download address;
Generation configuration file;The configuration file is included under the version information and the renewal differential file of the second edition
Set address;
Issue the configuration file;Wherein, the 3rd file is carried out in client dual-thread to be obtained with the combination for updating differential file
More new file, described in after the more new file is installed, preserved in client more new file as the 3rd file, in case under
Secondary renewal.
2. the method for claim 1, it is characterised in that one or more of first files be by All Files according to
One or more first files of the structure category packing generation of the application program of the first version;
One or more of second files are that All Files is packed according to the application program of the second edition according to structure category
One or more second files of generation;
Version information of the version information of the first version higher than the second edition.
3. the method for claim 1, it is characterised in that one or more of first files include first foundation component
File and/or the first extension element file;
One or more of first files are generated in the following manner:
The infrastructure component of the application program of first version is packaged as first foundation component file according to structure category;
The extension element of the application program of first version is packaged as the first extension element file according to structure category.
4. method as claimed in claim 3, it is characterised in that one or more of second files include the second infrastructure component
File and/or the second extension element file;
One or more of second files are generated in the following manner:
The infrastructure component of the application program of the second edition is packaged as the second infrastructure component file according to structure category;
The extension element of the application program of the second edition is packaged as the second extension element file according to structure category.
5. method as claimed in claim 4, it is characterised in that one or more of first files of generation with it is corresponding
The step of differential file of one or more the second files, includes:
The basis of the first foundation component file and the second infrastructure component file is calculated using difference algorithm Courgette
Component differences file;
The extension of the first extension element file and the second extension element file is calculated using difference algorithm Courgette
Component differences file;
By the infrastructure component differential file and/or the extension element differential file boil down to version updating bag;
It is renewal differential file by the version updating packet compression.
6. a kind of update method of application program, including:
Configuration file is obtained from server side;The configuration file includes the version information of the second edition and updates differential file
Download address;
When the version information that the version information of client is the second edition, the renewal is downloaded from the download address poor
Different article part;
Using the file of one or more preset 3rd and renewal differential file generation more new file;
The more new file is decompressed;
More new file after decompression is installed;Wherein, carry out the 3rd file in client dual-thread and update the combination of differential file
Obtain more new file, described in after the more new file is installed, preserved in client more new file as the 3rd file, with
Standby next update.
7. method as claimed in claim 6, it is characterised in that one or more of 3rd files include the 3rd infrastructure component
File and/or the 3rd extension element file;The more new file includes that infrastructure component updates bag and/or extension element updates bag;
The more new file includes that infrastructure component updates bag and/or extension element updates bag;
The step of one or more preset the 3rd files of the use and renewal differential file generation more new file, includes:
The renewal differential file is decompressed, version updating bag is obtained;
The version updating bag is decompressed, infrastructure component differential file and/or extension element differential file is obtained;
It is using difference algorithm Courgette that the 3rd infrastructure component file and infrastructure component differential file generation is basic
Component updates bag;
The 3rd extension element file and extension element differential file generation are extended using difference algorithm Courgette
Component updates bag.
8. a kind of update method of application program, including:
Generate the renewal differential file of the first file and the second file;Wherein, first file is the application journey of first version
The composing document of sequence, second file is the composing document of the application program of the second edition;
Issue the renewal differential file;The renewal differential file includes download address;
Generation configuration file;The configuration file is included under the version information and the renewal differential file of the composing document
Set address;
Issue the configuration file;Wherein, the 3rd file is carried out in client dual-thread to be obtained with the combination for updating differential file
More new file, described in after the more new file is installed, preserved in client more new file as the 3rd file, in case under
Secondary renewal.
9. method as claimed in claim 8, it is characterised in that the version information of the first version is higher than the second edition
Version information.
10. method as claimed in claim 8, it is characterised in that the renewal difference of the file of the generation first and the second file
The step of file, includes:
The data difference file of the first file and the second file is calculated using difference algorithm Courgette;
It is that file updates bag by the data difference compressing file;
The file is updated into packet compression to update differential file.
A kind of 11. update methods of application program, including:
Configuration file is obtained from server side;The configuration file includes the version information of composing document and updates differential file
Download address;
When the version information of the 3rd preset file is the version information of the composing document, institute is downloaded from the download address
State renewal differential file;
Using the 3rd file and renewal differential file generation more new file;
More new file replaces the 3rd file by described in;Wherein, carry out the 3rd file in client dual-thread and update difference
The combination of file obtains more new file, the more new file conduct described in after the more new file is installed, preserved in client
3rd file, in case next update.
12. methods as claimed in claim 11, it is characterised in that described literary using the 3rd file and the renewal difference
The step of part generation more new file, includes:
The renewal differential file is decompressed, file is obtained and is updated bag;
Decompress the file and update bag, obtain data difference file;
Using difference algorithm Courgette by the 3rd file and the data difference file generated more new file.
A kind of 13. updating devices of application program, including:
First acquisition module, is suitable to one or more first files for the application program for obtaining first version respectively and the second edition
Application program one or more second files;
First generation module, is suitable to one or more of first files of generation and corresponding one or more second files more
New differential file;
First release module, is suitable to issue the renewal differential file;The renewal differential file includes download address;
Second generation module, is suitable to generate configuration file;The configuration file includes version information and the institute of the second edition
State the download address for updating differential file;
Second release module, is suitable to issue the configuration file;Wherein, carry out the 3rd file in client dual-thread and update poor
The combination of different article part obtains more new file, when in client, after the more new file is installed, more new file is made described in preservation
It is the 3rd file, in case next update.
14. devices as claimed in claim 13, it is characterised in that one or more of first files be by All Files by
According to one or more first files of the structure category packing generation of the application program of the first version;
One or more of second files are that All Files is packed according to the application program of the second edition according to structure category
One or more second files of generation;
Version information of the version information of the first version higher than the second edition.
15. devices as claimed in claim 13, it is characterised in that one or more of first files include first foundation group
Part file and/or the first extension element file;
One or more of first files are generated in the following manner:
The infrastructure component of the application program of first version is packaged as first foundation component file according to structure category;
The extension element of the application program of first version is packaged as the first extension element file according to structure category.
16. devices as claimed in claim 15, it is characterised in that one or more of second files include the second base set
Part file and/or the second extension element file;
One or more of second files are generated in the following manner:
The infrastructure component of the application program of the second edition is packaged as the second infrastructure component file according to structure category;
The extension element of the application program of the second edition is packaged as the second extension element file according to structure category.
17. devices as claimed in claim 16, it is characterised in that first generation module is further adapted for:
The basis of the first foundation component file and the second infrastructure component file is calculated using difference algorithm Courgette
Component differences file;
The extension of the first extension element file and the second extension element file is calculated using difference algorithm Courgette
Component differences file;
By the infrastructure component differential file and/or the extension element differential file boil down to version updating bag;
It is renewal differential file by the version updating packet compression.
A kind of 18. updating devices of application program, including:
Second acquisition module, is suitable to obtain configuration file from server side;The configuration file includes that the version of the second edition is believed
The download address of breath and renewal differential file;
First download module, when the version information being suitable in client is the version information of the second edition, from the download
Download the renewal differential file in address;
3rd generation module, is suitable for use with the file of one or more preset 3rd and renewal differential file generation updates text
Part;
Decompression module, is suitable to decompress the more new file;
Module is installed, is suitable to the more new file after decompression is installed;Wherein, carry out the 3rd file in client dual-thread and update poor
The combination of different article part obtains more new file, when in client, after the more new file is installed, more new file is made described in preservation
It is the 3rd file, in case next update.
19. devices as claimed in claim 18, it is characterised in that one or more of 3rd files include the 3rd base set
Part file and/or the 3rd extension element file;The more new file includes that infrastructure component updates bag and/or extension element updates
Bag;The more new file includes that infrastructure component updates bag and/or extension element updates bag;
3rd generation module is further adapted for:
The renewal differential file is decompressed, version updating bag is obtained;
The version updating bag is decompressed, infrastructure component differential file and/or extension element differential file is obtained;
It is using difference algorithm Courgette that the 3rd infrastructure component file and infrastructure component differential file generation is basic
Component updates bag;
The 3rd extension element file and extension element differential file generation are extended using difference algorithm Courgette
Component updates bag.
A kind of 20. updating devices of application program, including:
4th generation module, is suitable to generate the renewal differential file of the first file and the second file;Wherein, first file is
The composing document of the application program of first version, second file is the composing document of the application program of the second edition;
3rd release module, is suitable to issue the renewal differential file;The renewal differential file includes download address;
5th generation module, is suitable to generate configuration file;The configuration file includes version information and the institute of the composing document
State the download address for updating differential file;
4th release module, is suitable to issue the configuration file;Wherein, carry out the 3rd file in client dual-thread and update poor
The combination of different article part obtains more new file, when in client, after the more new file is installed, more new file is made described in preservation
It is the 3rd file, in case next update.
21. devices as claimed in claim 20, it is characterised in that the version information of the first version is higher than the second edition
This version information.
22. devices as claimed in claim 20, it is characterised in that the 4th generation module is further adapted for:
The data difference file of the first file and the second file is calculated using difference algorithm Courgette;
It is that file updates bag by the data difference compressing file;
The file is updated into packet compression to update differential file.
A kind of 23. updating devices of application program, including:
3rd acquisition module, is suitable to obtain configuration file from server side;The configuration file includes that the version of composing document is believed
The download address of breath and renewal differential file;
Second download module, is suitable to when the version information of the 3rd preset file is the version information of the composing document, from
The download address downloads the renewal differential file;
6th generation module, is suitable for use with the 3rd file and renewal differential file generation more new file;
Replacement module, is suitable to for the more new file to replace the 3rd file;Wherein, the 3rd text is carried out in client dual-thread
Part obtains more new file with the combination for updating differential file, described in after the more new file is installed, being preserved in client
More new file as the 3rd file, in case next update.
24. devices as claimed in claim 23, it is characterised in that the 6th generation module is further adapted for:
The renewal differential file is decompressed, file is obtained and is updated bag;
Decompress the file and update bag, obtain data difference file;
Using difference algorithm Courgette by the 3rd file and the data difference file generated more new file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310714581.0A CN103699410B (en) | 2013-12-20 | 2013-12-20 | Method and device for updating application programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310714581.0A CN103699410B (en) | 2013-12-20 | 2013-12-20 | Method and device for updating application programs |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103699410A CN103699410A (en) | 2014-04-02 |
CN103699410B true CN103699410B (en) | 2017-05-24 |
Family
ID=50360949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310714581.0A Active CN103699410B (en) | 2013-12-20 | 2013-12-20 | Method and device for updating application programs |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103699410B (en) |
Families Citing this family (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104965720B (en) * | 2014-07-03 | 2018-10-19 | 腾讯科技(深圳)有限公司 | Using installation method and device |
CN104199666B (en) * | 2014-09-09 | 2018-05-29 | 北京京东尚科信息技术有限公司 | A kind of application program Dynamic Configuration and device |
CN104391728B (en) * | 2014-12-12 | 2018-01-16 | 北京奇虎科技有限公司 | Software upgrading difference packet acquisition methods and corresponding upgrade method and device |
CN106155651B (en) * | 2015-03-31 | 2019-03-01 | 广州四三九九信息科技有限公司 | The automation publication of application version and the method and system of update |
CN106886433A (en) * | 2015-12-16 | 2017-06-23 | 阿里巴巴集团控股有限公司 | The update method and device of client software |
CN105739971B (en) * | 2016-01-20 | 2019-03-08 | 网易(杭州)网络有限公司 | Verify generation, application method and the device of file |
CN107368290A (en) * | 2016-05-12 | 2017-11-21 | 阿里巴巴集团控股有限公司 | Determine incremental data method and device, updated data package method, apparatus and system |
CN107643920A (en) * | 2016-07-20 | 2018-01-30 | 平安科技(深圳)有限公司 | Application software update method and device |
CN106210131A (en) * | 2016-08-19 | 2016-12-07 | 重庆戴普思科技有限公司 | A kind of car networking CAN collecting method |
CN106775802B (en) * | 2016-11-14 | 2023-04-28 | 福建天泉教育科技有限公司 | Method and system for quickly updating mass small files |
CN106775827B (en) * | 2016-11-25 | 2020-05-12 | Oppo广东移动通信有限公司 | Application program updating method and device and computer equipment |
CN106708581A (en) * | 2016-12-27 | 2017-05-24 | 北京奇虎科技有限公司 | Application update package generation method and device and application update method and device |
CN108664255B (en) * | 2017-03-27 | 2023-04-11 | 深圳市中兴通讯技术服务有限责任公司 | Software upgrading method and device |
CN107124446A (en) * | 2017-04-01 | 2017-09-01 | 北京五八信息技术有限公司 | Application program method for down loading, server and terminal |
CN107239299B (en) * | 2017-04-28 | 2020-07-17 | 北京五八信息技术有限公司 | Plug-in upgrading method and device |
CN109672534B (en) * | 2017-10-16 | 2021-08-20 | 腾讯科技(深圳)有限公司 | Network resource processing method and device, storage medium and electronic device |
CN107831721A (en) * | 2017-10-24 | 2018-03-23 | 北京天地玛珂电液控制系统有限公司 | A kind of director demon update device and method |
CN109766131B (en) * | 2017-11-06 | 2022-04-01 | 上海宝信软件股份有限公司 | System and method for realizing intelligent automatic software upgrading based on multithreading technology |
CN108197020A (en) * | 2017-12-28 | 2018-06-22 | 掌阅科技股份有限公司 | Plug-in unit method of calibration, electronic equipment and computer storage media |
CN108710500A (en) * | 2018-05-23 | 2018-10-26 | 北京五八信息技术有限公司 | Resource issuing method, update method and device |
CN109298881A (en) * | 2018-08-30 | 2019-02-01 | 百度在线网络技术(北京)有限公司 | Automatic packaging data method, device, equipment and computer readable storage medium |
CN109375932B (en) * | 2018-09-18 | 2022-03-01 | 广州虎牙信息科技有限公司 | APP hot repair script construction method, device, terminal and storage medium |
CN109308189A (en) * | 2018-09-27 | 2019-02-05 | 珠海市君天电子科技有限公司 | A kind of configuration file update method, device and electronic equipment |
CN109309725B (en) * | 2018-10-25 | 2021-10-08 | 深圳市腾讯信息技术有限公司 | Application downloading and updating method and device, computer equipment and storage medium |
CN109739551A (en) * | 2018-12-29 | 2019-05-10 | 上海连尚网络科技有限公司 | Application issued system, method and device calculate equipment and storage medium |
CN110764815A (en) * | 2019-09-26 | 2020-02-07 | 北京网聘咨询有限公司 | Web API project issuing method and device |
CN111240767A (en) * | 2020-02-04 | 2020-06-05 | 北京字节跳动网络技术有限公司 | Component and page loading method and device, electronic equipment and storage medium |
CN112579072A (en) * | 2020-12-21 | 2021-03-30 | 深圳市欢太科技有限公司 | Browser packaging method and device, storage medium and terminal |
CN112799702A (en) * | 2021-02-01 | 2021-05-14 | 北京百家科技集团有限公司 | Software online upgrading method, related equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009259124A (en) * | 2008-04-18 | 2009-11-05 | Nippon Telegr & Teleph Corp <Ntt> | System and method for providing application update information |
WO2012155412A1 (en) * | 2011-07-20 | 2012-11-22 | 中兴通讯股份有限公司 | Firmware updating method and system under android system |
CN102799445A (en) * | 2012-05-03 | 2012-11-28 | 陈昊 | Application upgrading method based on Android platform and system |
-
2013
- 2013-12-20 CN CN201310714581.0A patent/CN103699410B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009259124A (en) * | 2008-04-18 | 2009-11-05 | Nippon Telegr & Teleph Corp <Ntt> | System and method for providing application update information |
WO2012155412A1 (en) * | 2011-07-20 | 2012-11-22 | 中兴通讯股份有限公司 | Firmware updating method and system under android system |
CN102799445A (en) * | 2012-05-03 | 2012-11-28 | 陈昊 | Application upgrading method based on Android platform and system |
Also Published As
Publication number | Publication date |
---|---|
CN103699410A (en) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103699410B (en) | Method and device for updating application programs | |
US10831858B2 (en) | Mobile enablement of existing web sites | |
US9361345B2 (en) | Method and system for automated analysis and transformation of web pages | |
US10942922B2 (en) | Generation of data flow from syntax tree | |
US8700803B2 (en) | Web page optimization | |
US20110219357A1 (en) | Compressing source code written in a scripting language | |
CN104731589A (en) | Automatic generation method and device of user interface (UI) | |
CN111209004A (en) | Code conversion method and device | |
US20140281863A1 (en) | Enhanced mobilization of existing web sites | |
CN102981848B (en) | Webpage main body element process browser and method | |
CN102981844B (en) | The browser that webpage main body element is processed and method | |
CN104636400A (en) | Browser webpage generating method, browser and system | |
CN106776314A (en) | A kind of test system | |
CN112799663A (en) | Page display method and device, computer readable storage medium and electronic equipment | |
CN103823841A (en) | Method and device for increasing browsing speed for mobile terminal client | |
CN108885544B (en) | Front-end page internationalized processing method, application server and computer-readable storage medium | |
CN109145236A (en) | Page file processing method, apparatus and system | |
US20120124462A1 (en) | Web Application Optimization | |
CN101727505B (en) | Efficient data processing method and device | |
US20120124555A1 (en) | Optimization of Compiled Control Objects | |
CN103139298B (en) | Method for transmitting network data and device | |
CN103458037A (en) | Method and device for providing complex web applications in resource-constrained environment | |
CN104361004B (en) | The processing method and browser of browser collection folder data | |
US11392663B2 (en) | Response based on browser engine | |
CN112947900B (en) | Web application development method and device, server and development terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220725 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |