[go: up one dir, main page]

CN1863198A - Apparatus and method of real-time recovering service - Google Patents

Apparatus and method of real-time recovering service Download PDF

Info

Publication number
CN1863198A
CN1863198A CN 200510093688 CN200510093688A CN1863198A CN 1863198 A CN1863198 A CN 1863198A CN 200510093688 CN200510093688 CN 200510093688 CN 200510093688 A CN200510093688 A CN 200510093688A CN 1863198 A CN1863198 A CN 1863198A
Authority
CN
China
Prior art keywords
message
vrrp
fault
module
real
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
CN 200510093688
Other languages
Chinese (zh)
Other versions
CN100512292C (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.)
Beijing Zhifang Intellectual Property Management 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 CNB2005100936883A priority Critical patent/CN100512292C/en
Publication of CN1863198A publication Critical patent/CN1863198A/en
Application granted granted Critical
Publication of CN100512292C publication Critical patent/CN100512292C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及网络通信技术领域中一种实时恢复业务的装置及方法。本发明基于BFD(双向转发检测)技术,提供了一种VRPP(虚拟路由冗余协议)快速收敛的方法,由BFD检测出主用路由器的故障,构造成VRRP报文传送给VRRP模块,实现主备用路由器的快速切换。本发明实现了BFD与VRRP的结合,通过BFD对故障进行检测,可实现快速的备用路由器变主,克服了当前的VRRP收敛时间长的缺陷。

Figure 200510093688

The invention relates to a device and method for real-time service restoration in the technical field of network communication. Based on BFD (Bidirectional Forwarding Detection) technology, the present invention provides a method for fast convergence of VRPP (Virtual Routing Redundancy Protocol). BFD detects the fault of the master router, constructs a VRRP message and transmits it to the VRRP module, and realizes the master Quick switchover of backup routers. The present invention realizes the combination of BFD and VRRP, detects faults through BFD, can realize fast standby router becoming master, and overcomes the defect of long convergence time of current VRRP.

Figure 200510093688

Description

一种实时恢复业务的装置及方法A device and method for real-time service recovery

技术领域technical field

本发明涉及网络通信技术领域,尤其涉及一种实时恢复业务的装置及方法。The invention relates to the technical field of network communication, in particular to a device and method for real-time service recovery.

背景技术Background technique

在现有的网络系统中,当主用路由器出现故障时,为了尽快的恢复业务,保证通讯的连续性和可靠性,多采用VRRP(虚拟路由冗余协议)协议实现主备路由器之间的切换操作。该协议保证了当主机的下一跳路由器出现故障时,可以及时的由另一台处于备份状态的路由器来代替,从而在设备出现故障时,尽快自动地恢复业务。In the existing network system, when the main router fails, in order to restore the service as soon as possible and ensure the continuity and reliability of the communication, the VRRP (Virtual Routing Redundancy Protocol) protocol is often used to realize the switching operation between the main and standby routers. . This protocol ensures that when the next-hop router of the host fails, it can be replaced by another router in the backup state in time, so that when the device fails, the service can be automatically restored as soon as possible.

该VRRP协议的工作原理为:一组VRRP路由器协同工作,共同构成一台虚拟路由器。该虚拟路由器对外表现为一个具有唯一固定IP地址和MAC地址的逻辑路由器。处于同一个VRRP组中的路由器具有两种互斥的角色:主用路由器和备用路由器,一个VRRP组中有且只有一台处于主用角色的路由器,可以有一个或者多个处于备份角色的路由器。VRRP协议使用竞争策略从路由器组中选出一台作为主用,负责ARP响应和转发IP数据包,VRRP组中的其它路由器作为备份的角色处于待命状态。当由于某种原因主用路由器发生故障时,备份路由器能在几秒钟的时延后升级为主用路由器。The working principle of the VRRP protocol is as follows: a group of VRRP routers work together to form a virtual router. The virtual router appears externally as a logical router with a unique fixed IP address and MAC address. Routers in the same VRRP group have two mutually exclusive roles: active router and standby router. There is only one router in the active role in a VRRP group, and there can be one or more routers in the backup role. . The VRRP protocol uses a competition strategy to select a router from the router group as the master, responsible for ARP response and forwarding IP data packets, and other routers in the VRRP group are in the standby state as backup roles. When the active router fails for some reason, the backup router can be upgraded to the active router after a delay of several seconds.

一个VRRP路由器组有唯一的标识:VRID,范围为0-255。该路由器对外表现为唯一的虚拟MAC地址,地址的格式为00-00-5E-00-01-[VRID]。A VRRP router group has a unique identifier: VRID, the range is 0-255. The router appears as a unique virtual MAC address to the outside world, and the format of the address is 00-00-5E-00-01-[VRID].

