CN106708581A - Application update package generation method and device and application update method and device - Google Patents

Application update package generation method and device and application update method and device Download PDF

Info

Publication number
CN106708581A
CN106708581A CN201611228239.XA CN201611228239A CN106708581A CN 106708581 A CN106708581 A CN 106708581A CN 201611228239 A CN201611228239 A CN 201611228239A CN 106708581 A CN106708581 A CN 106708581A
Authority
CN
China
Prior art keywords
version
apk
type
complete
file destination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611228239.XA
Other languages
Chinese (zh)
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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611228239.XA priority Critical patent/CN106708581A/en
Publication of CN106708581A publication Critical patent/CN106708581A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an application update package generation method and device and an application update method and device. The application update package generation method comprises the steps of obtaining a first version of the complete installation package APK and a second version complete APK of the to-be-updated application, wherein the first version is the highest version of the second version; making the comparison between the all the files in the complete APK of the first version and the all the files in the complete APK of the second version, obtaining at least one target files, wherein the types of the target files include at least one types of the replace type, new type and delete type; based on the types of the target files, conducting the update package production operation corresponding to the type to obtain the update package. The technical scheme applies the method of file comparison, greatly reduces the data amount of the update package, makes users consume less data flow in the process of application update. The system resources consumed during the update are also small.

Description

