CN103763354A - Method and device for downloading upgrading data - Google Patents

Method and device for downloading upgrading data Download PDF

Info

Publication number
CN103763354A
CN103763354A CN201410005607.9A CN201410005607A CN103763354A CN 103763354 A CN103763354 A CN 103763354A CN 201410005607 A CN201410005607 A CN 201410005607A CN 103763354 A CN103763354 A CN 103763354A
Authority
CN
China
Prior art keywords
terminal
information
configuration information
data
upgrade data
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
CN201410005607.9A
Other languages
Chinese (zh)
Other versions
CN103763354B (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.)
Qax Technology Group Inc
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 CN201410005607.9A priority Critical patent/CN103763354B/en
Publication of CN103763354A publication Critical patent/CN103763354A/en
Application granted granted Critical
Publication of CN103763354B publication Critical patent/CN103763354B/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 device for downloading upgrading data. The upgrading data are stored in a server, the server comprises configuration information of the upgrading data, and the configuration information comprises version type information and a corresponding download link of the upgrading data. The method for downloading the upgrading data comprises the steps that a terminal downloads the configuration information of the upgrading data from a server side, the terminal receives an obtaining request of target upgrading data, the request comprises the version type information of the target upgrading data, the terminal uses the version type information to seek a download link corresponding to the target upgrading data in the configuration information, and the terminal downloads the target upgrading data from the corresponding server. The method and device for downloading the upgrading data avoid the problem that the terminal has program bugs or loses a program function due to the fact that the terminal can not carry out procedure upgrading timely, and meanwhile can support downloading of multiple upgrading data.

Description

Method and device that a kind of upgrade data is downloaded
Technical field
The present invention relates to the technical field of data processing, be specifically related to a kind of method that upgrade data is downloaded, and, the device that a kind of upgrade data is downloaded.
Background technology
Due to safety, the network of Some Enterprises and government bodies is all isolated with external network, can not connecting Internet.Enterprise terminal, in a local area network (LAN), is being stored the important informations such as core technology, trade secret, customer data of enterprise in terminal, therefore safety is had to higher demand.The level of enterprise's general safety often depends on a most weak ring.In complicated enterprise network, any one employee's careless omission, Vulnerability Management careless omission, all may bring threat to enterprise security.Although the network of business and government office is all isolated with external network, portion still needs working procedure within it, and the problems such as these program upgrades and leak repairing just become thorny.
In the network environment of isolation, the main upgraded in offline instrument that adopts carries out the upgrading of product in terminal, the for example upgrading of virus base, wooden horse storehouse, antivirus applet upgrading, bodyguard's program upgrade, control centre's program, and adopt at present the scheme that upgraded in offline instrument is upgraded to have the deficiency of several respects down:
1) control aspect: the upgrading mode difference that the terminal of different control centres is installed, the mode of operation importing upgrade data is also different, if in the conventional mode, each is provided with the terminal of different control centres will make a upgraded in offline instrument, the upgraded in offline instrument that so just need to safeguard several versions, maintenance workload is large.
2) aspect, UI interface: control centre's demand of different version (oem) is different, the data of issue cannot be unified, such as the control centre of first version oem1 is installed, client only requires virus killing upgrading, and the control centre that the second version oem2 is installed, client only requires wooden horse qurush level, if do respectively the upgraded in offline tools interfaces of two cover versions, development and maintenance cost is higher.
3) data aspect: the relevant upgrade data of product of different editions type is more difficult multiplexing, and the data of different series can not be multiplexing, and each serial product will be done a sets of data upgrading.
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.
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 a kind of according to an embodiment of the invention flow chart of steps of embodiment of the method one of upgrade data download;
Fig. 2 shows a kind of according to an embodiment of the invention tree-like configurable interfaces schematic diagram of upgraded in offline instrument;
Fig. 3 shows a kind of according to an embodiment of the invention flow chart of steps of embodiment of the method two of upgrade data download;
Fig. 4 shows a kind of according to an embodiment of the invention structured flowchart of embodiment of the method for upgrade data download.
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.

Claims (10)

