CN102064960A - Method, server and system for software upgrading - Google Patents

Method, server and system for software upgrading Download PDF

Info

Publication number
CN102064960A
CN102064960A CN 201010561231 CN201010561231A CN102064960A CN 102064960 A CN102064960 A CN 102064960A CN 201010561231 CN201010561231 CN 201010561231 CN 201010561231 A CN201010561231 A CN 201010561231A CN 102064960 A CN102064960 A CN 102064960A
Authority
CN
China
Prior art keywords
file
upgrade
tabulation
server
lan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010561231
Other languages
Chinese (zh)
Inventor
关墨辰
李果
徐翰隆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Antiy Electronic Equipment Co Ltd
Original Assignee
Beijing Antiy Electronic Equipment 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 Antiy Electronic Equipment Co Ltd filed Critical Beijing Antiy Electronic Equipment Co Ltd
Priority to CN 201010561231 priority Critical patent/CN102064960A/en
Publication of CN102064960A publication Critical patent/CN102064960A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method, a server and a system for software upgrading. The method comprises the steps that: a local server is connected with an official upgrading website to download a software upgrading information list and upgrading files; and an LAN (Local Area Network) internal machine is connected with the local server to download the software upgrading information list and the upgrading files. According to the proposal of the invention, by means of the transfer of the local server, the updating time of an LAN internal user can be shortened, the upgrading efficiency is raised, the occupation of network bandwidth resource is reduced, and simultaneously, the burden of the server of the software issuer is mitigated.

Description

