Nova Patents
CN105187262A

Router upgrading method and system

Abstract

The invention provides a router upgrading method and system. A router transmits a heartbeat message to a server according to a pre-set time period, wherein the heartbeat message comprises an identification code, a physical address and state information of the router, and a current software version number; feedback information is generated by the server according to the heartbeat message and is transmitted to the router; the feedback information comprises a version number of software to be upgraded in the server, a storage path of the version of the software to be upgraded, a judging result for judging whether the router is upgraded or not, and an upgrading manner; and when the router judges to upgrade according to the feedback information, upgrading operation is carried out on the storage path of the version of the software to be upgraded according to the upgrading manner. According to the router upgrading method and system, whether the upgrading is carried out and the upgrading is carried out in which manner can be automatically judged according to a running condition of the router, the updating operation is intelligent, flexible and efficient, and good non-perceptive experiences of users can be realized.

Term

No projected expiry on record.

  1. Priority and filed
  2. Published
  3. Today

10 claims: 2 independent, 8 dependent

  1. 1
    A router, comprising:comprising: packet sending module for a predetermined period of time to send a heartbeat packet to a server, the heartbeat message includes the router ID, physical address, status information, and the current software version number;information receiving module for receiving feedback information for the server, and the feedback information includes the server to be upgraded software version number, the software version to be upgraded storage path, whether to upgrade the router Analyzing the results, as well as upgrade, which compares the software version number preset want to upgrade the router with the current software version number according to, to determine whether to upgrade the router, and determine the upgrade information in accordance with the state;upgrade module for, when the feedback information to determine the router to be upgraded in accordance with, in accordance with the upgrade version of the software to be upgraded as well as to upgrade the storage path. 1.一种路由器,其特征在于:包括: 报文发送模块,用于以一预设时间周期向一服务器发送心跳报文,所述心跳报文包括路由器的识别码、物理地址、状态信息、以及当前软件版本号; 信息接收模块,用于接收所述服务器的反馈信息,所述反馈信息包括所述服务器中待升级软件版本号、待升级软件版本存放路径、是否对所述路由器进行升级的判断结果、以及升级方式,其中根据预设的欲升级路由器的软件版本号与所述当前软件版本号的比较,判断是否对所述路由器进行升级,且根据所述状态信息确定所述升级方式; 升级模块,用于当根据所述反馈信息,判断对所述路由器进行升级时,根据所述升级方式以及待升级软件版本存放路径进行升级操作。
  2. 5
    A server, comprising:comprising: packet receiving module for receiving a heartbeat packet router sends the heartbeat message includes the router ID, physical address, status information, and the current software The version number;information feedback module, according to the heartbeat message generates a feedback message is sent to the router, the feedback information includes the server to be upgraded software version number, the software version to be upgraded storage path, whether the router judgment result of the upgrade, and upgrade, which according to the comparison software version To upgrade the router's default and the current software version number to determine whether to upgrade the router, and it is determined according to the state information said upgrade. 5.一种服务器,其特征在于:包括: 报文接收模块,用以接收一路由器发送的心跳报文,所述心跳报文包括所述路由器的识别码、物理地址、状态信息、以及当前软件版本号; 信息反馈模块,根据所述心跳报文生成一反馈信息,发送给所述路由器,所述反馈信息包括所述服务器中待升级软件版本号、待升级软件版本存放路径、是否对所述路由器进行升级的判断结果、以及升级方式,其中根据预设的欲升级路由器的软件版本号与所述当前软件版本号的比较,判断是否对所述路由器进行升级,且根据所述状态信息确定所述升级方式。
Independent claims2