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
Grant status
Application
Patent type
Prior art keywords
file
upgrade
list
server
local
Prior art date
Application number
CN 201010561231
Other languages
Chinese (zh)
Inventor
关墨辰
徐翰隆
李果
Original Assignee
北京安天电子设备有限公司
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

Links

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

软件升级方法、服务器及系统 Software upgrade method, server and system

技术领域 FIELD

[0001] 本发明涉及软件技术,特别涉及软件升级方法。 [0001] The present invention relates to software technology, and particularly relates to a software upgrade. 背景技术 Background technique

[0002] 随着互联网应用的普及,及时快速的响应用户反馈,满足用户需求,快速发布当前软件补丁,更新产品的功能,成为了软件产品要解决的重要问题。 [0002] With the popularity of Internet applications, rapid response to user feedback in a timely manner to meet customer needs, quickly publish the current software patches, updates, product features, the software product has become an important problem to be solved. 通过软件在线即时升级, 能很好的满足这一需求,但是局域网用户如果都直接从外网服务器升级,则会占用大量的网络资源,造成网络资源的拥堵,降低升级的效率,同时影响正常的网络运用,同时也增加了软件发布者服务器的负担。 Instant online software upgrades, can well meet this demand, but if all LAN users to upgrade directly from the external network server, it will take up a lot of network resources, resulting in congestion of network resources, reduce upgrade efficiency while affecting normal Internet use also increases the burden on the software publisher server.

发明内容 SUMMARY

[0003] 本发明提供了一种软件升级方法、服务器及系统,解决了局域网内部用于直接从外网升级造成的网络资源拥堵问题和软件发布者服务器负担过重的问题。 [0003] The present invention provides a method for upgrading software, servers and systems to solve the internal LAN to upgrade directly from the external network congestion and network resource server software publisher burden caused by the problem of overweight.

[0004] 本发明提供一种软件升级方法,适用于包括本地服务器和局域网内部机器的局域网系统,所述方法包括: [0004] The present invention provides a software upgrade method for a local area network system comprising a server and a local LAN inside the machine, the method comprising:

本地服务器从官方升级网站下载软件升级信息列表及升级文件; 本地服务器为局域网内部机器提供软件升级信息列表及升级文件。 Local information list server upgrade and upgrade file from the official website to download the software upgrade; the local server to provide a list of software upgrade information and upgrade file to a local area network inside the machine.

[0005] 所述的方法中,本地服务器从官方升级网站下载软件升级信息列表及升级文件, 包括如下步骤: [0005] The method, the local server upgrade upgrade information and a list of documents from the official website to download the software upgrade includes the following steps:

a.本地服务器确认已连接官方升级网站; . A local server connected to confirm official upgraded website;

b.下载升级信息列表; . B download new versions of the list;

c.解析升级信息列表,创建升级文件列表; . C parsing upgrade information list, create the upgrade file list;

d.下载升级文件列表中的全部升级文件到本地临时目录。 d. All the upgrade file to download the upgrade file list to the local temporary directory.

[0006] 所述的方法中,本地服务器从官方升级网站下载软件升级信息列表及升级文件后,还包括: After [0006] The method, the local server upgrade upgrade information and a list of documents from the official website to download the software upgrade, further comprising:

使用下载的升级文件进行软件升级。 Download the file using the upgrade software upgrade.

[0007] 所述的方法中,使用下载的升级文件进行软件升级包括: 使用下载的升级文件替换本地需升级的文件; The method according to [0007], the upgrade file downloaded software upgrade comprising: a replacement file to be upgraded locally using the downloaded upgrade file;

将升级后全部文件的升级信息列表和升级文件发布到web目录,完成升级。 After the release of all documents will upgrade upgrade upgrade information and a list of files to the web directory, complete the upgrade.

[0008] 所述的方法中,所述的升级信息列表中包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 The method according to [0008], the information contained in the list of MD5 values ​​upgrade file, the HASH value of the actual path the path file size, file version, file, the file on the server.

[0009] 所述的方法中,所述的步骤c包括: The method according to [0009], said step c comprises:

Cl.根据升级信息列表中文件的实际路径,查找本地对应文件; c2.对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 . Cl actual upgrade path information list file to find the corresponding local file;. HASH value HASH value C2 corresponding to the local file update information list comparison is the same, different file HASH value update information included in the file list.

[0010] 所述的方法中,所述步骤d包括; The method [0010] In the step d comprises;

6dl.根据升级文件列表中的文件在服务器上的路径,查找升级文件; d2.下载升级文件。 . 6dl According upgrade path to the file list of files on the server, find the upgrade file;. D2 download the upgrade file.

[0011] 本发明提供一种服务器,所述服务器为包括本地服务器和局域网内部机器的局域网系统中的本地服务器,所述服务器包括: [0011] The present invention provides a server, the server is a local area network system comprising a server and a local LAN inside the machine in the local server, the server comprising:

下载单元,用于从官方升级网站下载软件升级信息列表及升级文件; 提供单元,用于为局域网内部机器提供软件升级信息列表及升级文件。 Download unit for upgrade from the official website to download the software upgrade and update the list of information documents; providing unit for providing a list of software upgrades and upgrade information file to a local area network inside the machine.

[0012] 所述的服务器,所述的下载单元包括: [0012] The server, the downloading means comprises:

确认子单元,用于确认所述的服务器已连接官方升级网站; Subunit confirmation for confirming the official upgrade website server is connected;

第一下载子单元,用于下载升级信息列表; Download a first sub-unit, for downloading update information list;

解析子单元,用于解析升级信息列表,创建升级文件列表; Parsing subunit, for parsing upgrade information list, create the upgrade file list;

第二下载子单元,用于下载升级文件列表中的全部升级文件到本地临时目录。 The second sub-unit download all the upgrade file to download the list of upgrade file to a local temporary directory.

[0013] 所述的服务器中,还包括:升级单元,用于使用下载的升级文件进行软件升级。 [0013] The server further includes: means to upgrade, the upgrade file downloaded using software upgrades.

[0014] 所述的服务器中,升级单元使用下载的升级文件替换本地需升级的文件;提供单元将升级后的全部文件的升级信息列表和升级文件发布到web目录,完成升级。 [0014] In the server, the upgrade unit using the downloaded update files for an upgraded local replacement file; all documents published after upgrading upgrade information providing unit and the upgrade file to the list of web directories, and perform the upgrade.

[0015] 所述的服务器中,所述的升级信息列表包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 [0015] In the server, the update information list file contains the MD5 value, the actual path HASH value path, file size, file version, file, the file on the server.

[0016] 所述的服务器中,所述的解析子单元包括: [0016] In the server, the parsing sub-unit comprises:

查找子单元,用于根据升级信息列表中文件的实际路径,查找本地对应文件; 对比子单元,用于对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同, 将HASH值不同的文件信息列入升级文件列表。 Searching subunit, according to the actual path of the file update information list, find the corresponding local file; comparison sub-unit for comparison upgrade HASH value HASH value with the corresponding local information list file is the same, different values ​​of the HASH file information included in the update file list.

[0017] 所述的服务器中,所述的第二下载子单元包括: [0017] In the server, the downloading of the second sub-unit comprises:

查找子单元,用于根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载子单元,用于下载升级文件。 Searching subunit, in accordance with the path for a file upgrade file list on the server to find the upgrade file; download sub-unit, configured to download the update files.

[0018] 本发明提供一种软件升级方法,适用于包括本地服务器和局域网内部机器的网络系统,所述方法包括: [0018] The present invention provides a software upgrade method for a network system comprising a server and a local LAN inside the machine, the method comprising:

局域网内部机器从本地服务器下载软件升级信息列表及升级文件; 局域网内部机器使用下载的升级文件进行软件升级。 LAN inside the machine upgrade information and a list of files from a local server to download the upgrade software; LAN inside the machine to use the downloaded file to upgrade software upgrade.

[0019] 所述的方法中,局域网内部机器从本地服务器下载软件升级信息及升级文件,包括如下步骤: [0019] The method, local area network inside the machine and upgrade information update files from the local server to download the software, comprising the steps of:

e.局域网内部机器确认已连接本地服务器; . E LAN inside the machine to confirm the local server is connected;

f.下载升级信息列表; . F download new versions of the list;

g.解析升级信息列表,创建升级文件列表; . G resolve upgrade information list, create the upgrade file list;

h.下载升级列表中的全部升级文件到局域网内部机器的临时目录。 h. All the upgrade download the upgrade file to a temporary directory list of local area network inside the machine.

[0020] 所述的方法中,局域网内部机器使用下载的升级文件进行软件升级包括: 使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 [0020] The method, using the machine inside the LAN file downloaded upgrade software upgrade comprising: replacing the LAN file inside of the machine to be upgraded to use the downloaded update file to complete the upgrade.

[0021] 所述的方法中,所述的升级信息列表中包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径,文件在本地服务器上的路径。 The method according to [0021], the information contained in the list of MD5 values ​​upgrade file, the HASH value of the actual path the path file size, file version, file, the file on the local server.

[0022] 所述的方法中,所述的步骤g包括: [0022] The method, said step g comprises:

gl.根据升级信息列表中文件的实际路径,查找局域网内部机器的对应文件;g2.对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 . Gl actual upgrade path information list file, corresponding to the machine to find within the LAN file;. G2 HASH value with a HASH value corresponding to a local file update information list comparison is the same, different information included in the update file HASH value File List.

[0023] 所述的方法中,所述步骤h包括; The method [0023] In the step h comprises;

hi.根据升级文件列表中文件在服务器上的路径,查找升级文件; h2.下载升级文件。 . Hi upgrade path according to the file list on the server, find the upgrade file;. H2 download the upgrade file.

[0024] 本发明提供一种服务器,所述服务器为包括本地服务器和局域网内部机器的局域网系统中的局域网内部机器,所述服务器包括: [0024] The present invention provides a server, the server is a local area network LAN system inside the machine and includes a local server in the LAN inside the machine, the server comprising:

下载单元,用于从本地服务器下载软件升级信息列表及升级文件; 升级单元,用于使用下载的升级文件进行软件升级。 Download the unit used to upgrade from a local server to download the software upgrade information and a list of documents; upgrade unit for use upgrade file downloaded software upgrade.

[0025] 所述的服务器中,所述的下载单元包括: [0025] In the server, the downloading means comprises:

确认子单元,用于确认所述的服务器已连接本地服务器; Determining sub-unit for confirming that the server is connected to the local server;

第一下载子单元,用于下载升级信息列表; Download a first sub-unit, for downloading update information list;

解析子单元,用于解析升级信息列表,创建升级文件列表; Parsing subunit, for parsing upgrade information list, create the upgrade file list;

第二下载子单元,用于下载升级文件列表中的全部升级文件到局域网内部机器的临时目录。 Download the second sub-unit for the entire upgrade file downloaded upgrade file to a temporary directory list of local area network inside the machine.

[0026] 所述的服务器中,所述升级单元使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 [0026] In the server, the download update unit uses the LAN upgrade file inside of the machine to be upgraded replacement file upgrade.

[0027] 所述的服务器中,所述的升级信息列表包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 [0027] In the server, the update information list file contains the MD5 value, the actual path HASH value path, file size, file version, file, the file on the server.

[0028] 所述的服务器中,所述的解析子单元包括: [0028] In the server, the parsing sub-unit comprises:

查找子单元,用于根据升级信息列表中文件的实际路径,查找局域网内部机器对应文 Searching subunit, according to the actual path for the upgrade information list file, the text corresponding to the machine to find internal LAN

件; Pieces;

对比子单元,用于对比升级信息列表中的HASH值与局域网内部机器对应文件的HASH 值是否相同,将HASH值不同的文件信息列入升级文件列表。 Compare subunit, HASH value with a HASH value for Comparative LAN inside the machine upgrade information corresponding to the file list is the same, different file HASH value update information included in the file list.

[0029] 所述的服务器中,所述的第二下载子单元包括: [0029] In the server, the downloading of the second sub-unit comprises:

查找子单元,用于根据升级文件列表中的文件在服务器上的路径,查找升级文件; 升级子单元,用于下载升级文件。 Searching subunit, in accordance with the path for a file upgrade file list on the server to find the upgrade file; subunit upgrade, upgrade file for downloading.

[0030] 本发明提供一种局域网系统,包括本地服务器和局域网内部机器; [0030] The present invention provides a local area network system comprising a server and a local LAN inside the machine;

所述本地服务器用于从官方升级网站下载软件升级信息列表及升级文件,为局域网内部机器提供软件升级信息列表及升级文件; The local server for a list of upgrade information and upgrade file from the official website to download software upgrades, software upgrades and upgrade information list file to a local area network inside the machine;

所述局域网内部机器用于从本地服务器下载软件升级信息列表及升级文件,使用下载的升级文件进行软件升级。 The internal LAN machine used to upgrade and update the list of information files from a local server to download software, download the upgrade file for software upgrades.

[0031] 所述的系统中,所述的本地服务器确认已连接官方升级网站;下载升级信息列表; 解析升级信息列表,创建升级文件列表;下载升级文件列表中的全部升级文件到本地临时目录。 The system [0031], the local server to confirm Connected official website upgrade; download new versions of the list; the list of information to resolve the upgrade, the upgrade to create a list of files; all the upgrade file to download the upgrade file list to the local temporary directory.

[0032] 所述的局域网内部机器确认已连接本地服务器;下载升级信息列表;解析升级信息列表,创建升级文件列表;下载升级文件列表中的全部升级文件到局域网内部机器的临时目录。 [0032] The local area network is connected inside the machine to confirm local server; download new versions of the list; the list of information to resolve the upgrade, the upgrade to create a list of files; all the upgrade file to download the upgrade file list inside the machine to a LAN temporary directory.

[0033] 所述的系统中,本地服务器从官方网站下载软件升级信息列表及升级文件后,还包括:使用下载的升级文件进行软件升级; After the [0033] the system, the local server upgrade upgrade information and a list of files to download software from the official website, further comprising: using the upgrade file downloaded software upgrade;

所述的局域网内部机器从本地服务器下载软件升级信息列表后,还包括:使用下载的升级文件进行软件升级。 The internal LAN from the local machine to download the software upgrade information list server, further comprising: using the upgrade file downloaded software upgrade.

[0034] 所述的系统中,本地服务器使用下载的升级文件进行软件升级包括:使用下载的升级文件替换本地需升级的文件;将升级后的全部文件的升级信息列表和升级文件发布到web目录,完成升级。 [0034] The system, using the local server to download the upgrade file for software upgrades include: replacing the local file to be upgraded to use the downloaded upgrade file; all files will be released after the upgrade upgrade upgrade information and a list of files to a web directory to complete the upgrade.

[0035] 局域网内部机器使用下载的升级文件进行软件升级包括:使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 [0035] LAN inside the machine using the downloaded software upgrade includes upgrading file: Replace the file within the LAN machines to be upgraded to use the downloaded upgrade file to complete the upgrade.

[0036] 所述的系统中,所述的升级信息列表中包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径和文件在服务器上的路径。 The system of [0036], the information contained in the list of MD5 values ​​upgrade file, the HASH value of the size of the file path, file version, and the actual path of the file on the server.

[0037] 所述的系统中,本地服务器解析升级信息列表,创建升级文件列表包括: 根据升级信息列表中文件的实际路径,查找本地对应文件; [0037] the system, the local server parses update information list, create upgrade file list comprising: the actual path of the file update information list, find the corresponding local file;

对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 HASH HASH value with the value corresponding to the local file comparison upgrade information in the list are the same, different values ​​HASH file information included in the update file list.

[0038] 局域网内部机器解析升级信息列表,创建升级文件列表包括: 根据升级信息列表中文件的实际路径,查找局域网内部机器对应文件; [0038] LAN upgrade internal machines to parse the message list, create a list of files, including upgrades: upgrade path based on the actual information in the file list, find the LAN inside the machine corresponding to the file;

对比升级信息列表中的HASH值与局域网内部机器对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 HASH value inside the machine and Comparative LAN upgrade information list corresponding file HASH value are the same, different file HASH value update information included in the file list.

[0039] 所述的系统中,本地服务器下载升级文件列表中的全部升级文件到本地临时目录包括: [0039] The system, upgrade the file list of all local server to download the upgrade file to a local temporary directory include:

根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载升级文件; According upgrade path to the file list of files on the server, find the upgrade file; download the upgrade file;

局域网内部机器下载升级文件列表中的全部升级文件到局域网内部机器的临时目录包括: All internal LAN machine upgrade file to download the upgrade file list to a temporary directory within the LAN machines include:

根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载升级文件。 According upgrade path to the file list of files on the server, find the upgrade file; download the update file.

[0040] 本发明提供了一种软件升级方法、服务器及系统,包括:本地服务器连接官方升级网站,对照本地文件,通过HASH值的判断,获取需要更新的文件,进行升级;把升级信息列表和升级文件发布到本地web目录;局域网内部机器连接本地服务器,对照本机文件,通过HASH值判断,获取需要更新的文件,进行升级。 [0040] The present invention provides a software upgrade method, system and server, comprising: a local server connected to the official website update, control local file HASH value determination by acquiring the file to be updated, upgraded; upgrade information list and Post upgrade file to a local web directory; local server connected to the LAN within the machine, the machine control file HASH value is determined by obtaining the file to be updated, upgraded. 本方案的实施可以缩短局域网内部用户升级时间,提高升级效率,节约网络带宽资源的占用,同时减轻了软件发布者服务器的负担。 Implementation of this program can shorten the time within the LAN users to upgrade, upgrade to improve efficiency and save network bandwidth resources, while reducing the burden on the software publisher server.

附图说明 BRIEF DESCRIPTION

[0041] 为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0041] In order to more clearly illustrate the present invention or the technical solution in the prior art, accompanying drawings for describing the embodiments or the prior art described in the introduction required simply Apparently, the following description of the drawings only some embodiments of the invention described, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0042] 图1为本发明提供的一种本地服务器升级方法流程图; A native server upgrade method [0042] FIG. 1 is a flowchart of the present invention;

图2为本发明提供的一种本地服务器从官方升级网站下载软件升级信息列表及升级文件方法流程图; Figure 2 of the present invention to provide a native server upgrade upgrade file flow chart information and a list of methods from the official website to download software upgrades;

图3为本发明提供的一种本地服务器使用下载的升级文件进行软件升级方法流程图; 图4为本发明提供的本地服务器一种解析升级信息列表,创建升级文件列表方法流程 A native server 3 of the present invention provides the use of the downloaded software update file update method of flowchart; Figure 4 is a local server provided an analytical upgrade information list, update list of files created in Scheme

图; Figure;

图5为本发明提供的一种本地服务器下载升级文件列表中的全部升级文件到本地临时目录方法流程图; All upgrade file download upgrade file list in FIG. 5 of the present invention to provide a native server in the local temporary directory to the flowchart of the method;

图6为本发明提供的一种本地服务器结构图; 图7为本发明提供的一种局域网内部机器升级方法流程图; FIG 6 is a configuration diagram of a native server provided herein; upgrade one kind of machine within the LAN of FIG. 7 is a flowchart of the present invention;

图8为本发明提供的一种局域网内部机器从本地服务器下载软件升级信息列表及升级文件方法流程图; FIG 8 is a list of information, and the method of flowchart upgrade file from the local server to download the software upgrade one kind of the machine of the invention provided within the LAN;

图9为本发明提供的一种局域网内部机器解析升级信息列表,创建升级文件列表方法流程图; One kind of a local area network inside the machine in FIG. 9 of the present invention provides the upgrade analysis information list, update list of files created flowchart of a method;

图10为本发明提供的一种局域网内部机器下载升级文件列表中的全部升级文件到局域网内部机器临时目录方法流程图; All upgrade file download list one kind of LAN upgrade file inside of the machine 10 of the present invention provides in the machine to the flowchart temporary directory within the LAN method;

图11为本发明提供的一种局域网内部机器结构图; 图12为本发明提供的一种局域网系统示意图。 FIG 12 a schematic view of one kind of local area network system provided by the present invention; one kind of LAN internal configuration diagram provided in FIG machine 11 of the present invention.

具体实施方式 detailed description

[0043] 为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明中技术方案作进一步详细的说明。 [0043] In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the above and other objects, features and advantages of the invention more comprehensible, the present invention in conjunction with the accompanying drawings in the following technical solutions further detail.

[0044] 本发明提供了一种软件升级方法、服务器及系统,解决了局域网内部用于直接从外网升级造成的网络资源拥堵问题和软件发布者服务器负担过重的问题。 [0044] The present invention provides a method for upgrading software, servers and systems to solve the internal LAN to upgrade directly from the external network congestion and network resource server software publisher burden caused by the problem of overweight.

[0045] 本发明提供一种软件升级方法,适用于包括本地服务器和局域网内部机器的局域网系统,如图1所示,所述方法包括: [0045] The present invention provides a software upgrade method for a local area network system comprising a server and a local LAN inside the machine, shown in Figure 1, the method comprising:

5101 :本地服务器从官方升级网站下载软件升级信息列表及升级文件; 5101: list of local servers upgrade information and upgrade file from the official website to download software upgrades;

5102 :本地服务器为局域网内部机器提供软件升级信息列表及升级文件。 5102: The local server to provide a list of software upgrade information and upgrade file to a local area network inside the machine.

[0046] 所述的方法中,本地服务器从官方升级网站下载软件升级信息列表及升级文件, 如图2所示,包括如下步骤: [0046] The method, the local server upgrade from the official website to download software update and upgrade file information list, as shown in FIG. 2, comprising the steps of:

S101-1 :本地服务器确认已连接官方升级网站; S101-1: local server to confirm Connected official upgrade website;

S101-2 :下载升级信息列表; S101-2: Download new versions of the list;

S101-3 :解析升级信息列表,创建升级文件列表; S101-3: parsing upgrade information list, create the upgrade file list;

S101-4 :下载升级文件列表中的全部升级文件到本地临时目录。 S101-4: Download the update file in the list of all the upgrade file to a local temporary directory.

[0047] 所述的方法中,本地服务器从官方升级网站下载软件升级信息列表及升级文件后,还包括: After [0047] The method, the local server upgrade upgrade information and a list of documents from the official website to download the software upgrade, further comprising:

使用下载的升级文件进行软件升级。 Download the file using the upgrade software upgrade.

[0048] 所述的方法中,使用下载的升级文件进行软件升级,如图3所示,包括: [0048] The method using the downloaded software update file update, shown in Figure 3, comprising:

5301 :使用下载的升级文件替换本地需升级的文件; 5301: Using the downloaded upgrade file to replace the local file to be upgraded;

5302 :将升级后全部文件的升级信息列表和升级文件发布到web目录,完成升级。 5302: After the upgrade will publish all the files and upgrade the list of upgrade information file to the web directory, complete the upgrade. [0049] 所述的方法中,所述的升级信息列表中包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 The method according to [0049], the information contained in the list of MD5 values ​​upgrade file, the HASH value of the actual path the path file size, file version, file, the file on the server.

[0050] 所述的方法中,所述的步骤S101-3,如图4所示,包括: [0050] The method, according to step S101-3, shown in Figure 4, comprising:

5401 :根据升级信息列表中文件的实际路径,查找本地对应文件; 5401: According to the actual upgrade path information in the file list, look for the corresponding local files;

5402 :对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 5402: HASH HASH value with the value corresponding to the local file comparison upgrade information in the list are the same, different values ​​HASH file information included in the update file list.

[0051] 所述的方法中,所述步骤S101-4,如图5所示,包括; The method [0051] In the step S101-4, as shown in FIG. 5, comprising;

5501 :根据升级文件列表中的文件在服务器上的路径,查找升级文件; 5501: According upgrade path to the file list of files on the server, find the upgrade file;

5502 :下载升级文件。 5502: Download the update file.

[0052] 本发明提供一种服务器,所述服务器为包括本地服务器和局域网内部机器的局域网系统中的本地服务器,如图6所示,所述服务器包括: [0052] The present invention provides a server, the server is a local area network system comprising a server and a local LAN inside the machine in the local server, shown in Figure 6, the server comprising:

下载单元601,用于从官方升级网站下载软件升级信息列表及升级文件; 提供单元602,用于为局域网内部机器提供软件升级信息列表及升级文件。 Download unit 601 for upgrade from the official website to download the software upgrade and update the list of information documents; providing unit 602 for providing a list of software upgrades and upgrade information file to a local area network inside the machine.

[0053] 所述的服务器,所述的下载单元601,包括: [0053] The server 601 of the download unit, comprising:

确认子单元601-1,用于确认所述服务器已连接官方升级网站; Subunit 601-1 confirmation for confirming the update official website server is connected;

第一下载子单元601-2,用于下载升级信息列表; Download a first sub-unit 601-2 for downloading update information list;

解析子单元601-3,用于解析升级信息列表,创建升级文件列表; Parsing subunit 601-3, upgrade information for parsing the list, create the upgrade file list;

第二下载子单元601-4,用于下载升级文件列表中的全部升级文件到本地临时目录。 The second sub-unit 601-4 download all the upgrade file to download the list of upgrade file to a local temporary directory.

[0054] 所述的服务器中,还包括:升级单元603,用于使用下载的升级文件进行软件升级。 [0054] In the server, further comprising: upgrading unit 603, using the upgrade file downloaded software upgrade.

[0055] 所述的服务器中,升级单元603使用下载的升级文件替换本地需升级的文件;提供单元602将升级后的全部文件的升级信息列表和升级文件发布到web目录,完成升级。 [0055] In the server, the upgrade unit 603 using the downloaded upgrade file to replace the local file to be upgraded; providing unit 602 of all the files upgraded upgrade information list and update files posted to the web directory, the upgrade is completed.

[0056] 所述的服务器中,所述的升级信息列表包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 [0056] In the server, the update information list file contains the MD5 value, the actual path HASH value path, file size, file version, file, the file on the server.

[0057] 所述的服务器中,所述解析子单元601-3包括: [0057] In the server, the parsing sub-unit 601-3 comprises:

查找子单元601-31,用于根据升级信息列表中文件的实际路径,查找本地对应文件; 对比子单元601-32,用于对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 Searching subunit 601-31, according to the actual path of the file update information list, find the corresponding local file; Comparative subunit 601-32, HASH value with a HASH value corresponding to a local file update information list comparison is the same , different values ​​HASH file information included in the update file list.

[0058] 所述的服务器中,所述的第二下载子单元601-4包括: [0058] In the server, the downloading of the second sub-unit 601-4 comprises:

查找子单元601-41,用于根据升级文件列表中的文件在服务器上的路径,查找升级文 Searching subunit 601-41, upgrade file according to the path for a file list on the server to find the upgrade file

件; Pieces;

下载子单元601-42,用于下载升级文件。 Download subunit 601-42, to download the upgrade file.

[0059] 本发明提供一种软件升级方法,适用于包括本地服务器和局域网内部机器的网络系统,如图7所示,所述方法包括: [0059] The present invention provides a software upgrade method for a network system comprising a server and a local LAN inside the machine, as shown in FIG 7, the method comprising:

5701 :局域网内部机器从本地服务器下载软件升级信息列表及升级文件; 5701: LAN inside the machine upgrade information and a list of files from a local server to download the upgrade software;

5702 :局域网内部机器使用下载的升级文件进行软件升级。 5702: LAN inside the machine to use the downloaded file to upgrade software upgrade.

[0060] 所述的方法中,局域网内部机器从本地服务器下载软件升级信息及升级文件,如图8所示,包括如下步骤: [0060] The method, local area network inside the machine to upgrade the software information from the local server to download and upgrade files, as shown in FIG. 8, comprising the steps of:

S701-1 :局域网内部机器确认已连接本地服务器;S701-2 :下载升级信息列表; S701-1: LAN inside the machine is connected to confirm the local server; S701-2: Download new versions of the list;

S701-3 :解析升级信息列表,创建升级文件列表; S701-3: parsing upgrade information list, create the upgrade file list;

S701-4:下载升级列表中的全部升级文件到局域网内部机器的临时目录。 S701-4: Download upgrade to upgrade all files in the list to a temporary directory within the LAN machines.

[0061] 所述的方法中,局域网内部机器使用下载的升级文件进行软件升级包括: 使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 [0061] The method, using the machine inside the LAN file downloaded upgrade software upgrade comprising: replacing the LAN file inside of the machine to be upgraded to use the downloaded update file to complete the upgrade.

[0062] 所述的方法中,所述的升级信息列表中包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径,文件在本地服务器上的路径。 The method according to [0062], the information contained in the list of MD5 values ​​upgrade file, the HASH value of the actual path the path file size, file version, file, the file on the local server.

[0063] 所述的方法中,所述的步骤S701-3如图9所示,包括: The method [0063] In the step S701-3 9, comprising:

5901 :根据升级信息列表中文件的实际路径,查找局域网内部机器的对应文件; 5901: According to the actual upgrade path information in the file list, find the LAN inside the machine corresponding to the file;

5902 :对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 5902: HASH HASH value with the value corresponding to the local file comparison upgrade information in the list are the same, different values ​​HASH file information included in the update file list.

[0064] 所述的方法中,所述步骤S701-4如图10所示,包括; The method [0064] In the step S701-4 shown in Figure 10, comprising;

Slll :根据升级文件列表中文件在服务器上的路径,查找升级文件; S112:下载升级文件。 Slll: According upgrade path to the file list on the server, find the upgrade file; S112: Download the update file.

[0065] 本发明提供一种服务器,所述服务器为包括本地服务器和局域网内部机器的局域网系统中的局域网内部机器,如图11所示,所述服务器包括: [0065] The present invention provides a server, the server is a local area network system including a local server and a local area network LAN in the interior of the machine inside the machine 11, the server comprising:

下载单元121,用于从本地服务器下载软件升级信息列表及升级文件; 升级单元122,用于使用下载的升级文件进行软件升级。 Download unit 121, and a list of upgrade information for upgrading the software to download a file from the local server; update unit 122, using the upgrade file downloaded software upgrade.

[0066] 所述的服务器中,所述的下载单元121包括: [0066] In the server, the downloading unit 121 includes:

确认子单元121-1,用于确认所述服务器已连接本地服务器; 第一下载子单元121-2,用于下载升级信息列表; 解析子单元121-3,用于解析升级信息列表,创建升级文件列表; 第二下载子单元121-4,用于下载升级文件列表中的全部升级文件到局域网内部机器的临时目录。 Confirmation subunit 121-1, confirm that the server is connected to the local server; download a first sub-unit 121-2 for downloading update information list; 121-3 subunit parsing is configured to parse a list of upgrade information, create upgrade file list; the second download subunit 121-4, for a list of all the upgrade file download upgrade file to a temporary directory within the LAN machines.

[0067] 所述的服务器中,所述升级单元122使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 [0067] In the server, the update unit 122 uses the file downloaded upgrade file to replace the LAN inside the machine to be upgraded, the upgrade is completed.

[0068] 所述的服务器中,所述的升级信息列表包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 [0068] In the server, the update information list file contains the MD5 value, the actual path HASH value path, file size, file version, file, the file on the server.

[0069] 所述的服务器中,所述的解析子单元121-3包括: [0069] In the server, the analysis sub-unit 121-3 comprises:

查找子单元121-31,用于根据升级信息列表中文件的实际路径,查找局域网内部机器对应文件; Searching subunit 121-31, according to the actual path of the file update information list, find the corresponding files LAN inside the machine;

对比子单元121-32,用于对比升级信息列表中的HASH值与局域网内部机器对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 Compare subunit 121-32, HASH value for comparison with a LAN inside the machine upgrade information list corresponding file HASH value are the same, different file HASH value update information included in the file list.

[0070] 所述的服务器中,所述的第二下载子单元包括: [0070] In the server, the downloading of the second sub-unit comprises:

查找子单元122-41,用于根据升级文件列表中的文件在服务器上的路径,查找升级文 Searching subunit 122-41, upgrade file according to the path for a file list on the server to find the upgrade file

件; Pieces;

下载子单元122-42,用于下载升级文件。 Download subunit 122-42, to download the upgrade file.

[0071] 本发明提供一种局域网系统,如图12所示,包括本地服务器131和局域网内部机器132 ;所述本地服务器131用于从官方升级网站下载软件升级信息列表及升级文件,为局域网内部机器132提供软件升级信息列表及升级文件; [0071] The present invention provides a local area network system, shown in Figure 12, including a local server 131 and the LAN 132 inside the machine; the local server 131 for a list of upgrade information and upgrade file from the official website to download software upgrades, as the internal LAN 132 machine provides a list of software upgrade information and upgrade file;

所述局域网内部机器132用于从本地服务器131下载软件升级信息列表及升级文件, 使用下载的升级文件进行软件升级。 The LAN 132 inside the machine for upgrading, and the upgrade information list file from the local server 131 to download software, the upgrade file downloaded software upgrade.

[0072] 所述的系统中,所述的本地服务器131确认已连接官方升级网站;下载升级信息列表;解析升级信息列表,创建升级文件列表;下载升级文件列表中的全部升级文件到本地临时目录。 System [0072] The, the local server 131 to confirm Connected official website upgrade; download new versions of the list; the list of information to resolve the upgrade, the upgrade to create a list of files; all the upgrade file to download the upgrade file list to the local temporary directory .

[0073] 所述的局域网内部机器132确认已连接本地服务器;下载升级信息列表;解析升级信息列表,创建升级文件列表;下载升级文件列表中的全部升级文件到局域网内部机器的临时目录。 [0073] The LAN 132 inside the machine is connected to confirm the local server; download new versions of the list; the list of information to resolve the upgrade, the upgrade to create a list of files; all the upgrade file to download the upgrade file list inside the machine to a LAN temporary directory.

[0074] 所述的系统中,本地服务器131从官方网站下载软件升级信息列表及升级文件后,还包括:使用下载的升级文件进行软件升级; After the [0074] the system, upgrade the local server 131 and the upgrade file list information from the official website to download the software, further comprising: using the upgrade file downloaded software upgrade;

所述的局域网内部机器132从本地服务器下载软件升级信息列表后,还包括:使用下载的升级文件进行软件升级。 The LAN 132 inside the machine from the local server to download software update information list, further comprising: using the upgrade file downloaded software upgrade.

[0075] 所述的系统中,本地服务器131使用下载的升级文件进行软件升级包括:使用下载的升级文件替换本地需升级的文件;将升级后的全部文件的升级信息列表和升级文件发布到web目录,完成升级。 [0075] the system, the local server 131 using the downloaded files for upgrading software upgrade comprising: a replacement file to be upgraded locally using the downloaded update file; all documents after upgrading the upgrade information list and update files to web publishing directory, complete the upgrade.

[0076] 局域网内部机器132使用下载的升级文件进行软件升级包括:使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 [0076] LAN 132 inside the machine using the upgrade file downloaded software upgrade comprising: replacing the LAN file inside of the machine to be upgraded to use the downloaded update file to complete the upgrade.

[0077] 所述的系统中,所述的升级信息列表中包含文件的MD5值,HASH值,文件大小,文件版本,文件的实际路径和文件在服务器上的路径。 The system of [0077], the information contained in the list of MD5 values ​​upgrade file, the HASH value of the size of the file path, file version, and the actual path of the file on the server.

[0078] 所述的系统中,本地服务器131解析升级信息列表,创建升级文件列表包括: 根据升级信息列表中文件的实际路径,查找本地对应文件; The system of [0078], the local server 131 parses update information list, create upgrade file list comprising: the actual path of the file update information list, find the corresponding local file;

对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 HASH HASH value with the value corresponding to the local file comparison upgrade information in the list are the same, different values ​​HASH file information included in the update file list.

[0079] 局域网内部机器132解析升级信息列表,创建升级文件列表包括: 根据升级信息列表中文件的实际路径,查找局域网内部机器对应文件; [0079] LAN 132 inside the machine upgrade information parsed list, create upgrade file list comprising: the actual path of the file update information list, find the corresponding files LAN inside the machine;

对比升级信息列表中的HASH值与局域网内部机器对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 HASH value inside the machine and Comparative LAN upgrade information list corresponding file HASH value are the same, different file HASH value update information included in the file list.

[0080] 所述的系统中,本地服务器131下载升级文件列表中的全部升级文件到本地临时目录包括: [0080] The system, upgrade all files on the local server 131 to download the upgrade file list to the local temporary directory include:

根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载升级文件; According upgrade path to the file list of files on the server, find the upgrade file; download the upgrade file;

局域网内部机器132下载升级文件列表中的全部升级文件到局域网内部机器的临时目录包括: All the upgrade file to download the upgrade file list 132 within the LAN machines to a temporary directory within the LAN machines include:

根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载升级文件。 According upgrade path to the file list of files on the server, find the upgrade file; download the update file.

[0081] 本发明提供了一种软件升级方法、服务器及系统,包括:本地服务器连接官方升级网站,对照本地文件,通过HASH值的判断,获取需要更新的文件,进行升级;把升级信息列表和升级文件发布到本地web目录;局域网内部机器连接本地服务器,对照本机文件,通过HASH值判断,获取需要更新的文件,进行升级。 [0081] The present invention provides a software upgrade method, system and server, comprising: a local server connected to the official website update, control local file HASH value determination by acquiring the file to be updated, upgraded; upgrade information list and Post upgrade file to a local web directory; local server connected to the LAN within the machine, the machine control file HASH value is determined by obtaining the file to be updated, upgraded. 本方案的实施可以缩短局域网内部用户升级时间,提高升级效率,节约网络带宽资源的占用,同时减轻了软件发布者服务器的负担。 Implementation of this program can shorten the time within the LAN users to upgrade, upgrade to improve efficiency and save network bandwidth resources, while reducing the burden on the software publisher server.

[0082] 虽然通过实施例描绘了本发明,本领域普通技术人员知道,本发明有许多变形和变化而不脱离本发明的精神,希望所附的权利要求包括这些变形和变化而不脱离本发明的精神。 [0082] Although the present invention is depicted by way of example, those of ordinary skill in the art know that there are many modifications and variations of the present invention without departing from the spirit of the invention, it intended that the appended claims cover such modifications and variations are possible without departing from the present invention the spirit of.

Claims (33)

  1. 1. 一种软件升级方法,其特征在于,适用于包括本地服务器和局域网内部机器的局域网系统,所述方法包括:本地服务器从官方升级网站下载软件升级信息列表及升级文件; 本地服务器为局域网内部机器提供软件升级信息列表及升级文件。 A software upgrade method, wherein for LAN and LAN system includes a local server inside the machine, the method comprising: a local server upgrade from the official website to download the software upgrade information and upgrade file list; a local server within the LAN machine software upgrades and upgrade information list file.
  2. 2.如权利要求1所述的方法,其特征在于,本地服务器从官方升级网站下载软件升级信息列表及升级文件,包括如下步骤:a.本地服务器确认已连接官方升级网站;b.下载升级信息列表;c.解析升级信息列表,创建升级文件列表;d.下载升级文件列表中的全部升级文件到本地临时目录。 2. The method according to claim 1, wherein the local server upgrade from the official website and download a software upgrade information list update file, comprising the steps of: a local server to confirm Connected official website upgraded; B download upgrade information. list; c parsing upgrade information list, create the upgrade file list;.. d all upgrade file to download the upgrade file list to the local temporary directory.
  3. 3.如权利要求1或2所述的方法,其特征在于,本地服务器从官方升级网站下载软件升级信息列表及升级文件后,还包括:使用下载的升级文件进行软件升级。 After the method according to claim 12, wherein the local server upgrade information and update files from the list of the official website to download software upgrades, further comprising: using the upgrade file downloaded software upgrade.
  4. 4.如权利要求3所述的方法,其特征在于,使用下载的升级文件进行软件升级包括: 使用下载的升级文件替换本地需升级的文件;将升级后全部文件的升级信息列表和升级文件发布到web目录,完成升级。 4. The method according to claim 3, characterized in that a file downloaded upgrade software upgrade comprising: a replacement file to be upgraded locally using the downloaded update file; after upgrade information list of all the files and update the upgrade file publishing to the web directory, complete the upgrade.
  5. 5.如权利要求2所述的方法,其特征在于,所述的升级信息列表中包含文件的MD5值, HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 5. The method according to claim 2, wherein said upgrade information list file contains MD5 value, the HASH value of the actual path the path file size, file version, file, the file on the server.
  6. 6.如权利要求5所述的方法,其特征在于,所述的步骤c包括: cl.根据升级信息列表中文件的实际路径,查找本地对应文件;c2.对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 6. The method according to claim 5, wherein said step c comprises:. Cl actual upgrade path information list file, corresponding to local lookup file; c2 HASH value comparison and the upgrade information list. HASH value corresponding to the local file is the same, different values ​​HASH file information included in the update file list.
  7. 7.如权利要求5所述的方法,其特征在于,所述步骤d包括;dl.根据升级文件列表中的文件在服务器上的路径,查找升级文件; d2.下载升级文件。 7. The method according to claim 5, wherein said step d comprises;. DL upgrade file according to the path list the files on the server to find the upgrade file;. D2 download upgrade file.
  8. 8. 一种服务器,其特征在于,所述服务器为包括本地服务器和局域网内部机器的局域网系统中的本地服务器,所述服务器包括:下载单元,用于从官方升级网站下载软件升级信息列表及升级文件; 提供单元,用于为局域网内部机器提供软件升级信息列表及升级文件。 A server, wherein the server is a local area network system comprising a server and a local LAN inside the machine in the local server, the server comprising: download means configured to update the upgrade information list from the official website and download software upgrades documents; providing unit for providing a list of software upgrades and upgrade information file to a local area network inside the machine.
  9. 9.如权利要求8所述的服务器,其特征在于,所述的下载单元包括: 确认子单元,用于确认所述服务器已连接官方升级网站;第一下载子单元,用于下载升级信息列表;解析子单元,用于解析升级信息列表,创建升级文件列表;第二下载子单元,用于下载升级文件列表中的全部升级文件到本地临时目录。 9. The server according to claim 8, wherein said downloading means comprises: confirmation sub-unit, for confirming that the server is connected to the official website upgraded; download a first sub-unit, for downloading the upgrade information list ; parsing subunit, for parsing upgrade information list, create a list of files to upgrade; download the second sub-unit for the entire upgrade file to download the upgrade file list to the local temporary directory.
  10. 10.如权利要求8或9所述的服务器,其特征在于,还包括:升级单元,用于使用下载的升级文件进行软件升级。 10. The server of claim 8 or claim 9, characterized by further comprising: update means for using the downloaded software update file update.
  11. 11.如权利要求10所述的服务器,其特征在于,升级单元使用下载的升级文件替换本地需升级的文件;提供单元将升级后的全部文件的升级信息列表和升级文件发布到web目录,完成升级。 11. The server according to claim 10, characterized in that the local file need to replace the upgrade unit upgrades using the downloaded update file; all documents published after the upgrade unit upgrades provide information list file to the web directory and upgrading, complete upgrade.
  12. 12.如权利要求9所述的服务器,其特征在于,所述的升级信息列表包含文件的MD5值, HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 12. The server according to claim 9, wherein said upgrade information list file contains the MD5 value, the HASH value of the actual path the path file size, file version, file, the file on the server.
  13. 13.如权利要求12所述的服务器,其特征在于,所述的解析子单元包括:查找子单元,用于根据升级信息列表中文件的实际路径,查找本地对应文件; 对比子单元,用于对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同, 将HASH值不同的文件信息列入升级文件列表。 Comparison sub-unit for; searching subunit, according to the actual path of the file update information list, find the corresponding local files: the server as claimed in claim 12, wherein said subunit comprises parsing HASH HASH value with the value corresponding to the local file comparison upgrade information in the list are the same, different values ​​HASH file information included in the update file list.
  14. 14.如权利要求12所述的服务器,其特征在于,所述的第二下载子单元包括: 查找子单元,用于根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载子单元,用于下载升级文件。 14. The server according to claim 12, characterized in that said second subunit comprises downloading: searching subunit, in accordance with the path for a file upgrade file list on the server to find the upgrade file; download sub unit for downloading the upgrade file.
  15. 15. 一种软件升级方法,其特征在于,适用于包括本地服务器和局域网内部机器的网络系统,所述方法包括:局域网内部机器从本地服务器下载软件升级信息列表及升级文件; 局域网内部机器使用下载的升级文件进行软件升级。 A software upgrade method, characterized in that the local server adapted to include inside the machine and LAN network system, the method comprising: a local machine within the LAN server and download a software upgrade information list from the update file; LAN inside the machine using the download the upgrade files for software upgrades.
  16. 16.如权利要求15所述的方法,其特征在于,局域网内部机器从本地服务器下载软件升级信息及升级文件,包括如下步骤:e.局域网内部机器确认已连接本地服务器;f.下载升级信息列表;g.解析升级信息列表,创建升级文件列表;h.下载升级列表中的全部升级文件到局域网内部机器的临时目录。 16. The method according to claim 15, characterized in that, inside the machine from the local LAN server software upgrade information and downloading the upgrade file, comprising the steps of: e LAN inside the machine to confirm the local server is connected; F download the upgrade information list. ; g resolve upgrade information list, create the upgrade file list; temporary directory h download the upgrade upgrade all files in the list to the LAN inside the machine.
  17. 17.如权利要求15所述的方法,其特征在于,局域网内部机器使用下载的升级文件进行软件升级包括:使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 17. The method according to claim 15, characterized in that, inside the machine using a local area network file downloaded upgrade software upgrade comprising: replacing the LAN file inside of the machine to be upgraded to use the downloaded update file to complete the upgrade.
  18. 18.如权利要求16所述的方法,其特征在于,所述的升级信息列表中包含文件的MD5 值,HASH值,文件大小,文件版本,文件的实际路径,文件在本地服务器上的路径。 18. The method according to claim 16, wherein said upgrade information list file contains MD5 value, the HASH value of the actual path the path file size, file version, file, the file on the local server.
  19. 19.如权利要求18所述的方法,其特征在于,所述的步骤g包括:gl.根据升级信息列表中文件的实际路径,查找局域网内部机器的对应文件; g2.对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 19. The method according to claim 18, wherein said step g comprises:.. Gl actual upgrade path information list file, corresponding to the machine to find within the LAN file; g2 comparison list information in upgrade HASH HASH value with the value corresponding to the local file is the same, different values ​​HASH file information included in the update file list.
  20. 20.如权利要求18所述的方法,其特征在于,所述步骤h包括; hi.根据升级文件列表中文件在服务器上的路径,查找升级文件; h2.下载升级文件。 . H2 download upgrade file; 20. A method as claimed in claim 18, wherein said step h comprises;. The path Hi upgrade file list on the server to find the upgrade file.
  21. 21. 一种服务器,其特征在于,所述服务器为包括本地服务器和局域网内部机器的局域网系统中的局域网内部机器,所述服务器包括:下载单元,用于从本地服务器下载软件升级信息列表及升级文件; 升级单元,用于使用下载的升级文件进行软件升级。 21. A server, wherein the server is a local area network system including a local server and a local area network LAN in the interior of the machine inside the machine, said server comprising: a downloading unit, list information for upgrading from the local server and download software upgrades documents; upgrade unit for use upgrade file downloaded software upgrade.
  22. 22.如权利要求21所述的服务器,其特征在于,所述的下载单元包括: 确认子单元,用于确认所述服务器已连接本地服务器;第一下载子单元,用于下载升级信息列表;解析子单元,用于解析升级信息列表,创建升级文件列表;第二下载子单元,用于下载升级文件列表中的全部升级文件到局域网内部机器的临时目录。 22. The server according to claim 21, wherein said downloading means comprises: confirmation subunit, confirming that the server is connected to the local server; download a first sub-unit, configured to download the upgrade information list; parsing subunit, for parsing upgrade information list, create a list of files to upgrade; download the second sub-unit for the entire upgrade file downloaded upgrade file to a temporary directory list of local area network inside the machine.
  23. 23.如权利要求21所述的服务器,其特征在于,所述的升级单元使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 23. The server according to claim 21, characterized in that, inside the machine for an alternative LAN file update unit uses the upgrade file downloaded upgrade, the upgrade is completed.
  24. 24.如权利要求22所述的服务器,其特征在于,所述的升级信息列表包含文件的MD5 值,HASH值,文件大小,文件版本,文件的实际路径,文件在服务器上的路径。 24. The server according to claim 22, wherein said upgrade information list file contains the MD5 value, the HASH value of the actual path the path file size, file version, file, the file on the server.
  25. 25.如权利要求24所述的服务器,其特征在于,所述的解析子单元包括:查找子单元,用于根据升级信息列表中文件的实际路径,查找局域网内部机器对应文件;对比子单元,用于对比升级信息列表中的HASH值与局域网内部机器对应文件的HASH 值是否相同,将HASH值不同的文件信息列入升级文件列表。 25. The server according to claim 24, wherein said parsing sub-unit comprising: a searching subunit, according to the actual path for the upgrade information list file corresponding to the file to find the local area network inside the machine; comparison sub-unit, HASH value with a HASH value comparison LAN inside the machine upgrade information corresponding to the file list is the same, different file HASH value update information included in the file list.
  26. 26.如权利要求24所述的服务器,其特征在于,所述的第二下载子单元包括: 查找子单元,用于根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载子单元,用于下载升级文件。 26. The server according to claim 24, characterized in that said second subunit comprises downloading: searching subunit, in accordance with the path for a file upgrade file list on the server to find the upgrade file; download sub unit for downloading the upgrade file.
  27. 27. 一种局域网系统,其特征在于,包括本地服务器和局域网内部机器;所述本地服务器用于从官方升级网站下载软件升级信息列表及升级文件,为局域网内部机器提供软件升级信息列表及升级文件;所述局域网内部机器用于从本地服务器下载软件升级信息列表及升级文件,使用下载的升级文件进行软件升级。 27. A local area network system comprising a server and a local LAN inside the machine; the local server to upgrade from the official website and download a software upgrade information list update files, software upgrades for the upgrade file information list and the machine internal LAN ; the internal LAN machine used to upgrade and update the list of information files from a local server to download software, download the upgrade file for software upgrades.
  28. 28.如权利要求27所述的系统,其特征在于,所述的本地服务器确认已连接官方升级网站;下载升级信息列表;解析升级信息列表,创建升级文件列表;下载升级文件列表中的全部升级文件到本地临时目录;所述的局域网内部机器确认已连接本地服务器;下载升级信息列表;解析升级信息列表,创建升级文件列表;下载升级文件列表中的全部升级文件到局域网内部机器的临时目录。 28. The system of claim 27, characterized in that the local server to confirm Connected official website upgrade; download new versions of the list; parsing upgrade information list, create a list of files to upgrade; download the upgrade file list of all upgrade file to a local temporary directory; the internal LAN connection to the local server machine has been confirmed; download new versions of the list; the list of information to resolve the upgrade, the upgrade to create a list of files; all the upgrade file to download the upgrade file list inside the machine to a LAN temporary directory.
  29. 29.如权利要求27或28所述的系统,其特征在于,本地服务器从官方网站下载软件升级信息列表及升级文件后,还包括:使用下载的升级文件进行软件升级;所述的局域网内部机器从本地服务器下载软件升级信息列表后,还包括:使用下载的升级文件进行软件升级。 After 27 or 29. The system according to claim 28, wherein the local server upgrade information and update files from the list of the official website to download software, further comprising: using the upgrade file downloaded software upgrade; the machine within the LAN after the upgrade list information from the local server to download the software, further comprising: using the upgrade file downloaded software upgrade.
  30. 30.如权利要求29所述的系统,其特征在于,本地服务器使用下载的升级文件进行软件升级包括:使用下载的升级文件替换本地需升级的文件;将升级后的全部文件的升级信息列表和升级文件发布到web目录,完成升级;局域网内部机器使用下载的升级文件进行软件升级包括:使用下载的升级文件替换局域网内部机器需升级的文件,完成升级。 Upgrade information and a list of all the files after the upgrade; replacement file to be upgraded locally using the downloaded update file: 30. A system as claimed in claim 29, characterized in that the local server using the downloaded software upgrade includes upgrading file upgrade files published to the web directory, the upgrade is complete; internal LAN machine using the downloaded software upgrade includes upgrading file: replace the file within the LAN machines to be upgraded to use the downloaded upgrade file to complete the upgrade.
  31. 31.如权利要求28所述的系统,其特征在于,所述的升级信息列表中包含文件的MD5 值,HASH值,文件大小,文件版本,文件的实际路径和文件在服务器上的路径。 31. The system according to claim 28, wherein said upgrade information list file contains MD5 value, the HASH value of the size of the file path, file version, and the actual path of the file on the server.
  32. 32.如权利要求31所述的系统,其特征在于,本地服务器解析升级信息列表,创建升级文件列表包括:根据升级信息列表中文件的实际路径,查找本地对应文件;对比升级信息列表中的HASH值与本地对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表;局域网内部机器解析升级信息列表,创建升级文件列表包括: 根据升级信息列表中文件的实际路径,查找局域网内部机器对应文件; 对比升级信息列表中的HASH值与局域网内部机器对应文件的HASH值是否相同,将HASH值不同的文件信息列入升级文件列表。 32. The system according to claim 31, wherein the local server parses update information list, create upgrade file list comprising: the actual path of the file update information list, find the corresponding local file; Comparative upgrade information list HASH HASH value with the corresponding local files are the same, different values ​​HASH file information included in the update file list; internal LAN machines to parse upgrade information list, create a list of files, including upgrades: upgrade path based on the actual information in the file list, find the LAN inside the machine the corresponding file; HASH value HASH value comparison upgrade information list file corresponding to the local area network inside the machine is the same, different file HASH value update information included in the file list.
  33. 33.如权利要求31所述的系统,其特征在于,本地服务器下载升级文件列表中的全部升级文件到本地临时目录包括:根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载升级文件;局域网内部机器下载升级文件列表中的全部升级文件到局域网内部机器的临时目录包括:根据升级文件列表中的文件在服务器上的路径,查找升级文件; 下载升级文件。 33. The system according to claim 31, characterized in that the local server to download the upgrade file list all the upgrade file to a local temporary directory comprising: file list according to the path update files on the server to find the upgrade file; Downloads upgrade file; all files within the LAN upgrade the machine to download the upgrade file list to the temporary directory within the LAN machines include: upgrade path based on the file list of files on the server, find the upgrade file; download the update file.
CN 201010561231 2010-11-26 2010-11-26 Method, server and system for software upgrading 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 true CN102064960A (en) 2011-05-18

Family

ID=44000071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010561231 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 (1)

* 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

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 (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
CN103942058B (en) * 2013-01-17 2018-04-27 深圳市潮流网络技术有限公司 An embedded electronic device software upgrade method and system

Similar Documents

Publication Publication Date Title
US7062765B1 (en) System and method for updating information via a network
US20110246816A1 (en) Configuring a system to collect and aggregate datasets
US7194506B1 (en) Method and system for cache management of locale-sensitive content
US20060075398A1 (en) Controlled deployment of software in a web-based architecture
US20060059481A1 (en) Presenting, delivering and installing electronic downloads with an installed list
Masse REST API Design Rulebook: Designing Consistent RESTful Web Service Interfaces
US20090222811A1 (en) Systems and methods for managing software patches
US20080046449A1 (en) System and method for downloading hypertext markup language formatted web pages
US20120144378A1 (en) Methods for managing software packages using a version control system
US20040268344A1 (en) Centrally managed and distributed applications
US20070143379A1 (en) Metadata driven deployment of applications
US7865544B2 (en) Method and system for providing XML-based asynchronous and interactive feeds for web applications
US20130246560A1 (en) Publish-subscribe platform for cloud file distribution
US20070169079A1 (en) Software update management
US20090055817A1 (en) Software update syndication
CN101924798A (en) Transparent Android component loading method and system based on file types
CN102799445A (en) Application upgrading method based on Android platform and system
CN101848230A (en) Method for pushing application program and application program server
US20110246460A1 (en) Collecting and aggregating datasets for analysis
CN102195804A (en) Automatic updating method of software and system thereof
CN1987851A (en) Updating display method for webpage data
US8775577B1 (en) System and method for configuration management service
CN102141922A (en) Micro kernel pluggable program application system and implementation method thereof
US20100146483A1 (en) Dynamic software documentation
US20120180073A1 (en) Mobile Device Application Framework

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C02 Deemed withdrawal of patent application after publication (patent law 2001)