CN102833161B - Method and apparatus for load sharing Tunnel - Google Patents

Method and apparatus for load sharing Tunnel Download PDF

Info

Publication number
CN102833161B
CN102833161B CN 201210299122 CN201210299122A CN102833161B CN 102833161 B CN102833161 B CN 102833161B CN 201210299122 CN201210299122 CN 201210299122 CN 201210299122 A CN201210299122 A CN 201210299122A CN 102833161 B CN102833161 B CN 102833161B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
tunnel
information
load sharing
current
network node
Prior art date
Application number
CN 201210299122
Other languages
Chinese (zh)
Other versions
CN102833161A (en )
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
Grant date

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic regulation in packet switching networks
    • H04L47/10Flow control or congestion control
    • H04L47/12Congestion avoidance or recovery
    • H04L47/125Load balancing, e.g. traffic engineering

Abstract

本发明提供了一种隧道负荷分担方法及装置,其中,该方法包括:网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息,其中,隧道负荷分担组信息是由平台协议模块发送给网络节点的;网络节点将更新后的有效隧道的信息发送给网络节点中的转发芯片,其中,转发芯片根据信息选择有效隧道对业务流量进行负载均衡。 The present invention provides a method and apparatus for load sharing tunnel, wherein the method comprising: detecting an alarm condition of the network node of the tunnel, and the tunnel current update information of the effective load sharing group tunnel, wherein the tunnel is a load sharing group information sent by the internet protocol module to a network node; tunnel network node information is valid after the update is sent to the network nodes forwarding chip, wherein the chip information selecting valid forwarding tunnel according to traffic load balancing. 本发明解决了相关技术中在隧道负荷分担组中的隧道出现转发失效时,业务收敛速度慢的问题,从而实现了业务的快速收敛,提高了网络节点的转发性能。 The present invention solves the tunnel when the tunnel related art load sharing group appear forwarding failure, the problem of slow convergence of traffic, in order to achieve a rapid convergence of services, improving the forwarding performance of the network node.

Description

隧道负荷分担方法及装置 Method and apparatus for load sharing Tunnel

技术领域 FIELD

[0001] 本发明涉及通信领域,具体而言,涉及一种隧道负荷分担方法及装置。 [0001] The present invention relates to communication field, specifically, it relates to a method and apparatus for load sharing tunnel.

背景技术 Background technique

[0002] 在计算机数据通讯领域,尤其是数据承载网,隧道技术的应用非常广泛,而负荷分担是一种在网络节点设备上,在多条链路上进行负载均衡的策略和方法。 [0002] The field of data communications in a computer, in particular data bearer network, tunneling technology application is very wide, and a load sharing, load balancing strategies and methods on multiple links in the network node apparatus. 当分组报文处理节点发现被转发的报文可以通过多条路径向外转发时,如何合理地选择一条路径,使得网络节点达到较高的转发性能或者满足一定的转发需求,这是负荷分担需要解决的问题。 When the packet processing node discovery packets forwarded packet may be forwarded through a plurality of outward paths, how to select a path such that the network node to achieve higher performance, or to meet certain forwarding forwarding demand, which is required load sharing solved problem. 本申请所指的隧道负荷分担,是在网络节点设备上,业务流量在多条隧道上进行负载均衡的一种策略和方法。 Tunnel load balancing of the present application refers to, in the network node apparatus, traffic load balancing method on a strategy and a plurality of tunnels.

[0003] 隧道负荷分担组目前有2种形成方式,一种是由路由协议计算出多条隧道出口形成,另外一种是静态绑定若干条隧道形成,当隧道负荷分担组中一条或多条隧道转发路径失效时,上述2种方式形成的负荷分担组都需要依赖于协议感知,然后,通知转发芯片重新选择有效路径来进行收敛,通过该隧道负荷分担技术,无论是在集中式设备还是分布式设备上,做到50ms内收敛都是非常困难的。 [0003] The tunnel current load sharing group is formed there are two ways, one is calculated by the routing protocol forming a plurality of exit from the tunnel, the other is a plurality of tunnels formed statically bound, when the tunnel in the load sharing group of one or more when the tunnel forwarding path fails, the load sharing group of the two types formed are required depends on the protocol aware, then forwards the notification chip reselection valid path to convergence, sharing technology through the tunnel load is distributed both in a centralized device on devices, so that the convergence of 50ms is very difficult. 在相关隧道负荷分担技术中,由于需要协议感知隧道转发失效,然后再通知转发芯片重新选择有效路径来进行收敛,因此,存在业务收敛速度慢,转发性能低的缺陷。 In the related art tunnel load balancing, since a tunnel protocol aware forwarding failure, and then notifies the forwarding path to a valid chip reselection convergence, therefore, the presence of business slow convergence, forward low performance deficiencies.

[0004] 针对相关技术中上述至少之一的问题,目前尚未提出有效的解决方案。 [0004] for at least one of the above-mentioned problems in the related art, it has not yet come up with effective solutions.

发明内容 SUMMARY

[0005] 本发明提供了一种隧道负荷分担方法及装置,以至少解决相关技术中在隧道负荷分担组中的隧道出现转发失效时,业务收敛速度慢的问题。 [0005] The present invention provides a method and apparatus for load sharing tunnel to solve at least the related art tunnel tunnel load sharing group when forwarding failure, the problem of slow convergence speed traffic.

[0006] 根据本发明的一个方面,提供了一种隧道负荷分担方法,包括:网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息,其中,隧道负荷分担组信息是由平台协议模块发送给网络节点的;网络节点将更新后的有效隧道的信息发送给网络节点中的转发芯片,其中,转发芯片根据信息选择有效隧道对业务流量进行负载均衡。 [0006] In accordance with one aspect of the present invention, there is provided a method of load sharing a tunnel, comprising: a network node detects an alarm situation the tunnel, and the tunnel current update information of the effective load sharing group tunnel, wherein the tunnel load sharing group information from the internet protocol module is sent to the network node; and sending a tunnel information is valid after the updated network node to the network node forwarding chip, wherein the chip information selecting active tunnel forwarding service traffic according to load balancing.

[0007] 优选地,在网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之前,上述隧道负荷分担方法还包括:网络节点在当前隧道负荷分担组信息中的每一条隧道的两端配置快速检测模块,快速检测模块用于检测隧道是否有效,并在检测到快速检测模块所在的隧道出现转发失效的情况下,产生告警信号。 [0007] Preferably, the alarm situation of the network node detects the tunnel, and updates the current tunnel load sharing previously set information valid tunnel, said tunnel load balancing method further comprising: the network node sharing group information in the current tunnel load both ends of each tunnel configuration quick detection module, a detection module for detecting a rapid tunnel is valid, and in the case of fast detection module detects a tunnel where the forwarding failure occurs, an alarm signal is generated.

[0008] 优选地,在网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之前,上述隧道负荷分担方法还包括:网络节点通过以下方式在当前隧道负荷分担组信息中有效隧道上对网络节点的业务流量进行负载均衡:网络节点根据获取的其他网络节点上隧道的环回口地址,通过路由协议运算出当前隧道负荷分担组信息中从网络节点到其他网络节点允许选择的有效隧道,并将运算结果发送给转发芯片;网络节点从当前隧道负荷分担组信息中静态选择由网络节点到其他网络节点允许选择的有效隧道,并将选择结果发送给转发芯片。 Before [0008] Preferably, the alarm situation of the network node detects the tunnel, and updates the information of the current tunnel load sharing group information valid tunnel, said tunnel load balancing method further comprising: the network node by way of the current tunnel load sharing group information effective tunnel traffic network node load balancing: the network node according to the loopback interface address on another network node obtains the tunnel, calculated other network nodes of the current tunnel load sharing group information from the network node through a routing protocol It allows the selection of an active tunnel, forwarding the operation result to a chip; network node from the tunnel current static load sharing group information selected by the network node to other network nodes active tunnel allowing for selection, and the selection result is sent to the forwarding chip.

[0009] 优选地,网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息包括:在网络节点检测到有隧道产生告警的情况下,网络节点更新当前隧道负荷分担组信息中有效隧道的信息。 [0009] Preferably, the alarm situation of the network node detects the tunnel, and updates the information of the current tunnel load sharing group information valid tunnel comprising: a network node detects the tunnel generates an alarm situation, the network node to update the current tunnel load balancing group information is valid tunnel information.

[0010] 优选地,网络节点更新当前隧道负荷分担组信息中有效隧道的信息包括:网络节点根据产生告警的隧道的隧道号查询当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断隧道是否属于当前隧道负荷分担组信息中的隧道;在隧道属于当前隧道负荷分担组信息中的隧道,且隧道的转发状态为有效转发的情况下,网络节点从当前隧道负荷分担组信息中的有效隧道信息中删除隧道的信息,并在当前隧道负荷分担组信息中将隧道的转发状态修改为失效转发,更新当前隧道负荷分担组信息中有效隧道的信息。 [0010] Preferably, the network node updates the tunnel load sharing group information effective tunneling current information comprises: a network node to query relational information tunnel number and sharing group index tunnel load current tunnel load balancing group according to the tunnel number tunnel generates an alarm , it is determined whether the tunnel belongs to the current tunnel load sharing group information tunnel; tunnel belonging CROSSING load sharing group information of current, and the forwarding state of the tunnel is the case where the valid forwarding the network node from the current tunnel load sharing group information remove the tunnel information valid tunnel information, and modify the current forwarding state in the load sharing group tunnel tunnel forwarding failure information, update the information in the tunnel information effective load sharing group tunnel.

[0011] 优选地,在网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之后,上述隧道负荷分担方法还包括:网络节点接收平台协议模块发送的第一隧道负荷分担组信息,其中,第一隧道负荷分担组信息是平台协议模块检测到隧道产生告警后,重新生成的隧道负荷分担组信息。 After [0011] Preferably, the alarm condition is detected tunnel network node, and updates the information of the current tunnel load sharing group information valid tunnel, said tunnel load balancing method further comprising: a first network node receives a tunnel internet protocol module to transmit load sharing group information, wherein the first tunnel is a load sharing group information tunnel internet protocol module to generate an alarm when detected, regenerated tunnel load sharing group information.

[0012] 优选地,网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息包括:在网络节点检测到有隧道产生的告警消失的情况下,网络节点更新当前隧道负荷分担组信息中有效隧道的信息。 [0012] Preferably, the alarm situation of the network node detects the tunnel, and updates the information of the current tunnel load sharing group information valid tunnel comprising: a network node detects the case where the alarm disappears tunnel generated, the network node to update the current tunnel load sharing group information valid information tunnel.

[0013] 优选地,网络节点更新当前隧道负荷分担组信息中有效隧道的信息包括:网络节点根据告警消失的隧道的隧道号查询当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断告警消失的隧道是否属于当前隧道负荷分担组信息中的隧道•,在告警消失的隧道属于当前隧道负荷分担组信息中的隧道,且告警消失的隧道的转发状态为失效转发的情况下,网络节点将告警消失的隧道的信息添加到当前隧道负荷分担组信息中的有效隧道信息中,并在当前隧道负荷分担组信息中将告警消失的隧道的转发状态修改为有效转发,更新当前隧道负荷分担组信息中有效隧道的信息。 [0013] Preferably, the network node updates the tunnel load sharing group information effective tunneling current information comprises: a network node to query relational information tunnel number and sharing group index tunnel load current tunnel load balancing group according to the tunnel number alarm ends of the tunnel , judge alert disappear tunnel belongs to the current tunnel load sharing group information in the tunnel •, the warning disappeared tunnel belonging to the current tunnel load sharing group information in the tunnel, and the alarm disappear forwarding status of the tunnel is the case of failure forward, the network node adding information to the alarm disappears tunnel active tunnel current tunnel load balancing information of the group information, and modify the valid forwarding, updating the current state of the current tunnel load forwarding tunnel load sharing group in the alarm message disappears tunnel effective information-sharing group information in the tunnel.

[0014] 优选地,在网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之后,上述隧道负荷分担方法还包括:网络节点接收平台协议模块发送的第二隧道负荷分担组信息,其中,第二隧道负荷分担组信息是平台协议模块检测到有隧道的告警消失后,重新生成的隧道负荷分担组信息。 After [0014] Preferably, the alarm condition is detected tunnel network node, and updates the information of the current tunnel load sharing group information valid tunnel, said tunnel load balancing method further comprising: a second network node receives the tunnel internet protocol module to transmit load sharing group information, wherein the second tunnel after the load sharing group information internet protocol tunnel module detects the disappearance of the alarm, the regenerated tunnel load sharing group information.

[0015] 根据本发明的另一方面,提供了一种隧道负荷分担装置,包括:更新模块,用于检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息,其中,隧道负荷分担组信息是由平台协议模块发送给网络节点的;发送模块,用于将更新后的有效隧道的信息发送给网络节点中的转发芯片,其中,转发芯片根据信息选择有效隧道对业务流量进行负载均衡。 [0015] According to another aspect of the present invention, there is provided a tunnel load balancing apparatus, comprising: an updating module, for detecting alarm conditions in the tunnel, the tunnel current and updated load balancing information is valid information group tunnel, wherein tunnel load sharing group information was sent by the internet protocol module to a network node; transmitting means for transmitting information to the updated active tunnel to the network node forwarding chip, wherein the active tunnel forwarding chip select information based on traffic load balancing.

[0016] 优选地,上述隧道负荷分担装置还包括:快速检测模块,配置于当前隧道负荷分担组信息中的每一条隧道的两端,用于检测隧道是否有效,并在检测到快速检测模块所在的隧道出现转发失效的情况下,产生告警信号。 [0016] Preferably, the load balancing apparatus further comprising a tunnel: Rapid detection module arranged at both ends of the tunnel current in the load sharing group information of each of a tunnel, the tunnel is effective for detecting and fast detection module detects the location in the case of tunnel forwarding failure occurs, resulting in an alarm signal.

[0017] 优选地,更新模块包括:第一更新单元,用于在检测到有隧道产生告警的情况下, 更新当前隧道负荷分担组信息中有效隧道的信息。 [0017] Preferably, the updating module comprises: a first updating unit, in a case of detecting a tunnel generates an alarm, a tunnel current load sharing updates group information of the active tunnel.

[0018] 优选地,第一更新单元包括:第一判断子单元,用于根据产生告警的隧道的隧道号查询隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断隧道是否属于当前隧道负荷分担组信息中的隧道;第一更新子单元,用于在隧道属于当前隧道负荷分担组信息中的隧道,且隧道的转发状态为有效转发的情况下,从当前隧道负荷分担组信息中的有效隧道信息中删除隧道的信息,并在当前隧道负荷分担组信息中将隧道的转发状态修改为失效转发,更新当前隧道负荷分担组信息中有效隧道的信息。 [0018] Preferably, the first updating unit comprises: a first judging sub-unit, according to relationship information tunnel number and load sharing group index number inquiry tunnel tunnel tunnel tunnel load sharing group generates an alarm, it is determined whether the tunnel tunnel current load sharing group information tunnel; the case where a first updating sub-unit, configured to tunnel the tunnel belonging to the load sharing group information tunnel current, and the tunnel forwarding state is valid forwarding information from the current tunnel load sharing group the tunnel information effectively remove information of the tunnel and modifications to fail in the current forwarding state will forward tunnel tunnel load sharing group information, update information of the active tunnel tunnel current load sharing group information.

[0019] 优选地,上述隧道负荷分担装置还包括:第一接收模块,用于接收平台协议模块发送的第一隧道负荷分担组信息,其中,第一隧道负荷分担组信息是平台协议模块检测到隧道产生告警后,重新生成的隧道负荷分担组信息。 [0019] Preferably, the load balancing apparatus further comprising a tunnel: a first receiving module, a first tunnel set load balancing information transmitted from the receiving internet protocol module, wherein the first load balancing tunnel internet protocol module group information is detected after an alarm is generated tunnel, the tunnel regenerated load sharing group information.

[0020] 优选地,更新模块包括:第二更新单元,用于在检测到有隧道产生的告警消失的情况下,更新当前隧道负荷分担组信息中有效隧道的信息。 [0020] Preferably, the updating module comprises: a second updating unit configured to detect an alarm in the tunnel generation disappears, the update information is valid tunnel tunnel current load sharing group information.

[0021] 优选地,第二更新单元包括:第二判断子单元,用于根据告警消失的隧道的隧道号查询当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断告警消失的隧道是否属于当前隧道负荷分担组信息中的隧道;第二更新子单元,用于在告警消失的隧道属于当前隧道负荷分担组信息中的隧道,且告警消失的隧道的转发状态为失效转发的情况下,将告警消失的隧道的信息添加到当前隧道负荷分担组信息中的有效隧道信息中,并在当前隧道负荷分担组信息中将告警消失的隧道的转发状态修改为有效转发,更新当前隧道负荷分担组信息中有效隧道的信息。 [0021] Preferably, the second updating unit comprises: a second determining sub-unit, configured to query relationship information sharing group index number and tunnel tunnel load current tunnel load balancing group according to the tunnel number tunnel alarm disappears, the alarm determination disappear whether a tunnel current tunnel load sharing group tunnel information; and a second updating sub-unit, configured to belong to the current alarm ends tunnel tunnel load sharing group tunnel information, and the disappearance of the alarm forwarding state for the failure of the tunnel forwarding case, to add information to the alarm disappears tunnel active tunnel current tunnel load balancing information of the group information, and modify the valid forwarding, updating the current state of the forwarding tunnel current in the load sharing group tunnel alarm message disappears tunnel load sharing group information valid information tunnel.

[0022] 优选地,上述隧道负荷分担装置还包括:第二接收模块,用于接收平台协议模块发送的第二隧道负荷分担组信息,其中,第二隧道负荷分担组信息是平台协议模块检测到有隧道的告警消失后,重新生成的隧道负荷分担组信息。 [0022] Preferably, the apparatus further comprises a load sharing tunnel: a second receiving module, a second load sharing group tunnel internet protocol module receiving the information transmitted, wherein the second load balancing tunnel internet protocol module group information is detected after the tunnel alarms disappear, rebuild the tunnel load sharing group information.

[0023] 在本发明中,网络节点可以检测隧道的告警情况,来及时地更新当前的隧道负荷分担组信息中有效隧道的信息,该隧道负荷分担组信息是由平台协议模块发送给网络节点的,例如,在上述当前隧道负荷分担组信息中的隧道出现转发失效的情况下,网络节点可以检测到该隧道产生的告警,并将该告警的隧道从有效隧道中删除,以及时地更新当前的隧道负荷分担组信息中有效隧道的信息,然后,将更新后的有效隧道的信息发送给所述网络节点中的转发芯片,由转发芯片根据上述信息选择有效隧道对业务流量进行负载均衡,避免了由协议感知到隧道出现转发失效后,网络节点才能重新选择有效隧道进行业务收敛的情况,实现了业务的快速收敛,从而提高网络节点的转发性能。 [0023] In the present invention, the network node can detect the alarm condition tunnels to timely update the current tunnel load sharing panel information effectively tunnel, the tunnel load sharing group information was sent by the internet protocol module to a network node For example, when the current tunnel load sharing group information forwarding tunnel occur in case of failure, the network node can detect the alarm generated by the tunnel, and the tunnel is deleted from the valid alarm tunnel, and updating of the current time tunnel information in an effective load sharing group tunnel information, and then sends the information to the updated active tunnel to the network node forwarding the chip, the chip select active tunnel forwarding information based on the traffic load balancing, to avoid the after the tunnel appears to be perceived by the agreement forward failure, the network node to re-select a valid business case of tunnel convergence to achieve a rapid convergence of business, thus improving the forwarding performance of the network nodes.

附图说明 BRIEF DESCRIPTION

[0024] 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。 [0024] The drawings described herein are provided for further understanding of the present invention, constitute a part of this application, exemplary embodiments of the present invention are used to explain the present invention without unduly limiting the present invention. 在附图中: In the drawings:

[0025] 图1是根据本发明实施例的隧道负荷分担方法的流程图; [0025] FIG. 1 is a flowchart illustrating a load balancing method according to an embodiment of the tunnel of the present invention;

[0026] 图2是根据本发明实施例的隧道负荷分担装置的结构框图; [0026] FIG. 2 is a block diagram of a load sharing apparatus according to an embodiment of the tunnel of the present invention;

[0027] 图3是根据本发明实施例的另一种隧道负荷分担装置的结构框图; [0027] FIG. 3 is a block diagram sharing apparatus according to another embodiment of the loading tunnel of the present invention;

[0028] 图4是根据本发明实施例的更新模块的结构框图; [0028] FIG. 4 is a block diagram showing a configuration update module embodiment of the present invention;

[0029] 图5是根据本发明实施例的又一种隧道负荷分担装置的结构框图; [0029] FIG. 5 is a block diagram sharing apparatus according to still another embodiment of the present invention, the tunnel load;

[0030] 图6是根据本发明实施例的隧道负荷分担应用场景的示意图; [0030] FIG. 6 is a schematic view of balancing the load application scenario according to an embodiment of the tunnel of the present invention;

[0031]图7是根据本发明实施例的另一种隧道负荷分担方法的流程图;以及 [0031] FIG. 7 is a flowchart illustrating a method of sharing the load in accordance with another embodiment of the tunnel according to the invention; and

[0032] 图8是根据本发明实施例的又一种隧道负荷分担方法的流程图。 [0032] FIG 8 is a flowchart illustrating a method of sharing according to a further embodiment of the present invention the tunnel load.

具体实施方式 detailed description

[0033] 下文中将参考附图并结合实施例来详细说明本发明。 [0033] Hereinafter with reference to the accompanying drawings and embodiments of the present invention will be described in detail. 需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 Incidentally, in the case of no conflict, embodiments and features of the embodiments of the present application can be combined with each other.

[0034] 本实施例提供了一种隧道负荷分担方法,如图1所示,该隧道负荷分担方法包括步骤S102至步骤S104。 [0034] The present embodiment provides a method of load sharing a tunnel, as shown in FIG 1 the tunnel load sharing method comprising the step S102 to step S104.

[0035] 步骤S102:网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息,其中,隧道负荷分担组信息是由平台协议模块发送给网络节点的。 [0035] In the step S102: the network node detecting the tunnel alarm condition, and updates the information in the current active tunnel tunnel load balancing group, wherein the tunnel is a load sharing group information transmitted from the internet protocol module to a network node.

[0036] 步骤S104:网络节点将更新后的有效隧道的信息发送给网络节点中的转发芯片, 其中,转发芯片根据信息选择有效隧道对业务流量进行负载均衡。 [0036] Step S104: the network node transmitting the updated information to the active tunnel network node forwarding chip, wherein the chip information selecting valid forwarding tunnel according to traffic load balancing.

[0037] 通过上述步骤,网络节点可以检测隧道的告警情况,来及时地更新当前的隧道负荷分担组信息中有效隧道的信息,该隧道负荷分担组信息是由平台协议模块发送给网络节点的,例如,在上述当前隧道负荷分担组信息中的隧道出现转发失效的情况下,网络节点可以检测到该隧道产生的告警,并将该告警的隧道从有效隧道中删除,以及时地更新当前的隧道负荷分担组信息中有效隧道的信息,然后,将更新后的有效隧道的信息发送给所述网络节点中的转发芯片,由转发芯片根据上述信息选择有效隧道对业务流量进行负载均衡, 避免了由协议感知到隧道出现转发失效后,网络节点才能重新选择有效隧道进行业务收敛的情况,实现了业务的快速收敛,从而提高了网络节点的转发性能。 [0037] Through the above steps, the network node can detect the alarm condition tunnels to timely update the current tunnel load sharing panel information effectively tunnel, the tunnel load sharing group information was sent by the internet protocol module to a network node, For example, when the current tunnel load sharing group tunnel information forwarded occur in case of failure, the network node can detect the alarm generated by the tunnel, and the tunnel is deleted from the valid alarm tunnel, the tunnel current and updated from time to time effective load sharing group information tunnel information, and then sends the information to the updated active tunnel to the network node forwarding the chip, the chip select active tunnel forwarding information based on the traffic load balancing, to avoid the after the tunnel appears forwarding protocol perceived failure, the network node to re-select a valid business case of tunnel convergence to achieve a rapid convergence of services, thereby improving the forwarding performance of the network nodes.

[0038]为了及时检测到每条隧道的有效情况,有效提高网络节点的业务收敛速度,在本优选实施例中,在网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之前,上述网络节点在上述当前隧道负荷分担组信息中的每一条隧道的两端配置快速检测模块,该快速检测模块置用于检测隧道是否有效,并在检测到快速检测模块所在的隧道出现转发失效的情况下,产生告警信号。 [0038] In order to promptly detect a valid case of each tunnel, effectively increase the convergence speed service node, in the present preferred embodiment, the network node detects an alarm in the tunnel, the tunnel current and updated load sharing group information valid before a tunnel, said network node when the current tunnel load balancing at both ends of each tunnel configuration quick group information detection module, the rapid detection module for detecting the tunnel opposite is valid, and where upon detection of the rapid detection module case appears forwarding tunnel failure, an alarm signal is generated. 因此,网络节点可以通过快速检测模块实时检测每一条隧道的有效情况,并在隧道出现转发失效时,及时检测到并产生告警信号, 以使得网络节点可以迅速地重新选择有效隧道进行业务收敛,以便有效地提高网络节点的业务收敛速度。 Thus, the network node can quickly detecting module real-time detection effective where each of the tunnel, and when forwarding failure detected in time in the tunnel and generates an alarm signal, so that the network node can quickly reselect an active tunnel for service convergence, so effectively improve convergence speed service node.

[0039]为了通过当前的隧道负荷分担组信息中有效隧道来对上述网络节点的业务流量进行负载均衡,在本优选实施例中,可以通过以下方式来实现,例如,在上述网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之前,上述网络节点根据获取的其他网络节点上隧道的环回口地址,通过路由协议运算出上述当前隧道负荷分担组信息中从上述网络节点到其他网络节点允许选择的有效隧道,并将运算结果发送给上述转发芯片;上述网络节点从上述当前隧道负荷分担组信息中静态选择由上述网络节点到上述其他网络节点允许选择的有效隧道,并将选择结果发送给转发芯片。 [0039] In order to share the group information in the active tunnel through the current tunnel load to the business flow rate of the network node load balancing, in the present preferred embodiment, it may be achieved by, for example, in the network node detecting the tunnel before alarm condition, and updates the current information of the active tunnel tunnel load sharing group, said network node according to the loopback interface address on another network node obtains the tunnel, calculating the above-mentioned current tunnel load sharing group information from via a routing protocol effective said network node from said tunnel current in the load sharing group information selected by the static network node to said other network nodes allowing for selection; said network node to another network node allows the selection of an active tunnel, and transmits the calculation result to said transponder chip tunnel, and the selection result is sent to the forwarding chip.

[0040]为了实时更新转发芯片的有效隧道信息,有效提高网络节点的转发性能,在本优选实施例中,上述网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息包括:在上述网络节点检测到有隧道产生告警的情况下,该网络节点更新上述当前隧道负荷分担组信息中有效隧道的信息。 [0040] For real-time updates an active tunnel information transfer chip, improve the forwarding performance of the network node, for example, the alarm condition said network node detecting the tunnel in the preferred embodiment, and updates the current tunnel load sharing group information valid tunnel information comprising: said network node detects the tunnel generates an alarm situation, the network node updates information of the current tunnel load sharing group information of the active tunnel. 实现了在网络节点检测到有隧道产生告警的情况下,可以及时更新该网络节点的当前隧道负荷分担组信息中有效隧道的信息,以便实时地更新转发芯片上有效隧道的信息,使得转发芯片可以准确地、有效地重新选择有效隧道来快速地收敛业务,从而提高网络节点的转发性能。 Achieved at the network node detects a tunnel generates an alarm situation, can update the network node information is valid tunnel current tunnel load sharing group information, to update the information on the transponder chip real tunnel in real time, so that the forwarding chip may accurately and effectively re-select an active tunnel to rapidly converge, which should increase the forwarding performance of the network nodes.

[0041] 为了快速地完成更新当前的隧道负荷分担组信息中有效隧道的信息,在本优选实施例中,可以通过以下步骤来实现,例如,上述网络节点更新当前隧道负荷分担组信息中有效隧道的信息包括:上述网络节点根据产生告警的隧道的隧道号查询当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断上述隧道是否属于上述当前隧道负荷分担组信息中的隧道;在上述隧道属于上述当前隧道负荷分担组信息中的隧道,且上述隧道的转发状态为有效转发的情况下,上述网络节点从上述当前隧道负荷分担组信息中的有效隧道信息中删除上述隧道的信息,并在上述当前隧道负荷分担组信息中将上述隧道的转发状态修改为失效转发,完成更新上述当前隧道负荷分担组信息中有效隧道的信息。 [0041] In order to quickly complete the update information of the current tunnel load sharing group information valid tunnel, in the present preferred embodiment, may be implemented by the following steps, for example the network node to update the current tunnel load sharing group information active tunnel information includes: said network node to query the current tunnel load sharing relationship group information tunnel number to the tunnel load sharing group index, determining whether the tunnel if this is the current tunnel load sharing group information tunnel tunneling number generates an alarm tunnel; information in the tunnel belonging to the tunnel current tunnel load sharing group information in the above, and the forwarding state of the tunnel is the case where the valid forwarding the network node deletes said tunnel from the active tunnel information of the tunnel load sharing group information currently in the and modify the above-described current state of the tunnel forwarding tunnel information in the load sharing group to fail, thereby implementing the update information of the current tunnel load sharing group information of the active tunnel. 通过根据产生告警的隧道的隧道号来查询当前隧道负荷分担组信息中的隧道号与隧道负荷分担组索引的关系来判断是否需要跟新上述前隧道负荷分担组信息中有效隧道的信息,以提高更新当前的隧道负荷分担组信息中有效隧道的信息的效率。 By tunneling number tunnel generates an alarm to query relationship tunnel number of the current tunnel load sharing group information and the shared set of indices tunnel load to determine whether the information with the new of the front tunnel load sharing group information valid tunnel, in order to improve update the current tunnel load sharing information derived from the information in the group of active tunnel.