1. the method that upgrade data is downloaded, described upgrade data is stored in server, and 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.
2. the method for claim 1, 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.
3. method as claimed in claim 1 or 2, 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.
4. the method for claim 1, 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.
5. the method as described in claim 1 or 4, 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.
6. the device that upgrade data is downloaded, described upgrade data is stored in server, and 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.
7. device as claimed in claim 1, 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.
8. install as claimed in claim 7 or 8, it 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.
9. device as claimed in claim 8, 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.
10. the device as described in claim 6 or 9, 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.
CN201410005607.9A 2014-01-06 2014-01-06 The method and device that a kind of data of upgrading are downloaded Active CN103763354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410005607.9A CN103763354B (en) 2014-01-06 2014-01-06 The method and device that a kind of data of upgrading are downloaded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410005607.9A CN103763354B (en) 2014-01-06 2014-01-06 The method and device that a kind of data of upgrading are downloaded

Publications (2)

Publication Number Publication Date
CN103763354A true CN103763354A (en) 2014-04-30
CN103763354B CN103763354B (en) 2017-07-28

Family

ID=50530513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410005607.9A Active CN103763354B (en) 2014-01-06 2014-01-06 The method and device that a kind of data of upgrading are downloaded

Country Status (1)

Country Link
CN (1) CN103763354B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389191A (en) * 2015-12-11 2016-03-09 北京奇虎科技有限公司 Software upgrading method, apparatus and system based on local area network
CN105740137A (en) * 2014-12-08 2016-07-06 阿里巴巴集团控股有限公司 Bucket test method, device and system, and method and device for providing configuration information
CN106371881A (en) * 2016-09-08 2017-02-01 武汉斗鱼网络科技有限公司 Method and system for updating program versions in servers
CN106709281A (en) * 2015-07-14 2017-05-24 阿里巴巴集团控股有限公司 Patch releasing and obtaining method and device
CN107015819A (en) * 2016-01-27 2017-08-04 阿里巴巴集团控股有限公司 The method and apparatus of html template are updated in server end
CN107402773A (en) * 2016-05-18 2017-11-28 环旭电子股份有限公司 Distributed software update method
CN107544991A (en) * 2016-06-23 2018-01-05 滴滴(中国)科技有限公司 The method and apparatus of server process access request
CN108965570A (en) * 2017-05-17 2018-12-07 北京博瑞彤芸文化传播股份有限公司 A kind of method for down loading of ring tone data
CN108958762A (en) * 2017-08-02 2018-12-07 北京视联动力国际信息技术有限公司 A kind of upgrade method and device of software
CN109800007A (en) * 2018-12-28 2019-05-24 航天信息股份有限公司 Dsp chip online upgrading method and device
CN111324363A (en) * 2019-11-14 2020-06-23 杭州海康威视系统技术有限公司 Equipment upgrading method, upgrading terminal, equipment and storage medium
CN111640342A (en) * 2018-09-04 2020-09-08 北京猿力教育科技有限公司 Online examination method and device, computing device and storage medium
CN112783534A (en) * 2021-02-09 2021-05-11 山东英信计算机技术有限公司 Power supply equipment system upgrading method, system, terminal and storage medium
CN113535209A (en) * 2021-09-13 2021-10-22 广州朗国电子科技股份有限公司 Interactive electronic whiteboard upgrading method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020136167A1 (en) * 1996-11-18 2002-09-26 Rick Steele Method and system for multi-media collaboration between remote parties
CN101383842A (en) * 2007-09-07 2009-03-11 北京首都在线网络技术有限公司 System and method for displaying network information by computer background screen
CN101674590A (en) * 2009-09-29 2010-03-17 中兴通讯股份有限公司 Client device and remote updating method and remote updating service system thereof
CN101968741A (en) * 2009-07-27 2011-02-09 阿里巴巴集团控股有限公司 Method, server and system for data update
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020136167A1 (en) * 1996-11-18 2002-09-26 Rick Steele Method and system for multi-media collaboration between remote parties
CN101383842A (en) * 2007-09-07 2009-03-11 北京首都在线网络技术有限公司 System and method for displaying network information by computer background screen
CN101968741A (en) * 2009-07-27 2011-02-09 阿里巴巴集团控股有限公司 Method, server and system for data update
CN101674590A (en) * 2009-09-29 2010-03-17 中兴通讯股份有限公司 Client device and remote updating method and remote updating service system thereof
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740137A (en) * 2014-12-08 2016-07-06 阿里巴巴集团控股有限公司 Bucket test method, device and system, and method and device for providing configuration information
CN106709281B (en) * 2015-07-14 2019-09-17 阿里巴巴集团控股有限公司 Patch granting and acquisition methods, device
CN106709281A (en) * 2015-07-14 2017-05-24 阿里巴巴集团控股有限公司 Patch releasing and obtaining method and device
CN105389191A (en) * 2015-12-11 2016-03-09 北京奇虎科技有限公司 Software upgrading method, apparatus and system based on local area network
CN105389191B (en) * 2015-12-11 2018-11-02 北京奇虎科技有限公司 A kind of method for upgrading software based on LAN, device and system
CN107015819B (en) * 2016-01-27 2020-11-13 阿里巴巴集团控股有限公司 Method and device for updating HTML (Hypertext markup language) template at server side
CN107015819A (en) * 2016-01-27 2017-08-04 阿里巴巴集团控股有限公司 The method and apparatus of html template are updated in server end
CN107402773A (en) * 2016-05-18 2017-11-28 环旭电子股份有限公司 Distributed software update method
CN107544991B (en) * 2016-06-23 2020-10-23 滴滴(中国)科技有限公司 Method and device for processing access request by server
CN107544991A (en) * 2016-06-23 2018-01-05 滴滴(中国)科技有限公司 The method and apparatus of server process access request
CN106371881A (en) * 2016-09-08 2017-02-01 武汉斗鱼网络科技有限公司 Method and system for updating program versions in servers
CN108965570A (en) * 2017-05-17 2018-12-07 北京博瑞彤芸文化传播股份有限公司 A kind of method for down loading of ring tone data
CN108965570B (en) * 2017-05-17 2020-05-26 北京博瑞彤芸文化传播股份有限公司 Method for downloading ring data
CN108958762A (en) * 2017-08-02 2018-12-07 北京视联动力国际信息技术有限公司 A kind of upgrade method and device of software
CN111640342A (en) * 2018-09-04 2020-09-08 北京猿力教育科技有限公司 Online examination method and device, computing device and storage medium
CN109800007A (en) * 2018-12-28 2019-05-24 航天信息股份有限公司 Dsp chip online upgrading method and device
CN111324363A (en) * 2019-11-14 2020-06-23 杭州海康威视系统技术有限公司 Equipment upgrading method, upgrading terminal, equipment and storage medium
CN112783534A (en) * 2021-02-09 2021-05-11 山东英信计算机技术有限公司 Power supply equipment system upgrading method, system, terminal and storage medium
CN113535209A (en) * 2021-09-13 2021-10-22 广州朗国电子科技股份有限公司 Interactive electronic whiteboard upgrading method and system
CN113535209B (en) * 2021-09-13 2022-02-25 长沙朗源电子科技有限公司 Interactive electronic whiteboard upgrading method and system

