NETWORK DEVICE AND METHOD FOR UPDATING FIRMWARE
First Claim
1. A network device, comprising:
- a storage module, for saving a value of a firmware-updating flag of the network device and a preset forwarding packet corresponding to a particular web page for downloading firmware;
a receiving module connected to a terminal device, for receiving a packet sent by the terminal device and sending the packet;
a flag determining module connected to the receiving module and the storage module, for receiving the packet from the receiving module and determining whether the firmware of the network device needs to be updated;
a type determining module connected to the flag determining module, for receiving the packet from the flag determining module and determining whether the packet is a transfer control protocol (TCP) packet;
an updating determining module connected to the type determining module and the storage module, for receiving the packet from the type determining module and determining whether a destination address of the packet matches a destination address of the preset forwarding packet; and
a forwarding module connected to the updating determining module and the terminal device, for receiving the preset forwarding packet from the updating determining module and sending the preset forwarding packet to the terminal device to notify the terminal device to download the newest firmware from the particular web page corresponding to the preset forwarding packet.
1 Assignment
0 Petitions
Accused Products
Abstract
A network device includes a storage module, a receiving module, a flag determining module, a type determining module, an updating determining module, and a forwarding module. The storage module saves a value of a firmware-updating flag and a preset forwarding packet corresponding to a particular web page. The receiving module receives a packet from a terminal device to send to the flag determining module. The flag determining module determines whether the firmware of the network device needs updating after receiving the packet. The type determining module determines whether the packet is a TCP packet. The updating determining module determines whether a destination address of the packet matches a destination address of the preset forwarding packet. The forwarding module receives the preset forwarding packet from the updating determining module, and sends the preset forwarding packet to the terminal device to notify the terminal device to download the newest firmware.
28 Citations
20 Claims
-
1. A network device, comprising:
-
a storage module, for saving a value of a firmware-updating flag of the network device and a preset forwarding packet corresponding to a particular web page for downloading firmware; a receiving module connected to a terminal device, for receiving a packet sent by the terminal device and sending the packet; a flag determining module connected to the receiving module and the storage module, for receiving the packet from the receiving module and determining whether the firmware of the network device needs to be updated; a type determining module connected to the flag determining module, for receiving the packet from the flag determining module and determining whether the packet is a transfer control protocol (TCP) packet; an updating determining module connected to the type determining module and the storage module, for receiving the packet from the type determining module and determining whether a destination address of the packet matches a destination address of the preset forwarding packet; and a forwarding module connected to the updating determining module and the terminal device, for receiving the preset forwarding packet from the updating determining module and sending the preset forwarding packet to the terminal device to notify the terminal device to download the newest firmware from the particular web page corresponding to the preset forwarding packet. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for updating firmware of a network device, comprising:
-
setting a value of a firmware-updating flag of the network device, and saving the value of the firmware-updating flag; receiving a packet sent by a terminal device; determining whether the firmware of the network device needs to be updated; determining whether the packet is a transfer control protocol (TCP) packet if the firmware of the network device needs to be updated; determining whether a destination address of the packet matches a destination address of a preset forwarding packet if the packet is a TCP packet; and sending the preset forwarding packet corresponding to a particular web page for downloading firmware to the terminal device to make the terminal device download the newest firmware of the network device from the particular web page if the destination address of the packet does not match the destination address of the preset forwarding packet. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A method for updating firmware of a network device, comprising steps of:
-
establishing data communication between a terminal device and a network through a network device; notifying said terminal device by said network device to send a preset forwarding packet, which comprises a destination address of a destination in said network, to said destination according to said destination address when an update of firmware of said network device is available at said destination; and updating said firmware of said network device via said terminal device after said update of said firmware is downloaded by said terminal device. - View Dependent Claims (20)
-
Specification