WO2012065400A1 - Device protection method and apparatus - Google Patents

Device protection method and apparatus Download PDF

Info

Publication number
WO2012065400A1
WO2012065400A1 PCT/CN2011/072864 CN2011072864W WO2012065400A1 WO 2012065400 A1 WO2012065400 A1 WO 2012065400A1 CN 2011072864 W CN2011072864 W CN 2011072864W WO 2012065400 A1 WO2012065400 A1 WO 2012065400A1
Authority
WO
WIPO (PCT)
Prior art keywords
main control
control board
standby
board
aggregation
Prior art date
Application number
PCT/CN2011/072864
Other languages
French (fr)
Chinese (zh)
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 WO2012065400A1 publication Critical patent/WO2012065400A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode

Definitions

  • the present invention relates to a device protection technology, and more particularly to a device protection method and device.
  • the clock board is usually integrated with the main control board.
  • the service board includes the cross (switching) board, the interface board, the circuit board, and the branch circuit. Board and so on. There are one or more channels between the main control board and the service board.
  • the main control board is responsible for the management and monitoring of each service board.
  • the service board needs to report various status information such as alarms, overhead, and heartbeats periodically or irregularly.
  • the protection switching control center is generally set on the main control board.
  • the main control board sends the switching control information according to the alarms and heartbeats reported by the service board. Since the status and function of the main control board is very important, two or more main control boards are generally set in the system, and the protection modes such as 1+1, 1 : 1, 1+N or 1:N are used for work.
  • the channel between the main control board and the service board (probably the S port channel, ECC channel, and alarm channel, etc., collectively referred to as the management channel) is usually Ethernet (such as FE, GE, etc.), and both the electrical mode and the optical mode are available.
  • Ethernet such as FE, GE, etc.
  • Ethernet interconnect architecture As shown in Figure 1, it can be clearly seen between the active and standby NCPs and between the boards. There are multiple loops, so there is a need to prevent broadcast storms caused by Ethernet loops. There are two traditional approaches:
  • the technical problem to be solved by the present invention is to provide a protection method and device for the device, which solves the problem of long chain break time when the active and standby NCPs are switched.
  • the present invention discloses a method for protecting a device, including: stacking a main control board and a standby main control board, and using the main control board and the standby main control board
  • the port is connected to the port of the same service board to perform port aggregation.
  • the port connected to the main control board and the standby main control board is port-aggregated.
  • the active main control board and the standby main control board are switched by the channel formed by the chip stacking, and the service board and the standby main control board are formed by the aggregation channel formed by the port aggregation.
  • the steps of the service board and the standby main control board interacting through the aggregation channel formed by the port aggregation include:
  • the steps of the main control board and the standby main control board being switched by the channel formed after the chip stacking include:
  • the active main control board sends the active/standby status information and the switching control information to the standby main control board through the channel formed by the chip stacking with the standby main control board, so as to implement the switching of the main control board.
  • the method further includes:
  • the method further includes:
  • the present invention also provides a protection device for a device, comprising: an active main control board and a standby main control board, wherein a chip stack is used between the main main control board and the standby main control board, and The port of the active main control board and the standby main control board connected to the same service board is aggregated, and the service board is connected to the port of the main control board and the standby main control board.
  • the port is aggregated; the main control board and the standby main control board are configured to switch through channels formed after chip stacking when protection switching occurs;
  • the service board is configured to interact with the aggregation channel formed by the port aggregation of the standby main control board.
  • the service board and the standby main control board are interacted by the aggregation channel formed by port aggregation in the following manner:
  • the main control board and the standby main control board are switched by using channels formed after chip stacking as follows:
  • the active main control board sends the active/standby status information and the switching control information to the standby main control board through the channel formed by the chip stacking with the standby main control board, so as to implement the switching of the main control board.
  • the service board is further configured to detect and the standby main control board during the interaction with the standby main control board after the main control board and the standby main control board are switched. The link state between.
  • the service board is further configured to pass through the aggregation channel before protection switching occurs.
  • the channel connected to the main control board exchanges information with the main control board.
  • the present invention realizes the protection of the communication device by stacking multiple stacks of the main control board chip and the chip port aggregation Trunk, which can effectively solve the problem that the traditional method has a long chain-breaking time when the switching occurs, in the main control
  • the link between the boards and the link between the main control board and the service board achieve the fastest information transmission and protection switching, so that the protection capability of the entire system can be improved under the simple system architecture, and the communication system can be established.
  • 1 is a schematic block diagram of an existing device protection scheme
  • FIG. 2 is a schematic diagram of a protection device based on chip stacking and port aggregation according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a device protection method according to an embodiment of the present invention.
  • the chip stack between the active and standby main control boards is implemented, and the ports of the main control boards connected to the same slot on the same service board are used for port aggregation. , thus establishing a complete closed data transfer and protection channel.
  • Chip stacking also known as chip cascading is the process of interconnecting two or more chips through a high-speed channel (sometimes requiring communication message formats or communication protocols) to simulate multiple chips into one chip.
  • Port aggregation is the aggregation of multiple ports into one port to increase the bandwidth of the port.
  • the chip stack is generated to increase the chip capacity and the number of interfaces to expand the function of the chip.
  • two or more chips respectively placed on the main control board are simulated into one chip, and the main purpose is not to increase the capacity, but to simulate the ports of the chips on different main control boards.
  • the ports on the chip because different chips are placed on different main control boards, the chips are stacked into one, which is equivalent to the same main board, the main board is two or more chips on the main standby main board.
  • the information interaction simulation becomes the information exchange between different ports of a chip. When the switching occurs, the switching speed of the active and standby main control boards is greatly improved.
  • the port aggregation is utilized. In order to achieve fast protection switching.
  • the main control board is equipped with a CPU, three-layer/two-layer switch chip, among which, the three-layer switch chip can select BroadCom's BCM56XXX series, and supports the HiGig interface (the physical layer is the XAUI interface, the maximum lOGbps Stacking of transmission rate); the service board is configured with a CPU and a Layer 2 switching chip.
  • the ports connected to the same service board are aggregated and simulated into one port.
  • the ports connected to the active and standby NCPs are aggregated.
  • the service board is aggregated into a channel between the active and standby NCPs.
  • the method for implementing device protection in this embodiment includes the following steps:
  • the active and standby NCPs are stacked on the same port, and the ports on the active and standby NCPs are connected to the same slot of the same service board for port aggregation, and the service board is connected to the port of the same slot on the active and standby NCPs.
  • Step 302 When the main control board 2 is the main control board, the service board side uses the channel connected to the main control board 2 of the aggregation channel 2 to exchange information with the main control board 2;
  • Step 303 When the Ethernet on the backplane side of the main control board 2 is suddenly broken, the corresponding switch chip port of the service board detects the broken link in time, and performs traffic balancing on the aggregation channel 2, and sends it to the main control board.
  • the information of the second channel is sent to the main control board 1 through the channel connected to the main control board 1 of the aggregation channel 2; in step 304, the main control board 2 transmits the active/standby state and the switching control information through the stacking channel with the main control board 1. ;
  • Step 305 the main control board 1 serves as an active main control board, and the service board side uses the channel connected to the main control board 1 of the aggregation channel 2 to perform information interaction with the main control board 1, and detects the chain between the main control board 1 and the main control board 1. Road status.
  • LACP Link Aggregation Control Protocol
  • the invention realizes the protection of the communication device by stacking a plurality of main control board chip stacks and the chip port aggregation trunk, which can effectively solve the problem that the traditional method has a long chain-breaking time when the switching occurs, and the chain between the main control boards
  • the fastest information transmission and protection switching are achieved on the link between the road and the main control board and the service board, so that the protection capability of the entire system can be improved under a simple system architecture, and an efficient system is established on the communication system. Robust protection mechanism and therefore strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a device protection method and apparatus. The method includes the follows steps: the chip of a master main control panel is stacked with the chip of a slave main control panel; the ports of the master main control panel and the slave main control panel which connect to the same service panel are port-aggregated; at the service panel side, the ports connected with the master main control panel and the slave main control panel are port-aggregated; when the protection switching happens, the master main control panel and the slave main control panel perform handover through the channel formed from stacking the chips and the service panel communicates with the slave main control panel through the aggregation channel formed from port-aggregation. With the method of stacking the chips of multiple main control panels and aggregating the ports of the chips, the present invention achieves the protection for communication devices and solves effectively the problem that the disconnection time is long in the procedure of the switching in the conventional ways.

