Network equipment automatic update method and system
Technical field
The present invention relates to a kind of network equipment automatic update method and system, relate in particular to a kind of based on Internet Protocol (IP) network equipment automatic update method and system.
Background technology
After the second half in last century, obtained swift and violent and significant progress based on the communication technology of Computer Applied Technology.To networks such as ATM, ISDN, Ethernet, MSTP, business becomes increasingly complex, speed is more and more faster, use more and more widely from the pstn telephone network development, and network technology has obtained progressive again and again.A large amount of agreements and software systems, also unified gradually and be fused to several big popular protocols and standard from a cover agreement separately at first.ICP/IP protocol is wherein the most famous and most widely used consensus standard.And the relevant network terminal, the network equipment should be used widely along with the development of Internet.
A large amount of production firms difference, architecture difference, the network equipment that function is different, performance is different are used widely.Network operation has become thing followed thorny problem, especially the upgrading of systems soft ware and maintenance.Because the network equipment is in order to adapt to new application, when new business and function are provided, and when finding the leak of network equipment system software self, all to need software is upgraded.Adopted the network equipment of new technology, new standard all the more so: to use widely along with the IP development of Communication Technique such as current voip technology, equipment between the different manufacturers need be in the butt joint of the place of different asynchronism(-nization)s, communication standard is in development, new business, new function are also added to come in continuously, but a large amount of IAD (AG), Integrated Access Device is disposed widely comes.The network equipment extensively is distributed in different physical locations, for example be in different mansions, not even with city, different countries, be difficult to select one not traffic affecting be remotely logged into appropriate opportunity and assign upgrade command on the equipment and upgrade.Because these equipment may be distributed in different networks and use in group or the company, if by one by one single device being upgraded, complexity is very high undoubtedly, workload is very big, and then has wasted great amount of manpower and material resources and financial resources.
At the problems referred to above, once occurred obtaining configuration parameter by BOOTP and DHCP, carry out software upgrade method according to the relevant parameter among BOOTP or the DHCP, but this method also has problems, BOOTP and DHCP usually are limited in the little local area network (LAN), just are not easy and should use for a large amount of equipment that extensively distribute.
Summary of the invention
Upgrade existing problem and shortage at above-mentioned conventional network equipment, the purpose of this invention is to provide and a kind ofly be not limited to LAN, be not limited to single product, escalation process and do not need artificial network equipment automatic update method and the system that monitors and interfere.
The present invention is achieved in that a kind of network equipment automatic update method, may further comprise the steps:
1) the described network equipment sends to NM server and carries version request-related information frame;
2) after described server is received the described request frame, carry out the update strategy retrieval,, then the transaction file address list is sent to the described network equipment if there is update strategy;
3) the described network equipment is according to the described file address corresponding file server file in download of tabulating, and update system, and to described NM server report updating result, described NM server writes down this result then.
Preferably, described version relevant information is specially producer's sign, product mark, hardware version and software version information.
Preferably, described NM server includes the update strategy table, has the IP address that can communicate by letter with the described network equipment.
Preferably, described update strategy table comprises producer's sign, product mark, hardware version, hardware version matched rule, software version, software version matched rule, file download address list information.
Preferably, described matched rule field comprise equal this version, greater than this version and less than the matching condition of this version.
Preferably, described transaction file address list field store is URL(uniform resource locator) (URL) tabulation.
A kind of network equipment automatic update system, this system comprises NM server and file server, the network equipment can connect with it respectively, and described NM server is provided with automatic update module and memory module, stores the update strategy table in the described memory module; Described file server stores corresponding transaction file; The described network equipment is provided with the software upgrading module, essential information is sent to the automatic update module of described NM server, described automatic update module is according to the essential information retrieval update strategy table of the described network equipment, and the tabulation of the system file download address in the update strategy record is sent to the described network equipment, the described network equipment is according to this address list automatic software update, to upgrade the result after renewal finishes and be sent to described NM server, described NM server writes down this result.
Preferably, the essential information of the described network equipment comprises producer's sign, product mark, hardware version and software version.
Preferably, the relevant field that comprises producer's sign, product mark, hardware version, hardware version matched rule, software version, software version matched rule, the tabulation of file download address in the described update strategy table.
Preferably, described matched rule field comprise equal this version, greater than this version and less than the matching condition of this version.
The present invention is provided with automatic update module at NM server, stores the update strategy table, stores transaction file in the file server.Be provided with the software upgrading module in the network equipment, the network equipment sends to NM server and carries version request-related information frame, NM server is according to the correlated information match update strategy table of the network equipment, then the transaction file address list is sent to the network equipment if need to upgrade, the network equipment just can upgrade automatically.
The present invention can finish the renewal work of the network equipment automatically.Simplify the complexity that network equipment system upgrades, greatly reduced workload, saved cost.
Description of drawings
Below in conjunction with accompanying drawing the present invention is illustrated in further detail:
Fig. 1 is a schematic flow sheet of the present invention.
Embodiment
The present invention includes NM server and file server, the network equipment can connect with it respectively.Store update strategy in the NM server, store transaction file in the file server.The network equipment sends the version relevant information of himself to NM server.NM server carries out the update strategy retrieval according to the version relevant information.If there is update strategy, then send the transaction file address list to the network equipment, the network equipment to the file server file in download, upgrades self system according to the file address then.
Be that example describes it in detail with the ip voice network below.
Along with the extensive use of voip technology, speech sound access equipments such as ip voice IAD (AG), Integrated Access Device are just by a large amount of being deployed in the IP network.The present invention is that example describes with AG.
The system update file of storage AG in file server; As file server, file transmits by http protocol based on the web page server of HTTP(Hypertext Transport Protocol) agreement in employing, and it supports breakpoint transmission, can strengthen the fault-tolerance and the reliability of renewal process like this.
In the higher level equipment (referring to NM server here) of AG, automatic update module is set, and the update strategy table of storage AG; The present invention can also be provided with the renewal that automatic update service device is realized the network equipment specially, also this auto-update server can be inserted in the Media Gateway Controller (MGC) as a module, similarly, this automatic update service device has the IP address that can communicate by letter with AG, include automatic update module, and store the update strategy table of AG.Accordingly, among the AG software upgrading module need be set, this module can communicate by network with the automatic update module of described higher level equipment.The IP address that NM server had is the IP address that AG can communicate by letter with it.Automatically open a port after the update module work to communicate by letter with the update module of AG.Comprise fields such as producer's sign, product mark, hardware version, hardware version matched rule, software version, software version matched rule, the tabulation of file download address in the escalation policy table.The matched rule field comprises and equals this version, greater than this version, less than matching conditions such as this versions.What file download address list field was stored is URL(uniform resource locator) (URL) tabulation, as: http://agupgrade.com/ag1.0.zip ftp: //agupgrade.com/ag1.0.zip etc.
AG has the IP address equally, obtains by the configuration data of AG or by DHCP, BOOT.AG has information such as producer's sign, product mark, hardware version and software version.As shown in Figure 1, the software upgrading module of AG is sent the claim frame that has comprised producer's sign, product mark, hardware version and software version to the automatic update module of higher level equipment, after the automatic update module of higher level equipment receives above-mentioned request, take out the version related data of AG.The automatic update module of higher level equipment is carried out the escalation policy retrieval according to the version related data of AG.If there is matched record, then takes out the file download address tabulation of the escalation policy of coupling, and join in the acknowledgement frame.Acknowledgement frame is mail to AG.After AG receives acknowledgement frame, check whether the tabulation of file download address exists.If there is then extraction system transaction file download address tabulation.Attempt one by one downloading according to address list then.After downloading success and confirming that file is correct, in file writing system memory block.Upgrade the result to higher level's device report then, higher level equipment writes down this result.AG is restarted voluntarily, enables the system after the renewal, and renewal process finishes automatically.