Method for upgrading software, server and system
Technical field
The present invention relates to software engineering, particularly method for upgrading software.
Background technology
Along with popularizing of internet, applications, respond user feedback quickly, meet consumers' demand, issue current software patch fast, the function of upgrading products becomes the major issue that software product will solve.By the online instant upgrading of software, be well positioned to meet this demand, if but LAN subscriber is all directly from the outer net server updating, then can take a large amount of Internet resources, cause blocking up of Internet resources, reduce the efficient of upgrading, influence normal network application simultaneously, also increased software publisher load of server simultaneously.
Summary of the invention
The invention provides a kind of method for upgrading software, server and system, solved Internet resources that local area network (LAN) inside is used for directly causing from the outer net upgrading block up problem and the software publisher server problem that over-burden.
The invention provides a kind of method for upgrading software, be applicable to the LAN system that comprises home server and local area network (LAN) internal machine, described method comprises:
Home server is downloaded software upgrade information tabulation and upgrade file from official upgrading website;
Home server provides software upgrade information tabulation and upgrade file for the local area network (LAN) internal machine.
In the described method, home server is downloaded software upgrade information tabulation and upgrade file from official upgrading website, comprises the steps:
A. home server confirms to have connected official upgrading website;
B. download and upgrade information list;
C. resolve the upgrade information tabulation, create the upgrade file tabulation;
D. the whole upgrade files in the download and upgrade listed files are to local temp directory.
In the described method, home server also comprises after downloading software upgrade information tabulation and upgrade file from official upgrading website:
Use the upgrade file of downloading to carry out software upgrading.
In the described method, use the upgrade file of downloading to carry out software upgrading and comprise:
Use the upgrade file of downloading to replace the local file that needs upgrading;
The upgrade information tabulation and the upgrade file of upgrading back all files are published to the web catalogue, finish upgrading.
In the described method, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
In the described method, described step c comprises:
C1. according to the Actual path of file in the upgrade information tabulation, search local respective file;
Whether the HASH value that c2. contrasts in the upgrade information tabulation is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
In the described method, described steps d comprises;
D1. according to the path of file on server in the upgrade file tabulation, search upgrade file;
D2. download and upgrade file.
The invention provides a kind of server, described server is the home server that comprises in the LAN system of home server and local area network (LAN) internal machine, and described server comprises:
Download unit is used for downloading software upgrade information tabulation and upgrade file from official upgrading website;
The unit is provided, is used to the local area network (LAN) internal machine that software upgrade information tabulation and upgrade file are provided.
Described server, described download unit comprises:
Confirm subelement, be used to confirm that described server has connected official upgrading website;
First downloads subelement, is used for the download and upgrade information list;
Resolve subelement, be used to resolve the upgrade information tabulation, create the upgrade file tabulation;
Second downloads subelement, and the whole upgrade files that are used for the download and upgrade listed files are to local temp directory.
In the described server, also comprise: the upgrading unit is used to use the upgrade file of download to carry out software upgrading.
In the described server, the upgrading unit uses the upgrade file of downloading to replace the local file that needs upgrading; Provide the upgrade information tabulation and the upgrade file of all files after will upgrading in the unit to be published to the web catalogue, finish upgrading.
In the described server, the MD5 value of described upgrade information tabulation include file, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
In the described server, described parsing subelement comprises:
Search subelement, be used for Actual path, search local respective file according to upgrade information tabulation file;
Contrast subunit, whether the HASH value that is used for contrasting the upgrade information tabulation is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed upgrade file in and is tabulated.
In the described server, described second downloads subelement comprises:
Search subelement, be used for the path of file on server, search upgrade file according to the upgrade file tabulation;
Download subelement, be used for the download and upgrade file.
The invention provides a kind of method for upgrading software, be applicable to the network system that comprises home server and local area network (LAN) internal machine, described method comprises:
The local area network (LAN) internal machine is downloaded software upgrade information tabulation and upgrade file from home server;
The local area network (LAN) internal machine uses the upgrade file of downloading to carry out software upgrading.
In the described method, the local area network (LAN) internal machine is downloaded software upgrade information and upgrade file from home server, comprises the steps:
E. the local area network (LAN) internal machine confirms to have connected home server;
F. download and upgrade information list;
G. resolve the upgrade information tabulation, create the upgrade file tabulation;
H. the whole upgrade files in the download and upgrade tabulation are to the temp directory of local area network (LAN) internal machine.
In the described method, the upgrade file that the use of local area network (LAN) internal machine is downloaded carries out software upgrading and comprises:
Use the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, finish upgrading.
In the described method, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file, the file path on home server.
In the described method, described step g comprises:
G1. the Actual path of file in tabulating according to upgrade information, the respective file of searching the local area network (LAN) internal machine;
Whether the HASH value that g2. contrasts in the upgrade information tabulation is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
In the described method, described step h comprises;
H1. according to the path of file on server in the upgrade file tabulation, search upgrade file;
H2. download and upgrade file.
The invention provides a kind of server, described server is the local area network (LAN) internal machine that comprises in the LAN system of home server and local area network (LAN) internal machine, and described server comprises:
Download unit is used for downloading software upgrade information tabulation and upgrade file from home server;
The upgrading unit is used to use the upgrade file of download to carry out software upgrading.
In the described server, described download unit comprises:
Confirm subelement, be used to confirm that described server has connected home server;
First downloads subelement, is used for the download and upgrade information list;
Resolve subelement, be used to resolve the upgrade information tabulation, create the upgrade file tabulation;
Second downloads subelement, is used for the temp directory of whole upgrade files of download and upgrade listed files to the local area network (LAN) internal machine.
In the described server, described upgrading unit uses the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, and finishes upgrading.
In the described server, the MD5 value of described upgrade information tabulation include file, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
In the described server, described parsing subelement comprises:
Search subelement, be used for Actual path, search local area network (LAN) internal machine respective file according to upgrade information tabulation file;
Contrast subunit, whether the HASH value that is used for contrasting the upgrade information tabulation is identical with the HASH value of local area network (LAN) internal machine respective file, and the fileinfo that the HASH value is different is listed upgrade file in and is tabulated.
In the described server, described second downloads subelement comprises:
Search subelement, be used for the path of file on server, search upgrade file according to the upgrade file tabulation;
The upgrading subelement is used for the download and upgrade file.
The invention provides a kind of LAN system, comprise home server and local area network (LAN) internal machine;
Described home server is used for downloading software upgrade information tabulation and upgrade file from official upgrading website, for the local area network (LAN) internal machine provides software upgrade information tabulation and upgrade file;
Described local area network (LAN) internal machine is used for downloading software upgrade information tabulation and upgrade file from home server, uses the upgrade file of downloading to carry out software upgrading.
In the described system, described home server confirms to have connected official upgrading website; The download and upgrade information list; The upgrade file tabulation is created in the tabulation of parsing upgrade information; Whole upgrade files in the download and upgrade listed files are to local temp directory.
Described local area network (LAN) internal machine confirms to have connected home server; The download and upgrade information list; The upgrade file tabulation is created in the tabulation of parsing upgrade information; Whole upgrade files in the download and upgrade listed files are to the temp directory of local area network (LAN) internal machine.
In the described system, home server also comprises: use the upgrade file of downloading to carry out software upgrading after downloading software upgrade information tabulation and upgrade file from official website;
Described local area network (LAN) internal machine also comprises: use the upgrade file of downloading to carry out software upgrading after downloading the software upgrade information tabulation from home server.
In the described system, the upgrade file that the home server use is downloaded carries out software upgrading and comprises: use the upgrade file of downloading to replace the file that this locality needs upgrading; The upgrade information tabulation and the upgrade file of all files after the upgrading are published to the web catalogue, finish upgrading.
The upgrade file that the use of local area network (LAN) internal machine is downloaded carries out software upgrading and comprises: use the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, finish upgrading.
In the described system, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file and the file path on server.
In the described system, home server is resolved the upgrade information tabulation, creates the upgrade file tabulation and comprises:
According to the Actual path of file in the upgrade information tabulation, search local respective file;
Whether the HASH value in the tabulation of contrast upgrade information is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
The local area network (LAN) internal machine is resolved the upgrade information tabulation, creates the upgrade file tabulation and comprises:
According to the Actual path of file in the upgrade information tabulation, search local area network (LAN) internal machine respective file;
Whether the HASH value in the tabulation of contrast upgrade information is identical with the HASH value of local area network (LAN) internal machine respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
In the described system, the whole upgrade files in the home server download and upgrade listed files comprise to local temp directory:
According to the path of file on server in the upgrade file tabulation, search upgrade file;
The download and upgrade file;
Whole upgrade files in the local area network (LAN) internal machine download and upgrade listed files comprise to the temp directory of local area network (LAN) internal machine:
According to the path of file on server in the upgrade file tabulation, search upgrade file;
The download and upgrade file.
The invention provides a kind of method for upgrading software, server and system, comprising: home server connects official upgrading website, and the contrast local file by the judgement of HASH value, obtains the file that needs renewal, upgrades; Upgrade information tabulation and upgrade file are published to local web catalogue; The local area network (LAN) internal machine connects home server, and edition with parallel text machine file is judged by the HASH value, obtains the file that needs renewal, upgrades.The enforcement of this programme can be shortened local area network (LAN) internal user update time, improves upgrading efficient, and taking of conserve network bandwidth resource alleviated software publisher load of server simultaneously.
Description of drawings
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, the accompanying drawing that describes below only is some embodiment that put down in writing among the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of home server upgrade method flow chart provided by the invention;
Fig. 2 is that a kind of home server provided by the invention is downloaded software upgrade information tabulation and upgrade file method flow diagram from official upgrading website;
Fig. 3 carries out the method for upgrading software flow chart for a kind of home server provided by the invention uses the upgrade file of downloading;
Fig. 4 is a kind of parsing upgrade information tabulation of home server provided by the invention, creates upgrade file tabulating method flow chart;
Fig. 5 is that the whole upgrade files in a kind of home server download and upgrade listed files provided by the invention arrive local temp directory method flow diagram;
Fig. 6 is a kind of home server structure chart provided by the invention;
Fig. 7 is a kind of local area network (LAN) internal machine upgrade method flow chart provided by the invention;
Fig. 8 is that a kind of local area network (LAN) internal machine provided by the invention is downloaded software upgrade information tabulation and upgrade file method flow diagram from home server;
Fig. 9 is that a kind of local area network (LAN) internal machine provided by the invention is resolved the upgrade information tabulation, creates upgrade file tabulating method flow chart;
Figure 10 is that whole upgrade files in a kind of local area network (LAN) internal machine download and upgrade listed files provided by the invention are to local area network (LAN) internal machine temp directory method flow diagram;
Figure 11 is a kind of local area network (LAN) internal machine structure chart provided by the invention;
Figure 12 is a kind of LAN system schematic diagram provided by the invention.
Embodiment
In order to make those skilled in the art person understand technical scheme in the embodiment of the invention better, and above-mentioned purpose of the present invention, feature and advantage can be become apparent more, technical scheme among the present invention is described in further detail below in conjunction with accompanying drawing.
The invention provides a kind of method for upgrading software, server and system, solved Internet resources that local area network (LAN) inside is used for directly causing from the outer net upgrading block up problem and the software publisher server problem that over-burden.
The invention provides a kind of method for upgrading software, be applicable to the LAN system that comprises home server and local area network (LAN) internal machine, as shown in Figure 1, described method comprises:
S101: home server is downloaded software upgrade information tabulation and upgrade file from official upgrading website;
S102: home server provides software upgrade information tabulation and upgrade file for the local area network (LAN) internal machine.
In the described method, home server is downloaded software upgrade information tabulation and upgrade file from official upgrading website, as shown in Figure 2, comprises the steps:
S101-1: home server confirms to have connected official upgrading website;
S101-2: download and upgrade information list;
S101-3: resolve the upgrade information tabulation, create the upgrade file tabulation;
S101-4: the whole upgrade files in the download and upgrade listed files are to local temp directory.
In the described method, home server also comprises after downloading software upgrade information tabulation and upgrade file from official upgrading website:
Use the upgrade file of downloading to carry out software upgrading.
In the described method, use the upgrade file of downloading to carry out software upgrading, as shown in Figure 3, comprising:
S301: use the upgrade file of downloading to replace the local file that needs upgrading;
S302: the upgrade information tabulation and the upgrade file of the back all files of will upgrading are published to the web catalogue, finish upgrading.
In the described method, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
In the described method, described step S101-3 as shown in Figure 4, comprising:
S401:, search local respective file according to the Actual path of file in the upgrade information tabulation;
S402: whether the HASH value in the tabulation of contrast upgrade information is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
In the described method, described step S101-4 as shown in Figure 5, comprises;
S501:, search upgrade file according to the path of file on server in the upgrade file tabulation;
S502: download and upgrade file.
The invention provides a kind of server, described server is the home server that comprises in the LAN system of home server and local area network (LAN) internal machine, and as shown in Figure 6, described server comprises:
Download unit 601 is used for downloading software upgrade information tabulation and upgrade file from official upgrading website;
Unit 602 is provided, is used to the local area network (LAN) internal machine that software upgrade information tabulation and upgrade file are provided.
Described server, described download unit 601 comprises:
Confirm subelement 601-1, be used to confirm that described server has connected official upgrading website;
First downloads subelement 601-2, is used for the download and upgrade information list;
Resolve subelement 601-3, be used to resolve the upgrade information tabulation, create the upgrade file tabulation;
Second downloads subelement 601-4, and the whole upgrade files that are used for the download and upgrade listed files are to local temp directory.
In the described server, also comprise: upgrading unit 603 is used to use the upgrade file of download to carry out software upgrading.
In the described server, upgrading unit 603 uses the upgrade file of downloading to replace the local file that needs upgrading; Provide the upgrade information tabulation and the upgrade file of all files after will upgrading in unit 602 to be published to the web catalogue, finish upgrading.
In the described server, the MD5 value of described upgrade information tabulation include file, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
In the described server, described parsing subelement 601-3 comprises:
Search subelement 601-31, be used for Actual path, search local respective file according to upgrade information tabulation file;
Contrast subunit 601-32, whether the HASH value that is used for contrasting the upgrade information tabulation is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed upgrade file in and is tabulated.
In the described server, described second downloads subelement 601-4 comprises:
Search subelement 601-41, be used for the path of file on server, search upgrade file according to the upgrade file tabulation;
Download subelement 601-42, be used for the download and upgrade file.
The invention provides a kind of method for upgrading software, be applicable to the network system that comprises home server and local area network (LAN) internal machine, as shown in Figure 7, described method comprises:
S701: the local area network (LAN) internal machine is downloaded software upgrade information tabulation and upgrade file from home server;
S702: the local area network (LAN) internal machine uses the upgrade file of downloading to carry out software upgrading.
In the described method, the local area network (LAN) internal machine is downloaded software upgrade information and upgrade file from home server, as shown in Figure 8, comprises the steps:
S701-1: the local area network (LAN) internal machine confirms to have connected home server;
S701-2: download and upgrade information list;
S701-3: resolve the upgrade information tabulation, create the upgrade file tabulation;
S701-4: the whole upgrade files in the download and upgrade tabulation are to the temp directory of local area network (LAN) internal machine.
In the described method, the upgrade file that the use of local area network (LAN) internal machine is downloaded carries out software upgrading and comprises:
Use the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, finish upgrading.
In the described method, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file, the file path on home server.
In the described method, described step S701-3 comprises as shown in Figure 9:
S901: according to the Actual path of file in the upgrade information tabulation, the respective file of searching the local area network (LAN) internal machine;
S902: whether the HASH value in the tabulation of contrast upgrade information is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
In the described method, described step S701-4 comprises as shown in figure 10;
S111:, search upgrade file according to the path of file on server in the upgrade file tabulation;
S112: download and upgrade file.
The invention provides a kind of server, described server is the local area network (LAN) internal machine that comprises in the LAN system of home server and local area network (LAN) internal machine, and as shown in figure 11, described server comprises:
Download unit 121 is used for downloading software upgrade information tabulation and upgrade file from home server;
Upgrading unit 122 is used to use the upgrade file of download to carry out software upgrading.
In the described server, described download unit 121 comprises:
Confirm subelement 121-1, be used to confirm that described server has connected home server;
First downloads subelement 121-2, is used for the download and upgrade information list;
Resolve subelement 121-3, be used to resolve the upgrade information tabulation, create the upgrade file tabulation;
Second downloads subelement 121-4, is used for the temp directory of whole upgrade files of download and upgrade listed files to the local area network (LAN) internal machine.
In the described server, described upgrading unit 122 uses the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, and finishes upgrading.
In the described server, the MD5 value of described upgrade information tabulation include file, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
In the described server, described parsing subelement 121-3 comprises:
Search subelement 121-31, be used for Actual path, search local area network (LAN) internal machine respective file according to upgrade information tabulation file;
Contrast subunit 121-32, whether the HASH value that is used for contrasting the upgrade information tabulation is identical with the HASH value of local area network (LAN) internal machine respective file, and the fileinfo that the HASH value is different is listed upgrade file in and is tabulated.
In the described server, described second downloads subelement comprises:
Search subelement 122-41, be used for the path of file on server, search upgrade file according to the upgrade file tabulation;
Download subelement 122-42, be used for the download and upgrade file.
The invention provides a kind of LAN system, as shown in figure 12, comprise home server 131 and local area network (LAN) internal machine 132;
Described home server 131 is used for downloading software upgrade information tabulation and upgrade file from official upgrading website, for local area network (LAN) internal machine 132 provides software upgrade information tabulation and upgrade file;
Described local area network (LAN) internal machine 132 is used for downloading software upgrade information tabulation and upgrade file from home server 131, uses the upgrade file of downloading to carry out software upgrading.
In the described system, described home server 131 confirms to have connected official upgrading website; The download and upgrade information list; The upgrade file tabulation is created in the tabulation of parsing upgrade information; Whole upgrade files in the download and upgrade listed files are to local temp directory.
Described local area network (LAN) internal machine 132 confirms to have connected home server; The download and upgrade information list; The upgrade file tabulation is created in the tabulation of parsing upgrade information; Whole upgrade files in the download and upgrade listed files are to the temp directory of local area network (LAN) internal machine.
In the described system, home server 131 also comprises: use the upgrade file of downloading to carry out software upgrading after downloading software upgrade information tabulation and upgrade file from official website;
Described local area network (LAN) internal machine 132 also comprises: use the upgrade file of downloading to carry out software upgrading after downloading the software upgrade information tabulation from home server.
In the described system, the upgrade file that home server 131 uses are downloaded carries out software upgrading and comprises: use the upgrade file of downloading to replace the file that this locality needs upgrading; The upgrade information tabulation and the upgrade file of all files after the upgrading are published to the web catalogue, finish upgrading.
The upgrade file that 132 uses of local area network (LAN) internal machine are downloaded carries out software upgrading and comprises: use the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, finish upgrading.
In the described system, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file and the file path on server.
In the described system, home server 131 is resolved the upgrade information tabulation, creates the upgrade file tabulation and comprises:
According to the Actual path of file in the upgrade information tabulation, search local respective file;
Whether the HASH value in the tabulation of contrast upgrade information is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
Local area network (LAN) internal machine 132 is resolved the upgrade information tabulation, creates the upgrade file tabulation and comprises:
According to the Actual path of file in the upgrade information tabulation, search local area network (LAN) internal machine respective file;
Whether the HASH value in the tabulation of contrast upgrade information is identical with the HASH value of local area network (LAN) internal machine respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
In the described system, the whole upgrade files in the home server 131 download and upgrade listed files comprise to local temp directory:
According to the path of file on server in the upgrade file tabulation, search upgrade file;
The download and upgrade file;
Whole upgrade files in the local area network (LAN) internal machine 132 download and upgrade listed files comprise to the temp directory of local area network (LAN) internal machine:
According to the path of file on server in the upgrade file tabulation, search upgrade file;
The download and upgrade file.
The invention provides a kind of method for upgrading software, server and system, comprising: home server connects official upgrading website, and the contrast local file by the judgement of HASH value, obtains the file that needs renewal, upgrades; Upgrade information tabulation and upgrade file are published to local web catalogue; The local area network (LAN) internal machine connects home server, and edition with parallel text machine file is judged by the HASH value, obtains the file that needs renewal, upgrades.The enforcement of this programme can be shortened local area network (LAN) internal user update time, improves upgrading efficient, and taking of conserve network bandwidth resource alleviated software publisher load of server simultaneously.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (33)

