WO2016180156A1 - 路由器集群的升级系统、方法及装置 - Google Patents

路由器集群的升级系统、方法及装置 Download PDF

Info

Publication number
WO2016180156A1
WO2016180156A1 PCT/CN2016/079321 CN2016079321W WO2016180156A1 WO 2016180156 A1 WO2016180156 A1 WO 2016180156A1 CN 2016079321 W CN2016079321 W CN 2016079321W WO 2016180156 A1 WO2016180156 A1 WO 2016180156A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
upgraded
upgrade
version
active
Prior art date
Application number
PCT/CN2016/079321
Other languages
English (en)
French (fr)
Inventor
孙思
马苗苗
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016180156A1 publication Critical patent/WO2016180156A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • H04L45/563Software download or update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Definitions

  • the present invention relates to the field of communications, and in particular to a system, method, and apparatus for upgrading a router cluster.
  • IP Internet Protocol
  • P2P peer-to-peer network
  • a router cluster is a network of logically integrated routers that interconnect multiple routers.
  • the router device in the related art includes a global main control board, multiple global standby main control boards, and multiple interface boards.
  • the upgrade method is as follows: (1) in the case that the global main control board is running normally, Upgrade the standby main control board of the chassis where the main control board is located. (2) Perform the active/standby switchover to make the upgraded standby main control board become the new global main control board and replace the original global main control board. (3) Upgrade all interface boards in turn; (4) Upgrade other main control boards in turn; (5) Until all boards are upgraded to the new version, the upgrade process ends.
  • the router cluster is a router system interconnected by multiple routers. It has dozens of hundreds of boards. According to the upgrade method of the router equipment in the related art, the software upgrade takes a long time and the upgrade efficiency is low.
  • the invention provides a system, a method and a device for upgrading a router cluster, so as to at least solve the problem that the router device in the router cluster in the related art is time-consuming and inefficient.
  • an upgrade system of a router cluster including: an active main control board, a subrack, and a central switching board, where the subrack includes: a board to be upgraded;
  • the main control board is configured to receive the upgrade request of the router cluster and send the upgrade request to the central switch board.
  • the upgrade request is used to indicate that the router cluster is upgraded.
  • the central switch board is set to be triggered by the upgrade request.
  • the information about the board to be upgraded is obtained from the board to be upgraded, and the upgraded version corresponding to the board to be upgraded is sent to the board to be upgraded.
  • the board is set to receive the upgraded version sent by the central switching board and upgrade according to the upgraded version.
  • the chassis further includes: an active switching board, a standby switching board, and an active switching board.
  • an active switching board Set to receive the upgraded version sent by the central switching board, and synchronize the upgraded version to the standby switching board.
  • the standby switching board is set to receive the upgraded version of the active switching board and send the upgraded version to the pending upgrade. board.
  • the board to be upgraded is further configured to feed the upgrade result of the board to be upgraded to the center switch board through the active switch board or the standby switch board.
  • a method for upgrading a router cluster including: a central switching board in a router cluster, and an upgrade request sent by an active main control board of the router cluster;
  • the central switch board obtains the information about the board to be upgraded in each of the subracks in the router cluster.
  • the upgraded version of the board to be upgraded is sent to the board to be upgraded.
  • the central switching board sends the upgraded version to the board to be upgraded in the following manner: the central switching board upgrades the version through the active switching board and the standby switching board in the chassis where the board to be upgraded is located.
  • the board is sent to the board to be upgraded.
  • the board is configured to synchronize the upgrade version to the standby switch board.
  • the standby switch board is configured to send the upgrade version of the active switch board to the board to be upgraded.
  • the method further includes: the center switch board passes the active switch board or The standby switch board receives the upgrade result of the feedback of the board to be upgraded.
  • a method for upgrading a router cluster which includes: an upgraded version sent by a central switching board of a router cluster to be upgraded, wherein the upgraded version and the central switching board are obtained.
  • the upgraded version performs the upgrade according to the upgraded version.
  • the upgraded version sent by the central switching board of the board to be upgraded by the board to be upgraded includes: the standby switching board of the board to be upgraded through the chassis of the board to be upgraded, and the receiving center of the main switching board.
  • the upgraded version sent by the switch board includes: the standby switching board of the board to be upgraded through the chassis of the board to be upgraded, and the receiving center of the main switching board.
  • the active switch board is set to synchronize the upgraded version to the standby switch board.
  • the standby switch board is configured to send the upgraded version of the active switch board to the board to be upgraded.
  • the method further includes: the device to be upgraded feeds back the upgrade result of the board to be upgraded to the center through the active switch board or the standby switch board. veneer.
  • an apparatus for upgrading a router cluster including: a first receiving module, configured to receive an upgrade request sent by an active main control board of a router cluster; and an acquiring module, configured to After the upgrade request is triggered, the information about the board to be upgraded is obtained from each board in the router cluster. The upgrade version corresponding to the board to be upgraded is sent to the board to be upgraded.
  • the obtaining module sends the upgraded version to the to-be-upgraded board in the following manner: the obtaining module sends the upgraded version to the to-be-upgraded version through the active switching board and the standby switching board in the chassis where the board to be upgraded is located.
  • the board is configured to send the upgraded version to the standby switch board.
  • the standby switch board is configured to send the upgraded version of the active switch board to the board to be upgraded.
  • the device further includes: a second receiving module, configured to receive an upgrade result of the feedback of the board to be upgraded through the primary switching board or the standby switching board.
  • an apparatus for upgrading a router cluster including: a receiving module, configured to receive an upgraded version sent by a central switching board of a router cluster, where the upgraded version and the central switching board The upgrade version corresponding to the board information to be upgraded in each subrack of the obtained router cluster; the upgrade module is set to perform the upgrade operation according to the upgraded version.
  • the receiving module includes: a receiving unit, configured to receive an upgraded version sent by the central switching board through the standby switching board and the active switching board of the chassis where the board to be upgraded is located;
  • the board is configured to synchronize the upgraded version to the standby switch board.
  • the standby switch board is configured to send the upgraded version of the active switch board to the board to be upgraded.
  • the device further includes: a feedback module, configured to feed back the upgrade result of the board to be upgraded to the central switch board through the active switch board or the standby switch board.
  • the central switching board is introduced, and the center switching board sends the upgraded version to the board to be upgraded in each chassis in the chassis, which solves the problem that the router equipment in the router cluster is upgraded in the related art.
  • the problem of low efficiency which in turn improves the upgrade efficiency of the router cluster.
  • FIG. 1 is a first schematic diagram of an upgrade system of a router cluster according to an embodiment of the present invention
  • FIG. 2 is a second schematic diagram of an upgrade system of a router cluster according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of a method for upgrading a router cluster according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of a method for upgrading a router cluster according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram 1 of an apparatus for upgrading a router cluster according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram 2 of an apparatus for upgrading a router cluster according to an embodiment of the present invention
  • FIG. 7 is a structural block diagram 3 of an apparatus for upgrading a router cluster according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram 4 of an apparatus for upgrading a router cluster according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of internal communication connections of a multi-chassis cascade router cluster according to a preferred embodiment of the present invention.
  • FIG. 10 is a schematic diagram of internal communication connections of a chassis according to a preferred embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a center switching board upgrade task distribution according to a preferred embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a switching board upgrade task dispatching in a chassis according to a preferred embodiment of the present invention.
  • FIG. 13 is a flow chart of a router cluster upgrade method in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a schematic diagram 1 of an upgrade system of a router cluster according to an embodiment of the present invention.
  • the system includes: an active main control board 10
  • the chassis 12 includes a board to be upgraded 120.
  • the main control board 10 is configured to receive an upgrade request of the router cluster and send the upgrade request to the central exchange list.
  • the board 14 is configured to indicate that the router cluster is upgraded.
  • the central switch board 14 is configured to obtain the board to be upgraded information of each chassis of the router cluster and the board to be upgraded according to the upgrade request.
  • the upgraded version corresponding to the board information to be upgraded is sent to the board to be upgraded 120 corresponding to the board to be upgraded.
  • the board to be upgraded 120 is set to receive the upgrade version sent by the center switch board 14 and according to the upgrade.
  • the version is upgraded.
  • the central switching board 14 is introduced, and the center switching board 14 sends the upgraded version to the board to be upgraded in each chassis in the chassis, and solves the problem of upgrading the router equipment in the router cluster in the related art.
  • the problem of long duration and low efficiency further improves the efficiency of upgrading the router cluster.
  • FIG. 2 is a second schematic diagram of an upgrade system of a router cluster according to an embodiment of the present invention.
  • the chassis 12 further includes: an active switching board 122, a standby switching board 124, and an active switching board 122.
  • the upgraded version sent by the receiving central switching board 14 is synchronized, and the upgraded version is synchronized to the standby switching board 124.
  • the standby switching board 124 is configured to receive the upgraded version of the active switching board 122 and the upgraded version.
  • the board is sent to the board to be upgraded 120.
  • Each of the chassis includes an active switching board 122 and a standby switching board 124.
  • the central switching board 14 sends the upgraded version to the active switching board 122 in each chassis in units of chassis.
  • the active switching board 122 and the standby switching board 124 control the upgrade of the board to be upgraded in the chassis, thereby improving the upgrade efficiency of the router cluster.
  • the time-consuming operation of the version upgrade is from the main control list.
  • the board 10 is separated, which reduces the impact on the router function when the router cluster is upgraded.
  • the active switching board 122 can also directly send the upgraded version to the board to be upgraded 120, and control the board 120 to be upgraded for upgrading.
  • the board to be upgraded is further configured to feed back the upgrade result of the board to be upgraded to the center switch board 14 through the active switch board 122 or the standby switch board 124.
  • the upgrade result can be fed back to the user, providing the user experience.
  • FIG. 3 is a block diagram 1 of a method for upgrading a router cluster according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step S302 the central switching board in the router cluster receives the upgrade request sent by the main control board of the router cluster;
  • step S304 the central switching board obtains the information of the board to be upgraded in each frame of the router cluster, and sends the upgrade version corresponding to the board to be upgraded to the information corresponding to the board to be upgraded.
  • the board to be upgraded is the information of the board to be upgraded in each frame of the router cluster.
  • the central switching board is introduced, and the upgraded version is sent to the board to be upgraded in each chassis in the chassis, which solves the problem of upgrading the router equipment in the router cluster in the related art.
  • the problem of long duration and low efficiency further improves the efficiency of upgrading the router cluster.
  • the central switching board sends the upgraded version to the board to be upgraded in the following manner: the central switching board upgrades the version through the active switching board and the standby switching board in the chassis where the board to be upgraded is located.
  • the board is sent to the board to be upgraded.
  • the board is configured to synchronize the upgrade version to the standby switch board.
  • the standby switch board is configured to send the upgrade version of the active switch board to the board to be upgraded.
  • Each of the chassis contains an active switch board and a standby switch board.
  • the upgrade task of the router cluster is assigned to the active switch board and the standby switch board of each chassis in the chassis.
  • the upgrade efficiency of the router cluster is separated from the active main control board by the version upgrade. This reduces the impact on the router function when the router cluster is upgraded.
  • the method further includes: the center switch board passes the active switch board or The standby switch board receives the upgrade result of the feedback of the board to be upgraded. By feeding back the upgrade result to the central switching board, the upgrade result can be fed back to the user, providing the user experience.
  • FIG. 4 is a second block diagram of a method for upgrading a router cluster according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • the to-be-upgraded board receives the upgraded version sent by the central switching board of the router cluster, where the upgraded version is the upgraded version corresponding to the board to be upgraded information of each chassis in the router cluster obtained by the central switching board.
  • step S404 the board to be upgraded performs an upgrade operation according to the upgraded version.
  • the central switching board is introduced, and the upgraded version is sent to the board to be upgraded in each chassis in the chassis, which solves the problem of upgrading the router equipment in the router cluster in the related art.
  • the problem of long duration and low efficiency further improves the efficiency of upgrading the router cluster.
  • the upgraded version sent by the central switching board of the board to be upgraded by the board to be upgraded includes: the standby switching board of the board to be upgraded through the chassis of the board to be upgraded, and the receiving center of the main switching board.
  • the active switch board is set to synchronize the upgraded version to the standby switch board.
  • the standby switch board is configured to send the upgraded version of the active switch board to the board to be upgraded.
  • Each chassis contains an active exchange order
  • the upgrade task of the router cluster is assigned to the active switch board and the standby switch board of each subrack in the chassis. This greatly improves the upgrade efficiency of the router cluster and upgrades the version.
  • the time operation is separated from the active main control board, which reduces the impact on the router function when the router cluster is upgraded.
  • the method further includes: the device to be upgraded feeds back the upgrade result of the board to be upgraded to the center through the active switch board or the standby switch board. veneer. By feeding back the upgrade result to the central switching board, the upgrade result can be fed back to the user, providing the user experience.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • an apparatus for upgrading a router cluster is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 5 is a structural block diagram 1 of an apparatus for upgrading a router cluster according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes:
  • the first receiving module 52 is configured to receive an upgrade request sent by the main control board of the router cluster;
  • the obtaining module 54 is configured to: obtain, according to the upgrade request, the information of the board to be upgraded in each frame of the router cluster; and send the upgrade version corresponding to the board information to be upgraded to the information corresponding to the board to be upgraded. Upgrade the board.
  • the above-mentioned device sends the upgraded version to the board to be upgraded in each chassis in the chassis, which solves the problem that the router device in the router cluster has a long time-consuming and low-efficiency upgrade, thereby improving the upgrade efficiency of the router cluster.
  • the obtaining module 54 sends the upgraded version to the board to be upgraded in the following manner: the obtaining module 54 sends the upgraded version to the active switching board and the standby switching board of the chassis where the board to be upgraded is located.
  • the board to be upgraded is configured.
  • the active switch board is configured to synchronize the upgraded version to the standby switch board.
  • the standby switch board is configured to send the upgraded version of the active switch board to the board to be upgraded.
  • Each of the chassis contains an active switch board and a standby switch board.
  • the upgrade task of the router cluster is assigned to the active switch board and the standby switch board of each chassis in the chassis.
  • the upgrade efficiency of the router cluster is separated from the active main control board by the version upgrade. This reduces the impact on the router function when the router cluster is upgraded.
  • FIG. 6 is a structural block diagram 2 of a device for upgrading a router cluster according to an embodiment of the present invention.
  • the device includes: a second receiving module 62, configured to pass, in addition to all the modules shown in FIG.
  • the upgrade result of the feedback of the board to be upgraded is received by the active switch board or the standby switch board. Feedback results can be used to feedback upgrade results Give the user a user experience.
  • FIG. 7 is a structural block diagram 3 of an apparatus for upgrading a router cluster according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes:
  • the receiving module 72 is configured to receive an upgraded version sent by the central switching board of the router cluster, where the upgraded version is an upgraded version corresponding to the board to be upgraded information of each chassis in the router cluster acquired by the central switching board;
  • the upgrade module 74 is configured to perform an upgrade operation according to the upgraded version.
  • the above-mentioned device sends the upgraded version to the board to be upgraded in each chassis in the chassis, which solves the problem that the router device in the router cluster has a long time-consuming and low-efficiency upgrade, thereby improving the upgrade efficiency of the router cluster.
  • the receiving module 72 includes: a receiving unit, configured to receive an upgraded version sent by the central switching board through the standby switching board and the active switching board of the chassis where the board to be upgraded is located;
  • the switchboard is configured to synchronize the upgraded version to the standby switchboard.
  • the standby switchboard is configured to send the upgraded version of the active switchboard to the board to be upgraded.
  • Each of the chassis contains an active switch board and a standby switch board.
  • the upgrade task of the router cluster is assigned to the active switch board and the standby switch board of each chassis in the chassis.
  • the upgrade efficiency of the router cluster is separated from the active main control board by the version upgrade. This reduces the impact on the router function when the router cluster is upgraded.
  • FIG. 8 is a structural block diagram of a device for upgrading a router cluster according to an embodiment of the present invention.
  • the device includes: a feedback module 82, which is set to be upgraded, except for all the modules shown in FIG.
  • the upgrade result of the board is fed back to the central switch board through the active switch board or the standby switch board. By feeding back the upgrade result to the central switching board, the upgrade result can be fed back to the user, providing the user experience.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • An embodiment of the present invention provides a preferred router cluster upgrading apparatus, where the apparatus includes:
  • the main frame of the subrack is the main control board and the main control board.
  • the main control board is divided into the main control board and the main control board.
  • the switch board consists of two switch boards, that is, the active switch board and the standby switch board.
  • the main control board is connected to the PC through the Ethernet port to exchange information with the user.
  • the main switch board is connected to the standby switch board in the same chassis. In the internal communication of the router cluster, it is connected to other boards in the same chassis and the central switch board. And the bridge and the link between the boards in the chassis, while the receiving and sending of the data packets are completed by hardware, so the central processing unit of the board is relatively idle.
  • the upgrade task and the corresponding software version are distributed to the standby control board, the distribution of the upgraded version of the board to be upgraded, the control of the upgrade, the summary of the upgrade results, and the feedback of the upgrade result.
  • the standby switch board is the same as the active switch board in the same chassis. It is similar to the active switch board. It is the data channel for communication between boards and chassis in the chassis. Similarly, the data packet is received. The sending is done by hardware, so the CPU of its board is idle. During the upgrade process, the upgrade is performed according to the upgrade of the active switch board, and the upgrade of the board is completed. The upgrade result is fed back to the active switch board.
  • the central switch board is connected to the switch board and is a data in and out channel for communication between the chassis. It functions similarly to the active and standby switch boards.
  • the central processor of the board is idle.
  • the main task is to distribute the upgrade task and the corresponding software version to the active switch board of each subrack based on the information about the board to be upgraded, and feed the upgrade result back to the active main control board.
  • the chassis is the same as the part of the chassis 12 in the foregoing embodiment.
  • the active switching board has the same functions as the active switching board 122 in the foregoing embodiment.
  • the standby switching board is the same.
  • the functions of the central switching board are the same as those of the central switching board 124 in the above embodiment.
  • FIG. 9 is a schematic diagram of an internal communication connection of a multi-chassis cascade router cluster according to a preferred embodiment of the present invention.
  • the multi-frame cascade router cluster of the preferred embodiment of the present invention includes:
  • the chassis 901 includes an active switching board, a standby switching board, and other boards to be upgraded.
  • the active switching board 902 and the standby switching board 903 are stacked, and are connected to the central switching board 904, and are cascaded to form a router cluster.
  • the active switching board 902 is stacked with the standby switching board 903.
  • the central switching board 904 is connected to the internal communication of the chassis and the data channel between the chassis.
  • the standby switching board 903 is connected to the main switching board 902 and connected to the central switching board 104. Data channel for communication and board communication between chassis;
  • the central switching board 904 is connected to the main switching board and the standby switching board of each chassis, and is a data channel for communication between the chassis;
  • FIG. 10 is a schematic diagram of an internal communication connection of a chassis according to a preferred embodiment of the present invention. As shown in FIG. 10, the internal communication connection of the chassis of the preferred embodiment of the present invention includes:
  • main control board 1001 there is a main control board in the router cluster as the main control board.
  • the main control board is connected to the PC through the Ethernet interface and communicates with the user.
  • the main control board of the other chassis is the common control.
  • the board is the same as the one that is to be upgraded by the board 1004 during the upgrade process.
  • the main control board 1001 is connected to the main switch board 1002 and the standby switch board 1003.
  • the main and standby switch boards exchange data with other boards in the chassis and other chassis of the router cluster.
  • the primary switching board 1002 is the same as the primary switching board 902 in FIG.
  • the standby switch board 1003 is the same as the standby switch board 903 in FIG.
  • the board to be upgraded is connected to the main switch board 1002 and the standby switch board 1003.
  • the main and standby switch boards exchange data with other boards in the chassis and other chassis of the router cluster.
  • the upgrade control module of the active or standby switch board completes the upgrade and returns the upgrade result.
  • FIG. 11 is a schematic structural diagram of a central switching board upgrade task dispatching according to a preferred embodiment of the present invention.
  • the center switching board upgrade task dispatching structure of the preferred embodiment of the present invention includes:
  • the system configuration management module 1101 is configured to parse and transfer the communication information between the user and the upgrade device. Receiving and parsing the upgrade command in the receiving direction; parsing and transmitting various error information in the upgrade process in real time in the sending direction;
  • the central switching board upgrade control module 1102 is responsible for controlling the upgrade process.
  • the central switching board upgrade control module 1102 receives the upgrade parameters from the system configuration management module 1101, and invokes the to-be-upgraded board database operation engine 1103 to query the information of the board to be upgraded in each chassis; and upgrades the control to the active switching board according to the query result.
  • the module 1106 sends an upgrade request, and the status of the board to be upgraded in the database to be upgraded is updated to be an upgrade operation, and the version distribution module 1105 is notified to the main switch board to upgrade the control module. 1106.
  • the software version of the board to be upgraded is sent.
  • the operation of the upgraded board information database 1104 is performed, and the storage unit data of the to-be-upgraded board information database is retrieved, added, and deleted.
  • the version distribution module 1105 sends a corresponding upgrade version to the primary switching board upgrade control module 1106 according to the request of the central switching board upgrade control module 1102.
  • the primary switching board upgrade control module 1106 receives the upgrade request of the central switching board upgrade control module 1102 and receives the upgraded version sent by the version distribution module 1105.
  • FIG. 12 is a schematic structural diagram of a switching board upgrade task dispatching in a chassis according to a preferred embodiment of the present invention. As shown in FIG. 12, the structure of the in-rack switching board upgrade task distribution in the preferred embodiment of the present invention includes:
  • the upgrade control module 1201 of the active switching board 121 receives the upgrade request of the central switching board upgrade control module 1102, and receives the upgraded version sent by the version distribution module 1105 of the central switching board. According to the received upgrade request, the version upgrade task is sent to the upgrade control module 1202 of the standby switchboard 122, and the upgrade module client 1204 is notified to perform the upgrade operation, and the upgrade result is collected and fed back to the central switchboard upgrade control module 1202.
  • the upgrade control module 1202 of the standby switchboard 122 receives the upgrade request of the upgrade control module 1201 of the active switchboard 121, and notifies the upgrade module client 1204 of the upgrade operation according to the upgrade request, collects the upgrade result, and feeds back to the primary switch.
  • the version distribution module 1203 sends a corresponding upgrade version to the upgrade module client 1204 according to the request of the upgrade control module 1201 of the active switchboard 121 or the upgrade control module 1202 of the standby switchboard 122;
  • the upgrade module client 1204 receives the upgrade request of the upgrade control module 1201 of the active switchboard 121 or the upgrade control module 1202 of the standby switchboard 122, and receives the version distribution module 1203 or the standby exchange ticket of the active switchboard 121.
  • the upgraded version sent by the version distribution module 1205 of the board 122 is upgraded, and the result is fed back to the upgrade control module 1201 of the active switchboard 121 or the upgrade control module 1202 of the standby switchboard 122.
  • the present invention also provides a preferred router cluster upgrade method, the method comprising the following steps:
  • Step 1 The active main control board is connected to the PC through the Ethernet interface, and the user initiates a router cluster upgrade request.
  • Step 2 The system configuration management module of the active main control board parses the upgrade request, and notifies the upgrade control module of the central switching board to perform the upgrade operation.
  • Step 2 The upgrade control module of the central switch board searches for the information about the board to be upgraded in the router cluster, and distributes the upgrade task based on the information about the board to be upgraded. Distribute the corresponding upgrade version at the same time;
  • Step 4 The active switch board finds the information about the board to be upgraded in the chassis, and sends the upgrade task to the standby control board based on the information obtained.
  • Step 5 The primary switching board and the standby switching board send an upgrade request to the upgrade control module client of the board to be upgraded and distribute the corresponding upgrade version.
  • the upgrade result is fed back to the corresponding switch board.
  • Step 7 The standby switch board obtains the upgrade result of all the boards to be upgraded, and feeds the upgrade result back to the active switch board.
  • Step 8 The active switch board obtains the upgrade result of the upgraded board and the upgrade result of the backup switch board, and feeds the upgrade result to the center switch board.
  • Step 9 The center switching board obtains the upgrade result of the feedback from all the active switching boards and sends the result to the active main control board.
  • Step 10 The active master board feeds back the obtained upgrade result to the customer.
  • FIG. 13 is a flowchart of a method for upgrading a router cluster according to a preferred embodiment of the present invention. As shown in FIG. 5, the upgrade steps of the router cluster are as follows:
  • Step 1301 The user initiates a router cluster upgrade request.
  • Step 1302 The system configuration management module parses the router cluster upgrade request, and notifies the central switch board upgrade control module to perform an upgrade operation.
  • Step 1303 The central switching board upgrade control module receives the upgrade request information from the system configuration management module, and operates the operation engine of the to-be-upgraded board information database to query the board information database to be upgraded, and obtain the information of the board to be upgraded on each chassis.
  • Step 1304 The central switching board upgrade control module sends an upgrade request and information of the board to be upgraded to the active switching board of each chassis.
  • Step 1305 The central switching board upgrade control module notifies the version distribution module of the board to distribute the upgrade version to the active switching board of each chassis.
  • Step 1306 The primary switching board upgrade control module distributes the upgrade according to the received upgrade request and the information of the board to be upgraded. To upgrade the control module of the standby switch board, and synchronize the corresponding upgrade version to the standby switch board.
  • Step 1307 The main switch board upgrade control module notifies the upgrade module client of the board to be upgraded to perform an upgrade operation.
  • Step 1308 The primary switching board upgrade control module notifies the version distribution module to distribute the upgraded version to the upgraded board a;
  • Step 1309 The active switching board version distribution module distributes the upgrade version to the board to be upgraded a;
  • Step 1310 The version of the upgrade module client to be upgraded is upgraded.
  • Step 1311 The upgraded board returns a result to the upgrade control module of the active switching board.
  • Step 1312 The standby switching board upgrade control module notifies the client of the upgraded board b upgrade module to perform an upgrade operation
  • Step 1313 The standby switching board upgrade control module notifies the version distribution module to distribute the upgrade version of the upgraded board b;
  • Step 1314 The standby switch board version distribution module distributes the upgrade version to the board to be upgraded b.
  • Step 1315 The upgraded version b upgrade module client is upgraded
  • Step 1316 The board to be upgraded b feeds back the upgrade result to the standby switch board upgrade control module.
  • the active switching board controls the upgrade of the board to be upgraded, and the process of controlling the upgrade of the board to be upgraded by the standby switching board is performed at the same time.
  • Step 1317 After receiving the upgrade result of all the control upgrade boards, the standby switch board upgrade control module feeds back the upgrade result to the active switch board upgrade module.
  • Step 1318 After receiving the upgrade result of all the boards to be upgraded in the local chassis, the primary switching board upgrade control module feeds back the upgrade result to the central switching board upgrade control module.
  • Step 1319 After receiving the upgrade result of the board to be upgraded, the center switch board upgrade control module feeds back the upgrade result to the main control board system configuration management module.
  • Step 1320 The main control board system configuration management module parses the upgrade result, and feeds the upgrade result to the user, and the upgrade ends.
  • the present invention introduces a central switching board, an active switching board, and a standby switching board, and distributes the upgrade tasks of the router cluster to the active and standby switching boards of each chassis in units of chassis. This greatly improves the upgrade efficiency of the router cluster. At the same time, the time-consuming operation of the version upgrade is separated from the active main control board, which reduces the impact on the router function when the router cluster is upgraded.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the central switching board in the router cluster receives the upgrade request sent by the main control board of the router cluster.
  • the central switching board obtains information about the board to be upgraded in each subrack of the router cluster. And the upgraded version of the board to be upgraded is sent to the board to be upgraded.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • a central switching board is introduced, and the central switching board sends the upgraded version to the to-be-upgraded board in each chassis in the unit of the chassis, and solves the router cluster in the related art.
  • the upgrade of the router device takes a long time and the efficiency is low, thereby improving the upgrade efficiency of the router cluster.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供了一种路由器集群的升级系统、方法及装置,其中,该系统包括:主用主控单板、机框和中心交换单板,其中,机框包括:待升级单板;主用主控单板,用于接收路由器集群的升级请求,以及将升级请求发送给中心交换单板;中心交换单板,用于在升级请求的触发下,获取路由器集群的各个机框的待升级单板信息,以及根据待升级单板信息将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板;待升级单板,用于接收中心交换单板发送的升级版本,以及根据升级版本进行升级。解决了相关技术中路由器集群中路由器设备升级耗时长、效率低的问题,进而提高了路由器集群的升级效率。

