WO2014090120A1 - 链路切换方法及系统 - Google Patents

链路切换方法及系统 Download PDF

Info

Publication number
WO2014090120A1
WO2014090120A1 PCT/CN2013/088805 CN2013088805W WO2014090120A1 WO 2014090120 A1 WO2014090120 A1 WO 2014090120A1 CN 2013088805 W CN2013088805 W CN 2013088805W WO 2014090120 A1 WO2014090120 A1 WO 2014090120A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
line card
alarm message
switching
information
Prior art date
Application number
PCT/CN2013/088805
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 US14/651,321 priority Critical patent/US9596130B2/en
Publication of WO2014090120A1 publication Critical patent/WO2014090120A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing

Definitions

  • the present invention relates to the field of communications, and in particular to a link switching method and system.
  • All-Network Protocol (All IP) has gradually become a reality in the network construction of operators, and various operators have basically stopped building new traditional voice switching networks, and existing services have begun to gradually transform toward IP bearers.
  • IP network in the related technology is a "best effort" service model, and it is difficult to reach the level of the traditional telecommunication network in terms of service quality and reliability.
  • the telecommunication network is more sensitive to the reliability of the link.
  • the link can be switched between the active and standby links within 50 ms when the link fails, that is, the service is switched from the failed link to the backup link within 50 ms.
  • various link detection protocols such as bidirectional forwarding detection (BFD), multi-protocol label switching-transport architecture (MPLS-TP) operation management and maintenance (OAM), and various link switching mechanisms are proposed in the industry.
  • BFD bidirectional forwarding detection
  • MPLS-TP multi-protocol label switching-transport architecture
  • OAM operation management and maintenance
  • link switching mechanisms are proposed in the industry.
  • BFD bidirectional forwarding detection
  • MPLS-TP multi-protocol label switching-transport architecture
  • OAM operation management and maintenance
  • Link detection protocol sessions such as: BFD and MPLS-TP OAM are configured on the primary link.
  • Such protocols are highly sensitive and can detect link failures in time. Since the detection protocol is highly sensitive, hardware chip support is required, usually on a line card.
  • the detection protocol session detects a link fault, an alarm is generated.
  • the alarm information can be directly notified to the central processing unit (CPU) on the line card for link switching.
  • CPU central processing unit
  • the former is enough to complete the link switching.
  • the former can only complete the link switching on the online card of the session, but cannot complete other line cards. Link switching on.
  • High-end devices in the network generally adopt a fully distributed architecture, which is mainly composed of a main control board, a line card, and a switching network.
  • the main control board is set to be responsible for the system control plane.
  • the line card is set to be responsible for the control plane and data forwarding plane of the line card.
  • the data forwarding service between the line card and the line card is performed through the switching network.
  • the master and the line card communicate via messages.
  • there are forwarding entries at the data forwarding plane on each line card In the former manner, although the forwarding link on the online card of the detection session is switched, the services on the other line cards still run on the main link that has failed.
  • the present invention provides a link switching method and system to solve at least the problem that a line card in a distributed system in the related art cannot synchronize switching information to other line cards in time when a link switch occurs.
  • a link switching method is provided.
  • the link switching method according to the present invention includes: acquiring an alarm message, wherein the alarm message is sent by a line card whose link has failed through broadcast or multicast; and performing link switching according to the alarm message.
  • the line card sends the alarm message to: the line card creates a broadcast group or a multicast group, and joins one or more line cards managed by the main control board to which the line card belongs to the broadcast group or the multicast group; When a link failure is detected, broadcast or multicast alarm packets are broadcast to each line card.
  • the sending, by the line card, the alarm message comprises: sending, by the line card, the alarm message via the switching network.
  • performing the link switching includes: extracting the identifier information of the alarm packet from the alarm packet; determining the information of the standby link to be switched according to the identifier information; and switching the link to the standby link.
  • determining the information of the standby link according to the identifier information comprises: determining, according to the identifier information, a forwarding chip that performs the handover; and acquiring information of the standby link corresponding to the forwarding chip.
  • a link switching system includes: a first line card; the first line card includes: an obtaining module, configured to acquire an alarm message, wherein the alarm message is a second line card with a link failure through a broadcast or a group
  • the transmitting module is configured to perform link switching according to the alarm message.
  • the system further includes: a second line card; the second line card includes: a creating module, configured to create a broadcast group or a multicast group, and join one or more line cards managed by the main control board to which the line card belongs Broadcast group or multicast group;
  • the sending module is configured to broadcast or multicast alarm packets to each line card when a link failure is detected.
  • the sending module is configured to send an alarm message via the switching network.
  • the execution module includes: an extracting unit configured to extract identification information of the alarm message from the alarm message; and a determining unit configured to determine information of the standby link to be switched according to the identification information; the switching unit is set to be a chain The road switches to the alternate link.
  • the determining unit comprises: a determining subunit, configured to determine, according to the identification information, a forwarding chip that performs switching; and an obtaining subunit, configured to acquire information of a standby link corresponding to the forwarding chip.
  • the invention provides a line card that fails with a link to send an alarm message through broadcast or multicast.
  • the line card that obtains the alarm message performs link switching according to the alarm message, and solves the problem in the distributed system in the related art.
  • the problem that the line card cannot synchronize the switching information to other line cards in time when the link switch occurs, thereby improving the link switching efficiency in the distributed system.
  • FIG. 1 is a flowchart of a link switching method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a link switching method according to a preferred embodiment of the present invention
  • FIG. 3 is a chain according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a link switching system according to a preferred embodiment of the present invention.
  • Step S102 Acquire an alarm message, where the alarm message is sent by a line card whose link is faulty through broadcast or multicast
  • Step S104 Perform link switching according to the alarm message.
  • the line card in the distributed system cannot synchronize the switching information to other line cards in time when the link switching occurs.
  • the line card with the link failure sends an alarm message through broadcast or multicast.
  • the line card that obtains the alarm message performs link switching according to the alarm message, which resolves the distribution in the related art.
  • the line card in the system cannot synchronize the switching information to other line cards in time when link switching occurs, thereby improving the link switching efficiency in the distributed system.
  • the line card sending the alarm message may include the following operations: Step S1: The line card creates a broadcast group or a multicast group, and one or more lines managed by the main control board to which the line card belongs The card is added to the broadcast group or the multicast group.
  • Step S2 The line card broadcasts or multicasts the alarm packet to each line card when it detects that the link is faulty.
  • the control plane assigns a global session number ( SeSS i 0 nID) to each detection session.
  • SeS Tofrwd Establish a mapping relationship ( SeS Tofrwd) between the detection session and the forwarding entry on each line card.
  • the mapping relationship table index is the global session number and the chip number
  • the relationship table content is the forwarding entry index of the active/standby link protection group on the line card forwarding chip.
  • the line card can send an alert message via the switching network.
  • the alarm information is broadcast to the CPU ports of all line cards.
  • the alarm information is directly exchanged to each line card through the switching network, like the data packet, and the time can reach the microsecond level.
  • performing the link switching may include the following steps: Step S3: extracting the identifier information of the alarm packet from the alarm packet; Step S4: determining the information of the standby link to be switched according to the identifier information; S5: Switch the link to the alternate link.
  • the step S4, the determining the information of the standby link according to the identification information may include the following processing: Step S41: determining, according to the identification information, a forwarding chip that performs handover; Step S42: acquiring information of the standby link corresponding to the forwarding chip.
  • Step S41 determining, according to the identification information, a forwarding chip that performs handover
  • Step S42 acquiring information of the standby link corresponding to the forwarding chip.
  • Step S202 A chip detects that a link fault is detected by a chip in which a detection session allocated by one of the line cards under the control of the main control board is located;
  • Step S204 constructing a specific chip In the alarm packet, the session ID is encapsulated in the fixed position of the alarm packet.
  • Step S206 Create a broadcast group or a multicast group, add the CPU port number of all line cards to the broadcast group or multicast group, and send the broadcast group or multicast to the broadcast group or multicast group.
  • Step S208 The CPU port on each line card managed by the main control board receives the alarm message;
  • Step S210 Each line card extracts a session ID field from the alarm message;
  • Step S212 Each line The card searches for the mapping table sesTofrwd by using the session ID and the forwarding chip number on the line card.
  • Step S214 Each line card obtains the forwarding table index on the specific forwarding chip, performs link switching on the forwarding chip, and switches the service to Protect the backup link of the group.
  • the CPU port on each line card After receiving the alarm packet, the CPU port on each line card performs link switching according to the content of the alarm message. This method avoids the uncertainty of CPU message synchronization between boards and can effectively improve the switching efficiency.
  • FIG. 3 is a structural block diagram of a link switching system according to an embodiment of the present invention.
  • the link switching system may include: a first line card 10; the first line card 10 may include: an obtaining module 100, configured to acquire an alarm message, where the alarm message is a link failure
  • the second line card is sent by broadcast or multicast; the executing module 102 is configured to perform link switching according to the alarm message.
  • the system shown in FIG. 3 solves the problem that the line card in the distributed system in the related art cannot synchronize the switching information to other line cards in time when the link switching occurs, thereby improving the distributed system.
  • the system may further include: a second line card 20; the second line card 20 may include: a creating module 200, configured to create a broadcast group or a multicast group, and to master the line card One or more line cards in the board management are added to the broadcast group or the multicast group.
  • the sending module 202 is configured to broadcast or multicast the alarm message to each line card when the link is detected to be faulty. In a preferred implementation, the sending module 202 is configured to send an alarm message via the switching network.
  • a creating module 200 configured to create a broadcast group or a multicast group, and to master the line card
  • One or more line cards in the board management are added to the broadcast group or the multicast group.
  • the sending module 202 is configured to broadcast or multicast the alarm message to each line card when the link is detected to be faulty.
  • the sending module 202 is configured to send an alarm message via the switching network.
  • the execution module 102 may include: an extracting unit 1020, configured to extract identification information of the alarm message from the alarm message; and the determining unit 1022 is configured to determine the standby chain to be switched according to the identification information. Information of the road; switching unit 1024, configured to switch the link to the standby link.
  • the determining unit 1022 may include: a determining subunit (not shown), configured to determine a forwarding chip that performs switching according to the identification information; and an obtaining subunit (not shown) configured to acquire and forward the chip Corresponding information about the alternate link.
  • the session number is bound to the forwarding information of the protection link, and the CPU ports on the line cards in the distributed system are added to a broadcast group.
  • the detection session detects a link failure, it sends a specific alarm message to the broadcast group and carries the session number of the detection session.
  • each line card queries the protection link information associated with the alarm packet to perform link switching.
  • the alarm packets sent in the preceding manner do not need to be advertised to the main control board.
  • the main control board then synchronizes the switching information to each line card. This avoids the uncertainty of message synchronization between boards and the packet exchange efficiency is much higher. The efficiency of message synchronization between boards can effectively improve the efficiency of link switching.
  • the above embodiments achieve the following technical effects (it is necessary to explain that these effects are effects that can be achieved by some preferred embodiments): solving the line card in the distributed system in the related art When the link switching occurs, the switching information cannot be synchronized to other line cards in time, thereby improving the link switching efficiency in the distributed system.
  • Industrial Applicability As described above, the link switching method and system provided by the embodiments of the present invention have the following beneficial effects: The sent alarm message does not need to be advertised to the main control board, and then the main control board synchronizes the switching information to each The line card thus avoids the uncertainty of message synchronization between boards, and the efficiency of message exchange is much higher than the efficiency of message synchronization between boards, which can effectively improve the efficiency of link switching.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明涉及一种链路切换方法及系统。所述方法包括:获取告警报文,其中,告警报文是链路发生故障的线卡通过广播或者组播发送的(S102);根据告警报文执行链路切换(S104)。本发明的技术方案提高了分布式系统中的链路切换效率。

Description

链路切换方法及系统
技术领域 本发明涉及通信领域, 具体而言, 涉及一种链路切换方法及系统。 背景技术 随着通信技术的发展,全网络协议(All IP)在运营商的网络建设中逐渐成为现实, 各运营商已经基本停止新建传统话音交换网络,现有业务也开始逐渐向 IP承载方向改 造。 目前, 相关技术中的 IP网络是一种"尽力而为"的服务模型, 无论是服务质量还是 可靠性都难以达到传统电信网络的水平。 电信网络对于链路的可靠性更敏感, 一般要 求链路在发生故障时能够在 50ms内实现主备链路倒换, 即在 50ms内将业务从发生故 障的链路上倒换到备份链路上。 为了解决上述技术问题, 业内提出了诸如: 双向转发 检测 (BFD)、 多协议标签交换-传送架构 (MPLS-TP) 操作管理维护 (OAM)等各类 链路检测协议以及各类链路切换机制。 在电信网络中, 通常每条主链路都对应一条备份链路, 二者形成主备关系, 即一 个保护组。 当主链路发生故障时, 业务被切换到备份链路。 链路检测协议会话, 诸如: BFD和 MPLS-TP OAM配置在主链路上, 此类协议高度敏感, 可以及时检测到链路故 障。 由于检测协议要求高度敏感, 都需要硬件芯片支持, 通常实现在线卡上。 当检测 协议会话检测到链路故障时产生告警, 可以直接将告警信息通知线卡上的中央处理器 (CPU) 进行链路倒换。 当然, 也可以先通知线卡上的 CPU, 然后由线卡上的 CPU 通知主控板上的 CPU, 最后由主控板上的 CPU通知线卡上的 CPU进行切换。 当系统 中只有一块线卡时, 显然前者已经足以完成链路的切换, 而当系统中有多块线卡时, 前者只能完成会话所在线卡上链路的切换, 而不能完成其他线卡上的链路切换。 网络中的高端设备一般采用全分布式架构, 主要由主控板, 线卡以及交换网组成。 主控板设置为负责系统控制平面, 线卡设置为负责本线卡的控制平面以及数据转发平 面, 线卡与线卡间的数据转发业务通过交换网进行。 主控与线卡通过消息进行通信。 在分布式系统中, 对于多点到多点的业务, 在各个线卡上都存在数据转发层面的转发 表项。 通过前一种方式, 虽然检测会话所在线卡上转发链路进行了切换, 但其他线卡 上业务依然运行在已经发生故障的主链路上。 因此, 在分布式系统中, 只能使用后一 种切换方式, 检测会话所在线卡直接进行链路切换, 同时通知主控, 主控再将切换信 息同步到其他线卡, 其他线卡在收到切换消息后进行链路切换。 然而, 该种方式存在 着显而易见的缺陷, 即切换的效率取决于板间消息同步的效率, 而板间消息的同步效 率是不可控的, 且当存在大量板间消息时, 由于消息处理不及时, 还可能出现消息丢 失。 发明内容 本发明提供了一种链路切换方法及系统, 以至少解决相关技术中的分布式系统中 的线卡在发生链路切换时无法及时将切换信息同步到其他线卡上的问题。 根据本发明的一个方面, 提供了一种链路切换方法。 根据本发明的链路切换方法包括: 获取告警报文, 其中, 告警报文是链路发生故 障的线卡通过广播或者组播发送的; 根据告警报文执行链路切换。 优选地, 线卡发送告警报文包括: 线卡创建广播组或者组播组, 并将与线卡归属 的主控板管理下的一个或多个线卡加入广播组或者组播组; 线卡在检测到链路发生故 障时, 向各个线卡广播或组播告警报文。 优选地, 线卡发送告警报文包括: 线卡经由交换网发送告警报文。 优选地, 执行链路切换包括: 从告警报文中提取告警报文的标识信息; 根据标识 信息确定待切换的备用链路的信息; 将链路切换至备用链路。 优选地, 根据标识信息确定备用链路的信息包括: 根据标识信息确定执行切换的 转发芯片; 获取与转发芯片对应的备用链路的信息。 根据本发明的另一方面, 提供了一种链路切换系统。 根据本发明的链路切换系统包括: 第一线卡; 第一线卡包括: 获取模块, 设置为 获取告警报文, 其中, 该告警报文是链路发生故障的第二线卡通过广播或者组播发送 的; 执行模块, 设置为根据告警报文执行链路切换。 优选地, 上述系统还包括: 第二线卡; 第二线卡包括: 创建模块, 设置为创建广 播组或者组播组, 并将与线卡归属的主控板管理下的一个或多个线卡加入广播组或者 组播组; 发送模块, 设置为在检测到链路发生故障时, 向各个线卡广播或组播告警报 文。 优选地, 发送模块, 设置为经由交换网发送告警报文。 优选地, 执行模块包括: 提取单元, 设置为从告警报文中提取告警报文的标识信 息; 确定单元, 设置为根据标识信息确定待切换的备用链路的信息; 切换单元, 设置 为将链路切换至备用链路。 优选地, 确定单元包括: 确定子单元, 设置为根据标识信息确定执行切换的转发 芯片; 获取子单元, 设置为获取与转发芯片对应的备用链路的信息。 通过本发明, 采用链路发生故障的线卡通过广播或者组播发送告警报文; 获取到 告警报文的线卡根据告警报文执行链路切换, 解决了相关技术中的分布式系统中的线 卡在发生链路切换时无法及时将切换信息同步到其他线卡上的问题, 进而提高了分布 式系统中的链路切换效率。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据本发明实施例的链路切换方法的流程图; 图 2是根据本发明优选实施例的链路切换方法的流程图; 图 3是根据本发明实施例的链路切换系统的结构框图; 图 4是根据本发明优选实施例的链路切换系统的结构框图; 以及 图 5是根据本发明优选实施例的分布式系统执行链路切换的系统示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据本发明实施例的链路切换方法的流程图。 如图 1所示, 该方法可以包 括以下处理步骤: 步骤 S102: 获取告警报文, 其中, 告警报文是链路发生故障的线卡通过广播或者 组播发送的; 步骤 S104: 根据告警报文执行链路切换。 相关技术中, 分布式系统中的线卡在发生链路切换时无法及时将切换信息同步到 其他线卡上。 采用如图 1所示的方法, 链路发生故障的线卡通过广播或者组播发送告 警报文; 获取到告警报文的线卡根据告警报文执行链路切换, 解决了相关技术中的分 布式系统中的线卡在发生链路切换时无法及时将切换信息同步到其他线卡上的问题, 进而提高了分布式系统中的链路切换效率。 优选地, 在步骤 S102中, 线卡发送告警报文可以包括以下操作: 步骤 S1 : 线卡创建广播组或者组播组, 并将与线卡归属的主控板管理下的一个或 多个线卡加入广播组或者组播组; 步骤 S2: 线卡在检测到链路发生故障时, 向各个线卡广播或组播告警报文。 在优选实施例中, 控制层面为每个检测会话分配一个全局会话号(SeSSi0nID)。在 各个线卡上建立检测会话和转发表项的映射关系 (SeSTofrwd)。 映射关系表索引为全 局会话号和芯片号, 其关系表内容为主备链路保护组在本线卡转发芯片上的转发表项 索引。 在支持检测协议的芯片上创建广播组或者组播组, 将所有线卡上的中央处理器 (CPU) 端口号加入该广播组或者组播组。 在优选实施过程中, 线卡可以经由交换网发送告警报文。 在本发明提供的优选实施例中, 当检测会话检测到链路发生故障时, 向所有线卡 的 CPU端口广播告警信息。该告警信息如同数据报文一样, 通过交换网直接交换到各 个线卡上, 时间可以达到微秒级别。 优选地, 在步骤 S104中, 执行链路切换可以包括以下步骤: 步骤 S3: 从告警报文中提取告警报文的标识信息; 步骤 S4: 根据标识信息确定待切换的备用链路的信息; 步骤 S5: 将链路切换至备用链路。 优选地, 上述步骤 S4, 根据标识信息确定备用链路的信息可以包括以下处理: 步骤 S41 : 根据标识信息确定执行切换的转发芯片; 步骤 S42: 获取与转发芯片对应的备用链路的信息。 下面结合图 2所示的优选实施方式对上述优选实施过程做进一步的描述。 图 2是根据本发明优选实施例的链路切换方法的流程图。 如图 2所示, 该流程可 以包括以下处理步骤: 步骤 S202:控制层面为主控板管理下的其中一个线卡分配的检测会话所在芯片检 测到链路故障; 步骤 S204: 芯片构造一个特定的告警报文, 将 sessionID封装在告警报文固定位 置; 步骤 S206: 创建广播组或者组播组, 将所有线卡上的 CPU端口号加入该广播组 或者组播组, 并向广播组或者组播组发送告警报文; 步骤 S208: 主控板管理下的各个线卡上的 CPU端口接收到上述告警报文; 步骤 S210: 各个线卡从告警报文中提取 sessionID字段; 步骤 S212: 每个线卡以 sessionID和本线卡上的转发芯片号为索引查找映射关系 表 sesTofrwd; 步骤 S214: 各个线卡分别获取具体转发芯片上的转发表索引, 在转发芯片上进行 链路切换, 将业务切换到保护组的备份链路上。 由于各个线卡上的 CPU端口收到告警 报文后, 根据告警报文信息内容进行链路切换。此种方式规避了板间 CPU消息同步的 不确定性, 能够切实提高切换效率。 需要说明的是, 为了防止广播的告警报文在交换过程中丢失, 可以根据实际需要 提高告警报文的优先级。 图 3是根据本发明实施例的链路切换系统的结构框图。 如图 3所示, 该链路切换 系统可以包括: 第一线卡 10; 第一线卡 10可以包括: 获取模块 100, 设置为获取告警 报文, 其中, 该告警报文是链路发生故障的第二线卡通过广播或者组播发送的; 执行 模块 102, 设置为根据告警报文执行链路切换。 采用如图 3所示的系统, 解决了相关技术中的分布式系统中的线卡在发生链路切 换时无法及时将切换信息同步到其他线卡上的问题, 进而提高了分布式系统中的链路 切换效率。 优选地, 如图 4所示, 上述系统还可以包括: 第二线卡 20; 第二线卡 20可以包 括: 创建模块 200, 设置为创建广播组或者组播组, 并将与线卡归属的主控板管理下 的一个或多个线卡加入广播组或者组播组; 发送模块 202, 设置为在检测到链路发生 故障时, 向各个线卡广播或组播告警报文。 在优选实施过程中, 上述发送模块 202, 设置为经由交换网发送告警报文。 优选地, 如图 4所示, 上述执行模块 102可以包括: 提取单元 1020, 设置为从告 警报文中提取告警报文的标识信息; 确定单元 1022, 设置为根据标识信息确定待切换 的备用链路的信息; 切换单元 1024, 设置为将链路切换至备用链路。 优选地, 上述确定单元 1022可以包括: 确定子单元 (图中未示出), 设置为根据 标识信息确定执行切换的转发芯片; 获取子单元(图中未示出), 设置为获取与转发芯 片对应的备用链路的信息。 下面结合图 5所示的优选实施方式对上述优选实施过程做进一步的描述。 图 5是根据本发明优选实施例的分布式系统执行链路切换的系统示意图。 如图 5 所示,将检测会话号与保护链路的转发信息绑定,并将分布式系统中各个线卡上的 CPU 端口加入一个广播组。当检测会话检测到链路故障时, 向该广播组发送特定告警报文, 并携带检测会话的会话号。 各线卡接收到告警报文后, 查询与告警报文相关联的保护 链路信息, 进行链路切换。 上述方式发送的告警报文不需要先通告主控板, 再由主控 板将切换信息同步到各个线卡, 从而规避了板间消息同步的不确定性, 且报文交换的 效率远高于板间消息同步的效率, 能够有效提高链路切换的效率。 从以上的描述中, 可以看出, 上述实施例实现了如下技术效果 (需要说明的是这 些效果是某些优选实施例可以达到的效果):解决了相关技术中的分布式系统中的线卡 在发生链路切换时无法及时将切换信息同步到其他线卡上的问题, 进而提高了分布式 系统中的链路切换效率。 工业实用性 如上所述, 本发明实施例提供的一种链路切换方法及系统具有以下有益效果: 发 送的告警报文不需要先通告主控板, 再由主控板将切换信息同步到各个线卡, 从而规 避了板间消息同步的不确定性, 且报文交换的效率远高于板间消息同步的效率, 能够 有效提高链路切换的效率。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种链路切换方法, 包括:
获取告警报文, 其中, 所述告警报文是链路发生故障的线卡通过广播或者 组播发送的;
根据所述告警报文执行链路切换。
2. 根据权利要求 1所述的方法, 其中, 所述线卡发送所述告警报文包括:
所述线卡创建广播组或者组播组, 并将与所述线卡归属的主控板管理下的 一个或多个线卡加入所述广播组或者组播组;
所述线卡在检测到所述链路发生故障时, 向所述各个线卡广播或组播所述 告警报文。
3. 根据权利要求 2所述的方法, 其中, 所述线卡发送所述告警报文包括:
所述线卡经由交换网发送所述告警报文。
4. 根据权利要求 2所述的方法, 其中, 执行所述链路切换包括:
从所述告警报文中提取所述告警报文的标识信息;
根据所述标识信息确定待切换的备用链路的信息;
将所述链路切换至所述备用链路。
5. 根据权利要求 4所述的方法, 其中, 根据所述标识信息确定所述备用链路的信 息包括:
根据所述标识信息确定执行切换的转发芯片;
获取与所述转发芯片对应的所述备用链路的信息。
6. 一种链路切换系统, 包括: 第一线卡;
所述第一线卡包括- 获取模块, 设置为获取告警报文, 其中, 所述告警报文是链路发生故障的 第二线卡通过广播或者组播发送的;
执行模块, 设置为根据所述告警报文执行链路切换。
7. 根据权利要求 6所述的系统, 其中, 所述系统还包括: 所述第二线卡; 所述第二线卡包括- 创建模块, 设置为创建广播组或者组播组, 并将与所述线卡归属的主控板 管理下的一个或多个线卡加入所述广播组或者组播组;
发送模块, 设置为在检测到所述链路发生故障时, 向所述各个线卡广播或 组播所述告警报文。
8. 根据权利要求 7所述的系统, 其中, 所述发送模块, 设置为经由交换网发送所 述告警报文。
9. 根据权利要求 7所述的系统, 其中, 所述执行模块包括:
提取单元, 设置为从所述告警报文中提取所述告警报文的标识信息; 确定单元, 设置为根据所述标识信息确定待切换的备用链路的信息; 切换单元, 设置为将所述链路切换至所述备用链路。
10. 根据权利要求 9所述的系统, 其中, 所述确定单元包括:
确定子单元, 设置为根据所述标识信息确定执行切换的转发芯片; 获取子单元, 设置为获取与所述转发芯片对应的所述备用链路的信息。
PCT/CN2013/088805 2012-12-12 2013-12-06 链路切换方法及系统 WO2014090120A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/651,321 US9596130B2 (en) 2012-12-12 2013-12-06 Method and system for link switching

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210534801.7 2012-12-12
CN201210534801.7A CN103036716B (zh) 2012-12-12 2012-12-12 链路切换方法及系统

Publications (1)

Publication Number Publication Date
WO2014090120A1 true WO2014090120A1 (zh) 2014-06-19

Family

ID=48023229

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088805 WO2014090120A1 (zh) 2012-12-12 2013-12-06 链路切换方法及系统

Country Status (3)

Country Link
US (1) US9596130B2 (zh)
CN (1) CN103036716B (zh)
WO (1) WO2014090120A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577538A (zh) * 2016-01-26 2016-05-11 华为技术有限公司 设备更新的方法、存储设备及应用服务器

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036716B (zh) 2012-12-12 2018-06-22 中兴通讯股份有限公司 链路切换方法及系统
CN104579945B (zh) * 2013-10-18 2019-07-02 中兴通讯股份有限公司 一种冗余保护方法及装置
US9697095B2 (en) * 2014-12-18 2017-07-04 Dell Products L.P. Switch failure recovery system
CN106375208B (zh) * 2015-07-20 2020-09-15 南京中兴新软件有限责任公司 网络路径切换方法和装置
CN107241267B (zh) * 2016-03-28 2021-02-23 华为技术有限公司 一种oam切换方法及网络设备
CN108234301B (zh) * 2016-12-15 2022-04-19 中兴通讯股份有限公司 一种数据链路切换方法和装置
CN109005203B (zh) * 2017-06-06 2022-11-11 无锡雅座在线科技股份有限公司 数据同步方法及装置、存储介质、处理器、终端
CN111726291B (zh) * 2019-08-30 2022-03-01 新华三技术有限公司 一种路径切换方法及网络设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045332A (zh) * 2009-10-26 2011-05-04 杭州华三通信技术有限公司 智能弹性架构中处理控制报文的方法和线卡板
CN102739535A (zh) * 2012-06-26 2012-10-17 中兴通讯股份有限公司 一种线卡离线的保护方法和系统
CN102857419A (zh) * 2012-10-12 2013-01-02 华为技术有限公司 链路聚合端口故障的处理方法和装置
CN103036716A (zh) * 2012-12-12 2013-04-10 中兴通讯股份有限公司 链路切换方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7298693B1 (en) * 1999-10-21 2007-11-20 Tellabs Operations, Inc. Reverse notification tree for data networks
CN101621423A (zh) * 2008-07-04 2010-01-06 鸿富锦精密工业(深圳)有限公司 线卡故障检测方法
US8102848B1 (en) * 2008-11-19 2012-01-24 Force10 Networks, Inc. Multicast high availability enhancements for faster convergence
CN102130717B (zh) * 2010-01-18 2015-04-01 中兴通讯股份有限公司 实现分布式保护的方法及无源光网络系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045332A (zh) * 2009-10-26 2011-05-04 杭州华三通信技术有限公司 智能弹性架构中处理控制报文的方法和线卡板
CN102739535A (zh) * 2012-06-26 2012-10-17 中兴通讯股份有限公司 一种线卡离线的保护方法和系统
CN102857419A (zh) * 2012-10-12 2013-01-02 华为技术有限公司 链路聚合端口故障的处理方法和装置
CN103036716A (zh) * 2012-12-12 2013-04-10 中兴通讯股份有限公司 链路切换方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577538A (zh) * 2016-01-26 2016-05-11 华为技术有限公司 设备更新的方法、存储设备及应用服务器
CN105577538B (zh) * 2016-01-26 2019-06-21 华为技术有限公司 设备更新的方法、存储设备及应用服务器