The update method, the device that update bag generation method, device and application of application
Technical field
The present invention relates to field of computer technology, and in particular to application updates bag generation method, device and application more New method, device.
Background technology
With the change of user's request, and the reparation to leak, the version of application program is to constantly update.Below Show a kind of common renewal bag preparation method in the prior art:The complete installation kit APK of redaction is made, is updated in application When, the APK is mounted directly, replace the former APK installed in the Android device.The shortcoming of this mode is that renewal bag is complete APK, data volume is larger, thus larger volume of transmitted data when updating bag is obtained, and performs the money that consumes when updating operation Source is also larger.
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, the device that update bag generation method, device and application of the application of problem.
According to one aspect of the present invention, there is provided a kind of renewal bag generation method of application, including:
Obtain the complete installation kit APK and the complete APK of the second edition of the first version of application to be updated;The first edition Originally it is the highest version of the second edition;
The all texts in complete APK by the All Files in the complete APK of the first version with the second edition Part is contrasted, and obtains at least one file destination;The type of the file destination include it is following at least one:Replace class Type, increases type newly, deletes type;
According to the type of each file destination, execution renewal corresponding with the type is packed and operated, and obtains updating bag.
Alternatively, the complete APK of the All Files in the complete APK by the first version and the second edition In All Files contrasted, obtaining at least one file destination includes:
All Files name identical text in complete APK by the complete APK of the first version with the second edition Part is contrasted;
If there is inconsistent file, then the corresponding document in the first version and the second edition is designated as Replace the file destination of type.
Alternatively, the All Files famous prime minister in the complete APK by the complete APK of the first version with the second edition Same file carries out contrast to be included:
To the All Files name identical text in the complete APK of the first version and complete APK of the second edition Part, obtains the crc property values of each file respectively;
All Files name identical text in complete APK by the complete APK of the first version with the second edition The crc property values of part are contrasted.
Alternatively, the complete APK of the All Files in the complete APK by the first version and the second edition In All Files contrasted, obtaining at least one file destination includes:
If a file is present in the complete APK of first version, and this document is not present in the complete APK of the second edition In, then this document is designated as the file destination of newly-increased type.
Alternatively, the complete APK of the All Files in the complete APK by the first version and the second edition In All Files contrasted, obtaining at least one file destination includes:
If a file is present in the complete APK of the second edition, and this document is not present in the complete APK of first version In, then this document is designated as deleting the file destination of type.
Alternatively, the type according to the pending file for updating operation, performs renewal corresponding with the type and packs Operate including:
File destination to replacing type, by all file destinations, solution is pressed out from respective APK respectively, calculation document Difference between name identical file destination, result of calculation is added and updates bag, so that described update bag when mounted, according to described Result of calculation is replaced to corresponding file destination in the APK of the second edition;
File destination to increasing type newly, the file destination in the APK of first version is added and updates bag, and wrapped updating Middle mark performs addition operation to this document, so that described update bag when mounted, corresponding file destination is added into second In the APK of version;
File destination to deleting type, marks in bag is updated and performs deletion action to this document, so that the renewal Bag when mounted, corresponding file destination is deleted from the APK of the second edition.
Alternatively, the difference between the calculation document name identical file destination includes:
Use the difference between bsdiff algorithms calculation document name identical file destination.
Alternatively, the method also includes:
The version information correspondence of renewal bag, the version information of first version and the second edition that will obtain is preserved.
According to another aspect of the present invention, there is provided a kind of update method of application, including:
Obtain the renewal bag of application to be updated;
The renewal bag is parsed, at least one file destination and renewal corresponding with the type of file destination is determined Operation;The type of the file destination include it is following at least one:Type is replaced, type is increased newly, type is deleted;
Complete installation kit APK to the current version of application to be updated performs renewal behaviour corresponding with the type of file destination Make, obtain the complete APK of version to be updated;
The complete APK of the version to be updated is installed.
Alternatively, the complete installation kit APK of the current version to application to be updated performs the type with file destination Corresponding to update operation, the complete APK for obtaining version to be updated includes:
When the file destination is to replace type, extracted according to version to be updated and current version from the renewal bag The result of calculation that middle file destination difference is calculated, is replaced to corresponding file destination in the APK of current version;
When the file destination is newly-increased type, the file destination is extracted from the renewal bag, be added to In the APK of current version;
When the file destination is to delete type, the file destination is deleted from the APK of current version.
Alternatively, the result of calculation is to use bsdiff algorithms same to file famous prime minister in version to be updated and current version File destination between difference be calculated.
Alternatively, the renewal bag for obtaining application to be updated includes:
Obtain the renewal corresponding with the version information of application current version to be updated and the version information of version to be updated Bag.
According to another aspect of the present invention, there is provided a kind of renewal bag generating means of application, including:
APK acquiring units, are suitable to obtain the complete of the complete installation kit APK of the first version of application to be updated and the second edition Whole APK;The first version is the highest version of the second edition;
Comparison unit, the All Files being suitable in the complete APK by the first version is complete with the second edition All Files in APK is contrasted, and obtains at least one file destination;The type of the file destination include it is following in extremely Few one kind:Type is replaced, type is increased newly, type is deleted;
Production unit, is suitable to the type according to each file destination, and execution renewal corresponding with the type is packed and operated, obtains Wrapped to updating.
Alternatively, the comparison unit, is suitable to the complete APK of the first version is complete with the second edition All Files name identical file in APK is contrasted;If there is inconsistent file, then by the first version and institute State the file destination that the corresponding document in the second edition is designated as replacing type.
Alternatively, the comparison unit, is suitable to complete with the second edition to the complete APK of the first version All Files name identical file in APK, obtains the crc property values of each file respectively;By the complete APK of the first version Crc property values with the All Files name identical file in the complete APK of the second edition are contrasted.
Alternatively, the comparison unit, is suitable in the complete APK that a file is present in first version, and this document When being not present in the complete APK of the second edition, this document is designated as the file destination of newly-increased type.
Alternatively, the comparison unit, is suitable in the complete APK that a file is present in the second edition, and this document When being not present in the complete APK of first version, this document is designated as deleting the file destination of type.
Alternatively, the production unit, is suitable to the file destination to replacing type, by all file destinations respectively from respective APK in solution press out, calculation document name identical file destination between difference, by result of calculation add update bag so that institute State renewal bag when mounted, corresponding file destination is replaced in the APK according to the result of calculation to the second edition;And It is suitable to the file destination to increasing type newly, the file destination in the APK of first version is added and updates bag, and is updating bag acceptance of the bid Note performs addition operation to this document, so that described update bag when mounted, corresponding file destination is added into the second edition APK in;And it is suitable to the file destination to deleting type, marked in bag is updated and deletion action is performed to this document, so that It is described to update bag when mounted, corresponding file destination is deleted from the APK of the second edition.
Alternatively, the production unit, is adapted in use to the difference between bsdiff algorithms calculation document name identical file destination It is different.
Alternatively, the device also includes:Memory cell, be suitable to will obtain renewal bag, the version information of first version and The version information correspondence of the second edition is preserved.
According to another aspect of the invention, there is provided a kind of updating device of application, including:
Bag acquiring unit is updated, is suitable to obtain the renewal bag of application to be updated;
Packet analyzing unit is updated, is suitable to parse the renewal bag, determine at least one file destination and and target The type of file is corresponding to update operation;The type of the file destination include it is following at least one:Type is replaced, is increased newly Type, deletes type;
Installation kit changes unit, is suitable to perform the complete installation kit APK of the current version of application to be updated and target text The type of part is corresponding to update operation, obtains the complete APK of version to be updated;
Installation unit, is suitable to install the complete APK of the version to be updated.
Alternatively, the installation kit modification unit, is suitable to, when the file destination is to replace type, bag be updated from described It is middle to extract the result of calculation being calculated according to file destination difference in version to be updated and current version, to current version Corresponding file destination is replaced in APK;And be suitable to when the file destination is newly-increased type, from the renewal bag The file destination is extracted, is added in the APK of current version;And be suitable in the file destination to delete type When, the file destination is deleted from the APK of current version.
Alternatively, the result of calculation is to use bsdiff algorithms same to file famous prime minister in version to be updated and current version File destination between difference be calculated.
Alternatively, the renewal bag acquiring unit, is suitable to the version information of acquisition and application current version to be updated and treats The corresponding renewal bag of the version information of more redaction.
From the foregoing, technical scheme, by the complete installation kit APK and the second edition that contrast first version Complete APK in All Files, using differential file therein as file destination, according further to the class of each file destination Type, execution renewal corresponding with the type is packed and operated, and obtains updating bag.The technical scheme file compare by way of, Substantially reduce the data volume for updating bag so that user to application when being updated, and the data traffic of consumption is smaller, updating When the system resource that consumes it is also less.
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:
Fig. 1 shows a kind of schematic flow sheet of the renewal bag generation method of application according to an embodiment of the invention;
Fig. 2 shows a kind of schematic flow sheet of the update method of application according to an embodiment of the invention;
Fig. 3 shows a kind of structural representation of the renewal bag generating means of application according to an embodiment of the invention;
Fig. 4 shows a kind of structural representation of the updating device of application according to an embodiment of the invention.
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.
Fig. 1 shows a kind of schematic flow sheet of the renewal bag generation method of application according to an embodiment of the invention, As shown in figure 1, the method includes:
Step S110, obtains the complete APK and the complete APK of the second edition of the first version of application to be updated, the first edition Originally it is the highest version of the second edition.For example, first version is 1.1 versions, the second edition is 1.0 versions.
Step S120, by all texts in the complete APK of the All Files in the complete APK of first version and the second edition Part is contrasted, and obtains at least one file destination;The type of file destination include it is following at least one:Replace type, Newly-increased type, deletes type.For example, there will be the file of difference as file destination.
Step S130, according to the type of each file destination, execution renewal corresponding with the type is packed and operated, and is obtained more New bag.
It can be seen that, the method shown in Fig. 1, by contrasting the complete installation kit APK of the first version and complete APK of the second edition In All Files, using differential file therein as file destination, according further to the type of each file destination, perform with The corresponding renewal of the type is packed and operated, and obtains updating bag.The technical scheme is substantially reduced by way of file is compared Update the data volume of bag so that user to application when being updated, and the data traffic of consumption is smaller, what is consumed when updating is System resource is also less.
In one embodiment of the invention, in the method shown in Fig. 1, by all texts in the complete APK of first version Part is contrasted with the All Files in the complete APK of the second edition, and obtaining at least one file destination includes:By first version The complete APK and complete APK of the second edition in All Files name identical file contrasted;If there is inconsistent File, then the corresponding document in first version and the second edition is designated as replacing the file destination of type.
For example there is file icon.jpg in the APK of 1.0 versions, this document is replaced in 1.1 versions, but Will its be named as icon.jpg.The filename of both of these documents is although identical, but actually different, therefore by APK , it is necessary to be replaced to the icon.jpg in the APK file of 1.0 versions during by 1.0 version updatings to 1.1 version.Therefore at this In embodiment, All Files name identical file in new and old two versions is contrasted correspondingly, if unanimously, then Do not carry out any treatment;If inconsistent, then two files just are all designated as replacing the file destination of type.
On how judging the whether consistent problem of two files, The present invention gives a kind of accurately and easily side of judgement Method:In one embodiment of the invention, in the above method, by the complete APK of the complete APK of first version and the second edition All Files name identical file carry out contrast and include:To in the complete APK of first version and the complete APK of the second edition All Files name identical file, obtains the crc property values of each file respectively;By the complete APK and the second edition of first version Complete APK in All Files name identical file crc property values contrasted.
APK is a kind of compressed package of special zip forms, and in APK, each file has a unique crc Property value.Crc property values are generated according to CRC (Cyclic Redundancy Code, CRC) algorithm, typically For, crc property values can serve as the completeness check of APK, that is, judge whether APK is modified.Utilize in the present embodiment The characteristics of crc property values change after file modification, to file famous prime minister in new and old edition with file, first from respective The crc property values of file are read in APK, crc property values is contrasted afterwards whether identical, it is possible to rapidly and accurately judge new old edition Whether the file of the same name in this is identical file.
In one embodiment of the invention, in the above method, by the All Files in the complete APK of first version and All Files in the complete APK of two versions is contrasted, and obtaining at least one file destination includes:If a file is present in In the complete APK of first version, and this document is not present in the complete APK of the second edition, then this document is designated as into newly-increased class The file destination of type.
In one embodiment of the invention, in the above method, by the All Files in the complete APK of first version and All Files in the complete APK of two versions is contrasted, and obtaining at least one file destination includes:If a file is present in In the complete APK of the second edition, and this document is not present in the complete APK of first version, then be designated as this document deleting class The file destination of type.
Both the above is implemented to be illustrated two kinds of situations for updating and packing and be likely to occur during work:Increased newly in redaction File, or delete the file being originally present in legacy version.It is marked as newly-increased type respectively in the above embodiments With the file destination for deleting type.
As it was noted above, there may be replacement, file destination that is newly-increased and deleting type in embodiments of the invention.And it is every The file of type has corresponding renewal to pack to operate, shown below is some examples:
In one embodiment of the invention, in the above method, according to the type of the pending file for updating operation, perform It is corresponding with the type renewal pack operate including:File destination to replacing type, by all file destinations respectively from each From APK in solution press out, calculation document name identical file destination between difference, by result of calculation add update bag so that Update bag when mounted, corresponding file destination is replaced in the APK according to result of calculation to the second edition;To increasing type newly File destination, by the APK of first version file destination add update bag, and update bag in mark to this document perform Addition operation, so as to update bag when mounted, corresponding file destination is added in the APK of the second edition;To deleting type File destination, update bag in mark to this document perform deletion action so that update bag when mounted, by corresponding target File is deleted from the APK of the second edition.
For the file for replacing type, the data volume of bag is updated to reduce, be not by the file destination in redaction It is added directly into renewal bag, but calculates its difference with respective objects file in legacy version, the size of this result of calculation The size of file destination typically less than in redaction.Calculated, it is necessary to first be decompressed file destination to perform.At this In one embodiment of invention, the difference between calculation document name identical file destination includes:Text is calculated using bsdiff algorithms Difference between part name identical file destination.Bsdiff algorithms are a kind of two-stage system difference algorithms, can calculate two targets Difference between file.
For the file destination for deleting type, marked in bag is updated and deletion action is performed to this document, for example, only marked Deletion action is performed to tri- files of a, b, c, without these three files are put into renewal bag.For the target for increasing type newly File, then be that the file destination in the APK by first version adds renewal bag, and compressed content directly so is added into renewal bag In, also reduce the data volume for updating bag.
Because the action type that may be performed there are three kinds, operation 0,1,2 can be respectively marked as, so update bag In be claimed as which file perform which kind of operation it is also more simple, certainly, it is also desirable to update bag in write call corresponding operating Specific code.
In one embodiment of the invention, the above method also includes:Renewal bag, the version letter of first version that will be obtained The version information correspondence of breath and the second edition is preserved.
For an application, the quantity of its version is probably more, and in uncontrollable each android terminal The application of installation is all secondary new version.For example, newest version is 1.3, however it is necessary that the version for updating is 1.0,1.1, 1.2.Therefore according to above-described embodiment, it is necessary to make respectively by the renewal bag of 1.0 version updatings to 1.3 versions, by 1.1 versions more New renewal bag to 1.3 versions and by the renewal bag of 1.2 version updatings to 1.3 versions.When updating, it is necessary to first obtain current peace The version (such as 1.0) installed in tall and erect equipment, then selects the corresponding bag that updates (by the renewal of 1.0 version updatings to 1.3 versions Bag).So it is accomplished by the preservation of renewal bag, renewal bag, the version information of first version and the second edition that will be obtained Version information correspondence is preserved, the treatment that can also be serialized to the version information of new and old edition.
Fig. 2 shows a kind of schematic flow sheet of the update method of application according to an embodiment of the invention, such as Fig. 2 institutes Show, the method includes:
Step S210, obtains the renewal bag of application to be updated;
Step S220, parses to updating bag, determines at least one file destination and corresponding with the type of file destination Renewal operation;The type of file destination include it is following at least one:Type is replaced, type is increased newly, type is deleted.
Step S230, complete installation kit APK execution and the type pair of file destination to the current version of application to be updated The renewal answered is operated, and obtains the complete APK of version to be updated.
Step S240, installs the complete APK of version to be updated.
It can be seen that, the renewal bag in the method shown in Fig. 2 can be by the generation side in previous embodiment using renewal bag Method generation, thus when renewal bag is installed, in addition it is also necessary to get and be mounted with the intelligent terminal of current application to be updated, treat Update the complete APK of the current version of application.These APK are generally held under system directory, it is necessary to certain authority is obtained Take.Can perform and update operation according to the parsing to updating bag, the complete APK of the current version of application to be updated afterwards, also It is that the APK is modified, obtains the complete APK of version to be updated.For example, the current version of application to be updated is 1.0, treat more Redaction is 1.1, then get the renewal bag of 1.0-1.1 versions, it is possible to realize the method shown in Fig. 2.Therefore at this In one embodiment of invention, the renewal bag for obtaining application to be updated includes:Obtain the version with application current version to be updated The information renewal bag corresponding with the version information of version to be updated.Specifically, can obtain application to be updated and work as when updating The version information of preceding version, sends to updating server, by server according to the version information of application current version to be updated and The version information (the usually version information of latest edition) of version to be updated, issues corresponding renewal and wraps.
In one embodiment of the invention, in the above method, to the complete installation kit of the current version of application to be updated APK performs update corresponding with the type of file destination and operates, and the complete APK for obtaining version to be updated includes:Work as file destination To replace during type, the meter being calculated according to file destination difference in version to be updated and current version is extracted from bag is updated Result is calculated, corresponding file destination in the APK of current version is replaced;When file destination is newly-increased type, from renewal File destination is extracted in bag, is added in the APK of current version;When file destination is to delete type, from current version APK in delete target file.Specifically, result of calculation is to use bsdiff algorithms to version to be updated and current version Chinese What the difference between part name identical file destination was calculated.
If calculated the APK of two different editions using bsdiff, it is also possible to obtain two differences of version simultaneously Making renewal bag, but its resource for being consumed when mounted accordingly is greater than the method taken in the present embodiment.
Fig. 3 shows a kind of structural representation of the renewal bag producing device of Android application according to an embodiment of the invention Figure, as shown in figure 3, the renewal bag producing device 300 of Android application includes:
APK acquiring units 310, are suitable to obtain the complete installation kit APK and the second edition of the first version of application to be updated Complete APK.
Comparison unit 320, is suitable in the complete APK of the All Files in the complete APK by first version and the second edition All Files contrasted, obtain at least one file destination.
Production unit 330, is suitable to the type according to each file destination, and execution renewal corresponding with the type is packed does exercises Make, obtain updating bag.
It can be seen that, the device shown in Fig. 3, by the mutual cooperation of each unit, contrast the complete installation kit APK of first version with All Files in the complete APK of the second edition, using differential file therein as file destination, according further to each target The type of file, execution renewal corresponding with the type is packed and operated, and obtains updating bag.The technical scheme is compared by file Mode, substantially reduce update bag data volume so that user to application be updated when, the data traffic of consumption is more Small, the system resource consumed when updating is also less.
In one embodiment of the invention, in the device shown in Fig. 3, comparison unit 320 is suitable to the complete of first version All Files name identical file in the whole APK and complete APK of the second edition is contrasted;If there is inconsistent text Part, then the corresponding document in first version and the second edition is designated as replacing the file destination of type.
For example there is file icon.jpg in the APK of 1.0 versions, this document is replaced in 1.1 versions, but Will its be named as icon.jpg.The filename of both of these documents is although identical, but actually different, therefore by APK , it is necessary to be replaced to the icon.jpg in the APK file of 1.0 versions during by 1.0 version updatings to 1.1 version.Therefore at this In embodiment, All Files name identical file in new and old two versions is contrasted correspondingly, if unanimously, then Do not carry out any treatment;If inconsistent, then two files just are all designated as replacing the file destination of type.
On how judging the whether consistent problem of two files, The present invention gives a kind of accurately and easily side of judgement Method:In one embodiment of the invention, in said apparatus, comparison unit 320 is suitable to the complete APK to first version and All Files name identical file in the complete APK of two versions, obtains the crc property values of each file respectively;By first version The complete APK and complete APK of the second edition in All Files name identical file crc property values contrasted.
APK is a kind of compressed package of special zip forms, and in APK, each file has a unique crc Property value.Crc property values are generated according to CRC (Cyclic Redundancy Code, CRC) algorithm, typically For, crc property values can serve as the completeness check of APK, that is, judge whether APK is modified.Utilize in the present embodiment The characteristics of crc property values change after file modification, to file famous prime minister in new and old edition with file, first from respective The crc property values of file are read in APK, crc property values is contrasted afterwards whether identical, it is possible to rapidly and accurately judge new old edition Whether the file of the same name in this is identical file.
In one embodiment of the invention, in the device shown in Fig. 3, comparison unit 320 is suitable in a file presence In the complete APK of first version, and this document is when being not present in the complete APK of the second edition, and this document is designated as to increase newly The file destination of type.
In one embodiment of the invention, in the device shown in Fig. 3, comparison unit 320 is suitable in a file presence In the complete APK of the second edition, and this document is when being not present in the complete APK of first version, and this document is designated as to delete The file destination of type.
Both the above is implemented to be illustrated two kinds of situations for updating and packing and be likely to occur during work:Increased newly in redaction File, or delete the file being originally present in legacy version.It is marked as newly-increased type respectively in the above embodiments With the file destination for deleting type.
As it was noted above, there may be replacement, file destination that is newly-increased and deleting type in embodiments of the invention.And it is every The file of type has corresponding renewal to pack to operate, shown below is some examples:
In one embodiment of the invention, in said apparatus, production unit 330 is suitable to the target text to replacing type Part, by all file destinations, solution is pressed out from respective APK respectively, the difference between calculation document name identical file destination, Result of calculation is added and updates bag, so as to update bag when mounted, corresponding mesh in the APK according to result of calculation to the second edition Mark file is replaced;And it is suitable to the file destination to increasing type newly, the file destination in the APK of first version is added more New bag, and marked in bag is updated to this document execution addition operation, so as to update bag when mounted, by corresponding file destination It is added in the APK of the second edition;And it is suitable to the file destination to deleting type, marked in bag is updated and this document is performed Deletion action, so as to update bag when mounted, corresponding file destination is deleted from the APK of the second edition.
For the file for replacing type, the data volume of bag is updated to reduce, be not by the file destination in redaction It is added directly into renewal bag, but calculates its difference with respective objects file in legacy version, the size of this result of calculation The size of file destination typically less than in redaction.Calculated, it is necessary to first be decompressed file destination to perform.At this In one embodiment of invention, in said apparatus, production unit 330 is adapted in use to bsdiff algorithms calculation document name identical Difference between file destination.Use the difference between bsdiff algorithms calculation document name identical file destination.Bsdiff algorithms are A kind of two-stage system difference algorithm, can calculate the difference between two file destinations.
For the file destination for deleting type, marked in bag is updated and deletion action is performed to this document, for example, only marked Deletion action is performed to tri- files of a, b, c, without these three files are put into renewal bag.For the target for increasing type newly File, then be that the file destination in the APK by first version adds renewal bag, and compressed content directly so is added into renewal bag In, also reduce the data volume for updating bag.
Because the action type that may be performed there are three kinds, operation 0,1,2 can be respectively marked as, so update bag In be claimed as which file perform which kind of operation it is also more simple, certainly, it is also desirable to update bag in write call corresponding operating Specific code.
In one embodiment of the invention, the device shown in Fig. 3 also includes:Memory cell 340, is suitable to obtain more The version information correspondence of new bag, the version information of first version and the second edition is preserved.
Fig. 4 shows a kind of structural representation of the updating device of application according to an embodiment of the invention, such as Fig. 4 institutes Show, the updating device 400 of application includes:
Bag acquiring unit 410 is updated, is suitable to obtain the renewal bag of application to be updated.
Update Packet analyzing unit 420, be suitable to be parsed to updating bag, determine at least one file destination and with target text The type of part is corresponding to update operation;The type of file destination include it is following at least one:Type is replaced, type is increased newly, Delete type;
Installation kit changes unit 430, is suitable to perform and target the complete installation kit APK of the current version of application to be updated The type of file is corresponding to update operation, obtains the complete APK of version to be updated;
Installation unit 440, is suitable to install the complete APK of version to be updated.
It can be seen that, the renewal bag in the device shown in Fig. 4 can be filled using the generation for updating bag by previous embodiment Generation is put, thus when renewal bag is installed, in addition it is also necessary to get and be mounted with the intelligent terminal of current application to be updated, treat Update the complete APK of the current version of application.These APK are generally held under system directory, it is necessary to certain authority is obtained Take.Can perform and update operation according to the parsing to updating bag, the complete APK of the current version of application to be updated afterwards, also It is that the APK is modified, obtains the complete APK of version to be updated.For example, the current version of application to be updated is 1.0, treat more Redaction is 1.1, then need to get the renewal bag of 1.0-1.1 versions.Therefore in one embodiment of the invention, update Bag acquiring unit, is suitable to obtain corresponding with the version information of application current version to be updated and the version information of version to be updated Renewal bag.Specifically, the version information of application current version to be updated when updating, can be obtained, is sent to more new demand servicing Device, it is (usually newest according to the version information of application current version to be updated and the version information of version to be updated by server The version information of version), issue corresponding renewal and wrap.
In one embodiment of the invention, in said apparatus, installation kit modification unit 430, be suitable to be in file destination When replacing type, the calculating being calculated according to file destination difference in version to be updated and current version is extracted from bag is updated As a result, corresponding file destination in the APK of current version is replaced;And be suitable to when file destination is newly-increased type, File destination is extracted from bag is updated, is added in the APK of current version;And be suitable in file destination to delete type When, the delete target file from the APK of current version.Specifically, result of calculation is to use bsdiff algorithms to version to be updated And in current version file famous prime minister with file destination between difference be calculated.
If calculated the APK of two different editions using bsdiff, it is also possible to obtain two differences of version simultaneously Making renewal bag, but its resource for being consumed when mounted accordingly is greater than the method taken in the present embodiment.
In sum, technical scheme, by the complete installation kit APK and the second edition that contrast first version All Files in complete APK, using differential file therein as file destination, according further to the class of each file destination Type, execution renewal corresponding with the type is packed and operated, and obtains updating bag.The technical scheme file compare by way of, Substantially reduce the data volume for updating bag so that user to application when being updated, and the data traffic of consumption is smaller, updating When the system resource that consumes it is also less.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual bench or miscellaneous equipment provided herein. Various fexible units can also be used together with based on teaching in this.As described above, construct required by this kind of device 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 Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) 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 is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation 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 The renewal of microprocessor or digital signal processor (DSP) to realize Android application according to embodiments of the present invention is packed and filled The some or all functions of some or all parts in putting.The present invention is also implemented as described here for performing Method some or all equipment or program of device (for example, computer program and computer program product).This Sample realizes that program of the invention can be stored on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or with any other Form 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 renewal bag generation method of application, wherein, the method includes:
Obtain the complete installation kit APK and the complete APK of the second edition of the first version of application to be updated;The first edition Originally it is the highest version of the second edition;
The all texts in complete APK by the All Files in the complete APK of the first version with the second edition Part is contrasted, and obtains at least one file destination;The type of the file destination include it is following at least one:Replace class Type, increases type newly, deletes type;
According to the type of each file destination, execution renewal corresponding with the type is packed and operated, and obtains updating bag.
A2, the method as described in A1, wherein, All Files in the complete APK by the first version with it is described All Files in the complete APK of the second edition is contrasted, and obtaining at least one file destination includes:
All Files name identical text in complete APK by the complete APK of the first version with the second edition Part is contrasted;
If there is inconsistent file, then the corresponding document in the first version and the second edition is designated as Replace the file destination of type.
A3, the method as described in A2, wherein, by the complete APK of the complete APK of the first version and the second edition In All Files name identical file carry out contrast and include:
To the All Files name identical text in the complete APK of the first version and complete APK of the second edition Part, obtains the crc property values of each file respectively;
All Files name identical text in complete APK by the complete APK of the first version with the second edition The crc property values of part are contrasted.
A4, the method as described in A1, wherein, All Files in the complete APK by the first version with it is described All Files in the complete APK of the second edition is contrasted, and obtaining at least one file destination includes:
If a file is present in the complete APK of first version, and this document is not present in the complete APK of the second edition In, then this document is designated as the file destination of newly-increased type.
A5, the method as described in A1, wherein, All Files in the complete APK by the first version with it is described All Files in the complete APK of the second edition is contrasted, and obtaining at least one file destination includes:
If a file is present in the complete APK of the second edition, and this document is not present in the complete APK of first version In, then this document is designated as deleting the file destination of type.
A6, the method as any one of A2-A5, wherein, the type according to the pending file for updating operation, Perform it is corresponding with the type update pack operate including:
File destination to replacing type, by all file destinations, solution is pressed out from respective APK respectively, calculation document Difference between name identical file destination, result of calculation is added and updates bag, so that described update bag when mounted, according to described Result of calculation is replaced to corresponding file destination in the APK of the second edition;
File destination to increasing type newly, the file destination in the APK of first version is added and updates bag, and wrapped updating Middle mark performs addition operation to this document, so that described update bag when mounted, corresponding file destination is added into second In the APK of version;
File destination to deleting type, marks in bag is updated and performs deletion action to this document, so that the renewal Bag when mounted, corresponding file destination is deleted from the APK of the second edition.
A7, the method as described in A6, wherein, the difference between the calculation document name identical file destination includes:
Use the difference between bsdiff algorithms calculation document name identical file destination.
A8, the method as described in A1, wherein, the method also includes:
The version information correspondence of renewal bag, the version information of first version and the second edition that will obtain is preserved.
Embodiments of the invention also disclose B9, a kind of update method of application, wherein, the method includes:
Obtain the renewal bag of application to be updated;
The renewal bag is parsed, at least one file destination and renewal corresponding with the type of file destination is determined Operation;The type of the file destination include it is following at least one:Type is replaced, type is increased newly, type is deleted;
Complete installation kit APK to the current version of application to be updated performs renewal behaviour corresponding with the type of file destination Make, obtain the complete APK of version to be updated;
The complete APK of the version to be updated is installed.
B10, the method as described in B9, wherein, the complete installation kit APK of the current version to application to be updated is performed Corresponding with the type of file destination to update operation, the complete APK for obtaining version to be updated includes:
When the file destination is to replace type, extracted according to version to be updated and current version from the renewal bag The result of calculation that middle file destination difference is calculated, is replaced to corresponding file destination in the APK of current version;
When the file destination is newly-increased type, the file destination is extracted from the renewal bag, be added to In the APK of current version;
When the file destination is to delete type, the file destination is deleted from the APK of current version.
B11, the method as described in B10, wherein, the result of calculation is to use bsdiff algorithms to version to be updated and work as What the difference in preceding version between the same file destination of file famous prime minister was calculated.
B12, the method as described in B9, wherein, the renewal bag for obtaining application to be updated includes:
Obtain the renewal corresponding with the version information of application current version to be updated and the version information of version to be updated Bag.
Embodiments of the invention also disclose the renewal bag generating means of C13, a kind of application, wherein, the device includes:
APK acquiring units, are suitable to obtain the complete of the complete installation kit APK of the first version of application to be updated and the second edition Whole APK;The first version is the highest version of the second edition;
Comparison unit, the All Files being suitable in the complete APK by the first version is complete with the second edition All Files in APK is contrasted, and obtains at least one file destination;The type of the file destination include it is following in extremely Few one kind:Type is replaced, type is increased newly, type is deleted;
Production unit, is suitable to the type according to each file destination, and execution renewal corresponding with the type is packed and operated, obtains Wrapped to updating.
C14, the device as described in C13, wherein,
The comparison unit, is suitable to the institute in the complete APK by the complete APK of the first version with the second edition There is filename identical file to be contrasted;If there is inconsistent file, then by the first version and the second edition Corresponding document in this is designated as replacing the file destination of type.
C15, the device as described in C14, wherein,
The comparison unit, is suitable to the institute in the complete APK of the first version and complete APK of the second edition There is filename identical file, the crc property values of each file are obtained respectively;By the complete APK of the first version and described The crc property values of the All Files name identical file in the complete APK of two versions are contrasted.
C16, the device as described in C13, wherein,
The comparison unit, is suitable in the complete APK that a file is present in first version, and this document is not present in When in the complete APK of the second edition, this document is designated as the file destination of newly-increased type.
C17, the device as described in C13, wherein,
The comparison unit, is suitable in the complete APK that a file is present in the second edition, and this document is not present in When in the complete APK of first version, this document is designated as deleting the file destination of type.
C18, the device as any one of C13-C17, wherein,
The production unit, is suitable to the file destination to replacing type, by all file destinations respectively from respective APK Solution is pressed out, the difference between calculation document name identical file destination, result of calculation is added and updates bag, so that described update bag When mounted, corresponding file destination is replaced in the APK according to the result of calculation to the second edition;And be suitable to new Increase the file destination of type, the file destination in the APK of first version is added and updates bag, and marked to this article in bag is updated Part performs addition operation, so that described update bag when mounted, corresponding file destination is added in the APK of the second edition; And it is suitable to the file destination to deleting type, marked in bag is updated and deletion action is performed to this document, so that the renewal Bag when mounted, corresponding file destination is deleted from the APK of the second edition.
C19, the device as described in C18, wherein,
The production unit, is adapted in use to the difference between bsdiff algorithms calculation document name identical file destination.
C20, the device as described in C13, wherein, the device also includes:
Memory cell, is suitable to the version information pair of renewal bag, the version information of first version and the second edition that will obtain Should preserve.
Embodiments of the invention also disclose D21, a kind of updating device of application, wherein, the device includes:
Bag acquiring unit is updated, is suitable to obtain the renewal bag of application to be updated;
Packet analyzing unit is updated, is suitable to parse the renewal bag, determine at least one file destination and and target The type of file is corresponding to update operation;The type of the file destination include it is following at least one:Type is replaced, is increased newly Type, deletes type;
Installation kit changes unit, is suitable to perform the complete installation kit APK of the current version of application to be updated and target text The type of part is corresponding to update operation, obtains the complete APK of version to be updated;
Installation unit, is suitable to install the complete APK of the version to be updated.
D22, the device as described in D21, wherein,
The installation kit changes unit, is suitable to, when the file destination is to replace type, be extracted from the renewal bag According to the result of calculation that file destination difference in version to be updated and current version is calculated, to phase in the APK of current version The file destination answered is replaced;And be suitable to, when the file destination is newly-increased type, institute be extracted from the renewal bag File destination is stated, is added in the APK of current version;And be suitable to the file destination for delete type when, from work as The file destination is deleted in the APK of preceding version.
D23, the device as described in D22, wherein, the result of calculation is to use bsdiff algorithms to version to be updated and work as What the difference in preceding version between the same file destination of file famous prime minister was calculated.
D24, the method as described in D21, wherein,
The renewal bag acquiring unit, is suitable to obtain the version information and version to be updated with application current version to be updated The corresponding renewal bag of version information.