Also Published As

Publication number Publication date
CN103763354B (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN103763354A (en) Method and device for downloading upgrading data
CN103150513A (en) Method and device for intercepting embedded information in application program
CN104536981B (en) Realize method, browser client and the device of secure browser
CN102981915B (en) A kind of inter-application communication method and device
CN102804202B (en) Content mesh is searched for
US20150365275A1 (en) Cloud environment configuration for cloud applications
US9274774B2 (en) Common installer server
CN102833258A (en) Website access method and system
CN109885744B (en) Webpage data crawling method, device, system, computer equipment and storage medium
CN104376255A (en) Application program running control method and device
CN103677898A (en) Method for checking loaded extension and/or plug-in on server side and server
CN103034512A (en) Method and device for updating programs
CN104517054A (en) Method, device, client and server for detecting malicious APK
CN103559447B (en) A kind of detection method, checkout gear and detection system based on Virus Sample feature
CN104537308A (en) System and method for providing application security auditing function
US10033581B2 (en) Method for retrieval of device-type managers
CN104217140A (en) Method and device for reinforcing application program
CN103973682A (en) Method and device for having access to webpage
CN103607502A (en) Method and apparatus for upgrading applications of mobile device
CN103117893A (en) Monitor method and device of network accessing behaviour and client device
CN103294955A (en) Macro-virus searching and killing method and system
US9292613B2 (en) Generation of generic universal resource indicators
CN103414758A (en) Method and device for processing logs
CN103500114A (en) Method and device for installing application program
CN105208032A (en) Asynchronous login method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161213

Address after: 100015 Jiuxianqiao Chaoyang District Beijing Road No. 10, building 15, floor 17, layer 1701-26, 3

Applicant after: BEIJING QIANXIN TECHNOLOGY Co.,Ltd.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100015 15, 17 floor 1701-26, 3 building, 10 Jiuxianqiao Road, Chaoyang District, Beijing.

Patentee after: QAX Technology Group Inc.

Address before: 100015 15, 17 floor 1701-26, 3 building, 10 Jiuxianqiao Road, Chaoyang District, Beijing.

Patentee before: BEIJING QIANXIN TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder