The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
The method that a kind of upgrading data of problem are downloaded is stated, and, the device that a kind of data of upgrading are downloaded.
According to one aspect of the present invention there is provided a kind of method that data of upgrading are downloaded, the upgrading data are stored in
In server, the server includes the configuration information of upgrading data, and the configuration information includes the version class of upgrading data
Type information and corresponding download address, described method include:
Terminal downloads the configuration information of upgrading data from the server side;
The terminal receives the acquisition request of targeted update data;The request includes the version of the targeted update data
This type information;
The terminal searches the targeted update data correspondence using the release type information in the configuration information
Download address;
The terminal downloads targeted update data according to the download address from corresponding server.
Alternatively, the step of terminal downloads the configuration information of upgrading data from the server side includes:
Terminal sends the request for the configuration information for obtaining upgrading data to the server;The request includes configuring class
Type information;
The terminal receives the server and returns to corresponding configuration information for the Configuration Type information.
Alternatively, the configuration information includes interface information, and upgrading data are downloaded from the server side in the terminal
Configuration information the step of after, in addition to:
The terminal extracts interface information from the configuration information;The interface information includes component Name, component version
This number, update date, down operation prompting, and/or component size;
The terminal shows the interface information.
Alternatively, the configuration information includes newest check information, in the terminal according to the download address from correspondingly
Server download targeted update data the step of after, in addition to:
The terminal calculates current check information according to the targeted update data;
The terminal judges whether the newest check information is consistent with current check information;
If so, then the terminal judges that the targeted update data are legal;
If it is not, then the terminal judges that the targeted update data are illegal.
Alternatively, also include preserving type of action information in type of action information, the terminal in the configuration information
And corresponding action rules, if it is determined that the targeted update data are legal, described method also includes:
The terminal extracts the type of action information of the targeted update data from the configuration information;
The terminal is upgraded according to the corresponding action rules of the type of action information.
According to another aspect of the present invention there is provided the device that a kind of data of upgrading are downloaded, the upgrading data are stored in
In server, the server includes the configuration information of upgrading data, and the configuration information includes the version class of upgrading data
Type information and corresponding download address, described device include:
Positioned at the first download module of terminal, the configuration information suitable for downloading upgrading data from the server side;
Positioned at the receiving module of terminal, the acquisition request suitable for receiving targeted update data;The request includes described
The release type information of targeted update data;
Positioned at the searching modul of terminal, suitable for searching the mesh in the configuration information using the release type information
The corresponding download address of mark upgrading data;
Positioned at the second download module of terminal, suitable for downloading targeted update from corresponding server according to the download address
Data.
Alternatively, first download module positioned at terminal includes:
Positioned at the configuration request submodule of terminal, suitable for matching somebody with somebody confidence to server transmission acquisition upgrading data
The request of breath;The request includes Configuration Type information;
Positioned at the configuration information receiving submodule of terminal, returned suitable for receiving the server for the Configuration Type information
Return corresponding configuration information.
Alternatively, the configuration information includes interface information, in addition to:
Positioned at the first extraction module of terminal, suitable for extracting interface information from the configuration information;The interface information
Including component Name, version component version number, update date, down operation prompting, and/or component size;
Positioned at the display module of terminal, suitable for showing the interface information.
Alternatively, the configuration information includes newest check information, in addition to:
Positioned at the computing module of terminal, suitable for calculating current check information according to the targeted update data;
Positioned at the judge module of terminal, suitable for judging whether the newest check information and current check information are consistent;If
It is then to call the legal determination module positioned at terminal, if it is not, then calling the illegal determination module positioned at terminal;
Positioned at the legal determination module of terminal, it is adapted to determine that the targeted update data are legal;
Positioned at the illegal determination module of terminal, it is adapted to determine that the targeted update data are illegal.
Alternatively, also include preserving type of action information in type of action information, the terminal in the configuration information
And corresponding action rules, described device also includes:
Positioned at the second extraction module of terminal, the action suitable for extracting the targeted update data from the configuration information
Type information;
Positioned at the upgraded module of terminal, suitable for being upgraded according to the corresponding action rules of the type of action information.
The embodiment of the present invention can preserve upgrading data and corresponding configuration information in the server, wherein, the configuration
Information includes the release type information and corresponding download address of ascending series evidence, and terminal gets configuration information from server, when
When terminal program needs upgrading, the corresponding download address of release type information can be searched in configuration information, terminal can be from
Upgrading data are downloaded in the corresponding server of download address, it is to avoid terminal can not enter line program in time and upgrade and generating routine leak
Or program function is the problems such as lack, while multiple upgrading data can be supported to download.
In embodiments of the present invention, upgraded in offline instrument download configuration information can be used by being provided with the terminal of control centre
And upgrading data.Wherein, the control centre of different editions can be dissolved into same set of upgraded in offline instrument in configuration information
Interface on, avoid the need for doing the upgraded in offline tools interfaces of different editions respectively, reduce development cost and the cost of maintenance.
In addition, using the program upgrading data with a series of product can also be multiplexed in configuration information, specifically can be by different versions
General upgrading data are linked in same download address in this product, avoid the need for a set of upgrading data of additional customized,
As long as so some general upgrading data issues are a, and also only need to survey in the general upgrading data issued and downloaded
Examination once, effectively reduces the testing time of upgrading data.
In embodiments of the present invention, the upgrading side that the terminal operation of the control centre of different editions is imported is installed in practice
Formula is different, thus can be provided with configuration information upgrading data type of action information, while in upgraded in offline instrument
In be provided with the corresponding action rules of type of action information, then even if there is multiple products upgraded in different ways,
Only needing to a upgraded in offline instrument can just complete, and effectively reduce exploitation and the maintenance time of upgraded in offline instrument, be eventually
End, which is provided, quickly downloads upgrading support pattern.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Reference picture 1, shows the embodiment of the method one that a kind of data of upgrading according to an embodiment of the invention are downloaded
Flow chart of steps, the upgrading data can be stored in server, and the configuration of upgrading data can be included in the server
Information, the configuration information can include the release type information and corresponding download address of upgrading data, described method tool
Body may include steps of:
Step 101, terminal downloads the configuration information of upgrading data from the server side;
In embodiments of the present invention, the configuration information can be stored in configuration file, specifically, and the configuration file can
Think ini(Initialization File, initialization files).Ini file is that windows CONFIG.SYS is used
Storage format, windows under the overall leadership every configuration, general user uses every graphically managing interface that windows is provided
Achieve that identical is configured.
Certainly, configuration information can select xml(Extensive Markup Language, extensible markup language)Text
The file of part or extended formatting is stored, the invention is not limited in this regard.
In one preferred embodiment of the invention, the step 101 can include following sub-step:
Sub-step S11, terminal sends the request for the configuration information for obtaining upgrading data to the server;In the request
Including Configuration Type information;
Sub-step S12, the terminal receives the server and is directed to the configuration information that the Configuration Type information is returned.
In the specific implementation, be provided with the control centre of different editions in the terminal of different client, therefore for upgrading
The requirement of data is probably different, for example, the control centre of some versions only requires antivirus upgrading, the control of some versions
Only require wooden horse qurush level in center processed.The Configuration Type information that can be set in embodiments of the present invention for upgraded in offline instrument,
Specifically, Configuration Type information can be arranged on upgraded in offline tool interior, for example, be directly packaged in upgraded in offline instrument
Face, or the outside of upgraded in offline instrument is arranged on, for example it is placed on the same first class catalogue of upgraded in offline instrument, the embodiment of the present invention
This is not restricted.
Include Configuration Type information when terminal to server is sent(Type, types of customization key assignments)Request when, Ke Yi
The corresponding configuration texts of the type are searched in total download index download path file 360EntUpdUrlIndex.ini of server side
Part.In practice, it is all its relative set configuration file often to increase a upgrading data newly, avoids the need for developing upgraded in offline again
Instrument, as long as changing the configuration that instrument is carried, saves development time and development cost.
For example, the corresponding configuration information that a kind of acquisition of embodiment of the present invention is currently configured type information 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
Specifically, terminal can inquire about corresponding occurrence in [list] according to character string type=org to server
Org, then gets the download address of the corresponding configuration informations of type=org according to org from [org], finally can be according to this
Download address gets corresponding configuration information.
In one preferred embodiment of the invention, the configuration information can include interface information, the terminal from
After the step of server side downloads the configuration information of upgrading data, it can also comprise the following steps:
The terminal extracts interface information from the configuration information;The interface information can include component Name, group
Part version number, update date, down operation prompting, and/or component size;
The terminal shows the interface information.
The interface information of tree-like configurable interfaces is configured with configuration file, upgraded in offline instrument can be in loading
Before read these interface informations, dynamic load is simultaneously shown to user, and user can just hold according to the information shown in interface
The corresponding down operation of row.
In order that those skilled in the art further appreciate that the embodiment of the present invention, illustrate this using specific example below
The interface of the upgraded in offline instrument of invention.A kind of upgraded in offline instrument according to an embodiment of the invention shown in reference picture 2
Tree-like configurable interfaces schematic diagram, specifically, the configuration information is as follows:
[inc_update_safe]
Name=bodyguard's upgrading 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 data
End to the intersection of all data of certain Time of Day in tooltips=32-bit operating system bodyguard's wooden horse storehouse.
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
End to the intersection of all data of certain Time of Day in tooltips=bodyguard's wooden horse storehouse
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 the interface information in the configuration information, set membership is provided with, for example:inc_update_safe
Liang Ge branches child=inc_safe32_group and inc_safe64_group, i.e., bodyguard's upgrading data in fig. 2
32 data and 64 data.It more can intuitively show that the father and son between upgrading data is closed using tree-like configurable interfaces
System, user can click bodyguard's upgrading data of 32 data or 64 data according to actual conditions, Consumer's Experience effect compared with
It is good.
Step 102, the terminal receives the acquisition request of targeted update data;The request includes the targeted update
The release type information of data;
Step 103, the terminal searches the targeted update using the release type information in the configuration information
The corresponding download address of data;
In the specific implementation, the prompting download information that the user of terminal is shown according to upgraded in offline tools interfaces clicks institute
The upgrading data needed, for example, user can click bodyguard's upgrading data of 32 data, then terminal can just receive 32
The release type information of bodyguard's upgrading data of data, terminal is searched accordingly further according to the release type information in configuration information
Download address.
Step 104, the terminal downloads targeted update data according to the download address from corresponding server.
In the specific implementation, a certain class upgrading data of some series of products issue can be multiplexed, therefore can be
By can conventional data part is directed to this class and upgraded the download address of data in upgrading data in product in configuration information.
Specifically, can be by s_item in configuration information, the upgrading data that child is set to series of products need to download
Sub-project, wherein, the download address that each child item has index to point to the final upgrading data for needing to download is arranged
Table.
For example, the sub-project and corresponding download address downloaded the need for certain product 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
Represent that certain product up-gradation data there are three kinds in above-mentioned configuration information, each has the detailed url of oneself to download
Information list.If the product of oem1 series is identical with the upgrading data division of oem1 products, it is assumed that be this class of s_incdata
Data of upgrading are identical, then the identical download address cdn_url of configuration of the two products can be thought in configuration information.In reality
In the application of border, before the upgrading data publication of each product will test data accuracy, such as fruit product has a few class ascending series
According to being the same, then can point to same server address by configuring and go to download, the data as long as such identical is upgraded
Test and issue and once just can allow product reuse with multiple, reduce the testing time before issue.
In one preferred embodiment of the invention, the configuration information can include newest check information, at the end
End according to the download address from corresponding server download targeted update data the step of after, following step can also be included
Suddenly:
The terminal calculates current check information according to the targeted update data;
The terminal judges whether the newest check information is consistent with current check information;
If so, then the terminal judges that the targeted update data are legal;
If it is not, then the terminal judges that the targeted update data are illegal.
In the specific implementation, in order to ensure the upgrading data safety downloaded, can be verified to the upgrading data of download.
Wherein, the check information can be MD5 values.The MD5 values can be to use MD5(Message-Digest Algorithm 5, Message-
Digest Algorithm5)The data file unique mark calculated.Specifically, can be according to upgrading using MD5 algorithms
The binary message of data calculates MD5 values.
MD5 algorithms are one of widely used hash algorithms of computer, and data operation is another fixed-length value by it, will
Information Compression is into a kind of form of secrecy.MD5 has the characteristics of collision rate is low, and the unique of data that upgrade is calculated using MD5 algorithms
Mark, can effectively prevent the repetition and collision of file.For example, it is assumed that several litres of DBMSs are by virus or inbreaking of Trojan horse, then
The MD5 values calculated will be inconsistent with MD5 values in configuration information, it is possible to is very easy to find the data problematic.
Certainly, in actual applications, be not limited to MD5 algorithms, those skilled in the art can also using low collision rate as principle,
Other appropriate algorithms are selected to generate the unique mark of data, the present invention need not be any limitation as to this.
Reference picture 3, shows the embodiment of the method two that a kind of data of upgrading according to an embodiment of the invention are downloaded
Flow chart of steps, the upgrading data can be stored in server, and the configuration of upgrading data can be included in the server
Information, the configuration information can include the release type information and corresponding download address of upgrading data, described method tool
Body may include steps of:
Step 201, terminal downloads the configuration information of upgrading data from the server side;
Step 202, the terminal receives the acquisition request of targeted update data;The request includes the targeted update
The release type information of data;
Step 203, the terminal searches the targeted update using the release type information in the configuration information
The corresponding download address of data;
Step 204, the terminal downloads targeted update data according to the download address from corresponding server;
Step 205, the terminal extracts the type of action information of the targeted update data from the configuration information;
Step 206, the terminal is upgraded according to the corresponding action rules of the type of action information.
In the specific implementation, different upgrading data importing actions and other upgradings are different therefore real in the present invention
Applying in example can also configure to upgrade actions.
In embodiments of the present invention, related download is judged by configuring actiontype=numerical value, i.e. type of action information
Upgrading data what action rules to carry out upgrade actions according to.Simultaneously can set relevant action information actioninfo=
key1:value1;key2:Value2, so by simple k/v to information, it is possible to some intermediary message escalation process
(action)Process is used.
For example:
[offlinepackv4.exe]
Name=bodyguard's AKU
When tooltips=terminal Trojan storehouse can not update, directly running such upgraded in offline bag can just upgrade wooden horse storehouse
Version.
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
The type of action information of the upgrading data of download can be got from above-mentioned configuration information:
actiontype=4
topath=install
actioninfo=name:url_ws;
Wherein actiontype=4 represents that the upgrading data imported are upgraded in offline installation kits, it is necessary to perform the 4th of correlation
Class action rules(action), that is, need to imported into the upgrading data into the letter of special some needs of place and write-in configuration
Breath.Being related to this kind of action rules after so can be multiplexed, as long as configuring corresponding actiontype in the server, together
When all action can also be write in a upgraded in offline instrument, without opening branch, reduce maintenance cost, improve
Issue reusability and the flexibility of data.
In the specific implementation, other type of action information and corresponding action rules can also be set, for example,
actiontype=1:Represent that the upgrading data downloaded are routine data, copy assigned catalogue to, and inspire the control centre of terminal
Carry out decompression upgrade actions;actiontype=2:It is incremental data to represent the upgrading data downloaded, and imports the number of corresponding type
Under;actiontype=3:Represent that the upgrading data downloaded are leak patch, imported into corresponding patch library;
actiontype=4:Represent that the upgrading data downloaded are upgraded in offline installation kit, copy specified path to and write some needs
Information;actiontype=5:It is the data that a class need to be inquired about to represent the upgrading data downloaded, should to private clound server lookup
Whether data are safe, also, user can be with the safe class of self-defining data;actiontype=6:Represent the ascending series downloaded
According to being data that two classes need to be inquired about, the data are imported into the database of upgraded in offline instrument to outer net and go query safe grade,
And by the safe class write into Databasce of data.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it to be all expressed as to a series of action group
Close, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to this hair
Bright, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to preferred embodiment, necessary to involved action and the module not necessarily present invention.
Reference picture 4, shows the knot for the device embodiment that a kind of data of upgrading according to an embodiment of the invention are downloaded
Structure block diagram, the upgrading data can be stored in server, and the configuration information of upgrading data can be included in the server,
The configuration information can include the release type information and corresponding download address of upgrading data, and described device specifically can be with
Including following module:
Positioned at the first download module 301 of terminal, the configuration information suitable for downloading upgrading data from the server side;
In one preferred embodiment of the invention, first download module 301 positioned at terminal can include:
Positioned at the configuration request submodule of terminal, suitable for matching somebody with somebody confidence to server transmission acquisition upgrading data
The request of breath;The request includes Configuration Type information;
Positioned at the configuration information receiving submodule of terminal, returned suitable for receiving the server for the Configuration Type information
Return corresponding configuration information.
In one preferred embodiment of the invention, the configuration information includes with interface information be able to include:
Positioned at the first extraction module of terminal, suitable for extracting interface information from the configuration information;The interface information
Including component Name, version component version number, update date, down operation prompting, and/or component size;
Positioned at the display module of terminal, suitable for showing the interface information.
Positioned at the receiving module 302 of terminal, the acquisition request suitable for receiving targeted update data;The request includes institute
State the release type information of targeted update data;
Positioned at the searching modul 303 of terminal, suitable for searching institute in the configuration information using the release type information
State the corresponding download address of targeted update data;
Positioned at the second download module 304 of terminal, suitable for downloading target from corresponding server according to the download address
Upgrading data.
In one preferred embodiment of the invention, the configuration information can include newest check information, can also wrap
Include:
Positioned at the computing module of terminal, suitable for calculating current check information according to the targeted update data;
Positioned at the judge module of terminal, suitable for judging whether the newest check information and current check information are consistent;If
It is then to call the legal determination module positioned at terminal, if it is not, then calling the illegal determination module positioned at terminal;
Positioned at the legal determination module of terminal, it is adapted to determine that the targeted update data are legal;
Positioned at the illegal determination module of terminal, it is adapted to determine that the targeted update data are illegal.
In one preferred embodiment of the invention, type of action information can also be included in the configuration information, it is described
Type of action information and corresponding action rules can be preserved in terminal, described device can also include:
Positioned at the second extraction module of terminal, the action suitable for extracting the targeted update data from the configuration information
Type information;
Positioned at the upgraded module of terminal, suitable for being upgraded according to the corresponding action rules of the type of action information.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
All as the separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power
Profit requires, made a summary and accompanying drawing)Disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention
Within the scope of and form different embodiments.For example, in the following claims, times of embodiment claimed
One of meaning mode can be used in any combination.
The present invention all parts embodiment can be realized with hardware, or with one or more processor run
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor(DSP)To realize that upgrading data according to embodiments of the present invention download one in equipment
The some or all functions of a little or whole parts.The present invention is also implemented as performing method as described herein
Some or all equipment or program of device(For example, computer program and computer program product).It is such to realize
The program of the present invention can be stored on a computer-readable medium, or can have the form of one or more signal.This
The signal of sample can be downloaded from internet website and obtained, and either provided or carried in any other form on carrier signal
For.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and coming real by means of properly programmed computer
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The invention discloses a kind of method that A1, upgrading data are downloaded, the upgrading data are stored in server, described
Server includes upgrading the configuration informations of data, and the configuration information includes the upgrading release type information of data and corresponding
Download address, described method includes:
Terminal downloads the configuration information of upgrading data from the server side;
The terminal receives the acquisition request of targeted update data;The request includes the version of the targeted update data
This type information;
The terminal searches the targeted update data correspondence using the release type information in the configuration information
Download address;
The terminal downloads targeted update data according to the download address from corresponding server.
A2, the method as described in claim A1, it is characterised in that the terminal downloads ascending series from the server side
According to configuration information the step of include:
Terminal sends the request for the configuration information for obtaining upgrading data to the server;The request includes configuring class
Type information;
The terminal receives the server and returns to corresponding configuration information for the Configuration Type information.
A3, the method as described in claim A1 or A2, it is characterised in that the configuration information includes interface information,
After the step of terminal downloads the configuration information of upgrading data from the server side, in addition to:
The terminal extracts interface information from the configuration information;The interface information includes component Name, component version
This number, update date, down operation prompting, and/or component size;
The terminal shows the interface information.
A4, the method as described in claim A1, it is characterised in that the configuration information includes newest check information,
The terminal according to the download address from corresponding server download targeted update data the step of after, in addition to:
The terminal calculates current check information according to the targeted update data;
The terminal judges whether the newest check information is consistent with current check information;
If so, then the terminal judges that the targeted update data are legal;
If it is not, then the terminal judges that the targeted update data are illegal.
A5, the method as described in claim A1 or A4, it is characterised in that also include type of action in the configuration information
Type of action information and corresponding action rules are preserved in information, the terminal, if it is determined that the targeted update data are legal,
Described method also includes:
The terminal extracts the type of action information of the targeted update data from the configuration information;
The terminal is upgraded according to the corresponding action rules of the type of action information.
The invention also discloses the device that B6, a kind of upgrading data are downloaded, the upgrading data are stored in server, institute
Stating server includes upgrading the configuration informations of data, and the configuration information includes the release type information and correspondingly of upgrading data
Download address, described device includes:
Positioned at the first download module of terminal, the configuration information suitable for downloading upgrading data from the server side;
Positioned at the receiving module of terminal, the acquisition request suitable for receiving targeted update data;The request includes described
The release type information of targeted update data;
Positioned at the searching modul of terminal, suitable for searching the mesh in the configuration information using the release type information
The corresponding download address of mark upgrading data;
Positioned at the second download module of terminal, suitable for downloading targeted update from corresponding server according to the download address
Data.
B7, the device as described in claim B1, it is characterised in that first download module positioned at terminal includes:
Positioned at the configuration request submodule of terminal, suitable for matching somebody with somebody confidence to server transmission acquisition upgrading data
The request of breath;The request includes Configuration Type information;
Positioned at the configuration information receiving submodule of terminal, returned suitable for receiving the server for the Configuration Type information
Return corresponding configuration information.
B8, the device as described in claim B7 or B8, it is characterised in that the configuration information includes interface information, also
Including:
Positioned at the first extraction module of terminal, suitable for extracting interface information from the configuration information;The interface information
Including component Name, version component version number, update date, down operation prompting, and/or component size;
Positioned at the display module of terminal, suitable for showing the interface information.
B9, the device as described in claim B8, it is characterised in that the configuration information includes newest check information, also
Including:
Positioned at the computing module of terminal, suitable for calculating current check information according to the targeted update data;
Positioned at the judge module of terminal, suitable for judging whether the newest check information and current check information are consistent;If
It is then to call the legal determination module positioned at terminal, if it is not, then calling the illegal determination module positioned at terminal;
Positioned at the legal determination module of terminal, it is adapted to determine that the targeted update data are legal;
Positioned at the illegal determination module of terminal, it is adapted to determine that the targeted update data are illegal.
B10, the device as described in claim B6 or B9, it is characterised in that also include action class in the configuration information
Type of action information and corresponding action rules are preserved in type information, the terminal, described device also includes:
Positioned at the second extraction module of terminal, the action suitable for extracting the targeted update data from the configuration information
Type information;
Positioned at the upgraded module of terminal, suitable for being upgraded according to the corresponding action rules of the type of action information.