Description

路由器集群的升级系统、方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种路由器集群的升级系统、方法及装置。
背景技术
随着因特网的高速发展,互联网协议(Internet Protocol,简称IP)网络逐渐成为人们日常工作和生活中必不可少的工具,互联网应用从最初的聊天,电子邮件,发展到今天的对等网络(Peer to Peer,简称P2P)下载,视频聊天等,无论是从应用模式,还是网络流量都发生了翻天覆地的变化。相应地,人们对互联网宽带网络的设备能力也提出了极高的要求,路由器集群应运而生。路由器集群,就是将多台路由器互联起来,形成一套逻辑上一体的路由器系统。众所周知,随着路由器集群在电信行业的大规模使用,以及用户对网络设备性能需求在不断提高,路由器集群的软件更新必然更加频繁。
相关技术中的路由器设备包含一块全局主用主控板、多块全局备用主控板以及多块接口板,其升级的方法是:(1)在全局主用主控板正常运行的情况下,升级全局主用主控板所在机框的备用主控板;(2)进行主备倒换,让已经升级的备用主控板成为新的全局主用主控板,接替原全局主用主控板工作;(3)依次升级所有接口板;(4)依次升级其它主控板;(5)直到所有单板都升级到新版本,升级过程结束。而路由器集群是由多台路由器互联起来的路由器系统,其有几十上百块单板,按照相关技术中的路由器设备的升级方法软件升级耗时巨大,升级效率较低。
针对相关技术中,路由器集群中路由器设备升级耗时长、效率低的问题,目前尚未提出有效的解决方案。
发明内容
本发明提供了一种路由器集群的升级系统、方法及装置,以至少解决相关技术中路由器集群中路由器设备升级耗时长、效率低的问题。
根据本发明实施例的一个实施例,提供了一种路由器集群的升级系统,包括:主用主控单板、机框和中心交换单板,其中,机框包括:待升级单板;主用主控单板,设置为接收路由器集群的升级请求,以及将升级请求发送给中心交换单板,其中,升级请求用于指示路由器集群进行升级;中心交换单板,设置为在升级请求的触发下,获取路由器集群的各个机框的待升级单板信息,以及根据待升级单板信息将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板;待升级单板,设置为接收中心交换单板发送的升级版本,以及根据升级版本进行升级。
在本发明实施例中,上述机框还包括:主用交换单板,备用交换单板;主用交换单板, 设置为接收中心交换单板发送的升级版本,以及将升级版本同步至备用交换单板;备用交换单板,设置为接收主用交换单板同步的升级版本,以及将升级版本发送给待升级单板。
在本发明实施例中,待升级单板还设置为将待升级单板的升级结果通过主用交换单板或者备用交换单板反馈给中心交换单板。
根据本发明实施例的另一实施例,提供了一种路由器集群的升级方法,包括:路由器集群中的中心交换单板,接收路由器集群的主用主控单板发送的升级请求;在升级请求的触发下,中心交换单板获取路由器集群中各个机框的待升级单板信息;以及将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板。
在本发明实施例中,中心交换单板通过以下方式将升级版本发送给待升级单板:中心交换单板经由待升级单板所在机框的主用交换单板、备用交换单板将升级版本发送给待升级单板;其中,主用交换单板设置为将升级版本同步到备用交换单板;备用交换单板设置为将主用交换单板同步的升级版本发送给待升级单板。
在本发明实施例中,将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板之后,上述方法还包括:中心交换单板通过主用交换单板或者备用交换单板接收待升级单板反馈的升级结果。
根据本发明实施例的另一实施例,提供了一种路由器集群的升级方法,包括:待升级单板接收路由器集群的中心交换单板发送的升级版本,其中,升级版本与中心交换单板获取的路由器集群中各个机框的待升级单板信息对应的升级版本;待升级单板根据升级版本执行升级操作。
在本发明实施例中,待升级单板接收路由器集群的中心交换单板发送的升级版本包括:待升级单板经由待升级单板所在机框的备用交换单板、主用交换单板接收中心交换单板发送的升级版本;其中,主用交换单板设置为将升级版本同步到备用交换单板;备用交换单板设置为将主用交换单板同步的升级版本发送给待升级单板。
在本发明实施例中,待升级单板根据升级版本执行升级操作之后,上述方法还包括:待升级设备将待升级单板的升级结果通过主用交换单板或者备用交换单板反馈给中心交换单板。
根据本发明实施例的另一实施例,提供了一种路由器集群的升级装置,包括:第一接收模块,设置为接收路由器集群的主用主控单板发送的升级请求;获取模块,设置为在升级请求的触发下,获取路由器集群中各个机框的待升级单板信息;以及将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板。
在本发明实施例中,获取模块通过以下方式将升级版本发送给待升级单板:获取模块经由待升级单板所在机框的主用交换单板、备用交换单板将升级版本发送给待升级单板;其中,主用交换单板设置为将升级版本同步到备用交换单板;备用交换单板设置为将主用交换单板同步的升级版本发送给待升级单板。
在本发明实施例中,上述装置还包括:第二接收模块,设置为通过主用交换单板或者备用交换单板接收待升级单板反馈的升级结果。
根据本发明实施例的另一实施例,提供了一种路由器集群的升级装置,包括:接收模块,设置为接收路由器集群的中心交换单板发送的升级版本,其中,升级版本与中心交换单板获取的路由器集群中各个机框的待升级单板信息对应的升级版本;升级模块,设置为根据升级版本执行升级操作。
在本发明实施例中,接收模块包括:接收单元,设置为经由待升级单板所在机框的备用交换单板、主用交换单板接收中心交换单板发送的升级版本;其中,主用交换单板设置为将升级版本同步到备用交换单板;备用交换单板设置为将主用交换单板同步的升级版本发送给待升级单板。
在本发明实施例中,装置还包括:反馈模块,设置为将待升级单板的升级结果通过主用交换单板或者备用交换单板反馈给中心交换单板。
通过本发明,采用引入了中心交换单板,该中心交换单板以机框为单位将升级版本发送给各个机框内的待升级单板,解决了相关技术中路由器集群中路由器设备升级耗时长、效率低的问题,进而提高了路由器集群的升级效率。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的路由器集群的升级系统的示意图一;
图2是根据本发明实施例的路由器集群的升级系统的示意图二;
图3是根据本发明实施例的路由器集群的升级方法的流程框图一;
图4是根据本发明实施例的路由器集群的升级方法的流程框图二;
图5是根据本发明实施例的路由器集群的升级装置的结构框图一;
图6是根据本发明实施例的路由器集群的升级装置的结构框图二;
图7是根据本发明实施例的路由器集群的升级装置的结构框图三;
图8是根据本发明实施例的路由器集群的升级装置的结构框图四;
图9是根据本发明优选实施例的多机框级联路由器集群的内部通信连接示意图;
图10是根据本发明优选实施例的机框的内部通讯连接示意图;
图11是根据本发明优选实施例的中心交换单板升级任务派发的结构示意图;
图12是根据本发明优选实施例的机框内的交换单板升级任务派发的结构示意图;
图13是根据本发明优选实施例的路由器集群升级方法的流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种路由器集群的升级系统,图1是根据本发明实施例的路由器集群的升级系统的示意图一,如图1所示,该系统包括:主用主控单板10、机框12和中心交换单板14,其中,机框12包括:待升级单板120;主用主控单板10,设置为接收路由器集群的升级请求,以及将升级请求发送给中心交换单板14,其中,升级请求用于指示路由器集群进行升级;中心交换单板14,设置为在升级请求的触发下,获取路由器集群的各个机框的待升级单板信息,以及根据待升级单板信息将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板120;待升级单板120,设置为接收中心交换单板14发送的升级版本,以及根据升级版本进行升级。
上述系统,引入了中心交换单板14,以及该中心交换单板14以机框为单位将升级版本发送给各个机框内的待升级单板,解决了相关技术中路由器集群中路由器设备升级耗时长、效率低的问题,进而提高了路由器集群的升级效率。
图2是根据本发明实施例的路由器集群的升级系统的示意图二,如图2所示,上述机框12还包括:主用交换单板122,备用交换单板124;主用交换单板122,设置为接收中心交换单板14发送的升级版本,以及将升级版本同步至备用交换单板124;备用交换单板124,设置为接收主用交换单板122同步的升级版本,以及将升级版本发送给待升级单板120。
每个机框中都包含一个主用交换单板122和备用交换单板124,该中心交换单板14以机框为单位将升级版本发送给各个机框内的主用交换单板122,由该主用交换单板122和备用交换单板124控制该机框内待升级单板120进行升级,提高了路由器集群的升级效率;另外,将版本升级这种耗时操作从主用主控单板10中分离出来,减少了路由器集群升级时对路由器功能的影响。
需要说明的是,主用交换单板122还可以直接将升级版本发送给待升级单板120,控制待升级单板120进行升级。
在本发明实施例中,待升级单板120还设置为将待升级单板120的升级结果通过主用交换单板122或者备用交换单板124反馈给中心交换单板14。通过将升级结果反馈给中心交换单板14,进而能够将升级结果反馈给用户,提供了用户的体验度。
在本实施例中还提供了一种路由器集群的升级方法,图3是根据本发明实施例的路由器集群的升级方法的流程框图一,如图3所示,包括:
步骤S302,路由器集群中的中心交换单板,接收路由器集群的主用主控单板发送的升级请求;
步骤S304,在升级请求的触发下,中心交换单板获取路由器集群中各个机框的待升级单板信息;以及将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板。
通过上述步骤,通过引入了中心交换单板,以及该中心交换单板以机框为单位将升级版本发送给各个机框内的待升级单板,解决了相关技术中路由器集群中路由器设备升级耗时长、效率低的问题,进而提高了路由器集群的升级效率。
在本发明实施例中,中心交换单板通过以下方式将升级版本发送给待升级单板:中心交换单板经由待升级单板所在机框的主用交换单板、备用交换单板将升级版本发送给待升级单板;其中,主用交换单板设置为将升级版本同步到备用交换单板;备用交换单板设置为将主用交换单板同步的升级版本发送给待升级单板。每个机框中都包含一个主用交换单板和备用交换单板,将路由器集群的升级任务以机框为单位分派给各机框的主用交换单板和备用交换单板,大大提高了路由器集群的升级效率,将版本升级这种耗时操作从主用主控单板中分离出来,减少了路由器集群升级时对路由器功能的影响。
在本发明实施例中,将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板之后,上述方法还包括:中心交换单板通过主用交换单板或者备用交换单板接收待升级单板反馈的升级结果。通过将升级结果反馈给中心交换单板,进而能够将升级结果反馈给用户,提供了用户的体验度。
在本实施例中还提供了一种路由器集群的升级方法,图4是根据本发明实施例的路由器集群的升级方法的流程框图二,如图4所示,包括:
步骤S402,待升级单板接收路由器集群的中心交换单板发送的升级版本,其中,升级版本与中心交换单板获取的路由器集群中各个机框的待升级单板信息对应的升级版本;
步骤S404,待升级单板根据升级版本执行升级操作。
通过上述步骤,通过引入了中心交换单板,以及该中心交换单板以机框为单位将升级版本发送给各个机框内的待升级单板,解决了相关技术中路由器集群中路由器设备升级耗时长、效率低的问题,进而提高了路由器集群的升级效率。
在本发明实施例中,待升级单板接收路由器集群的中心交换单板发送的升级版本包括:待升级单板经由待升级单板所在机框的备用交换单板、主用交换单板接收中心交换单板发送的升级版本;其中,主用交换单板设置为将升级版本同步到备用交换单板;备用交换单板设置为将主用交换单板同步的升级版本发送给待升级单板。每个机框中都包含一个主用交换单 板和备用交换单板,将路由器集群的升级任务以机框为单位分派给各机框的主用交换单板和备用交换单板,大大提高了路由器集群的升级效率,将版本升级这种耗时操作从主用主控单板中分离出来,减少了路由器集群升级时对路由器功能的影响。
在本发明实施例中,待升级单板根据升级版本执行升级操作之后,上述方法还包括:待升级设备将待升级单板的升级结果通过主用交换单板或者备用交换单板反馈给中心交换单板。通过将升级结果反馈给中心交换单板,进而能够将升级结果反馈给用户,提供了用户的体验度。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
在本实施例中还提供了一种路由器集群的升级装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图5是根据本发明实施例的路由器集群的升级装置的结构框图一,如图5所示,该装置包括:
第一接收模块52,设置为接收路由器集群的主用主控单板发送的升级请求;
获取模块54,设置为在升级请求的触发下,获取路由器集群中各个机框的待升级单板信息;以及将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板。
上述装置以机框为单位将升级版本发送给各个机框内的待升级单板,解决了相关技术中路由器集群中路由器设备升级耗时长、效率低的问题,进而提高了路由器集群的升级效率。
在本发明实施例中,获取模块54通过以下方式将升级版本发送给待升级单板:获取模块54经由待升级单板所在机框的主用交换单板、备用交换单板将升级版本发送给待升级单板;其中,主用交换单板设置为将升级版本同步到备用交换单板;备用交换单板设置为将主用交换单板同步的升级版本发送给待升级单板。每个机框中都包含一个主用交换单板和备用交换单板,将路由器集群的升级任务以机框为单位分派给各机框的主用交换单板和备用交换单板,大大提高了路由器集群的升级效率,将版本升级这种耗时操作从主用主控单板中分离出来,减少了路由器集群升级时对路由器功能的影响。
图6是根据本发明实施例的路由器集群的升级装置的结构框图二,如图6所示,该装置除包括图6所示的所有模块外,还包括:第二接收模块62,设置为通过主用交换单板或者备用交换单板接收待升级单板反馈的升级结果。通过反馈升级结果,进而能够将升级结果反馈 给用户,提供了用户的体验度。
在本实施例中还提供了一种路由器集群的升级装置,图7是根据本发明实施例的路由器集群的升级装置的结构框图三,如图7所示,该装置包括:
接收模块72,设置为接收路由器集群的中心交换单板发送的升级版本,其中,升级版本与中心交换单板获取的路由器集群中各个机框的待升级单板信息对应的升级版本;
升级模块74,设置为根据升级版本执行升级操作。
上述装置以机框为单位将升级版本发送给各个机框内的待升级单板,解决了相关技术中路由器集群中路由器设备升级耗时长、效率低的问题,进而提高了路由器集群的升级效率。
在本发明实施例中,接收模块72包括:接收单元,设置为经由待升级单板所在机框的备用交换单板、主用交换单板接收中心交换单板发送的升级版本;其中,主用交换单板设置为将升级版本同步到备用交换单板;备用交换单板设置为将主用交换单板同步的升级版本发送给待升级单板。每个机框中都包含一个主用交换单板和备用交换单板,将路由器集群的升级任务以机框为单位分派给各机框的主用交换单板和备用交换单板,大大提高了路由器集群的升级效率,将版本升级这种耗时操作从主用主控单板中分离出来,减少了路由器集群升级时对路由器功能的影响。
图8是根据本发明实施例的路由器集群的升级装置的结构框图四,如图8所示,该装置除包括图8所示的所有模块外,还包括:反馈模块82,设置为将待升级单板的升级结果通过主用交换单板或者备用交换单板反馈给中心交换单板。通过将升级结果反馈给中心交换单板,进而能够将升级结果反馈给用户,提供了用户的体验度。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
以下结合优选的实施例对本发明进行进一步说明。
本发明实施例提供了一种优选的路由器集群升级装置,该装置包括:
机框,包含主控单板,交换单板,及其他单板,通过机框级联形成路由器集群,其中主控单板分为主用主控单板和普通主控单板,一个机框包含两块交换单板,即主用交换单板和备用交换单板;
主用主控单板,通过以太网口同PC相连,与用户进行信息交流;
主用交换单板,与同一机框内的备用交换单板堆叠,在路由器集群的内部通讯中,与同一机框内其他单板及中心交换单板相连,是所在机框同其它机框间,及机框内单板间通讯的桥梁和纽带,同时数据包的接收和发送由硬件完成,因此其单板的中央处理器比较空闲。在软件升级过程中主要负责派发升级任务及相应的软件版本给备用主控单板、机框内待升级单板升级版本的分发、升级的控制、升级结果的汇总、以及升级结果的反馈;
备用交换单板,与同一机框内的主用交换单板堆叠,与主用交换单板功能相似,是机框内各单板及机框间通信的数据通道,同样,数据包的接收和发送由硬件完成,因此其单板的中央处理器比较空闲。在升级过程中,按照主用交换单板的升级派发任务,控制完成相应单板的升级,并将升级结果反馈给主用交换单板;
中心交换单板,与交换单板相连,是各机框间通信的数据进出通道,同主用和备用交换单板功能相似,其单板的中央处理器比较空闲。在升级过程中,主要职责是根据待升级单板信息派发升级任务及相应的软件版本给各机框的主用交换单板,并将升级结果反馈给主用主控单板。
在本发明优选实施例中,机框是上述实施例中的机框12的部分功能相同,主用交换单板与上述实施例中的主用交换单板122的部分功能相同,备用交换单板与上述实施例中的备用交换单板124的部分功能相同,中心交换单板与上述实施例中的中心交换单板14的部分功能相同。
图9是根据本发明优选实施例的多机框级联路由器集群的内部通信连接示意图,如图1所示,本发明优选实施例的多框级联路由器集群包括:
机框901,包含主用交换单板,备用交换单板,及其他待升级单板。其中主用交换单板902和备用交换单板903堆叠,与中心交换单板904相连,通过机框级联组成路由器集群;其中,主用交换单板902,与备用交换单板903堆叠,与中心交换单板904相连,是机框内部通讯及机框间通讯的数据通道;备用交换单板903,与主用交换单板902堆叠,与中心交换单板104相连,是机框内部单板通讯及机框间单板通讯的数据通道;
中心交换单板904,与各机框的主用交换单板和备用交换单板相连,是机框间通讯的数据通道;
图10是根据本发明优选实施例的机框的内部通讯连接示意图,如图10所示,本发明优选实施例的机框内部通讯连接包括:
主控单板1001,路由器集群中有一块主控单板为主用主控单板,其通过以太网口同PC相连,与用户进行数据交流;其余机框的主控单板为普通主控单板,在升级过程中,同待升级单板1004完成的操作相同。主控单板1001与主用交换单板1002和备用交换单板1003相连,通过主用和备用交换单板与机框中的其他单板及路由器集群的其他机框进行数据交流。
主用交换单板1002,同图1中的主用交换单板902相同。
备用交换单板1003,同图1中的备用交换单板903相同。
待升级单板1004,同主用交换单板1002和备用交换单板1003相连,通过主用和备用交换单板与机框中的其他单板及路由器集群的其他机框进行数据交流;在升级过程中受主用或备用交换单板的升级控制模块控制完成升级操作,并反馈升级结果。
图11是根据本发明优选实施例的中心交换单板升级任务派发的结构示意图,如图11所示,本发明优选实施例的中心交换单板升级任务派发的结构包含:
系统配置管理模块1101,用以解析并传递用户与升级装置之间的交流信息。在接收方向上,接收并解析升级命令;在发送方向上,实时的解析并传递升级过程中的各种错误信息;
中心交换单板升级控制模块1102,负责控制升级流程。中心交换单板升级控制模块1102从系统配置管理模块1101接收升级参数,调用待升级单板数据库操作引擎1103,查询各机框的待升级单板信息;根据查询结果向主用交换单板升级控制模块1106发送升级请求,同时通过待升级单板数据库操作引擎1103更新待升级单板信息数据库中待升级单板状态为正在进行升级作业,并通知版本分发模块1105向主用交换单板升级控制模块1106发送待升级单板的软件版本;
待升级单板数据库操作引擎1103,负责对待升级单板信息数据库1104进行操作和维护,包括检索、添加和删除待升级单板信息数据库的存储单元数据;
待升级单板信息数据库1104,保存用于查找匹配软件版本的硬件信息、待升级单板的状态等信息;
版本分发模块1105,根据中心交换单板升级控制模块1102的请求向主用交换单板升级控制模块1106发送相应的升级版本;
主用交换单板升级控制模块1106,接收中心交换单板升级控制模块1102的升级请求,并接收来自版本分发模块1105发送的升级版本。
图12是根据本发明优选实施例的机框内的交换单板升级任务派发的结构示意图,如图12所示,本发明优选实施例的机框内交换单板升级任务派发的结构包括:
主用交换单板121的升级控制模块1201,接收中心交换单板升级控制模块1102的升级请求,并接收来自中心交换单板的版本分发模块1105发送的升级版本。根据接收的升级请求,派发版本升级任务给备用交换单板122的升级控制模块1202,同时通知升级模块客户端1204进行升级操作,并搜集升级结果,反馈给中心交换单板升级控制模块1202;
备用交换单板122的升级控制模块1202,接收主用交换单板121的升级控制模块1201的升级请求,并根据升级请求通知升级模块客户端1204进行升级操作,搜集升级结果,反馈给主用交换单板121的升级控制模块1201;
版本分发模块1203,根据主用交换单板121的升级控制模块1201或备用交换单板122的升级控制模块1202的请求向升级模块客户端1204发送相应的升级版本;
升级模块客户端1204,接收主用交换单板121的升级控制模块1201或备用交换单板122的升级控制模块1202的升级请求,并接收主用交换单板121的版本分发模块1203或者备用交换单板122的版本分发模块1205发送的升级版本,进行升级操作,并将结果反馈给主用交换单板121的升级控制模块1201或备用交换单板122的升级控制模块1202。
本发明还提供了一种优选的路由器集群升级方法,该方法包括以下步骤:
步骤1.主用主控单板通过以太网口同PC相连,用户发起路由器集群升级请求;
步骤2.主用主控单板的系统配置管理模块解析升级请求,通知中心交换单板的升级控制模块进行升级操作;
步骤2.中心交换单板的升级控制模块查找路由器集群的待升级单板信息数据库,根据各机框的待升级单板信息派发升级任务,通知各机框的主用交换单板进行升级操作,同时分发相应的升级版本;
步骤4.主用交换单板查找机框内待升级单板信息,根据查找到的信息派发升级任务给备用主控单板,同时同步相应的升级版本到备用交换单板;
步骤5.主用交换单板和备用交换单板向待升级单板的升级控制模块客户端发送升级请求同时分发相应的升级版本;
步骤6.待升级单板的升级模块客户端升级完成后,向相应的交换单板反馈升级结果;
步骤7.备用交换单板获得所有待升级单板升级结果,并将升级结果反馈给主用交换单板;
步骤8.主用交换单板获得所有汇总待升级单板的升级结果及备用交换单板反馈的升级结果,并将升级结果反馈给中心交换单板;
步骤9.中心交换单板获得所有主用交换单板反馈的升级结果,发送给主用主控单板;
步骤10.主用主控单板将获得的升级结果反馈给客户。
图13是根据本发明优选实施例的路由器集群升级方法的流程图,如图5所示,路由器集群的升级步骤如下:
步骤1301:用户发起路由器集群升级请求;
步骤1302:系统配置管理模块解析路由器集群升级请求,通知中心交换单板升级控制模块进行升级操作;
步骤1303:中心交换单板升级控制模块接收来自系统配置管理模块的升级请求信息,操作待升级单板信息数据库操作引擎,查询待升级单板信息数据库,获得各机框上待升级单板信息;
步骤1304:中心交换单板升级控制模块向各机框的主用交换单板发送升级请求及待升级单板信息;
步骤1305:中心交换单板升级控制模块通知本单板的版本分发模块向各机框的主用交换单板分发升级版本;
步骤1306:主用交换单板升级控制模块根据接收的升级请求及待升级单板信息,派发升 级任务给备用交换单板的升级控制模块,同时同步相应的升级版本给备用交换单板;
步骤1307:主用交换单板升级控制模块通知待升级单板a升级模块客户端进行升级操作;
步骤1308:主用交换单板升级控制模块通知版本分发模块对待升级单板a分发升级版本;
步骤1309:主用交换单板版本分发模块向待升级单板a分发升级版本;
步骤1310:待升级版本a升级模块客户端进行版本升级;
步骤1311:待升级单板a向主用交换单板升级控制模块反馈升级结果;
步骤1312:备用交换单板升级控制模块通知待升级单板b升级模块客户端进行升级操作;
步骤1313:备用交换单板升级控制模块通知版本分发模块对待升级单板b分发升级版本;
步骤1314:备用交换单板版本分发模块向待升级单板b分发升级版本;
步骤1315:待升级版本b升级模块客户端进行版本升级;
步骤1316:待升级单板b向备用交换单板升级控制模块反馈升级结果;
其中步骤1307至步骤1311,主用交换单板控制待升级单板a升级,和步骤1312至步骤1316,备用交换单板控制待升级单板b升级的过程是同时进行的。
步骤1317:备用交换单板升级控制模块接收到所有控制升级单板的升级结果后,反馈升级结果给主用交换单板升级模块;
步骤1318:主用交换单板升级控制模块接收到本机框内所有待升级单板的升级结果后,反馈升级结果给中心交换单板升级控制模块;
步骤1319:中心交换单板升级控制模块接收到路由器集群所有机框待升级单板的升级结果后,反馈升级结果给主用主控单板系统配置管理模块;
步骤1320:主用主控单板系统配置管理模块解析升级结果,并将升级结果反馈给用户,升级结束。
与相关技术相比较,本发明引入了中心交换单板,主用交换单板和备用交换单板,将路由器集群的升级任务以机框为单位分派给各机框的主用和备用交换单板,大大提高了路由器集群的升级效率,同时将版本升级这种耗时操作从主用主控单板中分离出来,减小了路由器集群升级时对路由器功能的影响。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,路由器集群中的中心交换单板,接收路由器集群的主用主控单板发送的升级请求;
S2,在升级请求的触发下,中心交换单板获取路由器集群中各个机框的待升级单板信息; 以及将与待升级单板信息对应的升级版本发送给与待升级单板信息对应的待升级单板。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
基于本发明实施例提供的上述技术方案,引入了中心交换单板,该中心交换单板以机框为单位将升级版本发送给各个机框内的待升级单板,解决了相关技术中路由器集群中路由器设备升级耗时长、效率低的问题,进而提高了路由器集群的升级效率。