1. a method for upgrading software is characterized in that, is applicable to the LAN system that comprises home server and local area network (LAN) internal machine, and described method comprises:
Home server is downloaded software upgrade information tabulation and upgrade file from official upgrading website;
Home server provides software upgrade information tabulation and upgrade file for the local area network (LAN) internal machine.
2. the method for claim 1 is characterized in that, home server is downloaded software upgrade information tabulation and upgrade file from official upgrading website, comprises the steps:
A. home server confirms to have connected official upgrading website;
B. download and upgrade information list;
C. resolve the upgrade information tabulation, create the upgrade file tabulation;
D. the whole upgrade files in the download and upgrade listed files are to local temp directory.
3. method as claimed in claim 1 or 2 is characterized in that, home server also comprises after downloading software upgrade information tabulation and upgrade file from official upgrading website:
Use the upgrade file of downloading to carry out software upgrading.
4. method as claimed in claim 3 is characterized in that, uses the upgrade file of downloading to carry out software upgrading and comprises:
Use the upgrade file of downloading to replace the local file that needs upgrading;
The upgrade information tabulation and the upgrade file of upgrading back all files are published to the web catalogue, finish upgrading.
5. method as claimed in claim 2 is characterized in that, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
6. method as claimed in claim 5 is characterized in that, described step c comprises:
C1. according to the Actual path of file in the upgrade information tabulation, search local respective file;
Whether the HASH value that c2. contrasts in the upgrade information tabulation is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
7. method as claimed in claim 5 is characterized in that described steps d comprises;
D1. according to the path of file on server in the upgrade file tabulation, search upgrade file;
D2. download and upgrade file.
8. a server is characterized in that, described server is the home server that comprises in the LAN system of home server and local area network (LAN) internal machine, and described server comprises:
Download unit is used for downloading software upgrade information tabulation and upgrade file from official upgrading website;
The unit is provided, is used to the local area network (LAN) internal machine that software upgrade information tabulation and upgrade file are provided.
9. server as claimed in claim 8 is characterized in that, described download unit comprises:
Confirm subelement, be used to confirm that described server has connected official upgrading website;
First downloads subelement, is used for the download and upgrade information list;
Resolve subelement, be used to resolve the upgrade information tabulation, create the upgrade file tabulation;
Second downloads subelement, and the whole upgrade files that are used for the download and upgrade listed files are to local temp directory.
10. server as claimed in claim 8 or 9 is characterized in that, also comprises: the upgrading unit is used to use the upgrade file of download to carry out software upgrading.
11. server as claimed in claim 10 is characterized in that, the upgrading unit uses the upgrade file of downloading to replace the local file that needs upgrading;
Provide the upgrade information tabulation and the upgrade file of all files after will upgrading in the unit to be published to the web catalogue, finish upgrading.
12. server as claimed in claim 9 is characterized in that, the MD5 value of described upgrade information tabulation include file, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
13. server as claimed in claim 12 is characterized in that, described parsing subelement comprises:
Search subelement, be used for Actual path, search local respective file according to upgrade information tabulation file;
Contrast subunit, whether the HASH value that is used for contrasting the upgrade information tabulation is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed upgrade file in and is tabulated.
14. server as claimed in claim 12 is characterized in that, described second downloads subelement comprises:
Search subelement, be used for the path of file on server, search upgrade file according to the upgrade file tabulation;
Download subelement, be used for the download and upgrade file.
15. a method for upgrading software is characterized in that, is applicable to the network system that comprises home server and local area network (LAN) internal machine, described method comprises:
The local area network (LAN) internal machine is downloaded software upgrade information tabulation and upgrade file from home server;
The local area network (LAN) internal machine uses the upgrade file of downloading to carry out software upgrading.
16. method as claimed in claim 15 is characterized in that, the local area network (LAN) internal machine is downloaded software upgrade information and upgrade file from home server, comprises the steps:
E. the local area network (LAN) internal machine confirms to have connected home server;
F. download and upgrade information list;
G. resolve the upgrade information tabulation, create the upgrade file tabulation;
H. the whole upgrade files in the download and upgrade tabulation are to the temp directory of local area network (LAN) internal machine.
17. method as claimed in claim 15 is characterized in that, the upgrade file that the use of local area network (LAN) internal machine is downloaded carries out software upgrading and comprises:
Use the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, finish upgrading.
18. method as claimed in claim 16 is characterized in that, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file, the file path on home server.
19. method as claimed in claim 18 is characterized in that, described step g comprises:
G1. the Actual path of file in tabulating according to upgrade information, the respective file of searching the local area network (LAN) internal machine;
Whether the HASH value that g2. contrasts in the upgrade information tabulation is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
20. method as claimed in claim 18 is characterized in that, described step h comprises;
H1. according to the path of file on server in the upgrade file tabulation, search upgrade file;
H2. download and upgrade file.
21. a server is characterized in that, described server is the local area network (LAN) internal machine that comprises in the LAN system of home server and local area network (LAN) internal machine, and described server comprises:
Download unit is used for downloading software upgrade information tabulation and upgrade file from home server;
The upgrading unit is used to use the upgrade file of download to carry out software upgrading.
22. server as claimed in claim 21 is characterized in that, described download unit comprises:
Confirm subelement, be used to confirm that described server has connected home server;
First downloads subelement, is used for the download and upgrade information list;
Resolve subelement, be used to resolve the upgrade information tabulation, create the upgrade file tabulation;
Second downloads subelement, is used for the temp directory of whole upgrade files of download and upgrade listed files to the local area network (LAN) internal machine.
23. server as claimed in claim 21 is characterized in that, described upgrading unit uses the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, and finishes upgrading.
24. server as claimed in claim 22 is characterized in that, the MD5 value of described upgrade information tabulation include file, HASH value, file size, FileVersion, the Actual path of file, the file path on server.
25. server as claimed in claim 24 is characterized in that, described parsing subelement comprises:
Search subelement, be used for Actual path, search local area network (LAN) internal machine respective file according to upgrade information tabulation file;
Contrast subunit, whether the HASH value that is used for contrasting the upgrade information tabulation is identical with the HASH value of local area network (LAN) internal machine respective file, and the fileinfo that the HASH value is different is listed upgrade file in and is tabulated.
26. server as claimed in claim 24 is characterized in that, described second downloads subelement comprises:
Search subelement, be used for the path of file on server, search upgrade file according to the upgrade file tabulation;
Download subelement, be used for the download and upgrade file.
27. a LAN system is characterized in that, comprises home server and local area network (LAN) internal machine;
Described home server is used for downloading software upgrade information tabulation and upgrade file from official upgrading website, for the local area network (LAN) internal machine provides software upgrade information tabulation and upgrade file;
Described local area network (LAN) internal machine is used for downloading software upgrade information tabulation and upgrade file from home server, uses the upgrade file of downloading to carry out software upgrading.
28. system as claimed in claim 27 is characterized in that, described home server confirms to have connected official upgrading website; The download and upgrade information list; The upgrade file tabulation is created in the tabulation of parsing upgrade information; Whole upgrade files in the download and upgrade listed files are to local temp directory;
Described local area network (LAN) internal machine confirms to have connected home server; The download and upgrade information list; The upgrade file tabulation is created in the tabulation of parsing upgrade information; Whole upgrade files in the download and upgrade listed files are to the temp directory of local area network (LAN) internal machine.
29., it is characterized in that home server also comprises: use the upgrade file of downloading to carry out software upgrading after downloading software upgrade information tabulation and upgrade file from official website as claim 27 or 28 described systems;
Described local area network (LAN) internal machine also comprises: use the upgrade file of downloading to carry out software upgrading after downloading the software upgrade information tabulation from home server.
30. system as claimed in claim 29 is characterized in that, the upgrade file that the home server use is downloaded carries out software upgrading and comprises: use the upgrade file of downloading to replace the file that this locality needs upgrading; The upgrade information tabulation and the upgrade file of all files after the upgrading are published to the web catalogue, finish upgrading;
The upgrade file that the use of local area network (LAN) internal machine is downloaded carries out software upgrading and comprises: use the upgrade file of downloading to replace the file that the local area network (LAN) internal machine need be upgraded, finish upgrading.
31. system as claimed in claim 28 is characterized in that, the MD5 value of include file in the described upgrade information tabulation, HASH value, file size, FileVersion, the Actual path of file and the file path on server.
32. system as claimed in claim 31 is characterized in that, home server is resolved the upgrade information tabulation, creates the upgrade file tabulation and comprises:
According to the Actual path of file in the upgrade information tabulation, search local respective file;
Whether the HASH value in the tabulation of contrast upgrade information is identical with the HASH value of local respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in;
The local area network (LAN) internal machine is resolved the upgrade information tabulation, creates the upgrade file tabulation and comprises:
According to the Actual path of file in the upgrade information tabulation, search local area network (LAN) internal machine respective file;
Whether the HASH value in the tabulation of contrast upgrade information is identical with the HASH value of local area network (LAN) internal machine respective file, and the fileinfo that the HASH value is different is listed the upgrade file tabulation in.
33. system as claimed in claim 31 is characterized in that, the whole upgrade files in the home server download and upgrade listed files comprise to local temp directory:
According to the path of file on server in the upgrade file tabulation, search upgrade file;
The download and upgrade file;
Whole upgrade files in the local area network (LAN) internal machine download and upgrade listed files comprise to the temp directory of local area network (LAN) internal machine:
According to the path of file on server in the upgrade file tabulation, search upgrade file;
The download and upgrade file.
CN 201010561231 2010-11-26 2010-11-26 Method, server and system for software upgrading Pending CN102064960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010561231 CN102064960A (en) 2010-11-26 2010-11-26 Method, server and system for software upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010561231 CN102064960A (en) 2010-11-26 2010-11-26 Method, server and system for software upgrading