Also Published As

Publication number Publication date
CN103036716B (zh) 2018-06-22
US9596130B2 (en) 2017-03-14
US20150333952A1 (en) 2015-11-19
CN103036716A (zh) 2013-04-10

Similar Documents

Publication Publication Date Title
WO2014090120A1 (zh) 链路切换方法及系统
CN102025646B (zh) 链路倒换方法及其装置
US7894334B2 (en) Hierarchical redundancy for a distributed control plane
US9130669B2 (en) Troubleshooting method, aggregation node, and optical network protection system
CN102098201B (zh) 一种实现l2tp用户接入备份的方法及网络系统
CN103107906B (zh) 一种板卡间通信方法、板卡及通信机框设备
WO2012013050A1 (zh) 主备用设备间的信息同步方法和服务器
US20100177630A1 (en) System, method, and device for automatic protection switching
WO2009023996A1 (fr) Procédé de mise en œuvre d'une interconnexion de réseau par l'intermédiaire d'une agrégation de liaisons
WO2015131360A1 (zh) 一种链路切换方法、设备和系统
CN106685818A (zh) 报文反馈方法及装置
CN109672619A (zh) 一种处理报文的方法、设备及系统
CN102075343A (zh) 一种实现带外管理的方法、系统和带外管理交换机
CN105471995A (zh) 基于SOA的大规模Web服务机群高可用实现方法
WO2014094268A1 (zh) 一种无源光网络中的业务保护方法、光线路终端及系统
CN102201999A (zh) 一种实现组播业务负荷分担的方法和系统
WO2012068894A1 (zh) 一种实现光线路终端异地容灾的系统和方法
WO2012088910A1 (zh) 连通性故障检测方法和系统
JP6049543B2 (ja) 光通信システム、親局装置、子局装置、切替制御装置、制御装置、管理情報取得方法および回線切替方法
CN102611519A (zh) 一种对无源光网络进行链路保护的方法和装置
WO2010133065A1 (zh) 基于无源光网络的保护系统和方法
JP6383232B2 (ja) 中継システムおよびスイッチ装置
CN103200092B (zh) 一种基于虚拟网络设备的路由进程管理方法和设备
WO2014146395A1 (zh) 保护组播倒换的方法、装置以及系统
CN108270593A (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: 13861723

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14651321

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13861723

Country of ref document: EP

Kind code of ref document: A1