WO2015180265A1 - 多链路保护倒换的方法及装置 - Google Patents

多链路保护倒换的方法及装置 Download PDF

Info

Publication number
WO2015180265A1
WO2015180265A1 PCT/CN2014/084309 CN2014084309W WO2015180265A1 WO 2015180265 A1 WO2015180265 A1 WO 2015180265A1 CN 2014084309 W CN2014084309 W CN 2014084309W WO 2015180265 A1 WO2015180265 A1 WO 2015180265A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
switching
faulty
switching decision
decision
Prior art date
Application number
PCT/CN2014/084309
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 WO2015180265A1 publication Critical patent/WO2015180265A1/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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for multi-link protection switching.
  • Background Art With the development of mobile communication technologies, more and more mobile terminals have entered people's daily lives and work. In order to realize the functions of fault discovery, location, performance detection and management required for network operation.
  • An Operation, Administration, and Maintenance (OAM) protocol is proposed. The operation mainly completes the analysis, prediction, planning and configuration of daily network and business; maintenance is mainly the daily operation activities of testing and fault management of the network and its services.
  • OAM packets There are many types of OAM packets, which can be classified into the following types according to their functions: Ethernet continuity check, Ethernet loopback, Ethernet link tracking, Ethernet alarm indication signal, Ethernet remote end fault indication, Ethernet lock Signal, Ethernet test signal, Ethernet automatic protection switching, Ethernet maintenance communication channel, Ethernet experimental OAM, Ethernet vendor-specific OAM, OAM function for performance monitoring.
  • the OAM Active Protection System (APS) switching protocol is divided into 1+1 and 1:N.
  • a traditional APS protection can only protect one link at a time, and cannot protect multiple faulty links at the same time. As a result, the faulty link cannot be protected in time.
  • the above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
  • SUMMARY OF THE INVENTION The main object of the present invention is to achieve protection of multiple faulty links at the same time, thereby ensuring timely protection of faulty links and ensuring normal forwarding of services.
  • the embodiment of the present invention provides a method for multi-link protection switching, where the method for multi-link protection switching includes: obtaining link information of each link, and determining each chain according to the obtained link information. Whether there is a fault in the road; when there is a fault in the link, the switching decision corresponding to each faulty link is determined according to a preset rule; The faulty link is reversed according to the determined switching decision.
  • the step of determining a switching decision corresponding to each faulty link according to a preset rule comprises: determining a link type corresponding to each faulty link; determining according to a mapping relationship between the link type and the switching decision The switching decision corresponding to each faulty link.
  • the step of determining a switching decision corresponding to each faulty link according to the mapping relationship between the link type and the switching decision includes: obtaining the determined links according to the mapping relationship between the link type and the switching decision The switchover corresponding to the type of the fault is determined.
  • the fault type corresponding to the faulty link is determined.
  • the switchover decision corresponding to each faulty link is determined from the obtained switchover decision.
  • the step of determining, according to a preset rule, a switching decision corresponding to each faulty link includes: determining a fault type corresponding to the faulty link, and determining each strip according to a mapping relationship between the fault type and the switching decision The switching decision corresponding to the faulty link.
  • the step of performing a switching on the faulty link according to the determined switching decision includes: acquiring, according to the determined switching decision, a protection link corresponding to each faulty link; Switch to the corresponding protection link.
  • the method further includes: after receiving the response information of the successful link switching, the faulty link and the switched chain The status attribute corresponding to the road setting.
  • an embodiment of the present invention further provides an apparatus for multi-link protection switching, where the apparatus for multi-link protection switching includes: an acquiring module, configured to acquire link information of each link; , and is configured to determine, according to the obtained link information, whether each link has a fault;
  • the processing module is configured to determine, according to a preset rule, a switching decision corresponding to each faulty link when the link is faulty; and the switching module is configured to perform switching on the faulty link according to the determined switching decision.
  • the processing module is further configured to determine a link type corresponding to each faulty link; and determine, according to a mapping relationship between the link type and the switching decision, a switching decision corresponding to each determined link type.
  • the acquiring module is further configured to: obtain a switching decision corresponding to each faulty link according to a mapping relationship between the link type and the switching decision; and the processing module is further configured to determine that the faulty link corresponds to According to the mapping relationship between the fault type and the switching decision, the switching decision corresponding to each faulty link is determined from the obtained switching decision.
  • the processing module is further configured to determine a fault type corresponding to the faulty link, and determine, according to the mapping relationship between the fault type and the switching decision, a switching decision corresponding to each faulty link.
  • the present invention determines a switching decision of each faulty link according to a preset rule when a plurality of links fail, and performs switching on the faulty link according to the determined switching decision.
  • the link that protects multiple faults is protected at the same time, so that the faulty link is protected in time and the service is forwarded normally.
  • FIG. 1 is a schematic flowchart of a first embodiment of a multi-link protection switching method according to the present invention
  • FIG. 2 is a schematic diagram of a multi-link protection switching communication network according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a third embodiment of a multi-link protection switching method according to the present invention.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for multi-link protection switching according to the present invention. It should be emphasized that the flowchart shown in FIG. 1 is only a preferred embodiment, and those skilled in the art will recognize that any embodiment constructed around the inventive concept should not be separated from the scope of the following technical solutions: According to the obtained link information, the link information of the link is determined according to the obtained link information.
  • Step S10 Obtain link information of each link, and determine whether each link has a fault according to the obtained link information;
  • the upstream device includes two configurations, a working port and a protection port, and the attributes of the two ports are consistent, wherein the working port and the protection port have at least one port.
  • the working port is in the receiving and dispatching service package and the OAM protocol packet (port control packet, interactive packet, and other protocol packets except the service packet).
  • the receiving port is in the Block state, that is, the service packet is not sent or received, but can be sent and received.
  • the intermediate device includes two configurations, a working link group and a protection link group, where at least one link is in the working link group and the protection link group, and the link includes ports on both ends of the link. , divided into upstream port and downstream port.
  • the upstream port is usually a UNI (user network interface) port.
  • the attributes include rate, duplex, etc.
  • the connection characteristics include physical connection, rate, and duplex status.
  • connection characteristics are invalid, that is, the link is faulty and protection switching is required.
  • the downstream port is usually a UNI port or an Ethernet port. If the port is an Ethernet physical port, the attributes are the same as those of the UNI port. If the VCG (Virtual Channel Group) port is included, the attribute is included.
  • the time slot to which the VCG port is bound, the continuous feature includes the LCAS (Link Capacity Adjustment Scheme) state.
  • the threshold can be set. If the number of failed members exceeds the threshold, the port connection characteristics are degraded and need to be switched. .
  • the intermediate device saves the mapping relationship between the working link group and the protection link group, and continuously receives the port connection status and performance, that is, the link information, sent by the working link group and the protection link group.
  • the downstream device includes two configurations, a working port and a protection port, and the port attributes are consistent, wherein the working port and the protection port both have at least one port. Only the working port is in the state of sending and receiving service packets and OAM protocol packets.
  • the protection port is in the Block state and cannot receive and send service packets, but can send and receive OAM protocol packets.
  • the intermediate device monitors all the links between the upstream device and the downstream device, and controls the switching of the link when the link is faulty, so as to ensure the normal transmission of the service packet and ensure the service.
  • the main body of the technical solution of the present invention is preferably the intermediate device, and in another embodiment of the present invention, an application installed on the intermediate device or the intermediate device may be used.
  • Communication control device terminal, electronic device, etc.
  • the intermediate device obtains link information of each link, and determines whether each link has a fault according to the obtained link information.
  • the process of obtaining the link information of each link includes: the intermediate device sends, to the upstream device, link information for detecting each link, where the link information includes a port connection status, a port alarm signal, and performance data.
  • the alarm signal may be generated by setting a timer on the port of the upstream and downstream device.
  • the timer is incremented by 1. If the timer does not expire, the detection continues. If the timer expires and the OAM response message is not received, the link is interrupted and an alarm signal is generated. It is also possible to transmit a heartbeat packet to each link, and issue an alarm signal when a heartbeat packet of each link is not received in a fixed period (3s, 5s, etc.).
  • Each of the upstream and downstream devices sends link information of each link to the intermediate device, and the intermediate device receives the transmitted link information.
  • the process of determining whether a fault exists in each link according to the obtained link information includes: the intermediate device analyzes whether the acquired link information includes information indicating that the port connection is invalid, the port alarm signal, the port performance degradation, and the like represents a link failure.
  • step S20 when the link is faulty, the switching decision corresponding to each faulty link is determined according to a preset rule; the intermediate device determines whether each link has a fault, and the obtained link information includes the port connection failure. When the port performance is degraded, it is determined that the link is faulty.
  • the intermediate device pre-stores a switching decision of each link, that is, the switching policy is associated with the corresponding link.
  • the switching decision of each link may be pre-stored on other terminal devices that are in communication with the intermediate device.
  • the intermediate device determines a switching decision corresponding to each faulty link according to a preset rule, where the preset rule may be: determining each item according to the fault type and/or the link type. The switching decision corresponding to the faulty link.
  • Step S30 Perform a switching on the faulty link according to the determined switching decision. After determining the switching decision corresponding to each faulty link, the intermediate device performs a switching on the faulty link according to the determined switching decision.
  • the process of performing the switching of the faulty link according to the determined switching decision may be: acquiring the protection link corresponding to each faulty link according to the determined switching decision, and switching each faulty link to Corresponding protection link.
  • the intermediate device After receiving the response information of the successful link switching, the intermediate device sets a corresponding status attribute for the faulty link and the switched link.
  • the status attribute of the link that is about to be faulty is set to receive only the OAM protocol packet, and the state attribute of the switched protection link is set to receive the OAM protocol packet and the service data packet.
  • the process of performing the switching of the faulty link according to the determined switching decision may be: acquiring the protection link corresponding to the switching decision according to the determined switching decision, and according to the obtained Protect the priority of the link, obtain the protection link with the priority order first, and obtain the protection chain The road was not used. Switch the faulty link to the acquired protection link.
  • the switching decision corresponding to the faulty link is determined according to a preset rule; and the faulty link is switched according to the determined switching decision.
  • each link in order to obtain the link information of each link and determine the switching decision of each link that is faulty in time, each link is numbered, and each switch is performed. The decision is made by the corresponding number, and the numbered link is associated with the numbered switchover decision map. The decision number corresponding to the number is obtained according to the link number with the fault to obtain a switching decision of the link with the fault.
  • the switching decision of each faulty link is determined according to a preset rule, and the faulty link is switched according to the determined switching decision. It can protect multiple faulty links at the same time, and ensure that the faulty link is protected in time to ensure normal forwarding of services.
  • the step S20 may include: Step S201: determining a link type corresponding to each faulty link; Step S202, determining, according to a mapping relationship between the link type and the switching decision, that each fault is faulty.
  • the switching decision corresponding to the link In this embodiment, the intermediate device pre-stores a switching decision corresponding to each link, and each switching decision is saved in association with various link types.
  • the link type may be divided according to the type of the service, for example, a call type service, a corresponding call type link, a short message type service, a short message type link, a video type service, and a corresponding video type link.
  • Each different link corresponds to a different switching decision.
  • the intermediate device determines the link type corresponding to each faulty link, and determines the switching decision corresponding to each faulty link according to the mapping relationship between the link type and the switching decision. If the switching policy corresponds to a faulty link that has multiple protection links, the protection link with the highest priority is determined as the link to be switched according to the priority of the protection link.
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for multi-link protection switching according to the present invention. Based on the foregoing second embodiment, the step S202 may include:
  • S2021 Obtain a switching decision corresponding to each determined link type according to a mapping relationship between the link type and the switching decision.
  • S2022 Determine a fault type corresponding to the faulty link, and determine, according to the mapping relationship between the fault type and the switching decision, the switching decision corresponding to each faulty link from the obtained switching decision.
  • the intermediate device pre-stores each switching decision, and pre-stores a mapping table of switching decisions and link types, and a mapping table of switching decisions and fault types.
  • the intermediate device obtains a switching decision corresponding to each determined link type according to the mapping relationship between the link type and the switching decision, and determines the fault type corresponding to the faulty link, according to the mapping relationship between the fault type and the switching decision.
  • the switching decision corresponding to each faulty link is determined.
  • the fault type includes a call abnormality, a short message transmission/reception abnormality, and the like.
  • the switching decision may be determined only according to the fault type, or the switching decision may be determined according to the fault type, and then the switching decision may be performed according to the link type.
  • the determination of the switching decision is made according to one or both of the link type and the fault type according to the actual setting. It can be understood that the determination of the switching decision may be performed according to other preset rules except the fault type and the link type, and details are not described herein again.
  • FIG. 4 is a schematic diagram of functional modules of a preferred embodiment of a multi-link protection switching device according to the present invention.
  • the multi-link protection switching device includes an obtaining module 10, a determining module 20, a processing module 30, and a switching module 40.
  • the obtaining module 10 is configured to obtain link information of each link.
  • the determining module 20 is configured to determine whether each link has a fault according to the acquired link information. Referring to FIG.
  • the multi-chain is the present invention.
  • the upstream device includes two configurations, a working port and a protection port, and the attributes of the two ports are consistent, wherein the working port and the protection port have at least one port.
  • the working port is in the receiving and sending service package and the OAM protocol packet (port control packet, interactive packet, and other protocol packets except the service packet).
  • the receiving port is in the Block state, that is, the service packet is not sent or received, but the OAM protocol packet can be sent and received. .
  • the intermediate device includes two configurations, a working link group and a protection link group, where at least one link is in the working link group and the protection link group, and the link includes ports on both ends of the link. , divided into upstream port and downstream port.
  • the upstream port is usually a UNI port, and its attributes include rate, duplex, etc.
  • the connection characteristics include physical connection, rate, and duplex status. The physical connection failure, rate duplex reduction, etc., are considered to be invalid, that is, the link exists. Fault, need to protect the switch.
  • the downstream port is usually a UNI port or an Ethernet port. If the port is an Ethernet physical port, the attribute is the same as the UNI port. If the VCG port is included, the attribute includes the time slot bound to the VCG port.
  • the continuous feature includes the LCAS state.
  • the threshold can be set. When the number of failed members exceeds the threshold, the port connection characteristics are considered to be degraded. Change.
  • the intermediate device saves the mapping relationship between the working link group and the protection link group, and continuously receives the port connection status and performance, that is, the link information, sent by the working link group and the protection link group.
  • the downstream device includes two configurations, a working port and a protection port, and the port attributes are consistent, wherein the working port and the protection port both have at least one port. Only the working port is in the state of sending and receiving service packets and OAM protocol packets.
  • the protection port is in the Block state and cannot send and receive service packets, but can send and receive OAM protocol packets.
  • the intermediate device monitors all the links between the upstream device and the downstream device, and controls the switching of the link when the link is faulty, so as to ensure the normal transmission of the service packet and ensure the service. Work properly.
  • the main body of the technical solution of the present invention is preferably the intermediate device, and in another embodiment of the present invention, an application installed on the intermediate device or the intermediate device may be used.
  • Communication control device terminal, electronic device, etc.
  • the intermediate device obtains link information of each link, and determines whether each link has a fault according to the obtained link information.
  • the process of obtaining the link information of each link includes: the intermediate device sends, to the upstream device, link information for detecting each link, where the link information includes a port connection status, a port alarm signal, and performance data.
  • the alarm signal may be generated by setting a timer on the port of the upstream and downstream device. When the upstream and downstream ports do not receive the OAM response message, the timer is incremented by 1. If the timer does not expire, the detection continues. If the timer expires and the OAM response message is not received, the link is interrupted and an alarm signal is generated. It is also possible to transmit a heartbeat packet to each link, and issue an alarm signal when a heartbeat packet of each link is not received in a fixed period (3s, 5s, etc.).
  • Each of the upstream and downstream devices sends link information of each link to the intermediate device, and the intermediate device receives the transmitted link information.
  • the process of determining whether a fault exists in each link according to the obtained link information includes: the intermediate device analyzes whether the acquired link information includes information indicating that the port connection is invalid, the port alarm signal, the port performance degradation, and the like represents a link failure.
  • the processing module 30 is configured to determine, according to a preset rule, a switching decision corresponding to each faulty link when the link is faulty; the intermediate device determines whether each link has a fault, and obtains link information. When information such as port connection failure and port performance degradation is included, it is determined that the link is faulty.
  • the intermediate device pre-stores a switching decision of each link, that is, the switching policy is associated with the corresponding link.
  • the switching decision of each link may be pre-stored on other terminal devices that are in communication with the intermediate device.
  • the intermediate device determines that the link is faulty, the intermediate device determines a switching decision corresponding to each faulty link according to a preset rule, where the preset rule may be: determining each item according to the fault type and/or the link type.
  • the switching decision corresponding to the faulty link The switching module 40 is configured to perform switching on the faulty link according to the determined switching decision. After determining the switching decision corresponding to each faulty link, the intermediate device performs a switching on the faulty link according to the determined switching decision.
  • the process of performing the switching of the faulty link according to the determined switching decision may be: obtaining the protection link corresponding to each faulty link according to the determined switching decision, and switching each faulty link to Corresponding protection link.
  • the intermediate device After receiving the response information of the successful link switching, the intermediate device sets a corresponding status attribute for the faulty link and the switched link.
  • the status attribute of the link that is about to be faulty is set to receive only the OAM protocol packet, and the state attribute of the switched protection link is set to receive the OAM protocol packet and the service data packet.
  • the process of performing the switching of the faulty link according to the determined switching decision may be: acquiring the protection link corresponding to the switching decision according to the determined switching decision, and acquiring according to the obtained The priority of the protection link is obtained, the priority protection priority link is obtained, and the acquired protection link is not used. Switch the faulty link to the acquired protection link.
  • the switching decision corresponding to the faulty link is determined according to a preset rule; and the faulty link is switched according to the determined switching decision.
  • each link in order to obtain the link information of each link and determine the switching decision of each link that is faulty in time, each link is numbered, and each switch is performed. The decision is made by the corresponding number, and the numbered link is saved in association with the switching decision map. The switching decision number corresponding to the number is obtained according to the link number of the fault to obtain a switching decision of the faulty link.
  • the switching decision of each faulty link is determined according to a preset rule, and the faulty link is reversed according to the determined switching decision. It can protect multiple faulty links at the same time, and ensure that the faulty link is protected in time to ensure normal forwarding of services.
  • the processing module 30 is further configured to determine a link type corresponding to each faulty link; and determine, according to a mapping relationship between the link type and the switching decision, a switching decision corresponding to each faulty link.
  • the intermediate device pre-stores a switching decision corresponding to each link, and each switching decision is saved in association with various link types.
  • the link type may be divided according to the type of the service, for example, a call type service, a corresponding call type link, a short message type service, a short message type link, a video type service, and a corresponding video type link. Each different link corresponds to a different switching decision.
  • the intermediate device determines the link type corresponding to each faulty link, and determines the switching decision corresponding to each faulty link according to the mapping relationship between the link type and the switching decision. If the switching policy corresponds to a faulty link that has multiple protection links, the protection link with the highest priority is determined as the link to be switched according to the priority of the protection link. Switching is performed by selecting a protection link with a high priority to improve the efficiency of service forwarding while ensuring faulty link protection. Further, the acquiring module 10 is further configured to: obtain a switching decision corresponding to each determined link type according to a mapping relationship between the link type and the switching decision; and the processing module 30 is further configured to determine the link that is faulty.
  • Corresponding fault type determine the switching decision corresponding to each faulty link from the obtained switching decision.
  • the intermediate device pre-stores each switching decision, and pre-stores a mapping table of switching decisions and link types, and a mapping table of switching decisions and fault types.
  • the intermediate device obtains a switching decision corresponding to each determined link type according to the mapping relationship between the link type and the switching decision, and determines the fault type corresponding to the faulty link, according to the mapping relationship between the fault type and the switching decision.
  • the switching decision of the link type acquisition the switching decision corresponding to each faulty link and the fault type is determined.
  • the fault type includes a call abnormality, a short message transmission/reception abnormality, and the like.
  • the switching decision may be determined only according to the fault type, or the switching decision may be determined according to the fault type, and then the switching decision may be performed according to the link type.
  • the determination of the switching decision is made according to one or both of the link type and the fault type according to the actual setting. It can be understood that the determination of the switching decision may be performed according to other preset rules except the fault type and the link type, and details are not described herein again.
  • the embodiment of the present invention first determines a corresponding switching decision according to the link type, and then determines a switching decision corresponding to the fault type from the switching decision determined by the link type according to the fault type.
  • serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as a memory/flash memory, a magnetic disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, or a network device, etc.
  • the above technical solution provided by the present invention can be applied to multi-link protection switching.
  • the switching decision of each faulty link is determined according to a preset rule, and according to the determined The switching decision reverses the faulty link. It can protect multiple faulty links at the same time, and ensure that the faulty link is protected in time to ensure normal forwarding of services.

Abstract

本发明公开了一种多链路保护倒换的方法,该多链路保护倒换的方法包括:获取各条链路的链路信息,根据获取的链路信息判断各条链路是否存在故障;在链路存在故障时,按照预设规则确定各条存在故障的链路对应的倒换决策;根据确定的倒换决策对存在故障的链路进行倒换。本发明还公开了一种多链路保护倒换的装置,本发明实现了同时保护多条出现故障的链路,进而确保故障链路及时得到保护,保证业务的正常转发。

Description

多链路保护倒换的方法及装置 技术领域 本发明涉及通信技术领域, 尤其涉及多链路保护倒换的方法及装置。 背景技术 随着移动通信技术的发展, 越来越多的移动终端进入到人们的日常生活和工作当 中。 为了实现网络运行所需要的故障发现、 定位、 性能检测和管理等功能。 提出一种 操作、 管理与维护协议(Operation Administration and Maintenance, 简称为 OAM)。 操 作主要完成日常网络和业务进行的分析、 预测、 规划和配置工作; 维护主要是对网络 及其业务的测试和故障管理等进行的日常操作活动。
OAM报文种类繁多, 按照其功能来说可以分为以下种类: 以太网连续性检查, 以 太网环回, 以太网链路追踪, 以太网告警指示信号, 以太网远程端故障指示, 以太网 锁定信号, 以太网测试信号, 以太网自动保护倒换, 以太网维护通信信道, 以太网实 验用 OAM, 以太网供货商特定的 OAM, 用于性能监测的 OAM功能。
OAM主动保护系统 (Active Protection System, 简称为 APS) 倒换协议分为 1+1 与 1 : N两种, 但在实际业务配置中, 运营商或其他客户往往要求能够同时保护某几 条工作链路, 传统的 APS保护某一时刻只能保护一条链路, 无法同时保护多条出现故 障的链路, 导致故障链路无法及时得到保护。 上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。 发明内容 本发明的主要目的为实现同时保护多条出现故障的链路, 进而确保故障链路及时 得到保护, 保证业务的正常转发。 为实现上述目的, 本发明实施例提供一种多链路保护倒换的方法, 该多链路保护 倒换的方法包括: 获取各条链路的链路信息, 根据获取的链路信息判断各条链路是否存在故障; 在链路存在故障时, 按照预设规则确定各条存在故障的链路对应的倒换决策; 根据确定的倒换决策对存在故障的链路进行倒换。 优选地,所述按照预设规则确定各条存在故障的链路对应的倒换决策的步骤包括: 确定各条存在故障链路对应的链路类型; 根据链路类型与倒换决策的映射关系,确定各条存在故障的链路对应的倒换决策。 优选地, 所述根据链路类型与倒换决策的映射关系, 确定各条存在故障的链路对 应的倒换决策的步骤包括: 根据链路类型与倒换决策的映射关系,获取各条确定的链路类型对应的倒换决策; 确定存在故障的链路对应的故障类型, 根据故障类型与倒换决策的映射关系, 从 获取的倒换决策中确定各条存在故障的链路对应的倒换决策。 优选地,所述按照预设规则确定各条存在故障的链路对应的倒换决策的步骤包括: 确定存在故障的链路对应的故障类型, 根据故障类型与倒换决策的映射关系, 确 定各条存在故障的链路对应的倒换决策。 优选地, 所述根据确定的倒换决策对存在故障的链路进行倒换的步骤包括: 根据确定的倒换决策, 获取各条存在故障的链路对应的保护链路; 将各条存在故障的链路切换为对应的保护链路。 优选地, 所述根据确定的倒换决策对存在故障的链路进行倒换的步骤之后, 该方 法还包括: 在接收到链路倒换成功的响应信息之后, 为存在故障的链路和倒换后的链路设置 对应的状态属性。 此外, 为了实现上述目的, 本发明实施例还提供一种多链路保护倒换的装置, 该 多链路保护倒换的装置包括: 获取模块, 设置为获取各条链路的链路信息; 判断模块, 设置为根据获取的链路信息判断各条链路是否存在故障; 处理模块, 设置为在链路存在故障时, 按照预设规则确定各条存在故障的链路对 应的倒换决策; 倒换模块, 设置为根据确定的倒换决策对存在故障的链路进行倒换。 优选地, 所述处理模块, 还设置为确定各条存在故障链路对应的链路类型; 根据链路类型与倒换决策的映射关系,确定各条确定的链路类型对应的倒换决策。 优选地, 所述获取模块, 还设置为根据链路类型与倒换决策的映射关系, 获取各 条存在故障的链路对应的倒换决策; 所述处理模块, 还设置为确定存在故障的链路对应的故障类型, 根据故障类型与 倒换决策的映射关系,从获取的倒换决策中确定各条存在故障的链路对应的倒换决策。 优选地, 所述处理模块, 还设置为确定存在故障的链路对应的故障类型, 根据故 障类型与倒换决策的映射关系, 确定各条存在故障的链路对应的倒换决策。 相对现有技术, 本发明通过在有多条链路发生故障时, 按照预设规则确定各条存 在故障链路的倒换决策, 并根据确定的倒换决策对存在故障的链路进行倒换。 实现同 时保护多条出现故障的链路,进而确保故障链路及时得到保护,保证业务的正常转发。 附图说明 图 1为本发明多链路保护倒换的方法第一实施例的流程示意图; 图 2为本发明多链路保护倒换的通信网络一实施例的示意图; 图 3为本发明多链路保护倒换的方法第二实施例的流程示意图; 图 4为本发明多链路保护倒换的方法第三实施例的流程示意图; 图 5为本发明多链路保护倒换的装置较佳实施例的功能模块示意图。 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。 具体实施方式 应当理解,此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。 如图 1所示, 为本发明多链路保护倒换的方法第一实施例的流程示意图。 需要强调的是: 图 1所示流程图仅为一个较佳实施例, 本领域的技术人员当知, 任何围绕本发明思想构建的实施例都不应脱离于如下技术方案涵盖的范围: 获取各个链路的链路信息, 根据获取的链路信息判断各个链路是否存在故障; 在 链路存在故障时, 按照预设规则确定各个存在故障的链路对应的倒换决策; 根据确定 的倒换决策进行对应存在故障链路的倒换。 以下是本实施例逐步实现多链路保护倒换的具体步骤: 步骤 S10, 获取各条链路的链路信息, 根据获取的链路信息判断各条链路是否存 在故障; 参考图 2, 为本发明多链路保护倒换的通信网络一实施例的示意图, 在该通信网 络中, 包括上游设备、 中间设备和下游设备。 所述上游设备包含两项配置, 工作端口 和保护端口, 两种端口的属性保持一致, 其中工作端口和保护端口都至少具有一个端 口。 工作端口处于收发业务包和 OAM协议包 (端口控制数据包、 交互数据包等除业 务包之外的协议包) 收发状态, 保护端口处于 Block (阻止) 状态, 即不收发业务包, 但能收发 OAM协议包。 所述中间设备, 包含两项配置, 工作链路组和保护链路组, 其中工作链路组和保护链路组中都至少有一条链路, 链路中包含了该链路上两端的端 口, 分为上游端口和下游端口。 上游端口一般是 UNI (user network interface, 用户网 络接口)端口, 属性包括速率、 双工等, 连接特性包括物理连接、 速率和双工状态等, 在物理连接失效、 速率双工降低等条件下, 认为连接特性失效, 即链路存在故障, 需 要保护倒换。 下游端口一般是 UNI端口, 也可以是以太网端口, 如果包含的端口是以 太网物理端口, 则属性与 UNI端口一致, 如果包含的是 VCG (Virtual Channel Group, 虚通道组) 端口, 则属性包含 VCG端口所绑定的时隙, 连续特性包括 LCAS (Link Capacity Adjustment Scheme, 链路容量调整机制) 状态, 可以设置门限, 当失效成员 个数超过门限时, 则认为端口连接特性劣化, 需要进行倒换。 且该中间设备保存了工 作链路组与保护链路组的映射关系, 并持续接收工作链路组和保护链路组所发出的端 口连接状态及性能, 即链路信息。所述下游设备包含两项配置, 工作端口和保护端口, 端口属性保持一致, 其中工作端口和保护端口都至少具有一个端口。 只有工作端口处 于收发业务包和 OAM协议包状态, 保护端口处于 Block状态, 不能收发业务包, 但 能收发 OAM协议包。 在本实施例中, 所述中间设备对上游设备与下游设备之间的所 有链路进行监控, 在有链路发生故障时, 控制链路的切换, 以保证业务包的正常发送, 保证业务的正常进行。 在本发明实施例中, 执行本发明技术方案的主体为优选为所述 中间设备, 在本发明其他实施例中也可以是安装在所述中间设备上的一个应用程序, 或者与所述中间设备通信连接的控制设备 (终端、 电子设备等)。 所述中间设备获取各条链路的链路信息, 根据获取的链路信息判断各条链路是否 存在故障。 获取各条链路的链路信息的过程包括: 所述中间设备向上下游设备发送检 测每一条链路的链路信息, 该链路信息包括端口连接状态、 端口报警信号以及性能数 据。 所述报警信号的产生可以是, 在上下游设备的端口设置一个定时器, 在上下游端 口未接收到 OAM应答报文时, 定时器加 1, 若此时定时器未超时, 则继续检测各条链 路, 看是否能收到 OAM应答报文, 若计时器超时, 且未收到 OAM应答报文, 则确 定链路中断,产生报警信号。也还可以是, 向各个链路发送心跳包,在固定周期内(3s、 5s等) 未接收到各条链路的心跳包时, 发出报警信号。 各个上下游设备将各条链路的 链路信息发送给所述中间设备, 所述中间设备接收所述发送来的链路信息。 根据获取 的链路信息判断各条链路是否存在故障的过程包括: 所述中间设备分析获取的链路信 息是否包括端口连接失效、 端口报警信号、 端口性能劣化等代表链路故障的信息。 步骤 S20, 在链路存在故障时, 按照预设规则确定各条存在故障的链路对应的倒 换决策; 所述中间设备判断各个链路是否存在故障, 当获取的链路信息中包括端口连接失 效、 端口性能劣化等信息时, 判定链路存在故障。 所述中间设备预存有各条链路的倒 换决策, 即将倒换策略与对应的链路进行关联。 在本发明其他实施例中, 也可以是在 与所述中间设备通信连接的其他终端设备上预存有各条链路的倒换决策。 所述中间设 备在判定链路存在故障时, 按照预设规则确定各条存在故障的链路对应的倒换决策, 所述预设规则可以是: 按照故障类型及 /或链路类型, 确定各条存在故障的链路对应的 倒换决策。 步骤 S30, 根据确定的倒换决策对存在故障的链路进行倒换。 所述中间设备在确定各条存在故障的链路对应的倒换决策之后, 根据确定的倒换 决策对存在故障的链路进行倒换。 具体的, 根据确定的倒换决策对存在故障的链路进 行倒换的过程可以是:根据确定的倒换决策获取各条存在故障的链路对应的保护链路, 将各条存在故障的链路切换为对应的保护链路。 所述中间设备在接收到链路倒换成功 的响应信息之后, 为存在故障的链路和倒换后的链路设置对应的状态属性。 即将存在 故障的链路的状态属性设置为只能接收 OAM协议包, 将切换后的保护链路的状态属 性设置为接收 OAM协议包和业务数据包。 进一步地, 为了保证业务转发的效率, 根据确定的倒换决策对存在故障的链路进 行倒换的过程可以是: 根据确定的倒换决策, 获取与所述倒换决策对应的保护链路, 并根据获取的保护链路的优先级, 获取优先级顺序在先的保护链路, 且获取的保护链 路未被使用。 将存在故障的链路切换至获取的保护链路。 在本发明其他实施例中, 当 存在故障的链路只有一条时,按照预设规则确定所述存在故障的链路对应的倒换决策; 按照确定的倒换决策进行所述存在故障链路的倒换。 在本发明其他实施例中, 为了能 更好的获取到各个链路的链路信息, 以及及时确定各条存在故障的链路的倒换决策, 对每条链路进行编号, 且为每个倒换决策进行对应编号, 将编号后的链路与编号后的 倒换决策映射关联保存。 根据存在故障的链路编号获取与该编号对应的决策编号, 以 获取到存在故障的链路的倒换决策。 本发明实施例通过在有多条链路发生故障时, 按照预设规则确定各条存在故障链 路的倒换决策, 并根据确定的倒换决策对存在故障的链路进行倒换。 实现同时保护多 条出现故障的链路, 进而确保故障链路及时得到保护, 保证业务的正常转发。 如图 2所示, 为本发明多链路保护倒换的方法第二实施例的流程示意图。 基于上 述第一实施例, 所述步骤 S20可以包括: 步骤 S201 , 确定各条存在故障链路对应的链路类型; 步骤 S202, 根据链路类型与倒换决策的映射关系, 确定各条存在故障的链路对应 的倒换决策。 在本实施例中, 所述中间设备预存有各条链路对应的倒换决策, 且各条倒换决策 与各种链路类型关联保存。所述链路类型可以根据业务类型的不同而进行划分,例如, 通话类型业务, 对应通话类型链路; 短信类型业务, 对应短信类型链路; 视频类型业 务, 对应视频类型链路。 每种不同链路对应不同的倒换决策。 所述中间设备在链路存 在故障时, 确定各个存在故障链路对应的链路类型, 根据链路类型与倒换决策的映射 关系, 确定各条存在故障的链路对应的倒换决策。 若倒换策略对应为一条存在故障的 链路有多条保护链路, 则根据保护链路的优先级, 先确定优先级高的保护链路作为待 切换的链路。 通过选择优先级高的保护链路进行切换, 在保证故障链路保护的同时, 提高业务转发的效率。 如图 3所示, 为本发明多链路保护倒换的方法第三实施例的流程示意图。 基于上 述第二实施例, 所述步骤 S202可以包括:
S2021 ,根据链路类型与倒换决策的映射关系,获取各个确定的链路类型对应的倒 换决策; S2022,确定存在故障的链路对应的故障类型,根据故障类型与倒换决策的映射关 系, 从获取的倒换决策中确定各条存在故障的链路对应的倒换决策。 所述中间设备预存有各个倒换决策, 且预存有倒换决策与链路类型的映射表, 及 倒换决策与故障类型的映射表。 所述中间设备根据链路类型与倒换决策的映射关系, 获取各个确定的链路类型对应的倒换决策, 确定存在故障的链路对应的故障类型, 根 据故障类型与倒换决策的映射关系, 从由链路类型获取的倒换决策中, 确定各条存在 故障的链路对应的倒换决策。所述故障类型包括通话异常、短信发送 /接收异常等类型。 在本发明其他实施例中, 也可以是只按照故障类型确定倒换决策, 也可以是先进行根 据故障类型确定倒换决策, 再根据链路类型进行倒换决策的确定。 根据实际设置来按 照链路类型和故障类型中的一种或两种进行倒换决策的确定。 可以理解的是, 也还可 以是按照除故障类型和链路类型之外的其他预设规则进行倒换决策的确定, 在此不再 一一赘述。 本发明实施例先根据链路类型确定对应的倒换决策, 再根据故障类型从根 据链路类型确定的倒换决策中, 确定与故障类型对应的倒换决策。 提高确定故障链路 倒换决策的准确性, 并有效提高链路切换的准确性, 保证业务合理、 有效转发。 如图 4所示, 为本发明多链路保护倒换的装置较佳实施例的功能模块示意图。 该 多链路保护倒换的装置包括获取模块 10、 判断模块 20、 处理模块 30及倒换模块 40。 所述获取模块 10, 设置为获取各条链路的链路信息; 所述判断模块 20, 设置为根据获取的链路信息判断各条链路是否存在故障; 参考图 2, 为本发明多链路保护倒换的通信网络一实施例的示意图, 在该通信网 络中, 包括上游设备、 中间设备和下游设备。 所述上游设备包含两项配置, 工作端口 和保护端口, 两种端口的属性保持一致, 其中工作端口和保护端口都至少具有一个端 口。 工作端口处于收发业务包和 OAM协议包 (端口控制数据包、 交互数据包等除业 务包之外的协议包) 收发状态, 保护端口处于 Block状态, 即不收发业务包, 但能收 发 OAM协议包。 所述中间设备, 包含两项配置, 工作链路组和保护链路组, 其中工 作链路组和保护链路组中都至少有一条链路, 链路中包含了该链路上两端的端口, 分 为上游端口和下游端口。 上游端口一般是 UNI端口, 属性包括速率、 双工等, 连接特 性包括物理连接、 速率和双工状态等, 在物理连接失效、 速率双工降低等条件下, 认 为连接特性失效, 即链路存在故障, 需要保护倒换。 下游端口一般是 UNI端口, 也可 以是以太网端口, 如果包含的端口是以太网物理端口, 则属性与 UNI端口一致, 如果 包含的是 VCG端口,则属性包含 VCG端口所绑定的时隙,连续特性包括 LCAS状态, 可以设置门限, 当失效成员个数超过门限时, 则认为端口连接特性劣化, 需要进行倒 换。 且该中间设备保存了工作链路组与保护链路组的映射关系, 并持续接收工作链路 组和保护链路组所发出的端口连接状态及性能, 即链路信息。 所述下游设备包含两项 配置, 工作端口和保护端口, 端口属性保持一致, 其中工作端口和保护端口都至少具 有一个端口。只有工作端口处于收发业务包和 OAM协议包状态,保护端口处于 Block 状态, 不能收发业务包, 但能收发 OAM协议包。 在本实施例中, 所述中间设备对上 游设备与下游设备之间的所有链路进行监控,在有链路发生故障时,控制链路的切换, 以保证业务包的正常发送, 保证业务的正常进行。 在本发明实施例中, 执行本发明技 术方案的主体为优选为所述中间设备, 在本发明其他实施例中也可以是安装在所述中 间设备上的一个应用程序, 或者与所述中间设备通信连接的控制设备 (终端、 电子设 备等)。 所述中间设备获取各条链路的链路信息, 根据获取的链路信息判断各条链路是否 存在故障。 获取各条链路的链路信息的过程包括: 所述中间设备向上下游设备发送检 测每一条链路的链路信息, 该链路信息包括端口连接状态、 端口报警信号以及性能数 据。 所述报警信号的产生可以是, 在上下游设备的端口设置一个定时器, 在上下游端 口未接收到 OAM应答报文时, 定时器加 1, 若此时定时器未超时, 则继续检测各条链 路, 看是否能收到 OAM应答报文, 若计时器超时, 且未收到 OAM应答报文, 则确 定链路中断,产生报警信号。也还可以是, 向各个链路发送心跳包,在固定周期内(3s、 5s等) 未接收到各条链路的心跳包时, 发出报警信号。 各个上下游设备将各条链路的 链路信息发送给所述中间设备, 所述中间设备接收所述发送来的链路信息。 根据获取 的链路信息判断各条链路是否存在故障的过程包括: 所述中间设备分析获取的链路信 息是否包括端口连接失效、 端口报警信号、 端口性能劣化等代表链路故障的信息。 所述处理模块 30, 设置为在链路存在故障时, 按照预设规则确定各条存在故障的 链路对应的倒换决策; 所述中间设备判断各个链路是否存在故障, 当获取的链路信息中包括端口连接失 效、 端口性能劣化等信息时, 判定链路存在故障。 所述中间设备预存有各条链路的倒 换决策, 即将倒换策略与对应的链路进行关联。 在本发明其他实施例中, 也可以是在 与所述中间设备通信连接的其他终端设备上预存有各个链路的倒换决策。 所述中间设 备在判定链路存在故障时, 按照预设规则确定各条存在故障的链路对应的倒换决策, 所述预设规则可以是: 按照故障类型及 /或链路类型, 确定各条存在故障的链路对应的 倒换决策。 所述倒换模块 40, 设置为根据确定的倒换决策对存在故障的链路进行倒换。 所述中间设备在确定各条存在故障的链路对应的倒换决策之后, 根据确定的倒换 决策对存在故障的链路进行倒换。 具体的, 根据确定的倒换决策对存在故障的链路进 行倒换的过程可以是:按照确定的倒换决策获取各条存在故障的链路对应的保护链路, 将各条存在故障的链路切换为对应的保护链路。 所述中间设备在接收到链路倒换成功 的响应信息之后, 为存在故障的链路和倒换后的链路设置对应的状态属性。 即将存在 故障的链路的状态属性设置为只能接收 OAM协议包, 将切换后的保护链路的状态属 性设置为接收 OAM协议包和业务数据包。 进一步地, 为了保证业务转发的效率, 按照确定的倒换决策对应对存在故障的链 路进行倒换的过程可以是: 根据确定的倒换决策, 获取与所述倒换决策对应的保护链 路, 并根据获取的保护链路的优先级, 获取优先级顺序在先的保护链路, 且获取的保 护链路未被使用。将存在故障的链路切换至获取的保护链路。在本发明其他实施例中, 当存在故障的链路只有一条时, 按照预设规则确定所述存在故障的链路对应的倒换决 策; 按照确定的倒换决策进行所述存在故障链路的倒换。 在本发明其他实施例中, 为 了能更好的获取到各个链路的链路信息, 以及及时确定各条存在故障的链路的倒换决 策, 对每条链路进行编号, 且为每个倒换决策进行对应编号, 将编号后的链路与倒换 决策映射关联保存。 根据存在故障的链路编号获取与该编号对应的倒换决策编号, 以 获取故障链路的倒换决策。 本发明实施例通过在有多条链路发生故障时, 根据预设规则确定各条存在故障链 路的倒换决策, 并根据确定的倒换决策对存在故障的链路进行倒换。 实现同时保护多 条出现故障的链路, 进而确保故障链路及时得到保护, 保证业务的正常转发。 进一步地, 所述处理模块 30, 还设置为确定各条存在故障链路对应的链路类型; 根据链路类型与倒换决策的映射关系,确定各条存在故障的链路对应的倒换决策。 在本实施例中, 所述中间设备预存有各条链路对应的倒换决策, 且各个倒换决策 与各种链路类型关联保存。所述链路类型可以根据业务类型的不同而进行划分,例如, 通话类型业务, 对应通话类型链路; 短信类型业务, 对应短信类型链路; 视频类型业 务, 对应视频类型链路。 每种不同链路对应不同的倒换决策。 所述中间设备在链路存 在故障时, 确定各条存在故障链路对应的链路类型, 根据链路类型与倒换决策的映射 关系, 确定各个存在故障的链路对应的倒换决策。 若倒换策略对应为一条存在故障的 链路有多条保护链路, 则根据保护链路的优先级, 先确定优先级高的保护链路作为待 切换的链路。 通过选择优先级高的保护链路进行切换, 在保证故障链路保护的同时, 提高业务转发的效率。 进一步地, 所述获取模块 10, 还设置为根据链路类型与倒换决策的映射关系, 获 取各个确定的链路类型对应的倒换决策; 所述处理模块 30, 还设置为确定存在故障的链路对应的故障类型, 根据故障类型 与倒换决策的映射关系, 从获取的倒换决策中确定各条存在故障的链路对应的倒换决 策。 所述中间设备预存有各个倒换决策, 且预存有倒换决策与链路类型的映射表, 及 倒换决策与故障类型的映射表。 所述中间设备根据链路类型与倒换决策的映射关系, 获取各个确定的链路类型对应的倒换决策, 确定存在故障的链路对应的故障类型, 根 据故障类型与倒换决策的映射关系, 从由链路类型获取的倒换决策中, 确定各条存在 故障的链路与故障类型对应的倒换决策。 所述故障类型包括通话异常、 短信发送 /接收 异常等类型。 在本发明其他实施例中, 也可以是只按照故障类型确定倒换决策, 也可 以是先进行根据故障类型确定倒换决策, 再根据链路类型进行倒换决策的确定。 根据 实际设置来按照链路类型和故障类型中的一种或两种进行倒换决策的确定。 可以理解 的是, 也还可以是按照除故障类型和链路类型之外的其他预设规则进行倒换决策的确 定, 在此不再一一赘述。 本发明实施例先根据链路类型确定对应的倒换决策, 再根据 故障类型从由链路类型确定的倒换决策中, 确定与故障类型对应的倒换决策。 提高确 定故障链路倒换决策的准确性, 并有效提高链路切换的准确性, 保证业务合理、 有效 转发。 上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。 通过以上的实施方 式的描述, 本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的 通用硬件平台的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施 方式。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分 可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质 (如内存 / 闪存、 磁碟、 光盘) 中, 包括若干指令用以使得一台终端设备(可以是手机, 计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述的方法。 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用 本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在其他 相关的技术领域, 均同理包括在本发明的专利保护范围内。 工业实用性 本发明提供的上述技术方案, 可以应用于多链路保护倒换, 通过在有多条链路发 生故障时, 按照预设规则确定各条存在故障链路的倒换决策, 并根据确定的倒换决策 对存在故障的链路进行倒换。 实现同时保护多条出现故障的链路, 进而确保故障链路 及时得到保护, 保证业务的正常转发。

Claims

权 利 要 求 书 、 一种多链路保护倒换的方法, 包括: 获取各条链路的链路信息, 根据获取的链路信息判断各条链路是否存在故 障;
在链路存在故障时, 按照预设规则确定各条存在故障的链路对应的倒换决 策;
根据确定的倒换决策对存在故障的链路进行倒换。 、 如权利要求 1所述的多链路保护倒换的方法, 其中, 按照预设规则确定各条存 在故障的链路对应的倒换决策的步骤包括:
确定各条存在故障的链路对应的链路类型;
根据链路类型与倒换决策的映射关系, 确定各条存在故障的链路对应的倒 换决策。 、 如权利要求 2所述的多链路保护倒换的方法, 其中, 根据链路类型与倒换决策 的映射关系, 确定各条存在故障的链路对应的倒换决策的步骤包括:
根据链路类型与倒换决策的映射关系, 获取各个确定的链路类型对应的倒 换决策;
确定存在故障的链路对应的故障类型, 根据故障类型与倒换决策的映射关 系, 从获取的倒换决策中确定各条存在故障的链路对应的倒换决策。 、 如权利要求 1所述的多链路保护倒换的方法, 其中, 按照预设规则确定各条存 在故障的链路对应的倒换决策的步骤包括:
确定存在故障的链路对应的故障类型, 根据故障类型与倒换决策的映射关 系, 确定各条存在故障的链路对应的倒换决策。 、 如权利要求 1所述的多链路保护倒换的方法, 其中, 根据确定的倒换决策对存 在故障的链路进行倒换的步骤包括:
按照确定的倒换决策, 获取各条存在故障的链路对应的保护链路; 将各条存在故障的链路切换为对应的保护链路。 、 如权利要求 1所述的多链路保护倒换的方法, 其中, 按照确定的倒换决策对存 在故障的链路进行倒换的步骤之后, 该方法还包括: 在接收到链路倒换成功的响应信息之后, 为存在故障的链路和倒换后的链 路设置对应的状态属性。 、 一种多链路保护倒换的装置, 包括: 获取模块, 设置为获取各条链路的链路信息;
判断模块, 设置为根据获取的链路信息判断各条链路是否存在故障; 处理模块, 设置为在链路存在故障时, 按照预设规则确定各条存在故障的 链路对应的倒换决策; 倒换模块, 设置为根据确定的倒换决策对存在故障的链路进行倒换。 、 如权利要求 7所述的多链路保护倒换的装置, 其中, 所述处理模块还设置为: 确定各条存在故障链路对应的链路类型; 根据链路类型与倒换决策的映射关系, 确定各条存在故障的链路对应的倒 换决策。 、 如权利要求 8所述的多链路保护倒换的装置, 其中, 所述获取模块, 还设置为根据链路类型与倒换决策的映射关系, 获取各个 确定的链路类型对应的倒换决策;
所述处理模块, 还设置为确定存在故障的链路对应的故障类型, 根据故障 类型与倒换决策的映射关系, 从获取的倒换决策中确定各条存在故障的链路对 应的倒换决策。 0、 如权利要求 7所述的多链路保护倒换的装置, 其中, 所述处理模块, 还设置为: 确定存在故障的链路对应的故障类型, 根据故障类型与倒换决策的映射关 系, 确定各条存在故障的链路对应的倒换决策。
PCT/CN2014/084309 2014-05-28 2014-08-13 多链路保护倒换的方法及装置 WO2015180265A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410231487.4 2014-05-28
CN201410231487.4A CN105281927A (zh) 2014-05-28 2014-05-28 多链路保护倒换的方法及装置

Publications (1)

Publication Number Publication Date
WO2015180265A1 true WO2015180265A1 (zh) 2015-12-03

Family

ID=54697976

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084309 WO2015180265A1 (zh) 2014-05-28 2014-08-13 多链路保护倒换的方法及装置

Country Status (2)

Country Link
CN (1) CN105281927A (zh)
WO (1) WO2015180265A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118686A (zh) * 2022-06-23 2022-09-27 中国民航信息网络股份有限公司 一种旅客报文的处理系统、方法、设备、介质和产品

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234301B (zh) * 2016-12-15 2022-04-19 中兴通讯股份有限公司 一种数据链路切换方法和装置
CN108234241B (zh) * 2017-12-29 2020-06-16 瑞斯康达科技发展股份有限公司 一种通道检测方法及接入设备
CN109194592B (zh) * 2018-09-25 2021-06-25 盛科网络(苏州)有限公司 一种解决multi-link网络中孤岛问题的方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621448A (zh) * 2008-06-30 2010-01-06 华为技术有限公司 一种保证网络带宽的方法、装置和系统
CN101958751A (zh) * 2010-09-27 2011-01-26 中兴通讯股份有限公司 光网络的保护方法和装置
CN102006222A (zh) * 2010-11-16 2011-04-06 中兴通讯股份有限公司 一种业务链路切换方法及装置
WO2014030732A1 (ja) * 2012-08-24 2014-02-27 日本電気株式会社 通信システム、通信装置、プロテクション切り替え方法および切り替えプログラム

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043267B (zh) * 2006-03-24 2010-05-12 上海交通大学 弹性光突发环的保护与恢复方法及其装置
CN101207521A (zh) * 2007-12-12 2008-06-25 华为技术有限公司 以太网故障检测及收敛的方法和节点设备
CN102148693B (zh) * 2010-02-05 2015-12-16 中兴通讯股份有限公司 共享链路保护方法、节点和共享链路保护系统
CN102377605B (zh) * 2011-12-02 2014-05-07 烽火通信科技股份有限公司 一种利用多种保护方式组合实现ptn设备双归保护的方法
CN103036782A (zh) * 2012-12-20 2013-04-10 盛科网络(苏州)有限公司 网络通信方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621448A (zh) * 2008-06-30 2010-01-06 华为技术有限公司 一种保证网络带宽的方法、装置和系统
CN101958751A (zh) * 2010-09-27 2011-01-26 中兴通讯股份有限公司 光网络的保护方法和装置
CN102006222A (zh) * 2010-11-16 2011-04-06 中兴通讯股份有限公司 一种业务链路切换方法及装置
WO2014030732A1 (ja) * 2012-08-24 2014-02-27 日本電気株式会社 通信システム、通信装置、プロテクション切り替え方法および切り替えプログラム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118686A (zh) * 2022-06-23 2022-09-27 中国民航信息网络股份有限公司 一种旅客报文的处理系统、方法、设备、介质和产品

Also Published As

Publication number Publication date
CN105281927A (zh) 2016-01-27

Similar Documents

Publication Publication Date Title
CN108965123B (zh) 一种链路切换方法和网络通信系统
KR101593168B1 (ko) 물리적 단방향 통신 장치 및 방법
CN106571977B (zh) 数据传输方法和装置
EP2243255B1 (en) Method and system for dynamic link failover management
CN103621027B (zh) 通信路由控制系统和通信路由控制方法
US9071513B2 (en) Path switch-back method and apparatus in transport network
CN107465613B (zh) 链路聚合接口通信状态切换方法及装置
CN110808873B (zh) 一种检测链路故障的方法及装置
EP2696542A1 (en) Method, ToR switch, and system for implementing protection switchover based on TRILL network
WO2011157145A2 (zh) 通信设备间的主备倒换方法、通信设备和系统及服务请求设备
WO2012058895A1 (zh) 聚合链路切换方法及装置
WO2016095344A1 (zh) 链路切换方法、装置及线卡
WO2015180265A1 (zh) 多链路保护倒换的方法及装置
WO2013127164A1 (zh) 一种触发旁路设备切换的方法、旁路设备切换方法及装置
WO2017000096A1 (zh) 一种链路恢复方法和网络设备
CN107959623B (zh) 一种多通道容灾方法与装置
WO2011157146A2 (zh) 通信设备间的主备倒换方法、通信设备和系统及服务请求设备
EP2858302A1 (en) Connectivity check method of service stream link, related apparatus and system
CN106302146A (zh) 链路聚合的收敛方法及装置
CN104639356A (zh) 一种故障恢复方法及设备
CN107623607B (zh) Bfd会话连接建立方法及装置
US10237122B2 (en) Methods, systems, and computer readable media for providing high availability support at a bypass switch
US20110161786A1 (en) Method for coping with packet error distribution, a server apparatus, and a terminal apparatus
WO2016061992A1 (zh) 业务传输方法及装置
WO2011150634A1 (zh) Mlppp组带宽容量的处理方法和装置

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

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

Country of ref document: EP

Kind code of ref document: A1