Publications (1)

Publication Number Publication Date
CN102064960A true CN102064960A (en) 2011-05-18

Family

ID=44000071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010561231 Pending CN102064960A (en) 2010-11-26 2010-11-26 Method, server and system for software upgrading

Country Status (1)

Country Link
CN (1) CN102064960A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942058A (en) * 2013-01-17 2014-07-23 深圳市潮流网络技术有限公司 Embedded electronic equipment software updating method and system
CN107124448A (en) * 2017-04-10 2017-09-01 上海斐讯数据通信技术有限公司 A kind of router OUI storehouses update realization method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942058A (en) * 2013-01-17 2014-07-23 深圳市潮流网络技术有限公司 Embedded electronic equipment software updating method and system
CN103942058B (en) * 2013-01-17 2018-04-27 深圳市潮流网络技术有限公司 A kind of EMBEDDED AVIONICS method for upgrading software and system
CN107124448A (en) * 2017-04-10 2017-09-01 上海斐讯数据通信技术有限公司 A kind of router OUI storehouses update realization method and system

Similar Documents

Publication Publication Date Title
EP2677422B1 (en) Automatic Application Updates
US20150100955A1 (en) Method and System for Updating Software
CN108234475B (en) Account management method, electronic equipment and computer storage medium
US20160070431A1 (en) Sync based on navigation history
US20120246633A1 (en) Electronic book and system for firmware upgrade of electronic book
CN102833350A (en) Processing method and processing device of WebApp updating
WO2013188179A2 (en) Efficient data transfer for cloud storage by centralized management of access tokens
CN108540509B (en) Processing method and device of terminal browser, server and intelligent terminal
CN103188321A (en) Information synchronizing method and system based on cloud server
CN103914568A (en) Method and device for dispatching HTTP proxy
CN103136478A (en) Terminal application safety management method and system
CN104468813A (en) Application program recommending method, device and system
CN106951284A (en) User interface upgrade method, device and the intelligent terminal applied based on Android system
CN103136027A (en) Immediate updating device and immediate updating method
CN105912641A (en) Icon update method and apparatus of Native Apps
US9832322B1 (en) Techniques to transform network resource requests to zero rated network requests
CN102984020B (en) Cloud-computation-based net surfing monitoring method and monitoring system and monitoring server
CN103078913A (en) Word bank updating method and system for input method application
CN103092536A (en) Image forming system, image forming apparatus and non-transitory computer readable medium
CN108777632B (en) Data processing method, client, service platform and configuration platform
US20140019872A1 (en) Method and server for managing domain-specific toolbar button automatically
CN102064960A (en) Method, server and system for software upgrading
CN106708494A (en) JAR upgrading method and apparatus
CN104123160A (en) Element level updating method for navigation equipment
CN102148831B (en) Method and system for safely controlling terminal application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110518