CN101252428A - Apparatus and method for fast switching flow - Google Patents

Apparatus and method for fast switching flow Download PDF

Info

Publication number
CN101252428A
CN101252428A CN 200810089573 CN200810089573A CN101252428A CN 101252428 A CN101252428 A CN 101252428A CN 200810089573 CN200810089573 CN 200810089573 CN 200810089573 A CN200810089573 A CN 200810089573A CN 101252428 A CN101252428 A CN 101252428A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
port
linkage
group
downlink
state
Prior art date
Application number
CN 200810089573
Other languages
Chinese (zh)
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

Links

Abstract

The invention provides a quick flow switching method. The method includes the steps that (1) the downlink device creates a port linkage group and sets the corresponding linkage strategy; the port linkage group includes a downlink port group and an uplink port group which have linkage relation with each other; wherein, the downlink port group comprises a downlink port or a plurality of downlink ports; the uplink port group comprises a uplink port or a plurality of uplink ports; (2) the downlink device detects the port state of each link; when the state of a downlink port is changed; the port state of the uplink port group which has linkage relation with the downlink port is determined whether or not the port state is changed according to the current state of the downlink port and the corresponding linkage strategy. The quick flow switching method adopts the linkage group form and enables the uplink device to sense rapidly and process flow switching under the situation that the state of the downlink is changed.

Description

一种流量快速切换的方法和装置技术领域本发明涉及数据通信领域,特别涉及一种流量快速切换的方法和装置。 METHOD AND APPARATUS FOR A flow fast switching FIELD The present invention relates to data communications, and in particular relates to a method and apparatus for fast switching of traffic. 背景技术为了避免设备出现故障后流量出现中断,双上行组网是目前常用应用组网之一,如图l所示,其中,设备3通过主链路1和备链路1分别与设备1 和设备2相连,主链路出现故障后设备3的流量就可以快速的切换到备份链路l上,设备4也是类似的原理。 BACKGROUND ART To avoid traffic interruptions equipment failure, dual-homing networking application is one of the common network, as shown in FIG. L, wherein the apparatus 1 and the main link 3 by the standby link apparatus 1 and 1 respectively 2 is connected to the device, the flow device 3 can quickly switch to the backup link l primary link fails, the device 4 is similar principle. 这样就实现了流量的快速切换,保证转发的不中断。 This enables fast switching traffic to ensure uninterrupted forwarding. 前面所述都是设备自身主链路出现故障时的流量快速切换。 The foregoing is the flow rate at the primary link fails apparatus itself fast switching. 如果发生故障的不是本设备而是下行设备,例如:当设备1与网云相连的链路1出现故障时,如果设备3和4不能快速感知主链路中断就会导致设备3和4的主备链路切换比较慢,造成转发中断。 If a failure is not present but the apparatus downstream equipment, for example: when a link with a network device connected to a cloud fails, 3 and 4 if the device can not rapidly detect the link failure will cause the primary master apparatus 3 and 4 backup link to switch more slowly, resulting in traffic is interrupted. 发明内容本发明要解决的技术问题是提供一种流量快速切换的方法和装置,以实现了在下行链路状态改变时,上行设备快速感知并进行流量切换。 SUMMARY OF THE INVENTION The technical problem to be solved is to provide a method and apparatus for fast switching of traffic, in order to achieve the changing state in the downlink, and uplink traffic sensing apparatus is switched quickly. 为了解决上述问题,本发明提供了一种流量快速切换的方法,该方法包括以下步骤:(1) 下行设备创建端口联动组及设定相应的联动策略,该端口联动组包括具有联动关系的下行端口组和上行端口组,其中,下行端口组包括一个或多个下行端口,上行端口组包括一个或多个上4亍端口;(2) 下行设备检测各链路端口状态,当某下行端口状态改变时,根据该端口当前状态及相应的联动策略确定是否改变#1联动的上行端口组的端口状态。 To solve the above problems, the present invention provides a method for fast switching of traffic, the method comprising the steps of: (1) create a port downstream equipment and set the appropriate linkage group linkage policy, the port comprises a linkage group having a linkage relationship downlink port group and uplink port groups, wherein the downlink port group comprises one or more downlink ports, an upstream port group including one or more ports on the right foot 4; (2) downstream device detects port status of each link, when a downlink port status changing, determining whether to change the state of port # 1 linkage group according to the uplink port to the port and the corresponding current state of the collaboration policy. 进一步地,步骤(2)中,若下行设备改变上行端口状态,则通知相应上行设备,上行设备快速进行流量切换。 Further, the step (2), when the upstream port downstream device changes state, notifies the corresponding uplink device, an uplink traffic fast switching device. 进一步地,端口组中的端口可增加或减少。 Further, a port in the port group may increase or decrease. 进一步地,步骤(1 )中所述的联动策略是系统的默认设置,即当端口联动组的下行端口状态改变时相应地改变被联动的上行端口的状态。 Further, step (1) in the linkage system policy is the default setting, i.e., changes states accordingly linked upstream port downlink port when the port status changes linkage group. 进一步地,所述联动策略是根据数据流量、改变状态的端口数量或比例来确定联动结果的联动阈值,且所述联动策略是可修改的。 Further, according to the linkage data traffic policy, changing the state of a port number or proportion threshold value to determine the linkage results linkage, and the linkage policy is modified. 为解决上述技术问题,本发明还提供了一种流量快速切换的装置,该装置包括管理模块、快速检测模块,所述管理模块及所述快速检测模块设置在下行设备上,其中,所述管理模块用于创建端口联动组及设定相应联动策略,还用于根据快速检测模块的端口状态改变通知,结合联动策略确定是否改变端口联动组中被联动端口的状态的联动结果,及根据联动结果改变端口联动组中被联动的上行端口的状态,所述端口联动组包括具有联动关系的下行端口组和上行端口组,下行端口组包括一个或多个下行端口,上行端口组包括一个或多个上行端口;所述快速检测模块用于快速检测端口状态,当端口状态改变时通知端口管理模块。 To solve the above problems, the present invention also provides an apparatus for fast switching of traffic, the apparatus includes a management module, fast detection module, the management module and the fast detection module provided on the downstream device, wherein said management means for creating a port and to set the appropriate linkage group linkage policy, but also for the fast port status change notification in accordance with the detecting module, in conjunction with determining whether to change the linkage linkage policy results linkage group is linked port state in the port, and linkage according to the result changing the state of the port upstream port interlocking linkage group, said linkage group including a port group and a downlink port uplink port group, or a downlink port group comprising a plurality of downstream ports with the upstream port group interlocking relationship comprises one or more upstream port; the fast detection module is used to detect the state of the port, the management module notifies the port when the port status changes. 进一步地,该装置还包括设置于上行设备的快速切换模块,管理模块若改变上行端口状态,还用于通知快速切换模块进行流量快速切换;快速切换模块用于接收端口管理才莫块的切换通知,并快速进行流量切换。 Further, the apparatus further comprising a device disposed in an uplink fast switching module, if the change in the upstream port management module state, fast switching module is further configured to notify traffic fast switch; fast switching means for switching notification receiving port management block only Mo and quickly switch traffic. 进一步地,所述管理模块包括联动管理模块和端口管理模块,其中联动管理模块用于创建下行端口组及上行端口组,设定端口组之间的联动关系组成端口联动组,及设定相应的联动策略,还用于接收端口管理模块转发的端口状态改变通知,根据联动策略向端口管理模块返回联动结果;所述端口管理才莫块用于按照需要在端口组中添加或删除端口,还用于接收快速检测模块的端口状态改变通知,并为该端口置位置标记,还用于将快速检测模块的端口状态改变通知转发给联动管理模块,根据联动管理模块返回的联动结果,改变相应端口状态,并通知快速切换模块进行流量快速切换。 Further, the management module comprises a management module and the linkage management port module, wherein the linkage management module is used to create a downlink and uplink port group port group setting Linkage between groups of ports ports linkage group, and set the appropriate linkage policy, the port further configured to receive port status management module forwards the change notification, the linkage returns to the port management module according to the results of the collaboration policy; Mo only block the port management needed for adding or deleting a port in the port group further with receiving the port status change notification rapid detection module, and the home position mark for the port, the port state for further rapid change detection module forwards the notification to the management module linkage, the linkage according to the result returned by the management module linkage, changing the state of the corresponding port and notifies quickly switch module to quickly switch traffic. 进一步地,所述的联动策略是系统的默认设置,即当端口联动组的下行端口状态改变时相应地改变被联动的上行端口的状态。 Further, the linkage is the default system policy, i.e., changes states accordingly linked upstream port downlink port when the port status changes linkage group. 进一步地,所述联动策略是根据数据流量、改变状态的端口数量或比例来确定联动结果的联动阈值,且所述联动策略是可修改的。 Further, according to the linkage data traffic policy, changing the state of a port number or proportion threshold value to determine the linkage results linkage, and the linkage policy is modified. 本发明流量快速切换的方法和装置,将下行设备的上下行链路的端口或者端口组进行联动,可以保证在下行链路出现故障的时候,上行链路自动断开,使得对应的上行设备快速感知并能够快速的切换到备份链路;当下行链路恢复后,上行链路连接,上行设备快速感知并将流量从备^f分链路恢复到主链路,且本发明流量快速切换装置采用模块化设计,可以灵活的设置联动组和联动策略,有很强的扩展性。 The method and apparatus of the present invention, the flow rate of fast switching, the port or port group downlink uplink and downlink linkage device can be guaranteed at the time of failure downlink, uplink automatically disconnected, so that the corresponding uplink fast devices perception and can quickly switch to the backup link; recovery after the downlink, an uplink connection, and uplink traffic sensing apparatus quickly recover from the sub-backup ^ f link to the primary link, and the flow switching device of the present invention is fast modular design, the flexibility to set up linkage and linkage policy group, has a strong scalability. 附图说明图l是现有技术中双上行结构组网示意图。 BRIEF DESCRIPTION OF DRAWINGS Figure l is a schematic view of dual-homed network prior art. 图2是本发明流量快速切换方法的流程示意图。 FIG 2 is a schematic flow diagram of the present invention, the flow rate of the fast handover method. 图3是本发明流量快速切换装置的模块示意图。 FIG 3 is a block schematic diagram of the present invention, the flow rate of the fast switching device. 具体实施方式为了清楚描述,本发明将通过链路相连的两个设备分别称为上行设备和下行设备,上行设备和下行设备是根据数据流方向确定的,是相对的概念, 下行设备和上行设备通过上行链路相连,下行设备的上行设备侧端口称为上行端口,另一侧的链路和端口分别称为下行链路和下行端口,如图l所示, 下行设备为设备l,上行设备为设备3。 DETAILED DESCRIPTION For clarity of description, the present invention will be referred to by the link connecting the two devices upstream and downstream equipment device, the uplink and downlink equipment device is determined based on the direction of data flow, a relative concept, the downlink and uplink equipment device connected via uplink, downlink equipment device called an uplink port side port, and the port on the other side of the link are referred to as downlink and downlink ports, as shown in FIG. L, L downstream device is a device, an uplink equipment 3 for the device. 本发明流量快速切换的主要思想是:将下行设备的上下行链路的端口或者端口组进行联动,可以保证在下行链路出现故障的时候,上行链路自动断开,使得与上行链路连接的对应的上行设备能够快速的切换到备份链路;当下行链路恢复后,上行链路连接,与上行链路连接的对应的上行设备将流量从备份链路恢复到主链路。 The main idea of ​​the present invention, the flow rate is fast handover: the port or port group downlink uplink and downlink linkage device can be guaranteed at the time of failure downlink, uplink automatically disconnected, so that the link connected to the upstream corresponding to the upstream device can be quickly switched to the backup link; recovery after the downlink, uplink connection, connected to the corresponding uplink device to restore the uplink traffic from the backup link to the primary link. 本发明流量快速切换方法,如图2所示,包括以下步骤:步骤201:下行设备创建端口联动组及设定相应的联动策略,该端口联动组包括具有联动关系的下行端口组和上行端口組;步骤202:下行设备检测各链路端口状态,当某下行端口状态改变(包括故障和恢复)时,根据该端口当前状态及相应的联动策略确定是否改变被联动的上行端口组的端口状态;步骤203:若下行设备改变上行端口状态,则通知相应上行设备,以快速进行流量切换。 The method of the present invention, the flow quickly switch shown in Figure 2, comprising the following steps: Step 201: Create a port downstream equipment and set the appropriate linkage group linkage policy, the port comprises a linkage group of downlink and uplink port group having a linkage relationship port groups ; step 202: detect a downlink port status of each link, downlink port when a state change (including the failure and recovery), to determine whether to change the port state is linked upstream port groups according to the current status of the port and corresponding linkage policy; step 203: If the device to change an uplink downlink port status, notifying the corresponding uplink device to quickly switch traffic. 基于以上方法,本发明流量快速切换装置,如图3所示,该装置包括: 管理模块、快速检测模块和快速切换模块,其中管理模块及快速检测模块设置在下行设备上,快速切换模块设置在上行设备上,管理模块用于创建端口联动组,设定联动策略,及根据快速检测模块的端口状态改变通知,结合联动策略,确定是否改变上行端口组的端口状态, 若改变则通知快速切换模块进行流量快速切换,具体地,管理模块包括联动管理模块和端口管理模块,其中,联动管理模块用于创建下行端口组和上行端口组,设定端口组之间的联动关系组成端口联动组,为端口联动组设定联动策略,以及接收端口管理才莫块转发的端口状态改变通知,根据该端口对应的端口联动組的联动策略向端口管理模块返回联动结果。 Based on the above method, rapid flow rate switching device of the present invention, shown in Figure 3, the apparatus comprising: a management module, a detection module and a rapid fast switching module, wherein the management module and fast detection module provided on the downstream device, the fast switching module is provided on the upstream device, a port management module for creating a linkage group, the linkage policy set, and the port status change notification in accordance with the rapid detection module, in conjunction with linkage policy, determining whether to change the port state of the uplink port group, if the change in the fast switching module notifies fast switching traffic, in particular, the management module comprises a management module and the linkage management port module, wherein the linkage management module is used to create a downlink and uplink port groups port group, the linkage relationship is set between the linkage group consisting port port groups port group setting interlock linkage policy, and the receiving port management block only Mo forwarding port state change notification, the linkage returns the result to the port management module according to linkage group linkage policy port corresponding to the port. 端口管理模块用于按照需要在端口组中添加或删除端口,接收快速检测;溪块的端口状态改变通知,并为该端口置位置标记,将快速检测模块的端口状态改变通知转发给联动管理模块,根据联动管理模块返回的联动结果,改变相应端口状态,通知快速切换模块将流量在主备链路的切换。 Port management module is used as needed to add or remove in the port group port to receive rapid detection; Creek block port state change notification, and position mark for the port set, the port status change notification rapid detection module forwarded to the joint management module the linkage linkage management module returns the result of changing the corresponding port status, notification fast switching module is switched standby link traffic. 快速检测模块用于快速检测端口状态,当端口状态改变时通知端口管理模块。 Rapid Rapid detection means for detecting the state of the port, the management module notifies the port when the port status changes. 快速切换模块用于接收端口管理模块的切换通知,将流量在主备链路之间切换。 Fast switching means for switching notification receiving port management module, the traffic is switched between the primary and backup links. 当然也可以在上行设备不特意设置快速切换模块,而通过现有上行设备自身的切换能力来实现对下行链路故障的快速感知,从而快速进行流量切换。 Of course, the device can quickly switch without purposely provided in the upstream module, and to achieve fast fault perception by conventional downlink an uplink switching capability of the device itself, thereby rapidly switch traffic. 以下结合流量快速切换装置的具体模块对本发明流量快速切换的方法进行说明,该方法包括以下步骤:步骤A:联动管理模块创建一个或多个下行端口组及一个或多个上行端o组。 Following detailed flow fast switching device module of the present invention a method of fast switching flow will be described, the method comprising the following steps: Step A: Linkage management module creates one or more downlink port groups and a plurality of upstream side or o group. 步骤B:端口管理模块根据组网关系将一个或者多个端口加入到相应的端口组;步骤C:联动管理模块根据组网的上下行联动需要设定具有联动关系且包括下行端口组和上行端口组的端口联动组;步骤D:联动管理模块为不同的端口联动组创建联动策略;该联动策略可以通过设定联动阈值实现,如联动策略为当端口联动组的一个下行端口组中有一半的端口down后,就需要将上行端口全部关闭,进行流量切换,则设定联动阈值为0.5。 Step B: The port management module group based one or more gateway port to the corresponding port groups; Step C: interlock joint management module needs to be set in accordance with the relationship between the uplink and downlink network linkage and comprises a downstream port and the upstream port group port linkage group group; step D: linkage management module creates a different port linkage group linkage policy; the linkage policy may be implemented by setting the linkage threshold value, such as a linkage policy to a downlink port group when a port linked group of half of the Down in port, it is necessary to turn off all the uplink port, to switch traffic and the threshold value is set to 0.5 linkage. 为不同的端口联动组i殳定耳关动策略或联动阈值,可以更精确,更合理地控制不同的上行设备进行流量切换。 Linkage group is different port i Shu auris Off movable linkage or threshold policies, can be more accurate and reasonable control different uplink traffic switching devices. 步骤E:当端口状态改变时,快速检测模块通知端口管理模块,端口管理模块将端口置位置(up或down)标记并通知联动管理模块。 Step E: When the port status changes, the rapid detection module notifies the port management module, a port management module port placement position (up or Down) flag and notifies linkage management module. 步骤F:联动管理模块根据该端口对应的端口联动组的联动策略向端口管理模块返回针对该端口联动组被联动端口组的联动结果(不联动、down 或者up )。 Step F: The linkage linkage policy management module returns linkage group port corresponding to the port to port management module (not linked, down or up) to the port for the linkage results linkage group is linked port group. 步骤G:端口管理模块根据联动管理模块返回的联动结果,将对应端口组中的端口联动,并通知快速切换才莫块。 Step G: The port management module interlocking joint management module returns the results of the corresponding port in the port group linkage, and notifies only Mo fast switching block. 步骤H:快速切换模块根据端口管理模块的通知进行流量切换。 Step H: fast switch module according to a notification port switch traffic management module. 应用实例:以下结合图1所示组网关系,在下行链路1故障即下行端口down时,设备3快速切换到备份链路为例,对本发明流量快速切换方法进行说明,其中,设备l设置流量快速切换装置的联动管理模块、端口管理模块及快速检测模块,而设备3和设备4上均设置快速切换模块。 Application examples: The following group shown in conjunction with FIG gateway system, when a fault downlink Down i.e. downlink ports, device 3 is switched to the backup link fast an example, the flow rate of the fast handover method of the present invention will be described, wherein the device is provided l flow management module linkage fast switching device, a port management module and fast detection module, and the device 3 and device 4 are disposed on the fast switching module. 该方法包括以下步骤:步骤a:联动管理模块创建3个端口组,标识为A、 B、 C,步骤b:端口管理模块块根据组网上下行联动需要,在各端口组中添加端口,其中,端口组A中端口包括i殳备1的下4亍端口,端口组B中端口包括与设备3相连的设备1的上行端口1,端口组C中端口包括与设备4相连的设备1的上行端口2,整个联动组都是运行在设备1上,步骤c:联动管理模块,将端口组A、 B、 C建立上下行的绑定关系组成端口联动组,并设定联动策略为:只要端口组A(下行端口)端口出现故障,则关闭端口组B和C中的上^f亍端口1和上^f亍端口2。 The method comprises the following steps: Step a: joint management module creates a three port groups, identified as A, B, C, Step b: Port Management Module downlink block linkage groups need to Internet, add a port in the port group, wherein , port group a port includes a port comprising an uplink port 1 1, port group C port includes uplink i Shu 4 right foot port, port group B apparatus 1 and the device 3 device connected to the device apparatus 4 connected 1 port 2, the entire linkage group is run on the device 1, step c: linkage management module, the binding relationship to establish the uplink and downlink port groups a, B, C linkage group consisting of a port, and linkage policy is set as follows: whenever the port group a (downlink port) port fails, the port closed in groups B and C port 1 and the right foot ^ f ^ f right foot on port 2. 步骤d:快速检测模块检测到链路1中下行端口故障,则快速检测模块通过硬件中断通知端口管理模块;步骤e:端口管理模块为下行端口置Down标记并通知联动管理模块;步骤f:联动管理模块根据下行端口故障的通知及设定的联动策略,确定联动结果并返回端口管理模块,联动结果为将端口组B和C中的上行端口1和2耳关动为down;步骤g:端口管理模块将上行端口1和2全部关闭,并通知设备3和设备4的快速切换模块;步骤h:设备3和4的快速切换;^莫块将流量切换到备份链路。 Step d: Rapid detection module detects a link fault downlink ports, the rapid detection module management port module hardware interrupt notification; Step e: Port Management module Down flag is set and a downlink port management module notifies linkage; Step f: linkage the linkage notification policy management module and the set of downlink port failure, determination results and the linkage return port management module, the result is linked upstream port groups B and C ports 1 and 2 off tab is movable Down; step g: port management module uplink ports 1 and 2 all closed, and the notification device 3 and device 4 of the fast switching module; step h: fast switching devices 3 and 4; ^ Mo block traffic is switched to the backup link. 当下行端口从down重新up后,处理流程与以上过程类似,如果联动管理才莫块返回联动up,则上行端口l和2全部up,设备3和4将流量切换回主链路。 Down from the downlink port to re-up, the processing flow similar to the above process, if only Mo linkage management block returns linked up, and the upstream port l up all 2, 3 and 4 the device is switched back to the primary link traffic. 以上示例中的端口联动组包括端口组A、 B、 C,端口组的主要是为了便于管理和实现而创建的,端口组A、 B、 C中的端口可以是一个端口也可以是多个端口,若设备3和设备4对链路稳定性的要求不同,则可以设置包括端口组A和B的第一端口联动组及包括端口组A和C的第二端口联动组,并分别设定不同的联动策略,各端口联动组的联动策略可以是系统设定的默认值,即在联动组中的下行端口出现故障或恢复时,自动关闭或打开被联动的上行端口,也可以是根据数据流量,改变状态的端口数量或比例来灵活地确定联动结果的联动阈值。 Port linkage group includes a port in the above example the group A, B, mainly in order to manage and implement created C, port group, port group A, B, C may be one of the ports may be a plurality of ports port If the stability of the link to claim 4 different equipment and devices 3, may be provided include a port groups a and B of the first port and the second port linkage group linkage group includes ports a and C groups, respectively, and set different the linkage policy, each port linkage policy linkage group may be a default value set by the system, i.e. in the downlink linkage group or port failure recovery, the automatic closing or opening an uplink port is linked, it may be based on the data flow changing the state of a port number or proportion flexibly determined result interlock linkage threshold. 实际应用中,下行设备创建的端口组可以根据客户对链路稳定性的需求灵活地增加或减少需要联动的端口及改变联动策略, 从而确定是否触发上行设备的流量切换,具有很强的扩展性。 In practical applications, the downlink port group device can be flexibly created in accordance with customer demand for increased stability or decreased link ports to change linkage and linkage policy to determine whether to trigger an uplink traffic switching device, having a strong scalability . 本发明提出了一种基于联动组的流量快速切换的方法,将设备的上下行链路的端口或者端口组进行联动,可以保证在下行链路出现故障的时候,上行链路自动断开,使得下方设备能流量能够快速的切换到备份链路;当下行链路恢复后,上行链路连接,下方设备将流量从备份链路恢复到主链路,且本发明流量快速切换装置釆用模块化设计,可以灵活的设置联动组和联动策略,有很强的扩展性。 The present invention proposes a method of fast switching traffic linkage group based on the port or port group uplink and downlink linkage device can be guaranteed at the time of failure downlink, uplink automatically disconnected, such that equipment can flow downward to quickly switch to the backup link; recovery after the downlink, an uplink connection, the bottom of the device to restore traffic from the backup link to the primary link, and the flow switching device of the present invention preclude the use of modular fast design, the flexibility to set up linkage and linkage policy group, has a strong scalability.

Claims (10)

  1. 1. 一种流量快速切换的方法,其特征在于,该方法包括以下步骤: (1)下行设备创建端口联动组及设定相应的联动策略,所述端口联动组包括具有联动关系的下行端口组和上行端口组,其中,下行端口组包括一个或多个下行端口,上行端口组包括一个或多个上行端口; (2)下行设备检测各链路端口状态,当某下行端口状态改变时,根据所述端口当前状态及相应的联动策略确定是否改变被联动的上行端口组的端口状态。 1. A method of fast switching of traffic, characterized in that the method comprises the steps of: (1) create a port downstream equipment and set the appropriate linkage group linkage policy, the port comprises a linkage group having a linkage group downlink port relationship and uplink port groups, wherein the downlink port group comprises one or more downlink ports, an upstream port group comprises one or more uplink ports; (2) downstream device detects port status of each link, downlink port when a state change, in accordance with the current state of the port and the appropriate linkage policy determines whether to change the state of the port is linked upstream port group.
  2. 2、 如权利要求l所述的方法,其特征在于:步骤(2)中,若下行设备改变上行端口状态,则通知相应上行设备,上行设备快速进行流量切换。 2. The method of claim l, wherein: the step (2), when the upstream port downstream device changes state, notifies the corresponding uplink device, an uplink traffic fast switching device.
  3. 3、 如权利要求1或2所述的方法,其特征在于:端口组中的端口可增加或减少。 3. A method as claimed in claim 1 or claim 2, wherein: the ports in the port group may increase or decrease.
  4. 4、 如权利要求1或2所述的方法,其特征在于:步骤(l)中所述的联动策略是系统的默认设置,即当端口联动组的下行端口状态改变时相应地改变4皮联动的上行端口的状态。 4. The method of claim 1 or claim 2, wherein: step (l) in the linkage system policy is the default setting, i.e. corresponding change interlocking sheath 4 when downlink port status change port linkage group uplink port status.
  5. 5、 如权利要求1或2所述的方法,其特征在于:所述联动策略是根据数据流量、改变状态的端口数量或比例来确定联动结果的联动阈值,且所述联动策略是可修改的。 5. The method of claim 1 or claim 2, wherein: said link is a data traffic policy, changing the state of a port number or proportion threshold value to determine the linkage results linkage, and the linkage policy is modified .
  6. 6、 一种流量快速切换的装置,其特征在于,该装置包括管理模块、快速检测模块,所述管理模块及所述快速检测模块设置在下行设备上,其中,所述管理模块用于创建端口联动组及设定相应联动策略,还用于根据快速检测模块的端口状态改变通知,结合联动策略确定是否改变端口联动组中被联动端口的状态的联动结果,及根据联动结果改变端口联动组中被联动的上行端口的状态,所述端口联动组包括具有联动关系的下行端口组和上行端口组,下行端口组包括一个或多个下^f亍端口,上行端口组包括一个或多个上行端口;所述快速检测模块用于快速检测端口状态,当端口状态改变时通知端口管理模块。 6. A flow fast switching means, characterized in that the apparatus includes a management module, fast detection module, the management module and the fast detection module provided on the downstream device, wherein the management module is used to create a port linkage groups and corresponding linkage policy settings, for further port status change notification in accordance with the rapid detection module, in conjunction with determining whether to change the linkage linkage policy results port linkage group is linked port state, port, and linkage group changes depending on the linkage results state is linked upstream port, the port comprises a linkage group of downlink and uplink port groups port group, the group having a linkage relationship downlink port comprises at one or more ports ^ f right foot, or uplink port group includes a plurality of upstream ports ; the fast detection module is used to detect the state of the port, the management module notifies the port when the port status changes.
  7. 7、 如权利要求6所述的装置,其特征在于:该装置还包括设置于上行设备的快速切换模块,管理模块若改变上行端口状态,还用于通知快速切换模块进行流量快速切换;快速切换模块用于接收端口管理模块的切换通知,并快速进行流量切换。 7. The apparatus as claimed in claim 6, wherein: the apparatus further comprises a device arranged in an uplink fast switching module, if the change in the upstream port management module state, fast switching module is further configured to notify traffic fast switch; fast switching means for receiving a handover notification port management module, and quickly switched traffic.
  8. 8、 如权利要求7所述的装置,其特征在于:所述管理模块包括联动管理模块和端口管理模块,其中联动管理模块用于创建下行端口组及上行端口组, 设定端口组之间的联动关系组成端口联动组,及设定相应的联动策略,还用于接收端口管理模块转发的端口状态改变通知,根据联动策略向端口管理模块返回I关动结果;所述端口管理模块用于按照需要在端口组中添加或删除端口,还用于接收快速检测模块的端口状态改变通知,并为所述端口置位置标记,还用于将快速检测模块的端口状态改变通知转发给联动管理模块,根据联动管理模块返回的联动结果,改变相应端口状态,并通知快速切换模块进行流量快速切换。 8. The apparatus as claimed in claim 7, wherein: said management module comprises a management module and the linkage management port module, wherein the linkage management module is used to create a downlink and uplink port group port group, the group is set between the ports linkage Between linkage group consisting port, and set the appropriate linkage policy, but also to the management module receiving port port state change notification forwarded, returned to the I port policy management module according to the off operation of the linkage results; management module according to the port needs to be added or deleted in the port group port, the port is further configured to fast detection module receiving state change notification, and the port is set to the position marker is further configured to fast detection module port state change notification forwarded to the linkage management module, the linkage of the linkage management module returns the result of changing the corresponding port status, and notifies the fast switching module quickly switches traffic.
  9. 9、 如权利要求6至8中任一项所述的方法,其特征在于:所述的联动策略是系统的默认设置,即当端口联动组的下行端口状态改变时相应地改变被联动的上行端口的状态。 9. The method of claim 6-1 in any one of claim 8, wherein: said linkage is the default system policy, i.e. when the downlink port status change port linkage group be changed accordingly linked upstream port state.
  10. 10、 如权利要求6至8中任一项所述的方法,其特征在于:所述联动策略是根据数据流量、改变状态的端口数量或比例来确定联动结果的联动阈值,且所述联动策略是可修改的。 10. A method as claimed in claim 6-1 in any one of claim 8, wherein: said link is a data traffic policy, changing the state of a port number or proportion threshold value to determine the linkage results linkage, and the linkage policy It is modifiable.
CN 200810089573 2008-04-01 2008-04-01 Apparatus and method for fast switching flow CN101252428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810089573 CN101252428A (en) 2008-04-01 2008-04-01 Apparatus and method for fast switching flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810089573 CN101252428A (en) 2008-04-01 2008-04-01 Apparatus and method for fast switching flow

Publications (1)

Publication Number Publication Date
CN101252428A true true CN101252428A (en) 2008-08-27

Family

ID=39955626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810089573 CN101252428A (en) 2008-04-01 2008-04-01 Apparatus and method for fast switching flow

Country Status (1)

Country Link
CN (1) CN101252428A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916864A (en) * 2012-11-02 2013-02-06 上海电机学院 Ethernet bridge and intelligent link method thereof
US8654632B2 (en) 2011-03-18 2014-02-18 Hangzhou H3C Technologies Co., Ltd. Method for fast switching traffic in H-VPLS
CN103973560A (en) * 2013-02-04 2014-08-06 杭州华三通信技术有限公司 Device and method for fault treatment of stack links in IRF (intelligent resilient framework) system
CN101667963B (en) * 2009-09-09 2015-06-10 中兴通讯股份有限公司 Link switching method and device
CN104798349A (en) * 2013-01-30 2015-07-22 惠普发展公司,有限责任合伙企业 Failover in response to failure of a port
WO2017032023A1 (en) * 2015-08-27 2017-03-02 中兴通讯股份有限公司 State updating method and device
WO2018054109A1 (en) * 2016-09-23 2018-03-29 华为技术有限公司 Port setting method, device, and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667963B (en) * 2009-09-09 2015-06-10 中兴通讯股份有限公司 Link switching method and device
US8654632B2 (en) 2011-03-18 2014-02-18 Hangzhou H3C Technologies Co., Ltd. Method for fast switching traffic in H-VPLS
CN102916864A (en) * 2012-11-02 2013-02-06 上海电机学院 Ethernet bridge and intelligent link method thereof
CN104798349A (en) * 2013-01-30 2015-07-22 惠普发展公司,有限责任合伙企业 Failover in response to failure of a port
US9830239B2 (en) 2013-01-30 2017-11-28 Hewlett Packard Enterprise Development Lp Failover in response to failure of a port
CN103973560A (en) * 2013-02-04 2014-08-06 杭州华三通信技术有限公司 Device and method for fault treatment of stack links in IRF (intelligent resilient framework) system
CN103973560B (en) * 2013-02-04 2018-01-12 新华三技术有限公司 A method and apparatus for stacking link irf system troubleshooting
WO2017032023A1 (en) * 2015-08-27 2017-03-02 中兴通讯股份有限公司 State updating method and device
WO2018054109A1 (en) * 2016-09-23 2018-03-29 华为技术有限公司 Port setting method, device, and system

