Method and system for upgrading network device
First Claim
1. A method for upgrading a network device, comprising:
- establishing, by a network management server, a Transmission Control Protocol (TCP) connection with the network device;
during an upgrade process, transmitting, by the network management server, a private protocol born on the TCP to the network device to notify the network device to be upgraded;
executing, by the network device, a corresponding upgrade operation after receiving the notification and returning an upgrade result to the network management server through the private protocol born on the TCP;
wherein the process of the network management server and the network device performing an upgrade by using the private protocol born on the TCP comprises;
step A;
transmitting, by the network device, device information of the network device itself to the network management server;
step B;
judging, by the network management server, the device information transmitted from the network device and transmitting upgrade information corresponding to the judgment result to notify the network device to be upgraded;
step C;
executing, by the network device, a corresponding upgrade operation after receiving the upgrade information and feeding back an upgrade result to the network management server;
wherein the step B comprises;
judging, by the network management server, the device information transmitted from the network device, notifying the network device to interrupt the TCP connection when determining that the network device is illegal, notifying the network device to download version files when determining that both version and configuration of the network device need an upgrade, and notifying the network device to directly download profiles when determining that the version of the network device needs no upgrade but the configuration needs an upgrade;
the step C comprises;
when receiving the notification from the network management server of downloading version files, downloading, by the network device, the version files and returning a download result to the network management server;
notifying, by the network management server, the network device to restart, then executing, by the network device, a restart operation after receiving the notification and notifying the network management server after the restart;
when receiving the notification from the network management server of downloading profiles, downloading, by the network device, the profiles and returning a download result to the network management server;
notifying, by the network management server, the network device to upgrade the downloaded profiles, then upgrading, by the network device, the profiles after receiving the notification and returning an upgrade result to the network management server.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosure discloses a method for upgrading a network device, which comprises: establishing, by a network management server, a Transmission Control Protocol (TCP) connection with the network device (101); during an upgrade process, transmitting, by the network management server, a private protocol born on the TCP to the network device to notify the network device to be upgraded, then executing, by the network device, a corresponding upgrade operation after receiving the notification and returning an upgrade result to the network management server through the private protocol born on the TCP (102). The disclosure also discloses a system for upgrading a network device. With the method and the system, the purpose of implementing automatic upgrade for a network device can be achieved without a third party and the implementation is simple.
10 Citations
16 Claims
-
1. A method for upgrading a network device, comprising:
-
establishing, by a network management server, a Transmission Control Protocol (TCP) connection with the network device; during an upgrade process, transmitting, by the network management server, a private protocol born on the TCP to the network device to notify the network device to be upgraded;
executing, by the network device, a corresponding upgrade operation after receiving the notification and returning an upgrade result to the network management server through the private protocol born on the TCP;wherein the process of the network management server and the network device performing an upgrade by using the private protocol born on the TCP comprises; step A;
transmitting, by the network device, device information of the network device itself to the network management server;step B;
judging, by the network management server, the device information transmitted from the network device and transmitting upgrade information corresponding to the judgment result to notify the network device to be upgraded;step C;
executing, by the network device, a corresponding upgrade operation after receiving the upgrade information and feeding back an upgrade result to the network management server;wherein the step B comprises;
judging, by the network management server, the device information transmitted from the network device, notifying the network device to interrupt the TCP connection when determining that the network device is illegal, notifying the network device to download version files when determining that both version and configuration of the network device need an upgrade, and notifying the network device to directly download profiles when determining that the version of the network device needs no upgrade but the configuration needs an upgrade;the step C comprises;
when receiving the notification from the network management server of downloading version files, downloading, by the network device, the version files and returning a download result to the network management server;notifying, by the network management server, the network device to restart, then executing, by the network device, a restart operation after receiving the notification and notifying the network management server after the restart; when receiving the notification from the network management server of downloading profiles, downloading, by the network device, the profiles and returning a download result to the network management server;
notifying, by the network management server, the network device to upgrade the downloaded profiles, then upgrading, by the network device, the profiles after receiving the notification and returning an upgrade result to the network management server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for upgrading a network device, comprising:
- a network management server and a network device;
the network management server is configured to;
establish a TCP connection with the network device;
during an upgrade process, transmit a private protocol born on the TCP to the network device to notify the network device to be upgraded; and
receive an upgrade result of the execution of an upgrade operation returned by the network device through the private protocol born on the TCP;the network device is configured to;
establish a TCP connection with the network management server;
during an upgrade process, after receiving an upgrade notification transmitted from the network management server through the private protocol born on the TCP, execute a corresponding upgrade operation and return an upgrade result to the network management server through the private protocol born on the TCP;wherein the upgrade process in which the network management server performs communications with the network device by using the private protocol born on the TCP comprises;
the network management server receives and judges device information transmitted from the network device, transmits upgrade information corresponding to the judgment result to notify the network device to be upgraded, and receives an upgrade result fed back by the network device; andthe upgrade process in which the network device performs communications with the network management server by using the private protocol born on the TCP comprises;
the network device transmits device information of the network device itself to the network management server, executes a corresponding upgrade operation after receiving upgrade information transmitted from the network management server and feeds back an upgrade result to the network management server; andwherein the network management server judging the device information transmitted from the network device, notifying the network device to be upgraded and receiving the upgrade result fed back by the network device comprises; judging the device information transmitted from the network device, notifying the network device to interrupt the TCP connection when determining that the network device is illegal;
notifying the network device to download version files when determining that both version and configuration of the network device need an upgrade;notifying the network device to directly download profiles when determining that the version of the network device needs no upgrade but the configuration needs an upgrade; notifying the network device to restart after receiving a download result of the version files transmitted from the network device, and receiving a restart complete result reported by the network device;
notifying the network device to upgrade the downloaded profiles after receiving a download result of the profiles transmitted from the network device, and receiving an upgrade result of the profiles returned by the network device; andthe network device executing the upgrade operation and feeding back the upgrade result to the network management server comprises; after being determined to be illegal by the network management server and receiving a notification of interrupting the TCP connection, interrupting the TCP connection with the network management server;
after receiving the notification from the network management server, downloading version files or downloading profiles, andreturning a download result to the network management server;
after receiving the notification from the network management server, restarting and notifying the network management server after the restart; and
after receiving the notification from the network management server, upgrading the profiles and returning an upgrade result to the network management server. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
- a network management server and a network device;
Specification