技术领域technical field
本发明涉及通信技术领域,特别涉及一种环网接入业务的保护方法、装置及系统。The invention relates to the field of communication technology, in particular to a protection method, device and system for ring network access services.
背景技术Background technique
随着运营商对网络可靠性、容灾能力的要求逐步提高,现网对于环网保护和双归保护的需求越加强烈。As operators gradually increase their requirements for network reliability and disaster recovery capabilities, the current network has increasingly strong demands for ring network protection and dual-homing protection.
当前环网保护和双归保护方案有三种,具体如下:Currently, there are three schemes for ring network protection and dual-homing protection, as follows:
方案A、只存在环网保护。Scheme A, there is only ring network protection.
方案B、只存在双归保护(即:双归属接入业务的保护)。Scheme B, there is only dual-homing protection (namely: protection of dual-homing access services).
方案C、同时存在环网保护和双归保护。Scheme C, ring network protection and dual-homing protection exist at the same time.
方案A中只有网络侧的环网保护,业务侧是单归形式,无法保证业务侧的保护;方案B为双归保护场景,既有网络侧保护,也有业务侧保护,但是网络侧只支持对单点故障的有效保护;方案C虽然同时具备了网络侧和业务侧保护,能支持对双点或多点故障的有效保护,但是环网保护和双归保护分别在网络层和业务层分别实现,也即:环网保护和双归保护不同层级实现,因此环网保护和双归保护是叠加的,且双归保护的网络侧保护和业务是一一对应的,存在保护重叠情形。在双归属节点每配置一条业务需配置一个网络侧的双归保护,占用4个伪线(Pseudo Wire,PW)操作管理维护(Operation,Administration andMaintenance,OAM)资源和1个自动保护倒换协议(Automatic Protection Switching,APS)资源,因此会占用额外的PW OAM和APS资源。In solution A, there is only ring network protection on the network side, and the service side is in the form of single-homing, which cannot guarantee the protection of the service side; solution B is a dual-homing protection scenario, which has both network-side protection and Effective protection against single-point faults; although scheme C has both network-side and service-side protections and can support effective protection against double-point or multi-point faults, the ring network protection and dual-homing protection are respectively implemented at the network layer and service layer , that is, ring network protection and dual-homing protection are implemented at different levels, so the ring network protection and dual-homing protection are superimposed, and the network-side protection and services of dual-homing protection are in one-to-one correspondence, and there is a situation of protection overlap. For each service configured on a dual-homing node, a network-side dual-homing protection needs to be configured, occupying 4 pseudowire (Pseudo Wire, PW) operation, administration and maintenance (OAM) resources and 1 automatic protection switching protocol (Automatic Protection Switching, APS) resources, so additional PW OAM and APS resources will be occupied.
基于前述分析,目前同时存在环网保护和双归保护的方案,环网保护和双归保护是叠加的并且存在保护重叠的问题,浪费PW OAM和APS资源。Based on the foregoing analysis, ring network protection and dual-homing protection currently exist at the same time. The ring network protection and dual-homing protection are superimposed and there is a problem of overlapping protection, which wastes PW OAM and APS resources.
发明内容Contents of the invention
本发明实施例提供了一种环网接入业务的保护方法、装置及系统,用于提供一种新的环网接入业务的保护方案,并解决保护叠加和保护重叠的问题,以及浪费PW OAM和APS资源的问题。Embodiments of the present invention provide a protection method, device, and system for ring network access services, which are used to provide a new protection scheme for ring network access services, and solve the problems of protection overlap and protection overlap, as well as waste of PW Issues with OAM and APS resources.
本发明实施例一方面提供了一种环网接入业务的保护方法,包括:On the one hand, an embodiment of the present invention provides a protection method for a ring network access service, including:
第一节点接收业务报文;The first node receives the service message;
第一节点确定自身是否为所述业务报文的出环节点,是否为当前转发通道中的最后一个节点;The first node determines whether it is the outbound node of the service message, and whether it is the last node in the current forwarding channel;
若确定第一节点为所述业务报文的出环节点,且不是当前转发通道中的最后一个节点,则复制所述业务报文转发给当前转发通道的下一个节点,并且对所述业务报文进行解封装得到用户数据,向网络节点转发所述用户数据,所述网络节点为环网外的节点。If it is determined that the first node is the outbound node of the service message, and is not the last node in the current forwarding channel, then copy the service message and forward it to the next node in the current forwarding channel, and make a copy of the service message The file is decapsulated to obtain user data, and the user data is forwarded to a network node, and the network node is a node outside the ring network.
结合一方面的实现方案,在第一种可能的实现方式中,所述方法,还包括:In combination with an implementation solution on the one hand, in a first possible implementation manner, the method further includes:
若确定第一节点为所述业务报文的出环节点,且是当前转发通道中的最后一个节点,则对所述业务报文进行解封装得到用户数据,向网络节点转发所述用户数据。If it is determined that the first node is the outbound node of the service message and is the last node in the current forwarding channel, decapsulate the service message to obtain user data, and forward the user data to the network node.
结合一方面的实现方案,或者一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述网络节点有两个,所述向网络节点转发所述用户数据包括:In combination with the implementation solution in one aspect, or the first possible implementation manner in one aspect, in a second possible implementation manner, there are two network nodes, and the forwarding the user data to the network nodes includes:
向两个网络节点分别转发所述用户数据。The user data are respectively forwarded to two network nodes.
本发明实施例二方面提供了一种环网接入业务的保护方法,包括:The second aspect of the embodiment of the present invention provides a ring network access service protection method, including:
第二节点接收用户数据;the second node receives user data;
第二节点为所述用户数据封装标签得到业务报文并配置转发通道;所述转发通道指示了转发方向以及在所述转发方向上的两个出环节点;The second node obtains a service message for the user data encapsulation label and configures a forwarding channel; the forwarding channel indicates a forwarding direction and two outbound nodes in the forwarding direction;
第二节点向转发通道指示的主通道转发所述业务报文;The second node forwards the service message to the main channel indicated by the forwarding channel;
若第二节点检测到主通道方向发生故障,则依据自动保护倒换协议执行倒换,向备用通道转发所述业务报文。If the second node detects that a failure occurs in the direction of the main channel, it performs switching according to the automatic protection switching protocol, and forwards the service message to the backup channel.
结合二方面的实现方案,在第一种可能的实现方式中,所述方法,还包括:In combination with the implementation solutions of the two aspects, in a first possible implementation manner, the method further includes:
在向备用通道转发所述业务报文过程中,若检测到主通道恢复正常,则向主通道转发所述业务报文。In the process of forwarding the service message to the standby channel, if it is detected that the main channel returns to normal, the service message is forwarded to the main channel.
本发明实施例三方面提供了一种环网接入业务的保护方法,包括:The embodiment of the present invention provides a protection method for a ring network access service in three aspects, including:
网络节点确定主端口和备用端口通信是否正常,所述主端口为所述网络节点与业务报文的转发通道指示的主通道上的第一个出环节点通信的端口;所述备用端口为所述网络节点与业务报文的转发通道指示的主通道上的第二个出环节点通信的端口;The network node determines whether the communication between the main port and the standby port is normal, and the main port is the port of the first ring-out node on the main channel indicated by the network node and the forwarding channel of the service message; The port through which the network node communicates with the second outbound node on the main channel indicated by the forwarding channel of the service message;
若主端口通信正常,则从主端口接收来自环网的出环节点的用户数据;If the communication of the main port is normal, the user data from the out-ring node of the ring network is received from the main port;
若主端口通信故障,且备用端口正常,则从备用端口接收来自环网的出环节点的用户数据。If the communication of the main port fails and the backup port is normal, the user data from the ring-out node of the ring network is received from the backup port.
结合三方面的实现方案,在第一种可能的实现方式中,所述从主端口接收来自环网的出环节点的用户数据包括:In combination with the implementation solutions in the three aspects, in a first possible implementation manner, the receiving from the master port the user data from the ring-out node of the ring network includes:
开启主端口接收来自主端口的用户数据,关闭备用端口;或者,接收来自主端口的用户数据,并接收来自备用端口的用户数据;然后删除来自备用端口的用户数据;Open the main port to receive user data from the main port, close the backup port; or, receive user data from the main port, and receive user data from the backup port; then delete the user data from the backup port;
所述从备用端口接收来自环网的出环节点的用户数据包括:The receiving from the backup port the user data from the ring-out node of the ring network includes:
开启备用端口接收来自备用端口的用户数据,关闭主端口;或者,接收来自主端口的用户数据,并接收来自备用端口的用户数据;然后删除来自主端口的用户数据。Open the standby port to receive user data from the standby port, close the main port; or, receive user data from the main port, and receive user data from the standby port; then delete the user data from the main port.
结合三方面的实现方案,在第二种可能的实现方式中,在从备用端口接收来自环网的出环节点的用户数据过程中,所述方法还包括:Combining the implementation schemes in the three aspects, in the second possible implementation manner, in the process of receiving user data from the ring-out node of the ring network through the standby port, the method further includes:
若检测到主端口通信恢复正常,则继续从备用端口接收来自环网的出环节点的用户数据,或者,切换到从主端口接收来自环网的出环节点的用户数据。If it is detected that the communication on the main port returns to normal, continue to receive user data from the ring-out node of the ring network through the standby port, or switch to receive user data from the ring-out node of the ring network from the main port.
本发明实施例四方面提供了一种环网的节点,包括:The fourth aspect of the embodiment of the present invention provides a ring network node, including:
报文接收单元,用于接收业务报文;A message receiving unit, configured to receive service messages;
节点确定单元,用于确定自身是否为所述业务报文的出环节点,是否为当前转发通道中的最后一个节点;The node determination unit is used to determine whether it is the outbound node of the service message and whether it is the last node in the current forwarding channel;
转发控制单元,用于若所述节点确定单元确定自身为所述业务报文的出环节点,且不是当前转发通道中的最后一个节点,则复制所述业务报文转发给当前转发通道的下一个节点;并且对所述业务报文进行解封装得到用户数据,向网络节点转发所述用户数据。A forwarding control unit, configured to copy the service message and forward it to the next node of the current forwarding channel if the node determination unit determines that it is the outbound node of the service message and is not the last node in the current forwarding channel. A node; and decapsulating the service packet to obtain user data, and forwarding the user data to a network node.
结合四方面的实现方案,在第一种可能的实现方式中,所述转发控制单元,还用于若所述节点确定单元确定第一节点为所述业务报文的出环节点,且是当前转发通道中的最后一个节点,则对所述业务报文进行解封装得到用户数据,向网络节点转发所述用户数据。In combination with the implementation solutions in the four aspects, in a first possible implementation manner, the forwarding control unit is further configured to, if the node determination unit determines that the first node is the outbound node of the service message, and is the current The last node in the forwarding channel decapsulates the service message to obtain user data, and forwards the user data to the network node.
结合四方面的实现方案,或者四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述网络节点有两个,所述转发控制单元,用于向两个网络节点分别转发所述用户数据。In combination with the implementation solution of the fourth aspect, or the first possible implementation manner of the fourth aspect, in the second possible implementation manner, there are two network nodes, and the forwarding control unit is configured to send the two network nodes The user data are respectively forwarded.
本发明实施例五方面提供了一种环网的节点,包括:A fifth aspect of the embodiment of the present invention provides a ring network node, including:
数据接收单元,用于接收用户数据;a data receiving unit, configured to receive user data;
封装单元,用于为所述数据接收单元接收的用户数据封装标签得到业务报文并配置转发通道;所述转发通道指示了转发方向以及在所述转发方向上的两个出环节点;An encapsulation unit, configured to encapsulate labels for user data received by the data receiving unit to obtain service packets and configure a forwarding channel; the forwarding channel indicates a forwarding direction and two outbound nodes in the forwarding direction;
转发单元,用于向转发通道指示的主通道转发所述封装单元得到的业务报文;若第二节点检测到主通道方向发生故障,则依据自动保护倒换协议执行倒换,向备用通道转发所述业务报文。The forwarding unit is configured to forward the service message obtained by the encapsulation unit to the main channel indicated by the forwarding channel; if the second node detects that a failure occurs in the direction of the main channel, it performs switching according to the automatic protection switching protocol, and forwards the service message to the backup channel. business message.
结合五方面的实现方案,在第一种可能的实现方式中,所述转发单元,还用于在向备用通道转发所述业务报文过程中,若检测到主通道恢复正常,则向主通道转发所述业务报文。In combination with the implementation solutions in the five aspects, in the first possible implementation manner, the forwarding unit is also configured to forward the service message to the backup channel, if it is detected that the main channel is back to normal, then send Forward the service message.
本发明实施例六方面提供了一种网络节点,所述网络节点为环网外的节点,其特征在于,包括:The sixth aspect of the embodiment of the present invention provides a network node, the network node is a node outside the ring network, and it is characterized in that it includes:
端口确定单元,用于确定主端口和备用端口通信是否正常,所述主端口为所述网络节点与业务报文的转发通道指示的主通道上的第一个出环节点通信的端口;所述备用端口为所述网络节点与业务报文的转发通道指示的主通道上的第二个出环节点通信的端口;A port determining unit, configured to determine whether the communication between the main port and the standby port is normal, the main port is the port for communicating between the network node and the first ring-out node on the main channel indicated by the forwarding channel of the service message; The standby port is the port through which the network node communicates with the second outbound node on the main channel indicated by the forwarding channel of the service message;
接收数据单元,用于若主端口通信正常,则从主端口接收来自环网的出环节点的用户数据;若主端口通信故障,且备用端口正常,则从备用端口接收来自环网的出环节点的用户数据。The receiving data unit is used to receive the user data from the outgoing ring node of the ring network from the main port if the communication of the main port is normal; if the communication failure of the main port and the backup port is normal, then receive the outgoing link from the ring network from the backup port point user data.
结合六方面的实现方案,在第一种可能的实现方式中,所述接收数据单元,包括:In combination with the implementation solutions of the six aspects, in a first possible implementation manner, the receiving data unit includes:
端口控制单元和第一接收单元,或者,第二接收单元和数据选择单元;a port control unit and a first receiving unit, or a second receiving unit and a data selection unit;
所述端口控制单元,用于若主端口通信正常,则开启主端口并关闭备用端口;若主端口通信故障,且备用端口正常,则关闭主端口并开启备用端口;The port control unit is used to open the main port and close the standby port if the communication of the main port is normal; if the communication of the main port fails and the standby port is normal, then close the main port and open the standby port;
所述第一接收单元,用于从开启的主端口接收来自主端口的用户数据;或者,从开启的备用端口接收来自备用端口的用户数据;The first receiving unit is configured to receive user data from the main port from the enabled main port; or, receive user data from the backup port from the enabled backup port;
所述第二接收单元,用于接收来自主端口的用户数据,并接收来自备用端口的用户数据;The second receiving unit is configured to receive user data from the main port, and receive user data from the backup port;
所述数据选择单元,用于若主端口通信故障,且备用端口正常,则将所述第二接收单元接收的来自主端口的用户数据删除;若主端口通信正常,则将所述第二接收单元接收的来自备用端口的用户数据删除。The data selection unit is configured to delete the user data received by the second receiving unit from the main port if the communication of the main port fails and the standby port is normal; if the communication of the main port is normal, delete the user data received by the second receiving unit. User data received by the unit from the standby port is deleted.
结合六方面的实现方案,在第二种可能的实现方式中,所述接收数据单元,还用于在从备用端口接收来自环网的出环节点的用户数据过程中,若检测到主端口通信恢复正常,则继续从备用端口接收来自环网的出环节点的用户数据,或者,切换到从主端口接收来自环网的出环节点的用户数据。In combination with the implementation solutions of the six aspects, in the second possible implementation manner, the receiving data unit is also used to receive the user data from the ring-out node of the ring network from the standby port, if it is detected that the main port communication When it returns to normal, continue to receive user data from the ring-out node of the ring network through the standby port, or switch to receive user data from the ring-out node of the ring network through the main port.
本发明实施例七方面提供了一种环网接入业务的保护的系统,包括:包含至少三个节点的环网,环网中包含一个入环节点、两个出环节点;网络节点,所述网络节点为环网外的节点,所述入环节点为本发明实施例提供的环网的节点,所述出环节点为本发明实施例提供的环网的节点,所述网络节点为本发明实施例提供的网络节点。The seventh aspect of the embodiment of the present invention provides a ring network access service protection system, including: a ring network including at least three nodes, and the ring network includes a ring entry node and two ring exit nodes; the network nodes, the The network node is a node outside the ring network, the ring-in node is a node of the ring network provided by the embodiment of the present invention, the ring-out node is a node of the ring network provided by the embodiment of the present invention, and the network node is the A network node provided by an embodiment of the invention.
结合七方面的实现方案,在第二种可能的实现方式中,所述网络节点有两个;所述出环节点为本发明实施例提供的网络节点。In combination with the implementation solutions in the seven aspects, in a second possible implementation manner, there are two network nodes; the outbound node is the network node provided in the embodiment of the present invention.
从以上技术方案可以看出,本发明实施例具有以下优点:该方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了因环网保护和双归保护在不同层级实现导致的保护叠加和保护重叠的问题,以及浪费PW OAM和APS资源的问题。From the above technical solution, it can be seen that the embodiment of the present invention has the following advantages: the forwarding channel of this solution is configured with more than one outbound node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel ; Then on this forwarding channel, each outbound node can decapsulate the service message and forward the data to the network controller. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the solution of this embodiment are at the same level (both at the ring network level), so a new protection solution for ring network access services is provided, and the problem of Ring network protection and dual-homing protection are implemented at different levels, resulting in problems of protection overlap and protection overlap, as well as problems of wasting PW OAM and APS resources.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1A为本发明实施例方法流程示意图;Fig. 1A is a schematic flow chart of the method of the embodiment of the present invention;
图1B为本发明实施例方法流程示意图;Fig. 1B is a schematic flow chart of the method of the embodiment of the present invention;
图1C为本发明实施例方法流程示意图;Fig. 1C is a schematic flow chart of the method of the embodiment of the present invention;
图2为本发明实施例环网保护业务报文流向示意图;2 is a schematic diagram of the flow of ring network protection service packets according to an embodiment of the present invention;
图3为本发明实施例环网保护业务报文流向示意图;3 is a schematic diagram of the flow of ring network protection service packets according to an embodiment of the present invention;
图4为本发明实施例环网保护业务报文流向示意图;FIG. 4 is a schematic diagram of the flow of ring network protection service packets according to an embodiment of the present invention;
图5为本发明实施例环网保护业务报文流向示意图;5 is a schematic diagram of the flow of ring network protection service packets according to an embodiment of the present invention;
图6为本发明实施例环网保护业务报文流向示意图;6 is a schematic diagram of the flow of ring network protection service packets according to an embodiment of the present invention;
图7为本发明实施例环网保护业务报文流向示意图;7 is a schematic diagram of the flow of ring network protection service packets according to an embodiment of the present invention;
图8为本发明实施例环网保护业务报文流向示意图;8 is a schematic diagram of the flow of ring network protection service packets according to an embodiment of the present invention;
图9为本发明实施例环网的节点结构示意图;FIG. 9 is a schematic diagram of a node structure of a ring network according to an embodiment of the present invention;
图10为本发明实施例环网的节点结构示意图;FIG. 10 is a schematic diagram of a node structure of a ring network according to an embodiment of the present invention;
图11为本发明实施例网络节点结构示意图;FIG. 11 is a schematic diagram of a network node structure according to an embodiment of the present invention;
图12为本发明实施例网络节点结构示意图;FIG. 12 is a schematic diagram of a network node structure according to an embodiment of the present invention;
图13为本发明实施例网络节点结构示意图;FIG. 13 is a schematic diagram of a network node structure according to an embodiment of the present invention;
图14为本发明实施例环网节点结构示意图;FIG. 14 is a schematic diagram of a ring network node structure according to an embodiment of the present invention;
图15为本发明实施例环网节点结构示意图;FIG. 15 is a schematic diagram of a ring network node structure according to an embodiment of the present invention;
图16为本发明实施例网络节点结构示意图;FIG. 16 is a schematic diagram of a network node structure according to an embodiment of the present invention;
图17为本发明实施例系统结构示意图。Fig. 17 is a schematic diagram of the system structure of the embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例提供了一种一种环网接入业务的保护方法,如图1A所示,包括:An embodiment of the present invention provides a ring network access service protection method, as shown in FIG. 1A, including:
101A:第一节点接收业务报文;101A: The first node receives the service packet;
为了区分环网上的节点,使用了“第一”和“第二”来对节点进行区分,“第一”和“第二”仅用于区分不同类型的节点,不应理解为其他技术含义。其中第一节点是出环节点,第二节点是入环节点。第一节点接收的业务报文可以是采用环网相关协议转发来的业务报文,后续实施例将会给出更详细的说明。In order to distinguish nodes on the ring network, "first" and "second" are used to distinguish nodes. "First" and "second" are only used to distinguish different types of nodes and should not be understood as other technical meanings. The first node is the outbound node, and the second node is the inbound node. The service message received by the first node may be a service message forwarded by using a ring network-related protocol, and more detailed descriptions will be given in subsequent embodiments.
102A:第一节点确定自身是否为上述业务报文的出环节点,是否为当前转发通道中的最后一个节点;102A: The first node determines whether it is the outbound node of the above-mentioned service message, and whether it is the last node in the current forwarding channel;
在本步骤中,判断是否为出环节点,可以依据业务报文的通道配置确定,可以遵循环网保护的相关协议的规定,在后续实施例中将会有更详细的说明。上述当前转发通道是上述业务报文对应的转发通道。上述转发通道中配置有至少两个出环节点。转发通道的配置信息指示了业务报文在环网上的转发路径,例如在图2所示的转发通道的配置信息中将会配置如下信息:业务报文经过节点有节点1、2以及3;并且业务报文从节点1上环后经过的节点依次为:1、2以及3,并且配置节点3为出环节点的信息。那么节点2可以依据转发通道的配置信息来确定转发通道还有后继节点,也即:还需要继续转发;而节点3将会依据转发通道的配置信息确定自身为出环节点,并且转发通道没有后继节点,即:节点3为转发通道配置的最后一个节点。In this step, judging whether it is a ring-out node can be determined according to the channel configuration of the service message, and can follow the relevant protocols of ring network protection, which will be described in more detail in subsequent embodiments. The foregoing current forwarding channel is a forwarding channel corresponding to the foregoing service message. At least two ring-out nodes are configured in the forwarding channel. The configuration information of the forwarding channel indicates the forwarding path of the service message on the ring network. For example, the following information will be configured in the configuration information of the forwarding channel shown in Figure 2: the service message passes through nodes 1, 2 and 3; The nodes that the service message passes through after being connected to the ring from node 1 are: 1, 2, and 3 in sequence, and the information that node 3 is configured as the outgoing node. Then node 2 can determine that the forwarding channel has a successor node according to the configuration information of the forwarding channel, that is, it needs to continue forwarding; while node 3 will determine itself as the out-of-loop node according to the configuration information of the forwarding channel, and the forwarding channel has no successor Node, namely: node 3 is the last node configured for the forwarding channel.
103A:若确定第一节点为上述业务报文的出环节点,且不是当前转发通道中的最后一个节点,则复制上述业务报文转发给当前转发通道的下一个节点,并且对上述业务报文进行解封装得到用户数据,向网络节点转发上述用户数据,上述网络节点是环网外的节点。103A: If it is determined that the first node is the outbound node of the above-mentioned service message and is not the last node in the current forwarding channel, then copy the above-mentioned service message and forward it to the next node of the current forwarding channel, and the above-mentioned service message The user data is obtained by decapsulating, and the above user data is forwarded to a network node, and the above network node is a node outside the ring network.
环网外的节点可以是出环节点解封装得到的用户数据的目标节点与出环节点之间的路径上的第一个节点。具体这个网络节点是什么,并不是本发明实施例所关注的。在后续实施例中将以网络节点(Radio Network Controller,RNC)作为该网络节点的实例进行说明。The node outside the ring network may be the first node on the path between the target node of the user data obtained by decapsulating the ring-out node and the ring-out node. What the specific network node is is not the focus of this embodiment of the present invention. In subsequent embodiments, a network node (Radio Network Controller, RNC) will be used as an example of the network node for illustration.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
进一步地,本实施例中的第一节点作为出环节点,还可以作为转发通道的最后一个节点使用,那么上述方法,还包括:Further, the first node in this embodiment is used as the outbound node, and can also be used as the last node of the forwarding channel, then the above method also includes:
若确定第一节点为上述业务报文的出环节点,且是当前转发通道中的最后一个节点,则对上述业务报文进行解封装得到用户数据,向网络节点转发上述用户数据。If it is determined that the first node is the outbound node of the service message and is the last node in the current forwarding channel, decapsulate the service message to obtain user data, and forward the user data to the network node.
本发明实施例还可以在用户网络接口(User-Network Interface,UNI)侧配置双归属保护,那么上述网络节点有两个,上述向网络节点转发上述用户数据包括:向两个网络节点分别转发上述用户数据。In the embodiment of the present invention, dual-homing protection can also be configured on the User-Network Interface (UNI) side, then there are two network nodes, and the forwarding of the user data to the network nodes includes: forwarding the above-mentioned user data to the two network nodes respectively. User data.
本发明实施例还提供了另一种环网接入业务的保护方法,如图1B所示,包括:The embodiment of the present invention also provides another protection method for ring network access services, as shown in FIG. 1B, including:
101B:第二节点接收用户数据;101B: the second node receives user data;
102B:第二节点为上述用户数据封装标签得到业务报文并配置转发通道;上述转发通道指示了转发方向以及在上述转发方向上的两个出环节点;102B: The second node obtains the service message and configures a forwarding channel for the above-mentioned user data encapsulation label; the above-mentioned forwarding channel indicates the forwarding direction and two outbound nodes in the above-mentioned forwarding direction;
103B:第二节点向转发通道指示的主通道转发上述业务报文;若第二节点检测到主通道方向发生故障,则依据自动保护倒换协议执行倒换,向备用通道转发上述业务报文。103B: The second node forwards the above service message to the main channel indicated by the forwarding channel; if the second node detects a failure in the direction of the main channel, it performs switching according to the automatic protection switching protocol, and forwards the above service message to the backup channel.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
进一步地,本发明实施例还提供了采用备用通道转发业务报文的过程中主通道恢复的处理方案,具体如下:上述方法,还包括:Further, the embodiment of the present invention also provides a processing scheme for recovering the main channel during the process of forwarding service messages through the backup channel, specifically as follows: the above method also includes:
在向备用通道转发上述业务报文过程中,若检测到主通道恢复正常,则向主通道转发上述业务报文。In the process of forwarding the above service message to the backup channel, if it is detected that the main channel returns to normal, the above service message is forwarded to the main channel.
本发明实施例还提供了另一种环网接入业务的保护方法,如图1C所示,包括:The embodiment of the present invention also provides another protection method for ring network access services, as shown in FIG. 1C , including:
101C:网络节点确定主端口和备用端口通信是否正常,上述主端口为上述网络节点与业务报文的转发通道指示的主通道上的第一个出环节点通信的端口;上述备用端口为上述网络节点与业务报文的转发通道指示的主通道上的第二个出环节点通信的端口;101C: The network node determines whether the communication between the main port and the backup port is normal. The above-mentioned main port is the port for communication between the above-mentioned network node and the first outbound node on the main channel indicated by the forwarding channel of the service message; the above-mentioned backup port is the communication port of the above-mentioned network The port where the node communicates with the second outbound node on the main channel indicated by the forwarding channel of the service message;
102C:若主端口通信正常,则从主端口接收来自环网的出环节点的用户数据;若主端口通信故障,且备用端口正常,则从备用端口接收来自环网的出环节点的用户数据。102C: If the communication of the main port is normal, then receive the user data from the ring-out node of the ring network from the main port; if the communication of the main port fails, and the backup port is normal, then receive the user data from the ring-out node of the ring network from the backup port .
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。网络控制器对两个出环节点发送的数据进行选收。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. The network controller selectively receives the data sent by the two ring-out nodes. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
可选地,上述从主端口接收来自环网的出环节点的用户数据包括:开启主端口接收来自主端口的用户数据,关闭备用端口;或者,接收来自主端口的用户数据,并接收来自备用端口的用户数据;然后删除来自备用端口的用户数据;Optionally, receiving the user data from the ring-out node of the ring network from the main port includes: opening the main port to receive user data from the main port, and closing the standby port; or receiving user data from the main port and receiving user data from the standby port. user data from the port; then delete the user data from the alternate port;
上述从备用端口接收来自环网的出环节点的用户数据包括:开启备用端口接收来自备用端口的用户数据,关闭主端口;或者,接收来自主端口的用户数据,并接收来自备用端口的用户数据;然后删除来自主端口的用户数据。The above-mentioned reception of user data from the ring-out node of the ring network from the backup port includes: opening the backup port to receive user data from the backup port, closing the main port; or receiving user data from the main port and receiving user data from the backup port ; then delete the user data from the main port.
进一步地,本发明实施例还提供了选收用户数据过程中,故障恢复的倒换方案,具体如下:在从备用端口接收来自环网的出环节点的用户数据过程中,还包括:若检测到主端口通信恢复正常,则继续从备用端口接收来自环网的出环节点的用户数据,或者,切换到从主端口接收来自环网的出环节点的用户数据。Further, the embodiment of the present invention also provides a switching solution for fault recovery during the process of selectively receiving user data, specifically as follows: in the process of receiving user data from the ring-out node of the ring network from the standby port, it also includes: if it is detected When the communication on the main port returns to normal, continue to receive user data from the ring-out node of the ring network through the standby port, or switch to receive user data from the ring-out node of the ring network from the main port.
以下实施例将以基于多协议标签交换(Multi Protocol Label Switching,MPLS)的环网保护双归属接入业务为例进行说明。本实施例,实现配置1个MPLS环网保护供N条业务接入的设备级冗余备份,同时节省了由于保护叠加而额外占用的OAM(Operation,Administration and Maintenance,操作管理维护)和APS(Automatic ProtectionSwitching,自动保护倒换协议)资源。在本实施例中,网络节点以无线网络控制器(RadioNetwork Controller,RNC)为例。The following embodiments will be described by taking a multi-protocol label switching (Multi Protocol Label Switching, MPLS)-based ring network protection dual-homing access service as an example. In this embodiment, one MPLS ring network protection is configured to provide equipment-level redundancy backup for N service access, and at the same time, OAM (Operation, Administration and Maintenance, operation management and maintenance) and APS (Operation, Administration and Maintenance) and APS ( Automatic ProtectionSwitching, automatic protection switching protocol) resource. In this embodiment, the network node takes a radio network controller (Radio Network Controller, RNC) as an example.
本发明实施例的主要流程如下:基于业务走向分2个子流程说明:一、假设业务从接入侧接入后向无线网络控制器(Radio Network Controller,RNC)发送,流程为:1、基于环网保护转发;2、配置环网保护虚通道并按虚通道复制和转发;3、双归属节点业务转发;该流程是本发明的主要应用点。二、业务的反方向传输过程如下:业务从RNC回传到接入侧之后流程为:双归节点接入业务后,按照环网转发标准进行转发到接入侧,本发明实施例对此不做详述。The main flow of the embodiment of the present invention is as follows: Based on the service trend, it is divided into two sub-flows: 1. Assume that the service is transmitted from the access side to the Radio Network Controller (RNC), and the flow is: 1. Based on the ring 2. Configure ring network protection virtual channel and copy and forward according to the virtual channel; 3. Dual-homing node service forwarding; this process is the main application point of the present invention. 2. The reverse direction transmission process of the service is as follows: after the service is transmitted back from the RNC to the access side, the process is: after the dual-homing node accesses the service, it is forwarded to the access side according to the ring network forwarding standard. The embodiment of the present invention does not address this Do elaborate.
以下实施例将就以上业务从接入侧接入后向RNC发送的流程中的三个方面分别进行详细说明如下:The following embodiments will respectively describe in detail the three aspects in the process of sending the above services to the RNC after they are accessed from the access side:
一、基于环网保护转发:1. Protection and forwarding based on the ring network:
如图2所示,圆形表示为环网节点,圆形内的编号1~5表示节点的序号,图2所示为5个节点组成的环网。图2所示为,配置5个节点的环网保护,可以首先采用人工的方式在每个节点均按同样的顺序(如顺时针)配置全环节点信息(RingMap),如:节点1指定1,2,3,4,5,节点2指定2,3,4,5,1,以此类推,后续实施例中图3~图8也采用该方案,因此在后续实施例中不再一一赘述。图2所示的箭头方向为业务走向,即业务报文的转发方向。节点1为入环节点,节点3为出环节点。As shown in Figure 2, the circles represent the nodes of the ring network, and the numbers 1 to 5 in the circles represent the serial numbers of the nodes. Figure 2 shows a ring network composed of five nodes. As shown in Figure 2, to configure the ring network protection of 5 nodes, you can manually configure the full ring node information (RingMap) on each node in the same order (such as clockwise), such as: node 1 specifies 1 , 2, 3, 4, 5, node 2 specifies 2, 3, 4, 5, 1, and so on, and this scheme is also used in Figure 3 to Figure 8 in subsequent embodiments, so in subsequent embodiments no longer repeat. The direction of the arrow shown in FIG. 2 is the direction of the service, that is, the forwarding direction of the service message. Node 1 is the entry point and node 3 is the exit point.
正常状态时(即环网正常无故障时),如图3所示为多标签的环网保护转发流程,基于图2配置的业务走向,用户数据(User Data)进入节点1从环网节点1上环,环网节点1为User Data封装PW、通道标识(tunnel)、环网标签(Spr label3)作为业务报文向环网节点2转发,在节点2进行环网标签交换,然后向环网节点3转发,图3中节点3为下环点,当报文到达节点3后,依次拆除环网标签、tunnel标签、pw标签,恢复User Data继续向下转发。图2所示的label1~label4均为环成员标识,并不表示标签值。在环网保护中,标签标明该对象的转发路径,pw标签表示用户业务走向,tunnel标签表示承载在tunnel上的pw伪线走向,环标签表示承载在环上的tunnel的走向。In the normal state (that is, when the ring network is normal and fault-free), the multi-label ring network protection and forwarding process is shown in Figure 3. Based on the service trend configured in Figure 2, user data (User Data) enters node 1 from ring network node 1 On the ring, ring network node 1 encapsulates the PW, channel identifier (tunnel), and ring network label (Spr label3) for User Data and forwards them to ring network node 2 as service messages, performs ring network label exchange on node 2, and then sends ring network Node 3 forwards. In Figure 3, node 3 is the down-ring point. When the message reaches node 3, the ring network label, tunnel label, and pw label are removed in sequence, and User Data is restored to continue forwarding downward. label1-label4 shown in FIG. 2 are ring member identifiers, and do not represent label values. In ring network protection, the label indicates the forwarding path of the object, the pw label indicates the direction of user services, the tunnel label indicates the direction of the pw pseudowire carried on the tunnel, and the ring label indicates the direction of the tunnel carried on the ring.
若环网上的节点2和节点3之间发生故障,环网保护将倒换保护通道,如图4所示:业务报文走保护通道向节点3转发,业务报文转发过程中涉及报文封装变更。在节点1入环的业务报文,由节点1向节点5转发,节点5进行环标签交换,然后向环网节点4转发,环网节点进行环网标签交换以后向环网节点3转发,图4中节点3为下环点,当报文到达节点3后,依次拆除环网标签、tunnel标签、pw标签,恢复User Data继续向下转发。If a fault occurs between node 2 and node 3 on the ring network, the ring network protection will switch the protection channel, as shown in Figure 4: service packets are forwarded to node 3 through the protection channel, and the packet encapsulation change is involved in the process of service packet forwarding . The service message entering the ring at node 1 is forwarded by node 1 to node 5, node 5 performs ring label exchange, and then forwards to ring network node 4, and the ring network node forwards to ring network node 3 after ring network label exchange, as shown in Fig. Node 3 in 4 is the down-ring point. When the message reaches node 3, the ring network label, tunnel label, and pw label are removed in sequence, and User Data is restored and forwarded downward.
以上实施例介绍了基于环网保护转发方案,转发流程中的标签交换标签封装均可以遵循环网保护相关协议的规定。后续实施例中标签交换也遵循环网保护相关协议规定,在手续实施例图3~图8不再对标签交换的具体实现进行一一说明。The above embodiment introduces a forwarding scheme based on ring network protection, and label switching and label encapsulation in the forwarding process can all follow the provisions of ring network protection-related protocols. The label switching in the following embodiments also follows the provisions of the ring network protection related protocols, and the specific realization of the label switching will not be described one by one in Fig. 3 to Fig. 8 of the procedure embodiment.
二、配置环网保护虚通道并按虚通道复制和转发,双归属节点业务转发:2. Configure the ring network protection virtual channel and copy and forward according to the virtual channel, dual-homed node service forwarding:
本实施例中,配置环网保护虚通道具体为:配置环双归虚通道;按虚通道复制和转发,及环双归属节点业务转发。如下图5所示,基本网络配置如下:In this embodiment, configuring ring network protection virtual channels specifically includes: configuring ring dual-homing virtual channels; copying and forwarding according to virtual channels, and ring dual-homing node service forwarding. As shown in Figure 5 below, the basic network configuration is as follows:
a、配置节点3和节点4为环双归属节点;即:节点3和节点4均为业务报文的出环节点(也称为下环节点)。a. Configure Node 3 and Node 4 as ring dual-homed nodes; that is, both Node 3 and Node 4 are ring-out nodes (also referred to as down-ring nodes) for service packets.
b、配置到环双归属节点3的环双归工作虚通道SPR_VP_W,图5中SPR_VP_W对应的虚线箭头方向。b. Configuring the ring dual-homing working virtual channel SPR_VP_W to the ring dual-homing node 3, the direction of the dotted arrow corresponding to SPR_VP_W in FIG. 5 .
c、环双归工作虚通道顺时针到节点3,然后延伸到节点4,即一条通道两个下环点。c. The ring double-homing working virtual channel goes clockwise to node 3, and then extends to node 4, that is, one channel has two down-ring points.
d、配置到环双归属节点4的环双归保护虚通道SPR_VP_P,图5中SPR_VP_P对应的虚线箭头方向。d. Configure the ring dual-homing protection virtual channel SPR_VP_P to the ring dual-homing node 4, and the direction of the dotted arrow corresponding to SPR_VP_P in FIG. 5 .
e、环双归保护虚通道逆时针到节点4,然后延伸到节点3,即一条通道两个下环点。e. The ring double-homing protection virtual channel goes counterclockwise to node 4, and then extends to node 3, that is, one channel has two down-ring points.
f、配置UNI侧双归保护(可选);图5中UNI侧为单归,即一个RNC(RNC_1)。f. Configure dual-homing protection on the UNI side (optional); in Figure 5, the UNI side is single-homing, that is, one RNC (RNC_1).
g、RNC节点必须是主备选收保护。由于环双归属节点3和节点4都向RNC发送UserData,RNC设备需要进行选收动作,避免业务双收。g. The RNC node must be the active and standby receiving protection. Since the ring dual-homed nodes 3 and 4 both send UserData to the RNC, the RNC device needs to perform a selective receiving action to avoid double receiving of services.
在以上配置方案中,由以上b、d的配置要求可知:本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),而背景技术中的环网保护和双归保护的Tunnel APS、PW APS是不同层级的,是叠加的。In the above configuration scheme, it can be seen from the configuration requirements of b and d above: the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), while the ring network Tunnel APS and PW APS for protection and dual-homing protection are at different levels and are superimposed.
基于以上配置,以下将就各种状态下业务报文的转发流程进行说明如下:Based on the above configuration, the following will describe the forwarding process of service packets in various states as follows:
1、正常状态时,业务报文的转发方向如图5所示的实线箭头方向,具体如下:用户数据(User Data)进入节点1从环网节点1上环,环网节点1为User Data封装pw、tunnel、环双归虚通道标签后,作为业务报文走环双归工作虚通道SPR_VP_W向环网节点2转发,在节点2进行环双归虚通道标签交换,然后走环双归工作虚通道SPR_VP_W向环网节点3转发,图5中节点3为环双归属节点。当报文到达节点3后,节点3复制一份业务报文,进行交换环双归虚通道标签后走环双归工作虚通道SPR_VP_W的延伸通道转发给环双归属的对端节点4,然后依次拆除环双归虚通道标签、tunnel、pw标签,恢复User Data继续向RNC_1转发。同时,环双归属节点4收到从环双归工作虚通道SPR_VP_W延伸通道转发过来的业务报文后,依次拆除环双归虚通道标签、tunnel、pw标签,恢复User Data继续向RNC_1转发。即环双归属节点3和节点4都向RNC发送User Data,RNC_1设备需要进行选收动作,避免业务双收,假定选收节点3发来的报文。如图5所示。1. In the normal state, the forwarding direction of the service message is the solid line arrow direction shown in Figure 5, as follows: user data (User Data) enters node 1 and goes to the ring from node 1 of the ring network, and node 1 of the ring network is User Data After encapsulating the pw, tunnel, and ring dual-homing virtual channel labels, forward the ring network dual-homing virtual channel SPR_VP_W as a service message to ring network node 2, and perform ring dual-homing virtual channel label exchange on node 2, and then loop through the dual-homing work The virtual channel SPR_VP_W is forwarded to node 3 of the ring network, and node 3 in FIG. 5 is a dual-homed node of the ring. When the message arrives at node 3, node 3 copies a service message, exchanges the ring dual-homing virtual channel label, and forwards the extended channel of the ring dual-homing working virtual channel SPR_VP_W to the peer node 4 of the ring dual-homing, and then Remove the ring double-homing virtual channel label, tunnel, and pw labels, restore User Data and continue forwarding to RNC_1. At the same time, after the ring dual-homing node 4 receives the service message forwarded from the ring dual-homing working virtual channel SPR_VP_W extension channel, it successively removes the ring dual-homing virtual channel label, tunnel, and pw labels, restores User Data and continues forwarding to RNC_1. That is, ring dual-homed node 3 and node 4 both send User Data to RNC, and RNC_1 needs to perform a selective receiving action to avoid double receiving of services, assuming that the packet sent by node 3 is selectively received. As shown in Figure 5.
2、当环上节点2和节点3间发生故障时,业务报文的转发方向如图6所示的实线箭头方向,具体如下:User Data从节点1上环,节点1为User Data封装pw、tunnel、环双归虚通道标签后走环双归保护虚通道SPR_VP_P向环网节点5转发,在节点5进行环双归虚通道标签交换,然后走环双归保护虚通道SPR_VP_P向环网节点4转发,图中节点4为环双归属节点。当报文到达节点4后,复制一份报文交换环双归虚通道标签后走环双归保护虚通道SPR_VP_P延伸通道转发给环双归属的对端节点3,然后依次拆除环双归虚通道标签、tunnel、pw标签,恢复User Data继续向RNC_1转发。同时,环双归属节点3收到从环双归保护虚通道SPR_VP_P延伸通道转发过来的报文后,依次拆除环双归虚通道标签、tunnel、pw标签,恢复User Data继续向RNC转发。即环双归属节点4和节点3都向RNC_1发送User Data,RNC_1设备进行选收动作,选收节点3发来的报文,避免业务双收,同时能避免业务中断。2. When a fault occurs between node 2 and node 3 on the ring, the forwarding direction of the service message is shown in the solid line arrow direction in Figure 6, as follows: User Data is connected to the ring from node 1, and node 1 encapsulates pw for User Data , tunnel, and ring dual-homing virtual channel labels, and forward the ring dual-homing protection virtual channel SPR_VP_P to ring network node 5, and perform ring dual-homing virtual channel label exchange at node 5, and then use the ring dual-homing protection virtual channel SPR_VP_P to the ring network node 4 forwarding, node 4 in the figure is a ring dual-homing node. When the message arrives at node 4, copy a copy of the packet exchange ring dual-homing virtual channel label, then go through the ring dual-homing protection virtual channel SPR_VP_P extension channel and forward it to the ring dual-homing peer node 3, and then remove the ring dual-homing virtual channel in turn label, tunnel, pw label, restore User Data and continue forwarding to RNC_1. At the same time, after the ring dual-homing node 3 receives the message forwarded from the ring dual-homing protection virtual channel SPR_VP_P extension channel, it successively removes the ring dual-homing virtual channel label, tunnel, and pw labels, restores User Data and continues forwarding to the RNC. That is, ring dual-homing node 4 and node 3 both send User Data to RNC_1, and RNC_1 performs a selective receiving action to selectively receive messages from node 3, so as to avoid double receiving of services and service interruption.
3、当环上节点3和RNC_1间的链路发生故障时,业务报文的转发方向如图7所示的实线箭头方向,具体如下:网络侧环网转发与正常情况下转发类似,区别仅在于节点3转发的User Data RNC_1无法接收到,本实施例对此流程不再赘述。在业务侧,RNC_1检测到链路故障触发倒换,此时RNC_1切换到备端口选收节点4发来的业务,避免了业务中断。由上可知:业务报文是节点3通过环双归虚通道复制给节点4的,因此涉及业务路径切换。在图7所示的业务侧有RNC_1和RNC_2,由于节点3与RNC_2间的链路正常,故RNC_2不发生切换,RNC_2既能收到节点3发来的业务,也能收到节点4发来的业务,可以仍然选收原路径的的业务,因此不涉及业务路径切换。由此可知本发明实施例中的一个MPLS环可供N(N≥2)个业务接入且业务互不影响的结论。3. When the link between node 3 and RNC_1 on the ring fails, the forwarding direction of the service message is shown in the direction of the solid line arrow in Figure 7. The details are as follows: the ring network forwarding on the network side is similar to the normal forwarding, and the difference is The only reason is that the User Data RNC_1 forwarded by node 3 cannot be received, and this embodiment will not describe this process in detail. On the service side, RNC_1 detects a link failure and triggers a switchover. At this time, RNC_1 switches to the standby port to selectively receive services from node 4, thereby avoiding service interruption. It can be seen from the above that the service message is copied from node 3 to node 4 through the ring dual-homing virtual channel, thus involving service path switching. On the service side shown in Figure 7, there are RNC_1 and RNC_2. Since the link between node 3 and RNC_2 is normal, RNC_2 does not switch, and RNC_2 can receive both the service from node 3 and the service from node 4. The business of the original path can still be selected, so the switching of the service path is not involved. From this, it can be known that one MPLS ring in the embodiment of the present invention can be accessed by N (N≧2) services and the services do not affect each other.
4、当环双归属节点3发生节点故障时,业务报文的转发方向如图8所示的实线箭头方向,具体如下:网络侧转发与网络侧故障(图6所示)情况下转发类似,不再赘述;区别在于节点3将无法收到报文并转发报文给TNC_1。在业务侧RNC_1检测到链路故障触发倒换,此时RNC切换到备端口选收节点4发来的业务,避免了业务中断。转发流程如下图所示。说明:由于节点3整节点故障,故节点3无法通过延伸的环双归保护虚通道接收到由节点4发来的报文。4. When a node failure occurs on the ring dual-homed node 3, the forwarding direction of the service message is the direction of the solid arrow shown in Figure 8, and the details are as follows: the forwarding on the network side is similar to the forwarding in the case of a network side failure (as shown in Figure 6) , no more details; the difference is that node 3 will not be able to receive the message and forward the message to TNC_1. On the service side, RNC_1 detects a link failure and triggers a switchover. At this time, the RNC switches to the standby port to selectively receive services from node 4, thereby avoiding service interruption. The forwarding process is shown in the figure below. Explanation: Due to node 3 failure, node 3 cannot receive the message sent by node 4 through the extended ring dual-homing protection virtual channel.
以上介绍了按虚通道复制和转发及环双归属节点业务转发的具体流程,本实施例还提供了业务侧选收方案的具体实现如下:The specific process of copying and forwarding according to the virtual channel and the service forwarding of the dual-homed node of the ring is introduced above. This embodiment also provides the specific implementation of the selective reception scheme on the service side as follows:
1、当网络侧故障恢复时,本发明实施例业务侧选收方式不变,网络侧可以按照环网保护标准进行恢复。1. When the failure of the network side recovers, the selective receiving mode of the service side in the embodiment of the present invention remains unchanged, and the network side can recover according to the ring network protection standard.
在本实施例中,若配置环网保护为恢复式,则当环网保护回切到工作时,业务按正常情况转发,走环双归工作虚通道发往RNC,环双归属节点3进行复制报文发送给对端节点4,并转发给RNC。对端节点4收到报文后,也发给RNC,RNC进行选收,涉及业务路径切换;相反,网络侧不发生回切,业务路径不变。In this embodiment, if the ring network protection is configured as recovery, then when the ring network protection switches back to work, the business is forwarded as normal, and the ring dual-homing working virtual channel is sent to the RNC, and the ring dual-homing node 3 performs replication The message is sent to the peer node 4 and forwarded to the RNC. After the peer node 4 receives the message, it also sends it to the RNC, and the RNC selects and receives it, which involves service path switching; on the contrary, there is no switchback on the network side, and the service path remains unchanged.
2、当业务侧故障恢复时,本方案网络侧不变,业务侧检测到故障恢复时,分为两种情况:恢复式和非恢复式。若为恢复式,则RNC回切到主端口进行业务接收,选收环双归属节点3发来的报文,这将涉及业务路径切换;否则,RNC不发生回切,在备端口接收报文,选收环双归节点4发来的报文,那么业务路径不变。2. When the service side recovers from a fault, the network side of this solution remains unchanged. When the service side detects a fault recovery, there are two cases: recovery mode and non-recovery mode. If it is recovery mode, the RNC switches back to the main port for service reception, and selectively receives the message sent by the dual-homed node 3 of the ring, which will involve service path switching; otherwise, the RNC does not switch back and receives the message on the standby port , select to receive the message sent by ring dual-homing node 4, then the service path remains unchanged.
本发明实施例基于G.8132环保护,填补了当前没有基于MPLS环保护的双归属接入的空白,本发明能实现了基于MPLS环保护与双归属同层级的业务接入。The embodiment of the present invention is based on G.8132 ring protection, which fills the blank of dual-homing access based on MPLS ring protection at present, and the present invention can realize service access based on MPLS ring protection and dual-homing at the same level.
本发明实施例还提供了一种环网的节点,该环网的节点作为出环节点使用,如图9所示,包括:The embodiment of the present invention also provides a ring network node, the ring network node is used as an out-of-ring node, as shown in FIG. 9 , including:
报文接收单元901,用于接收业务报文;A message receiving unit 901, configured to receive service messages;
节点确定单元902,用于确定自身是否为上述业务报文的出环节点,是否为当前转发通道中的最后一个节点;A node determination unit 902, configured to determine whether it is the outbound node of the above-mentioned service message, and whether it is the last node in the current forwarding channel;
转发控制单元903,用于若上述节点确定单元902确定自身为上述业务报文的出环节点,且不是当前转发通道中的最后一个节点,则复制上述业务报文转发给当前转发通道的下一个节点;并且对上述业务报文进行解封装得到用户数据,向网络节点转发上述用户数据,上述网络节点为环网外的节点。The forwarding control unit 903 is configured to copy the above-mentioned service message and forward it to the next node in the current forwarding channel if the above-mentioned node determining unit 902 determines that it is the outbound node of the above-mentioned service message and is not the last node in the current forwarding channel. node; and decapsulate the above-mentioned service message to obtain user data, and forward the above-mentioned user data to a network node, and the above-mentioned network node is a node outside the ring network.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
进一步地,上述转发控制单元903,还用于若上述节点确定单元902确定第一节点为上述业务报文的出环节点,且是当前转发通道中的最后一个节点,则对上述业务报文进行解封装得到用户数据,向网络节点转发上述用户数据。Further, the above-mentioned forwarding control unit 903 is further configured to: if the above-mentioned node determination unit 902 determines that the first node is the outbound node of the above-mentioned service message and is the last node in the current forwarding channel, then perform the above-mentioned service message The user data is obtained through decapsulation, and the user data is forwarded to the network node.
可选地,上述网络节点有两个,上述转发控制单元903,用于向两个网络节点分别转发上述用户数据。Optionally, there are two network nodes, and the forwarding control unit 903 is configured to forward the user data to the two network nodes respectively.
本发明实施例还提供了另一种环网的节点,如图10所示,包括:The embodiment of the present invention also provides another ring network node, as shown in FIG. 10 , including:
数据接收单元1001,用于接收用户数据;a data receiving unit 1001, configured to receive user data;
封装单元1002,用于为上述数据接收单元1001接收的用户数据封装标签得到业务报文并配置转发通道;上述转发通道指示了转发方向以及在上述转发方向上的两个出环节点;The encapsulating unit 1002 is configured to encapsulate the label of the user data received by the data receiving unit 1001 to obtain a service message and configure a forwarding channel; the forwarding channel indicates a forwarding direction and two outbound nodes in the forwarding direction;
转发单元1003,用于向转发通道指示的主通道转发上述封装单元1002得到的业务报文;若第二节点检测到主通道方向发生故障,则依据自动保护倒换协议执行倒换,向备用通道转发上述业务报文。The forwarding unit 1003 is configured to forward the service message obtained by the encapsulation unit 1002 to the main channel indicated by the forwarding channel; if the second node detects that a failure occurs in the direction of the main channel, it performs switching according to the automatic protection switching protocol, and forwards the above-mentioned message to the backup channel. business message.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
进一步地,上述转发单元1003,还用于在向备用通道转发上述业务报文过程中,若检测到主通道恢复正常,则向主通道转发上述业务报文。Further, the forwarding unit 1003 is further configured to forward the above service message to the main channel if it detects that the main channel returns to normal during the process of forwarding the above service message to the backup channel.
本发明实施例还提供了一种网络节点,上述网络节点为环网外的节点,如图11所示,包括:The embodiment of the present invention also provides a network node. The above-mentioned network node is a node outside the ring network, as shown in FIG. 11 , including:
端口确定单元1101,用于确定主端口和备用端口通信是否正常,上述主端口为上述网络节点与业务报文的转发通道指示的主通道上的第一个出环节点通信的端口;上述备用端口为上述网络节点与业务报文的转发通道指示的主通道上的第二个出环节点通信的端口;The port determining unit 1101 is used to determine whether the communication between the main port and the standby port is normal, the above-mentioned main port is the port for communicating between the above-mentioned network node and the first ring-out node on the main channel indicated by the forwarding channel of the service message; the above-mentioned standby port A port for communication between the above-mentioned network node and the second outbound node on the main channel indicated by the forwarding channel of the service message;
接收数据单元1102,用于若主端口通信正常,则从主端口接收来自环网的出环节点的用户数据;若主端口通信故障,且备用端口正常,则从备用端口接收来自环网的出环节点的用户数据。The receiving data unit 1102 is used to receive user data from the ring-out node of the ring network from the main port if the communication of the main port is normal; User data for the ring node.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
可选地,上述接收数据单元1102,包括:Optionally, the above-mentioned receiving data unit 1102 includes:
如图12所示,端口控制单元1201和第一接收单元1202,或者,如图13所示,第二接收单元1301和数据选择单元1302;As shown in FIG. 12, a port control unit 1201 and a first receiving unit 1202, or, as shown in FIG. 13, a second receiving unit 1301 and a data selection unit 1302;
上述端口控制单元1201,用于若主端口通信正常,则开启主端口并关闭备用端口;若主端口通信故障,且备用端口正常,则关闭主端口并开启备用端口;The above-mentioned port control unit 1201 is used to open the main port and close the standby port if the communication of the main port is normal; if the communication of the main port fails and the standby port is normal, then close the main port and open the standby port;
上述第一接收单元1202,用于从开启的主端口接收来自主端口的用户数据;或者,从开启的备用端口接收来自备用端口的用户数据;The above-mentioned first receiving unit 1202 is configured to receive user data from the main port from the enabled main port; or, receive user data from the backup port from the enabled backup port;
上述第二接收单元1301,用于接收来自主端口的用户数据,并接收来自备用端口的用户数据;The above-mentioned second receiving unit 1301 is configured to receive user data from the main port and receive user data from the backup port;
上述数据选择单元1302,用于若主端口通信故障,且备用端口正常,则将上述第二接收单元1301接收的来自主端口的用户数据删除;若主端口通信正常,则将上述第二接收单元1301接收的来自备用端口的用户数据删除。The data selection unit 1302 is configured to delete the user data from the main port received by the second receiving unit 1301 if the communication of the main port fails and the backup port is normal; 1301 The user data received from the standby port is deleted.
进一步地,上述接收数据单元1102,还用于在从备用端口接收来自环网的出环节点的用户数据过程中,若检测到主端口通信恢复正常,则继续从备用端口接收来自环网的出环节点的用户数据,或者,切换到从主端口接收来自环网的出环节点的用户数据。Further, the above-mentioned receiving data unit 1102 is also used for receiving the user data from the ring-out node of the ring network from the backup port, if it is detected that the communication of the main port returns to normal, continue to receive the output data from the ring network through the backup port. user data from the ring node, or switch to receive user data from the ring-out node from the ring network from the master port.
本发明实施例还提供了一种环网节点,如图14所示,包括:接收器1401、发射器1402、处理器1403以及存储器1404;The embodiment of the present invention also provides a ring network node, as shown in FIG. 14 , including: a receiver 1401, a transmitter 1402, a processor 1403, and a memory 1404;
其中,上述处理器1403,用于通过接收器1401接收业务报文;确定自身是否为上述业务报文的出环节点,是否为当前转发通道中的最后一个节点;若确定自身为上述业务报文的出环节点,且不是当前转发通道中的最后一个节点,则复制上述业务报文通过发射器1402转发给当前转发通道的下一个节点,并且对上述业务报文进行解封装得到用户数据,通过发射器1402向网络节点转发上述用户数据,上述网络节点为环网外的节点。Wherein, the above-mentioned processor 1403 is used to receive the service message through the receiver 1401; determine whether it is the outbound node of the above-mentioned service message, whether it is the last node in the current forwarding channel; if it is determined that it is the above-mentioned service message and is not the last node in the current forwarding channel, copy the above service message and forward it to the next node of the current forwarding channel through the transmitter 1402, and decapsulate the above service message to obtain user data, pass The transmitter 1402 forwards the user data to a network node, and the network node is a node outside the ring network.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
进一步地,上述处理器1403,还用于若确定自身为上述业务报文的出环节点,且是当前转发通道中的最后一个节点,则对上述业务报文进行解封装得到用户数据,通过发射器1402向网络节点转发上述用户数据。Further, the above-mentioned processor 1403 is also configured to decapsulate the above-mentioned service message to obtain user data if it is determined that it is the outbound node of the above-mentioned service message and is the last node in the current forwarding channel, and transmit The device 1402 forwards the above user data to the network node.
可选地,上述网络节点有两个,上述处理器1403,用于通过发射器1402向网络节点转发上述用户数据包括:用于通过发射器1402向两个网络节点分别转发上述用户数据。Optionally, there are two network nodes, and the processor 1403 being configured to forward the user data to the network nodes through the transmitter 1402 includes: forwarding the user data to the two network nodes through the transmitter 1402 respectively.
本发明实施例还提供了另一种环网节点,如图15所示,包括:接收器1501、发射器1502、处理器1503以及存储器1504;The embodiment of the present invention also provides another ring network node, as shown in FIG. 15 , including: a receiver 1501, a transmitter 1502, a processor 1503, and a memory 1504;
其中,处理器1503,用于通过接收器1501接收用户数据;为上述用户数据封装标签得到业务报文并配置转发通道;上述转发通道指示了转发方向以及在上述转发方向上的两个出环节点;通过发射器1502向转发通道指示的主通道转发上述业务报文;若第二节点检测到主通道方向发生故障,则依据自动保护倒换协议执行倒换,通过发射器1502向备用通道转发上述业务报文。Wherein, the processor 1503 is configured to receive user data through the receiver 1501; obtain a service message and configure a forwarding channel for the above-mentioned user data by encapsulating a label; the above-mentioned forwarding channel indicates a forwarding direction and two outbound nodes in the above-mentioned forwarding direction ; forward the above-mentioned business message to the main channel indicated by the forwarding channel through the transmitter 1502; if the second node detects that the main channel direction fails, then perform switching according to the automatic protection switching protocol, and forward the above-mentioned service message to the backup channel through the transmitter 1502 arts.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
进一步地,上述处理器1503,还用于在向备用通道转发上述业务报文过程中,若检测到主通道恢复正常,则通过发射器1502向主通道转发上述业务报文。Further, the above-mentioned processor 1503 is also configured to forward the above-mentioned service message to the main channel through the transmitter 1502 if it detects that the main channel returns to normal during the process of forwarding the above-mentioned service message to the backup channel.
本发明实施例还提供了另一种网络节点,上述网络节点为环网外的节点,如图16所示,包括:接收器1601、发射器1602、处理器1603以及存储器1604;The embodiment of the present invention also provides another network node. The above network node is a node outside the ring network, as shown in FIG. 16 , including: a receiver 1601, a transmitter 1602, a processor 1603, and a memory 1604;
其中,处理器1603,用于确定主端口和备用端口通信是否正常,上述主端口为上述网络节点与业务报文的转发通道指示的主通道上的第一个出环节点通信的端口;上述备用端口为上述网络节点与业务报文的转发通道指示的主通道上的第二个出环节点通信的端口;若主端口通信正常,则通过接收器1601从主端口接收来自环网的出环节点的用户数据;若主端口通信故障,且备用端口正常,则通过接收器1601从备用端口接收来自环网的出环节点的用户数据。Wherein, the processor 1603 is used to determine whether the communication between the main port and the standby port is normal, the above-mentioned main port is the port for communication between the above-mentioned network node and the first ring-out node on the main channel indicated by the forwarding channel of the service message; the above-mentioned standby port The port is the port for communication between the above-mentioned network node and the second ring-out node on the main channel indicated by the forwarding channel of the service message; if the communication of the main port is normal, the receiver 1601 receives the ring-out node from the ring network from the main port If the communication failure of the main port and the backup port is normal, the receiver 1601 will receive the user data from the out-ring node of the ring network from the backup port.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。网络控制器对两个出环节点发送的数据进行选收。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. The network controller selectively receives the data sent by the two ring-out nodes. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
可选地,上述处理器1603,用于通过接收器1601从主端口接收来自环网的出环节点的用户数据包括:用于开启主端口通过接收器1601接收来自主端口的用户数据,关闭备用端口;或者,通过接收器1601接收来自主端口的用户数据,并接收来自备用端口的用户数据;然后删除来自备用端口的用户数据;Optionally, the above-mentioned processor 1603, being used to receive user data from the ring-out node of the ring network from the main port through the receiver 1601 includes: being used to open the main port to receive user data from the main port through the receiver 1601, and to close the standby port; or, receive user data from the main port through the receiver 1601, and receive user data from the backup port; then delete the user data from the backup port;
上述处理器1603,用于通过接收器1601从备用端口接收来自环网的出环节点的用户数据包括:开启备用端口通过接收器1601接收来自备用端口的用户数据,关闭主端口;或者,通过接收器1601接收来自主端口的用户数据,并接收来自备用端口的用户数据;然后删除来自主端口的用户数据。The above-mentioned processor 1603 is used to receive the user data from the ring-out node of the ring network from the backup port through the receiver 1601, including: opening the backup port to receive user data from the backup port through the receiver 1601, and closing the main port; or, by receiving The device 1601 receives user data from the main port, and receives user data from the backup port; then deletes the user data from the main port.
进一步地,上述处理器1603,在通过接收器1601从备用端口接收来自环网的出环节点的用户数据过程中,还用于若检测到主端口通信恢复正常,则继续通过接收器1601从备用端口接收来自环网的出环节点的用户数据,或者,切换到从主端口通过接收器1601接收来自环网的出环节点的用户数据。Further, the above-mentioned processor 1603, in the process of receiving the user data from the ring-out node of the ring network through the receiver 1601 from the backup port, is also used to continue to send the user data from the backup The port receives user data from the ring-out node of the ring network, or switches to receive user data from the ring-out node of the ring network through the receiver 1601 from the main port.
本发明实施例还提供了一种环网接入业务的保护的系统,如图17所示,包括:包含至少三个节点的环网,环网中包含一个入环节点1701、两个出环节点1702;网络节点1703,上述网络节点为环网外的节点,其中,上述入环节点1701为如本发明实施例所示图10所示的节点,上述出环节点为如本发明实施例所示图9的节点,上述网络节点为如本发明实施例所示图11~12任意一项的网络节点。也可以如下:上述入环节点1701为如本发明实施例所示图15所示的节点,上述出环节点1702为如本发明实施例所示图14的节点,上述网络节点1703为如本发明实施例所示图16的网络节点。对应于不同的出环节点,网络节点1703个数可以有一个或者两个。The embodiment of the present invention also provides a ring network access service protection system, as shown in Figure 17, including: a ring network including at least three nodes, the ring network includes a ring entry node 1701, two exit links Point 1702; network node 1703. The above-mentioned network node is a node outside the ring network, wherein the above-mentioned ring-entry node 1701 is the node shown in FIG. The node shown in Figure 9, the above-mentioned network node is the network node shown in any one of Figures 11-12 as shown in the embodiment of the present invention. It can also be as follows: the above-mentioned ring-entry node 1701 is the node shown in FIG. 15 as shown in the embodiment of the present invention, the above-mentioned ring-out node 1702 is the node shown in FIG. An embodiment of the network node shown in FIG. 16 . Corresponding to different outbound nodes, the number of network nodes 1703 can be one or two.
本发明实施例方案的转发通道中被配置了不止一个出环节点,不是最后一个节点的节点将会复制业务报文继续沿着转发通道进行转发;那么在这个转发通道上,每个出环节点均可以解封业务报文转发数据给网络控制器。网络控制器对两个出环节点发送的数据进行选收。由此可知,本实施例方案中环网保护和网络侧的双归保护是同层级的(都是环网层级的),因此提供一种新的环网接入业务的保护方案,并解决了保护叠加和保护重叠的问题,可以节省PW OAM和APS资源。The forwarding channel of the embodiment of the present invention is configured with more than one ring-out node, and the node that is not the last node will copy the service message and continue forwarding along the forwarding channel; then on this forwarding channel, each ring-out node All can decapsulate the service message and forward the data to the network controller. The network controller selectively receives the data sent by the two ring-out nodes. It can be seen from this that the ring network protection and the dual-homing protection on the network side in the scheme of this embodiment are at the same level (both at the ring network level), so a new protection scheme for ring network access services is provided, and the protection Overlapping and protection overlapping issues can save PW OAM and APS resources.
值得注意的是,上述实施例中,所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the above embodiments, the units included are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are also It is only for the convenience of distinguishing each other, and is not intended to limit the protection scope of the present invention.
另外,本领域普通技术人员可以理解实现上述各方法实施例中的全部或部分步骤是可以通过程序来指令相关的硬件完成,相应的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。In addition, those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned method embodiments can be completed by instructing related hardware through programs, and the corresponding programs can be stored in a computer-readable storage medium. The storage medium can be read-only memory, magnetic disk or optical disk and so on.
以上仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above are only preferred specific implementation modes of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present invention. , should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310723758.3ACN103746891B (en) | 2013-12-24 | 2013-12-24 | A kind of guard method of looped network access service, apparatus and system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310723758.3ACN103746891B (en) | 2013-12-24 | 2013-12-24 | A kind of guard method of looped network access service, apparatus and system |
| Publication Number | Publication Date |
|---|---|
| CN103746891A CN103746891A (en) | 2014-04-23 |
| CN103746891Btrue CN103746891B (en) | 2017-09-26 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310723758.3AActiveCN103746891B (en) | 2013-12-24 | 2013-12-24 | A kind of guard method of looped network access service, apparatus and system |
| Country | Link |
|---|---|
| CN (1) | CN103746891B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108023754A (en)* | 2016-10-31 | 2018-05-11 | 中国移动通信集团广东有限公司 | A kind of implementation method and device of dual homed group main-standby nodes negotiation mechanism |
| CN108259257B (en)* | 2016-12-29 | 2021-07-09 | 中国移动通信集团广东有限公司 | A ring network testing method and device based on ring dual-homing virtual node |
| CN109167742B (en)* | 2018-08-15 | 2021-05-18 | 北京东土科技股份有限公司 | Dual-homing protocol deployment system, method, device, switch and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101072237A (en)* | 2007-03-01 | 2007-11-14 | 中兴通讯股份有限公司 | Eth-loop intelligent protection method |
| CN101102268A (en)* | 2007-08-03 | 2008-01-09 | 华为技术有限公司 | IP ring network, IP ring network routing device, and message forwarding method |
| CN102882757A (en)* | 2012-09-25 | 2013-01-16 | 华为技术有限公司 | Point-to-multipoint service protecting method for ring network and upper ring node in ring network |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101189838B (en)* | 2005-03-31 | 2014-09-10 | 日本电气株式会社 | Ring network system, failure recovery method and nodes |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101072237A (en)* | 2007-03-01 | 2007-11-14 | 中兴通讯股份有限公司 | Eth-loop intelligent protection method |
| CN101102268A (en)* | 2007-08-03 | 2008-01-09 | 华为技术有限公司 | IP ring network, IP ring network routing device, and message forwarding method |
| CN102882757A (en)* | 2012-09-25 | 2013-01-16 | 华为技术有限公司 | Point-to-multipoint service protecting method for ring network and upper ring node in ring network |
| Publication number | Publication date |
|---|---|
| CN103746891A (en) | 2014-04-23 |
| Publication | Publication Date | Title |
|---|---|---|
| JP4743201B2 (en) | Packet ring network system, connection method between packet rings, and connection node between rings | |
| JP5061748B2 (en) | Packet ring network system and packet transfer method | |
| EP2658182B1 (en) | Ring network protection method, network node and ring network | |
| US7944815B2 (en) | System and method for network recovery from multiple link failures | |
| JP5115391B2 (en) | Network connection device | |
| US9871708B2 (en) | Method and system for ring protection switching | |
| CN101479992B (en) | A method and device for realizing point-to-multipoint network link state passthrough | |
| CN102549979A (en) | Method and device for conveying traffic | |
| JP2009524332A (en) | VPLS failure protection for ring networks | |
| CN102484608A (en) | Method and device for transporting traffic in a network | |
| CN104270231B (en) | A kind of system and method for realizing binode interconnection pseudo-wire | |
| CN101931520A (en) | A switching method and system | |
| CN1984039A (en) | Fast re-routing method for shared multi-port transmitting link | |
| JP2008166990A (en) | Ring node device | |
| CN101197733A (en) | Automatic detection method and device for network connectivity | |
| CN101984591A (en) | Service convergence method and system in transport-multiprotocol label switching network | |
| WO2016197950A1 (en) | Route detection method, router device and system | |
| CN108075968A (en) | A kind of network system and pseudo-line service processing method | |
| CN103490921A (en) | Method and device for protecting network, copying node and system | |
| CN101237343B (en) | Method for quick failure switching and quick switching system | |
| CN103746891B (en) | A kind of guard method of looped network access service, apparatus and system | |
| CN108462637A (en) | One kind being routed back to blanking method, controller and system | |
| WO2011011934A1 (en) | Method and apparatus for ethernet tunnel segmentation protection | |
| US20110090783A1 (en) | Method and system for smart protection of ethernet virtual private-rooted multipoint service | |
| CN107547330B (en) | Method and node equipment for transmitting service data |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |