[go: up one dir, main page]

CN105677380B - Method and device for board-by-board upgrading of double master control isolations - Google Patents

Method and device for board-by-board upgrading of double master control isolations Download PDF

Info

Publication number
CN105677380B
CN105677380B CN201410679600.5A CN201410679600A CN105677380B CN 105677380 B CN105677380 B CN 105677380B CN 201410679600 A CN201410679600 A CN 201410679600A CN 105677380 B CN105677380 B CN 105677380B
Authority
CN
China
Prior art keywords
main control
control board
global
upgrade
board
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201410679600.5A
Other languages
Chinese (zh)
Other versions
CN105677380A (en
Inventor
马苗苗
徐融
孙思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410679600.5A priority Critical patent/CN105677380B/en
Priority to PCT/CN2015/078789 priority patent/WO2016078362A1/en
Publication of CN105677380A publication Critical patent/CN105677380A/en
Application granted granted Critical
Publication of CN105677380B publication Critical patent/CN105677380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Hardware Redundancy (AREA)

Abstract

本发明提供一种双主控隔离的逐板升级方法,所述方法包括:第一全局主用主控板提供版本升级数据;全局备用主控板根据所述版本升级数据进行版本升级;当所述全局备用主控板的版本升级成功后,将所述全局备用主控板设为第二全局主用主控板,并隔离所述第二全局主用主控板与未升级的接口板以及第一全局主用主控板的内部通讯。

Figure 201410679600

The present invention provides a board-by-board upgrade method with dual main control isolation. The method includes: a first global main main control board provides version upgrade data; a global standby main control board performs version upgrade according to the version upgrade data; After the version upgrade of the global standby main control board is successful, the global standby main control board is set as the second global active main control board, and the second global active main control board is isolated from the unupgraded interface board and the The internal communication of the first global master main control board.

Figure 201410679600

Description

一种双主控隔离的逐板升级的方法及装置A method and device for board-by-board upgrade with dual master control isolation

技术领域technical field

本发明涉及多处理机的分布式系统,尤其涉及一种主控板的升级方法及装置。The invention relates to a distributed system of multiprocessors, and in particular, to a method and device for upgrading a main control board.

背景技术Background technique

随着信息时代的来临,PC电脑的普及,以及互联网的广泛应用,电脑信息技术与各行各业进行了有效的结合,各种新技术、新业务不断涌现,用户对于数据的带宽需求都越来越高。为了满足单个用户高带宽的需求,运营商要求网络设备具有大容量、高接入和高处理性能。为了达到大容量、高接入和高处理性能的需求,目前的网络设备多采用部署大量的CPU的分布式系统。随着多处理机的分布式系统在电信行业逐渐推广和大规模使用,以及用户对网络设备性能需求的提高,设备的软件升级更加频繁。With the advent of the information age, the popularization of PC computers, and the wide application of the Internet, computer information technology has been effectively combined with all walks of life, various new technologies and new services are emerging, and users have more and more bandwidth requirements for data. higher. In order to meet the high bandwidth requirements of a single user, operators require network equipment with large capacity, high access and high processing performance. In order to meet the requirements of large capacity, high access and high processing performance, the current network equipment mostly adopts a distributed system that deploys a large number of CPUs. With the gradual promotion and large-scale use of multiprocessor distributed systems in the telecommunications industry, and the improvement of users' requirements for network equipment performance, the software upgrades of equipment are more frequent.

目前用于实现设备软件升级的方法是:待升级设备是一台具有一块全局主用主控板、一块全局备用主控板以及若干块接口板的分布式设备。(1)在全局主用主控板正常运行的情况下,升级全局备用主控板,创建版本回滚定时器;(2)进行主备倒换,让已经升级的备用主控板成为新的全局主用主控板,接替原全局主用主控板工作,并升级所有接口板;(3)进行步骤(2)时版本回滚定时器超时,则升级失败,进行版本回退,升级结束;否则确认新全局主用主控板的升级操作,版本回滚定时器被删除;(4)依次升级其他主控板;(5)直到所有单板都升级到新版本,升级过程结束。该方法存在以下不足:一、无论是主控板的主备倒换失败,还是任何一块接口板的升级失败都会导致整个升级的失败,增大了设备升级失败的概率;二、在接口板升级的过程中,由于接口板的CPU会被重启,使得由接口板CPU发送的协议报文需要由主控板CPU代理发送,主控板CPU本身的业务繁忙,同时控制设备升级过程,可能无法及时代理发送接口板CPU发送的协议报文,导致网络拓扑发生震荡。The current method for implementing device software upgrade is as follows: the device to be upgraded is a distributed device having a global active main control board, a global standby main control board and several interface boards. (1) Under the condition that the global active main control board is running normally, upgrade the global standby main control board and create a version rollback timer; (2) Perform the active-standby switchover to make the upgraded standby main control board the new global one The main main control board takes over the work of the original global main main control board and upgrades all interface boards; (3) when the version rollback timer times out in step (2), the upgrade fails, and the version rollback is performed, and the upgrade ends; Otherwise, confirm the upgrade operation of the new global active main control board, and the version rollback timer will be deleted; (4) upgrade other main control boards in sequence; (5) until all boards are upgraded to the new version, the upgrade process ends. This method has the following shortcomings: 1. The failure of the main control board's active/standby switchover or the failure to upgrade any one of the interface boards will lead to the failure of the entire upgrade, increasing the probability of device upgrade failure; During the process, because the CPU of the interface board will be restarted, the protocol packets sent by the CPU of the interface board need to be sent by the CPU of the main control board. The CPU of the main control board is busy with its own business and controls the device upgrade process, so it may not be able to proxy in time. The protocol packet sent by the CPU of the interface board is sent, causing the network topology to flap.

发明内容:Invention content:

本发明提供一种双主控隔离的逐板升级的方法和装置,以解决现有技术中多个因素导致升级失败,升级失败的概率大的缺陷。The present invention provides a board-by-board upgrade method and device with dual main control isolation, so as to solve the defect in the prior art that the upgrade fails due to multiple factors and has a high probability of upgrade failure.

为了解决上述技术问题,本申请提供了一种双主控隔离的逐板升级的方法,所述方法包括:In order to solve the above technical problems, the present application provides a board-by-board upgrade method with dual master control isolation, the method includes:

第一全局主用主控板提供版本升级数据;The first global main control board provides version upgrade data;

全局备用主控板根据所述版本升级数据进行版本升级;The global standby main control board performs version upgrade according to the version upgrade data;

当所述全局备用主控板的版本升级成功后,将所述全局备用主控板设为第二全局主用主控板,并隔离所述第二全局主用主控板与未升级的接口板以及第一全局主用主控板的内部通讯。When the version of the global standby main control board is successfully upgraded, the global standby main control board is set as the second global active main control board, and the second global active main control board is isolated from the interface that has not been upgraded The internal communication between the board and the first global active main control board.

较佳地,Preferably,

隔离所述第二全局主用主控板与未升级的接口板的内部通讯后还包括:After isolating the internal communication between the second global active main control board and the unupgraded interface board, the method further includes:

各待升级的接口板依次根据所述版本升级数据进行版本升级;Each interface board to be upgraded performs version upgrade in sequence according to the version upgrade data;

当任一待升级的接口板版本升级成功后,建立同第二全局主用主控板以及升级成功的接口板的内部通讯,并隔离与未升级的接口板以及所述第一全局主用主控板的内部通讯。When the version of any interface board to be upgraded is successfully upgraded, the internal communication with the second global active main control board and the successfully upgraded interface board is established, and the interface board that has not been upgraded and the first global active main control board are isolated. Internal communication of the control board.

较佳地,还包括:Preferably, it also includes:

当所有接口板升级成功后,将所述第一全局主用主控板升级后设为全局备用主控板,并建立同所述第二全局主用主控板以及各接口板的内部通讯。When all interface boards are successfully upgraded, the first global active main control board is upgraded as a global standby main control board, and internal communication with the second global active main control board and each interface board is established.

较佳地,还包括:Preferably, it also includes:

所述第一全局主用主控板创建版本回滚定时器;The first global active main control board creates a version rollback timer;

所述全局备用主控板的版本升级成功包括:The successful version upgrade of the global standby main control board includes:

当在版本回滚定时器规定的时间内所述全局备用主控板成功加载升级版本并运行正常时,则所述全局备用主控的版本升级成功;When the global standby main control board successfully loads the upgraded version and runs normally within the time specified by the version rollback timer, the version upgrade of the global standby main control is successful;

所述待升级的接口板升级成功包括:The successful upgrade of the interface board to be upgraded includes:

当在版本回滚定时器规定的时间内所述待升级的接口板成功加载升级版本并运行正常时,则所述待升级的接口板的版本升级成功。When the interface board to be upgraded successfully loads the upgraded version and runs normally within the time specified by the version rollback timer, the version of the interface board to be upgraded is successfully upgraded.

较佳地,还包括:Preferably, it also includes:

当所述全局备用主控板升级失败时,回滚版本并重新升级该全局备用主控板;When the upgrade of the global standby main control board fails, roll back the version and re-upgrade the global standby main control board;

当任一待升级的接口板升级失败时,回滚版本并重新升级该待升级的接口板。When the upgrade of any interface board to be upgraded fails, roll back the version and re-upgrade the interface board to be upgraded.

本发明还提供一种双主控隔离的逐板升级的装置,所述装置包括:The present invention also provides a board-by-board upgrade device with dual main control isolation, the device comprising:

数据提供模块,设置于第一全局主用主控板中,用于提供版本升级数据;a data providing module, arranged in the first global main control board, for providing version upgrade data;

第一升级模块,设置于全局备用主控板中,用于根据所述版本升级数据进行版本升级;a first upgrade module, arranged in the global standby main control board, and used for version upgrade according to the version upgrade data;

配置模块,用于当所述全局备用主控板的版本升级成功后,将所述全局备用主控板设为第二全局主用主控板,并隔离所述第二全局主用主控板与未升级的接口板以及所述第一全局主用主控板的内部通讯。a configuration module, configured to set the global standby main control board as the second global active main control board when the version of the global standby main control board is successfully upgraded, and isolate the second global active main control board Internal communication with the unupgraded interface board and the first global active main control board.

较佳地,所述装置还包括:Preferably, the device further includes:

第二升级模块,用于各待升级的接口板依次根据所述版本升级数据进行版本升级;The second upgrade module is used for each interface board to be upgraded to perform version upgrade according to the version upgrade data in sequence;

配置模块还用于当任一待升级的接口板版本升级成功后,建立同第二全局主用主控板以及升级成功的接口板的内部通讯,并隔离与未升级的接口板以及所述第一全局主用主控板的内部通讯。The configuration module is also used to establish internal communication with the second global active main control board and the successfully upgraded interface board when any version of the interface board to be upgraded is successfully upgraded, and isolate it from the unupgraded interface board and the first interface board. An internal communication of the global master main control board.

较佳地,Preferably,

配置模块还用于当所有接口板升级成功后,将所述第一全局主用主控板升级后设全局备用主控板,并建立同所述第二全局主用主控板以及N个接口板的内部通讯。The configuration module is also used to install a global standby main control board after upgrading the first global active main control board when all interface boards are successfully upgraded, and establish the same as the second global active main control board and N interfaces internal communication of the board.

较佳地,Preferably,

所述数据提供模块还用于创建版本回滚定时器;The data providing module is also used to create a version rollback timer;

所述全局备用主控板的版本升级成功是指:The successful version upgrade of the global standby main control board means:

当在版本回滚定时器规定的时间内所述全局备用主控板的成功加载升级版本并运行正常时,则所述全局备用主控的版本升级成功;When the upgraded version of the global standby main control board is successfully loaded within the time specified by the version rollback timer and runs normally, the version upgrade of the global standby main control is successful;

所述待升级的接口板升级成功是指:The successful upgrade of the interface board to be upgraded refers to:

当在版本回滚定时器规定的时间内所述待升级的接口板成功加载版本升级数据时,则所述待升级的接口板的版本升级成功。When the interface board to be upgraded successfully loads version upgrade data within the time specified by the version rollback timer, the version upgrade of the interface board to be upgraded is successful.

较佳地,所述装置还包括:Preferably, the device further includes:

版本回滚模块,用于当所述全局备用主控板升级失败时,回滚版本并重新升级该全局备用主控板;还用于当任一待升级的接口板升级失败时,回滚版本并重新升级该待升级的接口板。The version rollback module is used to roll back the version and re-upgrade the global standby main control board when the upgrade of the global standby main control board fails; it is also used to roll back the version when any interface board to be upgraded fails to upgrade And re-upgrade the interface board to be upgraded.

上述方案在全局备用主控板升级成功后,隔离同主用主控板及其他未升级单板之间的通讯,转化为主用主控板,此时设备中存在两个互不干扰的系统,即以原主控板为全局主用主控板的系统1和以升级后的主控板为全局主用主控板的系统2。升级过程中任何一个步骤自身的失败都不会独立导致整个升级过程的失败,提高了升级成功的概率。In the above scheme, after the global standby main control board is successfully upgraded, the communication with the main main control board and other unupgraded boards is isolated and converted into the main main control board. At this time, there are two systems in the device that do not interfere with each other. , namely System 1 with the original main control board as the global active main control board and System 2 with the upgraded main control board as the global active main control board. The failure of any one step in the upgrade process itself will not independently lead to the failure of the entire upgrade process, which increases the probability of a successful upgrade.

此外,在设备升级过程中,全局主用主控板不必兼顾控制软件升级过程和代理发送升级接口板CPU发送的协议报文,减轻了全局主用主控板CPU的负担,达到了避免由于代理发送接口板CPU发送的协议报文延时,导致拓扑震荡的目的。In addition, during the device upgrade process, the global active main control board does not need to take into account the control of the software upgrade process and the proxy sending of protocol packets sent by the upgrade interface board CPU, which reduces the burden on the global active main control board CPU and avoids The purpose of sending protocol packets sent by the CPU of the interface board is delayed, resulting in topology flapping.

附图说明Description of drawings

图1是本发明实施例二中待升级设备的结构示意图;1 is a schematic structural diagram of a device to be upgraded in Embodiment 2 of the present invention;

图2是本发明实施例二中待升级设备在升级过程中设备内部链接的结构示意图;2 is a schematic structural diagram of an internal link of a device to be upgraded in an upgrade process in Embodiment 2 of the present invention;

图3是本发明实施例二中双主控隔离的逐板升级方法的流程图;3 is a flowchart of a board-by-board upgrade method for dual-master isolation in Embodiment 2 of the present invention;

图4是本发明实施例三中双主控隔离的逐板升级的装置的结构示意图。FIG. 4 is a schematic structural diagram of an apparatus for board-by-board upgrade with dual main control isolation in Embodiment 3 of the present invention.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚明白,下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, the embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other if there is no conflict.

实施例一Example 1

本发明提供的一种双主控隔离的逐板升级的方法,所述方法包括:The present invention provides a board-by-board upgrade method with dual main control isolation, the method comprising:

第一全局主用主控板提供版本升级数据;The first global main control board provides version upgrade data;

全局备用主控板根据所述版本升级数据进行版本升级;The global standby main control board performs version upgrade according to the version upgrade data;

当全局备用主控板的版本升级成功后,将全局备用主控板设为第二全局主用主控板,并隔离第二全局主用主控板与未升级的接口板以及第一全局主用主控板的内部通讯。After the version of the global standby main control board is successfully upgraded, set the global standby main control board as the second global active main control board, and isolate the second global active main control board from the interface boards that have not been upgraded and the first global main control board. Use the internal communication of the main control board.

隔离第二全局主用主控板与未升级的接口板的内部通讯后还包括:After isolating the internal communication between the second global active main control board and the unupgraded interface board, it also includes:

各待升级的接口板依次根据所述版本升级数据进行版本升级;Each interface board to be upgraded performs version upgrade in sequence according to the version upgrade data;

当任一待升级的接口板版本升级成功后,建立同第二全局主用主控板以及升级成功的接口板的内部通讯,并隔离与未升级的接口板以及所述第一全局主用主控板的内部通讯。When the version of any interface board to be upgraded is successfully upgraded, the internal communication with the second global active main control board and the successfully upgraded interface board is established, and the interface board that has not been upgraded and the first global active main control board are isolated. Internal communication of the control board.

当所有接口板升级成功后,将第一全局主用主控板升级后设为全局备用主控板,并建立同所述第二全局主用主控板以及各接口板的内部通讯。When all the interface boards are successfully upgraded, the first global active main control board is upgraded as a global standby main control board, and the internal communication with the second global active main control board and each interface board is established.

较佳地,所述方法还包括:Preferably, the method also includes:

第一全局主用主控板创建版本回滚定时器;The first global active main control board creates a version rollback timer;

全局备用主控板的版本升级成功包括:The successful version upgrade of the global standby main control board includes:

当在版本回滚定时器规定的时间内所述全局备用主控板成功加载升级版本并运行正常时,则全局备用主控的版本升级成功;When the global standby main control board successfully loads the upgraded version and runs normally within the time specified by the version rollback timer, the version upgrade of the global standby main control is successful;

待升级的接口板升级成功包括:The interface board to be upgraded is successfully upgraded, including:

当在版本回滚定时器规定的时间内所述待升级的接口板成功加载升级版本并运行正常时,则待升级的接口板的版本升级成功。When the interface board to be upgraded successfully loads the upgraded version and runs normally within the time specified by the version rollback timer, the version of the interface board to be upgraded is successfully upgraded.

较佳地,所述方法还包括:Preferably, the method also includes:

当所述全局备用主控板升级失败时,回滚版本并重新升级该全局备用主控板;When the upgrade of the global standby main control board fails, roll back the version and re-upgrade the global standby main control board;

当任一待升级的接口板升级失败时,回滚版本并重新升级该待升级的接口板。When the upgrade of any interface board to be upgraded fails, roll back the version and re-upgrade the interface board to be upgraded.

实施例二Embodiment 2

下面结合附图对本发明的技术方案做进一步的介绍。The technical solutions of the present invention will be further introduced below with reference to the accompanying drawings.

如图1所示,本发明的待升级设备的结构包括:As shown in Figure 1, the structure of the device to be upgraded of the present invention includes:

全局主用主控板101,主要负责设备升级过程的控制。全局主用主控板中存储着软件升级数据,并安装了软件升级数据管理模块,该单板可与其他单板通过内部通讯网络交互,将其存储的软件升级数据通过内部通讯网络加载到其他单板中。全局主用主控板与全局备用主控板通过内部通讯网络在设备运行过程中已实现数据和状态同步,在全局备用主控板升级后,可以完成主用主控板的功能。The global active main control board 101 is mainly responsible for the control of the device upgrade process. The global main control board stores software upgrade data and installs a software upgrade data management module. This board can interact with other boards through the internal communication network, and load the stored software upgrade data to other boards through the internal communication network. in the veneer. The global active main control board and the global standby main control board have achieved data and status synchronization during the operation of the device through the internal communication network. After the global standby main control board is upgraded, the function of the main main control board can be completed.

全局备用主控板102,主要用于请求并加载升级数据,升级并运行正常后确认升级操作,隔离同全局主用主控板及其他未升级单板的内部通讯,转换为主用主控板,代理发送接口板n1-nN由于软件升级,CPU重启而无法发送的协议报文。The global standby main control board 102 is mainly used to request and load the upgrade data, confirm the upgrade operation after the upgrade and run normally, isolate the internal communication with the global active main control board and other unupgraded boards, and convert it to the main main control board , the proxy sends the protocol packets that the interface boards n1-nN cannot send due to the software upgrade and the CPU restart.

接口板n1-nN,主要用于请求并加载升级数据,在升级过程中,由于CPU重启而无法发送的协议报文由升级后的原全局备用主控板代理发送,N为大于1的正整数。The interface boards n1-nN are mainly used to request and load the upgrade data. During the upgrade process, the protocol packets that cannot be sent due to the CPU restart are sent by the original global standby main control board after the upgrade. N is a positive integer greater than 1. .

如图2所示,本发明的待升级设备在升级过程中设备内部通讯网络的链接结构包括:As shown in Figure 2, the link structure of the equipment to be upgraded in the present invention during the upgrade process of the internal communication network of the equipment includes:

全局主用主控板201,主要负责设备升级过程的控制。其中存储着软件升级数据,并安装了软件升级数据管理模块,可与其他单板通过内部通讯网络交互,将其存储的软件升级数据通过内部通讯网络加载到其他单板中。The global active main control board 201 is mainly responsible for the control of the device upgrade process. The software upgrade data is stored in it, and a software upgrade data management module is installed, which can interact with other boards through the internal communication network, and load the stored software upgrade data to other boards through the internal communication network.

升级后的全局备用主控板202,从全局主用主控板201获得相应的升级数据升级成功并运行正常后隔离同全局主用主控板及其他未升级单板的内部通讯,转换为主用主控板,代理发送接口板n1-nN由于软件升级,CPU重启而无法发送的协议报文。The upgraded global standby main control board 202 obtains corresponding upgrade data from the global active main control board 201. After the upgrade is successful and runs normally, the internal communication with the global main main control board and other unupgraded boards is isolated and converted to the main control board. Using the main control board, the proxy sends the protocol packets that the interface boards n1-nN cannot send due to the software upgrade and the CPU restart.

升级后的接口板m3,从全局主用主控板201获得相应的升级数据升级成功并运行正常后,隔离同全局主用主控板201的内部通讯,建立同升级后的全局备用主控板202的内部通讯,恢复接口板功能。The upgraded interface board m3 obtains the corresponding upgrade data from the global active main control board 201. After the upgrade is successful and runs normally, it isolates the internal communication with the global active main control board 201 and establishes the same as the upgraded global standby main control board. 202 internal communication to restore the interface board function.

接口板n4,通过内部通讯网络同全局主用主控板201相连,隔离同升级后的备用主控板202及升级后的接口板m3的通讯。同时,等待全局主用主控板201发起单板升级,The interface board n4 is connected with the global master main control board 201 through the internal communication network, and isolates the communication with the upgraded standby main control board 202 and the upgraded interface board m3. At the same time, wait for the global active main control board 201 to initiate the board upgrade.

如图3所示,双主控隔离的逐板升级方法流程如下:As shown in Figure 3, the board-by-board upgrade method for dual-master isolation is as follows:

处于备用状态的主控单板其升级模块的设计与普通待升级接口板相同。The design of the upgrade module of the main control board in the standby state is the same as that of the common interface board to be upgraded.

步骤1:全局主用主控板向全局备用主控板发送版本升级请求;Step 1: The global active main control board sends a version upgrade request to the global standby main control board;

步骤2:全局备用主控板根据请求参数扫描获得本单板的物理信息,并向全局主用主控板请求待升级数据;Step 2: The global standby main control board scans to obtain the physical information of the board according to the request parameters, and requests the data to be upgraded from the global active main control board;

步骤3:全局主用主控板查找并应答待升级数据的请求,并创建版本回滚定时器;Step 3: The global active main control board finds and responds to the request for the data to be upgraded, and creates a version rollback timer;

步骤4:全局备用主控板加载待升级软件数据并进行软件升级,升级成功向全局主用主控板确认;Step 4: The global standby main control board loads the software data to be upgraded and performs software upgrade, and confirms the success of the upgrade to the global active main control board;

步骤5:全局备用主控板升级成功,隔离同全局主用主控板及未升级接口板的内部通讯,转换为全局主用主控板,开始全局主用主控板的工作,原全局主用主控板仍为主用主控板。Step 5: The global standby main control board is successfully upgraded, isolate the internal communication with the global active main control board and the interface board that has not been upgraded, convert it to the global active main control board, and start the work of the global active main control board. The main control board is still the main main control board.

步骤6:全局主用主控板确认全局备用主控板升级成功后,停止版本回滚定时器,向接口板n发送软件升级请求;Step 6: After the global active main control board confirms that the global standby main control board is successfully upgraded, it stops the version rollback timer and sends a software upgrade request to the interface board n;

步骤7:接口板n根据请求参数扫描获得本单板的物理信息,并向全局主用主控板请求待升级数据;Step 7: The interface board n scans to obtain the physical information of the board according to the request parameters, and requests the data to be upgraded from the global active main control board;

步骤8:全局主用主控板查找并应答待升级数据的请求,并重置版本回滚定时器;Step 8: The global active main control board finds and responds to the request for the data to be upgraded, and resets the version rollback timer;

步骤9:接口板n加载待升级软件数据并进行软件升级,升级成功向全局主用主控板确认,全局主用主控板停止版本回滚定时器;Step 9: The interface board n loads the software data to be upgraded and performs the software upgrade, confirms the success of the upgrade to the global active main control board, and stops the version rollback timer on the global active main control board;

步骤10:接口板n升级成功,隔离同全局主用主控板及其他未升级接口板的内部通讯,建立同升级后的全局备用主控板及其他已升级接口板的内部通讯,开始升级后接口板的工作;Step 10: The interface board n is upgraded successfully, isolate the internal communication with the global active main control board and other unupgraded interface boards, establish the internal communication with the upgraded global standby main control board and other upgraded interface boards, and then start the upgrade. The work of the interface board;

步骤11:重复上述接口板n升级过程,直到所有接口板升级成功完成;Step 11: Repeat the above interface board n upgrade process until all interface boards are upgraded successfully;

步骤12:全局主用主控板转换为全局备用主控板,建立同升级后的全局备用主控板及其他升级后的接口板的内部通讯,进行软件升级,升级过程结束。Step 12: Convert the global active main control board to the global standby main control board, establish internal communication with the upgraded global standby main control board and other upgraded interface boards, perform software upgrade, and end the upgrade process.

在本实施例中,首先进行全局备用主控板的升级,待全局备用主控板升级成功后,依次进行接口板的升级。在进行接口板的升级时,可以根据回滚定时器设定的时间依次对接口板进行升级,如果某个接口板在规定的时间内未成功升级则可先进行下个接口板的升级操作。当然,在其它的实施例中接口板的升级顺序可以依照具体的情况做相应的调整。In this embodiment, the global standby main control board is upgraded first, and after the global standby main control board is successfully upgraded, the interface boards are upgraded in sequence. When upgrading interface boards, the interface boards can be upgraded in sequence according to the time set by the rollback timer. If an interface board is not successfully upgraded within the specified time, the next interface board can be upgraded first. Of course, in other embodiments, the upgrade sequence of the interface board can be adjusted accordingly according to specific conditions.

实施例三Embodiment 3

本发明还提供一种设备升级的装置,所述装置包括:The present invention also provides a device for upgrading equipment, the device comprising:

数据提供模块11,设置于第一全局主用主控板中,用于提供版本升级数据;The data providing module 11 is arranged in the first global main control board, and is used for providing version upgrade data;

第一升级模块12,设置于全局备用主控板中,用于根据所述版本升级数据进行版本升级;The first upgrade module 12 is arranged in the global standby main control board, and is used for version upgrade according to the version upgrade data;

配置模块13,用于当所述全局备用主控板的版本升级成功后,将所述全局备用主控板设为第二全局主用主控板,并隔离所述第二全局主用主控板与未升级的接口板以及所述第一全局主用主控板的内部通讯。The configuration module 13 is configured to set the global standby main control board as the second global active main control board after the version of the global standby main control board is successfully upgraded, and isolate the second global active main control board Internal communication between the board and the unupgraded interface board and the first global active main control board.

较佳地,所述装置还包括:Preferably, the device further includes:

第二升级模块14,用于各待升级的接口板依次根据所述版本升级数据进行版本升级;The second upgrade module 14 is used for each interface board to be upgraded to perform version upgrade according to the version upgrade data in sequence;

配置模块13还用于当任一待升级的接口板版本升级成功后,建立同第二全局主用主控板以及升级成功的接口板的内部通讯,并隔离与未升级的接口板以及所述第一全局主用主控板的内部通讯。The configuration module 13 is also used to establish internal communication with the second global active main control board and the successfully upgraded interface board when any version of the interface board to be upgraded is successfully upgraded, and isolate it from the unupgraded interface board and the The internal communication of the first global master main control board.

较佳地,Preferably,

配置模块13还用于当所有接口板升级成功后,将所述第一全局主用主控板升级后设全局备用主控板,并建立同所述第二全局主用主控板以及N个接口板的内部通讯。The configuration module 13 is also used to install a global standby main control board after upgrading the first global active main control board when all the interface boards are successfully upgraded, and establish the same as the second global main main control board and N Internal communication of the interface board.

较佳地,Preferably,

所述数据提供模块还用于创建版本回滚定时器;The data providing module is also used to create a version rollback timer;

所述全局备用主控板的版本升级成功是指:The successful version upgrade of the global standby main control board means:

当在版本回滚定时器规定的时间内所述全局备用主控板的成功加载升级版本并运行正常时,则所述全局备用主控的版本升级成功;When the upgraded version of the global standby main control board is successfully loaded within the time specified by the version rollback timer and runs normally, the version upgrade of the global standby main control is successful;

所述待升级的接口板升级成功是指:The successful upgrade of the interface board to be upgraded refers to:

当在版本回滚定时器规定的时间内所述待升级的接口板成功加载升级版本并运行正常时,则所述待升级的接口板的版本升级成功。When the interface board to be upgraded successfully loads the upgraded version and runs normally within the time specified by the version rollback timer, the version of the interface board to be upgraded is successfully upgraded.

较佳地,所述装置还包括:Preferably, the device further includes:

版本回滚模块15,用于当所述全局备用主控板升级失败时,回滚版本并重新升级该全局备用主控板;还用于当任一待升级的接口板升级失败时,回滚版本并重新升级该待升级的接口板。The version rollback module 15 is used to roll back the version and re-upgrade the global standby main control board when the upgrade of the global standby main control board fails; it is also used to roll back when any interface board to be upgraded fails to upgrade version and re-upgrade the interface board to be upgraded.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的各模块/模块可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请不限制于任何特定形式的硬件和软件的结合。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention. Those skilled in the art can understand that all or part of the steps in the above method can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk. Optionally, all or part of the steps in the above embodiments may also be implemented by using one or more integrated circuits. Correspondingly, each module/module in the above embodiments may be implemented in the form of hardware, and may also be implemented in the form of software function modules. form realization. The present application is not limited to any particular form of combination of hardware and software.

Claims (6)

1.一种双主控隔离的逐板升级的方法,其特征在于,所述方法包括:1. a method for board-by-board upgrade of dual master control isolation, is characterized in that, described method comprises: 全局备用主控板根据第一全局主用主控板提供的版本升级数据进行版本升级,并在所述全局备用主控板的版本升级成功后,将所述全局备用主控板设为第二全局主用主控板,同时隔离与未升级的接口板以及所述第一全局主用主控板的内部通讯;The global standby main control board performs version upgrade according to the version upgrade data provided by the first global active main control board, and after the version upgrade of the global standby main control board is successful, the global standby main control board is set as the second The global active main control board simultaneously isolates the internal communication with the unupgraded interface board and the first global active main control board; 各待升级的接口板根据所述第一全局主用主控板提供版本升级数据进行版本升级,并在任一待升级的接口板版本升级成功后,建立同第二全局主用主控板以及升级成功的接口板的内部通讯,同时隔离与未升级的接口板以及所述第一全局主用主控板的内部通讯;Each interface board to be upgraded is upgraded according to the version upgrade data provided by the first global active main control board, and after the version upgrade of any interface board to be upgraded is successful, the same second global active main control board is established and upgraded. The internal communication of the successful interface board, while isolating the internal communication with the unupgraded interface board and the first global active main control board; 当所有接口板升级成功后,将所述第一全局主用主控板升级后设为全局备用主控板,并建立同所述第二全局主用主控板以及各接口板的内部通讯。When all interface boards are successfully upgraded, the first global active main control board is upgraded as a global standby main control board, and internal communication with the second global active main control board and each interface board is established. 2.如权利要求1所述的方法,其特征在于,还包括:2. The method of claim 1, further comprising: 所述第一全局主用主控板创建版本回滚定时器;The first global active main control board creates a version rollback timer; 所述全局备用主控板的版本升级成功包括:The successful version upgrade of the global standby main control board includes: 当在版本回滚定时器规定的时间内所述全局备用主控板成功加载升级版本并运行正常时,则所述全局备用主控的版本升级成功;When the global standby main control board successfully loads the upgraded version and runs normally within the time specified by the version rollback timer, the version upgrade of the global standby main control is successful; 所述待升级的接口板升级成功包括:The successful upgrade of the interface board to be upgraded includes: 当在版本回滚定时器规定的时间内所述待升级的接口板成功加载升级版本并运行正常时,则所述待升级的接口板的版本升级成功。When the interface board to be upgraded successfully loads the upgraded version and runs normally within the time specified by the version rollback timer, the version of the interface board to be upgraded is successfully upgraded. 3.如权利要求2所述的方法,其特征在于,还包括:3. The method of claim 2, further comprising: 当所述全局备用主控板升级失败时,回滚版本并重新升级该全局备用主控板;When the upgrade of the global standby main control board fails, roll back the version and re-upgrade the global standby main control board; 当任一待升级的接口板升级失败时,回滚版本并重新升级该待升级的接口板。When the upgrade of any interface board to be upgraded fails, roll back the version and re-upgrade the interface board to be upgraded. 4.一种双主控隔离的逐板升级的装置,其特征在于,所述装置包括:4. A device for upgrading board-by-board with dual master control isolation, wherein the device comprises: 全局备用主控板,用于根据第一全局主用主控板提供的版本升级数据进行版本升级,并在版本升级成功后,将其设为第二全局主用主控板,同时隔离与未升级的接口板以及所述第一全局主用主控板的内部通讯;The global standby main control board is used to upgrade the version according to the version upgrade data provided by the first global active main control board, and after the version upgrade is successful, it is set as the second global active main control board. The upgraded interface board and the internal communication of the first global active main control board; N个接口板,用于根据所述第一全局主用主控板提供版本升级数据进行版本升级,并在任一待升级的接口板版本升级成功后,建立同第二全局主用主控板以及升级成功的接口板的内部通讯,同时隔离与未升级的接口板以及所述第一全局主用主控板的内部通讯;N interface boards, used for version upgrade according to the version upgrade data provided by the first global active main control board, and after the version upgrade of any interface board to be upgraded is successful, establish the same second global main main control board and Internal communication of the successfully upgraded interface board, while isolating the internal communication with the unupgraded interface board and the first global active main control board; 第一全局主用主控板,用于当所有接口板升级成功后,将其升级后设为全局备用主控板,并建立同所述第二全局主用主控板以及N个接口板的内部通讯。The first global active main control board is used to set it as a global standby main control board after the upgrade after all interface boards are successfully upgraded, and to establish a connection with the second global active main control board and the N interface boards. Internal communication. 5.如权利要求4所述的装置,其特征在于:5. The device of claim 4, wherein: 所述第一全局主用主控板还用于创建版本回滚定时器;The first global active main control board is also used to create a version rollback timer; 所述全局备用主控板的版本升级成功是指:The successful version upgrade of the global standby main control board means: 当在版本回滚定时器规定的时间内所述全局备用主控板的成功加载升级版本并运行正常时,则所述全局备用主控的版本升级成功;When the upgraded version of the global standby main control board is successfully loaded within the time specified by the version rollback timer and runs normally, the version upgrade of the global standby main control is successful; 所述待升级的接口板升级成功是指:The successful upgrade of the interface board to be upgraded refers to: 当在版本回滚定时器规定的时间内所述待升级的接口板成功加载版本升级数据时,则所述待升级的接口板的版本升级成功。When the interface board to be upgraded successfully loads version upgrade data within the time specified by the version rollback timer, the version upgrade of the interface board to be upgraded is successful. 6.如权利要求4所述的装置,其特征在于,所述6. The apparatus of claim 4, wherein the 第一全局主用主控板还用于当所述全局备用主控板升级失败时,回滚版本并重新升级该全局备用主控板;还用于当任一待升级的接口板升级失败时,回滚版本并重新升级该待升级的接口板。The first global active main control board is also used to roll back the version and re-upgrade the global standby main control board when the upgrade of the global standby main control board fails; and is also used when any interface board to be upgraded fails to upgrade , roll back the version and re-upgrade the interface board to be upgraded.
CN201410679600.5A 2014-11-21 2014-11-21 Method and device for board-by-board upgrading of double master control isolations Active CN105677380B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410679600.5A CN105677380B (en) 2014-11-21 2014-11-21 Method and device for board-by-board upgrading of double master control isolations
PCT/CN2015/078789 WO2016078362A1 (en) 2014-11-21 2015-05-12 Method and device for upgrade board by board in dual master control isolation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410679600.5A CN105677380B (en) 2014-11-21 2014-11-21 Method and device for board-by-board upgrading of double master control isolations

Publications (2)

Publication Number Publication Date
CN105677380A CN105677380A (en) 2016-06-15
CN105677380B true CN105677380B (en) 2020-11-06

Family

ID=56013209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410679600.5A Active CN105677380B (en) 2014-11-21 2014-11-21 Method and device for board-by-board upgrading of double master control isolations

Country Status (2)

Country Link
CN (1) CN105677380B (en)
WO (1) WO2016078362A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817259A (en) * 2017-01-18 2017-06-09 杭州迪普科技股份有限公司 The upgrade method and device of VSM systems
CN107046476A (en) * 2017-02-21 2017-08-15 杭州迪普科技股份有限公司 A kind of method and device of edition upgrading
CN106886440A (en) * 2017-02-24 2017-06-23 郑州云海信息技术有限公司 The version updating method of testing and device of a kind of BMC
CN107678764B (en) * 2017-09-30 2020-09-08 杭州迪普科技股份有限公司 Method and device for upgrading VSM system based on ISSU
CN108459869A (en) * 2017-12-28 2018-08-28 新华三技术有限公司 ISSU upgrade methods and device
CN109600270B (en) * 2019-01-25 2021-08-06 新华三技术有限公司 Network equipment control method and network equipment
WO2021036712A1 (en) * 2019-08-28 2021-03-04 中兴通讯股份有限公司 Upgrading method, communication device and computer-readable storage medium
CN113127031A (en) * 2021-03-23 2021-07-16 广东芬尼克兹节能设备有限公司 Method and device for remote upgrading of double main control boards, terminal device and storage medium
CN113220507B (en) * 2021-04-28 2023-08-22 杭州迪普科技股份有限公司 Version consistency checking method and device for double-master control system
CN118260130B (en) * 2024-05-31 2024-08-13 南京芯驰半导体有限公司 Starting method and system for dual-chip system after upgrading

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6113652A (en) * 1995-04-27 2000-09-05 General Data Comm, Inc. Communications network equipment capable of non-disruptive software upgrade
CN1828535A (en) * 2005-03-03 2006-09-06 中兴通讯股份有限公司 A recovery method after the online upgrade of single-board software of transmission equipment fails
CN101206575A (en) * 2006-12-19 2008-06-25 大唐移动通信设备有限公司 Software mend on-line upgrade method, veneer and system
CN101888304A (en) * 2009-05-15 2010-11-17 华为技术有限公司 Method, device and system for upgrading routing equipment
CN102244669A (en) * 2010-05-12 2011-11-16 杭州华三通信技术有限公司 Software upgrading method in stacking equipment and stacking equipment
CN102594656A (en) * 2011-12-20 2012-07-18 杭州华三通信技术有限公司 Routing iteration method and routing switching equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6535924B1 (en) * 2001-09-05 2003-03-18 Pluris, Inc. Method and apparatus for performing a software upgrade of a router while the router is online
CN102136930B (en) * 2010-09-03 2014-02-19 华为技术有限公司 A version upgrade method and routing device
CN102571443B (en) * 2012-01-20 2015-04-08 华为技术有限公司 Abnormality handling method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6113652A (en) * 1995-04-27 2000-09-05 General Data Comm, Inc. Communications network equipment capable of non-disruptive software upgrade
CN1828535A (en) * 2005-03-03 2006-09-06 中兴通讯股份有限公司 A recovery method after the online upgrade of single-board software of transmission equipment fails
CN101206575A (en) * 2006-12-19 2008-06-25 大唐移动通信设备有限公司 Software mend on-line upgrade method, veneer and system
CN101888304A (en) * 2009-05-15 2010-11-17 华为技术有限公司 Method, device and system for upgrading routing equipment
CN102244669A (en) * 2010-05-12 2011-11-16 杭州华三通信技术有限公司 Software upgrading method in stacking equipment and stacking equipment
CN102594656A (en) * 2011-12-20 2012-07-18 杭州华三通信技术有限公司 Routing iteration method and routing switching equipment

Also Published As

Publication number Publication date
CN105677380A (en) 2016-06-15
WO2016078362A1 (en) 2016-05-26

Similar Documents

Publication Publication Date Title
CN105677380B (en) Method and device for board-by-board upgrading of double master control isolations
EP3588296A1 (en) Dynamically scaled hyperconverged system
US10628273B2 (en) Node system, server apparatus, scaling control method, and program
CN104253866B (en) Software deployment method, system and the relevant device of virtual network function network element
US9038053B2 (en) Non-disruptive software updates for servers processing network traffic
CN102708018B (en) Method and system for exception handling, proxy equipment and control device
CN103618627B (en) A kind of manage the method for virtual machine, Apparatus and system
CN109861839B (en) Method for upgrading virtual switch without service interruption and related equipment
CN105141453A (en) Control method capable of not interrupting service in upgrading process of system and system thereof
CN101179624B (en) A method and device for implementing network element upgrade
CN102932409B (en) The method and system that a kind of virtual machine moves online
CN112470119B (en) Service upgrade method, device and distributed system in a distributed system
CN103457770B (en) Web transactions control method and execution method and network controller and forwarding unit
US11403319B2 (en) High-availability network device database synchronization
WO2017107483A1 (en) Load balancing method for virtualized network management file downloading, and network management server
CN114553693B (en) Gateway upgrading method and device
CN107688512A (en) One kind optimization virtual-machine data backup method and system
CN117857342A (en) Intelligent network card hot upgrading method based on OVS-DPDK
CN104572179B (en) A kind of infrastructure is service software upgrade method and apparatus
CN105681087A (en) Virtual control plane resource management method of light weight virtual machine
WO2021254280A1 (en) Disk mounting method and device, storage medium, and electronic device
CN107547277B (en) Method for realizing virtualization control board and network communication equipment
CN104657240B (en) The Failure Control method and device of more kernel operating systems
CN104348646A (en) Configuration data processing method, device and system
WO2011157175A2 (en) Method and chip for controlling update of communication device, and communication device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant