Summary of the invention
In view of the above problems, the present invention has been proposed to a kind of method of a kind of upgrade data download that overcomes the problems referred to above or address the above problem is at least in part provided, and, the device that a kind of upgrade data is downloaded.
According to one aspect of the present invention, a kind of method that provides upgrade data to download, described upgrade data is stored in server, described server comprises the configuration information of upgrade data, described configuration information comprises release type information and the corresponding download address of upgrade data, and described method comprises:
Terminal is downloaded the configuration information of upgrade data from described server side;
The request of obtaining of described terminal receiving target upgrade data; Described request comprises the release type information of described targeted update data;
Described terminal adopts described release type information in described configuration information, to search download address corresponding to described targeted update data;
Described terminal is downloaded targeted update data according to described download address from corresponding server.
Alternatively, the step that described terminal is downloaded the configuration information of upgrade data from described server side comprises:
Terminal sends the request of the configuration information that obtains upgrade data to described server; Described request comprises Configuration Type information;
Described terminal receives described server and returns to corresponding configuration information for described Configuration Type information.
Alternatively, described configuration information comprises interface information, in described terminal, after the step of the configuration information of described server side download upgrade data, also comprises:
Described terminal is extracted interface information from described configuration information; Described interface information comprises component Name, component version number, update date, down operation prompting, and/or component size;
Described terminal represents described interface information.
Alternatively, described configuration information comprises up-to-date check information, in the described download address of described terminal foundation, after corresponding server is downloaded the step of targeted update data, also comprises:
Described terminal is calculated current check information according to described targeted update data;
Described in described terminal judges, whether up-to-date check information is consistent with current check information;
If so, described terminal judges that described targeted update data are legal;
If not, described terminal judges that described targeted update data are illegal.
Alternatively, also comprise type of action information in described configuration information, preserve type of action information and corresponding action rules in described terminal, if judge, described targeted update data are legal, and described method also comprises:
Described terminal is extracted the type of action information of described targeted update data from described configuration information;
Described terminal is upgraded according to action rules corresponding to described type of action information.
According to a further aspect in the invention, the device that provides a kind of upgrade data to download, described upgrade data is stored in server, described server comprises the configuration information of upgrade data, described configuration information comprises release type information and the corresponding download address of upgrade data, and described device comprises:
Be positioned at the first download module of terminal, be suitable for downloading from described server side the configuration information of upgrade data;
Be positioned at the receiver module of terminal, be suitable for the request of obtaining of receiving target upgrade data; Described request comprises the release type information of described targeted update data;
Be positioned at the module of searching of terminal, be suitable for adopting described release type information in described configuration information, to search download address corresponding to described targeted update data;
Be positioned at the second download module of terminal, be suitable for from corresponding server, downloading targeted update data according to described download address.
Alternatively, the first download module that is positioned at terminal described in comprises:
Be positioned at the configuration request submodule of terminal, be suitable for sending to described server the request of the configuration information that obtains upgrade data; Described request comprises Configuration Type information;
The configuration information that is positioned at terminal receives submodule, is suitable for receiving described server and returns to corresponding configuration information for described Configuration Type information.
Alternatively, described configuration information comprises interface information, also comprises:
Be positioned at the first extraction module of terminal, be suitable for extracting interface information from described configuration information; Described interface information comprises component Name, component version number, update date, down operation prompting, and/or component size;
The module that represents that is positioned at terminal, is suitable for representing described interface information.
Alternatively, described configuration information comprises up-to-date check information, also comprises:
Be positioned at the computing module of terminal, be suitable for calculating current check information according to described targeted update data;
Be positioned at the judge module of terminal, be suitable for judging that whether described up-to-date check information is consistent with current check information; If so, call the legal determination module that is positioned at terminal, if not, call the illegal determination module that is positioned at terminal;
Be positioned at the legal determination module of terminal, be suitable for judging that described targeted update data are legal;
Be positioned at the illegal determination module of terminal, be suitable for judging that described targeted update data are illegal.
Alternatively, also comprise type of action information in described configuration information, preserve type of action information and corresponding action rules in described terminal, described device also comprises:
Be positioned at the second extraction module of terminal, be suitable for extracting the type of action information of described targeted update data from described configuration information;
Be positioned at the upgrading module of terminal, be suitable for upgrading according to action rules corresponding to described type of action information.
The embodiment of the present invention can be preserved upgrade data and corresponding configuration information in server, wherein, described configuration information comprises release type information and the corresponding download address of upgrade data, terminal gets configuration information from server, when terminal program need to be upgraded, can in configuration information, search download address corresponding to release type information, terminal can be downloaded upgrade data from server corresponding to download address, avoid terminal not carry out program upgrade in time and the problems such as generating routine leak or program function disappearance, can support a plurality of upgrade datas to download simultaneously.
In embodiments of the present invention, the terminal that control centre is installed can adopt upgraded in offline instrument download configuration information and upgrade data.Wherein, in configuration information, can just not need to do respectively the upgraded in offline tools interfaces of different editions by the interface of the same set of upgraded in offline instrument of being dissolved into of the control centre of different editions, reduced the cost of development cost and maintenance.In addition, utilize all right multiplexing program upgrade data with a series of product in configuration information, upgrade data general in the product of different editions can be linked in same download address particularly, just do not need a set of upgrade data of additional customized, some general upgrade datas are as long as issue is a like this, and the general upgrade data in issue and download also only needs test once, has effectively reduced the testing time of upgrade data.
In embodiments of the present invention, the upgrading mode that the terminal operation of the control centre of different editions imports is installed in practice different, therefore be provided with the type of action information of upgrade data in can also configuration information, in upgraded in offline instrument, be provided with the corresponding action rules of this type of action information simultaneously, even if there are so a plurality of products of upgrading in different ways, also only need a upgraded in offline instrument just can complete, effectively reduce exploitation and the preventive maintenance time of upgraded in offline instrument, for terminal provides, downloaded fast upgrading support pattern.
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 specification, 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.
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 a kind of according to an embodiment of the invention flow chart of steps of embodiment of the method one of upgrade data download, described upgrade data can be stored in server, in described server, can comprise the configuration information of upgrade data, described configuration information can comprise release type information and the corresponding download address of upgrade data, and described method specifically can comprise the steps:
Step 101, terminal is downloaded the configuration information of upgrade data from described server side;
In embodiments of the present invention, described configuration information can be stored in configuration file, and particularly, described configuration file can be ini(Initialization File, initialization files).Ini file is the storage format that the CONFIG.SYS of windows adopts, every configuration of windows under the overall leadership, and general user uses every graphically managing interface that windows provides just can realize identical configuration.
Certainly, configuration information can be selected xml(Extensive Markup Language, extensible markup language) file of file or extended formatting stores, and the present invention is not restricted this.
In a preferred embodiment of the present invention, described step 101 can comprise following sub-step:
Sub-step S11, terminal sends the request of the configuration information that obtains upgrade data to described server; Described request comprises Configuration Type information;
Sub-step S12, described terminal receives the configuration information that described server returns for described Configuration Type information.
In specific implementation, the control centre of different editions is installed in different clients' terminal, therefore probably different for the requirement of upgrade data, for example, the control centre of some version only requires virus killing upgrading, and the control centre of some version only requires wooden horse qurush level.Can be the Configuration Type information of upgraded in offline instrument setting in embodiments of the present invention, particularly, Configuration Type information can be arranged on upgraded in offline tool interior, for example directly be packaged in upgraded in offline instrument the inside, or be arranged on the outside of upgraded in offline instrument, for example be placed on the same first class catalogue of upgraded in offline instrument, the embodiment of the present invention is not restricted this.
When terminal to server transmission comprises the request of Configuration Type information (type, types of customization key assignments), can in total download index download path file 360EntUpdUrlIndex.ini of server side, search the configuration file that this type is corresponding.In practice, often a newly-increased upgrade data is all its relative set configuration file, just does not need again to develop upgraded in offline instrument, as long as change the configuration that instrument carries, has saved development time and development cost.
For example, a kind of corresponding configuration information that obtains current Configuration Type information of the embodiment of the present invention is as follows:
[config]
type=org
360EntUpdUrlIndex.ini
[list]
org=org
org_4=org_4
org_5=org_5
[org]
official_url=http://data.b.360.cn/offline_ep/360EntOffUpd.ini
cdn_url=http://dl.360safe.com/offline_ep/360EntOffUpd.ini
Particularly, terminal can be inquired about corresponding occurrence org according to character string type=org in [list] of server, then according to org, from [org], get the download address of the configuration information that type=org is corresponding, finally can get corresponding configuration information according to this download address.
In a preferred embodiment of the present invention, described configuration information can comprise interface information, in described terminal, after the step of the configuration information of described server side download upgrade data, can also comprise the steps:
Described terminal is extracted interface information from described configuration information; Described interface information can comprise component Name, component version number, update date, down operation prompting, and/or component size;
Described terminal represents described interface information.
In configuration file, configured the interface information that has had tree-like configurable interfaces, upgraded in offline instrument can read these interface informations before loading, dynamic load is also shown to user, and user just can be according to the corresponding down operation of the information and executing showing in interface.
In order to make those skilled in the art further understand the embodiment of the present invention, below adopt concrete example that the interface of upgraded in offline instrument of the present invention is described.With reference to the tree-like configurable interfaces schematic diagram of a kind of according to an embodiment of the invention upgraded in offline instrument shown in Fig. 2, particularly, described configuration information is as follows:
[inc_update_safe]
Name=bodyguard's upgrade data
The upgraded in offline data in tooltips=bodyguard's wooden horse storehouse.
diff=0
ver=2013092300
date=2013-09-23
size=679560011
child=inc_safe32_group,inc_safe64_group
item_type=1
[inc_safe32_group]
Name=32 bit data
The cut-off of tooltips=32 bit manipulation system bodyguard's wooden horse storehouse is to the intersection of all data of certain Time of Day.
diff=0
child=inc_safe32_base,inc_safe32_add,inc_safe32_add001
ver=2013092300
date=2013-09-23
size=339488308
item_type=1
os_type=32
childvisible=0
[inc_safe32_base]
Name=reference data
The cut-off of tooltips=bodyguard's wooden horse storehouse is to the intersection of all data of certain Time of Day.
ver=2012090801
date=2013-09-09
size=156653148
diff=0
os_type=32
md5=d24b82d4e474c0b387f4f85f2a27bca0
url=http://dl.360safe.com/offline_ep/inc_safe32_base.cab
path=safe
item_type=2
p2purl=pdown://http://dl.360safe.com/offline_ep/inc_safe32_base.cab|p2=7ECD68E681252671A67128CF8CA391D8AC6AE5DB|b2=156653148|h7=5
Wherein, in interface information in described configuration information, be provided with set membership, for example: the child=inc_safe32_group of Liang Ge branch and the inc_safe64_group of inc_update_safe, i.e. 32 bit data of the bodyguard's upgrade data in Fig. 2 and 64 bit data.Adopt tree-like configurable interfaces can show comparatively intuitively the set membership between upgrade data, user can click bodyguard's upgrade data of 32 bit data or 64 bit data according to actual conditions, and user's experience effect is better.
Step 102, the request of obtaining of described terminal receiving target upgrade data; Described request comprises the release type information of described targeted update data;
Step 103, described terminal adopts described release type information in described configuration information, to search download address corresponding to described targeted update data;
In specific implementation, the prompting download information that the user of terminal shows according to upgraded in offline tools interfaces clicks required upgrade data, for example, user can click bodyguard's upgrade data of 32 bit data, terminal just can receive the release type information of bodyguard's upgrade data of 32 bit data so, and terminal is searched corresponding download address according to this release type information again in configuration information.
Step 104, described terminal is downloaded targeted update data according to described download address from corresponding server.
In specific implementation, a certain class upgrade data of some series of products issue can be multiplexing, therefore can be in configuration information can product in upgrade data conventional data part all point to the download address of this class upgrade data.
Particularly, can be by s_item in configuration information, child is set to the sub-project that the upgrade data of series of products need to be downloaded, and wherein, the item of each child has the download address list of the upgrade data that index point finally need to download.
For example, the sub-project that the needs of certain product are downloaded and corresponding download address are as follows:
[s_item]
child=s_installprog,s_incdata,s_offlinesetup
[s_installprog]
cdn_url=http://dl.360safe.com/offline_ep/360ent_installprog.ini
[s_incdata]
cdn_url=http://dl.360safe.com/offline_ep/360ent_incdata.ini
[s_offlinesetup]
cdn_url=http://dl.360safe.com/offline_ep/360ent_offlinesetup.ini
At above-mentioned configuration information, represent that certain product up-gradation data has three kinds, each has the detailed url Download Info list of oneself.If the upgrade data part of the product of oem1 series and oem1 product is identical, suppose it is that this class upgrade data of s_incdata is identical, so just can be for the configuration of these two products in configuration information identical download address cdn_url.In actual applications, before the upgrade data issue of each product, all want the accuracy of test data, as fruit product has a few class upgrade datas are, can point to same server address by configuration so goes to download, identical like this upgrade data, as long as test and issue once just can a plurality ofly allow product reuse, has reduced the testing time before issue.
In a preferred embodiment of the present invention, described configuration information can comprise up-to-date check information, in the described download address of described terminal foundation, after corresponding server is downloaded the step of targeted update data, can also comprise the steps:
Described terminal is calculated current check information according to described targeted update data;
Described in described terminal judges, whether up-to-date check information is consistent with current check information;
If so, described terminal judges that described targeted update data are legal;
If not, described terminal judges that described targeted update data are illegal.
In specific implementation, for the upgrade data safety that guarantees to download, can carry out verification to the upgrade data of downloading.Wherein, described check information can be MD5 value.Described MD5 value can be adopt MD5(Message-Digest Algorithm 5, Message-Digest Algorithm5) the data file unique identification that calculates.Particularly, can be to utilize MD5 algorithm to calculate MD5 value according to the binary message of upgrade data.
MD5 algorithm is one of widely used hash algorithm of computer, and it is another fixed-length value by data operation, and Information Compression is become to a kind of secret form.MD5 has the advantages that collision rate is low, uses MD5 algorithm to calculate the unique identification of upgrade data, can effectively prevent repetition and the collision of file.For example, suppose that number upgrade data is by virus or inbreaking of Trojan horse, the MD5 value calculating so by with configuration information in MD5 value inconsistent, just can be very easy to find these data had problem.
Certainly, in actual applications, be not limited to MD5 algorithm, those skilled in the art can also be take low collision rate as principle, select the unique identification of other suitable algorithm generated data, the present invention to this without being limited.
With reference to Fig. 3, show a kind of according to an embodiment of the invention flow chart of steps of embodiment of the method two of upgrade data download, described upgrade data can be stored in server, in described server, can comprise the configuration information of upgrade data, described configuration information can comprise release type information and the corresponding download address of upgrade data, and described method specifically can comprise the steps:
Step 201, terminal is downloaded the configuration information of upgrade data from described server side;
Step 202, the request of obtaining of described terminal receiving target upgrade data; Described request comprises the release type information of described targeted update data;
Step 203, described terminal adopts described release type information in described configuration information, to search download address corresponding to described targeted update data;
Step 204, described terminal is downloaded targeted update data according to described download address from corresponding server;
Step 205, described terminal is extracted the type of action information of described targeted update data from described configuration information;
Step 206, described terminal is upgraded according to action rules corresponding to described type of action information.
In specific implementation, different upgrade datas imports action and other upgrading is different, therefore can also be configured upgrading action in embodiments of the present invention.
In embodiments of the present invention, by configuration actiontype=numerical value, the upgrade data that type of action information judges related download is according to the action of upgrading of what action rules.Relevant action information actioninfo=key1:value1 can be set simultaneously; Key2:value2, like this by simple k/v to information, just can some intermediary message escalation process (action) processes use.
For example:
[offlinepackv4.exe]
Name=bodyguard's AKU
When tooltips=terminal Trojan storehouse cannot be upgraded, directly move this type of upgraded in offline bag wooden horse storehouse version of just can upgrading.
md5=c58e2f40b5895f7a7342fff386c7703b
size=1977800
url=http://dl.360safe.com/offline_ep/offlinepackv4.exe
item_type=2
date=2013-09-09
topath=install
check=0
ver=-
diff=0
os_type=0
actiontype=4
actioninfo=name:url_ws;
p2purl=pdown://http://dl.360safe.com/offline_ep/offlinepackv4.exe|p2=A9B89DFDA9DA6E8894CB7FF18A873D315B42F775|b2=1977800|h7=5
From above-mentioned configuration information, can get the type of action information of the upgrade data of download:
actiontype=4
topath=install
actioninfo=name:url_ws;
Wherein actiontype=4 represents that the upgrade data importing is upgraded in offline installation kit, needs to carry out the 4th relevant class action rules (action), needs the information that this upgrade data is imported to special place and write some needs of configuration.Like this, relating to this class action rules can be multiplexing, as long as configure corresponding actiontype in server, also all action can be write in a upgraded in offline instrument simultaneously, and without opening branch, reduce maintenance cost, improved reusability and the flexibility of distributing data.
In specific implementation, other type of action information and corresponding action rules can also be set, for example, actiontype=1: represent that the upgrade data of downloading is routine data, copy assigned catalogue to, and the control centre that inspires terminal carries out decompress(ion) upgrading action; Actiontype=2: represent that the upgrade data of downloading is incremental data, import under the data of corresponding type; Actiontype=3: represent that the upgrade data of downloading is leak patch, import in corresponding patch storehouse; Actiontype=4: represent that the upgrade data of downloading is upgraded in offline installation kit, copy specified path to and write the information that some need; Actiontype=5: the upgrade data of represent downloading is the data that a class need be inquired about, inquires about whether safety of these data to privately owned Cloud Server, and, the safe class that user can self-defining data; Actiontype=6: the upgrade data of represent downloading is the data that two classes need be inquired about, goes this data importing to query safe grade to the database of upgraded in offline instrument to outer net, and by the safe class write into Databasce of data.
It should be noted that, 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 specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to Fig. 4, show the structured flowchart of a kind of according to an embodiment of the invention device embodiment of upgrade data download, described upgrade data can be stored in server, in described server, can comprise the configuration information of upgrade data, described configuration information can comprise release type information and the corresponding download address of upgrade data, and described device specifically can comprise as lower module:
Be positioned at the first download module 301 of terminal, be suitable for downloading from described server side the configuration information of upgrade data;
In a preferred embodiment of the present invention, described in be positioned at terminal the first download module 301 can comprise:
Be positioned at the configuration request submodule of terminal, be suitable for sending to described server the request of the configuration information that obtains upgrade data; Described request comprises Configuration Type information;
The configuration information that is positioned at terminal receives submodule, is suitable for receiving described server and returns to corresponding configuration information for described Configuration Type information.
In a preferred embodiment of the present invention, described configuration information comprises can interface information, can also comprise:
Be positioned at the first extraction module of terminal, be suitable for extracting interface information from described configuration information; Described interface information comprises component Name, component version number, update date, down operation prompting, and/or component size;
The module that represents that is positioned at terminal, is suitable for representing described interface information.
Be positioned at the receiver module 302 of terminal, be suitable for the request of obtaining of receiving target upgrade data; Described request comprises the release type information of described targeted update data;
What be positioned at terminal searches module 303, is suitable for adopting described release type information in described configuration information, to search download address corresponding to described targeted update data;
Be positioned at the second download module 304 of terminal, be suitable for from corresponding server, downloading targeted update data according to described download address.
In a preferred embodiment of the present invention, described configuration information can comprise up-to-date check information, can also comprise:
Be positioned at the computing module of terminal, be suitable for calculating current check information according to described targeted update data;
Be positioned at the judge module of terminal, be suitable for judging that whether described up-to-date check information is consistent with current check information; If so, call the legal determination module that is positioned at terminal, if not, call the illegal determination module that is positioned at terminal;
Be positioned at the legal determination module of terminal, be suitable for judging that described targeted update data are legal;
Be positioned at the illegal determination module of terminal, be suitable for judging that described targeted update data are illegal.
In a preferred embodiment of the present invention, in described configuration information, can also comprise type of action information, in described terminal, can preserve type of action information and corresponding action rules, described device can also comprise:
Be positioned at the second extraction module of terminal, be suitable for extracting the type of action information of described targeted update data from described configuration information;
Be positioned at the upgrading module of terminal, be suitable for upgrading according to action rules corresponding to described type of action information.
For device embodiment, because it is substantially similar to embodiment of the method, 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 specification 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 specification (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this specification (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 compound 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 upgrade data download equipment 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 computer 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.
The invention discloses the method for A1, the download of a kind of upgrade data, described upgrade data is stored in server, described server comprises the configuration information of upgrade data, and described configuration information comprises release type information and the corresponding download address of upgrade data, and described method comprises:
Terminal is downloaded the configuration information of upgrade data from described server side;
The request of obtaining of described terminal receiving target upgrade data; Described request comprises the release type information of described targeted update data;
Described terminal adopts described release type information in described configuration information, to search download address corresponding to described targeted update data;
Described terminal is downloaded targeted update data according to described download address from corresponding server.
A2, the method as described in claim A1, is characterized in that, the step that described terminal is downloaded the configuration information of upgrade data from described server side comprises:
Terminal sends the request of the configuration information that obtains upgrade data to described server; Described request comprises Configuration Type information;
Described terminal receives described server and returns to corresponding configuration information for described Configuration Type information.
A3, the method as described in claim A1 or A2, is characterized in that, described configuration information comprises interface information, in described terminal, after the step of the configuration information of described server side download upgrade data, also comprises:
Described terminal is extracted interface information from described configuration information; Described interface information comprises component Name, component version number, update date, down operation prompting, and/or component size;
Described terminal represents described interface information.
A4, the method as described in claim A1, is characterized in that, described configuration information comprises up-to-date check information, in the described download address of described terminal foundation, after corresponding server is downloaded the step of targeted update data, also comprises:
Described terminal is calculated current check information according to described targeted update data;
Described in described terminal judges, whether up-to-date check information is consistent with current check information;
If so, described terminal judges that described targeted update data are legal;
If not, described terminal judges that described targeted update data are illegal.
A5, the method as described in claim A1 or A4, it is characterized in that, in described configuration information, also comprise type of action information, in described terminal, preserve type of action information and corresponding action rules, if judge, described targeted update data are legal, and described method also comprises:
Described terminal is extracted the type of action information of described targeted update data from described configuration information;
Described terminal is upgraded according to action rules corresponding to described type of action information.
The invention also discloses the device of B6, the download of a kind of upgrade data, described upgrade data is stored in server, described server comprises the configuration information of upgrade data, and described configuration information comprises release type information and the corresponding download address of upgrade data, and described device comprises:
Be positioned at the first download module of terminal, be suitable for downloading from described server side the configuration information of upgrade data;
Be positioned at the receiver module of terminal, be suitable for the request of obtaining of receiving target upgrade data; Described request comprises the release type information of described targeted update data;
Be positioned at the module of searching of terminal, be suitable for adopting described release type information in described configuration information, to search download address corresponding to described targeted update data;
Be positioned at the second download module of terminal, be suitable for from corresponding server, downloading targeted update data according to described download address.
B7, the device as described in claim B1, is characterized in that, described in be positioned at terminal the first download module comprise:
Be positioned at the configuration request submodule of terminal, be suitable for sending to described server the request of the configuration information that obtains upgrade data; Described request comprises Configuration Type information;
The configuration information that is positioned at terminal receives submodule, is suitable for receiving described server and returns to corresponding configuration information for described Configuration Type information.
B8, the device as described in claim B7 or B8, is characterized in that, described configuration information comprises interface information, also comprises:
Be positioned at the first extraction module of terminal, be suitable for extracting interface information from described configuration information; Described interface information comprises component Name, component version number, update date, down operation prompting, and/or component size;
The module that represents that is positioned at terminal, is suitable for representing described interface information.
B9, the device as described in claim B8, is characterized in that, described configuration information comprises up-to-date check information, also comprises:
Be positioned at the computing module of terminal, be suitable for calculating current check information according to described targeted update data;
Be positioned at the judge module of terminal, be suitable for judging that whether described up-to-date check information is consistent with current check information; If so, call the legal determination module that is positioned at terminal, if not, call the illegal determination module that is positioned at terminal;
Be positioned at the legal determination module of terminal, be suitable for judging that described targeted update data are legal;
Be positioned at the illegal determination module of terminal, be suitable for judging that described targeted update data are illegal.
B10, the device as described in claim B6 or B9, is characterized in that, also comprises type of action information in described configuration information, preserves type of action information and corresponding action rules in described terminal, and described device also comprises:
Be positioned at the second extraction module of terminal, be suitable for extracting the type of action information of described targeted update data from described configuration information;
Be positioned at the upgrading module of terminal, be suitable for upgrading according to action rules corresponding to described type of action information.