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.
- Priority and filed
- Published
- Today
10 claims: 2 independent, 8 dependent
- 1A 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.一种路由器,其特征在于:包括: 报文发送模块,用于以一预设时间周期向一服务器发送心跳报文,所述心跳报文包括路由器的识别码、物理地址、状态信息、以及当前软件版本号; 信息接收模块,用于接收所述服务器的反馈信息,所述反馈信息包括所述服务器中待升级软件版本号、待升级软件版本存放路径、是否对所述路由器进行升级的判断结果、以及升级方式,其中根据预设的欲升级路由器的软件版本号与所述当前软件版本号的比较,判断是否对所述路由器进行升级,且根据所述状态信息确定所述升级方式; 升级模块,用于当根据所述反馈信息,判断对所述路由器进行升级时,根据所述升级方式以及待升级软件版本存放路径进行升级操作。
- 5A 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
53 paragraphs in 2 sections, as filed
One kind of router upgrade method and system
TECHNICAL FIELD
[0001] The present invention relates to the field of communications, particularly to a method and system upgrade router.
Background technique
[0002] With the continuous upgrading of enterprise-class router equipment, the number of distributed enterprise-class router devices more and more. So how to make the user no perception of distributed enterprise-class router batch remote upgrade has become more and more important issue to us.
[0003] The existing router software upgrade major upgrade management instructions to receive user input to establish communication connection with the server-based upgrade upgrade upgrade management device server's IP address is stored, access the router from the latest version of the software upgrade server Version Information; compare information on the current version of the version information of the router router will get the latest version of the software; when the information about the new version of the router's latest version of the software than the current version on the router, router software upgrade operations performed.
[0004] The disadvantage of the above approach is that this software upgrade: every client needs to confirm the upgrade, for enterprise-class router such a large number of distributed system, this remote upgrade the system obviously can not meet the requirements.
SUMMARY OF THE INVENTION
[0005] In view of the foregoing disadvantages of the prior art, an object of the present invention to provide a method and system upgrade routers, used to solve the prior art can not be fast, smart and efficient for a large number of router upgrade issues.
[0006] To achieve the above objects and other related objects, the present invention provides a router, comprising: a message sending module for a predetermined period of time in order to send a heartbeat packet to a server, the heartbeat packets include router ID, physical address, status information, and the current software version number; information receiving module for receiving the server feedback information, the feedback information includes the server to be upgraded software version number, upgrade the software version to be stored path , whether the result of the judgment router 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 in accordance with the said state information to determine the upgrade; upgrade module for when upgrading operation according to the feedback information, the judgment of the router upgrade, according to the upgrade version of the software to be upgraded and storage paths.
[0007] Optionally, the software version number according to the preset want to upgrade the router with the current software version number to determine whether to upgrade the router include: software version number and when I want to upgrade the router's default The current software version number is the same, it is determined to upgrade the router; when the software version number preset want to upgrade the router with the current software version number is not the same, the judge said not to upgrade the router.
[0008] Alternatively, the state information includes at least one of the following: 1) the flow rate of consumption of the router; 2) the number of the routers connected to an external device.
[0009] Optionally, the upgrade includes at least one of the following: 1) the immediate implementation of the upgrade operations; 2) at a predetermined timing to perform the upgrade operations; 3) to upload only the Upgrading the software version of the OS to be upgraded; 4) only writes the software to be upgraded versions of the upgrade.
[0010] To achieve the above objects and other related objects, the present invention also provides a server comprising: packet receiving module for receiving a heartbeat packet sent by the router, the router heartbeat message includes the identification code , physical address, status information, and the current software 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, to be software upgrade storage path, the router determines whether a result of an upgrade, and upgrade, which compares the software version number preset want to upgrade the router with the current software version number according to judge whether the router upgrade, and information to determine the upgrade according to the state.
Step [0011] Optionally, the software version number according to the preset want to upgrade the router with the current software version number to determine whether to upgrade the router include: When a preset To upgrade the router's software version number and the current software version number is the same, it is determined to upgrade the router; when the software version number preset want to upgrade the router with the current software version number is not the same, the judge said not to upgrade the router.
[0012] Alternatively, the state information includes at least one of the following: 1) the flow rate of consumption of the router; 2) the number of the routers connected to an external device.
[0013] Optionally, the upgrade includes at least one of the following: 1) the immediate implementation of the upgrade operations; 2) at a predetermined timing to perform the upgrade operations; 3) to upload only the Upgrading the software version of the OS to be upgraded; 4) only writes the software to be upgraded versions of the upgrade.
[0014] To achieve the above objects and other related objects, the present invention also provides a router upgrade systems, including routers as one of the office and includes a server as one of the office.
[0015] To achieve the above objects and other related objects, the present invention also provides a method to upgrade the router, the router upgrade system is applied, comprising the steps of: a router with a preset time period to send heartbeat to a server Wen, the heartbeat message includes the router ID, physical address, status information, and the current software version number; the server generates a feedback message is sent to the router, the feedback information including the heartbeat packets The server to be upgraded software version number, the software version to be upgraded storage path, the router determines whether a result of an upgrade, and the upgrade, which according to the current software version number preset want to upgrade the router Compare numbers to determine whether to upgrade the router, and the information to determine the upgrade according to the state; receiving feedback information for the server, the feedback information includes the server to be upgraded software version to be upgraded Software version storage path, the router determines whether a result of an upgrade, and 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 information to determine the upgrade according to the state; upgrade the router based on the feedback information to determine when, according to the upgrade version of the software to be upgraded as well as to upgrade the storage path.
[0016] As described above, the router upgrade method and system of the present invention, so that a predetermined time period router sends heartbeat packets to a server, the heartbeat message includes the router ID, physical address, status information, and The current software version number; the server generates a heartbeat packets based on the feedback information is transmitted 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 said router judgment result of the upgrade, and upgrade; when upgrading the router based on the feedback information, judgment, according to the upgrade version of the software to be upgraded as well as to upgrade the storage path. According to the present invention can automatically determine whether the router operating conditions and in what way to upgrade to upgrade, upgrade the operating intelligent, flexible, and efficient, enabling the user does not perceive the good experience.
Brief Description
[0017] FIG. 1 shows a router upgrade the system of the present invention in a particular embodiment, a schematic block diagram.
[0018] Figure 2 shows a router upgrade method of the present invention in a particular embodiment of the flow diagram implemented.
[0019] element label instructions
[0020] I router
[0021] 11 packets module
[0022] 12 information receiving module
[0023] 13 upgrade module
[0024] 2 server
[0025] 21 packets receiver module
[0026] 22 Feedback Module
[0027] Sll ~S13 step
detailed description
[0028] The following description of embodiments of the present invention is produced by certain specific examples, one skilled in the art disclosed in this specification can easily understand the contents of the other advantages and efficacy of the present invention. The present invention can also be implemented or applied through another different embodiment, the present specification, the details may be based on different perspectives and applications without departing from the spirit of the invention under various modifications or changes. It should be noted that, in the case where no conflict, the following Examples and Examples of the features of the embodiments may be combined with each other.
[0029] It should be noted that the only schematically illustrated in the examples provided in the following examples to illustrate the basic idea of the invention, then the diagram displays only the components of the present invention is related to the number of components, rather than according to the time of actual implementation , shape and size drawing, when the actual implementation of the various components of the patterns, and the ratio of the number may be a random change, and the component layout patterns may be more complex.
[0030] According to the health of the enterprise router, the router upgrade set time or mode, you can work without the heavy burden on the router when the upgrade operation to ensure effective distribution of working hours router rationality, the present invention proposes a router upgrade method, it can effectively guarantee the normal operation of the router to perform as well as a reasonable allocation of the router in the contents of different time periods. The router upgrade method comprising the steps of:
[0031] Sll: the router to send a pre-set period of time to a server heartbeat packets, the heartbeat message includes the router ID, physical address, status information, and the current software version number;
[0032] S12: the server generates a feedback according to the heartbeat packet information and sends it 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 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 the information in accordance with the state determining the upgrade;
[0033] S13: the server receives the feedback information, the feedback information includes the server to be upgraded software version number, the software version to be upgraded storage path, the router determines whether a result of an upgrade, and upgrade, The more software version To upgrade the router's default and the current software version number according to, to determine whether to upgrade the router, and the information to determine the upgrade according to the state; the router based on the feedback When the information is judged to upgrade, according to the upgrade version of the software to be upgraded as well as to upgrade the storage path.
[0034] Please refer to Figure 1, a router upgrade the system of the present invention in a particular embodiment, a schematic block diagram. Said router system comprising a server and a router I 2, wherein, the router may be a plurality of I.
[0035] wherein each of the router I include packets module 11, an information receiving module 12, as well as upgrade module 13.
[0036] The message transmission module 11 is used in a predetermined period of time (for example, for the period to 10 minutes) to send heartbeat messages to the server 2, the heartbeat message includes the identification code of the router I, physical address, status information, and the current software version number; for example, the identification code of the router 11 device model or serial number.
[0037] The information receiving module 12 for receiving the feedback information server 2, wherein the feedback information includes the server 2 to be upgraded software version number, the software version to be upgraded storage path, whether to upgrade the router The judgment results, and 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 the information is determined based on the status of the upgrade ; wherein the software version number preset want to upgrade the router with the current software version number to determine whether to upgrade the router include: software version number when I want to upgrade the router's default and the current software version number the same, the judgment of the router upgrade; when the software version number preset want to upgrade the router with the current software version number is not the same, the judge said not to upgrade the router. And, preferably, the status information includes at least one of the following: 1) the flow rate of consumption I router; 2) the number of connections the router I of an external device.
[0038] upgrade module 13 is used when upgrading to the router based on the feedback information, judgment, according to the upgrade version of the software to be upgraded as well as to upgrade the storage path.
[0039] in the present embodiment, the server 2 includes a message reception module 21 and feedback module 22.
[0040] The message receiving module 21 for receiving a heartbeat packet sent by the router, the router heartbeat message includes the identification code, the physical address, status information, and the current software version number;
[0041] The feedback module 22 generates a feedback message is sent to the router 1, the feedback information includes the server software version number to be upgraded in accordance with the heartbeat messages, the software version to be upgraded storage path, whether on the router I judge the result of an 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 I, and in accordance with the said state information to determine the upgrade.
[0042] Among the preferred, the upgrade includes at least one of the following: 1) the immediate implementation of the upgrade operations; 2) at a predetermined timing to perform the upgrade operations; 3) are only uploaded said to be upgrading the software version of the upgrade operations; 4) only writes the software to be upgraded versions of the upgrade. For example, when the current uploads and downloads the router I have a small, immediate implementation of the upgrade operations; when the current upload and download router I have a large amount, and according to information before recording, analysis 10 hours later (eg after work), the router I in a relatively free state, places a preset timing (10 hours) to perform the upgrade operation; when the router I upload the current operation is relatively idle, and download operation more busy, the router I only upload the software to be upgraded versions of the upgrade. When the router I download the current operation is relatively idle, and the download operation more busy, the router I only download the software to be upgraded version of the upgrade, download the presence of a designated storage module, and in After the free time to upgrade.
[0043] In a specific example now, the above embodiments are further described, for example, the router is three, respectively, router A, Router B, and Router C, which has a software version numbers are 1.1, 1.2, and 1.3. Upgrade To upgrade the router's user settings software version number, for example, 1.2, and version 1.2 software router software version 1.5 of the software version (to be upgrading the software version number). First heartbeat packet router A, router B, and C to the server router sends an identification code, independently from each physical address, status information, and the current software version number, the server based on the feedback of a feedback heartbeat packets to each router information, the feedback information specifically includes the server to be upgraded software version number, the software version to be upgraded storage path, the router determines whether or not the corresponding result of the upgrade, and upgrade. Specifically, the server first heartbeat packets based on the current version of the software to determine whether the corresponding router upgrade operation, that is, after obtaining Router A, Router B, and the current software version of the router C, and want to upgrade the router's software version number (software version 1.2) were compared, by comparison, find the software version number of 1.2 and router B To upgrade the router's software version number is the same, namely the start of the router B software upgrade operations. So the feedback information feedback server to the router B, the "judge whether the results of the corresponding router upgrade" for the router B upgrade. Status information belongs router B, for example, a router B in traffic each day consumption period, for example consume more in the morning 10:00 to 18:00, the other time periods consumes less. At this point the server determines whether the current time, for example, when the time for the evening, because the router B is more free, then immediately upgrade operation (according to the software version to be upgraded storage path download version of the software to be upgraded from the appropriate path, and installation) . Of course, do not upgrade in several proposed by the invention is limited, its upgrade, upgrade and select a judgment condition, can be flexibly set depending on the router, but the idea should be to have a design representing the guarantee At the same time a good experience and achieve greater efficiency in the router software upgrade services, upgrade the system to achieve more intelligent.
[0044] Refer to Figure 2, a router upgrade schematic flow diagram of the method of the present invention in a particular embodiment shown in FIG. 1 applied to the router upgrade the system, including the steps of:
[0045] Sll: the router to send a pre-set period of time to a server heartbeat packets, the heartbeat message includes the router ID, physical address, status information, and the current software version number;
[0046] S12: the server generates a feedback message is sent to the router, the feedback information includes the server to be upgraded software version number, upgrade the software version to be stored according to the heartbeat packet path, whether the said router judgment result of the upgrade, and 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 the identification information according to the state the upgrade;
[0047] S13: the server receives the feedback information, the feedback information includes the server to be upgraded software version number, the software version to be upgraded storage path, the router determines whether a result of an upgrade, and upgrade, The more software version To upgrade the router's default and the current software version number according to, to determine whether to upgrade the router, and the information to determine the upgrade according to the state; the router based on the feedback When the information is judged to upgrade, according to the upgrade version of the software to be upgraded as well as to upgrade the storage path.
[0048] In summary, the present invention is a method and system upgrade router, so the router to send a pre-set period of time to a server heartbeat packets, the heartbeat message includes the router ID, physical address, status information, and the current software version number; the server generates a feedback message is sent to the router, the feedback information includes the server to be upgraded software version number, upgrade the software version to be stored according to the heartbeat packet path, whether The router judgment result of the upgrade, and upgrade; when upgrading the router based on the feedback information, judgment, according to the upgrade version of the software to be upgraded as well as to upgrade the storage path. According to the present invention can automatically determine whether the router operating conditions and in what way to upgrade to upgrade, upgrade the operating intelligent, flexible, and efficient, enabling the user does not perceive the good experience. Therefore, the present invention effectively overcomes the drawbacks of the prior art and a highly industrial utilization value.
[0049] the above examples are merely illustrative of the principles and exemplary effect of the present invention, not intended to limit the present invention. Any person skilled in the art can be made at the present invention without departing from the spirit and scope of the embodiments described above may be modified or changed. Thus, the art has covered the technical knowledge of all those who are usually in the present invention without departing from the spirit and technical ideas disclosed done under equivalent modification or change, should continue to be claims of the present invention is covered.
Contents2
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| CN105791136A | Cited by | China | Search report |
| CN105703947A | Cited by | China | Search report |
| CN107483241A | Cited by | China | Search report |
| CN106959866A | Cited by | China | Search report |
| CN107769966A | Cited by | China | Search report |
| CN107291520A | Cited by | China | Search report |
| CN106656582A | Cited by | China | Search report |
| CN106911576A | Cited by | China | Search report |
| CN105721203A | Cited by | China | Search report |
| WO2017118334A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| CN101060441A | Cites | China | Search report |
| CN101335641A | Cites | China | Search report |
| CN102006332A | Cites | China | Search report |
| CN103354505A | Cites | China | Search report |
| CN1567843A | Cites | China | Search report |
| US2010169446A1 | Cites | United States of America | Search report |
| US2013275956A1 | Cites | United States of America | Search report |
2 priority claims, no other members on record
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 201510706339 | China | A | |
| CN20151706339 | – | – | – |
Numbers
- Publication
- 105187262
- Publication, DOCDB
- 105187262
- Publication, EPODOC
- CN105187262
- Application
- 107063398
- Application, DOCDB
- 201510706339
- Application, EPODOC
- CN20151706339
Titles3
- Chinese
- 一种路由器升级方法及系统
- English
- One kind of router upgrade method and system
- English
- Router upgrading method and system
Classification
- CPC, 2
- H04L41/082
- H04L45/563
- IPC, 2
- H04L12 24
- H04L12 771