Description

一种设备的保护方法及装置  Method and device for protecting equipment
技术领域 Technical field
本发明涉及设备保护技术, 尤其是指一种设备的保护方法及装置。  The present invention relates to a device protection technology, and more particularly to a device protection method and device.
背景技术 Background technique
对于通讯系统设备来讲, 一般釆取主控板(NCP )加业务板的架构, 时 钟板通常与主控板合为一体, 业务板包含交叉(交换)板、 接口板、 线路板 和支路板等。 在主控板和业务板之间有一个或多个通道, 主控板负责对各个 业务板的管理和监控, 业务板需要定时或不定时上报各种状态信息, 如告警、 开销和心跳等信息。 保护倒换控制中心一般设置在主控板上, 主控板根据业 务板反馈的告警和心跳等信息经过处理后下发倒换控制信息。 由于主控板的 地位和作用非常重要,所以系统中一般设置两块或两块以上主控板,釆取 1+1、 1 : 1、 1+N或 1:N等保护方式进行工作。  For the communication system equipment, the architecture of the main control board (NCP) plus the service board is generally taken. The clock board is usually integrated with the main control board. The service board includes the cross (switching) board, the interface board, the circuit board, and the branch circuit. Board and so on. There are one or more channels between the main control board and the service board. The main control board is responsible for the management and monitoring of each service board. The service board needs to report various status information such as alarms, overhead, and heartbeats periodically or irregularly. . The protection switching control center is generally set on the main control board. The main control board sends the switching control information according to the alarms and heartbeats reported by the service board. Since the status and function of the main control board is very important, two or more main control boards are generally set in the system, and the protection modes such as 1+1, 1 : 1, 1+N or 1:N are used for work.
主控板和业务板之间的通道(可能是 S口通道、 ECC通道和告警通道等, 这里统称为管理通道)通常釆用以太网 (如 FE、 GE等) , 电模式和光模式 都有所应用; 而各个主控板之间会有一条或几条数据同步通道(可以是 FE、 GE、 10GE等通道) , 用于主备之间的数据同步和交互; 同时主备之间留有 一些硬件互联线, 来传递主备状态及进行倒换控制。  The channel between the main control board and the service board (probably the S port channel, ECC channel, and alarm channel, etc., collectively referred to as the management channel) is usually Ethernet (such as FE, GE, etc.), and both the electrical mode and the optical mode are available. There are one or several data synchronization channels (which can be FE, GE, 10GE, etc.) between the main control boards, which are used for data synchronization and interaction between the active and standby devices. The hardware interconnects to communicate the active and standby states and perform switching control.
传统的主备 NCP之间的通讯芯片是各自独立的, 对于整个系统来讲, 如 果釆用以太网互联架构, 如图 1所示, 则可以明显看出在主备 NCP以及各个 单板之间存在多个环路, 因此, 需要防止以太网成环导致的广播风暴, 传统 的做法有两种:  The communication chips between the active and standby NCPs are independent. For the entire system, if the Ethernet interconnect architecture is used, as shown in Figure 1, it can be clearly seen between the active and standby NCPs and between the boards. There are multiple loops, so there is a need to prevent broadcast storms caused by Ethernet loops. There are two traditional approaches:
( 1 )关闭备用单板的 Link (连接 )状态, 保证同一时刻只有一个主控板 和其他业务单板相连, 这种方法虽然排除了以太网成环的问题, 但同时也失 去了大部分保护功能。 从图中可以看到, 保护路径少了很多。 另外, 在开关 Link的过程中, 也会造成一定时间的断链。  (1) Turn off the Link state of the standby board to ensure that only one main control board is connected to other service boards at the same time. This method eliminates the problem of Ethernet looping, but also loses most of the protection. Features. As you can see from the figure, the protection path is much less. In addition, during the process of switching the Link, it will also cause a broken chain for a certain period of time.
( 2 )釆用生成树(STP )或快速生成树(RSTP )协议来防止以太网成环 导致的以太网广播风暴,而无论是 STP还是 RSTP算法,由于有 CPU的参与, 会有协议运算时间, 同时当节点过多 (槽位过多 )的时候, 寻找 ROOT (根) 节点的时间会加长, 所以上述方法在倒换发生时, 协议收敛时间比较慢, 断 链时间会比较长。 (2) Using Spanning Tree (STP) or Rapid Spanning Tree (RSTP) protocol to prevent Ethernet looping The resulting Ethernet broadcast storm, regardless of STP or RSTP algorithm, due to the participation of the CPU, there will be protocol operation time, and when there are too many nodes (too many slots), the time to find the ROOT (root) node will It is lengthened. Therefore, when the above method occurs, the convergence time of the protocol is slower and the link-breaking time is longer.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种设备的保护方法及装置, 解决主备 NCP发生倒换时断链时间长的问题。  The technical problem to be solved by the present invention is to provide a protection method and device for the device, which solves the problem of long chain break time when the active and standby NCPs are switched.
为解决上述技术问题, 本发明公开了一种设备的保护方法, 包括: 将主用主控板和备用主控板进行芯片堆叠, 并将所述主用主控板和所述 备用主控板连接到同一业务板的端口进行端口聚合, 在所述业务板侧, 将连 接到所述主用主控板和所述备用主控板的端口进行端口聚合;  In order to solve the above technical problem, the present invention discloses a method for protecting a device, including: stacking a main control board and a standby main control board, and using the main control board and the standby main control board The port is connected to the port of the same service board to perform port aggregation. On the service board side, the port connected to the main control board and the standby main control board is port-aggregated.
在发生保护倒换时, 所述主用主控板与所述备用主控板通过芯片堆叠后 形成的通道进行切换, 所述业务板与所述备用主控板通过端口聚合后形成的 聚合通道进行交互。 其中, 业务板与所述备用主控板通过端口聚合后形成的聚合通道进行交 互的所述步骤包括:  When the protection switching occurs, the active main control board and the standby main control board are switched by the channel formed by the chip stacking, and the service board and the standby main control board are formed by the aggregation channel formed by the port aggregation. Interaction. The steps of the service board and the standby main control board interacting through the aggregation channel formed by the port aggregation include:
所述业务板检测到与所述主用主控板断链后, 在所述聚合通道上进行流 量均衡, 将发送给所述主用主控板的信息通过所述聚合通道中与所述备用主 控板相连的通道发送给所述备用主控板。 其中, 主用主控板与备用主控板通过芯片堆叠后形成的通道进行切换的 所述步骤包括:  After detecting that the service board is disconnected from the active main control board, performing traffic balancing on the aggregation channel, and transmitting information sent to the active main control board through the aggregation channel and the standby The channel connected to the main control board is sent to the standby main control board. The steps of the main control board and the standby main control board being switched by the channel formed after the chip stacking include:
所述主用主控板通过与所述备用主控板之间的芯片堆叠后形成的通道, 将主备状态信息及倒换控制信息发送给所述备用主控板, 以实现主控板的切 换。 其中, 该方法还包括:  The active main control board sends the active/standby status information and the switching control information to the standby main control board through the channel formed by the chip stacking with the standby main control board, so as to implement the switching of the main control board. . The method further includes:
所述主用主控板与所述备用主控板进行切换后, 所述业务板在与所述备 用主控板进行交互的过程中, 还检测与所述备用主控板之间的链路状态。 其中, 该方法还包括: After the active main control board and the standby main control board are switched, the service board is in the standby During the interaction with the main control board, the link status with the standby main control board is also detected. The method further includes:
在发生保护倒换前, 所述业务板通过所述聚合通道中与所述主用主控板 相连的通道与所述主用主控板进行信息交互。 本发明还提供了一种设备的保护装置, 包括: 主用主控板和备用主控板, 其中, 所述主用主控板和所述备用主控板之间釆用芯片堆叠, 并且, 所述主 用主控板和所述备用主控板的连接到同一业务板的端口釆用端口聚合, 所述 业务板上连接到所述主用主控板和所述备用主控板的端口釆用端口聚合; 所述主用主控板和所述备用主控板, 设置成在发生保护倒换时, 通过芯 片堆叠后形成的通道进行切换;  Before the protection switching occurs, the service board exchanges information with the active main control board through a channel connected to the active main control board in the aggregation channel. The present invention also provides a protection device for a device, comprising: an active main control board and a standby main control board, wherein a chip stack is used between the main main control board and the standby main control board, and The port of the active main control board and the standby main control board connected to the same service board is aggregated, and the service board is connected to the port of the main control board and the standby main control board. The port is aggregated; the main control board and the standby main control board are configured to switch through channels formed after chip stacking when protection switching occurs;
所述业务板, 设置成与所述备用主控板通过端口聚合后形成的聚合通道 进行交互。 其中, 所述业务板与所述备用主控板是以如下方式通过端口聚合后形成 的聚合通道进行交互的:  The service board is configured to interact with the aggregation channel formed by the port aggregation of the standby main control board. The service board and the standby main control board are interacted by the aggregation channel formed by port aggregation in the following manner:
所述业务板检测到与所述主用主控板断链后, 在所述聚合通道上进行流 量均衡, 将发送给所述主用主控板的信息通过所述聚合通道中与所述备用主 控板相连的通道发送给所述备用主控板。 其中, 所述主用主控板与备用主控板是以如下方式通过芯片堆叠后形成 的通道进行切换的:  After detecting that the service board is disconnected from the active main control board, performing traffic balancing on the aggregation channel, and transmitting information sent to the active main control board through the aggregation channel and the standby The channel connected to the main control board is sent to the standby main control board. The main control board and the standby main control board are switched by using channels formed after chip stacking as follows:
所述主用主控板通过与所述备用主控板之间的芯片堆叠后形成的通道, 将主备状态信息及倒换控制信息发送给所述备用主控板, 以实现主控板的切 换。 其中, 所述业务板还设置成在所述主用主控板与所述备用主控板进行切 换后, 在与所述备用主控板进行交互的过程中, 检测与所述备用主控板之间 的链路状态。  The active main control board sends the active/standby status information and the switching control information to the standby main control board through the channel formed by the chip stacking with the standby main control board, so as to implement the switching of the main control board. . The service board is further configured to detect and the standby main control board during the interaction with the standby main control board after the main control board and the standby main control board are switched. The link state between.
其中, 所述业务板还设置成在发生保护倒换前, 通过所述聚合通道中与 所述主用主控板相连的通道与所述主用主控板进行信息交互。 The service board is further configured to pass through the aggregation channel before protection switching occurs. The channel connected to the main control board exchanges information with the main control board.
综上所述, 本发明通过将多块主控板芯片堆叠 Stack及芯片端口聚合 Trunk的方式实现对通讯设备的保护,可以有效解决传统方式在倒换发生时断 链时间长的问题, 在主控板之间的链路和主控板与业务板之间的链路上都达 到最快的信息传递和保护倒换, 从而可以在简洁的系统架构下提升整个系统 的保护能力, 在通讯系统上建立起一种高效而健壮的保护机制。 附图概述  In summary, the present invention realizes the protection of the communication device by stacking multiple stacks of the main control board chip and the chip port aggregation Trunk, which can effectively solve the problem that the traditional method has a long chain-breaking time when the switching occurs, in the main control The link between the boards and the link between the main control board and the service board achieve the fastest information transmission and protection switching, so that the protection capability of the entire system can be improved under the simple system architecture, and the communication system can be established. An efficient and robust protection mechanism. BRIEF abstract
图 1为现有的设备保护方案的示意框图;  1 is a schematic block diagram of an existing device protection scheme;
图 2 为本发明实施方式的基于芯片堆叠和端口聚合的保护装置的示意 图;  2 is a schematic diagram of a protection device based on chip stacking and port aggregation according to an embodiment of the present invention;
图 3为本发明实施方式的设备保护方法的流程图。  FIG. 3 is a flowchart of a device protection method according to an embodiment of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
本实施方式在基于以太网的系统互连架构上, 实现各个主用和备用主控 板之间的芯片堆叠, 并将各个主控板的连接到同一业务板上同一槽位的端口 进行端口聚合, 从而建立起一条完整闭合的数据传递和保护通道。  In this embodiment, on the Ethernet-based system interconnection architecture, the chip stack between the active and standby main control boards is implemented, and the ports of the main control boards connected to the same slot on the same service board are used for port aggregation. , thus establishing a complete closed data transfer and protection channel.
芯片堆叠 (也称芯片级联)是将两颗或两颗以上芯片通过高速通道互联 (有时需要通讯报文格式或通讯协议的配合) , 实现将多颗芯片模拟成一颗 芯片的效果。  Chip stacking (also known as chip cascading) is the process of interconnecting two or more chips through a high-speed channel (sometimes requiring communication message formats or communication protocols) to simulate multiple chips into one chip.
端口聚合是将多个端口汇聚成一个端口, 从而提高端口的带宽。  Port aggregation is the aggregation of multiple ports into one port to increase the bandwidth of the port.
芯片堆叠的产生是为了增大芯片容量和接口数量, 以拓展芯片的功能。 本实施方式中, 将分别放置于主控板上的两颗或两颗以上的芯片, 模拟成一 颗芯片, 主要目的不是增大容量, 而是将位于不同主控板上的芯片的端口模 拟成一颗芯片上的端口, 由于不同的芯片放置在不同主控板上, 芯片堆叠成 一颗后就相当于主备主控板是同一块板, 主备用主控板上两颗或两颗以上芯 片的信息交互模拟成了一颗芯片不同端口之间的信息交互, 在倒换发生时, 主备主控板的切换速率就会大大提高, 在芯片堆叠的基础上, 再利用端口聚 合, 从而实现快速的保护倒换。 The chip stack is generated to increase the chip capacity and the number of interfaces to expand the function of the chip. In this embodiment, two or more chips respectively placed on the main control board are simulated into one chip, and the main purpose is not to increase the capacity, but to simulate the ports of the chips on different main control boards. The ports on the chip, because different chips are placed on different main control boards, the chips are stacked into one, which is equivalent to the same main board, the main board is two or more chips on the main standby main board. The information interaction simulation becomes the information exchange between different ports of a chip. When the switching occurs, the switching speed of the active and standby main control boards is greatly improved. On the basis of the chip stacking, the port aggregation is utilized. In order to achieve fast protection switching.
下面结合附图对本实施方式进行详细说明。  The present embodiment will be described in detail below with reference to the accompanying drawings.
如图 2所示, 主控板上配置有 CPU, 三层 /二层交换芯片, 其中, 三层交 换芯片可以选择 BroadCom公司的 BCM56XXX系列,支持通过 HiGig接口(物 理层是 XAUI接口,最大 lOGbps的传输速率)的堆叠;业务板上配置有 CPU, 二层交换芯片。  As shown in Figure 2, the main control board is equipped with a CPU, three-layer/two-layer switch chip, among which, the three-layer switch chip can select BroadCom's BCM56XXX series, and supports the HiGig interface (the physical layer is the XAUI interface, the maximum lOGbps Stacking of transmission rate); the service board is configured with a CPU and a Layer 2 switching chip.
在将各个主控板上的交换芯片堆叠成一颗芯片后, 将连接到同一个业务 板的端口进行聚合, 模拟成一个端口; 在业务板一侧, 将分别连到主备 NCP 的端口进行聚合。完成聚合后,业务板到主备 NCP间的通道聚合成一条通道, 当主控板发生主备倒换时,通过聚合通道内的流量均衡即可实现主备 NCP的 倒换。  After the switch chips of each main control board are stacked into one chip, the ports connected to the same service board are aggregated and simulated into one port. On the service board side, the ports connected to the active and standby NCPs are aggregated. . After the aggregation is complete, the service board is aggregated into a channel between the active and standby NCPs. When the active/standby switchover occurs on the main control board, the active and standby NCPs can be switched through the traffic balancing in the aggregation channel.
如图 3所示, 本实施方式实现设备保护的方法包括以下步骤:  As shown in FIG. 3, the method for implementing device protection in this embodiment includes the following steps:
步骤 301 ,将主备 NCP进行芯片堆叠, 并将主备 NCP上连接到同一业务 板的同一槽位的端口进行端口聚合,将业务板侧分别连接到主备 NCP上相同 槽位的端口进行端口聚合;  In the step 301, the active and standby NCPs are stacked on the same port, and the ports on the active and standby NCPs are connected to the same slot of the same service board for port aggregation, and the service board is connected to the port of the same slot on the active and standby NCPs. Polymerization
步骤 302, 在主控板 2为主用主控板时, 业务板侧使用聚合通道 2的与 主控板 2相连的通道与主控板 2进行信息交互;  Step 302: When the main control board 2 is the main control board, the service board side uses the channel connected to the main control board 2 of the aggregation channel 2 to exchange information with the main control board 2;
步骤 303 , 在主控板 2的背板侧以太网突然断链时, 业务板的相应交换 芯片端口会及时检测到断链, 并通过在聚合通道 2上进行流量均衡, 将发送 给主控板 2的信息,通过聚合通道 2的与主控板 1相连的通道发送给主控板 1 ; 步骤 304, 主控板 2通过与主控板 1之间的堆叠通道传递主备状态及倒 换控制信息;  Step 303: When the Ethernet on the backplane side of the main control board 2 is suddenly broken, the corresponding switch chip port of the service board detects the broken link in time, and performs traffic balancing on the aggregation channel 2, and sends it to the main control board. The information of the second channel is sent to the main control board 1 through the channel connected to the main control board 1 of the aggregation channel 2; in step 304, the main control board 2 transmits the active/standby state and the switching control information through the stacking channel with the main control board 1. ;
步骤 305, 主控板 1作为主用主控板, 业务板侧使用聚合通道 2的与主 控板 1相连的通道与主控板 1进行信息交互, 并检测与主控板 1之间的链路 状态。  Step 305, the main control board 1 serves as an active main control board, and the service board side uses the channel connected to the main control board 1 of the aggregation channel 2 to perform information interaction with the main control board 1, and detects the chain between the main control board 1 and the main control board 1. Road status.
本实施方式中没有 Link的打开与关断, 一般仅需要运行链路汇聚控制协 议(LACP ) , 因此, 能在很短的时间内完成保护倒换。 本领域普通技术人员可以理解: 上述方法中的全部或部分步骤可通过程 序来指令相关硬件完成, 程序可以存储于计算机可读存储介质中, 如只读存 储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用一 个或多个集成电路来实现。 相应地, 上述实施例中的各模块可以釆用硬件的 形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任何特定 形式的硬件和软件的结合。 In this embodiment, there is no link opening and closing, and generally only the Link Aggregation Control Protocol (LACP) needs to be run, so the protection switching can be completed in a short time. One of ordinary skill in the art can understand that all or part of the above steps may be completed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium such as a read only memory, a magnetic disk or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
当然, 本发明还可有多种实施方式, 在不背离本发明精神及其实质的情 凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改进, 均应包含 在本发明的保护范围之内。  The invention may, of course, be embodied in a variety of embodiments without departing from the spirit and scope of the invention, and any modifications, equivalents, and improvements made within the spirit and scope of the invention are included in the invention. Within the scope of protection.
工业实用性 Industrial applicability
本发明通过将多块主控板芯片堆叠 Stack及芯片端口聚合 Trunk的方式实 现对通讯设备的保护, 可以有效解决传统方式在倒换发生时断链时间长的问 题, 在主控板之间的链路和主控板与业务板之间的链路上都达到最快的信息 传递和保护倒换, 从而可以在简洁的系统架构下提升整个系统的保护能力, 在通讯系统上建立起一种高效而健壮的保护机制, 因此具有很强的工业实用 性。  The invention realizes the protection of the communication device by stacking a plurality of main control board chip stacks and the chip port aggregation trunk, which can effectively solve the problem that the traditional method has a long chain-breaking time when the switching occurs, and the chain between the main control boards The fastest information transmission and protection switching are achieved on the link between the road and the main control board and the service board, so that the protection capability of the entire system can be improved under a simple system architecture, and an efficient system is established on the communication system. Robust protection mechanism and therefore strong industrial applicability.

Claims

权 利 要 求 书 Claim
1、 一种设备的保护方法, 包括:  1. A method of protecting a device, comprising:
将主用主控板和备用主控板进行芯片堆叠, 并将所述主用主控板和所述 备用主控板连接到同一业务板的端口进行端口聚合, 在所述业务板侧, 将连 接到所述主用主控板和所述备用主控板的端口进行端口聚合;  Stacking the main control board and the standby main control board, and connecting the main control board and the standby main control board to the port of the same service board for port aggregation. On the service board side, Ports connected to the main control board and the standby main control board for port aggregation;
在发生保护倒换时, 所述主用主控板与所述备用主控板通过芯片堆叠后 形成的通道进行切换, 所述业务板与所述备用主控板通过端口聚合后形成的 聚合通道进行交互。  When the protection switching occurs, the active main control board and the standby main control board are switched by the channel formed by the chip stacking, and the service board and the standby main control board are formed by the aggregation channel formed by the port aggregation. Interaction.
2、 如权利要求 1所述的保护方法, 其中, 业务板与所述备用主控板通过 端口聚合后形成的聚合通道进行交互的所述步骤包括: 2. The protection method according to claim 1, wherein the step of interacting between the service board and the aggregation main control board through the aggregation channel formed by the port aggregation comprises:
所述业务板检测到与所述主用主控板断链后, 在所述聚合通道上进行流 量均衡, 将发送给所述主用主控板的信息通过所述聚合通道中与所述备用主 控板相连的通道发送给所述备用主控板。  After detecting that the service board is disconnected from the active main control board, performing traffic balancing on the aggregation channel, and transmitting information sent to the active main control board through the aggregation channel and the standby The channel connected to the main control board is sent to the standby main control board.
3、 如权利要求 2所述的保护方法, 其中, 主用主控板与备用主控板通过 芯片堆叠后形成的通道进行切换的所述步骤包括: 3. The protection method according to claim 2, wherein the step of switching between the active main control board and the standby main control board through the channel formed by the chip stacking comprises:
所述主用主控板通过与所述备用主控板之间的芯片堆叠后形成的通道, 将主备状态信息及倒换控制信息发送给所述备用主控板, 以实现主控板的切 换。  The active main control board sends the active/standby status information and the switching control information to the standby main control board through the channel formed by the chip stacking with the standby main control board, so as to implement the switching of the main control board. .
4、 如权利要求 3所述的保护方法, 该方法还包括: 4. The protection method of claim 3, further comprising:
所述主用主控板与所述备用主控板进行切换后, 所述业务板在与所述备 用主控板进行交互的过程中, 还检测与所述备用主控板之间的链路状态。  After the active main control board is switched with the standby main control board, the service board also detects a link with the standby main control board during the interaction with the standby main control board. status.
5、 如权利要求 1所述的保护方法, 该方法还包括: 5. The protection method of claim 1, further comprising:
在发生保护倒换前, 所述业务板通过所述聚合通道中与所述主用主控板 相连的通道与所述主用主控板进行信息交互。  Before the protection switching occurs, the service board exchanges information with the active main control board through a channel connected to the active main control board in the aggregation channel.
6、 一种设备的保护装置, 包括: 主用主控板和备用主控板, 其中, 所述 主用主控板和所述备用主控板之间釆用芯片堆叠, 并且, 所述主用主控板和 所述备用主控板的连接到同一业务板的端口釆用端口聚合, 所述业务板上连 接到所述主用主控板和所述备用主控板的端口釆用端口聚合; A protection device for a device, comprising: an active main control board and a standby main control board, wherein a chip stack is used between the main main control board and the standby main control board, and the main Using the main control board and The port of the standby main control board connected to the same service board is aggregated by the port, and the port connected to the main control board and the standby main control board of the service board is aggregated by the port;
所述主用主控板和所述备用主控板, 设置成在发生保护倒换时, 通过芯 片堆叠后形成的通道进行切换;  The main control board and the standby main control board are configured to switch through a channel formed after the chip stack is formed when protection switching occurs;
所述业务板, 设置成与所述备用主控板通过端口聚合后形成的聚合通道 进行交互。  The service board is configured to interact with the aggregation channel formed by the port aggregation of the standby main control board.
7、 如权利要求 6所述的保护装置, 其中, 所述业务板与所述备用主控板 是以如下方式通过端口聚合后形成的聚合通道进行交互的: The protection device according to claim 6, wherein the service board and the standby main control board are interacted by an aggregation channel formed by port aggregation in the following manner:
所述业务板检测到与所述主用主控板断链后, 在所述聚合通道上进行流 量均衡, 将发送给所述主用主控板的信息通过所述聚合通道中与所述备用主 控板相连的通道发送给所述备用主控板。  After detecting that the service board is disconnected from the active main control board, performing traffic balancing on the aggregation channel, and transmitting information sent to the active main control board through the aggregation channel and the standby The channel connected to the main control board is sent to the standby main control board.
8、 如权利要求 7所述的保护装置, 其中, 所述主用主控板与备用主控板 是以如下方式通过芯片堆叠后形成的通道进行切换的: 8. The protection device according to claim 7, wherein the primary main control board and the standby main control board are switched by channels formed after chip stacking in the following manner:
所述主用主控板通过与所述备用主控板之间的芯片堆叠后形成的通道, 将主备状态信息及倒换控制信息发送给所述备用主控板, 以实现主控板的切 换。  The active main control board sends the active/standby status information and the switching control information to the standby main control board through the channel formed by the chip stacking with the standby main control board, so as to implement the switching of the main control board. .
9、 如权利要求 8所述的保护装置, 其中: 9. The protection device of claim 8 wherein:
所述业务板还设置成在所述主用主控板与所述备用主控板进行切换后, 在与所述备用主控板进行交互的过程中, 检测与所述备用主控板之间的链路 状态。  The service board is further configured to detect, between the active main control board and the standby main control board, during the interaction with the standby main control board, between the detection and the standby main control board. Link status.
10、 如权利要求 6所述的保护装置, 其中: 10. The protection device of claim 6 wherein:
所述业务板还设置成在发生保护倒换前, 通过所述聚合通道中与所述主 用主控板相连的通道与所述主用主控板进行信息交互。  The service board is further configured to perform information interaction with the active main control board through a channel connected to the main control board in the aggregation channel before the protection switching occurs.
PCT/CN2011/072864 2010-11-18 2011-04-15 Device protection method and apparatus WO2012065400A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010548833.3 2010-11-18
CN201010548833.3A CN101986626B (en) 2010-11-18 2010-11-18 Method and device for protecting equipment

Publications (1)

Publication Number Publication Date
WO2012065400A1 true WO2012065400A1 (en) 2012-05-24

Family

ID=43710930

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/072864 WO2012065400A1 (en) 2010-11-18 2011-04-15 Device protection method and apparatus

Country Status (2)

Country Link
CN (1) CN101986626B (en)
WO (1) WO2012065400A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112564579A (en) * 2020-11-30 2021-03-26 中国航空工业集团公司西安航空计算技术研究所 Master-slave architecture electromechanical controller and health management method

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986626B (en) * 2010-11-18 2015-04-01 中兴通讯股份有限公司 Method and device for protecting equipment
CN102820981A (en) * 2011-06-08 2012-12-12 中兴通讯股份有限公司 Single board switching method and protective single board
CN103179178B (en) * 2011-12-26 2016-06-15 杭州华三通信技术有限公司 The method and apparatus of aggregation group member port between extension cluster
CN103744755A (en) * 2014-01-08 2014-04-23 烽火通信科技股份有限公司 Implement system for primary and standby veneer single port shared protection and method thereof
CN104394102B (en) * 2014-11-28 2017-08-01 迈普通信技术股份有限公司 The active-standby switching method and stacked switch of a kind of stacked switch
CN105871614A (en) * 2016-03-31 2016-08-17 国网山西省电力公司信息通信分公司 Protection method and device of board cards in communication device
CN108234308B (en) * 2016-12-14 2022-04-01 迈普通信技术股份有限公司 Distributed equipment internal communication system and method
CN109286537B (en) * 2018-10-23 2020-11-17 智强通达科技(北京)有限公司 Board management system and management method for frame type multi-service board
CN110636393B (en) * 2019-09-10 2021-11-16 烽火通信科技股份有限公司 Double-master-control 1+1 concurrent working method and system of OLT equipment
CN110543390B (en) * 2019-09-19 2024-07-09 深圳市友华通信技术有限公司 Quick response method, device and communication equipment for interrupt reconnection
CN111181845B (en) * 2019-12-31 2022-03-15 苏州盛科通信股份有限公司 Method for realizing LACP (Master-slave high availability) and LACP-based stacking system
CN112235192B (en) * 2020-10-10 2022-07-08 苏州盛科通信股份有限公司 Linkagg port switching method for stacking equipment and Linkagg-based stacking equipment
CN112311621B (en) * 2020-10-15 2022-05-24 新华三技术有限公司合肥分公司 Communication detection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1482769A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Master-standby switching and load sharing system and method based on Ethernet access platform
CN1859244A (en) * 2005-10-19 2006-11-08 华为技术有限公司 Master and slave frame cascade system in cut-in device
CN101047597A (en) * 2007-04-30 2007-10-03 华为技术有限公司 Accessequipment based on Ethernet bus and its host-slave frame communication method
CN101170394A (en) * 2007-11-27 2008-04-30 华为技术有限公司 A method and device for realizing inter-board interconnection
CN101986626A (en) * 2010-11-18 2011-03-16 中兴通讯股份有限公司 Method and device for protecting equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197634B (en) * 2007-12-29 2011-07-27 上海华为技术有限公司 Method, system and single board device for implementing automatic protection rearrangement of main and standby plate

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1482769A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Master-standby switching and load sharing system and method based on Ethernet access platform
CN1859244A (en) * 2005-10-19 2006-11-08 华为技术有限公司 Master and slave frame cascade system in cut-in device
CN101047597A (en) * 2007-04-30 2007-10-03 华为技术有限公司 Accessequipment based on Ethernet bus and its host-slave frame communication method
CN101170394A (en) * 2007-11-27 2008-04-30 华为技术有限公司 A method and device for realizing inter-board interconnection
CN101986626A (en) * 2010-11-18 2011-03-16 中兴通讯股份有限公司 Method and device for protecting equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112564579A (en) * 2020-11-30 2021-03-26 中国航空工业集团公司西安航空计算技术研究所 Master-slave architecture electromechanical controller and health management method

Also Published As

Publication number Publication date
CN101986626B (en) 2015-04-01
CN101986626A (en) 2011-03-16

Similar Documents

Publication Publication Date Title
WO2012065400A1 (en) Device protection method and apparatus
US7792016B2 (en) Network relay device for relaying data in a network and control method for the same
EP2352253B1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
CN101753397B (en) System, method and device for rapidly self-healing Ethernet ring
JP4257509B2 (en) Network system, node device, redundancy construction method, and redundancy construction program
JP5943221B2 (en) Network device and information transmission method
WO2007092132A2 (en) System and method for detecting and recovering from virtual switch link failures
CN101557313B (en) Method for protecting uplink plate card of carrier-grade broadband access equipment
WO2016116050A1 (en) Failure protection method, device and system for ring protection link
WO2012065404A1 (en) Method and apparatus for realizing communication between single boards
WO2012058895A1 (en) Method and device for switching aggregation links
WO2011137797A1 (en) Method and system for data transmission in ethernet
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN110912815B (en) Network element ring formation preventing method, device, equipment and readable storage medium
CN103428114A (en) ATCA (advanced telecom computing architecture) 10-gigabit switching board and system
WO2006078950A2 (en) Dual-purpose uplinks used in a fault-tolerant stack
CN101222402B (en) Ethernet ring protection method, system and device
JP2013239807A (en) Communication device
US8842574B2 (en) Energy efficient networking
US8929361B2 (en) Switch discovery protocol for a distributed fabric system
CN113014451A (en) System and method for testing redundancy reliability of dual-core local area network
CN202818355U (en) Gigabit Ethernet switch and network system using the same
CN108234308A (en) A kind of distributed apparatus intercom system and method
CN201663607U (en) Rapid self-healing device and equipment for Ethernet ring network
CN101291258B (en) Ethernet loop processing method when connecting multiple frames on communication platform

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

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

Country of ref document: EP

Kind code of ref document: A1