WO2020048483A1 - 跨版本升级方法、装置及设备、计算机可读存储介质 - Google Patents

跨版本升级方法、装置及设备、计算机可读存储介质 Download PDF

Info

Publication number
WO2020048483A1
WO2020048483A1 PCT/CN2019/104387 CN2019104387W WO2020048483A1 WO 2020048483 A1 WO2020048483 A1 WO 2020048483A1 CN 2019104387 W CN2019104387 W CN 2019104387W WO 2020048483 A1 WO2020048483 A1 WO 2020048483A1
Authority
WO
WIPO (PCT)
Prior art keywords
line card
reset
card board
upgrade
main control
Prior art date
Application number
PCT/CN2019/104387
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 中兴通讯股份有限公司
Priority to JP2021512399A priority Critical patent/JP7178759B2/ja
Priority to KR1020217005172A priority patent/KR102612933B1/ko
Publication of WO2020048483A1 publication Critical patent/WO2020048483A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1608Error detection by comparing the output signals of redundant hardware
    • G06F11/1616Error detection by comparing the output signals of redundant hardware where the redundant component is an I/O device or an adapter therefor

Definitions

  • the present disclosure relates to the field of communication technologies.
  • the bearer network equipment may not be deployed with dual-homing protection. Because there is no backup node protection, for the version upgrade of the device at the core node, if the business is interrupted, the impact will be very large. During the version upgrade process, services are interrupted because the device is reset by the entire device. The interruption time will not end until the version upgrade is completed. On the core node, the service configuration volume is generally very large, and the device version upgrade and service configuration completion time will be very long. As a result, the device restart during the version upgrade process will cause a very long service interruption time.
  • a cross-version upgrade method includes: resetting a standby main control board of an upgrade device; resetting the master main control board of the device and resetting the upgraded standby main control board Boards synchronize, and after the synchronization is complete, perform active / standby switchovers between the active main control board and the reset and upgraded standby main control board; after the active / standby switchover is completed, reset the active main control before upgrading the active / standby switchover Board; resetting and upgrading the line card board of the device according to the protection relationship of the service.
  • a sequence-to-version upgrade device which includes a first reset upgrade module, a master / slave switch module, a second reset upgrade module, and a third reset upgrade module.
  • the first reset upgrade module is used to reset the standby main control board of the upgrade device;
  • the main backup switch module is used to synchronize the main active control board of the device and the upgraded standby main control board, and After the synchronization is completed, perform active / standby switchover on the active main control board and the reset and upgraded standby main control board;
  • the second reset upgrade module is configured to reset and upgrade the active / standby switchover after the active / standby switchover is completed.
  • the third resetting and upgrading module is configured to reset and upgrade the line card board of the device according to the protection relationship of the service.
  • a cross-version upgrade device the device includes: a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and When the computer program is executed by the processor, the processor causes the processor to execute the above-mentioned cross-version upgrade method.
  • a computer-readable storage medium where a computer program is stored on the computer, and when the computer program is executed by a processor, the processor causes the processor to execute the foregoing cross-version upgrade method.
  • FIG. 1 is a schematic flowchart of a cross-version upgrade method according to an embodiment of the present disclosure
  • FIG. 2 is another schematic flowchart of a cross-version upgrade method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a cross-version upgrade device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a cross-version upgrade device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of a 2G single-homing service networking structure according to an embodiment of the present disclosure
  • 6 to 9 are schematic diagrams of a cross-version upgrade process structure of a core node of a 2G single-homing service networking according to an embodiment of the present disclosure.
  • soft reset technology can be used, that is, the forwarding chip is not reset, but the software reset version is upgraded. Because the forwarding chip is not reset, services can still be guaranteed to be uninterrupted.
  • the problem with the soft reset technology is that only the software version can be upgraded, and the version corresponding to the hardware chip cannot be upgraded, such as an FPGA (field programmable gate array) version and a microcode version.
  • an embodiment according to the present disclosure is to provide a cross-version upgrade method, a cross-version upgrade device, a cross-version upgrade device, and a computer-readable storage medium to solve the problem that the bearer network device is not deployed during the cross-version upgrade process.
  • resetting the device causes long-term service interruption.
  • FIG. 1 is a schematic flowchart of a cross-version upgrade method according to an embodiment of the present disclosure.
  • the cross-version upgrade method includes steps S11 to S14.
  • step S11 the standby main control board of the upgrade device is reset.
  • the device includes, but is not limited to, data or bearer devices such as PTN (Packet Transport Network), POTN (Packet Optical Transport Network), OTN (Optical Transport Network), router, and the like.
  • PTN Packet Transport Network
  • POTN Packet Optical Transport Network
  • OTN Optical Transport Network
  • step S12 synchronize the master main control board of the device and the reset and upgraded standby main control board, and after the synchronization is completed, perform synchronization on the main main control board and the reset and upgraded backup main control board. Active / standby switchover.
  • the master-slave switchover is to switch the master main control board to a standby main control board, and switch the standby main control board to the main master control board. That is, after completion of step S12, the standby main control board after the reset and upgrade is switched to the main main control board, and the main main control board before the main-backup switchover is switched to the standby main control board.
  • step S13 after the master / slave switchover is completed, the standby master control board after the upgrade switchover is reset, that is, the master master control board of the device before resetting and upgrading is performed. Therefore, after step S13 is completed, both the main main control board and the standby main control board are reset and upgraded.
  • step S14 the upgraded line card board is reset according to the protection relationship of the service.
  • FIG. 2 is another schematic flowchart of a cross-version upgrade method according to the first embodiment of the present disclosure.
  • the cross-version upgrade method according to an embodiment of the present invention includes steps S10 to S14.
  • Steps S11 to S14 in FIG. 2 are basically the same as steps S11 to S14 described with reference to FIG. 1, and will not be described repeatedly here.
  • the cross-version upgrade method of FIG. 2 further includes step S10 before step S11.
  • step S10 synchronize the active main control board and the standby main control board before resetting and upgrading.
  • the configuration data of the active main control board and the standby main control board before resetting and upgrading are kept consistent, which is convenient for subsequent follow-up. Reset and upgrade the active main control board and the standby main control board.
  • Step S14 in FIGS. 1 and 2 will be described in detail below.
  • the protection relationship indicates that the line card boards corresponding to a specific direction of the same service are not in the same reset upgrade batch.
  • the resetting and upgrading the line card single board according to the protection relationship includes the following steps: determining a reset upgrade batch of the line card single board according to the protection relationship; and according to the line card single The reset and upgrade batches of the boards reset and upgrade the line card boards.
  • the determining the reset upgrade batch of the line card board according to the protection relationship includes the following steps: initializing all line card boards into a first preset pool; according to the device's For the configuration of all services, determine the line card board for each service inbound direction and the line card board for each service outbound direction. For each service, the line card board in the inbound direction meets the protection relationship. In the case, the line card board that meets the protection relationship is determined as the first reset upgrade batch; for each service, if the line card board in the outbound direction meets the protection relationship, it will meet the protection The related line card board is determined as the first reset upgrade batch.
  • the determining the reset upgrade batch of the line card board according to the protection relationship further includes the following steps: a line card board in an inbound direction of all services does not meet the requirements In the case of a protection relationship, one line card board of the line card board in the inbound direction of the service is placed in the second preset pool; the line card board in the outbound direction of one service in all services is not If the protection relationship is met, one of the line card boards in the outgoing direction of the service is placed in the second preset pool; the line in the second preset pool is placed in the second preset pool; The card board is determined as the second reset upgrade batch.
  • a line card board for each service inbound direction and a line card board for each service outbound direction are determined, and each service can be judged in turn. Whether the line card board in the inbound direction meets the protection relationship. If a line card board in the inbound direction of a service does not meet the protection relationship, one of the line card boards in the inbound direction of the service Line card boards are placed in the second preset pool. If the line card board in the service inbound direction meets the protection relationship, the line card board in the next service inbound direction is processed until all All line card boards in the service inbound direction are judged to be complete.
  • placing one line card board in the line card board in the service inbound direction into the second preset pool includes the following steps: entering the service board in the direction One of the line card boards is placed in the second preset pool, and it is determined whether the line card board affects the corresponding services in the second preset pool, that is, the line card board is judged.
  • the board makes a line card board in the service inbound direction of the second preset pool not comply with the protection relationship. If the line card board is placed in the second preset pool, the second preset pool is affected. For one of the services, the line card board needs to be placed in the third preset pool, and then it is determined whether the line card board is placed in the third preset pool and affects the third preset pool. The corresponding business in the pool, and so on.
  • One of the line cards in the line card single board in the outbound direction of the service is put into other preset pools, which is similar to the above, and will not be repeated here.
  • the reset upgrade batch of the line card board of the device is calculated through the protection relationship, that is, the reset upgrade batch with the smallest service, so that the reset upgrade time can be reduced.
  • the work service and the protection service when resetting and upgrading a line card board, due to the protection relationship between services, the work service and the protection service will not be configured on the same line card board, preventing work and protection from failing when a board fails.
  • the line card board corresponding to one service includes a working line card board and a protection line card board.
  • a line card board is reset and upgraded, services are switched to another line card board.
  • the service switching time can be guaranteed by the existing fast switching function within the carrier-grade switching time.
  • reset and upgrade another board After the board that has been reset and upgraded is successfully upgraded, reset and upgrade another board. That is, as long as the working line card board and the protection line card board are distributed in different reset upgrade batches, it can meet the requirements of uninterrupted services. Only transient interruptions during service switching can occur, which can meet carrier-class requirements.
  • protection is configured in the inbound and outbound directions. There are working line card boards and protection line card boards in the inbound direction, and there are also working line card boards and protection line card boards in the egress direction. There is no dependency between the incoming line card board and the outgoing line card board. You can consider resetting the upgrade batch for both the incoming line card board and the outgoing line card board. It is only necessary to separate the working line card board and the protection line card board in one direction, that is, the working line card board and the protection line card board in a certain direction are not in the same reset upgrade batch. .
  • FIG. 5 it is a typical 2G single-homed service networking structure diagram in the project.
  • the network element A in this network diagram is the core node.
  • services will be interrupted for a long time.
  • a network element device is configured with an MSP (Multiplexed Segment Protection) protection group on the user side of the service, and an LSP (Label Switched Channel) protection group is configured on the network side.
  • the line card boards corresponding to the MSP protection group are line card board 1 and line card board 2.
  • the working service is on the online card board 1, and the protection service is on the online card board 2.
  • the line card boards corresponding to the LSP protection group are line card board 3 and line card board 4, the working service is on the online card board 3, and the protection service is on the online card board 4.
  • FIG. 6 first reset the standby main control board, and upgrade the reset standby main control board to the latest version (the dashed boxes in FIG. 6 to FIG. 9 indicate that it has been upgraded to the latest version). Synchronize the data between the original active main control board and the upgraded standby main control board. After the synchronization is completed, perform the active / standby switchover between the active main control board and the standby main control board, that is, replace the upgraded standby control board. The main control board is switched to the main control board, and the original main control board is switched to the standby main control board.
  • the switched standby master control board that is, the original master control board
  • the reset standby master control board that is, the original master control board
  • the reset upgrade batch determined according to the foregoing can already meet the requirements.
  • the reset upgrade is performed through the active / standby protection of the device's main control board and the protection relationship between the line card board services; during the cross-version upgrade process of the bearer network device, When dual-homing protection is deployed, resetting the device causes long-term service interruption.
  • the cross-version upgrade process only a small amount of packet loss during the service switching process can meet the carrier-class requirements.
  • FIG. 3 is a schematic structural diagram of a cross-version upgrade device according to an embodiment of the present disclosure.
  • the cross-version upgrade apparatus includes a first reset upgrade module 21, a master-slave switch module 22, a second reset upgrade module 23, and a third reset upgrade module 24.
  • the first reset upgrade module 21 is configured to reset a standby main control board of the upgrade device.
  • the device includes, but is not limited to, data or bearer devices such as PTN, POTN, OTN, and routers.
  • the device may further include a synchronization module (not shown in the drawings), which is configured to, before the first reset upgrade module 21 resets the upgrade device, replace the main control board and the standby The main control board synchronizes.
  • a synchronization module (not shown in the drawings), which is configured to, before the first reset upgrade module 21 resets the upgrade device, replace the main control board and the standby The main control board synchronizes.
  • the configuration data of the active main control board and the standby main control board before resetting and upgrading are kept consistent, which is convenient for subsequent follow-up. Reset and upgrade the active main control board and the standby main control board.
  • the active-standby switching module 22 is configured to synchronize the active main control board of the device and the upgraded standby main control board, and when the synchronization is completed, synchronize the active main control board and all devices.
  • the standby main control board performs active / standby switchover.
  • the master-slave switchover is to switch the master main control board to a standby main control board, and switch the standby main control board to the main master control board.
  • the reset master / slave backup master control board is switched to the master master control board, and the master master control board before the master / slave switchover is switched to the slave master control board.
  • the second reset and upgrade module 23 is configured to reset the standby main control board after the upgrade and switchover, that is, the main control board of the device before the upgrade and the main and backup switchover are performed. As a result, both the active main control board and the standby main control board are reset and upgraded.
  • the third reset upgrade module 24 is configured to reset and upgrade the line card board according to a protection relationship of a service.
  • the detailed process of resetting and upgrading the line card board according to the protection relationship has been described in detail with reference to step S14 of FIG. 1 and FIG. 2, and the description will not be repeated again.
  • the reset upgrade is performed through the protection of the main control board of the equipment and the protection relationship between the line card board services; during the cross-version upgrade process of the bearer network equipment, When dual-homing protection is deployed, resetting the device causes long-term service interruption.
  • the cross-version upgrade process only a small amount of packet loss during the service switching process can meet the carrier-class requirements.
  • FIG. 4 is a schematic structural diagram of a cross-version upgrade device according to an embodiment of the present disclosure.
  • a cross-version upgrade device includes: a memory 31 and a processor 32.
  • the memory 31 stores a computer program that can be run by the processor 32.
  • the processor 32 is executed to implement a cross-version upgrade method according to an embodiment of the present disclosure, for example, the cross-version upgrade method described with reference to FIG. 1 or FIG. 2.
  • the reset upgrade is performed through the active / standby protection of the device's main control board and the protection relationship between the line card board services; during the cross-version upgrade process of the bearer network device, When dual-homing protection is deployed, resetting the device causes long-term service interruption.
  • the cross-version upgrade process only a small amount of packet loss during the service switching process can meet the carrier-class requirements.
  • An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored.
  • the method is used to implement a cross-version upgrade method according to an embodiment of the present disclosure. For example, the cross-version upgrade method described with reference to FIG. 1 or FIG. 2.
  • reset and upgrade are performed through the protection of the main control board of the device and the protection relationship between the line card board services; during the cross-version upgrade process of the bearer network device, When dual-homing protection is not deployed, resetting the device causes long-term service interruption.
  • the cross-version upgrade process only a small amount of packet loss during the service switching process can meet the carrier-class requirements.
  • the cross-version upgrade method according to the embodiment of the present disclosure can be implemented by means of software plus necessary general hardware, or can be implemented by hardware.
  • the technical solution of the present disclosure can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, and optical disk), and includes several instructions for making a device.
  • a device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) executes the cross-version upgrade method according to various embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

本公开实施例公开一种跨版本升级方法、跨版本升级装置、跨版本升级设备、计算机可读存储介质。所述跨版本升级方法包括:复位升级设备的备用主控板;对所述设备的主用主控板和复位升级后的备用主控板进行同步,并在同步完成后,对所述主用主控板和复位升级后的备用主控板进行主备倒换;在主备倒换完成后,复位升级主备倒换前的主用主控板;根据业务的保护关系复位升级所述设备的线卡单板。

Description

跨版本升级方法、装置及设备、计算机可读存储介质 技术领域
本公开涉及通信技术领域。
背景技术
在现有的网络中,考虑到组网成本和维护成本,承载网设备可能不部署双归保护。由于没有备用节点保护,对于核心节点处的设备的版本升级来说,如果业务中断,影响将非常大。在进行版本升级过程中会因为设备被整机复位导致业务中断,中断的时间需要等待版本升级完成之后才结束。在核心节点上,业务配置量一般非常大,设备的版本升级以及业务配置完成时间会非常长,从而导致版本升级过程中设备重启导致业务中断时间非常长。
发明内容
根据本公开实施例的一个方面,提供的一种跨版本升级方法,所述方法包括:复位升级设备的备用主控板;对所述设备的主用主控板和复位升级后的备用主控板进行同步,并在同步完成后,对所述主用主控板和复位升级后的备用主控板进行主备倒换;在主备倒换完成后,复位升级主备倒换前的主用主控板;根据业务的保护关系复位升级所述设备的线卡单板。
根据本公开实施例的另一个方面,提供的一种序跨版本升级装置,所述装置包括第一复位升级模块、主备倒换模块、第二复位升级模块以及第三复位升级模块,其中,所述第一复位升级模块,用于复位升级设备的备用主控板;所述主备倒换模块,用于对所述设备的主用主控板和复位升级后的备用主控板进行同步,并在同步完成后,对所述主用主控板和复位升级后的备用主控板进行主备倒换;所述第二复位升级模块,用于在主备倒换完成后,复位升级主备倒换前的主用主控板;所述第三复位升级模块,用于根据业务的保护关系复位升级所述设备的线卡单板。
根据本公开实施例的另一个方面,提供的一种跨版本升级设备,所述设备包括:存储器、处理器,其中,所述存储器上存储有能够在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时使得所述处理器执行上述的跨版本升级方法。
根据本公开实施例的另一个方面,提供的一种计算机可读存储介质,所述计算机上存储有计算机程序,所述计算机程序被处理器执行时使得所述处理器执行上述的跨版本升级方法。
附图说明
图1为根据本公开的实施例的跨版本升级方法的流程示意图;
图2为根据本公开的实施例的跨版本升级方法的另一流程示意图;
图3为根据本公开的实施例的跨版本升级装置的结构示意图;
图4为根据本公开的实施例的跨版本升级设备的结构示意图;
图5为根据本公开的实施例的2G单归业务组网结构示意图;
图6-图9为根据本公开的实施例的2G单归业务组网的核心节点的跨版本升级过程结构示意图。
本公开的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
为了使本公开所要解决的技术问题、技术方案及有益效果更加清楚、明白,以下结合附图和实施例,对本公开进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。
针对版本升级导致业务中断时间过长的问题,可采用软复位技术,即,转发芯片不复位,只是软件复位版本升级。由于转发芯片没有复位,从而业务还是能保证不中断。但是软复位技术存在的问题是,只能升级软件版本,不能升级硬件芯片对应的版本,例如FPGA(现场可编程门阵列)版本以及微码版本。
有鉴于此,根据本公开的实施例在于提供一种跨版本升级方法、跨版本升级装置、跨版本升级设备、计算机可读存储介质,以解决承载网设备在跨版本升级过程中,在没有部署双归保护的情况下,复位设备导致业务长时间中断的问题。
图1为根据本公开的实施例的跨版本升级方法的流程示意图。
如图1所示,根据本公开的实施例的跨版本升级方法包括步骤S11至步骤S14。
在步骤S11,复位升级设备的备用主控板。
根据本公开的实施例,所述设备包括但不限于为PTN(分组传送网)、POTN(分组光传送网络)、OTN(光传送网络)、路由器等数据或承载设备。
在步骤S12,对所述设备的主用主控板和复位升级后的备用主控板进行同步,并在同步完成后,对所述主用主控板和复位升级后的备用主控板进行主备倒换。
根据本公开的实施例,所述主备倒换即为将主用主控板切换为备用主控板,将备用主控板切换为主用主控板。也就是说,在步骤S12完成后,复位升级后的备用主控板被切换为主用主控板,进行主备倒换前的主用主控板被切换为备用主控板。
在步骤S13,在主备倒换完成后,复位升级切换后的备用主控板,即,复位升级进行主备倒换前的所述设备的主用主控板。从而使得在步骤S13完成后,主用主控板和备用主控板均得到复位升级。
在步骤S14,根据业务的保护关系复位升级线卡单板。
图2为根据本发明公开的第一实施例的跨版本升级方法的另一流程示意图。如图2所示,根据本发明的实施例的跨版本升级方法包括步骤S10至步骤S14。图2中的步骤S 11至S14与参照图1所描述的步骤S11至S14基本相同,在此将不再进行重复描述。与参照图1所描述的跨版本升级方法不同的是,图2的跨版本升级方法还包括在步骤S11之前的步骤S10。
在步骤S10,对复位升级前的主用主控板和备用主控板进行同步。
根据本公开的实施例,通过对复位升级前的主用主控板和备用 主控板进行同步,使得复位升级前的主用主控板和备用主控板上的配置数据保持一致,便于后续主用主控板和备用主控板的复位升级。
下面将详细描述图1和图2中的步骤S 14。
根据本公开的实施例,所述保护关系表示与同一业务的特定方向对应的线卡单板不在同一个复位升级批次中。
根据本公开的实施例,所述根据所述保护关系复位升级所述线卡单板包括以下步骤:根据所述保护关系确定所述线卡单板的复位升级批次;按照所述线卡单板的复位升级批次,复位升级所述线卡单板。
根据本公开的实施例,所述根据所述保护关系确定所述线卡单板的复位升级批次包括以下步骤:将所有线卡单板初始化到第一预设池中;根据所述设备的所有业务的配置,依次确定每条业务入向方向的线卡单板和每条业务出向方向的线卡单板;针对每条业务,在入向方向的线卡单板符合所述保护关系的情况下,将符合所述保护关系的线卡单板确定为第一复位升级批次;针对每条业务,在出向方向的线卡单板符合所述保护关系的情况下,将符合所述保护关系的线卡单板确定为所述第一复位升级批次。
根据本公开的实施例,所述根据所述保护关系确定所述线卡单板的复位升级批次还包括以下步骤:在所有业务中的一条业务入向方向的线卡单板不符合所述保护关系的情况下,将该条业务入向方向的线卡单板中的一个线卡单板放入到第二预设池中;在所有业务中的一条业务出向方向的线卡单板不符合所述保护关系的情况下,将该条业务出向方向的线卡单板中的一个线卡单板放入到所述第二预设池中;将所述第二预设池中的线卡单板确定为第二复位升级批次。
具体地,在将所有线卡单板初始化到第一预设池中之后,确定每条业务入向方向的线卡单板和每条业务出向方向的线卡单板,可依次判断每条业务入向方向的线卡单板是否符合所述保护关系,若某条业务入向方向的线卡单板不符合所述保护关系,则将该条业务入向方向的线卡单板中的一个线卡单板放入到所述第二预设池中,若该条业务入向方向的线卡单板符合所述保护关系,则处理下一条业务入向方向的线卡单板,直至所有业务入向方向的线卡单板都被判断完成为止。 在所有业务入向方向的线卡单板都被判断完成之后,判断每条业务出向方向的线卡单板是否符合所述保护关系,若某条业务出向方向的线卡单板不符合所述保护关系,则将该条业务出向方向的线卡单板中的一个线卡单板放入到所述第二预设池中,若该条业务出向方向的线卡单板符合所述保护关系,则处理下一条业务出向方向的线卡单板,直至所有业务出向方向的线卡单板都被判断完成为止。
需要说明的是,所述将该条业务入向方向中的线卡单板中的一个线卡单板放入到所述第二预设池中包括以下步骤:将该条业务入向方向中的线卡单板中的一个线卡单板放入到所述第二预设池中,判断该线卡单板是否影响到与第二预设池中相应的业务,即判断该线卡单板使得第二预设池中的一条业务入向方向的线卡单板不符合所述保护关系,若该线卡单板放入到所述第二预设池中影响到第二预设池中的一条业务,则需要将该线卡单板放入到第三预设池,再判断该线卡单板放入到所述第三预设池中是否影响到与所述第三预设池中的相应的业务,依次类推。
所述将该条业务出向方向中的线卡单板中的一个线卡放入到其他预设池中,与上述类似,在此不作赘述。
根据本公开的实施例,通过保护关系计算出所述设备的线卡单板的复位升级批次,即为业务最小的复位升级批次,从而可以减少复位升级的时间。
根据本公开的实施例,在复位升级线卡单板时,由于业务存在保护关系,工作业务和保护业务不会配置在同一块线卡单板上,防止单板故障的时候工作和保护都失效,即,与一个业务对应的线卡单板包括工作线卡单板和保护线卡单板。复位升级一块线卡单板时,业务会倒换到另外一块线卡单板上,业务的倒换时间是可以通过现有的快速倒换功能来保证倒换时间在电信级倒换时间内。在复位升级的那块单板升级成功之后,再复位升级另外一块单板。也就是只要工作线卡单板和保护线卡单板分布在不同的复位升级批次中,则能满足业务不中断的要求,只会出现业务倒换时的瞬断,能够满足电信级的要求。
由于业务存在入向和出向,在入向和出向上会分别配置保护。 在入向上存在工作线卡单板和保护线卡单板,在出向上也存在工作线卡单板和保护线卡单板。入向的线卡单板和出向的线卡单板是不存在依赖关系的,可以将入向的线卡单板和出向的线卡单板统一考虑复位升级批次。只需要将某一方向的工作线卡单板和保护线卡单板分开即可,也就是同一业务在某一方向的工作线卡单板和保护线卡单板不在同一个复位升级批次中。
再考虑可能存在保护叠加的问题,例如业务出向存在两层保护组叠加,那么它将有多块板可以出去,只要分配的这几块单板不在同一个复位升级批次即可。
为了更好地阐述本实施例,以下结合图5、以及图6-图9对跨版本升级过程进行详细地说明。
如图5所示,为工程中一种典型的2G单归业务组网结构示意图。该组网图中的A网元即为核心节点,对于A网元设备进行复位升级的时候,就会导致业务长时间的中断。
A网元设备在业务的用户侧配置了MSP(复用段保护)保护组,在网络侧配置了LSP(标签交换通道)保护组。与MSP保护组对应的线卡单板为线卡单板1和线卡单板2,工作业务在线卡单板1上,保护业务在线卡单板2上。与LSP保护组对应的线卡单板为线卡单板3和线卡单板4,工作业务在线卡单板3上,保护业务在线卡单板4上。下面将参照图6至图9详细描述对A网元设备进行不中断业务升级的过程。
假设A网元设备的主控板存在1+1保护,同时已经同步完成,主用主控板和备用主控板上的配置数据一模一样。
如图6所示,首先复位备用主控板,并将复位后的备用主控板升级到最新版本(图6至图9中的虚线框表示已经升级到最新版本)。对原主用主控板与升级之后的备用主控板进行数据同步,在同步完成之后,对所述主用主控板和所述备用主控板进行主备倒换,即,将升级之后的备用主控板切换为主用主控板,将原主用主控板切换为备用主控板。
如图7所示,在主备倒换完成之后,复位切换后的备用主控板 (即,原主用主控板),并将复位后的备用主控板(即,原主用主控板)升级到最新版本,从而完成对原主用主控板和原备用主控板的升级。
在复位升级线卡单板时,首先根据业务的保护关系,计算线卡单板的复位升级批次。
先将线卡单板1、线卡单板2、线卡单板3和线卡单板4放入到池1中,然后开始遍历A网元上的业务配置。从左往右的业务方向上看,入向是MSP保护组,出向是LSP保护组。判断业务的入向是否满足复位升级要求,由于线卡单板1和线卡单板2都在同一个池中,所以不满足,将线卡单板1放入到池2中。判断业务的出向是否满足复位升级要求,由于线卡单板3和线卡单板4都在同一个池中,所以不满足,将线卡单板3放入到池2中。通过上述方式,可以确定两个复位升级批次,即线卡单板2和线卡单板4、线卡单板1和线卡单板3。
如图8和图9所示,首先复位升级第一批次,即线卡单板2和线卡单板4;然后再复位升级第二批次,即线卡单板1和线卡单板3。由于业务存在保护关系,在复位升级线卡单板时,业务会倒换到另外一块线卡单板上,例如:在复位升级线卡单板2时,业务会倒换到线卡单板1上;复位升级线卡单板4时,业务会倒换到线卡单板3上。因此能满足业务不中断的要求,只会出现业务倒换时的瞬断,能够满足电信级的要求。
由于业务是双向的,从另外一个方向上看,根据前述确定的复位升级批次已经能够满足从右往左的业务升级要求。
遍历其他业务,由于本网元的业务配置都是用户侧配置MSP保护组,工作业务在线卡单板1上,保护业务在线卡单板2上;网络侧配置的是LSP保护组,工作业务在线卡单板3上,保护业务在线卡单板4上,根据前述确定的复位升级批次已经能够满足要求。
根据本公开的实施例的跨版本升级方法,通过设备主控板的主备保护以及线卡板业务之间的保护关系,进行复位升级;解决了承载网设备在跨版本升级过程中,在没有部署双归保护的情况下,复位设备导致业务长时间中断的问题;在跨版本升级过程中,只有业务倒换 过程的少许丢包,能够满足电信级的要求。
图3为根据本公开的实施例的跨版本升级装置的结构示意图。
如图3所示,根据本公开的实施例的跨版本升级装置包括第一复位升级模块21、主备倒换模块22、第二复位升级模块23以及第三复位升级模块24。
所述第一复位升级模块21,用于复位升级设备的备用主控板。
根据本公开的实施例,所述设备包括但不限于为PTN、POTN、OTN、路由器等数据或承载设备。
根据本公开的实施例,所述装置还可包括同步模块(附图未示出),所述同步模块,用于在第一复位升级模块21复位升级设备前,将主用主控板和备用主控板进行同步。
根据本公开的实施例,通过对复位升级前的主用主控板和备用主控板进行同步,使得复位升级前的主用主控板和备用主控板上的配置数据保持一致,便于后续主用主控板和备用主控板的复位升级。
所述主备倒换模块22,用于对所述设备的主用主控板和复位升级后的备用主控板进行同步,并在同步完成的情况下,对所述主用主控板和所述备用主控板进行主备倒换。
根据本公开的实施例,所述主备倒换即为将主用主控板切换为备用主控板,将备用主控板切换为主用主控板。也就是说,在主备倒换完成后,复位升级后的备用主控板被切换为主用主控板,进行主备倒换前的主用主控板被切换为备用主控板。
所述第二复位升级模块23,用于在主备倒换成功的情况下,复位升级切换后的备用主控板,即,复位升级进行主备倒换前的所述设备的主用主控板。从而使得,主用主控板和备用主控板均得到复位升级。
所述第三复位升级模块24,用于根据业务的保护关系复位升级所述线卡单板。已经参照图1和图2的步骤S14详细描述了根据所述保护关系复位升级所述线卡单板的详细过程,再次将不再进行重复描述。
根据本公开的实施例的跨版本升级装置,通过设备主控板的主 备保护以及线卡板业务之间的保护关系,进行复位升级;解决了承载网设备在跨版本升级过程中,在没有部署双归保护的情况下,复位设备导致业务长时间中断的问题;在跨版本升级过程中,只有业务倒换过程的少许丢包,能够满足电信级的要求。
图4为根据本公开的实施例的跨版本升级设备的结构示意图。
如图4所示,根据本公开的实施例的种跨版本升级设备包括:存储器31、处理器32,存储器31中存储有可由所述处理器32运行的计算机程序,当所述计算机程序被所述处理器32执行时用于实现根据本公开的实施例的跨版本升级方法,例如,参照图1或图2所述的跨版本升级方法。
根据本公开的实施例的跨版本升级设备,通过设备主控板的主备保护以及线卡板业务之间的保护关系,进行复位升级;解决了承载网设备在跨版本升级过程中,在没有部署双归保护的情况下,复位设备导致业务长时间中断的问题;在跨版本升级过程中,只有业务倒换过程的少许丢包,能够满足电信级的要求。
本公开的实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时用于实现根据本公开的实施例的跨版本升级方法,例如,参照图1或图2所述的跨版本升级方法。
根据本公开的实施例的计算机可读存储介质,通过设备主控板的主备保护以及线卡板业务之间的保护关系,进行复位升级;解决了承载网设备在跨版本升级过程中,在没有部署双归保护的情况下,复位设备导致业务长时间中断的问题;在跨版本升级过程中,只有业务倒换过程的少许丢包,能够满足电信级的要求。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据本公开的实施例的跨版本升级方法可借助软件加必需的通用硬件的方式来实现,或者可以通过硬件来实现。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台设备设备(可以是手机,计算机,服务器,空调器, 或者网络设备等)执行根据本公开的各个实施例所述的跨版本升级方法。
以上参照附图说明了本公开的优选实施例,并非因此局限本公开的权利范围。本领域技术人员不脱离本公开的范围和实质的情况下,可以有多种变型方案实现本公开,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡在运用本公开的技术构思之内所作的任何修改、等同替换和改进,均应在本公开的权利范围之内。