Claims (10)

1. the renewal bag generation method of a kind of application, wherein, the method includes:
Obtain the complete installation kit APK and the complete APK of the second edition of the first version of application to be updated;The first version is The highest version of the second edition;
The All Files in complete APK by the All Files in the complete APK of the first version with the second edition enters Row contrast, obtains at least one file destination;The type of the file destination include it is following at least one:Replace type, Newly-increased type, deletes type;
According to the type of each file destination, execution renewal corresponding with the type is packed and operated, and obtains updating bag.
2. All Files the method for claim 1, wherein in the complete APK by the first version and institute The All Files stated in the complete APK of the second edition is contrasted, and obtaining at least one file destination includes:
All Files name identical file in complete APK by the complete APK of the first version with the second edition enters Row contrast;
If there is inconsistent file, then the corresponding document in the first version and the second edition is designated as replacing The file destination of type.
3. method as claimed in claim 2, wherein, the complete APK of the first version is complete with the second edition All Files name identical file in APK carries out contrast to be included:
To the All Files name identical file in the complete APK of the first version and complete APK of the second edition, point The crc property values of each file are not obtained;
All Files name identical file in complete APK by the complete APK of the first version with the second edition Crc property values are contrasted.
4. a kind of update method of application, wherein, the method includes:
Obtain the renewal bag of application to be updated;
The renewal bag is parsed, determines that at least one file destination and update corresponding with the type of file destination are grasped Make;The type of the file destination include it is following at least one:Type is replaced, type is increased newly, type is deleted;
Complete installation kit APK to the current version of application to be updated performs renewal operation corresponding with the type of file destination, Obtain the complete APK of version to be updated;
The complete APK of the version to be updated is installed.
5. method as claimed in claim 4, wherein, the complete installation kit APK of the current version to application to be updated holds Row is corresponding with the type of file destination to update operation, and the complete APK for obtaining version to be updated includes:
When the file destination is to replace type, extracted according to mesh in version to be updated and current version from the renewal bag The result of calculation that mark file difference is calculated, is replaced to corresponding file destination in the APK of current version;
When the file destination is newly-increased type, the file destination is extracted from the renewal bag, be added to current In the APK of version;
When the file destination is to delete type, the file destination is deleted from the APK of current version.
6. renewal bag generating means of a kind of application, wherein, the device includes:
APK acquiring units, are suitable to obtain the complete of the complete installation kit APK of the first version of application to be updated and the second edition APK;The first version is the highest version of the second edition;
Comparison unit, is suitable in the All Files in the complete APK by the first version and the complete APK of the second edition All Files contrasted, obtain at least one file destination;The type of the file destination include it is following at least one Kind:Type is replaced, type is increased newly, type is deleted;
Production unit, is suitable to the type according to each file destination, and execution renewal corresponding with the type is packed and operated, obtains more New bag.
7. device as claimed in claim 6, wherein,
The comparison unit, is suitable to all texts in the complete APK by the complete APK of the first version with the second edition Part name identical file is contrasted;If there is inconsistent file, then by the first version and the second edition Corresponding document be designated as replace type file destination.
8. device as claimed in claim 7, wherein,
The comparison unit, is suitable to all texts in the complete APK of the first version and complete APK of the second edition Part name identical file, obtains the crc property values of each file respectively;By the complete APK of the first version and the second edition The crc property values of the All Files name identical file in this complete APK are contrasted.
9. a kind of updating device of application, wherein, the device includes:
Bag acquiring unit is updated, is suitable to obtain the renewal bag of application to be updated;
Packet analyzing unit is updated, is suitable to parse the renewal bag, determine at least one file destination and and file destination Type it is corresponding update operation;The type of the file destination include it is following at least one:Type is replaced, class is increased newly Type, deletes type;
Installation kit changes unit, is suitable to perform and file destination the complete installation kit APK of the current version of application to be updated Type is corresponding to update operation, obtains the complete APK of version to be updated;
Installation unit, is suitable to install the complete APK of the version to be updated.
10. device as claimed in claim 9, wherein,
The installation kit changes unit, is suitable to, when the file destination is to replace type, basis be extracted from the renewal bag The result of calculation that file destination difference is calculated in version to be updated and current version, to corresponding in the APK of current version File destination is replaced;And be suitable to, when the file destination is newly-increased type, the mesh be extracted from the renewal bag Mark file, is added in the APK of current version;And be suitable to when the file destination is to delete type, from current version The file destination is deleted in this APK.
CN201611228239.XA 2016-12-27 2016-12-27 Application update package generation method and device and application update method and device Pending CN106708581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611228239.XA CN106708581A (en) 2016-12-27 2016-12-27 Application update package generation method and device and application update method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611228239.XA CN106708581A (en) 2016-12-27 2016-12-27 Application update package generation method and device and application update method and device

Publications (1)

Publication Number Publication Date
CN106708581A true CN106708581A (en) 2017-05-24

Family

ID=58895458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611228239.XA Pending CN106708581A (en) 2016-12-27 2016-12-27 Application update package generation method and device and application update method and device

Country Status (1)

Country Link
CN (1) CN106708581A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860284A (en) * 2019-11-12 2021-05-28 深圳怡化电脑股份有限公司 SP upgrade package generation method and device for remote upgrade of equipment and computer equipment
CN113805930A (en) * 2021-10-09 2021-12-17 中国银行股份有限公司 Increment packaging method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699410A (en) * 2013-12-20 2014-04-02 北京奇虎科技有限公司 Method and device for updating application programs
CN105045631A (en) * 2015-07-30 2015-11-11 北京奇虎科技有限公司 Method and device for upgrading client-side applications
CN105404521A (en) * 2014-05-30 2016-03-16 广州市动景计算机科技有限公司 Incremental upgrading method and relevant device
CN105740016A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Increment issuance method and device, upgrade method and device of application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699410A (en) * 2013-12-20 2014-04-02 北京奇虎科技有限公司 Method and device for updating application programs
CN105404521A (en) * 2014-05-30 2016-03-16 广州市动景计算机科技有限公司 Incremental upgrading method and relevant device
CN105045631A (en) * 2015-07-30 2015-11-11 北京奇虎科技有限公司 Method and device for upgrading client-side applications
CN105740016A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Increment issuance method and device, upgrade method and device of application program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860284A (en) * 2019-11-12 2021-05-28 深圳怡化电脑股份有限公司 SP upgrade package generation method and device for remote upgrade of equipment and computer equipment
CN112860284B (en) * 2019-11-12 2024-05-10 深圳怡化电脑股份有限公司 SP upgrade package generation method and device for equipment remote upgrade and computer equipment
CN113805930A (en) * 2021-10-09 2021-12-17 中国银行股份有限公司 Increment packaging method and device

Similar Documents

Publication Publication Date Title
CN103699410B (en) Method and device for updating application programs
CN107832277B (en) System and method for providing binary representation of web page
CN104391728B (en) Software upgrading difference packet acquisition methods and corresponding upgrade method and device
KR102281052B1 (en) Mobile terminal application update method and apparatus
EP2273361B1 (en) Method and system for updating versions of content stored in a storage device
US8037199B2 (en) Localization of resources used by applications in hand-held electronic devices and methods thereof
US11979300B2 (en) Standardized format for containerized applications
US20130159839A1 (en) Semantic compression of cascading style sheets
CN107368593B (en) Data import method and device and server
US9525587B2 (en) Updating web resources
CN109491695A (en) A kind of increment updating method of integrated Android application
CN107273122A (en) Based on decoupling mechanism can iteration set up operation system method and its terminal
CN107678750A (en) A kind of SDK packaging methods, computing device and SDK packaging systems
CN104765816B (en) Browser upgrading method and device and electronic equipment
CN104184814A (en) Method and system for generating and compounding embedded firmware differential upgrading file
CN107885540A (en) A kind of method, apparatus and terminal of loading application programs static resource
JP2013517565A (en) Operating system automatic update procedure
CN108647032B (en) Application loading method and device, computer device and computer readable storage medium
CN108776639A (en) Language check test method and computer readable storage medium
CN102591685B (en) Method and device for implementation of automatic online updating of application program
CN105763626A (en) SDK initialization method suitable for application client end payment
CN105739971A (en) Verification file generation method and device and verification file using method and device
CN109145236A (en) Page file processing method, apparatus and system
CN109508211A (en) A kind of multilingual configuration method, device, system and electronic equipment
CN109908585A (en) A kind of document handling method and system calculate equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524

RJ01 Rejection of invention patent application after publication