CN103699410A - Method and device for updating application programs - Google Patents

Method and device for updating application programs Download PDF

Info

Publication number
CN103699410A
CN103699410A CN201310714581.0A CN201310714581A CN103699410A CN 103699410 A CN103699410 A CN 103699410A CN 201310714581 A CN201310714581 A CN 201310714581A CN 103699410 A CN103699410 A CN 103699410A
Authority
CN
China
Prior art keywords
file
version
application program
files
updating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310714581.0A
Other languages
Chinese (zh)
Other versions
CN103699410B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310714581.0A priority Critical patent/CN103699410B/en
Publication of CN103699410A publication Critical patent/CN103699410A/en
Application granted granted Critical
Publication of CN103699410B publication Critical patent/CN103699410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for updating application programs. The method comprises the following steps of: acquiring one or more first files of a first version of the application programs, and one or more second files of a second version of the application programs; generating the update difference files of the one or more first files and the corresponding one or more second files; issuing the update difference files comprising download addresses; generating configuration files comprising the version information of the second version and the download addresses of the update difference files; issuing the configuration files. According to the method and the device disclosed by the invention, clients are prevented from blindly accessing a server to request to update service, thus reducing the response frequency of the server and decreasing the resource consumption of the server; meanwhile, the volume of each of the update difference files produced by data difference is greatly reduced compared with a complete version update data package, thus greatly reducing network bandwidth resources, and increasing download success rate and update success rate.

Description

A kind of update method of application program and device
Technical field
The present invention relates to the field of electrical communication technology, be specifically related to a kind of updating device of update method and a kind of application program of application program.
Background technology
When application program exists defect or need to add some function, all need the application program in client to carry out edition upgrading.
The method of the application program of updating client is roughly divided into following two kinds at present:
A kind of method is that server is made single installation procedure for client downloads installation by all composing documents that comprise in the application program of redaction.Client is downloading and is moving installation procedure with server, utilize all composing documents in redaction application program to replace all composing documents in the legacy version application program of client.
This method can cause repeating fitting operation, and step of updating is numerous and diverse and there is no practical significance, and update time is very long, and user experiences very low.Installation procedure is generally very large, can greatly waste network bandwidth resources, and easily occurs the situation of failed download, causes the success ratio of upgrading by low.Along with the continuous enhancing of function of application, the download pressure that application program updating brings to server is also increasing.
Another kind method is that server provides client downloads by some basic composing document in the application program of redaction.Client is downloaded corresponding composing document from server end, and is kept in temp directory, then the composing document of download is substituted in the application program of client.
This method restriction is very large, cannot application programs carry out complete renewal, and the composing document function that may cause application program is inconsistent and cause collapse.The composing document on basis is generally also very large, also can waste network bandwidth resources, and easily occur the situation of failed download, causes the success ratio of upgrading by low.Along with the continuous enhancing of function of application, the composing document on basis to update to the download pressure that server brings also increasing.
Summary of the invention
In view of the above problems, the present invention has been proposed to a kind of updating device of update method and corresponding a kind of application program of a kind of application program that overcomes the problems referred to above or address the above problem is at least in part provided.
According to one aspect of the present invention, a kind of update method of application program is provided, comprising:
Obtain respectively one or more first files of application program of first version and one or more second files of the application program of the second version;
Generate the renewal differential file of described one or more the first file and corresponding one or more the second files;
Issue described renewal differential file; Described renewal differential file comprises download address;
Generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described the second version;
Issue described configuration file.
Alternatively, described one or more the first file is one or more the first files that All Files is generated according to the structure category packing of the application program of described first version;
Described one or more the second file is one or more the second files that All Files is generated according to structure category packing according to the application program of the second version;
The version information of described first version is higher than the version information of described the second version.
Alternatively, described one or more the first file comprises first foundation component file and/or the first extension element file;
Described one or more the first file generates in the following manner:
The infrastructure component of the application program of first version is packaged as to first foundation component file according to structure category;
The extension element of the application program of first version is packaged as to the first extension element file according to structure category.
Alternatively, described one or more the second file comprises the second infrastructure component file and/or the second extension element file;
Described one or more the second file generates in the following manner:
The infrastructure component of the application program of the second version is packaged as to the second infrastructure component file according to structure category;
The extension element of the application program of the second version is packaged as to the second extension element file according to structure category.
Alternatively, described one or more the first files of described generation comprise with the step of the differential file of corresponding one or more the second files:
Adopt difference algorithm Courgette to calculate the infrastructure component differential file of described first foundation component file and described the second infrastructure component file;
Adopt difference algorithm Courgette to calculate the extension element differential file of described the first extension element file and described the second extension element file;
By described infrastructure component differential file and/or described extension element differential file boil down to version updating bag;
Described version updating bag pressure is condensed to renewal differential file.
According to a further aspect in the invention, provide a kind of update method of application program, having comprised:
From server side, obtain configuration file; Described configuration file comprises the version information of the second version and upgrades the download address of differential file;
When the version information of client is the version information of described the second version, from described download address, download described renewal differential file;
Adopt preset one or more the 3rd files and described renewal differential file to generate updating file;
Described updating file is carried out to decompress(ion);
Updating file after decompress(ion) is installed.
Alternatively, described one or more the 3rd file comprises the 3rd infrastructure component file and/or the 3rd extension element file; Described updating file comprises that infrastructure component upgrades bag and/or extension element is upgraded bag; Described updating file comprises that infrastructure component upgrades bag and/or extension element is upgraded bag;
The step that one or more the 3rd files that described employing is preset and described renewal differential file generate updating file comprises:
Described in decompress(ion), upgrade differential file, obtain version updating bag;
Version updating bag described in decompress(ion), obtains infrastructure component differential file and/or extension element differential file;
Adopt difference algorithm Courgette that described the 3rd infrastructure component file and described infrastructure component differential file formation base assembly are upgraded to bag;
Adopt difference algorithm Courgette that described the 3rd extension element file and described extension element differential file are generated to extension element renewal bag.
According to a further aspect in the invention, provide a kind of update method of application program, having comprised:
Generate the renewal differential file of the first file and the second file; Wherein, the composing document of the application program that described the first file is first version, described the second file is the composing document of the application program of the second version;
Issue described renewal differential file; Described renewal differential file comprises download address;
Generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described composing document;
Issue described configuration file.
Alternatively, the version information of described first version is higher than the version information of described the second version.
Alternatively, the step of the renewal differential file of described generation the first file and the second file comprises:
Adopt difference algorithm Courgette to calculate the data difference file of the first file and the second file;
By described data difference compressing file, it is file update bag;
Described file update bag pressure is condensed to renewal differential file.
According to a further aspect in the invention, provide a kind of update method of application program, having comprised:
From server side, obtain configuration file; Described configuration file comprises the version information of composing document and upgrades the download address of differential file;
When version information that the version information of the 3rd preset file is described composing document, from described download address, download described renewal differential file;
Adopt described the 3rd file and described renewal differential file to generate updating file;
Described updating file is replaced to described the 3rd file.
Alternatively, the step of described the 3rd file of described employing and described renewal differential file generation updating file comprises:
Described in decompress(ion), upgrade differential file, obtain file update bag;
File update bag described in decompress(ion), obtains data difference file;
Adopt difference algorithm Courgette by described the 3rd file and described data difference file generated updating file.
According to a further aspect in the invention, provide a kind of updating device of application program, having comprised:
The first acquisition module, is suitable for obtaining respectively one or more first files of application program of first version and one or more second files of the application program of the second version;
The first generation module, is suitable for generating the renewal differential file of described one or more the first file and corresponding one or more the second files;
The first release module, is suitable for issuing described renewal differential file; Described renewal differential file comprises download address;
The second generation module, is suitable for generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described the second version;
The second release module, is suitable for issuing described configuration file.
Alternatively, described one or more the first file is one or more the first files that All Files is generated according to the structure category packing of the application program of described first version;
Described one or more the second file is one or more the second files that All Files is generated according to structure category packing according to the application program of the second version;
The version information of described first version is higher than the version information of described the second version.
Alternatively, described one or more the first file comprises first foundation component file and/or the first extension element file;
Described one or more the first file generates in the following manner:
The infrastructure component of the application program of first version is packaged as to first foundation component file according to structure category;
The extension element of the application program of first version is packaged as to the first extension element file according to structure category.
Alternatively, described one or more the second file comprises the second infrastructure component file and/or the second extension element file;
Described one or more the second file generates in the following manner:
The infrastructure component of the application program of the second version is packaged as to the second infrastructure component file according to structure category;
The extension element of the application program of the second version is packaged as to the second extension element file according to structure category.
Alternatively, described the first generation module is also suitable for:
Adopt difference algorithm Courgette to calculate the infrastructure component differential file of described first foundation component file and described the second infrastructure component file;
Adopt difference algorithm Courgette to calculate the extension element differential file of described the first extension element file and described the second extension element file;
By described infrastructure component differential file and/or described extension element differential file boil down to version updating bag;
Described version updating bag pressure is condensed to renewal differential file.
According to a further aspect in the invention, provide a kind of updating device of application program, having comprised:
The second acquisition module, is suitable for obtaining configuration file from server side; Described configuration file comprises the version information of the second version and upgrades the download address of differential file;
The first download module, is suitable for, when the version information of client is the version information of described the second version, from described download address, downloading described renewal differential file;
The 3rd generation module, is suitable for adopting preset one or more the 3rd files and described renewal differential file to generate updating file;
Decompression module, is suitable for described updating file to carry out decompress(ion);
Installation module, is suitable for installing the updating file after decompress(ion).
Alternatively, described one or more the 3rd file comprises the 3rd infrastructure component file and/or the 3rd extension element file; Described updating file comprises that infrastructure component upgrades bag and/or extension element is upgraded bag; Described updating file comprises that infrastructure component upgrades bag and/or extension element is upgraded bag;
Described the 3rd generation module is also suitable for:
Described in decompress(ion), upgrade differential file, obtain version updating bag;
Version updating bag described in decompress(ion), obtains infrastructure component differential file and/or extension element differential file;
Adopt difference algorithm Courgette that described the 3rd infrastructure component file and described infrastructure component differential file formation base assembly are upgraded to bag;
Adopt difference algorithm Courgette that described the 3rd extension element file and described extension element differential file are generated to extension element renewal bag.
According to a further aspect in the invention, provide a kind of updating device of application program, having comprised:
The 4th generation module, is suitable for generating the renewal differential file of the first file and the second file; Wherein, the composing document of the application program that described the first file is first version, described the second file is the composing document of the application program of the second version;
The 3rd release module, is suitable for issuing described renewal differential file; Described renewal differential file comprises download address;
The 5th generation module, is suitable for generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described composing document;
The 4th release module, is suitable for issuing described configuration file.
Alternatively, the version information of described first version is higher than the version information of described the second version.
Alternatively, described the 4th generation module is also suitable for:
Adopt difference algorithm Courgette to calculate the data difference file of the first file and the second file;
By described data difference compressing file, it is file update bag;
Described file update bag pressure is condensed to renewal differential file.
According to a further aspect in the invention, provide a kind of updating device of application program, having comprised:
The 3rd acquisition module, is suitable for obtaining configuration file from server side; Described configuration file comprises the version information of composing document and upgrades the download address of differential file;
The second download module, while being suitable for version information that the version information at the 3rd preset file is described composing document, downloads described renewal differential file from described download address;
The 6th generation module, is suitable for adopting described the 3rd file and described renewal differential file to generate updating file;
Replacement module, is suitable for described updating file to replace described the 3rd file.
Alternatively, described the 6th generation module is also suitable for:
Described in decompress(ion), upgrade differential file, obtain file update bag;
File update bag described in decompress(ion), obtains data difference file;
Adopt difference algorithm Courgette by described the 3rd file and described data difference file generated updating file.
The data difference that the present invention calculates between redaction and the application program of legacy version at server is made renewal differential file, and make configuration file and issue, whether the inspection of client downloads configuration file meets update condition, when meeting, just down loading updating differential file upgrades, prevent blindly access services device request update service of client, reduced the response times of server, reduced the resource cost of server, simultaneously, the volume that the renewal differential file that adopts data difference to make is compared complete version updating packet has greatly reduced, greatly reduce network bandwidth resources, improved the success ratio of downloading, improved the success ratio of upgrading.Further, server can increase speed and the frequency of renewal, makes the more perfect function of application program, has improved user's experience.
The present invention is based on infrastructure component and extension element is packed, the infrastructure component of application program and the data difference of extension element that adopt difference algorithm Courgette to calculate redaction and legacy version are made renewal differential file, make client two-wire journey to carry out the infrastructure component of redaction and the combination of extension element, do not affecting under the prerequisite of client performance, two-wire journey has been accelerated group speed greatly, and then has improved whole renewal speed.
The present invention calculates data difference between the composing document of application program of redaction and legacy version and makes and upgrade differential file at server, and make configuration file and issue, whether the inspection of client downloads configuration file meets update condition, when meeting, just down loading updating differential file upgrades, prevent blindly access services device request update service of client, reduced the response times of server, reduced the resource cost of server, simultaneously, the volume that the renewal differential file that adopts data difference to make is compared complete composing document new data packets has greatly reduced, greatly reduce network bandwidth resources, improved the success ratio of downloading, improved the success ratio of upgrading.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of steps of a kind of update method embodiment 1 of application program according to an embodiment of the invention;
Fig. 2 shows the flow chart of steps of a kind of update method embodiment 2 of application program according to an embodiment of the invention;
Fig. 3 shows the flow chart of steps of a kind of update method embodiment 3 of application program according to an embodiment of the invention;
Fig. 4 shows the flow chart of steps of a kind of update method embodiment 4 of application program according to an embodiment of the invention;
Fig. 5 shows the structured flowchart of a kind of updating device embodiment 1 of application program according to an embodiment of the invention;
Fig. 6 shows the structured flowchart of a kind of updating device embodiment 2 of application program according to an embodiment of the invention;
Fig. 7 shows the structured flowchart of a kind of updating device embodiment 3 of application program according to an embodiment of the invention; And,
Fig. 8 shows the structured flowchart of a kind of updating device embodiment 4 of application program according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
With reference to Fig. 1, show the flow chart of steps of a kind of update method embodiment 1 of application program according to an embodiment of the invention, described method can comprise the steps:
Step 101, obtains respectively one or more first files of application program of first version and one or more second files of the application program of the second version;
In embodiments of the present invention, the first file and the second file can be the file generating in advance, directly extract; The first file and the second file can be also current generations.
For making those skilled in the art understand better the embodiment of the present invention, in this manual, a kind of example using browser as application program describes.
In a preferred embodiment of the present invention, described one or more the first files can be one or more the first files that All Files is generated according to the structure category packing of the application program of described first version;
In actual applications, for example, composing document due to an application program (browser) is all tens, even up to a hundred conventionally.If the application program of a version of upgrading need to configure upgrading to each composing document, can cause upgrading ten/complexity, so the All Files of application program (for example browser) must break into a compressed package or a plurality of compressed package according to bibliographic structure.These compressed packages are only all that file is packed, and do not use any compression algorithm, so that carry out incremental computations.
As a kind of preferred exemplary of the embodiment of the present invention, described one or more the first files can comprise first foundation component file and/or the first extension element file;
In specific implementation, described one or more the first files can generate in the following manner:
Sub-step S11, is packaged as first foundation component file by the infrastructure component of the application program of first version according to structure category;
Sub-step S12, is packaged as the first extension element file by the extension element of the application program of first version according to structure category.
An application program can be comprised of a lot of files, and wherein major part is all a little expansion plugins and some other small routine.Infrastructure component can be for realizing the file of the foundation function of application program, for example in browser, play up function etc., extension element can be for realizing the file of the expansion function of application program, for example the gesture operation function in browser, search plug-in unit etc.
It should be noted that, different application is under different demands, foundation function and expansion function can be different, the embodiment of the present invention can specified application in arbitrarily file be infrastructure component or extension element, for example the gesture operation function of above-mentioned browser can be included into infrastructure component.
The structure category of application program can be the structurized catalogue file after installing, and infrastructure component and extension element can have the storing directory of appointment, and this storing directory can be root directory, can be second-level directory etc.
In a preferred embodiment of the present invention, one or more the second files that described one or more the second files can generate according to structure category packing according to the application program of the second version for All Files;
Wherein, the version information of described first version can be higher than the version information of described the second version.
In this example, the application program of first version can be the application program of redaction, the application program of the second version can be the application program of legacy version, and application program compares large-scale renewal, need to upgrade the application program of whole version.
It should be noted that, the structure category of the application program of the second version can be corresponding with the structure category of the application program of first version.
As a kind of preferred exemplary of the embodiment of the present invention, described one or more the second files can comprise the second infrastructure component file and/or the second extension element file;
In specific implementation, described one or more the second files can generate in the following manner:
Sub-step S21, is packaged as the second infrastructure component file by the infrastructure component of the application program of the second version according to structure category;
Sub-step S22, is packaged as the second extension element file by the extension element of the application program of the second version according to structure category.
It should be noted that, the application of the second infrastructure component file and the second extension element file is identical with the application of first foundation component file and the first extension element file substantially, relevant part can be with reference to the related description of first foundation component file and the first extension element file, and the embodiment of the present invention is not described in detail at this.
In addition, under the prerequisite allowing at client performance, the embodiment of the present invention can also be divided into a plurality of assemblies such as three, four according to function by application program and pack, and then calculates the data difference of new and old edition and makes difference update file, and the embodiment of the present invention is not limited this.
Step 102, generates the renewal differential file of described one or more the first file and corresponding one or more the second files;
Upgrade the file that differential file can generate for the data that the first file and the second file there are differences.
In a kind of preferred enforcement of the present invention, described step 102 can comprise following sub-step:
Sub-step S31, adopts difference algorithm Courgette to calculate the infrastructure component differential file of described first foundation component file and described the second infrastructure component file;
Sub-step S32, adopts difference algorithm Courgette to calculate the extension element differential file of described the first extension element file and described the second extension element file;
Difference algorithm Courgette is structured on an Open Source Code bsdiff and bspatch basis, can find wherein difference for the binary file for two different editions (legacy version and redaction) (Binary File), generates patch file; According to this patch file, add that the binary file of legacy version generates the binary file of redaction in addition.
It should be noted that, first foundation component file and the second infrastructure component file, and, in the first extension element file and the second extension element file, can comprise binary file, also can comprise nonbinary file.For binary file, difference algorithm Courgette can first carry out dis-assembling, and then adopts bsdiff to carry out the calculating of differential file.For nonbinary file, difference algorithm Courgette can directly adopt bsdiff to carry out the calculating of differential file.
For the application program after compiling, even if changed very little source code, also can cause out-of-proportion other variation of a large amount of binary level.If add several line codes, such as, the inspection of a scope prevents cache overflow, after all codes all can be moved to hold new instruction.Some instruction and datas are often the addresses of other instruction and data, so the code after compiling is internal reference everywhere.But before these internal pointer change, be only the change of several line codes of minority, and be a large amount of internal pointer, such as the main DLL(Dynamic Link of browser Library, dynamic link library) program of size, the quantity of internal pointer probably has 500,000.
Source code does not have the problems referred to above, because all element is-symbol of source code.In the process of compiling and link, function is to be converted (commite) stage below to become assigned address.
Difference algorithm Courgette can use an original resolver (disassembler) to find internal pointer.Resolver is divided into 3 parts program: the list of an internal pointer destination address; Other byte and an instruction (Instruction) sequence decide common byte and pointer by adjusting and interting to get back to original input.This can be called to " language of decomposition " (assemblylanguage), because can process these instructions and issue this byte sequence with a resolver, return to original file.
The part of non-pointer has probably accounted for 80% of original application program because do not mix any pointer, by comparison better effects if some, the size of difference bag and source code change over linear relationship.The simple language that the decomposes version updating bag more out that uses is probably little by 30% than original.
Difference algorithm Courgette introduces label and comes home address, and pointer can be controlled.These addresses are stored in array the inside, and pointer list can be replaced by the subscript list of array.These data are original symbol tables, the name of these symbols, or label is the array index of integer in fact.Utilize symbol table, how Expression and Application program has certain degree of freedom to make difference algorithm Courgette.By changing corresponding list index, make difference algorithm Courgette can mobile array address around.
Difference algorithm Courgette converts original assemblylanguage to program, then in the rank of assembly, compares difference:
Server:
asm_old=disassemble(original)
asm_new=disassemble(update)
asm_new_adjusted=adjust(asm_new,asm_old)
asm_diff=bsdiff(asm_old,asm_new_adjusted)
transmit?asm_diff
Difference algorithm Courgette, by the address (asm_new_adjusted=adjust (asm_new, asm_old)) of mobile asm_new internal symbol table, makes minimizing of version updating file.Mate address in two symbol tables, guarantees that index has a lot of public word strings on their statistical attribute.According to code or Debugging message around, does not mate by any exploratory method the address of alignment.
The application program of old edition and the application program of new edition must be good executable files.If the application program of the application program of old edition and new edition can comprise several executable files, also can comprise the file of decomplier as JavaScript and PNG picture, will be more useful.For browser, the application program of old edition and the application program of new edition are a kind of history files, can comprise the file of all installation and operation needs.
Difference algorithm Courgette converts input to the form of another more effective scale-of-two difference, does difference compression, and from source document, obtained and played the output after patch by contrary conversion in transformed space.After conversion regime by difference algorithm Courgette, can obtain a less AKU.
Sub-step S33, by described infrastructure component differential file and/or described extension element differential file boil down to version updating bag;
For further reducing taking of network traffics, can compress packing to infrastructure component differential file and/or extension element differential file, version updating bag is specifically as follows the compressed package of 7z compressed format.
Sub-step S34, is condensed to renewal differential file by described version updating bag pressure.
For the ease of taking of issue and further minimizing network traffics, the version updating bag pressure that issue is shortened into renewal differential file, be specifically as follows CAB file, be convenient to client decompression processing at once simultaneously.
CAB is the compressed package form that Microsoft works out, and is usually used in the installation procedure of application program, and the utility routine Extract.exe that uses Windows to carry can decompress to it, and WinZip, WinRAR, WinMount etc. support this form.
Step 103, issues described renewal differential file; Described renewal differential file can comprise download address;
By upgrading the upload onto the server position of middle appointment of differential file, issue, externally netting gear has a download address.
Step 104, generating configuration file; Described configuration file can comprise the download address of version information and the described renewal differential file of described the second version;
Configuration file config.ini can have outside the version information and download address of indication the second version (legacy version), can also have for identifying the name information of configuration file, check information for security verification, MD5(Message Digest Algorithm for example, Message Digest Algorithm 5), version information of first version (redaction) etc., the embodiment of the present invention is not limited this.
Step 105, issues described configuration file.
The upload onto the server position of middle appointment of configuration file config.ini is issued, client can be upgraded by download configuration file config.ini.
It should be noted that, the application program of front latest edition can be one, but client likely can all can not upgraded after the version updating of each application program, therefore the application version of client can exist a plurality ofly, and the renewal differential file upgrading can be for a plurality of, and configuration file can be one, be that the application program that configuration file comprises legacy version (can be part, also can be for all) version information, and, the download address of corresponding updating file.Certainly, configuration file also can be for a plurality of, and configuration file only includes the version information of application program and the download address of corresponding updating file of a legacy version.
With reference to Fig. 2, show the flow chart of steps of a kind of update method embodiment 2 of application program according to an embodiment of the invention, described method can comprise the steps:
Step 201, obtains configuration file from server side; Described configuration file comprises the version information of the second version and upgrades the download address of differential file;
The application embodiment of the present invention, client (can be application program) can for example, default time (every mornings 6 point, on every Saturdays 6 etc.), and also can the interval default time period (for example every 6 hours, 8 hours etc.) is initiatively from server download configuration file.
Server also can be initiatively for example, default time (every mornings 6 point, on every Saturdays 6 etc.), or default time period of interval (for example every 6 hours, 8 hours etc.) is initiatively to client push configuration file.
Server can also initiatively gather version information after application program update from client, to this version information of client push, upgrades corresponding configuration file.Client, in order to guarantee user's the right of privacy and right to know, can gather the version information of the application program in this client after server is authorized.Further, whether the user that can first check this client has added appointment plan, if, confirm that this client user authorizes the version information collection of the application program of server, server can continue to carry out collecting flowchart, if the user of this client does not add executive plan, confirm that this client user does not authorize the version information collection of the application program of server end, server end cannot obtain the version information of the application program in this client.
Step 202, when the version information of client is the version information of described the second version, downloads described renewal differential file from described download address;
Client can check the information in configuration file config.ini item by item, when the version information of the version information of client and the second version in configuration file config.ini is identical, accesses corresponding download address down loading updating differential file from server.
Step 203, adopts preset one or more the 3rd files and described renewal differential file to generate updating file;
In a preferred embodiment of the present invention, described one or more the 3rd files can be one or more the first files that All Files is generated according to the structure category packing of the application program of described the second version.The updating file that the 3rd file can be that client is last to be stayed after upgrading, the file that can generate in advance for client, can also be the current generation of client.
As a kind of preferred exemplary of the embodiment of the present invention, described one or more the 3rd files can comprise the 3rd infrastructure component file and/or the 3rd extension element file;
In specific implementation, if the 3rd file is that client generates in advance or in current generation, described one or more the first file can generate in the following manner:
Sub-step S31, is packaged as the 3rd infrastructure component file by the infrastructure component of the application program of the second version according to structure category;
Sub-step S32, is packaged as the 3rd extension element file by the extension element of the application program of the second version according to structure category.
It should be noted that, the application of the 3rd infrastructure component file and the 3rd extension element file is identical with the application of first foundation component file and the first extension element file substantially, relevant part can be with reference to the related description of first foundation component file and the first extension element file, and the embodiment of the present invention is not described in detail at this.
In inventive embodiments, described updating file can comprise that infrastructure component upgrades bag and/or extension element is upgraded bag; Described updating file can comprise that infrastructure component upgrades bag and/or extension element is upgraded bag;
Described step 203 can comprise following sub-step:
Sub-step S41, upgrades differential file described in decompress(ion), obtains version updating bag;
When renewal differential file is CAB file, can adopt Extract.exe, WinZip, WinRAR or WinMount to its decompress(ion).
Sub-step S42, version updating bag described in decompress(ion), obtains infrastructure component differential file and/or extension element differential file;
When to the further decompress(ion) of version updating bag, can obtain differential file and/or extension element differential file.When version updating bag can be for the compressed package of 7z compressed format, can adopt corresponding decompression algorithm to carry out decompress(ion).
Sub-step S43, adopts difference algorithm Courgette that described the 3rd infrastructure component file and described infrastructure component differential file formation base assembly are upgraded to bag;
Sub-step S44, adopts difference algorithm Courgette that described the 3rd extension element file and described extension element differential file are generated to extension element renewal bag.
In specific implementation, can carry out the combination that infrastructure component upgrades bag and/or extension element renewal bag by following flow process.
Client:
receive?asm_diff
asm_old=disassemble(original)
asm_new_adjusted=bspatch(asm_old,asm_diff)
update=assemble(asm_new_adjusted)
At the infrastructure component that adopts difference algorithm Courgette to calculate, upgrading bag in fact can be for example, with the packaging file (first foundation component file) of the infrastructure component file of the application program of redaction identical, and extension element is upgraded bag in fact can be for example, with the packaging file (the first extension element file) of the extension element file of the application program of redaction identical.
For binary file, difference algorithm Courgette can adopt bsdiff to carry out the combination of differential file, then carries out the respective operations of dis-assembling.For nonbinary file, difference algorithm Courgette can directly adopt bsdiff to carry out the combination of differential file.
It should be noted that, combination operation due to difference algorithm Courgette in embodiment of the method 2, can be strict with the operation splitting of difference algorithm Courgette in embodiment of the method 1 contrary, relevant part can reference method embodiment 1 in the part explanation of operation splitting of difference algorithm Courgette, the embodiment of the present invention is not described in detail at this.
The present invention is based on infrastructure component and extension element is packed, the infrastructure component of application program and the data difference of extension element that adopt difference algorithm Courgette to calculate redaction and legacy version are made renewal differential file, make client two-wire journey to carry out the infrastructure component of redaction and the combination of extension element, do not affecting under the prerequisite of client performance, two-wire journey has been accelerated group speed greatly, and then has improved whole renewal speed.
Step 203, carries out decompress(ion) to described updating file;
Updating file after decompress(ion) can be the application program of redaction.
Step 204, installs the updating file after decompress(ion).
In embodiments of the present invention, client can be upgraded infrastructure component bag and/or extension element and upgrade the renewal that position that bag is installed to appointment can complete application program.
It should be noted that, infrastructure component upgrades bag to client and/or extension element is upgraded after bag installing, and can comprise that infrastructure component upgrades bag and/or extension element, in order to next update, as the 3rd infrastructure component file and/or the 3rd extension element file.
The data difference that the present invention calculates between redaction and the application program of legacy version at server is made renewal differential file, and make configuration file and issue, whether the inspection of client downloads configuration file meets update condition, when meeting, just down loading updating differential file upgrades, prevent blindly access services device request update service of client, reduced the response times of server, reduced the resource cost of server, simultaneously, the volume that the renewal differential file that adopts data difference to make is compared complete version updating packet has greatly reduced, greatly reduce network bandwidth resources, improved the success ratio of downloading, improved the success ratio of upgrading.Further, server can increase speed and the frequency of renewal, makes the more perfect function of application program, has improved user's experience.
In order to facilitate those skilled in the art to understand better the present invention, below by the renewal example of a browser, illustrate further the application program update process of the embodiment of the present invention:
At server side:
1, according to the infrastructure component of structure category packing browser, be Chrome.core.7z;
Extension element according to structure category packing browser is Chrome.ext.7z;
The browser core document that Chrome.core.7z has packed all, after this bag solution presses out, browser can move.Roughly file is as follows:
360se.exe(execute file)
6.5.1.134(the release directory file)
Chrome.dll
gcswf32.dll
...
The browser extension file that Chrome.ext.7z has packed all, the file of this bag the inside is used seldom conventionally.Roughly file is as follows:
6.5.1.134(the release directory file)
pdf.dll
...
2, calculate the Chrome.core.7z of browser and the differential file of Chrome.ext.7z of redaction and legacy version.
Chrome.core.diff=GetDiff(chrome.core.7z(new),chrome.core.7z(old))
Chrome.ext.diff=GetDiff(chrome.ext.7z(new),chrome.ext.7z(old))
Wherein, GetDiff is differential file.
3, Chrome.core.diff and Chrome.ext.diff are broken into a compressed package diff.7z.
4, diff.7z is packaged into diff.cab file.
5, diff.cab file is uploaded to assigned address issue, download address is http://xxx.com/file_diff.cab.
6, generating configuration file config.ini.Wherein redaction is 6.3.1.100, and legacy version is 6.2.1.200.
[se6.2.1.200_6.3.1.100.7z]
ver=6.3.1.100
md5=1bdedd0ad00b758fa92b2b9edaa9a120
check=(%fver_old%=="6.2.1.200")
URL=http://xxx.com/diff.cab
7, configuration file config.ini is uploaded to the position issue of appointment.
At client-side:
8, every regular time (as 6 hours), remove to download upgrading configuration config.ini.
9, check item by item configuration file config.ini, the current version number of judgement browser meets (%fver_old%==" 6.2.1.200 ").
10,, when meeting version number " 6.2.1.200 ", from http://xxx.com/diff.cab, download diff.cab file.
11, decompress(ion) diff.cab is diff.7z.
12, decompress(ion) diff.7z is chrome.core.diff, chrome.ext.diff.
13, calculate infrastructure component and the extension element of the browser of redaction.
Chrome.core.7z(new)=ApplyDiff(chrome.core.7z(old),chrome.core.diff)
Chrome.ext.7z(new)=ApplyDiff(chrome.ext.7z(old),chrome.ext.diff)
Wherein, ApplyDiff is updating file.
14, the browser that the Chrome.core.7z that decompress(ion) is new and Chrome.ext.7z obtain redaction.
15, the browser of redaction is installed.
For whole browser, the difference in size of the 7z bag that upgrade an installation kit and differential file of upgrading break into is:
All 40M
Diff.7z 2M
With reference to Fig. 3, show the flow chart of steps of a kind of update method embodiment 3 of application program according to an embodiment of the invention, described method can comprise the steps:
Step 301, the renewal differential file of generation the first file and the second file; Wherein, the composing document of the application program that described the first file is first version, described the second file is the composing document of the application program of the second version;
In actual applications, the first file and the second file can be the different editions of same composing document.Particularly, this composing document can be executable file (binary file), can be also non-executable file (nonbinary file).
In a kind of preferred exemplary of the embodiment of the present invention, the version information of described first version can be higher than the version information of described the second version.
In this example, the application program of first version can be the application program of redaction, and the application program of the second version can be the application program of legacy version, and application program has been carried out the renewal of composing document, can only based on composing document, upgrade.
In a preferred embodiment of the present invention, described step 301 can comprise following sub-step:
Sub-step S51, adopts difference algorithm Courgette to calculate the data difference file of the first file and the second file;
It should be noted that, in the first file and the second file, can comprise binary file, also can comprise nonbinary file.For binary file, difference algorithm Courgette can first carry out dis-assembling, and then adopts bsdiff to carry out the calculating of differential file.For nonbinary file, difference algorithm Courgette can directly adopt bsdiff to carry out the calculating of differential file.
For single executable file, when upgrading, conventionally may all just revise wherein one or two line code, but this modification may cause this function all functions afterwards all to move backward fixing length.So when adopting difference algorithm Courgette computational data difference, can first dis-assembling, then only selection difference block calculating wherein.
Particularly, a binary file the inside, comprise code section (function, data), pointed to pointer list (the compiling link generation of these functions, how to have comprised the information such as mapping function), because these addresses are inner relative addresses, even if changed a little line code, after recompility, the address of function will change, and the pointer value of pointing to these functions has also all changed.Therefore,, even if changed a slight variable, also can cause very manifold modification.
The principle of Bsdiff is carried out dis-assembling to binary file exactly, said two parts are processed respectively above, for code section, in fact just similar with common text, change not too large, substantially accounted for 80% left and right of whole binary file of this part volume.Then dynamic pointer is partly carried out to some and upgrade processing, just substantially reached the target of patch installing.
For non-executable file, basic calculation process is as follows:
Server:
diff=bsdiff(original,update)
transmit?diff
For executable file, basic calculation process is as follows:
server:
asm_old=disassemble(original)
asm_new=disassemble(update)
asm_new_adjusted=adjust(asm_new,asm_old)
asm_diff=bsdiff(asm_old,asm_new_adjusted)
transmit?asm_diff
Sub-step S52 is file update bag by described data difference compressing file;
For further reducing taking of network traffics, can compress packing to data differential file, version updating bag is specifically as follows the compressed package of 7z compressed format.
Sub-step S53, is condensed to renewal differential file by described file update bag pressure.
For the ease of taking of issue and further minimizing network traffics, the file update bag pressure that issue is shortened into renewal differential file, be specifically as follows CAB file, be convenient to client decompression processing at once simultaneously.
Step 302, issues described renewal differential file; Described renewal differential file comprises download address;
By upgrading the upload onto the server position of middle appointment of differential file, issue, externally netting gear has a download address.
Step 303, generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described composing document;
Configuration file config.ini can have outside the version information and download address of indication the second version (legacy version), can also have for identifying the name information of configuration file, check information for security verification, MD5(Message Digest Algorithm for example, Message Digest Algorithm 5), version information of first version (redaction) etc., the embodiment of the present invention is not limited this.
Step 304, issues described configuration file.
The upload onto the server position of middle appointment of configuration file config.ini is issued, client can be upgraded by download configuration file config.ini.
It should be noted that, the application program of front latest edition can be one, but client likely can all can not upgraded after the version updating of each application program, therefore the application version of client can exist a plurality ofly, and the renewal differential file upgrading can be for a plurality of, and configuration file can be one, be that the application program that configuration file comprises legacy version (can be part, also can be for all) version information, and, the download address of corresponding updating file.Certainly, configuration file also can be for a plurality of, and configuration file only includes the version information of application program and the download address of corresponding updating file of a legacy version.
With reference to Fig. 4, show the flow chart of steps of a kind of update method embodiment 4 of application program according to an embodiment of the invention, described method can comprise the steps:
Step 401, obtains configuration file from server side; Described configuration file comprises the version information of composing document and upgrades the download address of differential file;
The application embodiment of the present invention, client (can be application program) can for example, default time (every mornings 6 point, on every Saturdays 6 etc.), and also can the interval default time period (for example every 6 hours, 8 hours etc.) is initiatively from server download configuration file.
Server also can be initiatively for example, default time (every mornings 6 point, on every Saturdays 6 etc.), or default time period of interval (for example every 6 hours, 8 hours etc.) is initiatively to client push configuration file.
Server can also initiatively gather version information after application program update from client, to this version information of client push, upgrades corresponding configuration file.Client, in order to guarantee user's the right of privacy and right to know, can gather the version information of the application program in this client after server is authorized.Further, whether the user that can first check this client has added appointment plan, if, confirm that this client user authorizes the version information collection of the application program of server, server can continue to carry out collecting flowchart, if the user of this client does not add executive plan, confirm that this client user does not authorize the version information collection of the application program of server end, server end cannot obtain the version information of the application program in this client.
Step 402, when version information that the version information of the 3rd preset file is described composing document, downloads described renewal differential file from described download address;
Client can check the information in configuration file config.ini item by item, when the version information of the version information of client and the second version in configuration file config.ini is identical, accesses corresponding download address down loading updating differential file from server.
Step 403, adopts described the 3rd file and described renewal differential file to generate updating file;
In a preferred embodiment of the present invention, described the 3rd file can be the same composing document corresponding with upgrading differential file.The updating file that the 3rd file stays after can upgrading for client is last can also be the composing document of the current use of client.
In a preferred embodiment of the present invention, described step 403 can comprise following sub-step:
Sub-step S61, upgrades differential file described in decompress(ion), obtains file update bag;
When renewal differential file is CAB file, can adopt Extract.exe, WinZip, WinRAR or WinMount to its decompress(ion).
Sub-step S62, file update bag described in decompress(ion), obtains data difference file;
When to the further decompress(ion) of version updating bag, can obtain data difference file.When version updating bag can be for the compressed package of 7z compressed format, can adopt corresponding decompression algorithm to carry out decompress(ion).
Sub-step S63, adopts difference algorithm Courgette by described the 3rd file and described data difference file generated updating file.
In specific implementation, can carry out by following flow process the combination of data the 3rd file and differential file renewal bag.
For non-executable file, basic calculation process is as follows:
Client:
receive?diff
update=bspatch(original,diff)
For executable file, basic calculation process is as follows:
Client:
receive?asm_diff
asm_old=disassemble(original)
asm_new_adjusted=bspatch(asm_old,asm_diff)
update=assemble(asm_new_adjusted)
Step 404, replaces described the 3rd file by described updating file.
The 3rd file of the updating file of generation being replaced to current application program use can complete renewal.
The present invention calculates data difference between the composing document of application program of redaction and legacy version and makes and upgrade differential file at server, and make configuration file and issue, whether the inspection of client downloads configuration file meets update condition, when meeting, just down loading updating differential file upgrades, prevent blindly access services device request update service of client, reduced the response times of server, reduced the resource cost of server, simultaneously, the volume that the renewal differential file that adopts data difference to make is compared complete composing document new data packets has greatly reduced, greatly reduce network bandwidth resources, improved the success ratio of downloading, improved the success ratio of upgrading.
In order to facilitate those skilled in the art to understand better the present invention, below the renewal example of composing document by a browser illustrate further the application program update process of the embodiment of the present invention:
At server side:
1, the differential file of the composing document of the browser of calculating redaction and legacy version
file.diff=GetDiff(file(new),file(old))
Wherein, GetDiff is differential file.
2, file.diff breaks into compressed package file_diff.7z.
3, fille_diff.7z is packaged into file_diff.cab.
4, file_diff.cab file is uploaded to assigned address issue, download address is http://xxx.com/file_diff.cab.
5, generating configuration file config.ini.Wherein redaction is 6.3.1.100, and legacy version is 6.2.1.200.
[file_diff.cab]
ver=6.3.1.100
md5=1bdedd0ad00b758fa92b2b9edaa9a123
check=(%fver_file%=="6.2.1.200")
URL=http://xxx.com/file_diff.cab
6, configuration file config.ini is uploaded to the position issue of appointment.
At client-side:
7, every regular time (as 6 hours), remove to download upgrading configuration config.ini.
8, check item by item configuration file config.ini, the current version number of judgement browser meets (%fver_old%==" 6.2.1.200 ").
9,, when meeting version number " 6.2.1.200 ", from http://xxx.com/file_diff.cab, download file_diff.cab file.
10, decompress(ion) file_diff.cab is file_diff.7z.
11, decompress(ion) file_diff.7z is file.diff
12, calculate the composing document of the browser of redaction.
file(new)=ApplyDiff(file(old),file.diff)
Wherein, ApplyDiff is updating file.
13, updating file is replaced to the composing document of current browser.
For a composing document of whole browser, the difference in size of the 7z bag of the differential file packing of whole composing document and upgrading of upgrading is
All 1.5M
File_diff.7z 136K
For embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to Fig. 5, show the structured flowchart of a kind of updating device embodiment 1 of application program according to an embodiment of the invention, described device can comprise as lower module:
The first acquisition module 501, is suitable for obtaining respectively one or more first files of application program of first version and one or more second files of the application program of the second version;
The first generation module 502, is suitable for generating the renewal differential file of described one or more the first file and corresponding one or more the second files;
The first release module 503, is suitable for issuing described renewal differential file; Described renewal differential file comprises download address;
The second generation module 504, is suitable for generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described the second version;
The second release module 505, is suitable for issuing described configuration file.
In a preferred embodiment of the present invention, described one or more the first files can be one or more the first files that All Files is generated according to the structure category packing of the application program of described first version;
Described one or more the second file can be one or more the second files that All Files is generated according to structure category packing according to the application program of the second version;
The version information of described first version can be higher than the version information of described the second version.
In a preferred embodiment of the present invention, described one or more the first files can comprise first foundation component file and/or the first extension element file;
Described one or more the first file can generate in the following manner:
The infrastructure component of the application program of first version is packaged as to first foundation component file according to structure category;
The extension element of the application program of first version is packaged as to the first extension element file according to structure category.
In a preferred embodiment of the present invention, described one or more the second files can comprise the second infrastructure component file and/or the second extension element file;
Described one or more the second file can generate in the following manner:
The infrastructure component of the application program of the second version is packaged as to the second infrastructure component file according to structure category;
The extension element of the application program of the second version is packaged as to the second extension element file according to structure category.
In a preferred embodiment of the present invention, described the first generation module can also be suitable for:
Adopt difference algorithm Courgette to calculate the infrastructure component differential file of described first foundation component file and described the second infrastructure component file;
Adopt difference algorithm Courgette to calculate the extension element differential file of described the first extension element file and described the second extension element file;
By described infrastructure component differential file and/or described extension element differential file boil down to version updating bag;
Described version updating bag pressure is condensed to renewal differential file.
For the device embodiment of Fig. 5, because it is substantially similar to the embodiment of the method for Fig. 1, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
With reference to Fig. 6, show the structured flowchart of a kind of updating device embodiment 2 of application program according to an embodiment of the invention, described device can comprise as lower module:
The second acquisition module 601, is suitable for obtaining configuration file from server side; Described configuration file comprises the version information of the second version and upgrades the download address of differential file;
The first download module 602, is suitable for, when the version information of client is the version information of described the second version, from described download address, downloading described renewal differential file;
The 3rd generation module 603, is suitable for adopting preset one or more the 3rd files and described renewal differential file to generate updating file;
Decompression module 604, is suitable for described updating file to carry out decompress(ion);
Installation module 605, is suitable for installing the updating file after decompress(ion).
In a preferred embodiment of the present invention, described one or more the 3rd files can comprise the 3rd infrastructure component file and/or the 3rd extension element file; Described updating file can comprise that infrastructure component upgrades bag and/or extension element is upgraded bag; Described updating file can comprise that infrastructure component upgrades bag and/or extension element is upgraded bag;
Described the 3rd generation module can also be suitable for:
Described in decompress(ion), upgrade differential file, obtain version updating bag;
Version updating bag described in decompress(ion), obtains infrastructure component differential file and/or extension element differential file;
Adopt difference algorithm Courgette that described the 3rd infrastructure component file and described infrastructure component differential file formation base assembly are upgraded to bag;
Adopt difference algorithm Courgette that described the 3rd extension element file and described extension element differential file are generated to extension element renewal bag.
For the device embodiment of Fig. 6, because it is substantially similar to the embodiment of the method for Fig. 2, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
With reference to Fig. 7, show the structured flowchart of a kind of updating device embodiment 3 of application program according to an embodiment of the invention, described device can comprise as lower module:
The 4th generation module 701, is suitable for generating the renewal differential file of the first file and the second file; Wherein, described the first file can be the composing document of the application program of first version, and described the second file can be this composing document of application program of second edition;
The 3rd release module 702, is suitable for issuing described renewal differential file; Described renewal differential file comprises download address;
The 5th generation module 703, is suitable for generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described composing document;
The 4th release module 704, is suitable for issuing described configuration file.
In a preferred embodiment of the present invention, the version information of described first version can be higher than the version information of described the second version.
In a preferred embodiment of the present invention, described the 4th generation module can also be suitable for:
Adopt difference algorithm Courgette to calculate the data difference file of the first file and the second file;
By described data difference compressing file, it is file update bag;
Described file update bag pressure is condensed to renewal differential file.
For the device embodiment of Fig. 7, because it is substantially similar to the embodiment of the method for Fig. 3, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
With reference to Fig. 8, show the structured flowchart of a kind of updating device embodiment 4 of application program according to an embodiment of the invention, described device can comprise as lower module:
The 3rd acquisition module 801, is suitable for obtaining configuration file from server side; Described configuration file comprises the version information of composing document and upgrades the download address of differential file;
The second download module 802, while being suitable for version information that the version information at the 3rd preset file is described composing document, downloads described renewal differential file from described download address;
The 6th generation module 803, is suitable for adopting described the 3rd file and described renewal differential file to generate updating file;
Replacement module 804, is suitable for described updating file to replace described the 3rd file.
In a preferred embodiment of the present invention, described the 6th generation module can also be suitable for:
Described in decompress(ion), upgrade differential file, obtain file update bag;
File update bag described in decompress(ion), obtains data difference file;
Adopt difference algorithm Courgette by described the 3rd file and described data difference file generated updating file.
For the device embodiment of Fig. 8, because it is substantially similar to the embodiment of the method for Fig. 4, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the updating the equipment of the application program of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
Embodiments of the invention disclose the update method of A1, a kind of application program, comprising:
Obtain respectively one or more first files of application program of first version and one or more second files of the application program of the second version;
Generate the renewal differential file of described one or more the first file and corresponding one or more the second files;
Issue described renewal differential file; Described renewal differential file comprises download address;
Generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described the second version;
Issue described configuration file.
A2, the method as described in A1, described one or more the first files are one or more the first files that All Files is generated according to the structure category packing of the application program of described first version;
Described one or more the second file is one or more the second files that All Files is generated according to structure category packing according to the application program of the second version;
The version information of described first version is higher than the version information of described the second version.
A3, the method as described in A1, described one or more the first files comprise first foundation component file and/or the first extension element file;
Described one or more the first file generates in the following manner:
The infrastructure component of the application program of first version is packaged as to first foundation component file according to structure category;
The extension element of the application program of first version is packaged as to the first extension element file according to structure category.
A4, the method as described in A3, described one or more the second files comprise the second infrastructure component file and/or the second extension element file;
Described one or more the second file generates in the following manner:
The infrastructure component of the application program of the second version is packaged as to the second infrastructure component file according to structure category;
The extension element of the application program of the second version is packaged as to the second extension element file according to structure category.
A5, the method as described in A4, described one or more the first files of described generation comprise with the step of the differential file of corresponding one or more the second files:
Adopt difference algorithm Courgette to calculate the infrastructure component differential file of described first foundation component file and described the second infrastructure component file;
Adopt difference algorithm Courgette to calculate the extension element differential file of described the first extension element file and described the second extension element file;
By described infrastructure component differential file and/or described extension element differential file boil down to version updating bag;
Described version updating bag pressure is condensed to renewal differential file.
Embodiments of the invention also disclose the update method of B6, a kind of application program, comprising:
From server side, obtain configuration file; Described configuration file comprises the version information of the second version and upgrades the download address of differential file;
When the version information of client is the version information of described the second version, from described download address, download described renewal differential file;
Adopt preset one or more the 3rd files and described renewal differential file to generate updating file;
Described updating file is carried out to decompress(ion);
Updating file after decompress(ion) is installed.
B7, the method as described in B6, described one or more the 3rd files comprise the 3rd infrastructure component file and/or the 3rd extension element file; Described updating file comprises that infrastructure component upgrades bag and/or extension element is upgraded bag; Described updating file comprises that infrastructure component upgrades bag and/or extension element is upgraded bag;
The step that one or more the 3rd files that described employing is preset and described renewal differential file generate updating file comprises:
Described in decompress(ion), upgrade differential file, obtain version updating bag;
Version updating bag described in decompress(ion), obtains infrastructure component differential file and/or extension element differential file;
Adopt difference algorithm Courgette that described the 3rd infrastructure component file and described infrastructure component differential file formation base assembly are upgraded to bag;
Adopt difference algorithm Courgette that described the 3rd extension element file and described extension element differential file are generated to extension element renewal bag.
Embodiments of the invention also disclose the update method of C8, a kind of application program, comprising:
Generate the renewal differential file of the first file and the second file; Wherein, the composing document of the application program that described the first file is first version, described the second file is the composing document of the application program of the second version;
Issue described renewal differential file; Described renewal differential file comprises download address;
Generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described composing document;
Issue described configuration file.
C9, the method as described in C8, the version information of described first version is higher than the version information of described the second version.
C10, the method as described in C8, the step of the renewal differential file of described generation the first file and the second file comprises:
Adopt difference algorithm Courgette to calculate the data difference file of the first file and the second file;
By described data difference compressing file, it is file update bag;
Described file update bag pressure is condensed to renewal differential file.
Embodiments of the invention also disclose the update method of D11, a kind of application program, comprising:
From server side, obtain configuration file; Described configuration file comprises the version information of composing document and upgrades the download address of differential file;
When version information that the version information of the 3rd preset file is described composing document, from described download address, download described renewal differential file;
Adopt described the 3rd file and described renewal differential file to generate updating file;
Described updating file is replaced to described the 3rd file.
D12, the method as described in D11, the step that described the 3rd file of described employing and described renewal differential file generate updating file comprises:
Described in decompress(ion), upgrade differential file, obtain file update bag;
File update bag described in decompress(ion), obtains data difference file;
Adopt difference algorithm Courgette by described the 3rd file and described data difference file generated updating file.
Embodiments of the invention also disclose the updating device of E13, a kind of application program, comprising:
The first acquisition module, is suitable for obtaining respectively one or more first files of application program of first version and one or more second files of the application program of the second version;
The first generation module, is suitable for generating the renewal differential file of described one or more the first file and corresponding one or more the second files;
The first release module, is suitable for issuing described renewal differential file; Described renewal differential file comprises download address;
The second generation module, is suitable for generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described the second version;
The second release module, is suitable for issuing described configuration file.
E14, the device as described in E13, described one or more the first files are one or more the first files that All Files is generated according to the structure category packing of the application program of described first version;
Described one or more the second file is one or more the second files that All Files is generated according to structure category packing according to the application program of the second version;
The version information of described first version is higher than the version information of described the second version.
E15, the device as described in E13, described one or more the first files comprise first foundation component file and/or the first extension element file;
Described one or more the first file generates in the following manner:
The infrastructure component of the application program of first version is packaged as to first foundation component file according to structure category;
The extension element of the application program of first version is packaged as to the first extension element file according to structure category.
E16, the device as described in E15, described one or more the second files comprise the second infrastructure component file and/or the second extension element file;
Described one or more the second file generates in the following manner:
The infrastructure component of the application program of the second version is packaged as to the second infrastructure component file according to structure category;
The extension element of the application program of the second version is packaged as to the second extension element file according to structure category.
E17, the device as described in E16, described the first generation module is also suitable for:
Adopt difference algorithm Courgette to calculate the infrastructure component differential file of described first foundation component file and described the second infrastructure component file;
Adopt difference algorithm Courgette to calculate the extension element differential file of described the first extension element file and described the second extension element file;
By described infrastructure component differential file and/or described extension element differential file boil down to version updating bag;
Described version updating bag pressure is condensed to renewal differential file.
Embodiments of the invention also disclose the updating device of F18, a kind of application program, comprising:
The second acquisition module, is suitable for obtaining configuration file from server side; Described configuration file comprises the version information of the second version and upgrades the download address of differential file;
The first download module, is suitable for, when the version information of client is the version information of described the second version, from described download address, downloading described renewal differential file;
The 3rd generation module, is suitable for adopting preset one or more the 3rd files and described renewal differential file to generate updating file;
Decompression module, is suitable for described updating file to carry out decompress(ion);
Installation module, is suitable for installing the updating file after decompress(ion).
F19, the device as described in F18, described one or more the 3rd files comprise the 3rd infrastructure component file and/or the 3rd extension element file; Described updating file comprises that infrastructure component upgrades bag and/or extension element is upgraded bag; Described updating file comprises that infrastructure component upgrades bag and/or extension element is upgraded bag;
Described the 3rd generation module is also suitable for:
Described in decompress(ion), upgrade differential file, obtain version updating bag;
Version updating bag described in decompress(ion), obtains infrastructure component differential file and/or extension element differential file;
Adopt difference algorithm Courgette that described the 3rd infrastructure component file and described infrastructure component differential file formation base assembly are upgraded to bag;
Adopt difference algorithm Courgette that described the 3rd extension element file and described extension element differential file are generated to extension element renewal bag.
Embodiments of the invention also disclose the updating device of G20, a kind of application program, comprising:
The 4th generation module, is suitable for generating the renewal differential file of the first file and the second file; Wherein, the composing document of the application program that described the first file is first version, described the second file is the composing document of the application program of the second version;
The 3rd release module, is suitable for issuing described renewal differential file; Described renewal differential file comprises download address;
The 5th generation module, is suitable for generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described composing document;
The 4th release module, is suitable for issuing described configuration file.
G21, the device as described in G20, the version information of described first version is higher than the version information of described the second version.
G22, the device as described in G20, described the 4th generation module is also suitable for:
Adopt difference algorithm Courgette to calculate the data difference file of the first file and the second file;
By described data difference compressing file, it is file update bag;
Described file update bag pressure is condensed to renewal differential file.
Embodiments of the invention also disclose the updating device of H23, a kind of application program, comprising:
The 3rd acquisition module, is suitable for obtaining configuration file from server side; Described configuration file comprises the version information of composing document and upgrades the download address of differential file;
The second download module, while being suitable for version information that the version information at the 3rd preset file is described composing document, downloads described renewal differential file from described download address;
The 6th generation module, is suitable for adopting described the 3rd file and described renewal differential file to generate updating file;
Replacement module, is suitable for described updating file to replace described the 3rd file.
H24, the device as described in H23, described the 6th generation module is also suitable for:
Described in decompress(ion), upgrade differential file, obtain file update bag;
File update bag described in decompress(ion), obtains data difference file;
Adopt difference algorithm Courgette by described the 3rd file and described data difference file generated updating file.

Claims (10)

1. a update method for application program, comprising:
Obtain respectively one or more first files of application program of first version and one or more second files of the application program of the second version;
Generate the renewal differential file of described one or more the first file and corresponding one or more the second files;
Issue described renewal differential file; Described renewal differential file comprises download address;
Generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described the second version;
Issue described configuration file.
2. the method for claim 1, is characterized in that, described one or more the first files are one or more the first files that All Files is generated according to the structure category packing of the application program of described first version;
Described one or more the second file is one or more the second files that All Files is generated according to structure category packing according to the application program of the second version;
The version information of described first version is higher than the version information of described the second version.
3. the method for claim 1, is characterized in that, described one or more the first files comprise first foundation component file and/or the first extension element file;
Described one or more the first file generates in the following manner:
The infrastructure component of the application program of first version is packaged as to first foundation component file according to structure category;
The extension element of the application program of first version is packaged as to the first extension element file according to structure category.
4. a update method for application program, comprising:
From server side, obtain configuration file; Described configuration file comprises the version information of the second version and upgrades the download address of differential file;
When the version information of client is the version information of described the second version, from described download address, download described renewal differential file;
Adopt preset one or more the 3rd files and described renewal differential file to generate updating file;
Described updating file is carried out to decompress(ion);
Updating file after decompress(ion) is installed.
5. a update method for application program, comprising:
Generate the renewal differential file of the first file and the second file; Wherein, the composing document of the application program that described the first file is first version, described the second file is the composing document of the application program of the second version;
Issue described renewal differential file; Described renewal differential file comprises download address;
Generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described composing document;
Issue described configuration file.
6. a update method for application program, comprising:
From server side, obtain configuration file; Described configuration file comprises the version information of composing document and upgrades the download address of differential file;
When version information that the version information of the 3rd preset file is described composing document, from described download address, download described renewal differential file;
Adopt described the 3rd file and described renewal differential file to generate updating file;
Described updating file is replaced to described the 3rd file.
7. a updating device for application program, comprising:
The first acquisition module, is suitable for obtaining respectively one or more first files of application program of first version and one or more second files of the application program of the second version;
The first generation module, is suitable for generating the renewal differential file of described one or more the first file and corresponding one or more the second files;
The first release module, is suitable for issuing described renewal differential file; Described renewal differential file comprises download address;
The second generation module, is suitable for generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described the second version;
The second release module, is suitable for issuing described configuration file.
8. a updating device for application program, comprising:
The second acquisition module, is suitable for obtaining configuration file from server side; Described configuration file comprises the version information of the second version and upgrades the download address of differential file;
The first download module, is suitable for, when the version information of client is the version information of described the second version, from described download address, downloading described renewal differential file;
The 3rd generation module, is suitable for adopting preset one or more the 3rd files and described renewal differential file to generate updating file;
Decompression module, is suitable for described updating file to carry out decompress(ion);
Installation module, is suitable for installing the updating file after decompress(ion).
9. a updating device for application program, comprising:
The 4th generation module, is suitable for generating the renewal differential file of the first file and the second file; Wherein, the composing document of the application program that described the first file is first version, described the second file is the composing document of the application program of the second version;
The 3rd release module, is suitable for issuing described renewal differential file; Described renewal differential file comprises download address;
The 5th generation module, is suitable for generating configuration file; Described configuration file comprises the download address of version information and the described renewal differential file of described composing document;
The 4th release module, is suitable for issuing described configuration file.
10. a updating device for application program, comprising:
The 3rd acquisition module, is suitable for obtaining configuration file from server side; Described configuration file comprises the version information of composing document and upgrades the download address of differential file;
The second download module, while being suitable for version information that the version information at the 3rd preset file is described composing document, downloads described renewal differential file from described download address;
The 6th generation module, is suitable for adopting described the 3rd file and described renewal differential file to generate updating file;
Replacement module, is suitable for described updating file to replace described the 3rd file.
CN201310714581.0A 2013-12-20 2013-12-20 Method and device for updating application programs Active CN103699410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310714581.0A CN103699410B (en) 2013-12-20 2013-12-20 Method and device for updating application programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310714581.0A CN103699410B (en) 2013-12-20 2013-12-20 Method and device for updating application programs

Publications (2)

Publication Number Publication Date
CN103699410A true CN103699410A (en) 2014-04-02
CN103699410B CN103699410B (en) 2017-05-24

Family

ID=50360949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310714581.0A Active CN103699410B (en) 2013-12-20 2013-12-20 Method and device for updating application programs

Country Status (1)

Country Link
CN (1) CN103699410B (en)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199666A (en) * 2014-09-09 2014-12-10 北京京东尚科信息技术有限公司 Dynamic configuration method and device for application program
CN104391728A (en) * 2014-12-12 2015-03-04 北京奇虎科技有限公司 Software upgrading delta pack acquiring method, corresponding upgrading method and device
CN104965720A (en) * 2014-07-03 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for installing an application
CN105739971A (en) * 2016-01-20 2016-07-06 网易(杭州)网络有限公司 Verification file generation method and device and verification file using method and device
CN106155651A (en) * 2015-03-31 2016-11-23 广州四三九九信息科技有限公司 The method and system that the automation of application version is issued and updated
CN106708581A (en) * 2016-12-27 2017-05-24 北京奇虎科技有限公司 Application update package generation method and device and application update method and device
CN106775827A (en) * 2016-11-25 2017-05-31 广东欧珀移动通信有限公司 A kind of application program update method and device, computer equipment
CN106775802A (en) * 2016-11-14 2017-05-31 福建天泉教育科技有限公司 Method and its system that mass small documents quickly update
CN106886433A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 The update method and device of client software
CN107124446A (en) * 2017-04-01 2017-09-01 北京五八信息技术有限公司 Application program method for down loading, server and terminal
CN107239299A (en) * 2017-04-28 2017-10-10 北京五八信息技术有限公司 Plug-in unit upgrade method and device
CN107347101A (en) * 2016-08-19 2017-11-14 武汉英泰斯特电子技术有限公司 A kind of car networking CAN collecting methods
CN107368290A (en) * 2016-05-12 2017-11-21 阿里巴巴集团控股有限公司 Determine incremental data method and device, updated data package method, apparatus and system
CN107643920A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Application software update method and device
CN107831721A (en) * 2017-10-24 2018-03-23 北京天地玛珂电液控制系统有限公司 A kind of director demon update device and method
CN108197020A (en) * 2017-12-28 2018-06-22 掌阅科技股份有限公司 Plug-in unit method of calibration, electronic equipment and computer storage media
WO2018177193A1 (en) * 2017-03-27 2018-10-04 中兴通讯股份有限公司 Software upgrade method and device
CN108710500A (en) * 2018-05-23 2018-10-26 北京五八信息技术有限公司 Resource issuing method, update method and device
CN109298881A (en) * 2018-08-30 2019-02-01 百度在线网络技术(北京)有限公司 Automatic packaging data method, device, equipment and computer readable storage medium
CN109308189A (en) * 2018-09-27 2019-02-05 珠海市君天电子科技有限公司 A kind of configuration file update method, device and electronic equipment
CN109309725A (en) * 2018-10-25 2019-02-05 深圳市腾讯信息技术有限公司 Using downloading and update method, device, computer equipment and storage medium
CN109375932A (en) * 2018-09-18 2019-02-22 广州虎牙信息科技有限公司 Method, apparatus, terminal and the storage medium of script building are answered in a kind of APP hot repair
CN109672534A (en) * 2017-10-16 2019-04-23 腾讯科技(深圳)有限公司 Processing method, device, storage medium and the electronic device of Internet resources
CN109739551A (en) * 2018-12-29 2019-05-10 上海连尚网络科技有限公司 Application issued system, method and device calculate equipment and storage medium
CN109766131A (en) * 2017-11-06 2019-05-17 上海宝信软件股份有限公司 The system and method for the intelligent automatic upgrading of software is realized based on multithreading
CN110764815A (en) * 2019-09-26 2020-02-07 北京网聘咨询有限公司 Web API project issuing method and device
CN111240767A (en) * 2020-02-04 2020-06-05 北京字节跳动网络技术有限公司 Component and page loading method and device, electronic equipment and storage medium
CN112068870A (en) * 2020-08-11 2020-12-11 广州点云科技有限公司 Method for upgrading program difference increment
CN112579072A (en) * 2020-12-21 2021-03-30 深圳市欢太科技有限公司 Browser packaging method and device, storage medium and terminal
CN112799702A (en) * 2021-02-01 2021-05-14 北京百家科技集团有限公司 Software online upgrading method, related equipment and storage medium
CN113050972A (en) * 2021-04-30 2021-06-29 中国银行股份有限公司 System upgrading method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5004857B2 (en) * 2008-04-18 2012-08-22 日本電信電話株式会社 Application update information providing system and application update information providing method
CN102890636A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Firmware upgrade method and system under Android system
CN102799445A (en) * 2012-05-03 2012-11-28 陈昊 Application upgrading method based on Android platform and system

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965720A (en) * 2014-07-03 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for installing an application
CN104965720B (en) * 2014-07-03 2018-10-19 腾讯科技(深圳)有限公司 Using installation method and device
CN104199666B (en) * 2014-09-09 2018-05-29 北京京东尚科信息技术有限公司 A kind of application program Dynamic Configuration and device
CN104199666A (en) * 2014-09-09 2014-12-10 北京京东尚科信息技术有限公司 Dynamic configuration method and device for application program
CN104391728A (en) * 2014-12-12 2015-03-04 北京奇虎科技有限公司 Software upgrading delta pack acquiring method, corresponding upgrading method and device
CN104391728B (en) * 2014-12-12 2018-01-16 北京奇虎科技有限公司 Software upgrading difference packet acquisition methods and corresponding upgrade method and device
CN106155651B (en) * 2015-03-31 2019-03-01 广州四三九九信息科技有限公司 The automation publication of application version and the method and system of update
CN106155651A (en) * 2015-03-31 2016-11-23 广州四三九九信息科技有限公司 The method and system that the automation of application version is issued and updated
CN106886433A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 The update method and device of client software
CN105739971B (en) * 2016-01-20 2019-03-08 网易(杭州)网络有限公司 Verify generation, application method and the device of file
CN105739971A (en) * 2016-01-20 2016-07-06 网易(杭州)网络有限公司 Verification file generation method and device and verification file using method and device
CN107368290A (en) * 2016-05-12 2017-11-21 阿里巴巴集团控股有限公司 Determine incremental data method and device, updated data package method, apparatus and system
CN107643920A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Application software update method and device
CN107347101B (en) * 2016-08-19 2018-05-04 武汉英泰斯特电子技术有限公司 A kind of car networking CAN collecting methods
CN107347101A (en) * 2016-08-19 2017-11-14 武汉英泰斯特电子技术有限公司 A kind of car networking CAN collecting methods
CN106775802A (en) * 2016-11-14 2017-05-31 福建天泉教育科技有限公司 Method and its system that mass small documents quickly update
CN106775827B (en) * 2016-11-25 2020-05-12 Oppo广东移动通信有限公司 Application program updating method and device and computer equipment
CN106775827A (en) * 2016-11-25 2017-05-31 广东欧珀移动通信有限公司 A kind of application program update method and device, computer equipment
CN106708581A (en) * 2016-12-27 2017-05-24 北京奇虎科技有限公司 Application update package generation method and device and application update method and device
WO2018177193A1 (en) * 2017-03-27 2018-10-04 中兴通讯股份有限公司 Software upgrade method and device
CN107124446A (en) * 2017-04-01 2017-09-01 北京五八信息技术有限公司 Application program method for down loading, server and terminal
CN107239299A (en) * 2017-04-28 2017-10-10 北京五八信息技术有限公司 Plug-in unit upgrade method and device
CN107239299B (en) * 2017-04-28 2020-07-17 北京五八信息技术有限公司 Plug-in upgrading method and device
CN109672534A (en) * 2017-10-16 2019-04-23 腾讯科技(深圳)有限公司 Processing method, device, storage medium and the electronic device of Internet resources
CN109672534B (en) * 2017-10-16 2021-08-20 腾讯科技(深圳)有限公司 Network resource processing method and device, storage medium and electronic device
CN107831721A (en) * 2017-10-24 2018-03-23 北京天地玛珂电液控制系统有限公司 A kind of director demon update device and method
CN109766131A (en) * 2017-11-06 2019-05-17 上海宝信软件股份有限公司 The system and method for the intelligent automatic upgrading of software is realized based on multithreading
CN108197020A (en) * 2017-12-28 2018-06-22 掌阅科技股份有限公司 Plug-in unit method of calibration, electronic equipment and computer storage media
CN108710500A (en) * 2018-05-23 2018-10-26 北京五八信息技术有限公司 Resource issuing method, update method and device
CN109298881A (en) * 2018-08-30 2019-02-01 百度在线网络技术(北京)有限公司 Automatic packaging data method, device, equipment and computer readable storage medium
CN109375932A (en) * 2018-09-18 2019-02-22 广州虎牙信息科技有限公司 Method, apparatus, terminal and the storage medium of script building are answered in a kind of APP hot repair
CN109308189A (en) * 2018-09-27 2019-02-05 珠海市君天电子科技有限公司 A kind of configuration file update method, device and electronic equipment
CN109309725A (en) * 2018-10-25 2019-02-05 深圳市腾讯信息技术有限公司 Using downloading and update method, device, computer equipment and storage medium
CN109309725B (en) * 2018-10-25 2021-10-08 深圳市腾讯信息技术有限公司 Application downloading and updating method and device, computer equipment and storage medium
CN109739551A (en) * 2018-12-29 2019-05-10 上海连尚网络科技有限公司 Application issued system, method and device calculate equipment and storage medium
CN110764815A (en) * 2019-09-26 2020-02-07 北京网聘咨询有限公司 Web API project issuing method and device
CN111240767A (en) * 2020-02-04 2020-06-05 北京字节跳动网络技术有限公司 Component and page loading method and device, electronic equipment and storage medium
CN112068870A (en) * 2020-08-11 2020-12-11 广州点云科技有限公司 Method for upgrading program difference increment
CN112579072A (en) * 2020-12-21 2021-03-30 深圳市欢太科技有限公司 Browser packaging method and device, storage medium and terminal
CN112799702A (en) * 2021-02-01 2021-05-14 北京百家科技集团有限公司 Software online upgrading method, related equipment and storage medium
CN113050972A (en) * 2021-04-30 2021-06-29 中国银行股份有限公司 System upgrading method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN103699410B (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN103699410A (en) Method and device for updating application programs
US6151708A (en) Determining program update availability via set intersection over a sub-optical pathway
CN102289378B (en) Method for automatically generating APP (Application)
CN105045631A (en) Method and device for upgrading client-side applications
CN104714827A (en) Plug-in update method and device
US10235374B2 (en) Key-value store for managing user files based on pairs of key-value pairs
US11979300B2 (en) Standardized format for containerized applications
CN103002010A (en) Method, device and system for updating data based on incremental data
CN105389191A (en) Software upgrading method, apparatus and system based on local area network
US11474796B1 (en) Build system for distributed applications
US10560540B2 (en) Optimizing provisioning of Java-based web applications on PaaS like cloud foundry
CN111176717B (en) Method and device for generating installation package and electronic equipment
US11640441B2 (en) Page displaying method and device, computer-readable storage medium and electronic device
CN101944032A (en) Microware updating method, client, server and system
US9614901B2 (en) Data infrastructure for providing interconnectivity between platforms, devices, and operating systems
CN110162544A (en) Heterogeneous data source data capture method and device
CN103002011A (en) Server-based data updating method and server
CN104461567A (en) Method and system for releasing software package
CN105553727A (en) Method, device and system for updating configuration information
CN103377064A (en) Page script loading method and page script loading device
US20150199408A1 (en) Systems and methods for a high speed query infrastructure
CN105095367A (en) Method and device for acquiring client data
CN105049514A (en) File downloading method and file downloading device
CN109145236A (en) Page file processing method, apparatus and system
CN104361007A (en) Browser and processing method for browser favorites

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.