WO2012000314A1 - 单板主备切换方法、装置和系统 - Google Patents

单板主备切换方法、装置和系统 Download PDF

Info

Publication number
WO2012000314A1
WO2012000314A1 PCT/CN2011/070542 CN2011070542W WO2012000314A1 WO 2012000314 A1 WO2012000314 A1 WO 2012000314A1 CN 2011070542 W CN2011070542 W CN 2011070542W WO 2012000314 A1 WO2012000314 A1 WO 2012000314A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
control board
channel
channel port
standby
Prior art date
Application number
PCT/CN2011/070542
Other languages
English (en)
French (fr)
Inventor
朱金星
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012000314A1 publication Critical patent/WO2012000314A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/48Routing tree calculation

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a board switching method, apparatus, and system. Background technique
  • the active/standby protection of the board in the communication system is the basis for the active/standby protection.
  • the existing method for implementing the active/standby protection of the board uses the field programmable gate array to detect the status of the peer device. Level switching, no single network port protection.
  • RSTP Rapid Spanning Tree Protocol
  • the current problem to be solved is to provide a reliable port detection and protection method for the RSTP protocol, which is used to implement protection switching of a single network port in the active/standby switchover system.
  • One of the objects of the present invention is to provide a reliable port detection method for implementing protection switching of a single network port of an active and standby board.
  • the present invention provides a method for switching between active and standby boards, including:
  • the first control board connected to the second control board and the at least one board periodically sends a detection message to the board;
  • the channel port of the board is closed and the second control board is opened to open the channel port of the board.
  • the first control board negotiates with the second control board by using the RSTP protocol;
  • the first control board closes a channel port of the single board
  • the second control board opens a channel port with the single board, and the first control board communicates with the board through the active channel and the second control board and the channel of the board.
  • the method further includes:
  • the second control board periodically sends a detection message to the board
  • the channel port connected to the board is closed, and the first control board is negotiated by using the RSTP protocol;
  • the first control board determines that the channel port connected to the board is disconnected, it sends a channel abnormal alarm to the network management.
  • the method further includes:
  • the first control board communicates with the single board through the second control board.
  • the present invention also provides a control board, in communication with the second control board, comprising:
  • the detecting module periodically sends a detection packet to the at least one board, and receives the board. Respond to 4 essays;
  • a processing module when the detecting module does not receive the response packet of the board within a predetermined time, the channel port of the board is closed;
  • the notification module is further configured to notify the second control board to open and communicate with the second control board through the RSTP protocol when the detection module does not receive the response message of the board within a predetermined time.
  • the channel port of the board is further configured to notify the second control board to open and communicate with the second control board through the RSTP protocol when the detection module does not receive the response message of the board within a predetermined time.
  • the present invention also provides a single board active/standby switching system, including:
  • the first control board is configured to close the channel port of the board after negotiating with the second control board by using the RSTP protocol, when the board does not receive the response message of the board in the predetermined time; After the second control board negotiates with the first control board by using the RSTP protocol, the channel port of the board is opened.
  • the embodiment of the present invention sends a detection packet through the main control board.
  • the board determines that the communication with the board is faulty.
  • the standby control is performed.
  • the board is connected to the communication channel of the board.
  • the main control board communicates with the board through the communication channel between the active and standby channels and the standby control board to implement active/standby protection.
  • FIG. 2 is a schematic flowchart of another embodiment of a method for switching between active and standby boards according to the present invention
  • FIG. 3 is a schematic flowchart of another embodiment of a method for switching between active and standby boards of a board
  • FIG. 5 is a schematic diagram of a corresponding system structure of a schematic diagram of still another embodiment of a method for switching between active and standby boards according to the present invention
  • FIG. 6 is a schematic structural view of an embodiment of a control board according to the present invention.
  • FIG. 7 is a schematic structural diagram of an embodiment of a single-board active/standby switching system according to the present invention
  • FIG. 8 is a schematic diagram showing an abnormal pre-algorithm logical connection state between a main control board of a single board and a single board 1 communication channel;
  • FIG. 9 is a schematic diagram showing the logical connection state of the standby control board of the board and the standby mode of the board 1 after the abnormality of the communication channel of the board.
  • the method for the active/standby switchover of the board of the present invention includes: the first control board that communicates with the second control board and the at least one board periodically sends a detection packet to the board; when the first control board does not receive the board within a predetermined time When responding to the packet, close the channel port with the board and notify the second control board to open the channel port with the board.
  • the field programmable gate array on the main control board periodically sends a frame request packet to the board through the communication channel.
  • Step S103 The main control board receives the response message, and determines that the board is in a connected state.
  • Steps S101 to S103 are the processing flow in the normal case.
  • communication channel between the main control board and the board fails, communication cannot be performed, that is, the main control board cannot receive the response report after step S101.
  • Step S104 The main control board does not receive the response message to determine that the board is in the off state; the field programmable gate array on the main control board does not receive the response of the board 1 in the board at a certain interval. Packet, and notify the RSTP module that the board 1 communication channel is in the disconnected state.
  • Step S105 The main control board and the standby control board perform RSTP negotiation, the main control board closes the channel port connected to the board, and the standby control board opens the channel port connected to the board.
  • the RSTP module on the main control board automatically sets the communication channel with the board 1 to the disabled state. If the corresponding port of the communication channel of the board 1 in the RSTP module of the standby control board is connected, the standby control board will The channel of the channel is set to the forwarding state. If the port corresponding to the communication channel of the RSTP protocol module of the standby control board is disconnected, the channel on the main control board is abnormal.
  • the channel of the single board 1 and the main control board is closed, the channel of the single board 1 and the standby control board is opened, and the main control board passes the communication channel of the main control board and the standby control board, and the standby control board and the single A communication channel of the board communicates with the board.
  • the embodiment of the present invention sends a detection packet through the main control board.
  • the board determines that the communication channel with the board is faulty.
  • the standby board is reserved.
  • the control board opens the communication channel port with the single board, so that the main control board communicates with the board through the channel of the standby control board to implement protection of the active and standby communication channels.
  • FIG. 3 is a schematic flow chart of another embodiment of a method for switching between active and standby boards according to the present invention.
  • the embodiment of the present invention is the processing after the completion of the above embodiment.
  • the main control board and the board 1 communicate with each other through the channels of the active and standby channels, the standby control board, and the board 1.
  • the processing of the standby control board and the board is processed by the main control board and the board in the above embodiment.
  • the process is similar.
  • Step S201 The standby control board periodically sends a detection packet to the board.
  • the field programmable gate array on the standby control board periodically sends a frame request packet to the board through the communication channel;
  • Step S202 The standby control board does not receive the response packet, and closes the channel port of the board.
  • the field programmable gate array on the standby control board does not receive the response packet of the board 1 at a certain interval, and closes the channel port of the board 1 and notifies the RSTP protocol module that the communication channel port of the board 1 is in the disconnected state;
  • Step S203 The standby control board performs RSTP negotiation with the main control board, and the main control board opens the channel port of the board.
  • the channel sends an abnormal channel alarm to the network management system.
  • the RSTP protocol module of the standby control board automatically sets the communication channel with the board 1 to the disabled state. If the RSTP protocol module of the main control board is connected to the corresponding port of the board 1 communication channel, the main control board is used. Set the channel port to the forwarding state.
  • the board connection is as shown in Figure 8. If the corresponding port of the RSTP protocol module of the main control board is disconnected, the main control board is used. The reporting channel is abnormal.
  • the board connection is shown in Figure 9.
  • FIG. 4 is a schematic flow chart of another embodiment of a method for switching between active and standby boards according to the present invention.
  • the embodiment of the present invention is the processing after the completion of the above embodiment.
  • the main control board and the single board 1 communicate with each other through the channels of the active and standby channels, the standby control board, and the single board 1.
  • the main control board and the single board 2 communicate directly with the channel of the single board 2 through the main control board. .
  • the active and standby control boards perform the active/standby switchover.
  • the steps to achieve its process flow are as follows:
  • Step S301 The main control board receives an active/standby switchover command delivered by the network management device.
  • Step S304 The control module on the standby control board is switched to be the main control module, and the original standby control board is switched to be the main control board, and the connection state of the communication port is unchanged;
  • This process only involves switching the communication layer and does not change the channel port status.
  • FIG. 6 is a schematic structural diagram of an embodiment of a control board according to the present invention.
  • the embodiment of the present invention provides that the main control board connected to the standby control board includes:
  • the processing module 42 is configured to: when the detecting module 41 does not receive the response packet of the board within a predetermined time, close the channel port of the board;
  • the notification module 43 is configured to notify the standby control board to open the channel port of the board when the processing module 42 is closed with the board channel port.
  • the notification module 43 is further configured to: when the detecting module 41 does not receive the board response message within a predetermined time, notify the standby control board to open and The channel port of the board, so that the active control board communicates with the board through the channel of the standby control board.
  • FIG. 7 is a schematic structural diagram of an embodiment of a single-board active/standby switching system according to the present invention.
  • a first control board 51 connected to the second control board 52 and the at least one board 53 for periodically transmitting a detection message to the board 53; when the response packet of the board 53 is not received within a predetermined time, Close the channel port of the board 53 and notify the second control board 52 to open the channel port of the board 53;
  • the second control board 52 is configured to open a channel port of the single board 53 after receiving the notification of the first control board 51.
  • the second control board 52 is configured to open a channel port with the board 53 after being negotiated with the first control board 51 by using the RSTP protocol.
  • the first control board 51 sends a frame request packet to the board 53 through the communication channel timing.
  • the first control board 51 does not receive the response packet of the board 53 for a certain interval, and notifies the RSTP module of the RSTP module that the communication channel is in the disconnected state.
  • the RSTP module on the first control board 51 automatically sets the corresponding port of the communication channel with the board 53 to the disabled state; if the RSP module of the second control board 52 corresponds to the communication channel connected to the board 53 at this time If the port is in the connected state, the second control board 52 sets the channel port to the forwarding state.
  • first control board 51 provided by the embodiment of the present invention may be the control board provided by the above embodiment.

Landscapes

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

Description

单板主备切换方法、 装置和系统 技术领域
本发明涉及到通信技术领域, 特别涉及到一种单板主备切换方法、 装 置和系统。 背景技术
在通信系统的使用中, 为了保证系统的稳定往往会釆用主备模式, 当 主用控制板与单板的通信通道出现故障时, 备用控制板打开与所述单板的 来与所述单板通信, 保证业务能够正常处理。
通信系统中的单板主备保护是实现主备保护的基础, 现有的实现单板 主备保护的方法使用现场可编程门阵列进行检测对端设备状态; 保护方法 为主备设备间的设备级的倒换, 没有单个网口的保护。
在具体实施过程中, 本发明的发明人发现, 现有的保护方法速度慢, 容易导致业务断开。 结合快速生成树协议 (RSTP , Rapid Spanning Tree Protocol )进行主备保护倒换, 对于线路处于连接状态但无法通讯的通道异 常, RSTP无法检测。
综上所述,当前需要解决的问题是为 RSTP协议提供一种可靠的端口检 测及保护手段, 用于实现主备倒换系统中单个网口的保护倒换。 发明内容
本发明的目的之一为提供一种可靠的端口检测手段, 用于实现主备单 板的单个网口的保护倒换。
为了实现上述目的, 本发明的技术方案是这样实现的: 本发明提供了一种单板主备切换方法, 包括:
与第二控制板和至少一个单板连接的第一控制板周期性向所述单板发 送检测报文;
当所述第一控制板在预定时间内未收到所述单板的响应报文时, 关闭 与所述单板的通道端口并通知第二控制板打开与所述单板的通道端口。
进一步地, 当所述第一控制板在预定时间内未收到单板的响应报文时, 关闭与单板的通道端口并通知第二控制板打开与单板的通道端口具体为: 当所述第一控制板在预定时间内未收到单板响应报文时, 通过 RSTP 协议与所述第二控制板协商;
所述第一控制板关闭与所述单板的通道端口;
所述第二控制板打开与所述单板的通道端口, 所述第一控制板通过主 备通道以及所述第二控制板与所述单板的通道与所述单板通信。
进一步地, 所述第二控制板打开与所述单板的通道端口后, 该方法还 包括:
所述第二控制板周期性向所述单板发送检测报文;
当所述第二控制板在预定时间内未收到所述单板的响应报文时, 关闭 与所述单板相连的通道端口, 并通过 RSTP协议与所述第一控制板协商; 所述第一控制板确定与单板相连的通道端口断开时, 向网管发送通道 异常告警。
进一步地, 所述与第二控制板和至少一个单板通信的第一控制板周期 性向单板发送检测报文、 且在预定时间内收到单板的响应报文后, 该方法 还包括:
所述第一控制板通过所述第二控制板与所述单板通信。
本发明还提供了一种控制板, 与第二控制板通信, 包括:
检测模块, 周期性向至少一个单板发送检测报文, 并接收所述单板的 响应 4艮文;
处理模块, 当所述检测模块在预定时间内未收到单板的响应报文时, 关闭与所述单板的通道端口;
通知模块, 用于当所述处理模块关闭与所述单板通道端口时, 通知第 二控制板打开与所述单板的通道端口。
进一步地, 所述通知模块还用于当所述检测模块在预定时间内未收到 单板响应报文时,通过 RSTP协议与所述第二控制板协商通知所述第二控制 板打开与所述单板的通道端口。
本发明还提供了一种单板主备切换系统, 包括:
与第二控制板和至少一个单板通信的第一控制板, 用于周期性向所述 单板发送检测报文; 在预定时间内未收到单板的响应报文时, 关闭与所述 单板的通道端口并通知第二控制板打开与所述单板的通道端口;
所述第二控制板, 用于接收所述第一控制板的通知后, 打开与所述单 板的通道端口。
进一步地, 所述第一控制板用于在预定时间内未收到单板响应报文时, 通过 RSTP协议与所述第二控制板协商后关闭与所述单板的通道端口; 所述第二控制板用于通过 RSTP协议与所述第一控制板协商后,打开与 所述单板的通道端口。
进一步地, 所述第一控制板为权利要求 5或 6所述的控制板。
本发明实施例通过主用控制板发送检测报文, 当单板未返回响应报文 时判断与所述单板的通信出现故障,主用控制板通过 RSTP协议与备用控制 板协商后, 备用控制板打开与单板的通信通道, 主用控制板通过主备通道、 备用控制板与单板的通信通道来与单板通信, 以实现主备保护。 附图说明
图 1 为本发明一种单板主备切换方法中主用控制板和备用控制板以及 单板的架构示意图;
图 2为本发明一种单板主备切换方法一实施例的流程示意图; 图 3为本发明一种单板主备切换方法另一实施例的流程示意图; 图 4为本发明一种单板主备切换方法再一实施例的流程示意图; 图 5 为本发明一种单板主备切换方法再一实施例的流程示意图的对应 系统结构示意图;
图 6为本发明一种控制板的一实施例的结构示意图;
图 7为本发明一种单板主备切换系统的一实施例的结构示意图; 图 8为本发明一种单板主备切换方法主用控制板和单板 1通信通道异 常前逻辑连接状态;
图 9为本发明一种单板主备切换方法备用控制板和单板 1通信通道异 常后逻辑连接状态。
本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一 步说明。 具体实施方式
应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于 限定本发明。
本发明的单板主备切换方法包括: 与第二控制板和至少一个单板通信 的第一控制板周期性向单板发送检测报文; 当第一控制板在预定时间内未 收到单板的响应报文时, 关闭与单板的通道端口并通知第二控制板打开与 单板的通道端口。
下面通过具体的实施例来说明本发明的方案, 其中, 将第一控制板设 定为主用控制板; 将第二控制板设定为备用控制板。
参照图 2, 为本发明一种单板主备切换方法一实施例的流程示意图; 结合图 1 , 主用控制板与备用控制板运行 RSTP模块, 主用控制板与多 个单板通信。 具体的, 子架背板上 9号槽位和 10号槽位插入两块控制板, 在背板上插入 48块单板。 两块控制板可以进行信息交互, 并根据自身的槽 位号确定 9号槽位控制板为主用控制板, 10号槽位控制板为备用控制板。 主用控制板负责与 48块单板进行通信, 主用控制板上的现场可编程门阵列 实时检测与各单板的通道连接状态。 具体的检测方式可以是周期性的发送 检测报文, 等待单板的响应报文, 当超时未收到响应报文时判断与该单板 的通信通道出现故障。
主用控制板和单板每隔一定时间间隔重复如图 2 所示处理流程, 实现 的具体步骤如下:
步骤 S101、 主用控制板向单板发送检测报文;
具体的, 所述主用控制板上的现场可编程门阵列通过通讯通道定时向 单板发送一帧请求包。
步骤 S102、 单板收到检测报文后向主用控制板发送响应报文; 所述单板收到主用控制板发送的请求包后, 向所述主用控制板发送一 帧应答包。
步骤 S103、 主用控制板接收到所述响应报文判断所述单板处于连接状 态;
当所述主用控制板接收到所述应答包,发送一个通知信息到 RSTP模块 告知与所述单板的通讯通道处于正常连接状态。
步骤 S101至步骤 S103为正常情况下的处理流程, 当所述主用控制板 与单板间的通讯通道发生故障, 通信无法进行时, 也即是步骤 S101后主用 控制板无法接收到响应报文, 此时釆用如下步骤:
步骤 S104、主用控制板未接收到响应报文判断所述单板处于断开状态; 主用控制板上的现场可编程门阵列连续一定间隔时间收不到单板中的 单板 1的应答包, 并通知 RSTP模块所述单板 1通讯通道处于断开状态。 步骤 S105、 主用控制板与备用控制板进行 RSTP协商, 主用控制板关 闭所述单板连接的通道端口, 备用控制板打开所述单板连接的通道端口。
主用控制板上的 RSTP模块自动将与单板 1的通信通道设为 disabled状 态;若此时备用控制板 RSTP模块中所述单板 1通讯通道的对应端口为连接 状态, 则备用控制板将此通道端口设为 forwarding状态; 进一步的, 如果 此时备用控制板 RSTP协议模块的单板 1通讯通道对应端口为断开状态,则 主用控制板上报通道异常。
完成处理后, 单板 1与主用控制板的通道被关闭, 单板 1与备用控制 板的通道打开, 主用控制板通过主用控制板与备用控制板的通信通道和备 用控制板与单板的通信通道来与所述单板通信。
本发明实施例通过主用控制板发送检测报文, 当单板未返回响应报文 时判断与所述单板的通信通道出现故障,主用控制板通过 RSTP协议与备用 控制板协商后, 备用控制板打开与所述单板通信通道端口, 以便主用控制 板通过备用控制板的通道与所述单板通信, 以实现主备通信通道保护。
请参阅图 3 , 为本发明一种单板主备切换方法另一实施例的流程示意 图;
本发明实施例为上述实施例完成后的处理后。 主用控制板与单板 1 是 通过主备通道、 备用控制板和单板 1 的通道进行通信, 此时备用控制板和 单板处理流程与上述实施例中主用控制板和单板的处理流程类似。
当备用控制板检测到与单板 1 通信发生异常时, 切断此通道, 并上报 告警。 其处理流程实现的步骤如下:
步骤 S201、 备用控制板周期性向单板发送检测报文;
具体的所述备用控制板上的现场可编程门阵列通过通讯通道定时向单 板发送一帧请求包;
步骤 S202、 备用控制板未收到响应报文, 关闭与单板的通道端口; 备用控制板上现场可编程门阵列连续一定间隔时间收不到单板 1 的应 答包, 关闭与单板 1的通道端口, 并通知 RSTP协议模块, 单板 1通讯通道 端口处于断开状态;
步骤 S203、 备用控制板与主用控制板进行 RSTP协商, 主用控制板打 开与所述单板的通道端口。
进一步地, 主用控制确定与单板相连的通道端口断开时, 向网管发送 通道异常告警。
备用控制板的 RSTP协议模块自动将与单板 1的通信通道设为 disabled 状态;如果此时主用控制板的 RSTP协议模块的对单板 1通信通道对应端口 为连接状态, 则主用控制板将此通道端口设为 forwarding状态, 此时单板 连接情况如图 8所示;如果此时主用控制板 RSTP协议模块的对单板 1通讯 通道对应端口为断开状态, 则主用控制板上报通道异常, 此时单板连接情 况如图 9所示;
完成处理后, 有两种结果: 1、 如果此时主用控制板通道正常, 则单板 通道切换到主用控制板上, 如图 8所示; 如果此时主用控制板与单板的通 道异常, 则单板 1将不再与主用控制板和备用控制板进行通信。
请参阅图 4, 为本发明一种单板主备切换方法另一实施例的流程示意 图;
本发明实施例为上述实施例完成后的处理后。 主用控制板与单板 1 是 通过主备通道、 备用控制板和单板 1 的通道进行通信, 而主用控制板与单 板 2是直接通过主用控制板与单板 2的通道进行通信。
当网管向设备发送主备倒换命令后, 主用控制板和备用控制板进行主 备倒换处理。 其处理流程实现的步骤如下:
步骤 S301、 主用控制板接收网管下发的主备倒换命令;
步骤 S302、 主用控制板向备用控制板的控制模块发送倒换命令; 步骤 S303、 原主用控制板上的控制模块变为备用控制模块, 原主用控 制板控制变为新的备用控制板, 通讯端口连接状态不变;
步骤 S304、 备用控制板上的控制模块切换为主用控制模块, 原备用控 制板控制切换为主用控制板, 通讯端口连接状态不变;
此过程只涉及通讯层的倒换, 不改变通道端口状态。
本发明实施例的系统结构示意图参照图 5 , 处理完成后,原备用控制板 变成新主用控制板, 负责与各个单板进行通讯, 与单板 1 直接通过新主用 控制板与单板 1之间的通道进行通信, 与单板 2通过新主用控制板与新备 用控制板之间的通道, 新备用控制板与单板 2之间的通道进行通信; 原主 用控制板变成备用控制板, 不再与单板进行通信。
请参阅图 6, 为本发明一种控制板的一实施例的结构示意图; 本发明实施例提供与备用控制板连接的主用控制板包括:
检测模块 41 , 周期性向至少一个单板发送检测报文, 并接收所述单板 的响应 4艮文;
处理模块 42 ,当所述检测模块 41在预定时间内未收到单板的响应报文 时, 关闭与所述单板的通道端口;
通知模块 43 , 用于当所述处理模块 42关闭与所述单板通道端口时, 通 知备用控制板打开与所述单板的通道端口。
进一步, 所述通知模块 43还用于当所述检测模块 41在预定时间内未 收到单板响应报文时,通过 RSTP协议与所述备用控制板协商通知所述备用 控制板打开与所述单板的通道端口, 以便主用控制板通过备用控制板的通 道与所述单板通信。
请参阅图 7 , 为本发明一种单板主备切换系统的一实施例的结构示意 图。
本发明实施例提供的一种单板主备切换系统, 包括第一控制板 51、 第 二控制板 52和至少一个单板 53; 其中:
与第二控制板 52和至少一个单板 53连接的第一控制板 51 , 用于周期 性向所述单板 53发送检测报文; 在预定时间内未收到单板 53的响应报文 时, 关闭与所述单板 53的通道端口并通知第二控制板 52打开与所述单板 53的通道端口;
所述第二控制板 52, 用于接收所述第一控制板 51的通知后, 打开与所 述单板 53的通道端口。
进一步, 所述第一控制板 51用于在预定时间内未收到单板 53响应报 文时,通过 RSTP协议与所述第二控制板 52协商后关闭与所述单板 53的通 道端口;
所述第二控制板 52用于通过 RSTP协议与所述第一控制板 51协商后, 打开与所述单板 53的通道端口。
具体的, 所述第一控制板 51通过通讯通道定时向单板 53发送一帧请 求包。 第一控制板 51连续一定间隔时间收不到单板 53的应答包, 并通知 自身的 RSTP模块所述单板 53通讯通道处于断开状态。第一控制板 51上的 RSTP模块自动将与单板 53的通信通道的对应端口设为 disabled状态; 若 此时第二控制板 52的 RSTP模块中对所述单板 53连接的通讯通道的对应端 口为连接状态, 则第二控制板 52将此通道端口设为 forwarding状态; 进一 步的如果此时第二控制板 52的 RSTP模块中单板 53的通讯通道的对应端口 为断开状态, 则第一控制板 51上报通道异常。 完成处理后, 单板 53与第 一控制板 51的通道被关闭, 单板 53与第二控制板 52的通道打开, 第一控 制板 51与单板 53是通过第二控制板 52上的硬件连线进行通信。
进一步的, 本发明实施例提供的第一控制板 51可以是上述实施例提供 的控制板。
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直 接或间接运用在其他相关的技术领域, 均同理包括在本发明的专利保护范 围内。

Claims

权利要求书
1、 一种单板主备切换方法, 其特征在于, 包括:
与第二控制板和至少一个单板连接的第一控制板周期性向所述单板发 送检测报文;
当所述第一控制板在预定时间内未收到所述单板的响应报文时, 关闭 与所述单板的通道端口并通知第二控制板打开与所述单板的通道端口。
2、 根据权利要求 1所述的方法, 其特征在于, 当所述第一控制板在预 定时间内未收到单板的响应报文时, 关闭与单板的通道端口并通知第二控 制板打开与单板的通道端口具体为:
当所述第一控制板在预定时间内未收到单板响应报文时, 通过 RSTP 协议与所述第二控制板协商;
所述第一控制板关闭与所述单板的通道端口;
所述第二控制板打开与所述单板的通道端口, 所述第一控制板通过主 备通道以及所述第二控制板与所述单板的通道与所述单板通信。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述第二控制板打 开与所述单板的通道端口后, 该方法还包括:
所述第二控制板周期性向所述单板发送检测报文;
当所述第二控制板在预定时间内未收到所述单板的响应报文时, 关闭 与所述单板相连的通道端口, 并通过 RSTP协议与所述第一控制板协商; 所述第一控制板确定与单板相连的通道端口断开时, 向网管发送通道 异常告警。
4、 根据权利要求 1所述的方法, 其特征在于,
所述与第二控制板和至少一个单板通信的第一控制板周期性向单板发 送检测报文、 且在预定时间内收到单板的响应报文后, 该方法还包括: 所述第一控制板通过所述第二控制板与所述单板通信。
5、 一种控制板, 其特征在于, 与第二控制板通信, 包括: 检测模块, 周期性向至少一个单板发送检测报文, 并接收所述单板的 响应 4艮文;
处理模块, 当所述检测模块在预定时间内未收到单板的响应报文时, 关闭与所述单板的通道端口;
通知模块, 用于当所述处理模块关闭与所述单板通道端口时, 通知第 二控制板打开与所述单板的通道端口。
6、 根据权利要求 5所述的控制板, 其特征在于, 所述通知模块还用于 当所述检测模块在预定时间内未收到单板响应报文时,通过 RSTP协议与所 述第二控制板协商通知所述第二控制板打开与所述单板的通道端口。
7、 一种单板主备切换系统, 其特征在于, 包括:
与第二控制板和至少一个单板通信的第一控制板, 用于周期性向所述 单板发送检测报文; 在预定时间内未收到单板的响应报文时, 关闭与所述 单板的通道端口并通知第二控制板打开与所述单板的通道端口;
所述第二控制板, 用于接收所述第一控制板的通知后, 打开与所述单 板的通道端口。
8、 根据权利要求 7所述的系统, 其特征在于, 所述第一控制板用于在 预定时间内未收到单板响应报文时,通过 RSTP协议与所述第二控制板协商 后关闭与所述单板的通道端口;
所述第二控制板用于通过 RSTP协议与所述第一控制板协商后,打开与 所述单板的通道端口。
9、 根据权利要求 7或 8所述的系统, 其特征在于, 所述第一控制板为 权利要求 5或 6所述的控制板。
PCT/CN2011/070542 2010-06-29 2011-01-24 单板主备切换方法、装置和系统 WO2012000314A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010214087.4 2010-06-29
CN201010214087.4A CN101877657B (zh) 2010-06-29 2010-06-29 单板主备切换方法、装置和系统

Publications (1)

Publication Number Publication Date
WO2012000314A1 true WO2012000314A1 (zh) 2012-01-05

Family

ID=43020127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070542 WO2012000314A1 (zh) 2010-06-29 2011-01-24 单板主备切换方法、装置和系统

Country Status (2)

Country Link
CN (1) CN101877657B (zh)
WO (1) WO2012000314A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109139528A (zh) * 2018-09-25 2019-01-04 东莞市觅智实业有限公司 一种风扇检测系统及检测方法
CN110493056A (zh) * 2019-08-23 2019-11-22 深圳震有科技股份有限公司 一种综合接入设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877657B (zh) * 2010-06-29 2014-08-13 中兴通讯股份有限公司 单板主备切换方法、装置和系统
CN102571398A (zh) * 2010-12-29 2012-07-11 中兴通讯股份有限公司 一种通讯设备间通道保护方法及系统
CN110850776B (zh) * 2019-11-21 2021-03-23 杭州迪普科技股份有限公司 一种框式设备的控制方法、控制装置及框式设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512675A (zh) * 2002-12-31 2004-07-14 东方通信科技发展有限公司 通讯通道主备倒换方法
CN1599373A (zh) * 2004-07-21 2005-03-23 港湾网络有限公司 防止快速状态转换时产生临时环路的方法
CN1725661A (zh) * 2005-06-02 2006-01-25 杭州华为三康技术有限公司 双主控系统中业务端口的切换方法及装置
CN101877657A (zh) * 2010-06-29 2010-11-03 中兴通讯股份有限公司 单板主备切换方法、装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512675A (zh) * 2002-12-31 2004-07-14 东方通信科技发展有限公司 通讯通道主备倒换方法
CN1599373A (zh) * 2004-07-21 2005-03-23 港湾网络有限公司 防止快速状态转换时产生临时环路的方法
CN1725661A (zh) * 2005-06-02 2006-01-25 杭州华为三康技术有限公司 双主控系统中业务端口的切换方法及装置
CN101877657A (zh) * 2010-06-29 2010-11-03 中兴通讯股份有限公司 单板主备切换方法、装置和系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109139528A (zh) * 2018-09-25 2019-01-04 东莞市觅智实业有限公司 一种风扇检测系统及检测方法
CN109139528B (zh) * 2018-09-25 2024-03-22 东莞市觅智智能家居有限公司 一种风扇检测系统及检测方法
CN110493056A (zh) * 2019-08-23 2019-11-22 深圳震有科技股份有限公司 一种综合接入设备

Also Published As

Publication number Publication date
CN101877657B (zh) 2014-08-13
CN101877657A (zh) 2010-11-03

Similar Documents

Publication Publication Date Title
US8213296B2 (en) Link aggregation protection
JP4257509B2 (ja) ネットワークシステム、ノード装置、冗長構築方法、および冗長構築プログラム
US8244838B2 (en) Industrial controller employing the network ring topology
CN102315975B (zh) 一种基于irf系统的故障处理方法及其设备
US7792016B2 (en) Network relay device for relaying data in a network and control method for the same
EP2194676B1 (en) Ethernet ring system, its main node and intialization method
US9602304B2 (en) Data transfer device system, network system, and method of changing configuration of network system
WO2008089614A1 (fr) Procédé, système et dispositif de protection d'une liaison en anneau
CN101060485B (zh) 拓扑改变报文的处理方法和处理装置
CN100586096C (zh) 一种基于l2vpn的拓扑通知方法、系统及其装置
WO2009111969A1 (zh) 以太环网中边缘端口阻塞的方法、以太环网系统和设备
WO2014176975A1 (zh) Drni中同一端内系统之间交互信息的方法和系统
CN101841450B (zh) 多个环形拓扑构建相交环实现稳定通信的方法及系统
WO2012000314A1 (zh) 单板主备切换方法、装置和系统
WO2007107098A1 (fr) Procédé et système de détection de défaillance unidirectionnelle dans des réseaux en boucle
CN103107940B (zh) 用于设备级环网的冗余网关系统
WO2016116050A1 (zh) 环保护链路故障保护方法、设备及系统
CN101714939A (zh) 一种以太环网主节点的故障处理方法及相应以太环网
CN103227725A (zh) 一种防火墙双机备份的方法及装置
WO2011026347A1 (zh) 一种以太环网保护方法及传输节点
CN102932183B (zh) 双上行链路故障处理方法及设备
CN105743565A (zh) 一种光传送网的保护倒换方法及装置
JP2006352544A (ja) レイヤ2ネットワークの冗長化システム
WO2009052725A1 (en) Method, system and router for establishing master/slave link
CN101340315B (zh) 一种端到端以太网保护方法及采用该方法的通信装置

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

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

Country of ref document: EP

Kind code of ref document: A1