CN1984039A - Fast re-routing method for shared multi-port transmitting link - Google Patents

Fast re-routing method for shared multi-port transmitting link Download PDF

Info

Publication number
CN1984039A
CN1984039A CNA2006100604261A CN200610060426A CN1984039A CN 1984039 A CN1984039 A CN 1984039A CN A2006100604261 A CNA2006100604261 A CN A2006100604261A CN 200610060426 A CN200610060426 A CN 200610060426A CN 1984039 A CN1984039 A CN 1984039A
Authority
CN
China
Prior art keywords
port
link
active
transmission
bundled
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CNA2006100604261A
Other languages
Chinese (zh)
Other versions
CN100561977C (en
Inventor
杨平安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100604261A priority Critical patent/CN100561977C/en
Priority to PCT/CN2006/003524 priority patent/WO2007121633A1/en
Publication of CN1984039A publication Critical patent/CN1984039A/en
Application granted granted Critical
Publication of CN100561977C publication Critical patent/CN100561977C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

本发明适用于通信传输领域,公开了一种多个端口共享传输链路时的快速重路由方法,所述方法包括:将共享同一传输链路的多个端口捆绑在终端形成一个捆绑端口;在捆绑端口中选择一个主用端口进行报文收发;对传输链路进行故障检测;检测到链路故障时选择备用端口进行报文收发。通过本发明,可以解决两个通讯设备间只存在一条传输环网时的备份保护问题,满足了用户实时业务的需求。

Figure 200610060426

The present invention is applicable to the field of communication transmission, and discloses a fast rerouting method when multiple ports share a transmission link. The method includes: bundling multiple ports sharing the same transmission link in a terminal to form a bundled port; Select an active port among the bundled ports to send and receive messages; perform fault detection on the transmission link; select a backup port to send and receive messages when a link failure is detected. The invention can solve the problem of backup protection when there is only one transmission ring network between two communication devices, and satisfies the real-time service requirements of users.

Figure 200610060426

Description

一种多个端口共享传输链路时的快速重路由方法A fast rerouting method when multiple ports share the transmission link

技术领域technical field

本发明涉及通信传输领域,尤其涉及一种多个端口共享传输链路时的快速重路由实现方法。The invention relates to the field of communication transmission, in particular to a method for realizing fast rerouting when a plurality of ports share a transmission link.

背景技术Background technique

随着网络技术的发展,用户对网络可靠性的要求日益提高,现在的组网方案中一般都提供多链路的保护,在出现链路故障的时候用快速重路由技术实现业务切换,以保证用户通信的连续性。With the development of network technology, users have increasingly higher requirements for network reliability. Current networking solutions generally provide multi-link protection. When a link fails, fast rerouting technology is used to implement service switching to ensure Continuity of User Communications.

BFD(双向转发检测)是一种用来检测一对转发引擎之间的转发路径是否可用的机制,其在两个相邻系统之间提供一种低开销、短检测周期(小于50ms)的失败检测机制,包括接口、数据链路以及转发引擎自身的检测。BFD (Bidirectional Forwarding Detection) is a mechanism used to detect the availability of a forwarding path between a pair of forwarding engines, which provides a low-overhead, short detection period (less than 50ms) failure between two adjacent systems Detection mechanism, including detection of interface, data link and forwarding engine itself.

图1示出了现有技术中的独立备份链路快速重路由保护方案。FIG. 1 shows a fast rerouting protection scheme for independent backup links in the prior art.

在图1中,作为发送端的R1和目的网络之间存在两条通信链路,从R1经过R2到达目的网络和从R1经过R3到达目的网络。选择其中的一条链路(例如图中的R1-R2-目的网络)为主用链路进行报文传输:In Fig. 1, there are two communication links between R1 as the sending end and the destination network, from R1 to the destination network through R2 and from R1 to the destination network through R3. Select one of the links (such as R1-R2-destination network in the figure) to be the active link for message transmission:

步骤11所示为主用链路发生了故障,报文传输中断;Step 11 shows that the active link fails, and packet transmission is interrupted;

步骤12所示为利用快速重路由技术进行快速切换,备用链路(R1-R3-目的网络)进入工作状态;Shown in step 12 is to utilize the fast rerouting technology to carry out fast switching, and the backup link (R1-R3-purpose network) enters the working state;

步骤13所示为主用链路故障恢复,重新选择主用链路进行报文传输。Step 13 shows that the failure of the active link is recovered, and the active link is reselected for packet transmission.

这种方案的优点是,检测方法简单,时候能够实现快速业务切换,满足了用户的实时业务需求;缺点是,在传输路径较长的情况下,租用多条传输链路成本过高,不符合经济性要求。The advantage of this solution is that the detection method is simple, and fast service switching can be realized at any time, which meets the real-time service needs of users; the disadvantage is that the cost of renting multiple transmission links is too high in the case of long transmission paths Economic requirements.

图2示出了现有技术中使用传输环网的组网方案。Fig. 2 shows a networking solution using a transmission ring network in the prior art.

终端设备R1和R2之间分别通过传输设备连接到传输环网,终端设备和传输设备之间仍然存在备份链路Port1和Port2,但两个传输设备之间只租用了一条传输环网进行报文传输,这样,终端设备R1和R2之间不存在独立的两条链路,从R1的任一端口发出的报文会通过传输设备B同时通过Port1和Port2传送到终端设备R2。The terminal devices R1 and R2 are respectively connected to the transmission ring network through the transmission device. There are still backup links Port1 and Port2 between the terminal device and the transmission device, but only one transmission ring network is leased between the two transmission devices to send messages. In this way, there are no two independent links between the terminal devices R1 and R2, and the message sent from any port of R1 will be transmitted to the terminal device R2 through Port1 and Port2 through the transmission device B at the same time.

这种方案的优点是,在流量传输的时候,利用传输环网自身的保护机制,使得只需要租用一条传输环就可以实现报文的无障碍传输,节省了费用;缺点是,终端设备必须通过传输设备和传输环网相连,终端设备和传输设备间虽存在备份链路,但是无法解决接收端的链路协商问题。The advantage of this solution is that when the traffic is transmitted, the protection mechanism of the transmission ring network itself is used, so that only one transmission ring can be rented to realize the barrier-free transmission of the message, which saves costs; the disadvantage is that the terminal equipment must pass The transmission device is connected to the transmission ring network. Although there is a backup link between the terminal device and the transmission device, it cannot solve the link negotiation problem at the receiving end.

发明内容Contents of the invention

本发明的目的在于解决现有技术中报文通过传输环网传输时的备份保护问题,实现链路故障时的快速重路由快速切换,满足用户的实时业务需求,同时节省服务提供商的运营成本。The purpose of the present invention is to solve the problem of backup protection when the message is transmitted through the transmission ring network in the prior art, realize fast rerouting and fast switching when the link fails, meet the real-time business needs of the user, and save the operating cost of the service provider at the same time .

为了实现发明目的,本发明提供了一种多个端口共享传输链路时的快速重路由方法,所述方法包括以下步骤:In order to achieve the purpose of the invention, the present invention provides a fast rerouting method when a plurality of ports share a transmission link, said method comprising the following steps:

将共享同一传输链路的多个端口捆绑在终端设备形成一个捆绑端口;Bind multiple ports sharing the same transmission link to a terminal device to form a bundled port;

在终端设备的捆绑端口中选择一个主用端口收发报文;Select an active port to send and receive messages among the bundled ports of the terminal device;

对传输链路进行故障检测;Fault detection on the transmission link;

检测到链路故障时选择备用端口进行报文收发。When a link failure is detected, a standby port is selected for sending and receiving packets.

另外,本发明所述终端包括发送终端和接收终端。In addition, the terminal in the present invention includes a sending terminal and a receiving terminal.

本发明所述方法进一步包括:所述捆绑端口对上层协议提供一个逻辑的捆绑接口,并在所述捆绑接口上配置了IP地址和路由协议,从而避免端口切换时上层协议(如路由协议)等发生状态变化。The method of the present invention further includes: the bundled port provides a logical bundled interface to the upper layer protocol, and an IP address and a routing protocol are configured on the bundled interface, thereby avoiding the upper layer protocol (such as a routing protocol) etc. A state change occurred.

本发明所述方法中所述的主用端口可以手工设置,也可以通过算法实现配置,并且将设置主用端口的信息配置在相应的捆绑接口上。The main port described in the method of the present invention can be manually set, and can also be configured through an algorithm, and the information for setting the main port is configured on the corresponding binding interface.

本发明所述方法进一步包括:缺省情况报文从所述主用端口进行传输。The method of the present invention further includes: the default message is transmitted from the main port.

本发明所述方法中对链路进行故障检测后,若:After the fault detection is carried out to the link in the method of the present invention, if:

主用链路无故障,则主用端口继续进行报文传输;If the active link is not faulty, the active port continues to transmit packets;

主用链路出现故障,则流量以快速重路由方法切换到备用链路进行传输。If the active link fails, the traffic will be switched to the standby link for transmission by fast rerouting method.

本发明所述方法中所述主用链路为主用端口与传输设备之间的链路。In the method of the present invention, the active link is the link between the active port and the transmission device.

另外,本发明所述方法中若所有端口链路都出现故障,则对传输的报文可以选择丢弃或者由任意一个端口处理。In addition, in the method of the present invention, if all port links fail, the transmitted message can be discarded or processed by any port.

本发明所述方法进一步包括,所述主用端口链路故障恢复后,可用如下方法重新进行报文收发:The method of the present invention further includes, after the failure of the main port link is restored, the following method can be used to re-transmit and send messages:

将流量切换到原主用端口;或switch traffic to the original primary port; or

将选定的备份端口作为新的主用端口继续进行报文收发直到下次链路故障,恢复的原主用端口作为备份端口存在。Use the selected backup port as the new active port to continue sending and receiving packets until the next link failure, and the restored original active port exists as the backup port.

所述方法的另一特征在于,所述链路检测和报文收发同步进行,检测机制依照一定周期对端口进行检测,并将故障信息配置在与链路相应的端口上。Another feature of the method is that the link detection and message sending and receiving are performed synchronously, and the detection mechanism detects the ports according to a certain period, and configures the fault information on the ports corresponding to the links.

所述方法还包括,通过链路协商实现所述捆绑端口的多个端口在任意时刻只有一个端口处于通信状态;且进行流量切换的时间应当是在链路协商完成后。The method further includes realizing that only one of the multiple ports of the bundled port is in a communication state at any time through link negotiation; and the time for traffic switching should be after the link negotiation is completed.

由上述本发明提供的技术方案可以看出,本发明实现了多个端口共享一条传输链路时的快速重路由实现方法,有效提高了信息传输的可靠性,满足了用户实时业务的需求。It can be seen from the above-mentioned technical solution provided by the present invention that the present invention implements a fast rerouting implementation method when multiple ports share a transmission link, effectively improves the reliability of information transmission, and satisfies the real-time service requirements of users.

附图说明Description of drawings

图1是现有技术中的独立备份链路快速重路由实现方案;Fig. 1 is the fast rerouting implementation scheme of the independent backup link in the prior art;

图2是现有技术中使用单传输环网的组网方案;Fig. 2 is a networking scheme using a single transmission ring network in the prior art;

图3是本发明实施例中针对现有技术所提出的改进的技术方案;FIG. 3 is an improved technical solution proposed for the prior art in an embodiment of the present invention;

图4是本发明通过检测机制实现共享传输链路时的快速重路由保护的流程图。Fig. 4 is a flow chart of the present invention to realize the fast rerouting protection when the transmission link is shared through the detection mechanism.

具体实施方式Detailed ways

本发明的核心思想是:在仅用一条传输环网进行报文传输的条件下,终端设备及与之相连的传输设备之间设置多个端口及备份链路,将所述多个端口捆绑形成捆绑端口,并共享一条传输链路。对所述终端设备与传输设备间的多个链路配置检测机制进行链路检测,发生链路故障时用快速重路由技术进行端口切换,以满足用户的实时业务需求,同时达到节省服务提供商的运营成本的目的。The core idea of the present invention is: under the condition that only one transmission ring network is used for message transmission, multiple ports and backup links are set between the terminal equipment and the transmission equipment connected to it, and the multiple ports are bundled to form a Bind ports and share a transmission link. Perform link detection on multiple link configuration detection mechanisms between the terminal device and the transmission device, and use fast rerouting technology to perform port switching when a link failure occurs, so as to meet the real-time business needs of users and save service providers for the purpose of operating costs.

为了使本发明的目的、技术方案及其优点更加清楚明白,以下结合附图及实施例,对本发明作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

图3示出了本发明提供的技术方法的一个实施例的组网方案示意图,即吸收现有技术一中的合理成分,在传输设备和终端设备间设置备份链路,并配置BFD协议进行链路检测:Figure 3 shows a schematic diagram of the networking scheme of an embodiment of the technical method provided by the present invention, that is, absorbing the reasonable components in the prior art 1, setting up a backup link between the transmission device and the terminal device, and configuring the BFD protocol for linking Road detection:

在发送终端R1选择Port1作为主用链路进行报文传输,并配置BFD协议进行在发送端R1及传输设备A之间进行链路检测;The sending terminal R1 selects Port1 as the primary link for packet transmission, and configures the BFD protocol to perform link detection between the sending terminal R1 and the transmission device A;

BFD协议检测到Port1链路故障,利用快速重路由技术切换到Port2链路进行报文发送;The BFD protocol detects that the Port1 link is faulty, and uses the fast rerouting technology to switch to the Port2 link to send packets;

Port1链路通信能力恢复,传输又切换到Port1链路。The communication capability of the Port1 link is restored, and the transmission is switched to the Port1 link again.

报文通过传输环网到达接收终端传输设备B以后,同时从Port3和Port4对应的链路将报文发出;After the message arrives at the receiving terminal transmission device B through the transmission ring network, the message is sent out from the links corresponding to Port3 and Port4 at the same time;

报文到达接收终端R2,R2默认从配置的主用端口Port3进行报文接收;The message arrives at the receiving terminal R2, and R2 receives the message from the configured primary port Port3 by default;

BFD检测到主用端口Port3故障,则选择备用端口Port4进行报文接收。BFD detects that the active port Port3 is faulty, and selects the standby port Port4 to receive packets.

为了在端口切换的过程中不丢失用户数据报文,可在接收端多个端口的入口处分别设置一个存储模块,并设置缓存的时间大于或等于BFD检测到故障并完成切换的时间。In order not to lose user data packets during port switching, set a storage module at the entrance of multiple ports on the receiving end, and set the buffering time to be greater than or equal to the time when BFD detects a fault and completes the switching.

图4是本发明通过检测机制实现共享传输链路时的快速重路由保护的详细流程图,图4所述步骤均可在图3所述网络上实现,具体包括以下步骤:Fig. 4 is the detailed flowchart of the fast rerouting protection when the present invention realizes shared transmission link through detection mechanism, and the steps described in Fig. 4 can all be realized on the network described in Fig. 3, specifically comprise the following steps:

步骤401,发送端R1发出的报文到达捆绑端口的逻辑捆绑接口;Step 401, the message sent by the sending end R1 arrives at the logical binding interface of the binding port;

步骤402,捆绑接口依照事先设置的主用端口选择规则选定主用发送端口;Step 402, the binding interface selects the primary sending port according to the pre-set primary port selection rules;

步骤403,依照主用端口上配置的检测结果信息,判断主用端口链路是否发生故障,如果没有发生故障,执行步骤404,如果发生故障,转到步骤405;Step 403, according to the detection result information configured on the active port, it is judged whether the link of the active port fails, if there is no fault, execute step 404, if there is a fault, go to step 405;

步骤404,主用端口进行报文发送;Step 404, the main port is used to send messages;

步骤405重新选定一个端口为主用端口;Step 405 reselects a port as the active port;

步骤406,判断新选择的主用端口链路是否发生故障,如果没有发生故障,执行步骤404,如果发生故障,执行步骤407;Step 406, judging whether the newly selected primary port link fails, if no failure occurs, execute step 404, if a fault occurs, execute step 407;

步骤407,判断是否所有端口链路都发生了故障,如果存在没有发生故障的链路,执行步骤405,如果所有端口链路都发生故障,则执行步骤408;Step 407, judging whether all port links have failed, if there is a link that does not fail, execute step 405, if all port links fail, then execute step 408;

步骤408,丢弃正在发送的报文,或者选择当前报文所在的端口,或者选择任一端口将报文发出;Step 408, discarding the message being sent, or selecting the port where the current message is located, or selecting any port to send the message;

步骤409,成功发出的报文经过传输环网到达接收端捆绑接口;Step 409, the successfully sent message reaches the binding interface of the receiving end through the transmission ring network;

步骤410,捆绑接口依照事先设置的主用端口选择规则选定主用接收端口;Step 410, the binding interface selects the main receiving port according to the pre-set main port selection rule;

步骤411,判断主用接收端口链路是否故障,如果故障,则执行步骤413,如果没有发生故障,则执行步骤412;Step 411, judging whether the main receiving port link is faulty, if faulty, then execute step 413, if no fault occurs, then execute step 412;

步骤412,主用接收端口接收报文;Step 412, the main receiving port receives the message;

步骤413,重新选定主用接收端口;Step 413, reselecting the main receiving port;

步骤414,判断新选定的主用接收端口链路是否故障,如果发生故障则执行步骤415,如果没有发生故障则执行步骤412;Step 414, judging whether the newly selected active receiving port link is faulty, if a fault occurs, execute step 415, and if no fault occurs, execute step 412;

步骤415,判断是否所有接收端口链路均发生故障,如果所有端口链路均发生故障,则执行步骤416,如果有端口链路没有发生故障,则执行步骤413;Step 415, judging whether all the receiving port links fail, if all the port links fail, then execute step 416, if any port link does not fail, then execute step 413;

步骤416,丢弃到达接收端口的报文或者选择当前端口或者选择任一端口进行报文接收。。Step 416, discarding the message arriving at the receiving port or selecting the current port or any port to receive the message. .

上述过程中,在报文开始传输之前,就应该在发送端和接收端将多个端口捆绑形成捆绑端口,对上层协议提供一个逻辑的捆绑接口,并配置好IP地址和路由协议,这样能够避免端口切换时上层协议的状态发生变化。同样,在报文传输之前应该就主用端口的选择制定一定的规则,以避免在报文传输时发生混乱,这种配置可以手工进行,也可以利用一定的算法进行实现,并且将设置主用端口的信息配置在相应的捆绑接口上。In the above process, before the message starts to be transmitted, multiple ports should be bundled at the sending end and the receiving end to form a bundled port, provide a logical bundled interface for the upper layer protocol, and configure the IP address and routing protocol, so as to avoid The state of the upper layer protocol changes when the port is switched. Similarly, certain rules should be established for the selection of the primary port before packet transmission to avoid confusion during packet transmission. This configuration can be done manually or by using a certain algorithm. Port information is configured on the corresponding bonded interface.

在进行报文收发的同时,终端设备与传输设备间配置的检测机制不间断地对链路进行周期性检测,并将故障信息配置在与链路相应的端口上。While sending and receiving messages, the detection mechanism configured between the terminal device and the transmission device periodically detects the link without interruption, and configures the fault information on the port corresponding to the link.

需要说明的是,本发明虽然只列举了两个端口共享同一传输链路的情况,但这只是为了说明问题的方便,所有其他多个端口共享同一传输链路的情形均属于本发明的构思范围。在多个链路共存的情形下,检测机制只有在检测了所有备用链路,并且所有备用链路都发生故障的条件下,才可能抛弃报文或者任意选择一个端口传输,这里又可以考虑两种情况:It should be noted that although the present invention only enumerates the situation where two ports share the same transmission link, this is only for the convenience of explaining the problem, and all other situations in which a plurality of ports share the same transmission link all belong to the concept scope of the present invention . In the case of multiple links coexisting, the detection mechanism may discard the message or select a port for transmission only when all the backup links are detected and all backup links fail. Here, two Cases:

检测到所有端口都故障后立即进行抛弃报文或者选择任意一个端口传输报文的操作;或者After detecting that all ports are faulty, immediately discard the message or select any port to transmit the message; or

在检测到所有链路都有故障以后,回头重新检测主用链路,只有主用链路二次检测仍然发生故障的情形下,才丢弃报文或者任意选择一个端口传输报文。After all links are detected to be faulty, go back and re-detect the active link. Only when the active link is still faulty in the secondary detection, the packet is discarded or a port is randomly selected to transmit the packet.

本发明的另一个目的是为了避免发送端或者接收端的多个端口之间出现传输混乱,因此必须限定所述捆绑端口的多个端口只能通过一定的协议确定任何时间所有端口只有一个端口用于报文传输,而其他端口均处于等待或者闲置状态。Another purpose of the present invention is to avoid transmission confusion between multiple ports of the sending end or the receiving end, so it is necessary to limit the multiple ports of the bundled port to be determined only by a certain protocol at any time. Packet transmission, while other ports are in waiting or idle state.

在本发明中,还需要说明的是,为了防止数据报文丢失,应当在相应的链路协商完成以后,再进行链路切换。In the present invention, it should also be explained that, in order to prevent the loss of data packets, the link switching should be performed after the corresponding link negotiation is completed.

以上所述使用BFD进行会话链路检测仅为本发明的较佳实施例而已,并不用来限制本发明的范围,所有可以实现链路检测的方法均属于本发明的思想,凡与本发明的精神和原则等同的任何修改、替换和改进等,均应包含在本发明的保护范围之内。The above-mentioned use of BFD for session link detection is only a preferred embodiment of the present invention, and is not used to limit the scope of the present invention. All methods that can realize link detection belong to the idea of the present invention. Any modifications, substitutions and improvements equivalent in spirit and principle shall be included within the protection scope of the present invention.

Claims (13)

1、一种多个端口共享传输链路时的快速重路由方法,其特征在于,所述方法包括:1. A fast rerouting method when a plurality of ports share a transmission link, wherein the method comprises: 将共享同一传输链路的多个端口捆绑在终端设备形成一个捆绑端口;Bind multiple ports sharing the same transmission link to a terminal device to form a bundled port; 在终端设备的捆绑端口中选择一个主用端口收发报文;Select an active port to send and receive messages among the bundled ports of the terminal device; 对传输链路进行故障检测;Fault detection on the transmission link; 主用端口链路故障,选择备用端口进行报文收发。If the link of the active port fails, select the standby port to send and receive packets. 2、如权利要求1所述的方法,其特征在于,所述终端包括发送终端和接收终端。2. The method according to claim 1, wherein the terminal comprises a sending terminal and a receiving terminal. 3、如权利要求1所述的方法,其特征在于,所述捆绑端口对上层协议提供一个逻辑的捆绑接口。3. The method according to claim 1, wherein the binding port provides a logical binding interface to the upper layer protocol. 4、如权利要求3所述的方法,其特征在于,所述捆绑接口上配置了IP地址和路由协议。4. The method according to claim 3, wherein an IP address and a routing protocol are configured on the binding interface. 5、如权利要求1所述的方法,其特征在于,所述主用端口可以手工设置,也可以通过算法实现配置,并且将设置主用端口的信息配置在相应的捆绑接口上。5. The method according to claim 1, wherein the main port can be manually set, or can be configured through an algorithm, and the information for setting the main port is configured on the corresponding binding interface. 6、如权利要求1所述的方法,其特征在于,缺省情况报文从所述主用端口进行传输。6. The method according to claim 1, characterized in that, by default, packets are transmitted through the primary port. 7、如权力要求1所述的方法,其特征在于,对传输链路进行故障检测后,若:7. The method according to claim 1, characterized in that, after fault detection is performed on the transmission link, if: 主用链路无故障,则主用端口继续进行报文收发;If the active link is not faulty, the active port continues to send and receive packets; 主用链路出现故障,则流量切换到备用链路进行传输。If the active link fails, the traffic will be switched to the standby link for transmission. 8、如权利要求7所述的方法,其特征在于,所述链路检测和报文收发同步进行,检测机制依照一定周期对链路进行检测,并将故障信息配置在与链路相应的端口上。8. The method according to claim 7, wherein the link detection and message sending and receiving are carried out synchronously, and the detection mechanism detects the link according to a certain period, and configures the fault information on the port corresponding to the link superior. 9、如权力要求7所述的方法,其特征在于,所述主用链路为主用端口与传输设备之间的链路。9. The method according to claim 7, wherein the active link is a link between the active port and the transmission device. 10、如权力要求7所述的方法,其特征在于,若所有端口链路都出现故障,对传输的报文可以选择丢弃或者由任意一个端口处理。10. The method according to claim 7, characterized in that, if all port links fail, the transmitted message can be discarded or processed by any port. 11、如权利要求1所述的方法,其特征在于,所述方法进一步包括,所述主用端口链路故障恢复后,可用如下方法重新确定主用端口:11. The method according to claim 1, further comprising: after the link failure of the active port is restored, the following method can be used to re-determine the active port: 将流量切换到原主用端口;或switch traffic to the original primary port; or 将选定的备份端口作为新的主用端口继续进行报文收发直到下次链路故障,恢复的原主用端口作为备份端口存在。Use the selected backup port as the new active port to continue sending and receiving packets until the next link failure, and the restored original active port exists as the backup port. 12、如权利要求7或10所述的方法,其特征在于,进行流量切换的时间应当是在链路协商完成后。12. The method according to claim 7 or 10, characterized in that the time for traffic switching should be after the link negotiation is completed. 13、如权利要求6、7、8或10任一权利要求所述的方法,其特征在于,所述捆绑端口的多个端口在任意时刻只有一个端口处于通信状态。13. The method according to any one of claims 6, 7, 8 or 10, characterized in that only one of the multiple ports of the bundled port is in a communication state at any time.
CNB2006100604261A 2006-04-23 2006-04-23 A fast rerouting method when multiple ports share the transmission link Expired - Fee Related CN100561977C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2006100604261A CN100561977C (en) 2006-04-23 2006-04-23 A fast rerouting method when multiple ports share the transmission link
PCT/CN2006/003524 WO2007121633A1 (en) 2006-04-23 2006-12-21 A method for rapid rerouting when multiple ports sharing the transmission links

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100604261A CN100561977C (en) 2006-04-23 2006-04-23 A fast rerouting method when multiple ports share the transmission link

Publications (2)

Publication Number Publication Date
CN1984039A true CN1984039A (en) 2007-06-20
CN100561977C CN100561977C (en) 2009-11-18

Family

ID=38166286

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100604261A Expired - Fee Related CN100561977C (en) 2006-04-23 2006-04-23 A fast rerouting method when multiple ports share the transmission link

Country Status (2)

Country Link
CN (1) CN100561977C (en)
WO (1) WO2007121633A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252459B (en) * 2008-03-24 2010-12-08 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof
WO2011038591A1 (en) * 2009-09-30 2011-04-07 华为技术有限公司 Method, device and system for master-backup switching in passive optical network (pon)
CN102185784A (en) * 2011-05-26 2011-09-14 杭州华三通信技术有限公司 Automatic protection switching method and device
CN102299830A (en) * 2011-09-20 2011-12-28 杭州华三通信技术有限公司 Dial-up link detection method and equipment
CN101547082B (en) * 2009-04-22 2012-06-27 华为技术有限公司 Active/standby link switching method and network device
CN102882704A (en) * 2012-09-03 2013-01-16 杭州华三通信技术有限公司 Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
CN101626345B (en) * 2009-07-23 2013-03-20 中兴通讯股份有限公司 Message processing method and real-time stream protocol application layer gateway in home gateway
CN101800889B (en) * 2010-02-02 2013-07-10 浙江宇视科技有限公司 Video monitoring method and device
CN101299722B (en) * 2008-07-02 2014-10-29 杭州华三通信技术有限公司 Improved quick rerouting method and network equipment
CN104796329A (en) * 2014-01-16 2015-07-22 中国移动通信集团北京有限公司 Automatic link switching method and automatic link switching device
CN106059791A (en) * 2016-05-13 2016-10-26 华为技术有限公司 Business link switching method and storage device in storage system
CN107241174A (en) * 2017-06-28 2017-10-10 迈普通信技术股份有限公司 Method for switching network and the network equipment
WO2020043161A1 (en) * 2018-08-31 2020-03-05 中兴通讯股份有限公司 Method and apparatus for transmitting service
CN113315802A (en) * 2020-07-27 2021-08-27 阿里巴巴集团控股有限公司 Method, device and equipment for processing network link abnormity
CN115297051A (en) * 2021-05-03 2022-11-04 迈络思科技有限公司 Fast reroute using egress port loopback

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3842951B1 (en) * 2018-09-28 2023-04-05 Panasonic Intellectual Property Management Co., Ltd. Communication device and communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221058A1 (en) * 2003-02-12 2004-11-04 Nortel Networks Limited Nested protection switching in a mesh connected communications network
KR100575945B1 (en) * 2003-08-26 2006-05-02 삼성전자주식회사 Gigabit Ethernet Subscriber Network with Dual Link Structure and Dual Link Setting Method
CN100440746C (en) * 2003-12-01 2008-12-03 中兴通讯股份有限公司 A multi-port multi-link communication network backup control method and device thereof

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252459B (en) * 2008-03-24 2010-12-08 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof
CN101299722B (en) * 2008-07-02 2014-10-29 杭州华三通信技术有限公司 Improved quick rerouting method and network equipment
CN101547082B (en) * 2009-04-22 2012-06-27 华为技术有限公司 Active/standby link switching method and network device
CN101626345B (en) * 2009-07-23 2013-03-20 中兴通讯股份有限公司 Message processing method and real-time stream protocol application layer gateway in home gateway
WO2011038591A1 (en) * 2009-09-30 2011-04-07 华为技术有限公司 Method, device and system for master-backup switching in passive optical network (pon)
CN101800889B (en) * 2010-02-02 2013-07-10 浙江宇视科技有限公司 Video monitoring method and device
CN102185784A (en) * 2011-05-26 2011-09-14 杭州华三通信技术有限公司 Automatic protection switching method and device
CN102299830A (en) * 2011-09-20 2011-12-28 杭州华三通信技术有限公司 Dial-up link detection method and equipment
CN102299830B (en) * 2011-09-20 2014-02-05 杭州华三通信技术有限公司 Dial-up link detection method and equipment
CN102882704B (en) * 2012-09-03 2016-06-29 杭州华三通信技术有限公司 Link protection method in the soft reboot escalation process of a kind of ISSU and equipment
CN102882704A (en) * 2012-09-03 2013-01-16 杭州华三通信技术有限公司 Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
CN104796329A (en) * 2014-01-16 2015-07-22 中国移动通信集团北京有限公司 Automatic link switching method and automatic link switching device
CN104796329B (en) * 2014-01-16 2017-11-28 中国移动通信集团北京有限公司 A kind of link automatic switching method and device
CN106059791A (en) * 2016-05-13 2016-10-26 华为技术有限公司 Business link switching method and storage device in storage system
US10764119B2 (en) 2016-05-13 2020-09-01 Huawei Technologies Co., Ltd. Link handover method for service in storage system, and storage device
CN107241174A (en) * 2017-06-28 2017-10-10 迈普通信技术股份有限公司 Method for switching network and the network equipment
CN107241174B (en) * 2017-06-28 2020-04-03 迈普通信技术股份有限公司 Network switching method and network equipment
WO2020043161A1 (en) * 2018-08-31 2020-03-05 中兴通讯股份有限公司 Method and apparatus for transmitting service
CN110875828A (en) * 2018-08-31 2020-03-10 中兴通讯股份有限公司 A method and device for transmitting services
CN110875828B (en) * 2018-08-31 2022-04-22 中兴通讯股份有限公司 Method and device for transmitting service
CN113315802A (en) * 2020-07-27 2021-08-27 阿里巴巴集团控股有限公司 Method, device and equipment for processing network link abnormity
CN115297051A (en) * 2021-05-03 2022-11-04 迈络思科技有限公司 Fast reroute using egress port loopback

Also Published As

Publication number Publication date
CN100561977C (en) 2009-11-18
WO2007121633A1 (en) 2007-11-01

Similar Documents

Publication Publication Date Title
CN1984039A (en) Fast re-routing method for shared multi-port transmitting link
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
JP6165850B2 (en) Enhanced protocol independent multicast (PIM) fast rerouting methodology using downstream notification packets
US9059902B2 (en) Procedures, apparatuses, systems, and computer-readable media for operating primary and backup network elements
US9871708B2 (en) Method and system for ring protection switching
CN1925496B (en) System and method for load sharing of network layer with multiple network interface cards terminal equipment
CN101127724B (en) Multicast system, device and method based on 802.1ah protocol in MAN Ethernet network
JP4167072B2 (en) Selective protection against ring topology
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN104662851A (en) Enhancements to PIM fast re-route with upstream activation packets
WO2008077313A1 (en) A method and a device for aggregating ports
CN101645810B (en) Method and equipment for detecting pseudo wire (PW)
CN101313523A (en) A method and device for realizing end-to-end link detection and routing strategy switching
WO2008046358A1 (en) A method and device to realize punch-through of point-to-multipoint network link status
CN101197733A (en) Automatic detection method and device for network connectivity
CN102142948A (en) Data forwarding method, device and system
WO2012058895A1 (en) Method and device for switching aggregation links
CN101425942A (en) Method, apparatus and system for bidirectional forwarding detection implementation
CN104270231A (en) System and method for realizing double-node interconnected pseudo-wire
CN104506546A (en) Bidirectional forwarding detection method and device of aggregation link
CN108075968A (en) A kind of network system and pseudo-line service processing method
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
CN103490921A (en) Method and device for protecting network, copying node and system
CN101909006A (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN101160865A (en) A multicast service path protection system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091118

Termination date: 20170423