Claims (12)

  1. 一种跨版本升级方法,所述方法包括:
    复位升级设备的备用主控板;
    对所述设备的主用主控板和复位升级后的备用主控板进行同步,并在同步完成后,对所述主用主控板和复位升级后的备用主控板进行主备倒换;
    在主备倒换完成后,复位升级主备倒换前的主用主控板;
    根据业务的保护关系复位升级所述设备的线卡单板。
  2. 根据权利要求1所述的跨版本升级方法,其中,所述复位升级所述设备的备用主控板之前还包括:
    对主用主控板和备用主控板进行同步。
  3. 根据权利要求1所述的跨版本升级方法,其中,所述保护关系表示与一条业务的特定方向对应的线卡单板不在同一个复位升级批次中。
  4. 根据权利要求3所述的跨版本升级方法,其中,所述根据所述保护关系复位升级所述线卡单板包括:
    根据所述保护关系确定所述线卡单板的复位升级批次;
    按照所述复位升级批次,复位升级所述线卡单板。
  5. 根据权利要求4所述的跨版本升级方法,其中,所述根据所述保护关系确定所述线卡单板的复位升级批次包括:
    将所有线卡单板初始化到第一预设池中;
    根据所述设备的所有业务的配置,依次确定每条业务入向方向的线卡单板和每条业务出向方向的线卡单板;
    针对所有业务中的每条业务,在入向方向的线卡单板符合所述保护关系的情况下,将符合所述保护关系的线卡单板确定为第一复位 升级批次;
    针对所有业务中的每条业务,在出向方向的线卡单板符合所述保护关系的情况下,将符合所述保护关系的线卡单板确定为所述第一复位升级批次。
  6. 根据权利要求5所述的跨版本升级方法,其中,所述根据所述保护关系确定所述线卡单板的复位升级批次还包括:
    在所有业务中的一条业务入向方向的线卡单板不符合所述保护关系的情况下,将该条业务入向方向的线卡单板中的一个线卡单板放入到第二预设池中;
    在所有业务中的一条业务出向方向的线卡单板不符合所述保护关系的情况下,将该条业务出向方向的线卡单板中的一个线卡单板放入到所述第二预设池中;
    将所述第二预设池中的线卡单板确定为第二复位升级批次。
  7. 根据权利要求6所述的跨版本升级方法,其中,所述将该条业务入向方向的线卡单板中的一个线卡单板放入到第二预设池中包括:
    在将所述一个线卡单板放入第二预设池后,判断所述一个线卡单板是否使得所述第二预设池中的一条业务入向方向的线卡单板不符合所述保护关系,
    若所述一个线卡单板使得所述第二预设池中的一条业务入向方向的线卡单板不符合所述保护关系,则将所述一个线卡单板放入到第三预设池中,并判断所述一个线卡单板是否使得所述第三预设池中的一条业务入向方向的线卡单板不符合所述保护关系。
  8. 根据权利要求6所述的跨版本升级方法,其中,所述将该条业务出向方向的线卡单板中的一个线卡单板放入到第二预设池中包括:
    在将所述一个线卡单板放入第二预设池后,判断所述一个线卡 单板是否使得所述第二预设池中的一条业务出向方向的线卡单板不符合所保护关系,
    若所述一个线卡单板使得所述第二预设池中的一条业务出向方向的线卡单板不符合所述保护关系,则将所述一个线卡单板放入到第三预设池中,并判断所述一个线卡单板是否使得所述第三预设池中的一条业务出向方向的线卡单板不符合所述保护关系。
  9. 根据权利要求1所述的跨版本升级方法,其中,所述设备包括分组传送网PTN、分组光传送网络POTN、光传送网络OTN、路由器中的至少一种。
  10. 一种跨版本升级装置,包括:第一复位升级模块、主备倒换模块、第二复位升级模块以及第三复位升级模块,其中,
    所述第一复位升级模块,用于复位升级设备的备用主控板;
    所述主备倒换模块,用于对所述设备的主用主控板和复位升级后的备用主控板进行同步,并在同步完成后,对所述主用主控板和复位升级后的备用主控板进行主备倒换;
    所述第二复位升级模块,用于在主备倒换完成后,复位升级主备倒换前的主用主控板;
    所述第三复位升级模块,用于根据业务的保护关系复位升级所述设备的线卡单板。
  11. 一种跨版本升级设备,包括:存储器、处理器,其中,所述存储器上存储有能够在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时使得所述处理器执行如权利要求1至9中任一项所述的跨版本升级方法。
  12. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时使得所述处理器执行如权利要求1至9中任一项所述的跨版本升级方法。
