CN101478446A - Network appliance version loading method, apparatus and system - Google Patents

Network appliance version loading method, apparatus and system Download PDF

Info

Publication number
CN101478446A
CN101478446A CNA2008102421616A CN200810242161A CN101478446A CN 101478446 A CN101478446 A CN 101478446A CN A2008102421616 A CNA2008102421616 A CN A2008102421616A CN 200810242161 A CN200810242161 A CN 200810242161A CN 101478446 A CN101478446 A CN 101478446A
Authority
CN
China
Prior art keywords
version
download
file
equipment
reflection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008102421616A
Other languages
Chinese (zh)
Other versions
CN101478446B (en
Inventor
徐欢
殷悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008102421616A priority Critical patent/CN101478446B/en
Publication of CN101478446A publication Critical patent/CN101478446A/en
Application granted granted Critical
Publication of CN101478446B publication Critical patent/CN101478446B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a network equipment version loading method, and a device and a system thereof, belonging to the field of network communications. The method comprises the following steps: receiving an upgrade message sent from a version server; acquiring download images of local equipment and neighboring equipment; and selecting the neighboring equipment from an upgrade equipment list according to the download images, and acquiring the file segments which are not downloaded from the selected neighboring equipment. In the technical scheme provided by the embodiment of the invention, the network equipment can download the file segments from the neighboring equipment, so as to reduce traffic load of the version server, and solve the traffic bottleneck problem of the version server in the case of batch version loading or version upgrade in the prior art.

Description

Network appliance version loading method, device and system
Technical field
The present invention relates to network communication field, relate in particular to a kind of network appliance version loading method, device and system.
Background technology
By the large data communication network of router, switch establishment, its network node spreads all over the whole country scope even crosses over range of countries at present, and tens of at least, up to a hundred at most, even exceed thousand.The network equipment is loading the version file that is positioned on the equipment master control integrated circuit board memory cell after the startup, and by the processing of version software realization to network data, agreement.And these version files load and upgrading, be by FTP (File Transfer Protocol in traditional mode, file transfer protocol (FTP)), the mode of TFTP (TrivialFile Transfer Protocol, TFTP) or serial communication is uploaded to the network equipment.These operations are finished by platform successively by one or some application software that is installed on PC (Personal Computer, personal computer) or the NM server.
The attendant places the computer terminal with target version, links to each other with the network equipment by IP (Internet Protocol, Internet protocol) network or Serial Port Line, and the main communication modes of selection comprises: FTP, TFTP or serial data communication.After version is loaded into the device storage district, carry out the edition upgrading operation by related command.At many network equipments, by above steps in sequence operation.Under the increasing trend of the network equipment, the attendant need carry out the independent loads upgrading to every equipment, expends bigger human and material resources and time.Though existing maintenance software can be accomplished load application version and edition upgrading in batches, but along with the scale of version file is huge day by day, may reach tens of version files of million, up to a hundred million for one, if all from version server download and upgrade file, the bottleneck on the flow bandwidth can appear to whole network equipment in the version server end.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of network appliance version loading method, device and system, solves the flow bottleneck problem that the version server end can occur in batch load application version and the edition upgrading.
The purpose of the embodiment of the invention is achieved through the following technical solutions:
A kind of network appliance version loading method comprises:
Receive the upgrade information that version server sends, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file;
The download reflection of this equipment of obtaining and neighbor device, described download reflection comprises the download progress set of described each file fragmentation of version file;
According to described download reflection, from described updating apparatus tabulation, select neighbor device and obtain not downloaded files burst of this equipment from the neighbor device of described selection.
A kind of network appliance version charger comprises:
Receiver module is used to receive the upgrade information that version server sends, and described upgrade information comprises updating apparatus tabulation and version file burst descriptor;
Download the reflection acquisition module, be used to obtain the download reflection of this equipment and neighbor device, described download reflection comprises the download progress set of described each file fragmentation of version file;
Download module is used for according to described download reflection, selects neighbor device and obtain not downloaded files burst of this equipment from the neighbor device of described selection from described updating apparatus tabulation.
A kind of version server comprises:
Download the reflection acquisition module, be used to generate the updating apparatus tabulation, and version file is divided into file fragmentation;
First sending module is used to send described updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises each burst start-stop position of described file fragmentation.
A kind of network appliance version loading system comprises:
The tabulation generation module is used to generate the updating apparatus tabulation;
The file fragmentation module is used for version file is divided into file fragmentation;
First sending module is used to send described updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises described file fragmentation start-stop position.
A kind of network appliance version loading system comprises version server and network appliance version charger; Wherein,
Described version server, be used for sending upgrade information and transfer files burst to described network appliance version charger, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file;
Described network appliance version charger, be used to receive the described upgrade information that described version server sends, and the download of this equipment of obtaining and neighbor device reflection, described download reflection comprises the download progress set of described each file fragmentation of version file, and is used for selecting neighbor device and obtaining not downloaded files burst of this equipment from the neighbor device of described selection from described updating apparatus tabulation.
The technical scheme that adopts the embodiment of the invention to provide, because the network equipment can be from neighbor device file in download burst, reduce the flow burden of version server end, solved in the prior art scheme flow bottleneck problem that the version server end can occur in the load application version and edition upgrading in batches.
Description of drawings
Fig. 1 is a network appliance version loading method flow chart in the one embodiment of the invention;
Fig. 2 is a network appliance version charger block diagram in the one embodiment of the invention;
Fig. 3 is a version server block diagram in the one embodiment of the invention;
Fig. 4 is a network appliance version loading system block diagram in the one embodiment of the invention;
Fig. 5 is a network appliance version loading method flow chart in the another embodiment of the present invention;
Fig. 6 is a version server block diagram in the another embodiment of the present invention;
Fig. 7 is network appliance version loading method flow chart among another embodiment of the present invention;
Fig. 8 is version server block diagram among another embodiment of the present invention;
Fig. 9 is a network appliance version loading method flow chart in the another embodiment of the present invention;
Figure 10 is network appliance version loading method flow chart among another embodiment of the present invention;
Figure 11 is network appliance version charger block diagram among another embodiment of the present invention;
Figure 12 is version server block diagram among another embodiment of the present invention;
Figure 13 is a network appliance version loading method flow chart in the another embodiment of the present invention;
Figure 14 is a version server block diagram in the another embodiment of the present invention.
Embodiment
To Fig. 4 one embodiment of the invention is described below in conjunction with Fig. 1:
Fig. 1 is a network appliance version loading method flow chart in the one embodiment of the invention.This method comprises:
11, send register requirement to version server.Described register requirement comprises address information, current version information and authentication information.
12, receive the upgrade information that version server sends.Upgrade information comprises updating apparatus tabulation and version file burst descriptor.The updating apparatus tabulation generates according to register requirement and upgrading rule, the upgrading rule is determined by version server, the equipment that for example current version information is lower than certain indicated release adds the updating apparatus tabulation, or the equipment of address information in a certain specified scope added the updating apparatus tabulation, or the equipment that will satisfy above-mentioned two conditions simultaneously adds the updating apparatus tabulation.The updating apparatus tabulation comprises the address information and the current version information of all updating apparatus.Version server is divided into file fragmentation with version file, and version file burst descriptor comprises the start-stop position of each file fragmentation.
13, generate the download reflection.Downloading reflection generates according to version file burst descriptor and download progress.Download reflection and be the set of each file fragmentation download progress, for example if represent with percentage, when only having downloaded certain file fragmentation, it is that the value of this document burst correspondence of having downloaded is 100% that download is videoed, and the value of remaining paper burst correspondence is 0%.Downloading the variation of videoing according to download progress changes.
14, obtain the download reflection from neighbor device.In updating apparatus tabulation, search neighbor device, obtain the download reflection that described neighbor device generates respectively according to described version file descriptor and download progress thereof, thereby obtain the download progress of neighbor device from neighbor device.
15, whether the not burst of file in download of this equipment is arranged on the neighbor device.Whether according to the download reflection that exchange obtains, can judge has not downloaded files burst of this equipment on the neighbor device, if not downloaded files burst of this equipment is arranged on the neighbor device, carries out 16; If there is not downloaded files burst of this equipment on the neighbor device, carry out 17.
16, obtain not downloaded files burst of this equipment from neighbor device.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
17, when all not having this equipment on all neighbor devices not during the downloaded files burst, obtain not downloaded files burst of this equipment from version server.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
Equipment in the updating apparatus tabulation backs up existing version before can being chosen in the load application version file, and redaction loads when getting nowhere, and reloads backup version.
Fig. 2 is a network appliance version charger block diagram in the one embodiment of the invention.This device comprises:
Sending module 111 is used for sending register requirement to version server, and register requirement comprises address information, current version information and authentication information.
Receiver module 112, be used to receive the upgrade information that version server sends, upgrade information comprises updating apparatus tabulation and version file burst descriptor, updating apparatus tabulation generates according to register requirement and upgrading rule, and version file burst descriptor comprises the start-stop position of each file fragmentation that version server is divided into version file.
Download reflection acquisition module 113, be used to obtain the download reflection of this equipment and neighbor device, comprise according to download progress generating the download reflection, and in the updating apparatus tabulation, search neighbor device, obtain from neighbor device and download reflection.
Download module 114 is used for selecting neighbor device and obtaining not downloaded files burst of this equipment from the neighbor device of selecting from described updating apparatus tabulation according to downloading reflection.Or when according to downloading reflection, determine all not have on all described each neighbor devices this equipment not during the downloaded files burst, obtain not downloaded files burst of this equipment from version server.
Fig. 3 is a version server block diagram in the one embodiment of the invention.This version server comprises:
Registering modules 121, be used to receive the register requirement that comprises address information, current version information and authentication information that the network equipment sends, and according to register requirement registered network equipment, for guaranteeing fail safe, Registering modules 121 authenticates the network equipment according to authentication information, if authentication is passed through, then write down the register requirement of this network equipment.
Tabulation generation module 122 is used for generating the updating apparatus tabulation according to described register requirement and upgrading rule;
File fragmentation module 123 is used for version file is divided into file fragmentation;
First sending module 124 is used to send updating apparatus tabulation and version file burst descriptor, and version file burst descriptor comprises the start-stop position of each file fragmentation.
Transport module 125 is used to transmit described file fragmentation.
Fig. 4 is a network appliance version loading system block diagram in the one embodiment of the invention.This system comprises version server 1 and network appliance version charger 2; Wherein,
Version server 1, be used to receive the register requirement that network appliance version charger 2 sends, and the network appliance version charger is authenticated according to described register requirement, after authentication is passed through, write down the information of the described network equipment, and generate described updating apparatus tabulation according to the information and the upgrading rule of the network equipment of described record, and to described network appliance version charger 2 transmission upgrade information and transfer files bursts, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file.
Network appliance version charger 2, be used to send register requirement, and receive the described upgrade information that described version server 1 sends, and the download of this equipment of obtaining and neighbor device reflection, described download reflection comprises the download progress set of described each file fragmentation of version file, and is used for selecting neighbor device and obtaining not downloaded files burst of this equipment from the neighbor device of described selection from described updating apparatus tabulation.
Below in conjunction with Fig. 5 and Fig. 6 another embodiment of the present invention is described:
Fig. 5 is a network appliance version loading method flow chart in the another embodiment of the present invention.This method comprises:
21, send register requirement to version server.
22, receive the upgrade information that version server sends.
23, send download progress to version server.
24, receive the download reflection.The download reflection that the download progress that the reception version server reports according to each equipment in version file burst descriptor and the updating apparatus tabulation generates, described download progress comprises the download progress of all devices in the updating apparatus tabulation.Download the set of reflection for each file fragmentation download progress of the all-network equipment in the updating apparatus tabulation, for example if represent with percentage, when only having certain network equipment to download certain file fragmentation, downloading the value of videoing to the intact this document burst correspondence of the download of this network equipment is 100%, and the value of the remaining paper burst of this network equipment and the file fragmentation correspondence of all the other network equipments is 0%.Downloading the variation of videoing according to download progress changes.
25, whether not downloaded files burst of this equipment is arranged on the neighbor device.Whether according to the download reflection that receives, can judge has not downloaded files burst of this equipment on the neighbor device, if not downloaded files burst of this equipment is arranged on the neighbor device, carries out 26; If do not have not downloaded files burst on the neighbor device, carry out 27.
26, obtain not downloaded files burst of this equipment from neighbor device.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
27, when all not having described equipment on all described neighbor devices not during the downloaded files burst, obtain not downloaded files burst of this equipment from version server.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
Network appliance version charger in the another embodiment of the present invention below is described.This device comprises: sending module, receiver module, download reflection acquisition module and download module.In the network appliance version charger of another embodiment of the present invention, each part and network appliance version charger embodiment illustrated in fig. 2 are basic identical, function is also basic identical, difference is, download the download reflection that the reflection acquisition module is used to obtain this equipment and neighbor device, comprise receiving the download reflection that download progress that described version server reports according to each equipment in described version file burst descriptor and the tabulation of described updating apparatus generates, described download progress comprises the download progress of all devices in the described updating apparatus tabulation.
Fig. 6 is a version server block diagram in the another embodiment of the present invention.This version server comprises Registering modules 221, tabulation generation module 222, file fragmentation module 223, first sending module 224, image module 225 and transport module 226.
In the version server of the embodiment of the invention shown in Figure 6, each part is identical with version server embodiment illustrated in fig. 2, function is also identical, difference is, increased image module 225, image module 225 is used for receiving the download progress of the updating apparatus tabulation network equipment, and generates according to version file burst descriptor and download progress and to download reflection, and is used for sending and downloads reflection.
Network appliance version loading system in the another embodiment of the present invention below is described.This system comprises version server and network appliance version charger.In the network appliance version loading system of another embodiment of the present invention, each part and network appliance version loading system embodiment illustrated in fig. 2 are basic identical, function is also basic identical, difference is, version server is used to receive the register requirement that the network appliance version charger sends, and the network appliance version charger is authenticated according to described register requirement, after authentication is passed through, write down the information of the described network equipment, and generate described updating apparatus tabulation according to the information and the upgrading rule of the network equipment of described record, and to network appliance version charger transmission upgrade information and transfer files burst, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file, and be used for receiving the download progress of described each network equipment of updating apparatus tabulation, and according to described version file burst descriptor and described download progress generation download reflection, and be used for sending described download reflection to described each network equipment.
Below in conjunction with Fig. 7 and Fig. 8 another embodiment of the present invention is described:
Fig. 7 is network appliance version loading method flow chart among another embodiment of the present invention.This method comprises:
31, send register requirement to version server.
32, receive the upgrade information that version server sends.
33, receive the file fragmentation that version server sends.The file fragmentation that described file fragmentation and neighbor device receive is different, and the file fragmentation that receives with all neighbor devices is can reconstruct complete goes out version file.
34, generate the download reflection.Downloading reflection generates according to version file burst descriptor and download progress.Download reflection and be the set of each file fragmentation download progress, for example if represent with percentage, when only having downloaded certain file fragmentation, it is that the value of this document burst correspondence of having downloaded is 100% that download is videoed, and the value of remaining paper burst correspondence is 0%.Downloading the variation of videoing according to download progress changes.
35, obtain the download reflection from neighbor device.In updating apparatus tabulation, search neighbor device, obtain the download reflection that described neighbor device generates respectively according to described version file descriptor and download progress thereof, thereby obtain the download progress of neighbor device from neighbor device.
36, whether not downloaded files burst of this equipment is arranged on the neighbor device.Whether according to the download reflection that exchange obtains, can judge has not downloaded files burst of this equipment on the neighbor device, if not downloaded files burst of this equipment is arranged on the neighbor device, carries out 37; If there is not downloaded files burst of this equipment on the neighbor device, carry out 38.
37, obtain not downloaded files burst of this equipment from neighbor device.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
38, when all not having described equipment on all described neighbor devices not during the downloaded files burst, obtain not downloaded files burst of this equipment from version server.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
Equipment in the updating apparatus tabulation backs up existing version before can being chosen in the load application version file, and redaction loads when getting nowhere, and reloads backup version.
When the file fragmentation that 33 described reception version servers send, may be because network condition or equipment fault cause certain file fragmentation correctly not received, have this document burst may occur all not having the not situation of downloaded files burst of described equipment on 38 described all neighbor devices this moment, need obtain this document burst to version server.
Network appliance version charger among another embodiment of the present invention below is described.This device comprises: sending module, receiver module, download reflection acquisition module and download module.In the network appliance version charger of another embodiment of the present invention, each part and network appliance version charger embodiment illustrated in fig. 2 are basic identical, function is also basic identical, difference is, download module is used for selecting neighbor device and obtaining not downloaded files burst of this equipment from the neighbor device of selecting from described updating apparatus tabulation according to downloading reflection.Or when according to downloading reflection, determine all not have on all described each neighbor devices this equipment not during the downloaded files burst, obtain not downloaded files burst of this equipment from version server.Also be used to receive the file fragmentation that version server sends, described file fragmentation is different with the file fragmentation that neighbor device receives, and the complete version file that reconstructs of file fragmentation energy that receives with all neighbor devices.
Fig. 8 is version server block diagram among another embodiment of the present invention.This version server comprises: Registering modules 321, tabulation generation module 322, file fragmentation module 323, first sending module 324, second sending module 325 and transport module 326.Wherein:
Registering modules 321, be used to receive the register requirement that comprises address information, current version information and authentication information that the network equipment sends, and according to register requirement registered network equipment, for guaranteeing fail safe, Registering modules 321 authenticates the network equipment according to authentication information, if authentication is passed through, then write down the register requirement of this network equipment.
Tabulation generation module 322 is used for generating the updating apparatus tabulation according to described register requirement and upgrading rule.
File fragmentation module 323 is used for version file is divided into file fragmentation.
First sending module 324 is used to send updating apparatus tabulation and version file burst descriptor, and version file burst descriptor comprises the start-stop position of each file fragmentation.
Second sending module 325 is used for sending different described file fragmentations respectively to the described network equipment, and the described file fragmentation that all described network equipments receive can the complete version file that reconstructs.
Transport module 326 is used to transmit described file fragmentation.
Network appliance version loading system among another embodiment of the present invention below is described.This system comprises: version server and network appliance version charger.In the network appliance version loading system of another embodiment of the present invention, each part and network appliance version loading system embodiment illustrated in fig. 4 are basic identical, function is also basic identical, difference is, version server is used to receive the register requirement that the network appliance version charger sends, and the network appliance version charger is authenticated according to described register requirement, after authentication is passed through, write down the information of the described network equipment, and generate described updating apparatus tabulation according to the information and the upgrading rule of the network equipment of described record, and to described network appliance version charger transmission upgrade information and transfer files burst, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file, and be used for sending different file fragmentations respectively to the network equipment, the file fragmentation that all-network equipment receives can the complete version file that reconstructs.
Below in conjunction with Fig. 9 another embodiment of the present invention is described:
Fig. 9 is a network appliance version loading method flow chart in the another embodiment of the present invention.This method comprises:
41, send register requirement to version server.
42, receive the upgrade information that version server sends.
43, receive the file fragmentation that version server sends.The file fragmentation that described file fragmentation and neighbor device receive is different, and the file fragmentation that receives with all neighbor devices can the complete version file that reconstructs.
44, send download progress to version server.
45, receive the download reflection.The download reflection that the download progress that the reception version server reports according to each equipment in version file burst descriptor and the updating apparatus tabulation generates, described download progress comprises the download progress of all devices in the updating apparatus tabulation.Download the set of reflection for each file fragmentation download progress of the all-network equipment in the updating apparatus tabulation, for example if represent with percentage, when only having certain network equipment to download certain file fragmentation, downloading the value of videoing to the intact this document burst correspondence of the download of this network equipment is 100%, and the value of the remaining paper burst of this network equipment and the file fragmentation correspondence of all the other network equipments is 0%.Downloading the variation of videoing according to download progress changes.
46, whether not downloaded files burst of this equipment is arranged on the neighbor device.Whether according to the download reflection that receives, can judge has not downloaded files burst of this equipment on the neighbor device, if not downloaded files burst of this equipment is arranged on the neighbor device, carries out 47; If there is not the not burst of file in download of this equipment on the neighbor device, carry out 48.
47, obtain not downloaded files burst of this equipment from neighbor device.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
48, when all not having described equipment on all described neighbor devices not during the downloaded files burst, obtain not downloaded files burst of this equipment from version server.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
Equipment in the updating apparatus tabulation backs up existing version before can being chosen in the load application version file, and redaction loads when getting nowhere, and reloads backup version.
When the file fragmentation that 43 described reception version servers send, may be because network condition or equipment fault cause certain file fragmentation correctly not received, have this document burst may occur all not having the not situation of downloaded files burst of described equipment on 48 described all described neighbor devices this moment, need obtain this document burst to version server.
Network appliance version charger in the another embodiment of the present invention below is described.This device comprises: sending module, receiver module, download reflection acquisition module and download module.In the network appliance version charger of another embodiment of the present invention, each part and network appliance version charger embodiment illustrated in fig. 5 are basic identical, function is also basic identical, difference is, download module is used for selecting neighbor device and obtaining not downloaded files burst of this equipment from the neighbor device of selecting from described updating apparatus tabulation according to downloading reflection.Or when according to downloading reflection, determine all not have on all described each neighbor devices this equipment not during the downloaded files burst, obtain not downloaded files burst of this equipment from version server.Also be used to receive the file fragmentation that version server sends, described file fragmentation is different with the file fragmentation that neighbor device receives, and the complete version file that reconstructs of file fragmentation energy that receives with all neighbor devices.
Version server in the another embodiment of the present invention below is described.This version server comprises: Registering modules, tabulation generation module, file fragmentation module, first sending module, image module, second sending module and transport module.In the version server of another embodiment of the present invention, each part and version server embodiment illustrated in fig. 6 are basic identical, function is also basic identical, difference is, increased by second sending module, be used to send updating apparatus tabulation and version file burst descriptor, and be used for sending different file fragmentations respectively to the network equipment, the file fragmentation that all-network equipment receives can the complete version file that reconstructs.
Network appliance version loading system in the another embodiment of the present invention below is described.This system comprises: version server and network appliance version charger.In the network appliance version loading system of another embodiment of the present invention, each part and network appliance version loading system embodiment illustrated in fig. 4 are basic identical, function is also basic identical, difference is, version server, be used to receive the register requirement that the network appliance version charger sends, and the network appliance version charger is authenticated according to described register requirement, after authentication is passed through, write down the information of the described network equipment, and generate described updating apparatus tabulation according to the information and the upgrading rule of the network equipment of described record, and to network appliance version charger transmission upgrade information and transfer files burst, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file, and be used for receiving the download progress of described each network equipment of updating apparatus tabulation, and according to described version file burst descriptor and described download progress generation download reflection, and be used for sending described download reflection to described each network equipment, and be used for sending different file fragmentations respectively to the network equipment, the file fragmentation that all-network equipment receives can the complete version file that reconstructs.
Below in conjunction with Figure 10 another embodiment of the present invention is described:
Figure 10 is network appliance version loading method flow chart among another embodiment of the present invention.This method comprises:
51, receive the upgrade information that version server sends.Upgrade information comprises updating apparatus tabulation and version file burst descriptor.The updating apparatus tabulation can be webmaster personnel artificial appointments on version server, also can be that version server is selected in known network device according to the upgrading rule.Version server is divided into file fragmentation with version file, and version file burst descriptor comprises the start-stop position of each file fragmentation.
52, generate the download reflection.
53, obtain the download reflection from neighbor device.In updating apparatus tabulation, search neighbor device, obtain the download reflection that described neighbor device generates respectively according to described version file descriptor and download progress thereof, thereby obtain the download progress of neighbor device from neighbor device.
54, whether not downloaded files burst of this equipment is arranged on the neighbor device.Whether according to the download reflection that exchange obtains, can judge has not downloaded files burst of this equipment on the neighbor device, if not downloaded files burst of this equipment is arranged on the neighbor device, carries out 55; If there is not downloaded files burst of this equipment on the neighbor device, carry out 56.
55, obtain not downloaded files burst of this equipment from neighbor device.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
56, when all not having this equipment on all neighbor devices not during the burst of file in download, obtain not downloaded files burst of this equipment from version server.For guaranteeing correctness, can after finishing, each file fragmentation download do data check to file fragmentation, again the file fragmentation of data download check errors.
Equipment in the updating apparatus tabulation backs up existing version before can being chosen in the load application version file, and redaction loads when getting nowhere, and reloads backup version.
Figure 11 is network appliance version charger block diagram among another embodiment of the present invention.This device comprises:
Receiver module 311 is used to receive the upgrade information that version server sends, and upgrade information comprises updating apparatus tabulation and version file burst descriptor.
Download reflection acquisition module 312, be used to obtain the download reflection of this equipment and neighbor device, comprise according to download progress generating the download reflection, and in the updating apparatus tabulation, search neighbor device, obtain from neighbor device and download reflection.
Download module 313, be used for according to described download reflection, from described updating apparatus tabulation, select neighbor device and obtain not downloaded files burst of this equipment from the neighbor device of selecting, or when videoing according to described download, determine all not have on all described each neighbor devices described equipment not during the downloaded files burst, obtain not downloaded files burst of described equipment from described version server.
In the network appliance version charger of the embodiment of the invention shown in Figure 11, each part and network appliance version charger embodiment illustrated in fig. 2 are basic identical, and function is also basic identical, and difference is, has reduced sending module.
Figure 12 is version server block diagram among another embodiment of the present invention.This version server comprises:
Tabulation generation module 321 is used for generating the updating apparatus tabulation according to described register requirement and upgrading rule;
File fragmentation module 322 is used for version file is divided into file fragmentation;
First sending module 323 is used to send described updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises each burst start-stop position of described file fragmentation.
Transport module 324 is used to transmit described file fragmentation.
In the version server of the embodiment of the invention shown in Figure 12, each part and version server embodiment illustrated in fig. 3 are basic identical, and function is also basic identical, and difference is, has reduced Registering modules.
Network appliance version loading system among another embodiment of the present invention below is described.This system comprises version server and network appliance version charger; Wherein,
Version server, be used for sending upgrade information and transfer files burst to the network appliance version charger, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file.
The network appliance version charger, be used to receive the described upgrade information that version server sends, and the download of this equipment of obtaining and neighbor device reflection, described download reflection comprises the download progress set of described each file fragmentation of version file, and is used for selecting neighbor device and obtaining not downloaded files burst of this equipment from the neighbor device of described selection from described updating apparatus tabulation.
Another embodiment of the present invention has reduced step or the module relevant with registration at Fig. 1 to basis embodiment illustrated in fig. 4, the method for selecting in known network device according to the upgrading rule by artificial appointment or version server generates the updating apparatus tabulation., network topology less in network configuration is simple or under the less concrete application scenarios of network security requirement, Fig. 1 can reduce step or the module relevant with registration by identical method to the embodiment of the invention shown in Figure 9, and does not influence the flow bottleneck problem of batch load application version and edition upgrading in the solution prior art scheme.
Figure 13 is a network appliance version loading method flow chart in the another embodiment of the present invention.This method comprises:
61, send register requirement to version server.
62, receive the upgrade information that version server sends.
63, receive the file fragmentation that version server sends.The file fragmentation that described file fragmentation and neighbor device receive is different, and the file fragmentation that receives with all neighbor devices can the complete version file that reconstructs.
64, generate the download reflection.Downloading reflection generates according to version file burst descriptor and download progress.Download reflection and be the set of each file fragmentation download progress, for example if represent with percentage, when only having downloaded certain file fragmentation, it is that the value of this document burst correspondence of having downloaded is 100% that download is videoed, and the value of remaining paper burst correspondence is 0%.Downloading the variation of videoing according to download progress changes.
65, obtain the download reflection from neighbor device.In updating apparatus tabulation, search neighbor device, obtain the download reflection that described neighbor device generates respectively according to described version file descriptor and download progress thereof, thereby obtain the download progress of neighbor device from neighbor device.
Equipment in the updating apparatus tabulation backs up existing version before can being chosen in the load application version file, and redaction loads when getting nowhere, and reloads backup version.
Network appliance version charger in the another embodiment of the present invention below is described.This device comprises: sending module, receiver module, download reflection acquisition module and download module.In the network appliance version charger of another embodiment of the present invention, each part and Fig. 7 and network appliance version charger embodiment illustrated in fig. 8 are basic identical, function is also basic identical, difference is, download module is used for selecting neighbor device and obtaining not downloaded files burst of this equipment from the neighbor device of selecting from described updating apparatus tabulation according to downloading reflection.Also be used to receive the file fragmentation that version server sends, described file fragmentation is different with the file fragmentation that neighbor device receives, and the complete version file that reconstructs of file fragmentation energy that receives with all neighbor devices.
Figure 14 is a version server block diagram in the another embodiment of the present invention.This version server comprises: Registering modules 621, tabulation generation module 622, file fragmentation module 623, first sending module 624, sending module 625.In the version server of another embodiment of the present invention, each part and version server embodiment illustrated in fig. 8 are basic identical, and function is also basic identical, and difference is, has reduced transport module.
Network appliance version loading system in the another embodiment of the present invention below is described.This system comprises: version server and network appliance version charger.In the network appliance version loading system of another embodiment of the present invention, each part and Fig. 7 and network appliance version loading system embodiment illustrated in fig. 8 are basic identical, function is also basic identical, difference is, version server is used for sending upgrade information and transfer files burst to described network appliance version charger, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file, and be used for sending different file fragmentations respectively to the network equipment, the file fragmentation that all-network equipment receives can the complete version file that reconstructs.
Another embodiment of the present invention has reduced on Fig. 7 and basis embodiment illustrated in fig. 8 in the network appliance version loading method when all not having described equipment on all described neighbor devices not during the downloaded files burst, obtain the not step of downloaded files burst of this equipment from version server, and reduced the transport module in the version server.Under the good concrete application scenarios of network performance, when receiving the file fragmentation of version server transmission, because the file fragmentation that the file fragmentation that receives and all neighbor devices receive can reconstruct a complete version file, and network performance is good, can guarantee the correctness of file fragmentation, so this equipment not downloaded files burst necessarily exists in neighbor device, can not occur all not having the not situation of downloaded files burst of described equipment on all described neighbor devices.Equally, good at network performance, can guarantee in the concrete application scenarios of correctness of file fragmentation, the embodiment of the invention shown in Figure 9 also can reduce step or the module relevant with transmission by identical method, and does not influence the flow bottleneck problem of batch load application version and edition upgrading in the solution prior art scheme.
The technical scheme that adopts the embodiment of the invention to provide because the network equipment can reduce the flow burden of version server end from neighbor device file in download burst, has solved in the prior art scheme flow bottleneck problem of load application version and edition upgrading in batches.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, described storage medium can be ROM/RAM, disk or CD etc.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (24)

1, a kind of network appliance version loading method is characterized in that, comprising:
Receive the upgrade information that version server sends, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file;
The download reflection of this equipment of obtaining and neighbor device, described download reflection comprises the download progress set of described each file fragmentation of version file;
According to described download reflection, from described updating apparatus tabulation, select neighbor device and obtain not downloaded files burst of this equipment from the neighbor device of described selection.
2, method according to claim 1 is characterized in that, also comprises before the upgrade information that described reception version server sends: send register requirement to version server, described register requirement comprises address information, current version information and authentication information.
3, method according to claim 2 is characterized in that, described updating apparatus tabulation is generated according to described register requirement and upgrading rule by described version server.
4, method according to claim 3 is characterized in that, described upgrading rule comprises:
The address information and the described current version information that current version information are lower than the equipment of indicated release add the updating apparatus tabulation; And/or
With address information in specified scope described address information and current version information equipment add the updating apparatus tabulation.
5, according to arbitrary described method among the claim 1-4, it is characterized in that, also comprise, when videoing according to described download, determine all not have on described each neighbor device described equipment not during the downloaded files burst, obtain not downloaded files burst of described equipment from described version server.
6, according to arbitrary described method among the claim 1-4, it is characterized in that, after the upgrade information that the described version server of described reception sends, also comprise and receive the file fragmentation that described version server sends, the file fragmentation that described file fragmentation and neighbor device receive is different, and can completely reconstruct described version file with file fragmentation that described each neighbor device receives.
According to arbitrary described method among the claim 1-4, it is characterized in that 7, the described download reflection that obtains each neighbor device in this equipment and the tabulation of described updating apparatus comprises:
Generate this device downloads reflection according to described version file burst descriptor and this device downloads progress;
Obtain the download reflection that described neighbor device generates respectively according to described version file descriptor and download progress thereof from neighbor device.
According to arbitrary described method among the claim 1-4, it is characterized in that 8, the described download reflection that obtains each neighbor device in this equipment and the tabulation of described updating apparatus comprises:
Receive the download reflection that download progress that described version server reports according to each equipment in the tabulation of described version file burst descriptor and described updating apparatus generates, described download progress comprises the download progress of all devices in the described updating apparatus tabulation.
9, according to arbitrary described method among the claim 1-4, it is characterized in that, also be included in each file fragmentation download finish after, described file fragmentation is done data check, again the file fragmentation of data download check errors.
10, according to the described method of claim 1-4, it is characterized in that, before the load application version file, the backup existing version, redaction loads when getting nowhere, and reloads the version of described backup.
11, a kind of network appliance version charger is characterized in that, comprising:
Receiver module is used to receive the upgrade information that version server sends, and described upgrade information comprises updating apparatus tabulation and version file burst descriptor;
Download the reflection acquisition module, be used to obtain the download reflection of this equipment and neighbor device, described download reflection comprises the download progress set of described each file fragmentation of version file;
Download module is used for according to described download reflection, selects neighbor device and obtain not downloaded files burst of this equipment from the neighbor device of described selection from described updating apparatus tabulation.
12, device according to claim 11, it is characterized in that, described download reflection acquisition module is used to obtain the download reflection of this equipment and neighbor device, comprise being used for generating this device downloads reflection, and obtain the download reflection that described neighbor device generates respectively according to described version file descriptor and download progress thereof from neighbor device according to described version file burst descriptor and this device downloads progress.
13, device according to claim 11, it is characterized in that, described download reflection acquisition module is used to obtain the download reflection of this equipment and neighbor device, comprise being used for receiving the download reflection that download progress that described version server reports according to described version file burst descriptor and each equipment of described updating apparatus tabulation generates, described download progress comprises the download progress of all devices in the described updating apparatus tabulation.
14, according to arbitrary described device in the claim 11 to 13, it is characterized in that, described download module, also be used for when videoing according to described download, determine all not have on all described each neighbor devices described equipment not during the downloaded files burst, obtain not downloaded files burst of described equipment from described version server.
15, according to arbitrary described device in the claim 11 to 13, it is characterized in that, also comprise: sending module, be used for sending register requirement to described version server, described register requirement comprises address information, current version information and authentication information.
16, a kind of version server is characterized in that, comprising:
The tabulation generation module is used to generate the updating apparatus tabulation;
The file fragmentation module is used for version file is divided into file fragmentation;
First sending module is used to send described updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises described file fragmentation start-stop position.
17, version server according to claim 16, it is characterized in that, also comprise: Registering modules, be used to receive the register requirement that comprises address information, current version information and authentication information that the network equipment sends, and the described network equipment is authenticated according to described register requirement, after authentication is passed through, write down the information of the described network equipment.
18, version server according to claim 17, it is characterized in that, also comprise second sending module, be used for sending different described file fragmentations respectively to described each network equipment of updating apparatus tabulation, the described file fragmentation that described each network equipment receives can completely reconstruct described version file.
19, according to arbitrary described version server in the claim 16 to 18, it is characterized in that, also comprise:
Image module is used for receiving the download progress of described each network equipment of updating apparatus tabulation, and generates according to described version file burst descriptor and described download progress and to download reflection, and is used to send described download reflection.
20, according to arbitrary described version server in the claim 16 to 18, it is characterized in that, comprise that also transport module is used to transmit described file fragmentation.
21, a kind of network appliance version loading system is characterized in that, comprises version server and network appliance version charger; Wherein,
Described version server, be used for sending upgrade information and transfer files burst to described network appliance version charger, described upgrade information comprises updating apparatus tabulation and version file burst descriptor, and described version file burst descriptor comprises the start-stop position of each file fragmentation that described version server is divided into version file;
Described network appliance version charger, be used to receive the described upgrade information that described version server sends, and the download of this equipment of obtaining and neighbor device reflection, described download reflection comprises the download progress set of described each file fragmentation of version file, and is used for selecting neighbor device and obtaining not downloaded files burst of this equipment from the neighbor device of described selection from described updating apparatus tabulation.
22, system according to claim 21 is characterized in that, described network appliance version charger also is used for sending register requirement to described version server, and described register requirement comprises address information, current version information and authentication information; Described version server also is used to receive the register requirement that described network appliance version charger sends, and the network appliance version charger is authenticated according to described register requirement, after authentication is passed through, write down the information of the described network equipment, and generate described updating apparatus tabulation according to the information and the upgrading rule of the network equipment of described record.
23, according to claim 21 or 22 described systems, it is characterized in that, described version server also is used for sending different described file fragmentations respectively to described each network equipment of updating apparatus tabulation, and the described file fragmentation that described each network equipment receives can completely reconstruct described version file.
24, according to claim 21 or 22 described systems, it is characterized in that, described version server also is used for receiving the download progress of described each network equipment of updating apparatus tabulation, and according to described version file burst descriptor and described download progress generation download reflection, and be used for sending described download reflection to described each network equipment.
CN2008102421616A 2008-12-30 2008-12-30 Network appliance version loading method, apparatus and system Expired - Fee Related CN101478446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102421616A CN101478446B (en) 2008-12-30 2008-12-30 Network appliance version loading method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102421616A CN101478446B (en) 2008-12-30 2008-12-30 Network appliance version loading method, apparatus and system

Publications (2)

Publication Number Publication Date
CN101478446A true CN101478446A (en) 2009-07-08
CN101478446B CN101478446B (en) 2011-07-20

Family

ID=40839081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102421616A Expired - Fee Related CN101478446B (en) 2008-12-30 2008-12-30 Network appliance version loading method, apparatus and system

Country Status (1)

Country Link
CN (1) CN101478446B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020264A1 (en) * 2009-08-21 2011-02-24 中兴通讯股份有限公司 Method and apparatus for upgrading mirror image
CN102075349A (en) * 2010-12-22 2011-05-25 深圳市新格林耐特通信技术有限公司 Method for device file centralized management by simple network management protocol (SNMP) network manager
CN104202667A (en) * 2014-09-19 2014-12-10 青岛海信宽带多媒体技术有限公司 IPTV (internet protocol television) set-top box upgrading method and system
US9172634B2 (en) 2011-08-16 2015-10-27 Hangzhou H3C Technologies Co., Ltd. Restarting a line card
WO2016090846A1 (en) * 2014-12-11 2016-06-16 中兴通讯股份有限公司 Network version upgrade method and apparatus
CN106254440A (en) * 2016-07-29 2016-12-21 杭州迪普科技有限公司 The upgrade method of a kind of AP and device
CN110489146A (en) * 2019-08-13 2019-11-22 翱捷科技(深圳)有限公司 A kind of neighbouring OTA upgrade-system and method of terminal device
CN111031576A (en) * 2019-11-29 2020-04-17 歌尔科技有限公司 Upgrading method of TWS wireless earphone and wireless audio equipment
CN111475189A (en) * 2020-03-27 2020-07-31 深圳光启超材料技术有限公司 Upgrading method, head-mounted equipment, storage medium and electronic device
CN114422486A (en) * 2022-03-14 2022-04-29 潍柴动力股份有限公司 Software version upgrading method and system for terminal and vehicle
CN114666311A (en) * 2022-03-25 2022-06-24 深圳海星智驾科技有限公司 Engineering machine, and engineering machine software upgrading method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100433619C (en) * 2004-07-23 2008-11-12 腾讯科技(深圳)有限公司 Data download method and system
KR100585788B1 (en) * 2004-12-06 2006-06-07 엘지전자 주식회사 Method for upgrading system software in mobile telecommunication terminal equipment
CN100505640C (en) * 2006-01-26 2009-06-24 腾讯科技(深圳)有限公司 A method and system for software upgrade
CN100556129C (en) * 2006-08-22 2009-10-28 腾讯科技(深圳)有限公司 A kind of equity connects flow medium live system and device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020264A1 (en) * 2009-08-21 2011-02-24 中兴通讯股份有限公司 Method and apparatus for upgrading mirror image
CN102075349A (en) * 2010-12-22 2011-05-25 深圳市新格林耐特通信技术有限公司 Method for device file centralized management by simple network management protocol (SNMP) network manager
US9172634B2 (en) 2011-08-16 2015-10-27 Hangzhou H3C Technologies Co., Ltd. Restarting a line card
CN104202667A (en) * 2014-09-19 2014-12-10 青岛海信宽带多媒体技术有限公司 IPTV (internet protocol television) set-top box upgrading method and system
WO2016090846A1 (en) * 2014-12-11 2016-06-16 中兴通讯股份有限公司 Network version upgrade method and apparatus
CN105743948A (en) * 2014-12-11 2016-07-06 中兴通讯股份有限公司 Network version upgrading method and apparatus
CN106254440A (en) * 2016-07-29 2016-12-21 杭州迪普科技有限公司 The upgrade method of a kind of AP and device
CN110489146A (en) * 2019-08-13 2019-11-22 翱捷科技(深圳)有限公司 A kind of neighbouring OTA upgrade-system and method of terminal device
CN111031576A (en) * 2019-11-29 2020-04-17 歌尔科技有限公司 Upgrading method of TWS wireless earphone and wireless audio equipment
CN111475189A (en) * 2020-03-27 2020-07-31 深圳光启超材料技术有限公司 Upgrading method, head-mounted equipment, storage medium and electronic device
WO2021189656A1 (en) * 2020-03-27 2021-09-30 深圳光启超材料技术有限公司 Upgrading method, head-mounted device, storage medium, and electronic apparatus
CN114422486A (en) * 2022-03-14 2022-04-29 潍柴动力股份有限公司 Software version upgrading method and system for terminal and vehicle
CN114422486B (en) * 2022-03-14 2024-01-16 潍柴动力股份有限公司 Terminal software version upgrading method, system and vehicle
CN114666311A (en) * 2022-03-25 2022-06-24 深圳海星智驾科技有限公司 Engineering machine, and engineering machine software upgrading method and device

Also Published As

Publication number Publication date
CN101478446B (en) 2011-07-20

Similar Documents

Publication Publication Date Title
CN101478446B (en) Network appliance version loading method, apparatus and system
US9294352B1 (en) Network change management
CN103678319B (en) Resource file update method, device and system and server
CN105703938A (en) Equipment configuration method, configuration device and management equipment
EP1830515B1 (en) A method for transferring the network management configuration information between the element management systems
AU2007214516A1 (en) System and method for generating and executing a platform emulation based on a selected application
CN101072163A (en) Network file automatic dump method and system
CN106843933A (en) A kind of leak restorative procedure of application program, mobile terminal and patch server
CN105407117A (en) Distributed data backup method, device and system
CN103297275A (en) Dynamic discovery and loading system and method for Web network management client module
CN110287151A (en) Distributed memory system, method for writing data, device and storage medium
CN100375427C (en) Cluster device batch file transmitting method and file transmission device
CN104615455A (en) Remote upgrading method and device for IPMC program of ATCA structure
CN102726025B (en) Installation method and relative devices of business packet
CN101472050A (en) Method and system for updating software, digital television receive terminal and server
CN111343011B (en) Openstack network fusion control method and system for cloud management platform
CN101159611A (en) Batch system disposing method and device
CN111327650A (en) Data transmission method, device, equipment and storage medium
CN112202877A (en) Gateway linkage method, gateway, cloud server and user terminal
CN101783770B (en) Method and system for processing message, service processing board and circuit processing board
CN101056209A (en) A maintenance method and device for radio terminal image file
CN104077152A (en) Batch upgrading method and batch upgrading device for embedded system
CN111158751A (en) Windows environment deployment method, electronic equipment and storage medium
JP5341317B2 (en) Application execution system, computer, application execution method and program for application execution system
CN104348646A (en) Configuration data processing method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110720

Termination date: 20151230

EXPY Termination of patent right or utility model