Similar Documents

Publication Publication Date Title
US8213296B2 (en) Link aggregation protection
US20100329110A1 (en) Method for reconvergence after failure in a dual-homing network environment
US20100020680A1 (en) Multi-chassis ethernet link aggregation
US20080068985A1 (en) Network redundancy method and middle switch apparatus
US20100272110A1 (en) Virtual Links in a Routed Ethernet Mesh Network
US20080181233A1 (en) Redundant far-end pseudo-wire connectivity
CN101001165A (en) Network failure recovery method with redundancy port
CN101047601A (en) Implementing method and system of double-attach network based on VPLS
CN101001192A (en) Method, system and equipment for protecting ring network link
CN1997034A (en) A method and system for protection of the link convergence group
CN1933448A (en) Business fast convergent method and network equipment
CN101014035A (en) Reliability processing method and system of multi-service networking provided by metro Ethernet
CN101127653A (en) Ethernet loop device with backup and implementation method for master device backup
CN1968260A (en) Method for implementing virtual router redundancy protocol switching between primary/standby devices
CN101826983A (en) Dual-homing protection switching method, device and system
CN101860492A (en) Quick switching method, device and system
CN101588304A (en) Implementation method of VRRP
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN101674240A (en) Method and device for realizing single-node dual home for distributed system
US20100177632A1 (en) System and a method for routing data traffic
CN102104532A (en) Fault switching method and system and hub provider edge (Hub PE) router
US20140185429A1 (en) Communication system, path switching method and communication device
US20130201820A1 (en) Triggering a redundant router master/backup status change based on switch connectivity
CN101217353A (en) A control method on multi-point dual redundancy system of call center
CN1741665A (en) System for double-attaching grouping network in communication network and method thereof

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C12 Rejection of an application for a patent