VRRP定时发送控制报文进行故障检测,VRRP控制报文只有一种:VRRP通告(advertisement)。它使用IP多播数据包进行封装,组地址为224.0.0.18,发布范围只限于同一局域网内。这保证了VRID在不同网络中可以重复使用。为了减少网络带宽消耗只有主用路由器才可以周期性的发送VRRP通告报文。备份路由器在连续三个通告间隔内收不到VRRP或收到优先级为0的通告后启动新的一轮VRRP选举。VRRP periodically sends control packets for fault detection. There is only one type of VRRP control packet: VRRP advertisement. It uses IP multicast data packets for encapsulation, the group address is 224.0.0.18, and the release range is limited to the same LAN. This ensures that the VRID can be reused in different networks. To reduce network bandwidth consumption, only the active router can periodically send VRRP advertisement messages. The backup router starts a new round of VRRP election when it fails to receive VRRP within three consecutive advertisement intervals or receives an advertisement with priority 0.

该VRRP能够兼容多种网络技术和链路层技术,目前在VPN(虚拟私有网)、流量工程、QoS(服务质量)等领域得到了广泛应用。The VRRP is compatible with various network technologies and link layer technologies, and has been widely used in VPN (Virtual Private Network), traffic engineering, QoS (Quality of Service) and other fields.

作为一种容错协议的VRRP解决的主要问题是实现多个出口的自动备份和切换,如图1所示,通常在主机侧设置缺省的路由器,下一跳指向一个路由器,从而实现主机与外部的通信。As a fault-tolerant protocol, the main problem solved by VRRP is to realize the automatic backup and switching of multiple exits. As shown in Figure 1, a default router is usually set on the host side, and the next hop points to a router, so as to realize the communication between the host and the outside world. Communication.

传统的VRRP采用定时发送HELLO报文的方式进行故障检测,缺省发送VRRP协议报文时间间隔为1秒,当备用路由器连续3次接收不到主用路由器的HELLO报文时,自己主动变主来实现主备的切换。由于通常HELLO报文的最小时间粒度是1秒,所以至少3秒才能被备用的路由器感知链路故障状态,对于需要快速感知链路故障状态的实时业务这个收敛时间太长,同时VRRP协议报文的发送是在控制平面处理,因此简单地采用缩小VRRP报文发送时间间隔的方法,一方面浪费大量的系统资源,另一方面在分布式系统中并不能保证VRRP在50ms内收敛,远远不能满足实时通信的要求。Traditional VRRP uses the method of regularly sending HELLO packets for fault detection. The default interval for sending VRRP protocol packets is 1 second. To realize the switchover of master and backup. Since the minimum time granularity of the HELLO message is usually 1 second, it takes at least 3 seconds for the standby router to perceive the link failure status. This convergence time is too long for real-time services that need to quickly detect the link failure status. The sending of VRRP packets is processed on the control plane. Therefore, simply reducing the time interval for sending VRRP packets will waste a lot of system resources. On the other hand, in a distributed system, VRRP cannot be guaranteed to converge within 50ms Meet the requirements of real-time communication.

为了保证使用VRRP协议的网络在主用路由器故障后,备用路由器快速变主,以便业务快速恢复,保证语音业务不间断,需要采用一种方法使备份状态的路由器快速感知出现的故障,并通知VRRP协议模块。In order to ensure that when the active router fails on the network using the VRRP protocol, the standby router can quickly become the active one, so that the business can be restored quickly and the voice service can not be interrupted. protocol module.

发明内容Contents of the invention

本发明的目的在于提供一种实时恢复业务的装置及方法,由BFD(双向转发检测)检测出故障,管控模块根据所述检测到的故障构造VRRP故障报文上报给VRRP模块,所有备用路由器主动进行变主竞争,实现了主备用路由器的快速切换操作。The object of the present invention is to provide a kind of device and method of real-time recovery business, detect fault by BFD (bidirectional forwarding detection), management and control module constructs VRRP fault message and report to VRRP module according to the fault detected, all backup routers actively The master-changing competition is carried out, and the fast switching operation of the master and backup routers is realized.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

一种实时恢复业务的方法,包括:A method of restoring business in real time, including:

双向转发检测BFD检测到主用路由器故障后,构造虚拟路由冗余协议VRRP故障报文,上报给VRRP模块,由VRRP模块完成主备用路由器的切换。After bidirectional forwarding detection BFD detects the failure of the active router, it constructs a virtual routing redundancy protocol VRRP failure message and reports it to the VRRP module, which completes the switchover of the active and standby routers.

所述主用路由器故障包括:The failure of the active router includes:

主用路由器与备用路由器之间的链路故障;或,A link failure between the active router and the backup router; or,

主用路由器的控制平面出现故障。The control plane of the active router fails.

所述的VRRP故障报文中承载的信息包括用于表示该报文为上报路由器故障的报文类型信息。The information carried in the VRRP fault message includes message type information used to indicate that the message is for reporting a router fault.

所述报文类型信息具体包括:报文版本号、报文类型。The message type information specifically includes: message version number and message type.

所述报文版本号与报文类型的关系为:The relationship between the message version number and the message type is:

当报文版本号的值为指定的表示该报文为VRRP故障报文时,所述的报文类型值用于表示具体的故障类型信息。When the value of the message version number is specified, it indicates that the message is a VRRP fault message, and the value of the message type is used to indicate specific fault type information.

所述的故障类型信息与报文类型值对应。The fault type information corresponds to the message type value.

一种实时恢复业务的装置,包括用于检测及判断主用路由器故障消息的BFD模块和用于处理所述故障的VRRP模块,还包括:管控模块。A device for recovering services in real time, including a BFD module for detecting and judging a failure message of a master router, a VRRP module for processing the failure, and a management and control module.

所述管控模块与BFD模块及VRRP模块关连。The management and control module is associated with the BFD module and the VRRP module.

所述管控模块用于接收BFD模块检测到的故障消息,并根据所述故障消息构造VRRP报文,发送给VRRP模块。The management and control module is used to receive the fault message detected by the BFD module, construct a VRRP message according to the fault message, and send it to the VRRP module.

由上述本发明提供的技术方案可以看出,本发明实现了BFD技术与VRRP的结合,通过BFD对故障进行检测,可快速检测到故障,克服了当前的VRRP收敛时间长的缺陷;BFD在检测到故障后,由一个管控模块构造VRRP报文上报给VRRP模块,实现了主备用路由器的快速切换。It can be seen from the above-mentioned technical solutions provided by the present invention that the present invention realizes the combination of BFD technology and VRRP, detects faults through BFD, can quickly detect faults, and overcomes the defect of long convergence time of current VRRP; After a fault occurs, a control module constructs a VRRP message and reports it to the VRRP module, realizing fast switchover of the active and standby routers.

附图说明Description of drawings

图1为现有技术VRRP系统架构图;FIG. 1 is a prior art VRRP system architecture diagram;

图2为本发明BFD工作原理图;Fig. 2 is the working principle diagram of BFD of the present invention;

图3为本发明所述装置模块图;Fig. 3 is a block diagram of the device of the present invention;

图4为本发明所述方法的操作流程图。Fig. 4 is a flowchart of the operation of the method of the present invention.

具体实施方式Detailed ways

BFD(双向转发检测)是从基础传输技术中经过逐步发展而来的一种路由器故障检测协议,它可以检测网络各层的故障,可以用于检测以太网、多协议标记交换(MPLS)路径、普通路由封装以及包括IPSec(IP网络安全协议)隧道在内的多种类型的传输正确性。BFD (Bidirectional Forwarding Detection) is a router fault detection protocol gradually developed from the basic transmission technology. It can detect faults at all layers of the network, and can be used to detect Ethernet, Multi-Protocol Label Switching (MPLS) paths, Generic routing encapsulation and multiple types of transport correctness including IPSec (IP Internet Security Protocol) tunneling.

从本质上讲,BFD是一种高速的独立HELLO协议,能够与相邻系统建立对等关系,然后,每个系统以协商的速率监测来自其他系统的BFD速率,监测速率能够以毫秒级增量设定。当对等系统没有接到预先设定数量的数据包时,它推断BFD保护的软件或硬件基础设施发生故障,不管基础设施是标记交换路径、其他类型的隧道还是以太网络。In essence, BFD is a high-speed independent HELLO protocol that can establish a peer-to-peer relationship with adjacent systems. Then, each system monitors the BFD rate from other systems at a negotiated rate, and the monitoring rate can be incremented in milliseconds. set up. When a peer system does not receive a preset number of packets, it infers that the software or hardware infrastructure protected by BFD has failed, whether that infrastructure is a label-switched path, another type of tunnel, or an Ethernet network.

BFD的工作原理如图2所示,BFD通过定期发送基于UDP(用户数据包协议)层的故障检测数据包,不但可以检测和判断传输链路、光接口和设备端口的中断故障,还可以检测和判断传输层、链路层、IP层和应用层存在的误码、丢包等软故障,弥补了目前基于SDH(同步数字体系)故障检测只能实现传输层故障检测的不足。The working principle of BFD is shown in Figure 2. By periodically sending fault detection packets based on the UDP (User Datagram Protocol) layer, BFD can not only detect and judge the interruption faults of transmission links, optical interfaces, and device ports, but also And judge soft faults such as bit errors and packet loss in the transport layer, link layer, IP layer and application layer, making up for the current fault detection based on SDH (Synchronous Digital Hierarchy) can only realize the fault detection of the transmission layer.

目前BFD缺省检测时间间隔是10ms,连续3次检测到故障就判断链路故障,也就是30ms就可以检测和判断故障,BFD技术不依赖于任何其他协议或者应用,可以采用硬件实现,不影响设备性能。At present, the default BFD detection interval is 10ms. If a fault is detected three times in a row, it will be judged as a link fault. That is, the fault can be detected and judged within 30 ms. BFD technology does not depend on any other protocols or applications, and can be implemented by hardware without affecting device performance.

因此,本发明提出了一种实时恢复业务的装置及方法,使BFD与VRRP相结合,可以在最短的时间内实现业务流的切换,从而满足实时业务的需要。Therefore, the present invention proposes a real-time service recovery device and method, which combines BFD and VRRP to realize service flow switching in the shortest time, thereby meeting the needs of real-time services.

本发明的核心思想是提供一种实时恢复业务的装置及方法,由BFD检测出故障,上报给管控模块,由管控模块构造VRRP故障报文将故障消息上报给VRRP模块,处于备用状态路由器上的VRRP模块收到这个报文后,立即开始备用路由器变主竞争,最终优先级高的或优先级相同、IP地址大的备用路由器竞争为主用,接替原来故障的主用路由器开始转发工作,实现主备用路由器的快速切换。The core idea of the present invention is to provide a device and method for restoring services in real time. BFD detects a fault and reports it to the management and control module. The management and control module constructs a VRRP fault message and reports the fault message to the VRRP module. After the VRRP module receives this message, it immediately starts the competition for the backup router to become the master. Finally, the backup router with the highest priority or the same priority and a large IP address competes for the master, and takes over from the original failed master router to start forwarding. Fast switchover of primary and backup routers.

本发明提供了一种实时恢复业务的装置,所述装置的模块图如图3所示,该装置包括BFD模块1、管控模块2、VRRP模块3;其中BFD模块1用于检测及判断主用路由器与备用路由器之间的链路故障及主用路由器的控制平面故障等,其缺省检测时间间隔是10ms,连续3次检测到故障就判断链路故障,也就是30ms就可以检测和判断故障;所述的管控模块2与所述BFD模块1关连,用于接收BFD模块1发送的故障消息,根据故障消息构造VRRP故障报文,该VRRP故障报文承载的信息包括用于表示主备用路由器故障类型信息,如故障发生的位置、类型等;所述VRRP模块3与控制管理模块2关连,用于接收管控模块2发来的VRRP故障报文,并根据报文中所承载的信息进行故障处理。The present invention provides a device for real-time service recovery, the module diagram of the device is shown in Figure 3, the device includes a BFD module 1, a management and control module 2, and a VRRP module 3; wherein the BFD module 1 is used to detect and judge the The default detection interval is 10ms for the link failure between the router and the standby router and the control plane failure of the active router. If the failure is detected three times in a row, the link failure is judged, that is, the failure can be detected and judged within 30ms. ; The management and control module 2 is associated with the BFD module 1, and is used to receive the fault message sent by the BFD module 1, and construct a VRRP fault message according to the fault message, and the information carried by the VRRP fault message includes information used to represent the primary and backup routers Fault type information, such as the location and type of fault occurrence; the VRRP module 3 is associated with the control management module 2, and is used to receive the VRRP fault message sent by the control module 2, and perform fault detection according to the information carried in the message deal with.

本发明还提供一种实时恢复业务的方法,如图4所示为本发明所述方法的操作流程图,如图4可知,该方法具体包括如下步骤:The present invention also provides a method for resuming services in real time, as shown in Figure 4 is an operation flowchart of the method of the present invention, as can be seen from Figure 4, the method specifically includes the following steps:

步骤10:在备份组的所有路由器上使能BFD模块检测及VRRP;Step 10: Enable BFD module detection and VRRP on all routers in the backup group;

在备份组的所有路由器上采用BFD模块1检测主用路由器的工作状态,包括检测主用路由器与备用路由器之间的链路是否发生故障,及主用路由器控制平面是否发生故障等。Use BFD module 1 on all routers in the backup group to detect the working status of the active router, including detecting whether the link between the active router and the standby router fails, and whether the control plane of the active router fails.

步骤11:BFD模块1检测到故障,通知管控模块2,由管控模块2构造VRRP故障报文并将其发送给VRRP模块3;Step 11: The BFD module 1 detects a fault, notifies the control module 2, and the control module 2 constructs a VRRP fault message and sends it to the VRRP module 3;

BFD模块1检测到的故障包括:主用路由器与备用路由器之间的链路故障,及主用路由器的控制平面出现故障。当所述故障发生时,BFD模块1能够快速检测到,并将故障信息按一定的格式发送给管控模块2,由管控模块2根据故障信息构造一个新的VRRP故障报文,将构造好的VRRP故障报文上报给VRRP模块3,所述VRRP故障报文的版本Version填写为希望的版本号;报文的类型Type填写为约定的代表路由器故障的报文类型,不同的故障填写不同的Type值,每一Type值代表特定的故障,可预先设定;所述的报文的格式如下:   0   1   2   3   4   5   6   7   0   1   2   3   4   5   6   7   0   1   2   3   4   5   6   7   0   1   2   3   4   5   6   7   Version   Type         Virtual Rtr ID         Priority         Count IP Addrs   Auth Type         Adver Int         Checksum                                                       IP Address(1)                                                       IP Address(2)                                                       …                                                       IP Address(n)                                                       Authentication Data(1)                                                       Authentication Data(2) The faults detected by the BFD module 1 include: a link failure between the active router and the standby router, and a fault in the control plane of the active router. When the fault occurs, the BFD module 1 can quickly detect it, and send the fault information to the management and control module 2 in a certain format, and the management and control module 2 constructs a new VRRP fault message according to the fault information, and sends the constructed VRRP The fault message is reported to the VRRP module 3, and the version Version of the VRRP fault message is filled in as the desired version number; the type Type of the message is filled in as the agreed message type representing a router fault, and different types of faults are filled in with different Type values , each Type value represents a specific fault, which can be preset; the format of the message is as follows: 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Version type Virtual Rtr ID priority Count IP Addrs AuthType Adver Int Checksum IP Address(1) IP Address(2) IP Address(n) Authentication Data(1) Authentication Data(2)

其中,in,

Version:版本号,通常为2,在VRRP故障报文中根据需要可以改变该版本号值;Version: version number, usually 2, the value of this version number can be changed as needed in the VRRP failure message;

Type:报文的类型,通常为1,表示广播报文,在VRRP故障报文中当版本为用户指定的值时,不同的Type值代表不同的故障类型,值为1的Type不再表示广播报文,而是一种具体的故障,也就是说1被复用了,后面对其详述;Type: The type of the message, usually 1, which means a broadcast message. When the version is a value specified by the user in a VRRP fault message, different Type values represent different types of faults, and a Type value of 1 no longer means broadcast message, but a specific fault, that is to say, 1 is multiplexed, which will be described in detail later;

Virtual Rtr ID(VRID):配置的VRRP备份组号,1~255,必配,唯一标示该虚拟组;Virtual Rtr ID (VRID): The configured VRRP backup group number, 1 to 255, must be configured, and uniquely identifies the virtual group;

Priority:优先级,0-255(其中,0和255不可配置),选配,值越大,优先级越高;Priority: priority, 0-255 (among them, 0 and 255 are not configurable), optional, the larger the value, the higher the priority;

Count IP Addrs:配置的备份组虚拟IP地址的个数,一个备份组可以对应多个虚拟地址,必配,可配多个,至少为1,备份组内必须一致,顺序可以不一样;Count IP Addrs: The number of configured backup group virtual IP addresses. A backup group can correspond to multiple virtual addresses. It must be configured, and multiple virtual addresses can be configured, at least 1. The backup group must be consistent, and the order can be different;

Auth Type:认证类型,协议中规定了三种认证类型,0表示不认证,1表示简单文本口令,2表示IP认证头Auth Type: authentication type, three authentication types are specified in the protocol, 0 means no authentication, 1 means simple text password, 2 means IP authentication header

Adver Int:发送HELLO报文的时间间隔,缺省为1秒;Adver Int: The time interval for sending HELLO messages, the default is 1 second;

Checksum:校验和;Checksum: checksum;

IP Address(es):配置的备份组的虚拟IP地址列表;IP Address(es): the virtual IP address list of the configured backup group;

Authentication Data认证字;Authentication Data authentication word;

在管控模块2构造的VRRP故障报文中,当版本号改变时,Type值表示各种故障类型,该故障类型由管控模块2根据BFD模块1的检测结果综合后确定,填写在新的VRRP故障报文中,具体的映射关系可以为如下所示:In the VRRP fault message constructed by the management and control module 2, when the version number changes, the Type value indicates various fault types, which are determined by the management and control module 2 based on the detection results of the BFD module 1 and filled in the new VRRP fault In the message, the specific mapping relationship can be as follows:

TYPE值                    故障类型TYPE value Fault type

1                         主备间链路故障;1 Link failure between master and backup;

2                         主用管理故障;2 Primary management failure;

3                         主用上行链路中的一个故障;3 A failure in the active uplink;

4                         主用路由器转发平面复位;4 Reset the forwarding plane of the master router;

5                         主用路由器上行链路全部出现故障;5 All uplinks of the active router fail;

该具体的映射关系可预先设定;The specific mapping relationship can be preset;

步骤12:VRRP模块3实现主备用路由器切换;Step 12: The VRRP module 3 realizes the switching of the master and backup routers;

上述操作完成后,若主备之间或主用路由器控制平面出现故障,则由VRRP模块3开始控制备用路由器变主的竞争,备份组中优先级别最高,或当备用路由器的优先级别相同时,IP地址最大的备份路由器进行变主切换,这个过程由VRRP模块3根据收到的新的VRRP故障报文实现。After the above operations are completed, if there is a failure between the active and standby routers or the control plane of the active router, the VRRP module 3 will start to control the competition for the standby router to become the active one. The backup router with the largest address performs master switching, and this process is realized by the VRRP module 3 according to the received new VRRP failure message.

综上所述,本发明实现了BFD与VRRP的结合,通过BFD对故障进行检测,可实现快速检测到故障及主备用路由器的切换,克服了当前的VRRP收敛时间长的缺陷。To sum up, the present invention realizes the combination of BFD and VRRP, detects faults through BFD, realizes fast detection of faults and switching of active and standby routers, and overcomes the shortcoming of long convergence time of current VRRP.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (9)

1, a kind of method of real-time recovering service is characterized in that, comprising:
After two-way forwarding detection BFD detected primary route device fault, constructing virtual route redundancy protocol VRRP fault message reported the VRRP module, finishes active and standby switching with router by the VRRP module.
2, the method for a kind of real-time recovering service as claimed in claim 1 is characterized in that, described primary route device fault comprises:
Link failure between primary route device and the standby router; Or,
The control plane of primary route device breaks down.
3, the method for a kind of real-time recovering service as claimed in claim 1 is characterized in that, loaded information comprises and is used to represent that this message is the type of message information that reports router failure in the described VRRP fault message.
4, the method for a kind of real-time recovering service as claimed in claim 3 is characterized in that, described type of message information specifically comprises: message version number, type of message.
5, the method for a kind of real-time recovering service as claimed in claim 4 is characterized in that, the pass of described message version number and type of message is:
When the value of message version number is this message of expression of appointment when being VRRP fault message, described type of message value is used to represent concrete fault type information.
6, the method for a kind of real-time recovering service as claimed in claim 5 is characterized in that, described fault type information is corresponding with the type of message value.
7, a kind of device of real-time recovering service comprises the BFD module and the VRRP module that is used to handle described fault that are used to detect and judge primary route device failure message, it is characterized in that, also comprises: the management and control module.
8, the device of a kind of real-time recovering service as claimed in claim 7 is characterized in that, described management and control module and BFD module and VRRP module connection.
As the device of claim 7 or 8 described a kind of real-time recovering services, it is characterized in that 9, described management and control module is used to receive the detected failure message of BFD module, and, send to the VRRP module according to described failure message structure VRRP message.
CNB2005100936883A 2005-09-01 2005-09-01 Apparatus and method of real-time recovering service Expired - Lifetime CN100512292C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100936883A CN100512292C (en) 2005-09-01 2005-09-01 Apparatus and method of real-time recovering service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100936883A CN100512292C (en) 2005-09-01 2005-09-01 Apparatus and method of real-time recovering service

Publications (2)

Publication Number Publication Date
CN1863198A true CN1863198A (en) 2006-11-15
CN100512292C CN100512292C (en) 2009-07-08

Family

ID=37390525

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100936883A Expired - Lifetime CN100512292C (en) 2005-09-01 2005-09-01 Apparatus and method of real-time recovering service

Country Status (1)

Country Link
CN (1) CN100512292C (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008095365A1 (en) * 2007-02-05 2008-08-14 Huawei Technologies Co., Ltd. Reliability processing method and system of metro ethernet network which provides multi-service group network
CN100558057C (en) * 2007-07-20 2009-11-04 华为技术有限公司 A processing method and device for a bidirectional forwarding detection session
CN101060533B (en) * 2007-05-14 2010-08-04 华为技术有限公司 A method, system and device for improving reliability of VGMP protocol
CN101909006A (en) * 2010-07-23 2010-12-08 北京星网锐捷网络技术有限公司 BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN101312439B (en) * 2007-05-24 2011-04-20 中国电信股份有限公司 Flexible IP gateway protecting method
CN101127765B (en) * 2007-09-21 2011-06-08 杭州华三通信技术有限公司 Method and tag switching device for detecting reachability of tag switching path
CN101420381B (en) * 2008-12-08 2011-06-08 杭州华三通信技术有限公司 Method and apparatus for enhancing forwarding reliability in VRRP load balance
CN101252427B (en) * 2008-02-29 2011-08-24 中兴通讯股份有限公司 Switch method of main-standby routers connecting with main-standby interfaces of medium gateways
CN101442485B (en) * 2008-12-18 2011-08-24 华为技术有限公司 Method, apparatus and system for forwarding multicast
CN101447858B (en) * 2008-01-17 2012-01-11 中兴通讯股份有限公司 Method for realizing synchronous switching of virtual router redundancy protocol in dual-machine hot backup system
CN101667927B (en) * 2009-09-16 2012-02-01 杭州华三通信技术有限公司 Method and device for rapidly restoring service
CN102349266A (en) * 2011-08-12 2012-02-08 华为技术有限公司 Method and device for processing service failure configured on node equipment in communication system
CN101483558B (en) * 2008-01-10 2012-07-04 华为技术有限公司 Method, system and apparatus for packet switching network access by network appliance
CN102594580A (en) * 2011-01-10 2012-07-18 中兴通讯股份有限公司 Method for raising service reliability in virtual private network, system thereof and access apparatus
CN102724073A (en) * 2012-06-20 2012-10-10 华为技术有限公司 Method for network traffic recovery and routing device
CN102891798A (en) * 2012-09-28 2013-01-23 华为技术有限公司 Heartbeat message transmission method and heartbeat message transmission device
CN101729426B (en) * 2009-12-29 2013-06-12 中兴通讯股份有限公司 Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
CN103490951A (en) * 2013-09-09 2014-01-01 神州数码网络(北京)有限公司 Bidirectional forwarding detection method in multi-hop link on basis of BFD
WO2014108773A1 (en) * 2013-01-14 2014-07-17 International Business Machines Corporation Low-latency lossless switch fabric for use in a data center
CN104168193A (en) * 2014-08-12 2014-11-26 华为技术有限公司 Virtual router redundancy protocol fault detection method and router equipment
CN101267392B (en) * 2008-04-24 2015-05-20 中兴通讯股份有限公司 A realizing method for notifying downstream device in case of switch of uplink link status
US9883411B2 (en) 2015-11-24 2018-01-30 Cisco Technology, Inc. External cellular recovery device
CN116094949A (en) * 2021-11-08 2023-05-09 中国移动通信有限公司研究院 Self-adaptive bidirectional forwarding detection sending method, receiving method and device
CN116248581A (en) * 2022-12-29 2023-06-09 天翼云科技有限公司 A method and system for active/standby switching of gateway cluster in cloud scene based on SDN

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008095365A1 (en) * 2007-02-05 2008-08-14 Huawei Technologies Co., Ltd. Reliability processing method and system of metro ethernet network which provides multi-service group network
US8320389B2 (en) 2007-02-05 2012-11-27 Huawei Technologies Co., Ltd. Reliability processing methods and systems in the networking of metro ethernet network providing multi-service
CN101060533B (en) * 2007-05-14 2010-08-04 华为技术有限公司 A method, system and device for improving reliability of VGMP protocol
CN101312439B (en) * 2007-05-24 2011-04-20 中国电信股份有限公司 Flexible IP gateway protecting method
CN100558057C (en) * 2007-07-20 2009-11-04 华为技术有限公司 A processing method and device for a bidirectional forwarding detection session
CN101127765B (en) * 2007-09-21 2011-06-08 杭州华三通信技术有限公司 Method and tag switching device for detecting reachability of tag switching path
CN101483558B (en) * 2008-01-10 2012-07-04 华为技术有限公司 Method, system and apparatus for packet switching network access by network appliance
US8437248B2 (en) 2008-01-10 2013-05-07 Huawei Technologies Co., Ltd. Method, system, and apparatus for network device to access packet switched network
CN101447858B (en) * 2008-01-17 2012-01-11 中兴通讯股份有限公司 Method for realizing synchronous switching of virtual router redundancy protocol in dual-machine hot backup system
CN101252427B (en) * 2008-02-29 2011-08-24 中兴通讯股份有限公司 Switch method of main-standby routers connecting with main-standby interfaces of medium gateways
CN101267392B (en) * 2008-04-24 2015-05-20 中兴通讯股份有限公司 A realizing method for notifying downstream device in case of switch of uplink link status
CN101420381B (en) * 2008-12-08 2011-06-08 杭州华三通信技术有限公司 Method and apparatus for enhancing forwarding reliability in VRRP load balance
CN101442485B (en) * 2008-12-18 2011-08-24 华为技术有限公司 Method, apparatus and system for forwarding multicast
CN101667927B (en) * 2009-09-16 2012-02-01 杭州华三通信技术有限公司 Method and device for rapidly restoring service
CN101729426B (en) * 2009-12-29 2013-06-12 中兴通讯股份有限公司 Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
CN101909006A (en) * 2010-07-23 2010-12-08 北京星网锐捷网络技术有限公司 BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN101909006B (en) * 2010-07-23 2012-11-21 北京星网锐捷网络技术有限公司 BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN102594580B (en) * 2011-01-10 2017-06-27 中兴通讯股份有限公司 Improve method and system, the access device of service reliability in Virtual Private Network
CN102594580A (en) * 2011-01-10 2012-07-18 中兴通讯股份有限公司 Method for raising service reliability in virtual private network, system thereof and access apparatus
CN102349266A (en) * 2011-08-12 2012-02-08 华为技术有限公司 Method and device for processing service failure configured on node equipment in communication system
CN102349266B (en) * 2011-08-12 2013-11-06 华为技术有限公司 Method and device for processing service failure configured on node equipment in communication system
CN102724073A (en) * 2012-06-20 2012-10-10 华为技术有限公司 Method for network traffic recovery and routing device
CN102891798B (en) * 2012-09-28 2016-06-22 华为技术有限公司 heartbeat message transmission method and device
CN102891798A (en) * 2012-09-28 2013-01-23 华为技术有限公司 Heartbeat message transmission method and heartbeat message transmission device
US9014005B2 (en) 2013-01-14 2015-04-21 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Low-latency lossless switch fabric for use in a data center
WO2014108773A1 (en) * 2013-01-14 2014-07-17 International Business Machines Corporation Low-latency lossless switch fabric for use in a data center
US9270600B2 (en) 2013-01-14 2016-02-23 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Low-latency lossless switch fabric for use in a data center
CN103490951A (en) * 2013-09-09 2014-01-01 神州数码网络(北京)有限公司 Bidirectional forwarding detection method in multi-hop link on basis of BFD
CN104168193A (en) * 2014-08-12 2014-11-26 华为技术有限公司 Virtual router redundancy protocol fault detection method and router equipment
WO2016023436A1 (en) * 2014-08-12 2016-02-18 华为技术有限公司 Fault detection method for virtual router redundancy protocol and router device
CN104168193B (en) * 2014-08-12 2017-12-15 华为技术有限公司 A kind of method and routing device of Virtual Router Redundancy Protocol fault detect
US9883411B2 (en) 2015-11-24 2018-01-30 Cisco Technology, Inc. External cellular recovery device
CN116094949A (en) * 2021-11-08 2023-05-09 中国移动通信有限公司研究院 Self-adaptive bidirectional forwarding detection sending method, receiving method and device
CN116248581A (en) * 2022-12-29 2023-06-09 天翼云科技有限公司 A method and system for active/standby switching of gateway cluster in cloud scene based on SDN
CN116248581B (en) * 2022-12-29 2024-09-03 天翼云科技有限公司 Cloud scene gateway cluster master-slave switching method and system based on SDN

Also Published As

Publication number Publication date
CN100512292C (en) 2009-07-08

Similar Documents

Publication Publication Date Title
CN1863198A (en) Apparatus and method of real-time recovering service
US9344325B2 (en) System, method and apparatus providing MVPN fast failover
US9036466B2 (en) Methods and apparatus for improving network communication using ethernet switching protection
JP4802280B2 (en) Method and system for high-reliability processing in networking of a Metro Ethernet network providing multi-functional services
US20120236730A1 (en) Method, device and system for processing service traffic based on pseudo wires
CN101035009A (en) Multicast traffic redundancy protection method and device
CN1531262A (en) Network communication method for realizing network load sharing function
CN101047601A (en) Implementing method and system of double-attach network based on VPLS
CN1659835A (en) Distinguishing between link and node failure to facilitate fast reroute
CN1933448A (en) Business fast convergent method and network equipment
CN1816035A (en) Master-spare transmission route realizing method based on data telecommunication network
CN1949767A (en) Method for switching master-slave back-up route apparatus based on virtual router redundant protocol
CN101374075A (en) Method, device and system for protecting multicast source
CN1756184A (en) Multiprotocol label switching network protection switching method
CN101800774A (en) Environmental-friendly accessing method and environmental-friendly accessing network
CN1848842A (en) Implementation method of multi-protocol label switching bidirectional protection switching
CN1992707A (en) Fast restoration method of multicast service and network apparatus
CN101262407B (en) A method for virtual router to establish tunnel
CN101060533A (en) A method, system and device for improving the reliability of VGMP protocol
CN1897567A (en) Method for improving transmission reliability in virtual exchange system
CN1848841A (en) Route equipment backup method
CN1968172A (en) Network device which intelligently filters redundant data streams within computer networks
CN1874285A (en) Method and equipment for implementing broadcast or multicast on elastic packet ring
CN101043422A (en) Multicasting service protecting method of access network and its system, apparatus
CN101030917A (en) Method and apparatus for realizing MPLS TE on VLAN interface

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230414

Address after: Room 910, 9th Floor, Building 1, No. 22 Jianguomenwai Street (Saite Building), Chaoyang District, Beijing, 100022

Patentee after: Beijing Zhifang Intellectual Property Management Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20090708