CN103713928B - Incremental file generating method, and application program installing file updating method and device - Google Patents

Incremental file generating method, and application program installing file updating method and device Download PDF

Info

Publication number
CN103713928B
CN103713928B CN201310749085.9A CN201310749085A CN103713928B CN 103713928 B CN103713928 B CN 103713928B CN 201310749085 A CN201310749085 A CN 201310749085A CN 103713928 B CN103713928 B CN 103713928B
Authority
CN
China
Prior art keywords
file
installation
installation file
delta
information
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
Application number
CN201310749085.9A
Other languages
Chinese (zh)
Other versions
CN103713928A (en
Inventor
付方助
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ucweb Inc filed Critical Ucweb Inc
Priority to CN201310749085.9A priority Critical patent/CN103713928B/en
Publication of CN103713928A publication Critical patent/CN103713928A/en
Application granted granted Critical
Publication of CN103713928B publication Critical patent/CN103713928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides an incremental file generating method, and an application program installing file updating method and device. A new-version application program package and an old-version application program package are unzipped into a new-version application program installing file and an old-version application program installing file through a server, an incremental file is generated according to the unzipped files, and after a client side receives the incremental file, a new-version application program installing file is reversely synthesized based on the old-version application program installing file and the incrementalfile stored in the local through the clinet side. Due to the fact that the server unzips the new-version application program package and the old-version application program package into the new-version application program installing file and the old-version application program installing file and the incremental file is generated according to the unzipped files, the volume of the incremental file is small, the size of data transmitted to the client side from the server is small, and the transmission flow is saved.

Description

Delta file generation method, application program installation file update method and device
Technical field
The present invention relates to mobile communication technology field, more specifically, it is related to a kind of delta file generation method, application journey Sequence installation file update method and device.
Background technology
Mobile Internet development at present is swift and violent, and the mobile bandwidth being critical and the flow of costliness make increment upgrade technique more aobvious Important.
In prior art, the generation method of the delta file of new and old edition installation file is to install compressed package based on whole File contrasts and generates.It is based on compressing when generate the compressed package of new and old edition installation file with difference algorithm File be compared, carry out be compression stream comparison, so obtain delta file still very big.Mobile terminal is connect The delta file received is still very big, and the effect of province's flow that increment upgrade technique is realized is still bad.
Content of the invention
In view of the above problems, the present invention propose delta file generation method, application program installation file update method and Device, the delta file that this delta file generation method, application program installation file update method and device generate is little, saves Server and mobile terminal delivery flow rate.
According to an aspect of the invention, it is provided it is a kind of civilian for the increment of application program updating in server execution Part generation method, including:After getting new edition application compressed package, decompress described new edition application compressed package with And locally stored old edition application compressed package, obtain new edition application installation file and old edition application Installation file;And
Based on new edition application installation file and old edition application installation file, generate delta file,
Described delta file includes file header and file body, and described file header comprises new edition application installation file Version information, described file body is used for storing the information of upgrade file of each file in new edition application installation file.
Wherein, described new edition application compressed package and old edition application compressed package solution are depressed into two files Folder.
Wherein, based on new edition application installation file and old edition application installation file, generate delta file Including:
For each file in old edition application installation file;
Inquiry whether there is the file of the same name under same catalogue in new edition application installation file;
Have that filename is identical under the same catalogue of new edition application installation file but literary composition that file MD5 value is different During part, based on this corresponding differential file of two file generateds, differential file is processed the filename of label information, this document Claim, store path and differential file write in the file body of delta file as the information of upgrade file of this document;
Have that filename is identical and file MD5 value identical literary composition under the same catalogue of new edition application installation file During part, same file is processed label information, the file name of this document and store path as the upgrade file letter of this document Breath writes in described delta file;
When there is not any file with same file name in new edition application installation file, then by this document File name, store path and delete file process label information as this document information of upgrade file write described increment In file;
For each file in new edition application installation file,
Inquiry inquiry in legacy version installation file whether there is the file of the same name under same catalogue, in old edition intrinsic safety In dress file when inquiring about less than file of the same name, by the file name of this document, store path, newly-increased file process label information and File data writes in described delta file as the information of upgrade file of this document.
According to another aspect of the present invention, there is provided a kind of application program installation file in mobile terminal execution updates Method, including:
After receiving delta file from server, read legacy version installation file corresponding with this delta file, described Delta file is to be generated according to the above-mentioned delta file generation method of the present invention;
Based on delta file, legacy version installation file is updated obtaining redaction installation file.
Wherein, based on delta file, legacy version installation file is updated obtain redaction installation file including:
Read the information of upgrade file in file body from delta file, described information of upgrade file includes file process mark Note information, routing information and file content;
When the file process label information being read is newly-increased file process label information, according to the path letter being read Breath and file content, current file is added in the file of legacy version installation file respective path;
When the file process label information being read processes label information for differential file, according to the path letter being read Breath, searches the respective file in legacy version installation file, and generates redaction based on corresponding old edition presents and differential file File;
When the file process label information being read is to delete file process label information, according to the path letter being read Breath, deletes the legacy version installation file under this path;
When the file process label information being read processes label information for same file, according to the path letter being read Breath, is not processed to this document under this path of legacy version installation file.
This method also includes:Software upgrading is carried out according to redaction installation file.
Wherein, described file header comprises the MD5 value of redaction installation file, and legacy version installation file is updated obtaining Also include after redaction installation file:
It is compressed to updating the redaction installation file obtaining, generate the MD5 value of redaction installation file compressed file; And
When the MD5 value of the redaction installation file compressed file being generated is identical with the MD5 value in described file header, really Redaction installation file verification obtained by recognizing is qualified.
Wherein, described file header comprises the MD5 value of legacy version installation file, and described delta file is server in response to moving Dynamic terminal updates according to the application program installation file that version number and the MD5 value of locally stored legacy version installation file are initiated please Ask and issue.
According to another aspect of the present invention, there is provided a kind of delta file generating means for application program updating, Including:
Decompression units, for, after getting new edition application compressed package, decompressing described new edition application pressure Contracting bag and locally stored old edition application compressed package, obtain new edition application installation file and legacy version should Use program installation file;
Delta file signal generating unit, for installing literary composition based on new edition application installation file with old edition application Part, generates delta file.
Wherein, described delta file signal generating unit includes:
First acquisition module, for obtaining the fileinfo of each file in old edition application installation file;
First enquiry module, for according to the fileinfo in the old edition application installation file obtaining, inquiry exists Whether there is the file of the same name under same catalogue in new edition application installation file;
First writing module, is configured to:
Have that filename is identical under the same catalogue of new edition application installation file but literary composition that file MD5 value is different During part, based on this corresponding differential file of two file generateds, differential file is processed the filename of label information, this document Claim, store path and differential file write in the file body of delta file as the information of upgrade file of this document;
Have that filename is identical and file MD5 value identical literary composition under the same catalogue of new edition application installation file During part, same file is processed label information, the file name of this document and store path as the upgrade file letter of this document Breath writes in described delta file;
When there is not any file with same file name in new edition application installation file, then by this document File name, store path and delete file process label information as this document information of upgrade file write described increment In file;
Second acquisition module, for obtaining the fileinfo of each file in new edition application installation file;
Second enquiry module, for according to the fileinfo in the new edition application installation file obtaining, in old edition In this installation file, inquiry whether there is the file of the same name under same catalogue, and the second writing module, in old edition When inquiring about in this installation file less than file of the same name, the file name of the new edition application installation file that this is obtained, deposit Storage path, newly-increased file process label information and file data write described delta file as the information of upgrade file of this document In.
According to another aspect of the present invention, there is provided a kind of application program installation file updating device, described more new clothes Install and be placed in mobile terminal, including:
Legacy version installation file reading unit, for after receiving delta file from server, reading and this increment literary composition Part corresponding legacy version installation file, described delta file is to be generated according to the above-mentioned delta file generation method of the present invention;
Installation file updating block, based on delta file, is updated to legacy version installation file obtaining redaction installation File.
Wherein, described installation file updating block includes:
Delta file read module, for reading the information of upgrade file in file body, described upgrading from delta file Fileinfo includes file process label information, routing information and file content;
Redaction installation file merges module, is configured to
When the file process label information being read is newly-increased file process label information, according to the path letter being read Breath and file content, current file is added in the file of legacy version installation file respective path;
Process label information in the file process label information being read for differential file constantly, according to the path letter reading Breath, searches corresponding file in legacy version installation file, and generates redaction based on corresponding old edition presents and differential file File;
When the file process label information being read is to delete file process label information, according to the path letter being read Breath, deletes the legacy version installation file under this path;
When the file process label information being read processes label information for same file, according to the path letter being read Breath, is not processed to the file under this path of legacy version installation file.
Wherein, application program installation file updating device also includes file MD5 value generation module, for obtain to renewal Redaction installation file is compressed, and generates the MD5 value of redaction installation file compressed file;
Correction verification module, in the MD5 value of the redaction installation file compressed file being generated and described file header When MD5 value is identical, the redaction installation file verification obtained by confirming is qualified.
Wherein, application program installation file updating device, also includes:
Update request sending module, for mobile terminal according to the version number of locally stored legacy version installation file and The application program installation file that MD5 value is initiated updates request.
In order to realize above-mentioned and related purpose, the delta file generation method that the present invention provides, application program install literary composition Part update method and device.By server, new edition application compressed package and old edition application compressed package decompression are obtained New edition application installation file and old edition application installation file, the increasing of the file generated after being then based on decompressing Amount file, client is stored in local old edition application installation file and delta file based on it after receiving delta file Inverse composition new edition application installation file.Due to being should by new edition application compressed package and legacy version by server Obtain new edition application installation file and old edition application installation file with program compaction bag decompression, be then based on The delta file of the file generated after decompression, so delta file is little, server is also little to the data of client transmissions, saves Delivery flow rate.
The feature that will be explained in below and be particularly pointed out in the claims.Description below and accompanying drawing describe in detail Some illustrative aspects of the present invention.However, the various sides that the principle of the present invention only can be used of these aspects instruction Some modes in formula.Additionally, it is contemplated that including all these aspects and their equivalent.
Brief description
According to following detailed descriptions carrying out referring to the drawings, the above and other objects, features and advantages of the present invention will become Must become apparent from.In the accompanying drawings:
Fig. 1 be the present invention a kind of server execution for application program updating delta file generation method flow process Figure;
Fig. 2 be the present invention a kind of server execution for the delta file generation method of application program updating step The flow chart of rapid S2;
Fig. 3 is a kind of flow chart of application program installation file update method in mobile terminal execution of the present invention;
Fig. 4 is an embodiment flow chart before implementation steps S3 in Fig. 3 of the present invention;
Fig. 5 is updated obtaining redaction installation file to legacy version installation file based on delta file for the present invention's Step detail flowchart;
Fig. 6 is the block diagram of the delta file generating means for application program updating of the present invention;
Fig. 7 shows one embodiment block diagram of delta file signal generating unit of the present invention;
Fig. 8 is the enforcement block diagram of the application program installation file updating device of the present invention;
The embodiment block diagram of installation file updating block in the application program installation file updating device of Fig. 9 present invention.
Identical label indicates similar or corresponding feature or function in all of the figs.
Specific embodiment
Various aspects of the disclosure is described below.It is to be understood that teaching herein can be had with varied form Body embodies, and any concrete structure disclosed herein, function or both are only representational.Religion based on this paper Lead, those skilled in the art it is to be understood that one aspect disclosed herein can be realized independent of any other aspect, And the two or more aspects in these aspects can combine in various manners.It is, for example possible to use it is described in this paper Any number of aspect, realizes device or puts into practice method.Further, it is possible to use other structures, function or except described here One or more aspects outside or be not one or more aspects described herein 26S Proteasome Structure and Function, realize this device Or put into practice this method.Additionally, any aspect described herein can include at least one element of claim.
Each embodiment of the present invention is described below with reference to accompanying drawings.
Fig. 1 be the present invention a kind of server execution for application program updating delta file generation method flow process Figure.
As shown in Figure 1 the present invention a kind of server execution for application program updating delta file generation side Method, including:
Step S1, after getting new edition application compressed package, decompress described new edition application compressed package with And locally stored old edition application compressed package, obtain new edition application installation file and old edition application Installation file.
In this step, new edition application compressed package can be that program developer sends to server.Namely open Originator sends after new edition application compressed package to server, inquires about locally stored old edition application compressed package, looks into When having ask legacy version application program compressed package, decompress described new edition application compressed package and locally stored legacy version Application program compressed package, obtains new edition application installation file and old edition application installation file.In server If the old edition application compressed package of multiple versions that are stored with, each old edition application compressed package is required for solving Pressure.The new edition application installation file obtaining after decompression and old edition application installation file are usually binary system literary composition Part.
Step S2, based on new edition application installation file and old edition application installation file, generates increment literary composition Part, described delta file includes file header and file body, and described file header comprises the version of new edition application installation file Information, described file body is used for storing the information of upgrade file of each file in new edition application installation file.
The present embodiment a kind of server execution for application program updating delta file generation method, by servicing New edition application compressed package and old edition application compressed package decompression are obtained new edition application installation file by device And old edition application installation file, the delta file of the file generated after being then based on decompressing, the delta file of generation Little, server is also little to the data of client transmissions, saves delivery flow rate.
Fig. 2 be the present invention a kind of server execution for the delta file generation method of application program updating step The flow chart of rapid S2.
As shown in Fig. 2 step S2 is based on new edition application installation file and old edition application installation file, raw Delta file is become to include:
Step S200 obtains the fileinfo of the file in old edition application installation file.Due to old edition this application journey Sequence installation file comprises much individual subfiles, so the file chosen in this step can be the random file chosen.For example Can be E:\a\...\assets\location_public_key.der.
The inquiry of step S201 whether there is the literary composition of the same name under same catalogue in new edition application installation file Part.The meaning of same catalogue here it should be say relatively the same.The catalogue of such as legacy version installation file decompression is E:A, The decompression catalogue of redaction installation file is E:B, and in step S200 obtain file catalogue be E:a\c\...\ Assets, and the catalogue of its corresponding redaction installation file be E:B c ... assets, then when comparison here Higher level's two-stage catalogue of both of these documents should be ignored, in the present invention same catalogue refer to c ... assets identical.
In the case of there is file of the same name under the same catalogue of new edition application installation file, enter step S202 and sentence Whether disconnected file MD5 value is identical.Before judging whether file MD5 value is identical, first have to generate the MD5 value of two files, can To generate before implementing in the present invention it is also possible to generate in the decompression procedure of step S1 of the present invention, the MD5 value of file is base File content in two files generates, and generation method is common method, the present invention no longer describes in detail.
When MD5 value is different then it is assumed that the content of two files has differences, enters step S203 and be based on this two files Generate corresponding differential file, differential file is processed label information, the file name of this document, store path and differential file Information of upgrade file as this document writes in the file body of delta file.Here by generalized delta algorithm bsdiff life Become the differential file of two files, the present invention can also be that other general delta algorithm generates the differential file of two files.
When judging that MD5 value is identical then it is assumed that two files are identical file, entering step S204 will be identical File process label information, the file name of this document and store path write described increasing as the information of upgrade file of this document In amount file.
When there is not file of the same name under the same catalogue of new edition application installation file, now legacy version installs literary composition In part, this file needs to delete, and enters step S205 afterwards and by the file name of this document, store path and deletes at file Reason label information writes in described delta file as the information of upgrade file of this document.
Complete S203, after the completion of any one step of S204, S205, enter step S206 and judge that old edition application is installed There is untreated file in file.Here judge to have in old edition application installation file the untreated file can be By way of traveling through file, the catalogue according to file judges whether currently processed file carries out S201's to S205 above one by one Process.For example currently processed file is location_public_key.der, and its catalogue is E:A ... d assets, judge This document needs to delete, then that complete is S200, S201, S205 of abovementioned steps, and step S206 is to first determine whether E afterwards:\ A ... assets whether have file without above flow processing under catalogue, then continue to judge E:\a\...\ Assets catalogue upper level catalogue E:A ... d in whether have the file not carrying out the above file process of flow processing, Until E:All Files under a catalogue has inquired about the file all not processed then it is assumed that old edition application installs literary composition There is no untreated file in part.There is untreated file under a careless catalogue, then enter step S207 and obtain legacy version The fileinfo of next untreated file in application program installation file, return to step S203 afterwards.
If there is no untreated file in old edition application installation file, entering step S208 and obtaining new edition The fileinfo of the file in application installation file, acquisition here is also random acquisition.E.g. E:b\c\...\ F armeabi xxx.so, afterwards step S209 judge in legacy version installation file whether there is same under same catalogue Name file.Here the judgement of same catalogue is as judgement above.Legacy version installation file is inquired about less than file of the same name When then it is assumed that this document is newly-increased file, enter step S210 by the file name of this document, store path, newly-increased file Reason label information and file data write in described delta file as the information of upgrade file of this document.
Enter step S211 afterwards and judge whether there is untreated file in new edition application installation file.Here The determination methods of untreated file, as determination methods above, are to determine whether without S209 and S210 step Processed, if there is no untreated file, then terminated.If there is untreated file, then enter step S212 and obtain Take the fileinfo of next untreated file in new edition application installation file, return to step S209 afterwards.
Judging when there is the file of the same name being located under same catalogue in legacy version installation file in step S209, no Process, process ends.
From above-mentioned steps it can be seen that being the delta file based on the file generated after decompressing the present embodiment, delta file Little.Make server also little to the data of client transmissions, save flow.
Fig. 3 is a kind of flow chart of application program installation file update method in mobile terminal execution of the present invention.
Fig. 4 is an embodiment flow chart before implementation steps S3 in Fig. 3 of the present invention.
A kind of application program installation file update method in mobile terminal execution of the present invention includes as shown in Figure 3, Figure 4 Step:
Step S3, after receiving delta file from server, reads legacy version corresponding with this delta file and installs literary composition Part.Delta file described in this step is to be generated according to above-described embodiment, is server according to answering getting redaction After program compaction bag, decompress described new edition application compressed package and the compression of locally stored old edition application Bag, obtains new edition application installation file and old edition application installation file, based on new edition application peace The delta file that dress file is generated with old edition application installation file.
If locally only store the compressed file of legacy version installation file in mobile terminal in this step, then First have to during execution step S3 for the compressed file of legacy version installation file to carry out decompression obtain legacy version installation file, Ran Houcai Described legacy version installation file can be read.
Described delta file includes file header and file body, and described file header comprises new edition application installation file Version information, described file body is used for storing the information of upgrade file of each file in new edition application installation file.
Included step S300 before S3, mobile terminal according to the version number of locally stored legacy version installation file and MD5 value is initiated application program installation file and is updated request.The locally stored legacy version sending mobile terminal to server is installed The purpose of the version number of file and MD5 value is to be verified (step S301) for server to this legacy version installation file.Verification Purpose is whether the legacy version installation file of the mobile terminal storage judging to ask upgrading is that official issues.If mobile terminal The version number of the legacy version installation file of storage in the locally stored version number of legacy version installation file and MD5 value and server And MD5 value correspondence then thinks that verification is passed through, after verification is passed through, enter the version according to legacy version installation file for the step S302 server This number corresponding delta file of lookup.The preferred embodiments of the present invention are when software publisher issues latest edition installation file When, the delta file that will generate latest edition installation file with all legacy version installation files stores on the server, for example, When the software version that software publisher issues latest edition installation file is V2.3, and the version of legacy version installation file has V2.0, V1.9, V1.8, V1.0, server will generate the increment of V2.3 installation file and V2.0, V1.9, V1.8, V1.0 respectively File.Storage is on the server.Can not find appropriate version delta file when, then enter generate delta file program, that is, before The S1 of face embodiment, S2 step.
After finding corresponding delta file, server to mobile terminal send delta file enter step S3 or, look for To after corresponding delta file, enter the download address that step S303 server sends delta file to mobile terminal, afterwards Step S304 mobile terminal downloads delta file according to the download address of the delta file receiving, request, just enters step afterwards S3.
After completing S3, enter step S4, based on delta file, legacy version installation file is updated obtaining redaction Installation file.This process is the inverse process of delta file generating process.It is mobile terminal based on its locally stored old edition intrinsic safety Dress file and delta file generate redaction installation file.
After completing step S4, the redaction installation file needing further exist for renewal is obtained is compressed, and generates redaction The MD5 value (step S5) of installation file compressed file.After generating the MD5 value of redaction installation file compressed file, it is step S6, Confirm the new edition intrinsic safety comprising in the MD5 value of redaction installation file compressed file generating and the file header of described delta file File MD5 is identical for dress, if the same thinks that the redaction installation file verification that mobile terminal to update obtains is qualified.
What deserves to be explained is in the redaction installation file of server side generation and the delta file of legacy version installation file Before, server can carry out pretreatment to redaction installation file, is sent out using specific compression algorithm compressed software publisher The redaction installation file of cloth, generates the MD5 value of redaction installation file.And will be generated when generating delta file Redaction installation file MD5 value write delta file header file in.So obtaining to mobile terminal to update above-mentioned Redaction installation file is carried out in step S5 of checking procedure, is compressed to updating the redaction installation file obtaining, generates The MD5 value of redaction installation file compressed file.The compression algorithm that it adopts must be entered to redaction installation file with server The compression algorithm that redaction installation file during row pretreatment, software publisher issued is compressed adopting is identical.Specific calculation Method is compressed using algorithm commonly used in the prior art.
After completing to update the verification of redaction installation file obtaining, enter step S7, entered according to redaction installation file Row software upgrading.
The application program installation file update method that the present invention provides.Using by server, new edition application is compressed Bag and old edition application compressed package decompression obtain new edition application installation file and the installation of old edition application File, be then based on decompress after the delta file of file generated and mobile terminal its be stored in local old edition application Installation file inverse composition new edition application installation file.Due to be by server by new edition application compressed package and Old edition application compressed package decompression obtains new edition application installation file and old edition application installation file, The delta file of the file generated after being then based on decompressing, so delta file is little, the data that server transmits to mobile terminal Also little, save delivery flow rate.
Fig. 5 is a kind of the detailed of step S4 of application program installation file update method in mobile terminal execution of the present invention Thin flow chart.
Based on delta file, legacy version installation file is updated obtaining redaction installation file as shown in Figure 5, including Step S500, reads the information of upgrade file in file body from delta file.Described information of upgrade file includes file process Label information, routing information and file content.
It is step S501 afterwards, determine that upgrade file processes type.Here it is to wrap according in the information of upgrade file reading The file process label information containing to determine upgrade file process type.
When the file process label information being read is newly-increased file process label information, enter step S502, according to The routing information being read and file content, current file is added in the file of legacy version installation file respective path.
When the file process label information being read processes label information for differential file, enter step S503, according to The routing information being read, searches the respective file in legacy version installation file, and is based on corresponding old edition presents and difference File generated new edition file.The process generating new edition file based on corresponding old edition presents and differential file of this step It is the inverse process of previous embodiment step S203, that is, if step S203 uses delta algorithm bsdiff and generates two The differential file of file, then this step is to generate new edition file using the inverse operation of bsdiff algorithm.If step S203 It is the differential file generating two files using other general delta algorithm, then correspondence is the inverse fortune of other difference algorithms Calculate.
When the file process label information being read is to delete file process label information, enter step S504, according to The routing information being read, deletes the legacy version installation file under this path.
When the file process label information being read processes label information for same file, enter step S505, according to The routing information being read, is not processed to this document under this path of legacy version installation file.
Above-described embodiment completes the installation file of mobile terminal with new process, due to being to compress new edition application After bag and old edition application compressed package decompression, obtain new edition application installation file and old edition application peace Dress file is the delta file based on the file generated after decompressing, and delta file is little.The data that mobile terminal receives is also little, saves Delivery flow rate.
Fig. 6 is the block diagram of the delta file generating means for application program updating of the present invention.
As shown in fig. 6, the delta file generating means of the present invention include:Decompression units 600, for getting redaction After application program compressed package, decompress described new edition application compressed package and the compression of locally stored old edition application Bag, obtains new edition application installation file and old edition application installation file.Described new edition application pressure Contracting bag can be that program developer sends to server.Namely developer sends new edition application pressure to server After contracting bag, inquire about locally stored old edition application compressed package, when having inquired legacy version application program compressed package, decompression Unit 600 decompresses described new edition application compressed package and locally stored old edition application compressed package, obtains new Version application program installation file and old edition application installation file.If being stored with the old of multiple versions in server Version application program compressed package, then decompression units 600 need to each old edition application compressed package decompress.Obtain after decompression New edition application installation file and old edition application installation file be usually binary file.
Delta file signal generating unit 601, for being pacified with old edition application based on new edition application installation file Dress file, generates delta file, and described delta file includes file header and file body, and described file header comprises new edition this application journey The version information of sequence installation file, described file body is used for storing the liter of each file in new edition application installation file Level fileinfo.
A kind of delta file generating means of the present embodiment are arranged at server, and decompression units are by new edition application pressure After contracting bag and old edition application compressed package decompression, obtain new edition application installation file and old edition application Installation file, the delta file based on the file generated after decompression for the delta file signal generating unit.By being then based on file generated Delta file, so delta file is little.Make the data that server transmits to mobile terminal also little, save flow.
Fig. 7 shows one embodiment block diagram of delta file signal generating unit of the present invention.
Delta file signal generating unit 601 includes as shown in Figure 7:First acquisition module 6011, the first enquiry module 6012, One writing module 6013, the second acquisition module 6014, the second enquiry module 6015 and the second enquiry module 6015.
First acquisition module 6011, the file for obtaining the All Files in old edition application installation file is believed Breath.Because old edition application installation file comprises much individual subfiles, so the literary composition chosen in the first acquisition module 6011 Part is to be the random file chosen.Can be for example E:\a\...\assets\location_public_key.der.
First enquiry module 6012 is used for inquiry and whether there is positioned at same mesh in new edition application installation file File of the same name under record.The meaning of same catalogue here it should be say relatively the same.Such as legacy version installation file decompression Catalogue is E:A, the decompression catalogue of redaction installation file is E:B, and in step S200 obtain file catalogue be E: A c ... assets, and the catalogue of its corresponding redaction installation file be E:B c ... assets, then here than Higher level's two-stage catalogue of both of these documents should be ignored when relatively, in the present invention same catalogue refer to c ... assets phase With.
First writing module 6013 is configured to there is file under the same catalogue of new edition application installation file Name is identical but during file that file MD5 value is different, based on this corresponding differential file of two file generateds, differential file processed Label information, the file name of this document, store path and differential file write increment as the information of upgrade file of this document In the file body of file.
Have that filename is identical and file MD5 value identical literary composition under the same catalogue of new edition application installation file During part, same file is processed label information, the file name of this document and store path as the upgrade file letter of this document Breath writes described delta file.
Whether mutually the same compare MD5 value in the present embodiment, first have to generate the MD5 value of two files, can be in the present invention Generate before enforcement it is also possible to generate during decompression units 600 decompressing files of the present invention, the MD5 value of file is base In two files file content generate, generation method no longer describes in detail for the common method present invention.
When there is not any file with same file name in new edition application installation file, then by this document File name, store path and delete file process label information as this document information of upgrade file write described increment In file.
Second acquisition module 6014 is used for obtaining the fileinfo of each file in new edition application installation file; It is also random acquisition that second acquisition module 6014 obtains first file of new edition application installation file.E.g. E:b\ C ... f armeabi xxx.so, be to judge under this catalogue, whether there are other untreated files, if any then afterwards After the completion of entering the whole process of file under next resume module, current directory, whether have other under inquiry upper level catalogue Untreated file, completes until All Files is all processed.
Second enquiry module 6015 is used for according to the fileinfo in the new edition application installation file obtaining, old In version installation file, inquiry is with the presence or absence of the file of the same name under same catalogue.
When second writing module 6016 is used for inquiring about less than file of the same name in legacy version installation file, by this obtain new The file name of version application program installation file, store path, newly-increased file process label information and file data are as this The information of upgrade file of file writes described delta file.
Fig. 8 is the enforcement block diagram of the application program installation file updating device of the present invention.
As shown in figure 8, described application program installation file updating device includes:Legacy version installation file reading unit 800, For, after receiving delta file from server, reading legacy version installation file corresponding with this delta file, described increment File is that aforementioned delta file signal generating unit 601 generates.Described delta file includes file header and file body, described file header Comprise the version information of new edition application installation file, described file body is used for storing new edition application installation file In each file information of upgrade file.
If locally only store the compressed file of legacy version installation file in mobile terminal in the present embodiment, then Before legacy version installation file reading unit 800 reads legacy version installation file corresponding with this delta file, first having to will be old The compressed file of version installation file carries out decompression and obtains legacy version installation file, then could read described legacy version and install literary composition Part.
Installation file updating block 801, based on delta file, is updated obtaining new edition intrinsic safety to legacy version installation file Dress file.
Application program installation file updating device as the preferred embodiment present invention also includes:Update request and send mould Block 804, the application program peace initiated according to version number and the MD5 value of locally stored legacy version installation file for mobile terminal Dress file updates request.Send version number and the MD5 value of the locally stored legacy version installation file of mobile terminal to server Purpose be for server, this legacy version installation file to be verified.Verification purpose is that the mobile terminal judging request upgrading is deposited Whether the legacy version installation file of storage is that official issues.If the version of the locally stored legacy version installation file of mobile terminal Number and MD5 value corresponding with the version number of legacy version installation file of storage and MD5 value on server, think that verification is passed through.
Application program installation file updating device as the preferred embodiment present invention also includes:File MD5 value generates Module 802, the redaction installation file for obtaining to renewal is compressed, and generates redaction installation file compressed file MD5 value.
Correction verification module 803, in the MD5 value of the redaction installation file compressed file being generated and described file header MD5 value identical when, confirm obtained by redaction installation file verification qualified.
What deserves to be explained is server side delta file signal generating unit 601 generate redaction installation file and legacy version Before the delta file of installation file, server can carry out pretreatment to redaction installation file, is calculated using specific compression The redaction installation file that method compressed software publisher issues, generates the MD5 value of redaction installation file.And generating increment When file, the MD5 value of the redaction being generated installation file is write in the header file of delta file.So above-mentioned right When the redaction installation file that the correction verification module 803 of mobile terminal obtains to renewal verifies, first will be to more to mobile terminal The redaction installation file newly obtaining is compressed generating the MD5 value of redaction installation file compressed file.Now it adopts Compression algorithm must carry out to redaction installation file during pretreatment, the redaction that software publisher issues being installed with server The compression algorithm that file is compressed adopting is identical.Specific algorithm is compressed using algorithm commonly used in the prior art.
The embodiment block diagram of installation file updating block in the application program installation file updating device of Fig. 9 present invention.
As shown in figure 9, installation file updating block includes:Delta file read module 8010, for from delta file Read the information of upgrade file in file body, described information of upgrade file includes file process label information, routing information and literary composition Part content.
Redaction installation file merges module 8011, is configured to
When the file process label information being read is newly-increased file process label information, according to the path letter being read Breath and file content, current file is added in the file of legacy version installation file respective path;
Process label information in the file process label information being read for differential file constantly, according to the path letter reading Breath, searches corresponding file in legacy version installation file, and generates redaction based on corresponding old edition presents and differential file File;
When the file process label information being read is to delete file process label information, according to the path letter being read Breath, deletes the legacy version installation file under this path;
When the file process label information being read processes label information for same file, according to the path letter being read Breath, is not processed to the file under this path of legacy version installation file.
The installation file that above-described embodiment completes mobile terminal updates, due to be by new edition application compressed package and Obtain new edition application installation file after old edition application compressed package decompression and old edition application installs literary composition Part, is the delta file based on the file generated after decompressing, and delta file is little.The data that mobile terminal receives is also little, saves Delivery flow rate.
Additionally, typically, mobile terminal of the present invention can be various hand-held terminal devices, such as mobile phone, individual number Word assistant (PDA).
Additionally, the method according to the invention is also implemented as by processor (such as CPU) execution in mobile terminal Computer program, and store in a memory in the mobile terminal.It is when executed by this computer program, execute basis The above-mentioned functions limiting in the method for invention.
Additionally, the method according to the invention is also implemented as a kind of computer program, this computer program Including computer-readable medium, it is stored with the computer-readable medium for executing limit in the method for the present invention above-mentioned The computer program of function.
Additionally, said method step and system unit can also utilize controller and make controller real for storage The computer readable storage devices of the computer program of existing above-mentioned steps or Elementary Function are realized.
Those skilled in the art will also understand is that, in conjunction with the various illustrative logical blocks described by disclosure herein, mould Block, circuit and algorithm steps may be implemented as electronic hardware, computer software or a combination of both.Hard in order to clearly demonstrate Part and this interchangeability of software, the function with regard to various exemplary components, square, module, circuit and step it is entered Go general description.This function is implemented as software and is also implemented as hardware depending on concrete application and applying Design constraint to whole system.Those skilled in the art can realize described in every way for every kind of concrete application Function, but this realize decision and should not be interpreted as causing a departure from the scope of the present.
Although content disclosed above shows the exemplary embodiment of the present invention, it should be noted that without departing substantially from power On the premise of profit requires the scope of the present invention limiting, may be many modifications and change.Real according to invention described herein Function, step and/or the action of applying the claim to a method of example are not required to execute with any particular order.Although additionally, the present invention Element with the description of individual form or can require, it is also contemplated that multiple, unless explicitly limited for odd number.
Although describing to be described according to each embodiment of the present invention above with reference to figure, people in the art Member should be appreciated that each embodiment that the invention described above is proposed, and can also do on the basis of without departing from present invention Go out various improvement.Therefore, protection scope of the present invention should be determined by the content of appending claims.

Claims (11)

1. a kind of server execution for application program updating delta file generation method, including:
After getting new edition application compressed package, decompress described new edition application compressed package and locally stored Old edition application compressed package, obtains new edition application installation file and old edition application installation file;With And
Based on new edition application installation file and old edition application installation file, generate delta file,
Described delta file includes file header and file body, and described file header comprises the version of new edition application installation file Information, described file body is used for storing the information of upgrade file of each file in new edition application installation file,
Wherein, described new edition application compressed package and old edition application compressed package solution are depressed into two files,
Wherein, based on new edition application installation file and old edition application installation file, generate delta file and include:
For each file in old edition application installation file;
Inquiry whether there is the file of the same name under same catalogue in new edition application installation file;
Have that filename is identical under the same catalogue of new edition application installation file but file that file MD5 value is different When, based on this corresponding differential file of two file generateds, by differential file process label information, the file name of this document, Store path and differential file write in the file body of delta file as the information of upgrade file of this document;
Have that filename is identical and file MD5 value identical file under the same catalogue of new edition application installation file When, same file is processed label information, the file name of this document and store path as the information of upgrade file of this document Write in described delta file;
When there is not any file with same file name in new edition application installation file, then by the literary composition of this document Part title, store path and deletion file process label information write described delta file as the information of upgrade file of this document In;
For each file in new edition application installation file,
Inquiry inquiry in legacy version installation file, with the presence or absence of the file of the same name under same catalogue, installs literary composition in legacy version When inquiring about in part less than file of the same name, by the file name of this document, store path, newly-increased file process label information and file Data writes in described delta file as the information of upgrade file of this document.
2. a kind of application program installation file update method in mobile terminal execution, including:
After receiving delta file from server, read legacy version installation file corresponding with this delta file, described increment File is to be generated according to claim 1;
Based on delta file, legacy version installation file is updated obtaining redaction installation file.
3. application program installation file update method as claimed in claim 2, based on delta file, to legacy version installation file It is updated obtaining redaction installation file including:
Read the information of upgrade file in file body from delta file, described information of upgrade file includes file process labelling letter Breath, routing information and file content;
When the file process label information being read is newly-increased file process label information, according to the routing information being read and File content, current file is added in the file of legacy version installation file respective path;
When the file process label information being read processes label information for differential file, according to the routing information being read, Search the respective file in legacy version installation file, and new edition is generated herein based on corresponding old edition presents and differential file Part;
When the file process label information being read is to delete file process label information, according to the routing information being read, Delete the legacy version installation file under this path;
When the file process label information being read processes label information for same file, according to the routing information being read, This document under this path of legacy version installation file is not processed.
4. application program installation file update method as claimed in claim 2, also includes:Carried out according to redaction installation file Software upgrading.
5. application program installation file update method as claimed in claim 2, wherein, described file header comprises redaction and installs The MD5 value of file, is updated to legacy version installation file obtaining also including after redaction installation file:
It is compressed to updating the redaction installation file obtaining, generate the MD5 value of redaction installation file compressed file;And
When the MD5 value of the redaction installation file compressed file being generated is identical with the MD5 value in described file header, confirm institute The redaction installation file verification obtaining is qualified.
6. application program installation file update method as claimed in claim 2, wherein, described file header comprises legacy version and installs The MD5 value of file, described delta file be server in response to mobile terminal according to locally stored legacy version installation file The application program installation file of version number and the initiation of MD5 value updates what request issued.
7. a kind of delta file generating means for application program updating, including:
Decompression units, for, after getting new edition application compressed package, decompressing described new edition application compressed package And locally stored old edition application compressed package, obtain new edition application installation file and old edition this application journey Sequence installation file;
Delta file signal generating unit, for based on new edition application installation file and old edition application installation file, Generate delta file, described delta file signal generating unit includes:
First acquisition module, for obtaining the fileinfo of each file in old edition application installation file;
First enquiry module, for according to the fileinfo in the old edition application installation file obtaining, inquiry is in new edition Whether there is the file of the same name under same catalogue in application installation file;
First writing module, is configured to
Have that filename is identical under the same catalogue of new edition application installation file but file that file MD5 value is different When, based on this corresponding differential file of two file generateds, by differential file process label information, the file name of this document, Store path and differential file write in the file body of delta file as the information of upgrade file of this document;
Have that filename is identical and file MD5 value identical file under the same catalogue of new edition application installation file When, same file is processed label information, the file name of this document and store path as the information of upgrade file of this document Write in described delta file;
When there is not any file with same file name in new edition application installation file, then by the literary composition of this document Part title, store path and deletion file process label information write described delta file as the information of upgrade file of this document In;
Second acquisition module, for obtaining the fileinfo of each file in new edition application installation file;
Second enquiry module, for according to the fileinfo in the new edition application installation file obtaining, in old edition intrinsic safety Inquiry in dress file whether there is the file of the same name under same catalogue, and the second writing module, in old edition intrinsic safety When inquiring about less than file of the same name in dress file, the file name of the new edition application installation file that this is obtained, storage road Footpath, newly-increased file process label information and file data write in described delta file as the information of upgrade file of this document.
8. a kind of application program installation file updating device, described updating device is arranged at mobile terminal, including:
Legacy version installation file reading unit, for, after receiving delta file from server, reading and this delta file pair The legacy version installation file answered, described delta file is to be generated according to claim 1;
Installation file updating block, based on delta file, is updated obtaining redaction installation file to legacy version installation file.
9. application program installation file updating device as claimed in claim 8, described installation file updating block includes:
Delta file read module, for reading the information of upgrade file in file body, described upgrade file from delta file Information includes file process label information, routing information and file content;
Redaction installation file merges module, is configured to
When the file process label information being read is newly-increased file process label information, according to the routing information being read and File content, current file is added in the file of legacy version installation file respective path;
Process label information in the file process label information being read for differential file constantly, according to the routing information reading, Search corresponding file in legacy version installation file, and new edition is generated herein based on corresponding old edition presents and differential file Part;
When the file process label information being read is to delete file process label information, according to the routing information being read, Delete the legacy version installation file under this path;
When the file process label information being read processes label information for same file, according to the routing information being read, File under this path of legacy version installation file is not processed.
10. application program installation file updating device as claimed in claim 8, also includes:
File MD5 value generation module, the redaction installation file for obtaining to renewal is compressed, and generates redaction and installs literary composition The MD5 value of part compressed file;
Correction verification module, for the MD5 value in the MD5 value of the redaction installation file compressed file being generated and described file header When identical, the redaction installation file verification obtained by confirming is qualified.
The 11. application program installation file updating devices as described in claim 8 to 10 any one, also include:
Update request sending module, for mobile terminal according to the version number of locally stored legacy version installation file and MD5 value The application program installation file initiated updates request.
CN201310749085.9A 2013-12-31 2013-12-31 Incremental file generating method, and application program installing file updating method and device Active CN103713928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310749085.9A CN103713928B (en) 2013-12-31 2013-12-31 Incremental file generating method, and application program installing file updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310749085.9A CN103713928B (en) 2013-12-31 2013-12-31 Incremental file generating method, and application program installing file updating method and device

Publications (2)

Publication Number Publication Date
CN103713928A CN103713928A (en) 2014-04-09
CN103713928B true CN103713928B (en) 2017-02-22

Family

ID=50406931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310749085.9A Active CN103713928B (en) 2013-12-31 2013-12-31 Incremental file generating method, and application program installing file updating method and device

Country Status (1)

Country Link
CN (1) CN103713928B (en)

Families Citing this family (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404521B (en) * 2014-05-30 2017-05-31 广州市动景计算机科技有限公司 A kind of method for updating increment and relevant apparatus
CN104965719B (en) * 2014-06-26 2018-07-06 腾讯科技(深圳)有限公司 Using installation file generation method and device
CN104965720B (en) * 2014-07-03 2018-10-19 腾讯科技(深圳)有限公司 Using installation method and device
CN104965721B (en) * 2014-07-10 2019-03-19 腾讯科技(深圳)有限公司 The method and device that a kind of pair of application program is updated
CN105468396A (en) * 2014-09-11 2016-04-06 深圳Tcl数字技术有限公司 Generating method for differential package, upgrading method, generating apparatus, and Linux terminal
CN104281504B (en) * 2014-10-30 2018-03-27 广东欧珀移动通信有限公司 A kind of method and system of the application data backup of storage reduction based on MD5 codes
CN104375870A (en) * 2014-12-03 2015-02-25 广州广电运通金融电子股份有限公司 Self-service terminal software remote upgrading method and system and upgrading package creation method
CN105760183A (en) * 2014-12-15 2016-07-13 北京奇虎科技有限公司 File processing method, device, and communication system
CN104793972A (en) * 2015-04-17 2015-07-22 北京大学深圳研究院 Method and device for updating data packets
CN104951337B (en) * 2015-05-28 2018-08-07 小米科技有限责任公司 File increment update method and device
CN106293793A (en) * 2015-06-02 2017-01-04 西安中兴新软件有限责任公司 The method for upgrading software of a kind of terminal, device and system
CN104991791B (en) * 2015-06-09 2018-03-02 北京奇虎科技有限公司 The increment upgrading dissemination method and device of a kind of file
CN106648716A (en) * 2015-10-30 2017-05-10 北京数码视讯科技股份有限公司 Increment updating method, server and intelligent card
CN106886433A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 The update method and device of client software
CN106909404A (en) * 2015-12-22 2017-06-30 博雅网络游戏开发(深圳)有限公司 Oftware updating method and system
CN105635277A (en) * 2015-12-30 2016-06-01 北京京东尚科信息技术有限公司 Upgrade packet providing method and device and client side upgrade method and device
CN105677398A (en) * 2015-12-31 2016-06-15 中海网络科技股份有限公司 Universal embedded computer software on-line upgrading method
CN105739971B (en) * 2016-01-20 2019-03-08 网易(杭州)网络有限公司 Verify generation, application method and the device of file
CN106648723A (en) * 2016-05-26 2017-05-10 广州优视网络科技有限公司 Upgrading method and device of iOS system application program and system
CN106095455A (en) * 2016-06-17 2016-11-09 北京小米移动软件有限公司 A kind of application update method and device
CN106462430B (en) * 2016-08-29 2020-06-02 北京小米移动软件有限公司 Application upgrade package obtaining method and device
CN106648582B (en) * 2016-09-19 2020-01-31 浪潮通用软件有限公司 method for realizing international same-name resource file deployment and update
CN106775802B (en) * 2016-11-14 2023-04-28 福建天泉教育科技有限公司 Method and system for quickly updating mass small files
CN106547572B (en) * 2016-12-06 2020-01-31 恒生电子股份有限公司 program file comparison method and device
CN106547573B (en) * 2016-12-06 2020-01-31 恒生电子股份有限公司 program file comparison method and device
CN108614710A (en) * 2016-12-26 2018-10-02 上海广升信息技术股份有限公司 A kind of difference restoring method of Android system application program
CN106686578A (en) * 2016-12-28 2017-05-17 深圳天珑无线科技有限公司 Difference package generation method and apparatus
CN108287839B (en) * 2017-01-09 2022-01-28 阿里巴巴集团控股有限公司 Page loading method and equipment
CN108519884B (en) * 2017-02-27 2022-09-27 腾讯科技(深圳)有限公司 Application program installation package updating method, fusion method and related device
CN107038026A (en) * 2017-02-28 2017-08-11 中国科学院信息工程研究所 The automatic machine update method and system of a kind of increment type
CN108804130B (en) * 2017-05-03 2020-12-01 腾讯科技(深圳)有限公司 Program installation package generation method and device
CN110018994B (en) * 2017-11-02 2021-02-09 华为终端有限公司 Method for updating file system, network device and computer readable storage medium
CN108228227B (en) * 2017-12-29 2021-07-02 北京元心科技有限公司 Directory difference method and device and corresponding terminal
CN108228225B (en) * 2017-12-29 2021-07-02 北京元心科技有限公司 Differential packet generation method and device and corresponding terminal
CN108733400A (en) * 2018-04-27 2018-11-02 新光互联投资管理有限公司 A kind of hot update method of App increments and service system
CN108845824A (en) * 2018-07-10 2018-11-20 平安科技(深圳)有限公司 Using update method and device and computer readable storage medium
CN109324821B (en) * 2018-10-10 2021-11-05 湖南长城医疗科技有限公司 Self-service terminal system version management method
CN109857423B (en) * 2018-12-20 2022-06-10 Oppo广东移动通信有限公司 Program version updating method and device, server and readable storage medium
CN109656614A (en) * 2018-12-24 2019-04-19 中国银行股份有限公司 The processing method of file, apparatus and system
CN111488410B (en) * 2019-01-25 2023-05-09 阿里巴巴集团控股有限公司 NDS data differential processing method, NDS data differential processing device, NDS data updating device and electronic equipment
CN110633253A (en) * 2019-08-20 2019-12-31 贵州省广播电视信息网络股份有限公司 Method and system for decompressing compression packet and generating project file
CN110837392A (en) * 2019-11-06 2020-02-25 四川天邑康和通信股份有限公司 Method and system for self-adaptive differential upgrading of IPTV (Internet protocol television) or convergence gateway
CN114303131A (en) * 2019-11-18 2022-04-08 深圳市欢太科技有限公司 File processing method, file processing device and terminal equipment
CN114402286A (en) * 2019-11-18 2022-04-26 深圳市欢太科技有限公司 File processing method, file processing device and terminal equipment
WO2021114101A1 (en) * 2019-12-10 2021-06-17 深圳市欢太科技有限公司 Method and apparatus for incremental update of file, and terminal and computer-readable storage medium
CN110955450B (en) * 2019-12-16 2023-09-29 北京智游网安科技有限公司 Attribution statistical method, system and storage medium of application package file
CN111142924B (en) * 2020-01-21 2022-08-12 江苏艾佳家居用品有限公司 Application increment updating method based on Bsdiff method
CN111414339B (en) * 2020-03-13 2023-04-25 浙江大华技术股份有限公司 File processing method, system, device, equipment and medium
CN111538508A (en) * 2020-04-16 2020-08-14 维沃移动通信有限公司 Application program installation method and electronic equipment
CN117407031B (en) * 2023-11-27 2024-04-26 深圳麦风科技有限公司 Patch package upgrade file generation method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809818A (en) * 2003-06-20 2006-07-26 创道软件有限公司 Processing software for use in generating difference files
CN101002406A (en) * 2004-06-10 2007-07-18 三星电子株式会社 Apparatus and method for efficient generation of delta files for over-the-air upgrades in a wireless network
CN102065118A (en) * 2010-09-16 2011-05-18 深圳市九洲电器有限公司 Method for updating network equipment and device for implementing method
CN102081536A (en) * 2010-12-30 2011-06-01 华为终端有限公司 Method for updating increment, and server
CN103051723A (en) * 2012-12-27 2013-04-17 广州市动景计算机科技有限公司 Increment updating method as well as server and terminal
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7200689B2 (en) * 2003-07-31 2007-04-03 International Business Machines Corporation Cacheable DMA

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809818A (en) * 2003-06-20 2006-07-26 创道软件有限公司 Processing software for use in generating difference files
CN101002406A (en) * 2004-06-10 2007-07-18 三星电子株式会社 Apparatus and method for efficient generation of delta files for over-the-air upgrades in a wireless network
CN102065118A (en) * 2010-09-16 2011-05-18 深圳市九洲电器有限公司 Method for updating network equipment and device for implementing method
CN102081536A (en) * 2010-12-30 2011-06-01 华为终端有限公司 Method for updating increment, and server
CN103051723A (en) * 2012-12-27 2013-04-17 广州市动景计算机科技有限公司 Increment updating method as well as server and terminal
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package

Also Published As

Publication number Publication date
CN103713928A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
CN103713928B (en) Incremental file generating method, and application program installing file updating method and device
CN112765271B (en) Block chain transaction index storage method and device, computer equipment and medium
KR102042723B1 (en) Methods for updating applications
US11569982B2 (en) Blockchain compression using summary and padding blocks
CN112041839A (en) Coordinating service lux software detection with client lux software detection
CN104657170A (en) Data updating method, device and system
CN105049486A (en) Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
CN105095226A (en) Method and apparatus for loading webpage resource
CN101572707B (en) Method, apparatus and system for validating certificate state
CN105740016B (en) Increment issuing method and device, upgrading method and device of application program
CN110599169A (en) Data processing method, device, terminal and medium
CN110162964B (en) Method, device and system for checking file tampering
CN109542851A (en) File updating method, apparatus and system
CN102567339A (en) Method, device and system for acquiring start page
CN111008034B (en) Patch generation method and device
CN111273863B (en) Cache management
CN112947981A (en) Application program resource updating method and device, terminal equipment and server
US10783120B1 (en) Service-based storage synchronization
CN104881454A (en) Updating method and system of parameter
US9633035B2 (en) Storage system and methods for time continuum data retrieval
CN103368951A (en) File downloading method and system
CN109088914B (en) Block generation method, block chain ecosystem and computer readable storage medium
CN104063377A (en) Information processing method and electronic equipment using same
CN107229655A (en) The update method of page static file, apparatus and system
CN104516764B (en) Compressed file dynamic packaging method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100083, Haidian District, Beijing, Fu Cheng Road, No. 28 excellent building, block A, floor 12

Applicant after: Excelle View Technology Co., Ltd.

Address before: 100080 Beijing City, Haidian District Suzhou Street No. 29 building 16 room 10-20 Scandinavia

Applicant before: Excelle View Technology Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210108

Address after: 310052 room 508, 5th floor, building 4, No. 699 Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100083 12 / F, block a, Yousheng building, 28 Chengfu Road, Haidian District, Beijing

Patentee before: UC MOBILE Ltd.