[0042] 为了有效地、合理地利用每条隧道来提高网络节点的转发性能,在本优选实施例中,在上述网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之后,该网络节点接收平台协议模块发送的第一隧道负荷分担组信息,其中,该第一隧道负荷分担组信息是上述平台协议模块检测到隧道产生告警后,重新生成的隧道负荷分担组信息。 [0042] In order to effectively and reasonably utilized to improve the forwarding performance of each tunnel network node, in this embodiment, the above alarm conditions in the network node detecting the tunnel in the preferred embodiment, the tunnel current and updated load information sharing group active tunnel after the information, the first tunnel set of load balancing network node receives information sent by the internet protocol module, wherein the load sharing group tunnel information which is a first internet protocol tunneling module to generate an alarm when detected, regenerated tunnel load sharing group information. 即在平台协议模块检测到有隧道产生告警的情况下,进行慢速收敛,重新生成新的隧道负荷分担组信息发送给网络节点,来更新网络节点上的隧道负荷分担组信息,以更新上述网络节点发送给转发芯片的有效隧道的信息。 I.e. internet protocol tunnel module detects the generation of an alarm situation, a slower convergence, regenerate a new transmission tunnel load sharing group information to the network node, to update the tunnel load on the network node information sharing group, updating the network to send information to valid node tunnel forwarding chip.

[0043] 为了满足不同应用场景的需求,在本优选实施例中,上述网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息包括:在上述网络节点检测到有隧道产生的告警消失的情况下,该网络节点更新当前隧道负荷分担组信息中有效隧道的信息。 [0043] In order to meet the needs of different application scenarios, in the preferred embodiment, the alarm condition said network node detecting the tunnel, and updates the current tunnel load sharing group information information is valid tunnel comprising: said network node detects that there is a case where an alarm ends generated tunnel, the network node update information is valid tunnel tunnel current load sharing group information. 实现了在上述网络节点检测到有隧道产生告警的情况下,可以及时更新该网络节点的当前隧道负荷分担组信息中有效隧道的信息,以便实时地更新转发芯片上有效隧道的信息,使得转发芯片可以准确地、有效地重新选择有效隧道来快速地收敛业务,从而提高网络节点的转发性能。 Achieved at said network node detects tunnel generates an alarm situation, can update the network node of the current tunnel load sharing group information valid information tunnel in order to update the information on the transponder chip real tunnel in real time, so that the forwarding chip can accurately and effectively re-select an active tunnel to rapidly converge, which should increase the forwarding performance of the network nodes.

[0044] 为了有效地、合理地利用每条隧道来提高网络节点的转发性能,在本优选实施例中,上述网络节点更新上述当前隧道负荷分担组信息中有效隧道的信息包括:上述网络节点根据告警消失的隧道的隧道号查询上述当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断上述告警消失的隧道是否属于当前隧道负荷分担组信息中的隧道;在该告警消失的隧道属于当前隧道负荷分担组信息中的隧道,且该告警消失的隧道的转发状态为失效转发的情况下,上述网络节点将该告警消失的隧道的信息添加到当前隧道负荷分担组信息中的有效隧道信息中,并在上述当前隧道负荷分担组信息中将上述告警消失的隧道的转发状态修改为有效转发,再次完成更新当前隧道负荷分担组信息中有效隧道的信息。 [0044] In order to effectively and reasonably utilized to improve the forwarding performance of each tunnel network node, in this embodiment, said network node updates information of the tunnel current in the load sharing group information comprises an active tunnel in the preferred embodiment: said network node in accordance with alarm ends tunnel number tunnel inquiries regarding the current tunnel load sharing group information on the relationship shared with the tunnel load set of indices of the tunnel number, determining whether the alarm ends of the tunnel belongs to the current tunnel load sharing group information tunnel; disappeared in the alarm tunnel tunnel tunnel load sharing group belonging to the current information, and the state of alarm disappears forwarding tunnel for forwarding the case of failure, the added information of the network node to the alarm disappears tunnel current tunnel load sharing group information valid tunnel information, and modify the above tunnel current forwarding state information of the load sharing group in the disappearance of the alarm forwarding tunnel is effectively complete the update information is valid tunnel tunnel current load sharing group information again.

[0045] 为了有效地、合理地利用每条隧道来提高网络节点的转发性能,在本优选实施例中,在上述网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之后,上述网络节点接收平台协议模块发送的第二隧道负荷分担组信息,其中,该第二隧道负荷分担组信息是上述平台协议模块检测到有隧道的告警消失后,重新生成的隧道负荷分担组信息。 [0045] In order to effectively and reasonably utilized to improve the forwarding performance of each tunnel network node, in this embodiment, the above alarm conditions in the network node detecting the tunnel in the preferred embodiment, the tunnel current and updated load information sharing group active tunnel after the information, the second tunnel set load balancing information of the network node receiving the transmitted internet protocol module, wherein the second tunnel load sharing group after the above-described information internet protocol module detects the alarm disappears tunnel, the tunnel regenerated load information sharing group. 即在上述平台协议模块检测到有隧道的告警消失的情况下,进行慢速收敛,重新生成新的隧道负荷分担组信息发送给网络节点,来更新网络节点上的隧道负荷分担组信息,以更新上述网络节点发送给转发芯片的有效隧道的信息。 In the internet protocol module that is detected in the case of an alarm ends of the tunnel, a slower convergence, regenerate a new load balancing group tunnel information to the network node, to update the tunnel load on the network nodes sharing group information to update It said network node to a tunnel forwarding information is valid chip.

[0046] 在本优选实施例中,提供了一种隧道负荷分担装置,如图2所示,该隧道负荷分担装置包括:更新模块202,用于检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息,其中,隧道负荷分担组信息是由平台协议模块发送给网络节点的;发送模块204,连接至更新模块202,用于将更新后的有效隧道的信息发送给网络节点中的转发芯片,其中,转发芯片根据信息选择有效隧道对业务流量进行负载均衡。 [0046] In a preferred embodiment according to the present embodiment, there is provided a tunnel load balancing apparatus as shown in FIG 2 the tunnel load sharing apparatus comprising: an updating module 202, an alarm is detected for the tunnel, the tunnel current and updated load effective information sharing group information tunnel, wherein the tunnel is a load sharing group information transmitted from the internet protocol module to the network node; and sending module 204, connects to the update module 202 for the information of the updated active tunnel to the network forwarding node chip, which forwards the information chip select valid tunnel traffic according to load balancing.

[0047] 在本优选实施例中,更新模块202可以检测隧道的告警情况,来及时地更新当前的隧道负荷分担组信息中有效隧道的信息,该隧道负荷分担组信息是由平台协议模块发送给网络节点的,例如,在上述当前隧道负荷分担组信息中的隧道出现转发失效的情况下,网络节点可以检测到该隧道产生的告警,并将该告警的隧道从有效隧道中删除,以及时地更新当前的隧道负荷分担组信息中有效隧道的信息,然后,发送模块204将更新后的有效隧道的信息发送给网络节点中的转发芯片,由转发芯片根据上述信息选择有效隧道对业务流量进行负载均衡,避免了由协议感知到隧道出现转发失效后,网络节点才能重新选择有效隧道进行业务收敛的情况,实现了业务的快速收敛,从而提高了网络节点的转发性能。 [0047] In the present preferred embodiment, update module 202 may detect alarm condition tunnels, updating and timely information of the current tunnel load sharing group information valid tunnel, the tunnel load sharing group information was sent by the internet protocol module to a case where, for example, in the above-described tunnel tunnel current load sharing group information forwarding failure occurs in the network node, the network node can detect the alarm generated by the tunnel, and the tunnel is deleted from the valid alarm tunnel, and when the updating current information of the active tunnel tunnel load sharing group, then the sending module 204 sends the information is valid tunnel updated to the network node forwarding chip, a transponder chip select active tunnel based on the information on the traffic load balanced, to avoid the perception of the situation by the protocol forwarded to the tunnel failure occurs, the network node to re-select a valid service tunnel convergence to achieve a rapid convergence of services, thereby improving the forwarding performance of the network nodes.

[0048] 为了及时检测到每条隧道的有效情况,有效提高网络节点的业务收敛速度,在本优选实施例中,如图3所示,上述隧道负荷分担装置还包括:快速检测模块206,配置于当前隧道负荷分担组信息中的每一条隧道的两端,用于检测隧道是否有效,并在检测到快速检测模块所在的隧道出现转发失效的情况下,产生告警信号。 [0048] In order to promptly detect a valid case of each tunnel, effectively increase the convergence speed service node, in the present preferred embodiment, as illustrated, load sharing said tunnel means 3 further comprising: a fast detection module 206, configuration at both ends of the tunnel current in the load sharing group information of each of the tunnel, are valid for detecting the tunnel, and the tunnel is detected in the case where the fast detection module forwarding failure occurs, an alarm signal is generated.

[0049] 为了实时更新转发芯片的有效隧道信息,有效提高网络节点的转发性能,在本优选实施例中,如图4所示,上述更新模块202包括:第一更新单元2022,用于在检测到有隧道产生告警的情况下,更新当前隧道负荷分担组信息中有效隧道的信息。 [0049] In order to effectively tunnel forwarding information updated in real time chip, improve the forwarding performance of the network node, in the present preferred embodiment, as shown in FIG 4, the updating module 202 comprises: a first updating unit 2022 for detecting tunnel to the alarm generated, the update information is valid tunnel tunnel current load sharing group information.

[0050] 为了快速地完成更新当前的隧道负荷分担组信息中有效隧道的信息,在本优选实施例中,可以通过以下步骤来实现,例如,如图4所示,上述第一更新单元2022包括:第一判断子单元402,用于根据产生告警的隧道的隧道号查询隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断隧道是否属于当前隧道负荷分担组信息中的隧道;第一更新子单元404,连接至第一判断子单元402,用于在隧道属于当前隧道负荷分担组信息中的隧道,且隧道的转发状态为有效转发的情况下,从当前隧道负荷分担组信息中的有效隧道信息中删除隧道的信息,并在当前隧道负荷分担组信息中将隧道的转发状态修改为失效转发,更新当前隧道负荷分担组信息中有效隧道的信息。 [0050] In order to quickly complete the update information of the current tunnel load sharing group information valid tunnel, in a preferred embodiment according to the present embodiment, the following steps may be implemented by, e.g., FIG. 4, the first updating unit 2022 comprises : a first judging sub-unit 402, according to the query to generate an alarm number tunnel load tunnel tunnel group information sharing relationship with the tunnel load balancing group index number of the tunnel, the tunnel is determined whether the current tunnel load sharing group information of the tunnel; a case where a first updating sub-unit 404, connected to the first judging sub-unit 402, belonging to the tunnel for the load sharing group tunnel tunnel current information, and forwarding state for forwarding tunnel is valid, information from the current tunnel load sharing group the tunnel information effectively remove information of the tunnel and modifications to fail in the current forwarding state will forward tunnel tunnel load sharing group information, update information of the active tunnel tunnel current load sharing group information.

[0051] 为了有效地、合理地利用每条隧道来提高网络节点的转发性能,在本优选实施例中,如图5所示,上述隧道负荷分担装置还包括:第一接收模块208,用于接收平台协议模块发送的第一隧道负荷分担组信息,其中,第一隧道负荷分担组信息是平台协议模块检测到隧道产生告警后,重新生成的隧道负荷分担组信息。 [0051] In order to effectively and reasonably utilized to improve the forwarding performance of each tunnel network node, in the present preferred embodiment, as shown in FIG. 5, the load balancing apparatus further comprising a tunnel: a first receiving module 208 for the first load sharing group tunnel internet protocol module receiving the information transmitted, wherein the first tunnel is a load sharing group information tunnel internet protocol module to generate an alarm when detected, regenerated tunnel load sharing group information.

[0052] 为了满足不同应用场景的需求,在本优选实施例中,如图4所示,上述更新模块202 包括:第二更新单元2024,用于在检测到有隧道产生的告警消失的情况下,更新当前隧道负荷分担组信息中有效隧道的信息。 [0052] In order to meet the needs of different application scenarios, in the present preferred embodiment, as shown, and the update module 2024 comprises: a second updating unit 2024, for the detection of an alarm in the tunnel vanishes case update the tunnel effective load sharing group information tunnel current information.

[0053]为了有效地、合理地利用每条隧道来提高网络节点的转发性能,在本优选实施例中,如图4所示,上述第二更新单元2024包括:第二判断子单元406,用于根据告警消失的隧道的隧道号查询当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断告警消失的隧道是否属于当前隧道负荷分担组信息中的隧道;第二更新子单元408,连接至第二判断子单元406,用于在告警消失的隧道属于当前隧道负荷分担组信息中的隧道,且告警消失的隧道的转发状态为失效转发的情况下,将告警消失的隧道的信息添加到当前隧道负荷分担组信息中的有效隧道信息中,并在当前隧道负荷分担组信息中将告警消失的隧道的转发状态修改为有效转发,更新当前隧道负荷分担组信息中有效隧道的信息。 [0053] In order to effectively and reasonably utilized to improve the forwarding performance of each tunnel network node, in the present preferred embodiment, as shown, the second updating unit 2024 comprises a 4: a second judging sub-unit 406, with relationship to the query number and the load sharing group tunnel current tunnel load index information sharing group tunnel tunnel tunneling number alarm disappears, it is determined whether the alarm disappears tunnel current tunnel load sharing group information tunnel; second updating subunit 408, connected to the second determining sub-unit 406, the alarm for the disappearance of the tunnel belonging to the tunnel current in the load sharing group tunnel information, and the alarm forwarding state disappeared tunnel forwarding failure case, the alarm will disappear tunnel information is added to the active tunnel current tunnel load balancing information of the group information, and modify the valid forwarding, tunneling current load balancing update group information in the valid forwarding tunnel current state of the tunnel in the load sharing group alarm message disappears tunnel .

[0054]为了有效地、合理地利用每条隧道来提高网络节点的转发性能,在本优选实施例中,如图5所示,上述隧道负荷分担装置还包括:第二接收模块210,用于接收平台协议模块发送的第二隧道负荷分担组信息,其中,第二隧道负荷分担组信息是平台协议模块检测到有隧道的告警消失后,重新生成的隧道负荷分担组信息。 [0054] In order to effectively and reasonably utilized to improve the forwarding performance of each tunnel network node, in the present preferred embodiment, as shown in FIG. 5, the load balancing apparatus tunnel further comprises: a second receiving module 210, for the second load sharing group tunnel internet protocol module receiving the information transmitted, wherein the second load balancing tunnel internet protocol module group information after the alarm ends tunnel, the tunnel regenerated detected load sharing group information.

[0055]以下结合附图对上述各个优选实施例进行详细地描述。 [0055] Hereinafter, preferred embodiments each of the embodiments described in detail in conjunction with the accompanying drawings.

[0056] 在本优选实施例中,上述网络节点以PE设备为例,来描述上述隧道负荷分担方法, 图7是根据本发明实施例的另一种隧道负荷分担方法的流程图,如图7所示,该流程包括步骤S702至步骤S712。 [0056] In the present preferred embodiment, the PE device in the network node, for example, the above described tunnel load balancing method, FIG 7 is a flowchart sharing method according to another embodiment of the loading tunnel of the present invention, FIG. 7 , the process comprising the step S702 to step S712.

[0057] 步骤S702:组建隧道负荷分担的场景。 [0057] Step S702: the formation of the tunnel load sharing scenario. 以图6所示的场景为例,其中有2台TO设备, PE1、PE2,有若干台P设备,也可以没有P设备。 In an example scenario shown in FIG 6, wherein the apparatus has 2 TO, PE1, PE2, several P device, the device P can not. 在PE1和PE2之间建立几条双向隧道,隧道可以是动态的rsvp te隧道,也可以是静态的tmpls隧道。 The establishment of several two-way tunnel between PE1 and PE2, the tunnel can be dynamic rsvp te tunnel can also be static tmpls tunnel. 在每条隧道首尾2端配置快速检测模块,如果是rsvp-te隧道,贝lj可以配置tunnel bfd,如果是tmpls隧道,可以配置tmp oam。 On each end of the tunnel 2 disposed end to end rapid detection module, if rsvp-te tunnel shell can be configured lj tunnel bfd, if tmpls tunnel can be configured tmp oam. 当然,这里只是举例说明,隧道类型不局限于tmpls隧道或者rsvp te隧道,本实施例对于其他类型隧道也适用。 Of course, this is only an example, the tunnel type is not limited tmpls rsvp te tunnel or tunnels, the present embodiment is also applicable to other types of tunnels.

[0058] 步骤S704:在PE1上配置业务流量通过隧道负荷分担组(相当于上述当前隧道负荷分担组信息)中的隧道转发。 [0058] Step S704: configure the traffic through the tunnel load sharing group (corresponding to the current tunnel load sharing group information) forwarding tunnel on PE1. 业务可以是L2vpn或者Uvpn业务,将每条隧道接口化并参与路由运算,通过路由协议通告PE2上隧道的环回口地址(假设为ab c • d隧道的环回口地址)到PE1设备上,通过路由协议运算,最终使得PE1上a • b. c • d这四条路由出口走隧道负荷分担组。 L2vpn or service may Uvpn business, and the participation of the interface each tunnel route calculation, PE2 advertised by the routing protocol tunnel port loopback address (assuming • d tunnel is ab c loopback port address) to the device PE1, calculating by a routing protocol, such that the final PE1 a • b. c • d tunnel exit onto which four routing load balancing group. PE2上配置同PE1。 The same configuration PE1 PE2.

[0059] 步骤S706:PE1上的隧道负荷分担组中的一条或多条隧道转发路径失效时,PE1端的快速检测产生告警,PE1在接收到告警后,PE1根据产生告警的隧道的隧道号查找隧道号和隧道负荷分担索引关系表,判断产生告警的隧道是否存在于PE1保存的某个隧道负荷分担组表(相当于上述当前隧道负荷分担组信息)中,且表中记录的隧道转发状态是否有效转发状态,在上述隧道存在于PE1保存的某个隧道负荷分担组表中,且表中记录的上述隧道转发状态是有效转发状态的情况下,PE1将产生告警的隧道从隧道负荷分担组表有效条目(相当于上述有效隧道信息)中去掉,并整合隧道负荷分担组表中所有有效隧道信息更新转发芯片。 [0059] Step S706: When the tunnel load sharing group on PE1 in one or more tunnel forwarding path fails, the rapid detection PE1 end generates an alarm, PE1 after receiving the alarm, PE1 find the tunnel according to a tunnel number generates an alarm tunnel whether a tunnel number and load sharing index table, the tunnel is determined whether there is an alarm generated PE1 stored in the load sharing group table a tunnel (tunnel current corresponds to the load sharing group information), and the tunnel forwarding table records the active state forwarding state, in the presence of the tunnel a tunnel PE1 stored in the load sharing group table, and said tunnel forwarding table records the case where the active state is forwarding state, the alarm is generated PE1 tunnel from the tunnel load sharing group table is valid entry (corresponding to the active tunnel information) are removed and the integration of the tunnel load sharing group table updates all active tunnel forwarding chip. 并将隧道负荷分担组表中上述隧道转发状态修改为无效转发状态。 Load sharing group table and the tunnel above the tunnel forwarding state to an invalid edit forwarding state. 即PE1重新选择隧道负荷分担组表中有效的隧道,更新转发芯片上的转发条目,从而使PE1到PE2的业务流量在50ms内完成收敛。 I.e. PE1 reselect tunnel load sharing group table valid tunnel, updates the forwarding entry on the forwarding chip, so that the traffic from PE1 to PE2 is completed falls within 50ms.

[0060] 步骤S708:当平台协议模块收到快速检测模块发送的告警,进行慢速收敛,形成新的隧道负荷分担组表下发给PE1,PE1重新整合所有有效的隧道成员信息并将整合的信息更新至转发芯片。 [0060] Step S708: When the internet protocol module receives alarm detection module sends a fast, slow convergence for forming the new tunnel PE1 distributed load sharing group table, re-integration of all valid PE1 tunnel member information and Integration updates to the forwarding chip.

[0061] 步骤S710:当PE1上的之前转发失效的隧道重新恢复转发,PE1在接收到快速检测模块发送的告警消失消息后,将上述隧道加入到隧道负荷分担组表的有效隧道条目中,整合所有有效隧道信息并将整合的信息更新至转发芯片。 [0061] Step S710: When the forwarding failed before the PE1 tunnel resume forwarding, PE1 after receiving the alarm fast detection module sends disappears message, added to the tunnel to the tunnel load sharing group table of an active tunnel entry, integration All the effective integration of information and tunnel information update to the forwarding chip. 并将隧道负荷分担组表中上述隧道的转发状态修改为有效转发状态。 Load sharing group table and the tunnel state of the tunnel forwarding modifies the effective forwarding state. 即PE1重新选择隧道负荷分担组表中所有有效的隧道,并快速更新转发芯片上的转发条目。 I.e. PE1 reselect tunnel load sharing group table all available tunnels, forwarding entry and quickly update the forwarding chip.

[0062]步骤S712:当平台协议模块收到快速检测模块发送的告警消失,进行慢速收敛,形成新的隧道负荷分担组表下发给PE1,PE1重新整合所有有效的隧道成员信息并将整合的信息更新至转发芯片。 [0062] Step S712: When the internet protocol module receives fast detection module sends an alarm disappears, a slower convergence, distributed PE1 is formed under a new tunnel load sharing group table, re-integration of all valid PE1 tunnel member information and integrates updated information to the forwarding chip.

[0063]图8是根据本发明实施例的又一种隧道负荷分担方法的流程图,如图8所示,该流程包括步骤S802至步骤S818。 [0063] FIG 8 is a flowchart illustrating a method of sharing a further embodiment of the loading tunnel of the present invention, shown in Figure 8, the process comprising the step S802 to step S818.

[0064]步骤S802:根据平台协议模块下发的隧道负荷分担组数据(相当于上述当前隧道负荷分担组信息),网络节点保存所有成员隧道号和隧道负荷分担组索引的对应关系,并保存每条隧道成员的转发状态,并选择隧道负荷分担组中的所有有效隧道的信息下发给转发芯片。 [0064] Step S802: (corresponds to the current tunnel load sharing group information), the network node maintains a correspondence relationship shared set of index numbers and tunnel tunnels all the members in accordance with the load delivered by the internet protocol tunneling module load sharing group data, and save each forwarding tunnel status bar members, and the chip select information is sent to the forwarding tunnel tunnels all valid load sharing group. 在本步骤中,网络节点接收到平台协议模块下发的隧道负荷分担组数据后,上述网络节点配置该网络节点上的业务流量通过隧道负荷分担组中的隧道转发,并在每一条隧道的首尾2端配置快速检测模块,来检测该隧道是否出现失效的情况,并在检测到失效时,发出告警。 After this step, the network node receives the tunnel load sharing set of data delivered by the internet protocol module, said network node is configured traffic on the network node through a tunnel load sharing group in the tunnel forwarding, and end to end in each tunnel 2 side configuration rapid detection module to detect the failure situation occurs whether the tunnel, and when the failure is detected, an alarm.

[0065]步骤S804:网络节点判断是否收到快速检测模块的隧道告警,若是,则转至步骤S806,否则,转至步骤S812。 [0065] Step S804: determining whether the network node receives a tunnel detection module rapid alarm, if yes, go to step S806, the otherwise, go to step S812.

[0066]步骤S806:网络节点根据产生告警的隧道的隧道号查找隧道号和负荷分担索引关系表,判断产生告警的隧道是否存在于该网络节点保存的某个隧道负荷分担组表(相当于上述当前隧道负荷分担组信息)中,且表中记录的上述隧道的转发状态是否是有效转发状态,如果上述隧道存在于上述网络节点保存的某个隧道负荷分担组表中,且表中记录的上述隧道转发状态是有效转发状态,则转至步骤S808,否则,转至步骤S804。 [0066] Step S806: the network node searches the tunnel number, and number of loads tunneling the tunnel generates an alarm table index balancing, load sharing group table is determined whether a tunnel a tunnel generates an alarm is present in the network node stored (corresponding to the tunnel current load sharing group information), and the state of the tunnel forwarding table records the forwarding state is valid, if present in said tunnel above the tunnel of a network node stored in the load sharing group table, and the table records tunnel forwarding state is valid forwarding state, go to step S808, otherwise, to step S804.

[0067] 步骤S808:网络节点将产生告警的隧道从隧道负荷分担组表的有效条目(相当于上述有效隧道信息)中去掉,整合隧道负荷分担组表中所有有效隧道的信息更新至转发芯片。 [0067] Step S808: the network node will generate an alarm from the tunnel entry tunnel effective load sharing group table (corresponding to the active tunnel information) are removed, the integration of the tunnel load sharing group table information about all updates to the active tunnel forwarding chip. 并将隧道负荷分担组表中上述隧道的转发状态修改为无效转发状态。 Load sharing group table and the tunnel state of the tunnel forwarding modifies forwarding state is invalid.

[0068] 步骤S810:平台协议模块收到快速检测模块的隧道告警,进行慢速收敛,形成新的隧道负荷分担组表下发给网络节点,转至步骤S802。 [0068] Step S810: internet protocol tunneling module receives alarm rapid detection module, a slower convergence, distributed network nodes forming the new tunnel load sharing group table, go to step S802.

[0069] 步骤S812:网络节点判断是否收到隧道快速检测模块发送的隧道告警消失的消息,若是,则转至步骤S814,否则,则转至步骤S804。 [0069] Step S812: determining whether the network node receives a tunnel detection module sends an alarm tunnel quickly disappears message, if yes, go to step S814, the otherwise, go to step S804.

[0070] 步骤S814:网络节点根据告警消失的隧道的隧道号查找隧道号和负荷分担组索引关系表,判断告警消失的隧道是否存在于网络节点保存的某个隧道负荷分担组中,并且表中记录的隧道转发状态是否是无效转发状态,若是,则转至步骤S816,否则,转至步骤S804。 [0070] Step S814: The network node searches the alarm disappears No. tunnel tunnel tunnel number and load sharing group table index, it is determined whether the alarm disappears tunnel a tunnel load sharing group exists in the network node stored in the table and the tunnel forwarding state whether the record is invalid forwarding state, and if so, go to step S816, otherwise, to step S804.

[0071] 步骤S816:网络节点将这条告警消失的隧道加入到隧道负荷分担组表的有效隧道条目中,整合隧道负荷分担组表中所有有效隧道的信息更新至转发芯片。 [0071] Step S816: the network node to put this alarm disappears added to the active tunnel tunnel entry tunnel load sharing group table, the integration of the tunnel load sharing group table all updates to the active tunnel forwarding chip. 并将隧道负荷分担组表中这条隧道的转发状态修改为有效转发状态。 And the load sharing group table in the tunnel forwarding state of this tunnel forwarding state for the effective modification.

[0072]步骤S818:平台协议模块收到隧道快速检测模块发送的告警消失的消息,进行慢速收敛,形成新的隧道负荷分担组表下发给网络节点,转至步骤S8〇2。 [0072] Step S818: internet protocol tunneling module receives alarm detection module quickly disappear transmitted message, the slow convergence, distributed network nodes forming the new tunnel load sharing group table, go to step S8〇2.

[0073]从以上的描述中,可以看出,本优选实施例实现了如下技术效果:网络节点可以检测隧道的告警情况,来及时地更新当前的隧道负荷分担组信息中有效隧道的信息,该隧道负荷分担组信息是由平台协议模块发送给网络节点的,例如,在上述当前隧道负荷分担组信息中的隧道出现转发失效的情况下,网络节点可以检测到该隧道产生的告警,并将该告警的隧道从有效隧道中删除,以及时地更新当前的隧道负荷分担组信息中有效隧道的信息,然后,将更新后的有效隧道的信息发送给所述网络节点中的转发芯片,由转发芯片根据上述信息选择有效隧道对业务流量进行负载均衡,避免了由协议感知到隧道出现转发失效后,网络节点才能重新选择有效隧道进行业务收敛的情况,实现了业务的快速收敛,从而提高了网络节点的转发性能。 [0073] From the above description, it can be seen that a preferred embodiment of the present embodiment achieve the following technical effects: the network node of the tunnel can be detected alarm, is updated and timely information of the current tunnel load sharing group information of an active tunnel, the under the tunnel load sharing group information was sent by the internet protocol module to a network node, e.g., when the current tunnel load sharing group tunnel message forwarding failure occurs in the network node of the tunnel can be detected to produce an alarm, and the alarms active tunnel from the tunnel delete, and update the tunnel current load sharing group information when the active tunnel, and then sends the information to the updated active tunnel to the network node forwarding chip, a transponder chip select a valid tunnel based on the information on the traffic load balancing, avoiding the protocol perceived after the tunnel appears forwarding failure, the network node to re-select a valid tunnel case of business convergence to achieve a rapid convergence of services, thereby increasing the network node forwarding performance.

[0074]显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 [0074] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be used general-purpose computing device, they can be integrated in a single computing device or distributed across multiple computing devices available on the Internet, optionally, they can be implemented with program codes executable by a computing device, so that, to be performed by a computing device stored in a storage means, and in some cases, may be different from this at step sequence shown or described, or they are made into integrated circuit modules, or by making them of a plurality of modules or steps in a single integrated circuit module. 这样,本发明不限制于任何特定的硬件和软件结合。 Thus, the present invention is not limited to any particular hardware and software combination. [0075]以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0075] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (16)

  1. 1. 一种隧道负荷分担方法,其特征在于,包括: 网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息,其中,所述隧道负荷分担组信息是由平台协议模块发送给所述网络节点的; 所述网络节点将更新后的有效隧道的信息发送给所述网络节点中的转发芯片,其中, 所述转发芯片根据所述信息选择有效隧道对业务流量进行负载均衡; 其中,在所述网络节点检测隧道的告警情况,并更新所述当前的隧道负荷分担组信息中有效隧道的信息之前,还包括:所述网络节点通过以下方式在所述当前隧道负荷分担组信息中有效隧道上对所述网络节点的业务流量进行负载均衡:所述网络节点根据获取的其他网络节点上隧道的环回口地址,通过路由协议运算出所述当前隧道负荷分担组信息中从所述网络节点到所述其他网络节点允许选择的 A load sharing method of the tunnel, characterized by comprising: detecting an alarm condition of the network node of the tunnel and the tunnel current update information of the effective load sharing group tunnel, wherein the tunnel is a load sharing group information by the platform protocol module is sent to the network node; the network node information of the active tunnel to the network node transmits the updated forwarding chip, wherein the chip select active tunnel forwarding according to the traffic information service load balancing; wherein said alarm condition in the tunnel detection network node, and information of the current information before the tunnel tunnel effective load sharing group update, further comprising: the network node by way of a tunnel current in the load effective information sharing group tunnel traffic to the network node load balancing: the network node according to the port loopback address on another network node acquires the tunnel, the tunnel current calculated the load sharing group information through a routing protocol from the network node to another network node allows the selection of 效隧道,并将运算结果发送给所述转发芯片;所述网络节点从所述当前隧道负荷分担组信息中静态选择由所述网络节点到所述其他网络节点允许选择的有效隧道,并将选择结果发送给所述转发芯片。 Tunnel effect, and the calculation result is sent to the forwarding chip; the network node from said tunnel current static load sharing group information selected by the active tunnel to the network node allows the selection of the other network nodes, and selection result is sent to the forwarding chip.
  2. 2. 根据权利要求1所述的方法,其特征在于,在所述网络节点检测隧道的告警情况,并更新所述当前的隧道负荷分担组信息中有效隧道的信息之前,还包括: 所述网络节点在所述当前隧道负荷分担组信息中的每一条隧道的两端配置快速检测模块,所述快速检测模块用于检测隧道是否有效,并在检测到所述快速检测模块所在的隧道出现转发失效的情况下,产生告警信号。 2. The method according to claim 1, wherein said alarm condition in the tunnel detection network node, and updates the previous information of the current tunnel load balancing information is set an active tunnel, further comprising: the network ends of each node of a tunnel current in the load sharing group information tunnel configuration quick detection module, detecting means for detecting a rapid tunnel is valid, and detection of the tunnel where the fast detection module forwarding failure occurs in a case, an alarm signal is generated.
  3. 3. 根据权利要求1至2中任一项所述的方法,其特征在于,所述网络节点检测隧道的告警情况,并更新所述当前的隧道负荷分担组信息中有效隧道的信息包括: 在所述网络节点检测到有隧道产生告警的情况下,所述网络节点更新所述当前隧道负荷分担组信息中有效隧道的信息。 3. The method according to claim 2, characterized in that the alarm condition of the network node detecting the tunnel, the tunnel current and updating the group information in the effective load sharing tunnel information comprises: at the network node detects a tunnel generates an alarm situation, the network node update information of the active tunnel tunnel current load sharing group information.
  4. 4. 根据权利要求3所述的方法,其特征在于,所述网络节点更新所述当前隧道负荷分担组信息中有效隧道的信息包括: 所述网络节点根据产生告警的隧道的隧道号查询所述当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断所述隧道是否属于所述当前隧道负荷分担组信息中的隧道; 在所述隧道属于所述当前隧道负荷分担组信息中的隧道,且所述隧道的转发状态为有效转发的情况下,所述网络节点从所述当前隧道负荷分担组信息中的有效隧道信息中删除所述隧道的信息,并在所述当前隧道负荷分担组信息中将所述隧道的转发状态修改为失效转发,更新所述当前隧道负荷分担组信息中有效隧道的信息。 4. The method according to claim 3, wherein said network node updates information of the current tunnel load sharing active tunnel group information comprises: the network node tunnels the tunnel number and find the alarm is generated in accordance with tunnel current relationship information sharing group index number and load of the tunnel load sharing group tunnel, the tunnel is determined whether the current tunnel load sharing group information tunnel; the tunnel belonging to the current tunnel load sharing group information tunnel, and the tunnel forwarding state is valid in the case of forwarding, the network node deletes the information of the active tunnel from tunnel current tunnel load balancing information of the group information, the load and the tunnel current sharing group in the forwarding state information to said failure modifying forwarding tunnel, the tunnel current update information of the group information effective load sharing tunnel.
  5. 5. 根据权利要求3所述的方法,其特征在于,在所述网络节点检测隧道的告警情况,并更新所述当前的隧道负荷分担组信息中有效隧道的信息之后,还包括: 所述网络节点接收所述平台协议模块发送的第一隧道负荷分担组信息,其中,所述第一隧道负荷分担组信息是所述平台协议模块检测到所述隧道产生告警后,重新生成的隧道负荷分担组信息。 After 5. The method according to claim 3, wherein said alarm condition in the tunnel detection network node, and updates the information of the current tunnel load balancing information is set an active tunnel, further comprising: the network the first load sharing group tunnel information node receiving the transmitted internet protocol module, wherein the load sharing group tunnel is the first information to the internet protocol tunneling module generates an alarm is detected, the re-generated tunnel load sharing group information.
  6. 6. 根据权利要求1至2中任一项所述的方法,其特征在于,所述网络节点检测隧道的告警情况,并更新所述当前的隧道负荷分担组信息中有效隧道的信息包括: 在所述网络节点检测到有隧道产生的告警消失的情况下,所述网络节点更新所述当前隧道负荷分担组信息中有效隧道的信息。 6. The method according to claim 2, characterized in that the alarm condition of the network node detecting the tunnel, the tunnel current and updating the group information in the effective load sharing tunnel information comprises: the network node detects a case where a tunnel alarm vanishes, the network node updates information of the current tunnel load sharing group information of the active tunnel.
  7. 7. 根据权利要求6所述的方法,其特征在于,所述网络节点更新所述当前隧道负荷分担组信息中有效隧道的信息包括: 所述网络节点根据告警消失的隧道的隧道号查询所述当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断所述告警消失的隧道是否属于所述当前隧道负荷分担组信息中的隧道; 在所述告警消失的隧道属于所述当前隧道负荷分担组信息中的隧道,且所述告警消失的隧道的转发状态为失效转发的情况下,所述网络节点将所述告警消失的隧道的信息添加到所述当前隧道负荷分担组信息中的有效隧道信息中,并在所述当前隧道负荷分担组信息中将所述告警消失的隧道的转发状态修改为有效转发,更新所述当前隧道负荷分担组信息中有效隧道的信息。 7. The method according to claim 6, wherein said network node updates information of the current tunnel load sharing active tunnel group information comprises: the network node according to the tunnel number alarm ends querying the tunnel tunnel current relationship information sharing group index number and load of the tunnel tunnel load sharing group, the alarm is determined whether the disappearance of the tunnel tunnel tunnel load balancing information of the current group; alarm will be cleared in the tunnel belonging to the current tunnel load sharing group information tunnel, and the state of alarm disappears forwarding tunnel forwarding failure case, the network node adding information to the alarm disappears into the tunnel current tunnel load sharing group information effective tunnel information, and modify information in the forwarding of the alarm status of the current tunnel load sharing group disappeared forwarding tunnel is effective to update the information of the current tunnel load sharing group information valid tunnel.
  8. 8. 根据权利要求6所述的方法,其特征在于,在所述网络节点检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息之后,还包括: 所述网络节点接收所述平台协议模块发送的第二隧道负荷分担组信息,其中,所述第二隧道负荷分担组信息是所述平台协议模块检测到有隧道的告警消失后,重新生成的隧道负荷分担组信息。 8. After the method of claim 6, wherein the alarm condition in the network node detecting the tunnel, and the tunnel current update information of the effective load sharing group tunnel, further comprising: receiving the network node the second load sharing group tunnel internet information transmission protocol module, wherein the second tunnel after the load sharing group information module detects the internet protocol tunnel alarm disappears, regenerated tunnel load sharing group information.
  9. 9. 一种隧道负荷分担装置,其特征在于,包括: 更新模块,用于检测隧道的告警情况,并更新当前的隧道负荷分担组信息中有效隧道的信息,其中,所述隧道负荷分担组信息是由平台协议模块发送给网络节点的; 发送模块,用于将更新后的有效隧道的信息发送给所述网络节点中的转发芯片,其中, 所述转发芯片根据所述信息选择有效隧道对业务流量进行负载均衡; 其中,在所述网络节点检测隧道的告警情况,并更新所述当前的隧道负荷分担组信息中有效隧道的信息之前,还包括:所述网络节点通过以下方式在所述当前隧道负荷分担组信息中有效隧道上对所述网络节点的业务流量进行负载均衡:所述网络节点根据获取的其他网络节点上隧道的环回口地址,通过路由协议运算出所述当前隧道负荷分担组信息中从所述网络节点到所述其他网络节点允许选 A tunnel load balancing apparatus, comprising: an updating module, for detecting alarm conditions in the tunnel, and the tunnel current update information of the effective load sharing group tunnel, wherein the tunnel load sharing group information the internet protocol module is sent to the network node; and a sending module, configured to send the tunnel information is valid after the updating to the network node forwarding chip, wherein the chip select active tunnel forwarding according to the information service traffic load balancing; wherein said alarm condition in the tunnel detection network node, and updates the information before the information currently valid load sharing group tunnel a tunnel, further comprising: the network node by way of the current tunnel load sharing group information of the active tunnel traffic to the network node load balancing: the network node according to the port loopback address on another network node acquires the tunnel, the tunnel current calculated load sharing by the routing protocol group information to allow the selected node from the network to the other network nodes 的有效隧道,并将运算结果发送给所述转发芯片;所述网络节点从所述当前隧道负荷分担组信息中静态选择由所述网络节点到所述其他网络节点允许选择的有效隧道,并将选择结果发送给所述转发芯片。 Effective tunnel, and the calculation result is sent to the forwarding chip; the network node from said tunnel current static load sharing group information selected by the active tunnel to the network node allows the selection of the other network nodes, and selection result is sent to the forwarding chip.
  10. 10. 根据权利要求9所述的装置,其特征在于,还包括: 快速检测模块,配置于所述当前隧道负荷分担组信息中的每一条隧道的两端,用于检测隧道是否有效,并在检测到所述快速检测模块所在的隧道出现转发失效的情况下,产生告警信号。 10. The apparatus according to claim 9, characterized in that, further comprising: a fast detection module, disposed on the two ends of the tunnel current in the load sharing group information of each of the tunnel, are valid for detecting a tunnel, and rapid detection of the tunnel detection module forwarding the case where the failure occurs, an alarm signal is generated.
  11. 11. 根据权利要求9或10所述的装置,其特征在于,所述更新模块包括: 第一更新单元,用于在检测到有隧道产生告警的情况下,更新所述当前隧道负荷分担组信息中有效隧道的信息。 11. The apparatus of claim 9 or claim 10, wherein said updating module comprises: a first updating unit, in a case of detecting a tunnel generates an alarm, and updating the current tunnel load sharing group information information tunnels valid.
  12. 12. 根据权利要求11所述的装置,其特征在于,所述第一更新单元包括: 第一判断子单元,用于根据产生告警的隧道的隧道号查询所述隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断所述隧道是否属于所述当前隧道负荷分担组信息中的隧道; 第一更新子单元,用于在所述隧道属于所述当前隧道负荷分担组信息中的隧道,且所述隧道的转发状态为有效转发的情况下,从所述当前隧道负荷分担组信息中的有效隧道信息中删除所述隧道的信息,并在所述当前隧道负荷分担组信息中将所述隧道的转发状态修改为失效转发,更新所述当前隧道负荷分担组信息中有效隧道的信息。 12. The apparatus as claimed in claim 11, wherein said first updating means comprises: a first determining subunit, for the information sharing group number according to the query of the tunnel tunnel tunnel load generates an alarm number tunnel tunnel load sharing relationship between group index, determining whether the tunnel belonging to the current tunnel load sharing group information tunnel; a first updating sub-unit, configured to tunnel the tunnel belonging to the current in the load sharing group information tunnel, and the tunnel forwarding state is a case where the valid forwarding, deleting information of the active tunnel from the tunnel information of the current tunnel load sharing in the group information, and the current in the load sharing group information tunnel modifying the tunnel forwarding state to the forwarding failure, updating the information of the current tunnel load sharing group information valid tunnel.
  13. 13. 根据权利要求11所述的装置,其特征在于,还包括: 第一接收模块,用于接收所述平台协议模块发送的第一隧道负荷分担组信息,其中,所述第一隧道负荷分担组信息是所述平台协议模块检测到所述隧道产生告警后,重新生成的隧道负荷分担组信息。 13. The apparatus according to claim 11, characterized in that, further comprising: a first receiving module, a first set of load sharing tunnel internet protocol module to receive the information transmitted, wherein the first tunnel load balancing group information after the detection of the internet protocol tunneling module generates an alarm, a tunnel regenerated load sharing group information.
  14. 14. 根据权利要求9或10所述的装置,其特征在于,所述更新模块包括: 第二更新单元,用于在检测到有隧道产生的告警消失的情况下,更新所述当前隧道负荷分担组信息中有效隧道的信息。 14. The apparatus of claim 9 or claim 10, wherein said updating module comprises: a second updating unit configured to detect an alarm in the tunnel generation disappears, the update of the current tunnel load balancing group information is valid tunnel information.
  15. 15. 根据权利要求14所述的装置,其特征在于,所述第二更新单元包括: 第二判断子单元,用于根据告警消失的隧道的隧道号查询所述当前隧道负荷分担组信息中隧道号与隧道负荷分担组索引的关系,判断所述告警消失的隧道是否属于所述当前隧道负荷分担组信息中的隧道; 第二更新子单元,用于在所述告警消失的隧道属于所述当前隧道负荷分担组信息中的隧道,且所述告警消失的隧道的转发状态为失效转发的情况下,将所述告警消失的隧道的信息添加到所述当前隧道负荷分担组信息中的有效隧道信息中,并在所述当前隧道负荷分担组信息中将所述告警消失的隧道的转发状态修改为有效转发,更新所述当前隧道负荷分担组信息中有效隧道的信息。 15. The apparatus according to claim 14, wherein said second updating means comprises: a second determining sub-unit, configured to query the current tunnel load sharing group information according to the tunneling tunnel tunnel number alarms disappear relationship between number and load sharing group index of the tunnel, the tunnel is determined whether the alarm disappears load sharing tunnel of the tunnel belonging to group information in a current; and a second updating sub-unit, the alarm for the disappearance of the tunnel belonging to the current tunnel load sharing group information tunnel, and the state of alarm disappears forwarding tunnel forwarding failure case, the alarm information is added to the disappearance of the tunnel active tunnel the tunnel current in the load sharing group information of the information and modify information in the forwarding of the alarm status of the current tunnel load sharing group disappeared forwarding tunnel is active, updating information of the current tunnel load sharing group information of the active tunnel.
  16. 16. 根据权利要求14所述的装置,其特征在于,还包括: 第二接收模块,用于接收所述平台协议模块发送的第二隧道负荷分担组信息,其中,所述第二隧道负荷分担组信息是所述平台协议模块检测到有隧道的告警消失后,重新生成的隧道负荷分担组信息。 16. Apparatus according to claim 14, characterized in that, further comprising: a second receiving module, a second tunnel for the load sharing group to receive the information transmitted by internet protocol module, wherein the second tunnel load balancing group information after the internet protocol module detects a tunnel alarm disappears, regenerated tunnel load sharing group information.
CN 201210299122 2012-08-21 2012-08-21 Method and apparatus for load sharing Tunnel CN102833161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210299122 CN102833161B (en) 2012-08-21 2012-08-21 Method and apparatus for load sharing Tunnel

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201210299122 CN102833161B (en) 2012-08-21 2012-08-21 Method and apparatus for load sharing Tunnel
PCT/CN2013/081308 WO2014029287A1 (en) 2012-08-21 2013-08-12 Method and device for sharing tunnel load

Publications (2)

Publication Number Publication Date
CN102833161A true CN102833161A (en) 2012-12-19
CN102833161B true CN102833161B (en) 2018-01-30

Family

ID=47336134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210299122 CN102833161B (en) 2012-08-21 2012-08-21 Method and apparatus for load sharing Tunnel

Country Status (2)

Country Link
CN (1) CN102833161B (en)
WO (1) WO2014029287A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833161B (en) * 2012-08-21 2018-01-30 中兴通讯股份有限公司 Method and apparatus for load sharing Tunnel
CN104753754A (en) * 2015-03-12 2015-07-01 杭州华三通信技术有限公司 Method and apparatus for transmitting messages

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909501A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for end to end service rapid convergence and route device
CN1933448A (en) * 2006-08-17 2007-03-21 华为技术有限公司 Business fast convergent method and network equipment
CN101035019A (en) * 2007-01-12 2007-09-12 华为技术有限公司 Fast convergence method and device of the end-to-end service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8724454B2 (en) * 2010-05-12 2014-05-13 Cisco Technology, Inc. System and method for summarizing alarm indications in a network environment
CN102833161B (en) * 2012-08-21 2018-01-30 中兴通讯股份有限公司 Method and apparatus for load sharing Tunnel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909501A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for end to end service rapid convergence and route device
CN1933448A (en) * 2006-08-17 2007-03-21 华为技术有限公司 Business fast convergent method and network equipment
CN101035019A (en) * 2007-01-12 2007-09-12 华为技术有限公司 Fast convergence method and device of the end-to-end service

Also Published As

Publication number Publication date Type
CN102833161A (en) 2012-12-19 application
WO2014029287A1 (en) 2014-02-27 application

Similar Documents

Publication Publication Date Title
US6987727B2 (en) Automatic protection switching using link-level redundancy supporting multi-protocol label switching
US20070053283A1 (en) Correlation and consolidation of link events to facilitate updating of status of source-destination routes in a multi-path network
US20070008880A1 (en) Router redundancy in data communication networks
US20080107018A1 (en) Method and apparatus for computing alternate multicast/broadcast paths in a routed network
US20130268590A1 (en) System and method for reducing information loss in an aggregated information handling system
US20120063465A1 (en) Access network dual path connectivity
US20090201831A1 (en) Vpls n-pe redundancy using pseudo wire fast failover
US20070183313A1 (en) System and method for detecting and recovering from virtual switch link failures
JP2006229967A (en) High-speed multicast path switching
CN1719831A (en) High-available distributed boundary gateway protocol system based on cluster router structure
CN101094157A (en) Method for implementing network interconnection by using link aggregation
US6067573A (en) Technique for reducing the flow of topology information in a computer network to only nodes that require the information
CN101035047A (en) Processing method for loop network protection
CN101917287A (en) Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework)
US20040221207A1 (en) Proxy response apparatus
US20130286893A1 (en) Route calculation method and master node device in virtual network element
CN101252459A (en) Method for setting protocol state of chain circuit terminal port and supervising method thereof
CN103067277A (en) Method of building control channel, forwarding point (FP) and controller
CN103414644A (en) Method for issuing entries and controller
US20140185429A1 (en) Communication system, path switching method and communication device
CN101605104A (en) Method and device for forwarding traffic in stacking device
CN102347905A (en) Network equipment and forwarded information updating method
CN102006188A (en) Path back switching method and device in transport network
CN102724117A (en) Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel building method and device
US20080049610A1 (en) Routing failure recovery mechanism for network systems

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01