PCT/CN2019/104387 2018-09-05 2019-09-04 跨版本升级方法、装置及设备、计算机可读存储介质 WO2020048483A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021512399A JP7178759B2 (ja) 2018-09-05 2019-09-04 バージョンを跨いでアップグレードする方法、装置およびデバイス、コンピュータ可読記憶媒体
KR1020217005172A KR102612933B1 (ko) 2018-09-05 2019-09-04 교차 버전 업그레이드 방법, 장치 및 디바이스, 컴퓨터 판독 가능 저장 매체

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811033109.X 2018-09-05
CN201811033109.XA CN110879657B (zh) 2018-09-05 2018-09-05 跨版本升级方法、装置及设备、计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2020048483A1 true WO2020048483A1 (zh) 2020-03-12

Family

ID=69721522

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104387 WO2020048483A1 (zh) 2018-09-05 2019-09-04 跨版本升级方法、装置及设备、计算机可读存储介质

Country Status (4)

Country Link
JP (1) JP7178759B2 (zh)
KR (1) KR102612933B1 (zh)
CN (1) CN110879657B (zh)
WO (1) WO2020048483A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269587A (zh) * 2020-11-16 2021-01-26 新华三信息技术有限公司 存储控制卡升级系统、升级方法、服务器及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148709A (zh) * 2011-02-25 2011-08-10 中兴通讯股份有限公司 一种实现主备单板升级的方法及装置
CN102968357A (zh) * 2012-11-01 2013-03-13 中兴通讯股份有限公司 一种分布式通信设备软件升级方法及系统
CN103414590A (zh) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 一种软件升级方法和设备
CN103490931A (zh) * 2013-09-25 2014-01-01 杭州华三通信技术有限公司 一种不中断业务升级过程中协议不中断的方法和装置
EP3200394A1 (en) * 2014-10-13 2017-08-02 Huawei Technologies Co. Ltd. Method and apparatus for controlling message transmission and network function virtualization system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8364843B2 (en) * 2006-01-09 2013-01-29 Cisco Technology, Inc. Method and system for minimizing disruption during in-service software upgrade
CN101179624B (zh) * 2007-11-22 2010-09-22 上海华为技术有限公司 一种实现网元升级的方法和装置
CN101383724B (zh) * 2008-08-29 2011-04-13 上海华为技术有限公司 网元升级方法及操作维护单元和网元升级系统
CN102937925B (zh) * 2012-11-01 2015-08-12 中兴通讯股份有限公司 一种分布式通信设备软件升级方法及系统
CN108319492B (zh) * 2017-01-18 2020-05-08 华为技术有限公司 复位物理机的方法、装置与系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148709A (zh) * 2011-02-25 2011-08-10 中兴通讯股份有限公司 一种实现主备单板升级的方法及装置
CN102968357A (zh) * 2012-11-01 2013-03-13 中兴通讯股份有限公司 一种分布式通信设备软件升级方法及系统
CN103414590A (zh) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 一种软件升级方法和设备
CN103490931A (zh) * 2013-09-25 2014-01-01 杭州华三通信技术有限公司 一种不中断业务升级过程中协议不中断的方法和装置
EP3200394A1 (en) * 2014-10-13 2017-08-02 Huawei Technologies Co. Ltd. Method and apparatus for controlling message transmission and network function virtualization system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269587A (zh) * 2020-11-16 2021-01-26 新华三信息技术有限公司 存储控制卡升级系统、升级方法、服务器及存储介质

Also Published As

Publication number Publication date
JP2022500735A (ja) 2022-01-04
CN110879657B (zh) 2023-04-07
KR102612933B1 (ko) 2023-12-11
KR20210034648A (ko) 2021-03-30
CN110879657A (zh) 2020-03-13
JP7178759B2 (ja) 2022-11-28

Similar Documents

Publication Publication Date Title
US10089123B2 (en) Virtual cable modem termination system redundancy in a cable modem network environment
US8402454B2 (en) In-service software upgrade on cards of virtual partition of network element that includes directing traffic away from cards of virtual partition
US8402453B2 (en) In-service software upgrade of control and line cards of network element
WO2017036288A1 (zh) 一种网元升级方法及设备
CN109861839B (zh) 业务不中断的虚拟交换机升级方法以及相关设备
EP2426827A1 (en) Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server
EP3691185A1 (en) Method for processing message, device, and system
US20180123870A1 (en) Vnf failover method and apparatus
US9705782B2 (en) Method and system for efficient graceful restart in an open shortest path first (OSPF) network
CN101968744B (zh) 一种基于irf系统的盒式设备升级方法和系统
WO2021057438A1 (zh) 主备切换方法、装置、bras设备及存储介质
US10813156B2 (en) Method and apparatus for processing network connection
US9288075B2 (en) Method and system for auto-configuration, and network node
CN105162704A (zh) Overlay网络中组播复制的方法及装置
WO2022105927A1 (zh) 一种通告网络设备处理能力的方法、设备和系统
CN104869057A (zh) 开放流交换机优雅重启处理方法、装置及开放流控制器
WO2015154525A1 (zh) 一种使用多板卡保护HQoS的方法和装置
CN104298543A (zh) 一种openflow交换机一虚多的实现方法
US10565047B2 (en) Troubleshooting method based on network function virtualization, and device
WO2020048483A1 (zh) 跨版本升级方法、装置及设备、计算机可读存储介质
CN109302328B (zh) 一种vxlan网络热备切换方法及系统
US8923312B2 (en) OSPF nonstop routing synchronization nack
CN108282346B (zh) 软件升级方法及装置
CN102404339B (zh) 防火墙系统和基于该防火墙系统的数据处理方法
US20190166002A1 (en) Elastic Capacity Management with a Cloud Cable Modem Termination System (cCMTS)

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: 19857481

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20217005172

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021512399

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 08/07/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19857481

Country of ref document: EP

Kind code of ref document: A1