Claims (15)

  1. 一种路由器集群的升级系统,包括:主用主控单板、机框和中心交换单板,其中,所述机框包括:待升级单板;
    所述主用主控单板,设置为接收路由器集群的升级请求,以及将所述升级请求发送给所述中心交换单板,其中,所述升级请求用于指示所述路由器集群进行升级;
    所述中心交换单板,设置为在所述升级请求的触发下,获取所述路由器集群的各个机框的待升级单板信息,以及根据所述待升级单板信息将与所述待升级单板信息对应的升级版本发送给与所述待升级单板信息对应的所述待升级单板;
    所述待升级单板,设置为接收所述中心交换单板发送的所述升级版本,以及根据所述升级版本进行升级。
  2. 根据权利要求1所述的系统,其中,所述机框还包括:主用交换单板,备用交换单板;
    所述主用交换单板,设置为接收所述中心交换单板发送的所述升级版本,以及将所述升级版本同步至所述备用交换单板;
    所述备用交换单板,设置为接收所述主用交换单板同步的所述升级版本,以及将所述升级版本发送给所述待升级单板。
  3. 根据权利要求2所述的系统,其中,所述待升级单板还设置为将所述待升级单板的升级结果通过所述主用交换单板或者所述备用交换单板反馈给所述中心交换单板。
  4. 一种路由器集群的升级方法,包括:
    路由器集群中的中心交换单板,接收所述路由器集群中主用主控单板发送的升级请求;
    在所述升级请求的触发下,所述中心交换单板获取所述路由器集群中各个机框的待升级单板信息;以及将与所述待升级单板信息对应的升级版本发送给与所述待升级单板信息对应的所述待升级单板。
  5. 根据权利要求4所述的方法,其中,所述中心交换单板通过以下方式将所述升级版本发送给所述待升级单板:
    所述中心交换单板经由所述待升级单板所在机框的主用交换单板、备用交换单板将所述升级版本发送给所述待升级单板;其中,所述主用交换单板设置为将所述升级版本同步到所述备用交换单板;所述备用交换单板设置为将所述主用交换单板同步的所述升级版本发送给所述待升级单板。
  6. 根据权利要求5所述的方法,其中,将与所述待升级单板信息对应的升级版本发送给与所述待升级单板信息对应的所述待升级单板之后,所述方法还包括:
    所述中心交换单板通过所述主用交换单板或者所述备用交换单板接收所述待升级单 板反馈的升级结果。
  7. 一种路由器集群的升级方法,包括:
    待升级单板接收所述路由器集群的中心交换单板发送的升级版本,其中,所述升级版本与所述中心交换单板获取的所述路由器集群中各个机框的待升级单板信息对应的升级版本;
    所述待升级单板根据所述升级版本执行升级操作。
  8. 根据权利要求7所述的方法,其中,待升级单板接收所述路由器集群的中心交换单板发送的升级版本包括:
    所述待升级单板经由所述待升级单板所在机框的备用交换单板、主用交换单板接收所述中心交换单板发送的所述升级版本;其中,所述主用交换单板设置为将所述升级版本同步到所述备用交换单板;所述备用交换单板设置为将所述主用交换单板同步的所述升级版本发送给所述待升级单板。
  9. 根据权利要求8所述的方法,其中,所述待升级单板根据所述升级版本执行升级操作之后,所述方法还包括:
    所述待升级单板将所述待升级单板的升级结果通过所述主用交换单板或者所述备用交换单板反馈给所述中心交换单板。
  10. 一种路由器集群的升级装置,包括:
    第一接收模块,设置为接收所述路由器集群的主用主控单板发送的升级请求;
    获取模块,设置为在所述升级请求的触发下,获取所述路由器集群中各个机框的待升级单板信息;以及将与所述待升级单板信息对应的升级版本发送给与所述待升级单板信息对应的所述待升级单板。
  11. 根据权利要求10所述的装置,其中,所述获取模块通过以下方式将所述升级版本发送给所述待升级单板:
    所述获取模块经由所述待升级单板所在机框的主用交换单板、备用交换单板将所述升级版本发送给所述待升级单板;其中,所述主用交换单板设置为将所述升级版本同步到所述备用交换单板;所述备用交换单板设置为将所述主用交换单板同步的所述升级版本发送给所述待升级单板。
  12. 根据权利要求11所述的装置,其中,所述装置还包括:
    第二接收模块,设置为通过所述主用交换单板或者所述备用交换单板接收所述待升级单板反馈的升级结果。
  13. 一种路由器集群的升级装置,包括:
    接收模块,设置为接收所述路由器集群的中心交换单板发送的升级版本,其中,所述升级版本与所述中心交换单板获取的所述路由器集群中各个机框的待升级单板信息对应的升级版本;
    升级模块,设置为根据所述升级版本执行升级操作。
  14. 根据权利要求13所述的装置,其中,所述接收模块包括:
    接收单元,设置为经由所述待升级单板所在机框的备用交换单板、主用交换单板接收所述中心交换单板发送的所述升级版本;其中,所述主用交换单板设置为将所述升级版本同步到所述备用交换单板;所述备用交换单板设置为将所述主用交换单板同步的所述升级版本发送给所述待升级单板。
  15. 根据权利要求14所述的装置,其中,所述装置还包括:
    反馈模块,设置为将所述待升级单板的升级结果通过所述主用交换单板或者所述备用交换单板反馈给所述中心交换单板。
PCT/CN2016/079321 2015-07-21 2016-04-14 路由器集群的升级系统、方法及装置 WO2016180156A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510431711.9 2015-07-21
CN201510431711.9A CN106357546A (zh) 2015-07-21 2015-07-21 路由器集群的升级系统、方法及装置

Publications (1)

Publication Number Publication Date
WO2016180156A1 true WO2016180156A1 (zh) 2016-11-17

Family

ID=57248612

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079321 WO2016180156A1 (zh) 2015-07-21 2016-04-14 路由器集群的升级系统、方法及装置

Country Status (2)

Country Link
CN (1) CN106357546A (zh)
WO (1) WO2016180156A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10824413B2 (en) 2018-07-23 2020-11-03 International Business Machines Corporation Maintenance of computing nodes concurrently in a number updated dynamically
CN113220507A (zh) * 2021-04-28 2021-08-06 杭州迪普科技股份有限公司 双主控系统的版本一致性检验方法及装置
CN115022164A (zh) * 2022-05-31 2022-09-06 广州助蜂网络科技有限公司 一种基于dos命令的设备远程升级控制方法和系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388658B (zh) * 2018-09-21 2022-05-17 麒麟合盛网络技术股份有限公司 一种数据确定方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316035A (zh) * 2011-09-06 2012-01-11 中兴通讯股份有限公司 集群路由器系统中前后台通讯及数据安全处理方法
CN103200026A (zh) * 2013-02-21 2013-07-10 中兴通讯股份有限公司 固件的升级方法及系统
CN103856349A (zh) * 2012-12-07 2014-06-11 华为技术有限公司 多核路由器的版本升级处理方法及多核路由器
US20140297774A1 (en) * 2013-03-29 2014-10-02 Bala Sridhar Munupalle System for managing configuration updates in cluster of computational devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616031B (zh) * 2009-07-21 2011-09-21 中兴通讯股份有限公司 一种先进电信计算架构中设置单板参数的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316035A (zh) * 2011-09-06 2012-01-11 中兴通讯股份有限公司 集群路由器系统中前后台通讯及数据安全处理方法
CN103856349A (zh) * 2012-12-07 2014-06-11 华为技术有限公司 多核路由器的版本升级处理方法及多核路由器
CN103200026A (zh) * 2013-02-21 2013-07-10 中兴通讯股份有限公司 固件的升级方法及系统
US20140297774A1 (en) * 2013-03-29 2014-10-02 Bala Sridhar Munupalle System for managing configuration updates in cluster of computational devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10824413B2 (en) 2018-07-23 2020-11-03 International Business Machines Corporation Maintenance of computing nodes concurrently in a number updated dynamically
CN113220507A (zh) * 2021-04-28 2021-08-06 杭州迪普科技股份有限公司 双主控系统的版本一致性检验方法及装置
CN113220507B (zh) * 2021-04-28 2023-08-22 杭州迪普科技股份有限公司 双主控系统的版本一致性检验方法及装置
CN115022164A (zh) * 2022-05-31 2022-09-06 广州助蜂网络科技有限公司 一种基于dos命令的设备远程升级控制方法和系统

Also Published As

Publication number Publication date
CN106357546A (zh) 2017-01-25

Similar Documents

Publication Publication Date Title
US10298457B2 (en) Synchronization of configuration file of virtual application distribution chassis
US11575592B2 (en) Message processing method and apparatus, control-plane device, and computer storage medium
EP2182670A1 (en) A method and apparatus for tracking clock source
WO2016180156A1 (zh) 路由器集群的升级系统、方法及装置
CN105607954A (zh) 一种有状态容器在线迁移的方法和装置
US9088477B2 (en) Distributed fabric management protocol
CN105677380B (zh) 一种双主控隔离的逐板升级的方法及装置
US11403319B2 (en) High-availability network device database synchronization
US9866437B2 (en) Methods and systems of managing an interconnection network
CN104811403A (zh) 基于开放流的组表处理方法、装置及组表配置单元
WO2016070566A1 (zh) 云终端升级方法、系统、网管服务器及代理服务器
CN108259605B (zh) 一种基于多数据中心的数据调用系统及方法
CN105656661B (zh) 一种单板的软件管理方法及系统
CN110958150B (zh) 一种服务动态配置的管理方法及装置
US10776392B2 (en) Apparatus and method to establish a connection between apparatuses while synchronization of connection information thereof is suspended
CN111241200B (zh) 基于SQLite数据库的主备同步处理方法及装置
CN106169982B (zh) 扩展端口的处理方法、装置及系统
US11973824B2 (en) Method for data transmission of audio and video in end-to-end system
CN104468767A (zh) 一种云存储数据冲突检测方法及系统
CN113568638A (zh) 基于镜像仓库的电力监控系统容器化不停机发布方法
US20200341968A1 (en) Differential Update of Local Cache from Central Database
JP2008234373A (ja) 負荷分散システム及び方法
US7813384B2 (en) Method and system for reducing synchronization of data in a network
WO2016177187A1 (zh) 业务处理方法及装置
US11881997B1 (en) Determining reorder commands for remote reordering of policy rules

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16792006

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16792006

Country of ref document: EP

Kind code of ref document: A1