CN103856404A - Looped network data transmission method, device and system - Google Patents

Looped network data transmission method, device and system Download PDF

Info

Publication number
CN103856404A
CN103856404A CN201310722942.6A CN201310722942A CN103856404A CN 103856404 A CN103856404 A CN 103856404A CN 201310722942 A CN201310722942 A CN 201310722942A CN 103856404 A CN103856404 A CN 103856404A
Authority
CN
China
Prior art keywords
ring
message
node
label
hop node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310722942.6A
Other languages
Chinese (zh)
Other versions
CN103856404B (en
Inventor
程永
胡永健
刘凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310722942.6A priority Critical patent/CN103856404B/en
Publication of CN103856404A publication Critical patent/CN103856404A/en
Application granted granted Critical
Publication of CN103856404B publication Critical patent/CN103856404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a looped network data transmission method, device and system. According to the embodiment, messages are received on a working loop of an MPLS-TP looped network, wherein the messages comprise a loop label, a label switching route label, a pseudo-wire label and a payload, the label switching route label comprises loop identification of a target loop and node identification of a target node, the pseudo-wire label comprises loop identification of a source loop and node identification of a source node, a preset non-communication list is inquired according to the loop identification, the label switching route label and the pseudo-wire label in the messages to determine whether the messages are required to be transmitted to nodes of a next hop or not, the messages are transmitted to the nodes of the next hop if the messages are required to be transmitted to the nodes of the next hop, and the operation that the messages are transmitted to the nodes of the next hop is omitted if the messages are not required to be transmitted to the nodes of the next hop. According to the scheme, communication and non-communication between the nodes can be easily and flexibly achieved, the transmission efficiency is improved, and convenience is brought to follow-up maintenance.

Description

Data transmission method, device and system in a kind of looped network
Technical field
The present invention relates to communication technical field, be specifically related to data transmission method, device and system in a kind of looped network.
Background technology
In recent years, along with the development of mobile communication technology, communication service is Internet protocol (IP especially, Internet Protocol) business also rises progressively year by year, in order to meet the demand of ever-increasing IP operation, the various data transfer modes based on IP operation are arisen at the historic moment, and transmission subset (MPLS-TP, MultiProtocol Label Switching Transport Profile) the looped network technology based on multiprotocol label switching is exactly one wherein.
MPLS-TP technology, for instance, can adopt ring topology, twin nuclei, and wherein, outer shroud is also referred to as building ring, and interior ring is also referred to as guard ring.Clockwise and the interior ring of outer shroud bi-directional transfer of data simultaneously counterclockwise, outer shroud carries the management byte of interior loop data bag, and interior ring carries the management byte of outer shroud packet, thereby makes dicyclo protect each other and back up, and improves the fail safe of transfer of data.
The data transfer mode underaction of existing MPLS-TP looped network, is unfavorable for improving efficiency of transmission.
Summary of the invention
The embodiment of the present invention provides data transmission method, device and the system in a kind of looped network, can realize neatly internodal intercommunication and not intercommunication, improves efficiency of transmission.
First aspect, provides the data transmission method in a kind of looped network, comprising:
On the building ring of MPLS-TP looped network, receive message, described message comprises ring label, label switched path label, pseudo line tag and payload, described label switched path label comprises the ring mark of object ring and the node identification of destination node, and described pseudo line tag comprises the ring mark of source ring and the node identification of source node;
According to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to next-hop node;
Need to be by described message repeating to next-hop node if determine, by described message repeating to next-hop node;
Do not need described message repeating, to next-hop node, to omit the operation to next-hop node by described message repeating if determine.
In the possible execution mode of the first, in conjunction with first aspect, described according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, before determining whether described message needs to be transmitted to next-hop node, also comprise:
According to the label switched path label inquiry termination loopback message list in described message, to determine whether as loop;
If be defined as loop, dropping packets;
If determine it is not loop, trigger and carry out according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether described message needs to be transmitted to the operation of next-hop node.
In the possible execution mode of the second, in conjunction with the possible execution mode of the first of first aspect, described according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, need to, by described message repeating to before next-hop node, also comprise determining whether:
Determine that described message is multicast message;
Copy described message, and the message copying is sent to Virtual Switch Instance or the virtual leased line of present node.
In the third possible execution mode, in conjunction with the possible execution mode of the first of first aspect, described according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, need to, by described message repeating to before next-hop node, also comprise determining whether:
Determine that described message is unicast message;
Need to exchange according to the label switched path label in described message is definite time, trigger and carry out according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to the operation to next-hop node by described message repeating;
When being defined as bullet and falling POP according to the label switched path label in described message, described message is sent to Virtual Switch Instance or the virtual leased line of present node.
In the 4th kind of possible execution mode, in conjunction with first to three any possible execution mode of first aspect, first aspect, described by described message repeating to next-hop node, comprising:
Link and the next-hop node of the building ring to described MPLS-TP looped network detect;
If link failure detected, protect and switch, by the guard ring of MPLS-TP looped network, described message is sent to next-hop node;
If next-hop node fault detected, protect and switch, by the guard ring of MPLS-TP looped network, utilize the path of walking around malfunctioning node described message to be sent to the next-hop node of next-hop node;
If both do not detected, link failure did not detect next-hop node fault yet, the building ring by MPLS-TP looped network by described message repeating to next-hop node.
In the 5th kind of possible execution mode, in conjunction with first to three any possible execution mode of first aspect, first aspect, if the building ring of described MPLS-TP looped network comprises core work ring and cut-in operation ring, described by described message repeating to next-hop node, comprising:
If next-hop node is positioned on core work ring; and be principal phase cross ring point; in the time that definite multilink relevant to described next-hop node breaks down; or in the time that definite described next-hop node breaks down; by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
In the 6th kind of possible execution mode; in conjunction with the 5th kind of possible execution mode of first aspect; in the time that definite multilink relevant to described next-hop node breaks down; by the guard ring of MPLS-TP looped network; utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring, comprising:
In the time that definite multilink relevant to described next-hop node breaks down; articulated the choke point of cut-in operation ring by the standby crossing circling point of described next-hop node notice; so that by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
In the 7th kind of possible execution mode; in conjunction with the 5th kind of possible execution mode of first aspect, in the time that definite described next-hop node breaks down, by the guard ring of MPLS-TP looped network; utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring, comprising:
In the time that definite described next-hop node breaks down; by the standby choke point of intersecting circling point perception principal phase cross ring point failure and articulating cut-in operation ring; so that by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
In the 8th kind of possible execution mode, in conjunction with first to three any possible execution mode of first aspect, first aspect, if the building ring of described MPLS-TP looped network comprises core work ring and cut-in operation ring:
If present node is positioned on core work ring, and be principal phase cross ring point,, in the time that described message is sent to the next-hop node being positioned on cut-in operation ring, refresh joining list item;
If present node is positioned on core work ring, and be the standby circling point that intersects, the annexation of working as the Virtual Switch Instance/virtual leased line of described present node and described present node is become and is not blocked from obstruction, or from do not block become block time, remove all list items on described present node, described Virtual Switch Instance/virtual leased line is articulated to the initial condition of cut-in operation ring for blocking.
Second aspect, provides the data transmission device in a kind of looped network, comprises receiving element, query unit, transmitting element and obstruction unit;
Receiving element, for receive message on the building ring of MPLS-TP looped network, described message comprises ring label, label switched path label, pseudo line tag and payload, described label switched path label comprises the ring mark of object ring and the node identification of destination node, and described pseudo line tag comprises the ring mark of source ring and the node identification of source node;
Query unit, for according to the ring label of described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to next-hop node;
Transmitting element, need to be by described message repeating during to next-hop node for determining in query unit, by described message repeating to next-hop node;
Block unit, while not needing described message repeating to next-hop node for determining in query unit, omit the operation to next-hop node by described message repeating.
In the possible execution mode of the first, in conjunction with first aspect, described data transmission device also comprises determining unit;
Described determining unit, for the loopback message list that terminates according to the label switched path label inquiry of described message, to determine whether as loop, if loop, dropping packets; If not when loop, trigger query unit and carry out according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether described message needs to be transmitted to the operation of next-hop node.
In the possible execution mode of the second, in conjunction with the possible execution mode of the first of first aspect, wherein:
Described transmitting element, also, for determining that described message is multicast message, copies described message, and the message copying is sent to Virtual Switch Instance or the virtual leased line of present node.
In the third possible execution mode, in conjunction with the possible execution mode of the first of first aspect, wherein:
Described transmitting element, also for determining that described message is unicast message; Need to exchange according to the label switched path label in described message is definite time, trigger query unit and carry out according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to the operation to next-hop node by described message repeating; When being defined as bullet and falling POP according to the label switched path label in described message, described message is sent to Virtual Switch Instance or the virtual leased line of present node.
In the 4th kind of possible execution mode, in conjunction with first to three any possible execution mode of first aspect, first aspect, described transmitting element, specifically for:
Link and the next-hop node of the building ring to described MPLS-TP looped network detect;
If link failure detected, protect and switch, by described message being sent to next-hop node on the guard ring of MPLS-TP looped network; If next-hop node fault detected, protect and switch, by the guard ring of MPLS-TP looped network, utilize the path of walking around malfunctioning node described message to be sent to the next-hop node of next-hop node;
If both do not detected, link failure did not detect next-hop node fault yet, the building ring by MPLS-TP looped network by described message repeating to next-hop node.
In the 5th kind of possible execution mode, in conjunction with first to three any possible execution mode of first aspect, first aspect, if the building ring of described MPLS-TP looped network comprises core work ring and cut-in operation ring, described transmitting element, specifically for:
If next-hop node is positioned on core work ring; and be principal phase cross ring point; in the time that definite multilink relevant to described next-hop node breaks down; or in the time that definite described next-hop node breaks down; by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
In the 6th kind of possible execution mode, in conjunction with the 5th kind of possible execution mode of first aspect, described transmitting element, specifically for:
If next-hop node is positioned on core work ring; and be principal phase cross ring point; in the time that definite multilink relevant to described next-hop node breaks down; articulated the choke point of cut-in operation ring by the standby crossing circling point of described next-hop node notice; so that by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
In the 7th kind of possible execution mode, in conjunction with the 5th kind of possible execution mode of first aspect, described transmitting element, specifically for:
If next-hop node is positioned on core work ring; and be principal phase cross ring point; in the time that definite described next-hop node breaks down; by the standby choke point of intersecting circling point perception principal phase cross ring point failure and articulating cut-in operation ring; so that by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
In the 8th kind of possible execution mode, in conjunction with first to three any possible execution mode of first aspect, first aspect, if the building ring of described MPLS-TP looped network comprises core work ring and cut-in operation ring, the data transmission device in described looped network also comprises refresh unit, specifically for:
If present node is positioned on core work ring, and be principal phase cross ring point, while described message being sent to the next-hop node being positioned on cut-in operation ring, refresh joining list item;
If present node is positioned on core work ring, and be the standby circling point that intersects, the annexation of working as the Virtual Switch Instance/virtual leased line of described present node and described present node is become and is not blocked from obstruction, or from do not block become block time, remove all list items on described present node, described Virtual Switch Instance/virtual leased line is articulated to the initial condition of cut-in operation ring for blocking.
The third aspect, provides a kind of communication system, comprises the data transmission device in any looped network that the embodiment of the present invention provides.
The embodiment of the present invention adopts and receive message on the building ring of MPLS-TP looped network, wherein, this message adopts MPLS to encapsulate, message comprises ring label, label switched path label, pseudo line tag and payload, and label switched path label comprises the ring mark of object ring and the node identification of destination node, pseudo line tag comprises the ring mark of source ring and the node identification of source node, then, according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether forwarding the packet to next-hop node, if desired, forward the packet to next-hop node, if do not need, omit the operation to next-hop node by described message repeating, owing to having safeguarded a not intercommunication list in this scheme, and can intercommunication by inquiring about whether this not intercommunication list determine between node, therefore, not only can simply and neatly realize internodal intercommunication and not intercommunication, improve efficiency of transmission, and, be also convenient to follow-up maintenance.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of the data transmission method in the looped network that provides of the embodiment of the present invention;
Fig. 2 a is the scene schematic diagram of the MPLS-TP looped network that provides of the embodiment of the present invention;
Fig. 2 b is another flow chart of the data transmission method in the looped network that provides of the embodiment of the present invention;
Fig. 3 is the another flow chart of the data transmission method in the looped network that provides of the embodiment of the present invention;
Fig. 4 a be the embodiment of the present invention provide MPLS-TP looped network generation link failure time scene schematic diagram;
Fig. 4 b be the embodiment of the present invention provide MPLS-TP looped network generation node failure time scene schematic diagram;
Fig. 5 is the another scene schematic diagram of the MPLS-TP looped network that provides of the embodiment of the present invention;
Fig. 6 a be the embodiment of the present invention provide MPLS-TP looped network generation multipoint fault time scene schematic diagram;
Fig. 6 b is scene schematic diagram when principal phase cross ring point breaks down in the MPLS-TP looped network that provides of the embodiment of the present invention;
Fig. 7 is the structural representation of the data transmission device in the looped network that provides of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides data transmission method, device and the system in a kind of looped network.Below be elaborated respectively.
Embodiment mono-,
The present embodiment is described the angle of the data transmission device from looped network, and the data transmission device in this looped network specifically can be integrated in router, and these routers can be used as the node in MPLS-TP looped network.For instance, MPLS-TP looped network can carry integrated service, such as unicast service and multicast service etc.
Data transmission method in a kind of looped network, comprise: on the building ring of MPLS-TP looped network, receive message, wherein, this message comprises ring label, label switched path label, pseudo-line (PW, Pseudo Wire, also referred to as virtual link) label and payload, label switched path (LSP, Label Switched Path) label comprises the node identification of ring mark and the destination node of object ring, pseudo line tag comprises that the ring of source ring identifies and the node identification of source node; According to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to next-hop node; If determine and need to, by described message repeating to next-hop node, forward the packet to next-hop node; Do not need described message repeating, to next-hop node, to omit the operation to next-hop node by described message repeating if determine.
As shown in Figure 1, idiographic flow can be as follows:
101, above receive message at the building ring (being outer shroud) of MPLS-TP looped network.
Wherein, this message can be multicast message, also can be unicast message, different from message in existing looped network is, this message adopts multiprotocol label switching (MPLS, Multi-Protocol Label Switching) encapsulate (existing is according to MAC, message to be forwarded), in this message, can comprise ring label (ring label), label switched path label (lsp label), pseudo line tag (pw label) and payload, the form of this message is " ring label+label switched path label+pseudo line tag+payload ".
Wherein, label switched path label can adopt the form of existing label switched path label on form, but its content can comprise the ring mark (dring id) of object ring and the node identification (dleaf id) of destination node, pseudo line tag can comprise the ring mark (sring id) of source ring and the node identification (sleaf id) of source node.
102, according to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether forwarding the packet to next-hop node, if desired forward the packet to next-hop node, perform step 103; If do not need to forward the packet to next-hop node, perform step 104.
Wherein, this not intercommunication list can comprise ring mark (ring id) and node identification (leaf id), be used to indicate between node whether intercommunication, thereby by the ring label in message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, just can determine whether to forward the packet to next-hop node.
Wherein, in step " according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether this message needs to be transmitted to next-hop node (being step 102) " before, can also determine the current loop that whether formed, if not loop, just according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether this message needs to be transmitted to next-hop node, if formed loop, can be by this packet loss, in step " according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether this message needs to be transmitted to next-hop node " before, the method can also comprise:
According to the label switched path label inquiry termination loopback message list in this message, to determine whether as loop, if loop, dropping packets; If not loop is carried out the step (being step 102) of " inquiring about preset not intercommunication list according to the ring label in this message, label switched path label, pseudo line tag, to determine whether this message needs to be transmitted to next-hop node ".
In addition, each node is receiving after this message, according to the difference of message transmissions mode, can also make further different processing to message, such as, for multicast, now can also copy the Virtual Switch Instance (VSI that a message sends to present node, Virtual Switch Instance) or virtual leased line (VLL, VirtualLeasedLine), so that this VSI or VLL can refresh access Media layer (MAC according to this message copying, Media Access Control) address list, and at VSI or VLL inside, this message is forwarded, and for clean culture, can be in the time needing exchange (swap) according to the label switched path label in this message is definite, directly on ring, exchange (being ring swap), if and when being defined as bullet and falling (POP) according to the label switched path label in this message, enter VSI or VLL, and carry out VSI or the inner forwarding behavior of VLL, in step " according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether need to be by described message repeating to next-hop node (being step 102) ", before, the method can also comprise:
(1) multicast;
Determine that this message is multicast message, copy this message (being multicast message), and the message copying is sent to VSI or the VLL of present node, so that VSI or VLL refresh MAC Address list according to this message copying, and at VSI or VLL inside, described message is forwarded.
(2) clean culture;
Determine that this message is unicast message, while needing exchange (swap) according to the label switched path label in this message is definite, carry out the step of " according to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether forwarding the packet to next-hop node "; While being defined as POP according to the label switched path label in this message, this message is sent to VSI or the VLL of present node, so that VSI or VLL refresh MAC Address list according to this message, and at VSI or VLL inside, this message is forwarded.
It should be noted that, for unknown unicast message, also process according to multicast, do not repeat them here.
If 103 determine need to forward the packet to next-hop node, forward the packet to next-hop node.
For example, specifically can carry out link detecting and node and detect, if all normal (being fault-free); directly forward the packet to next-hop node by building ring, otherwise, if find link failure or node failure; protect and switch, step 103 specifically can be as follows:
Link and the next-hop node of the building ring to this MPLS-TP looped network detect,
If link failure detected, protect and switch, on the guard ring (ring) by MPLS-TP looped network, this message is sent to next-hop node;
If next-hop node fault detected, to protect and switch, the guard ring (ring) by MPLS-TP looped network, utilizes the path of walking around malfunctioning node this message to be sent to the next-hop node of next-hop node;
If both do not detected, link failure did not detect next-hop node fault yet, the building ring by MPLS-TP looped network by described message repeating to next-hop node.
In addition, it should be noted that, this MPLS-TP looped network can be monocycle, can be also that many rings are as dicyclo.Wherein, dicyclo can comprise core work ring and cut-in operation ring, wherein, core work ring and cut-in operation ring can comprise two crossing circling points, one is principal phase cross ring point, another is the standby circling point that intersects, wherein, for principal phase cross ring point and standby VSI or the VLL that intersects these two nodes of circling point, both needed to be articulated in respectively on core work ring, also need to be articulated on cut-in operation ring, but, for standby crossing circling point, its VSI or VLL are articulated in the initial condition of cut-in operation ring for blocking, only have in the time that the standby crossing circling point of principal phase cross ring point notice articulates choke point, or, when standby crossing circling point perception principal phase cross ring point failure, the standby circling point that intersects just can be connected (articulating) choke point.
If the building ring of this MPLS-TP looped network comprises core work ring and cut-in operation ring, step " forward the packet to next-hop node " specifically can be as follows:
If next-hop node is positioned on core work ring, and be principal phase cross ring point, in the time that definite multilink relevant to this next-hop node breaks down (multipoint fault occurs), or in the time that definite described next-hop node breaks down, by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job this message transmissions in cut-in operation ring for intersecting ring; Specifically can be as follows:
In the time that definite multilink relevant to this next-hop node breaks down; articulated the choke point of cut-in operation ring by the standby crossing circling point of described next-hop node notice; to by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job described message transmissions in cut-in operation ring for intersecting ring.
In the time that definite this next-hop node breaks down, by the standby choke point of intersecting circling point perception principal phase cross ring point failure and articulating cut-in operation ring, to by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job described message transmissions in cut-in operation ring for intersecting ring.
In addition, obstructed according to the position of present node, the subsequent treatment of its required execution also can be different, for example, specifically can be as follows:
If present node (being the executive agent of step 101~104) is positioned on core work ring, and be principal phase cross ring point, in the time that this message is sent to the next-hop node being positioned on cut-in operation ring, also need to refresh joining list item, wherein, this joining list item can comprise ring mark and node identification, be mainly used in when receive from other interfaces message using this present node as source node time, this message that judges whether to terminate (being now loopback).
And if present node (being the executive agent of step 101~104) is positioned on core work ring, and be the standby circling point that intersects, working as this present node and the VSI of described present node or the annexation of VLL is become and is not blocked from obstruction, or from do not block become block time, also need to remove all list items on this present node, wherein, the initial condition that VSI or VLL are articulated to cut-in operation ring is for blocking.
If 104 determine and do not need to forward the packet to next-hop node, omit the operation that forwards the packet to next-hop node.
For example, wherein, the operation that omission forwards the packet to next-hop node can be to be specifically failure to actuate, and such as this message not being processed, can be also abandon this message or block the operations such as this message, does not repeat them here.
As from the foregoing, the present embodiment adopts and receive message on the building ring of MPLS-TP looped network, wherein, this message adopts MPLS to encapsulate, message comprises ring label, label switched path label, pseudo line tag and payload, and label switched path label comprises the ring mark of object ring and the node identification of destination node, pseudo line tag comprises the ring mark of source ring and the node identification of source node, then, according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether forwarding the packet to next-hop node, if desired, forward the packet to next-hop node, if do not need, omit the operation to next-hop node by described message repeating, due in this scheme, employing be that MPLS encapsulates message, when therefore message transmission on looped network, without refreshing MAC table, so can improve the speed of switching, and, due in this scheme, safeguard a not intercommunication list, and can intercommunication by inquiring about whether this not intercommunication list determine between node, therefore, not only can simply and neatly realize internodal intercommunication and not intercommunication, improve efficiency of transmission, and, be also convenient to follow-up maintenance.
According to the described method of embodiment mono-, below will in embodiment bis-, three, four and five, be described in further detail for example.
Embodiment bis-,
In the present embodiment, will be specially looped network processing module with the data transmission device in this looped network, and be specifically integrated in router, and router is that example describes as the node in MPLS-TP looped network.
As shown in Figure 2 a, can set up MPLS-TP looped network based on Ethernet, this MPLS-TP looped network comprises building ring (being outer shroud) and guard ring (ring), this building ring and guard ring connect each node in Ethernet, for convenience, in the present embodiment, to comprise node A with this MPLS-TP looped network, Node B, node C and node D are that example describes, wherein, each node comprises looped network processing module (such as RPR module or MPLS-TP looped network module etc.) and VSI(or VLL), wherein, each VSI(or VLL) be all articulated on building ring, wherein, dotted line in Fig. 2 a represents the transmission route of message.
Wherein, for how different nodes is distinguished, each has an identify label with each node, such as the identify label of root is root mark (root id), the identify label of node is node identification (leaf id), and, in the time that the message of network side is encapsulated, also these marks can be encapsulated in message, the form of network side message can be as shown in Table 1:
Table one
Ring label Label switched path label Pseudo line tag Payload
[0116]wherein, label switched path label can adopt the form of existing label switched path label on form, but its content can comprise the ring mark (dring id) of object ring and the node identification (dleaf id) of destination node, pseudo line tag can comprise the ring mark (sring id) of source ring and the node identification (sleaf id) of source node.
In addition, on each node, all can configure not intercommunication list, wherein, this not intercommunication list can comprise ring mark (ring id) and node identification (leaf id), be used to indicate between node whether intercommunication, thereby by the ring label in message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, just can determine whether to forward the packet to next-hop node.
Except needs configure not intercommunication list, for fear of loopback, also need the list of configuration termination loopback message at source node, this termination loopback message list can comprise ring mark (ring id) and node identification (leaf id), like this, according to the label switched path label in message, by inquiring about this termination loopback message list, just can determine the current loop (whether getting back to source node) that whether formed, to further process, such as, if loop, dropping packets; If not loop is carried out the step of " inquiring about preset not intercommunication list according to the ring label in this message, label switched path label, pseudo line tag, to determine whether this message needs to be transmitted to next-hop node ", etc.
Based on the MPLS-TP ring network structure shown in Fig. 2 a, below will, taking multicast as example, it be carried out to flow process and be elaborated.
Wherein, it should be noted that, can determine in several ways whether current message is multicast message, such as, multicast message can adopt specific ring mark and node identification, like this, whether just can identify current message according to this ring mark and node identification is multicast message, or, also can indicate whether current message is multicast message by extra mark, etc., do not repeat them here.
As shown in Figure 2 b, the data transmission method in a kind of looped network, idiographic flow can be as follows:
201, access node A in source is upper circling point, VSI(or the VLL of source access node A) receive multicast source send initial message.
202, the VSI(of source access node A or VLL) determine that this initial message is multicast message after, by looped network processing module, this initial message is carried out to MPLS encapsulation.
Wherein, after this encapsulation, message can comprise ring label, label switched path label, pseudo line tag and payload.
Wherein, label switched path label can adopt the form of existing label switched path label on form, but its content can comprise the ring mark of object ring and the node identification of destination node, pseudo line tag can comprise the ring mark of source ring and the node identification of source node.
Such as, this initial message can be encapsulated as: the ring of object ring is designated " ring1 ", the node identification of destination node is particular value multicast id, the ring of source ring is designated " ring1 ", the node identification of source node is " root1 ", and this message of mark is multicast message in the reserved word of ring label.
203, to termination loopback message, list is configured the looped network processing module of source access node A.
Wherein, this termination loopback message list can comprise ring mark and node identification, like this, according to the label switched path label in message, by inquiring about this termination loopback message list, just can determine the current loop (whether getting back to source node) that whether formed.
Such as, can be in termination loopback message list configuration at this: when the ring that receives source ring is designated " ring1 ", when the node identification of source node is " root1 ", be defined as loop.
204, the VSI(of source access node A or VLL) according to the various information in message after encapsulation, such as refreshing MAC Address list according to MAC Address, ring mark and node identification etc., and at VSI(or VLL) inner described message is forwarded.
205, the looped network processing module of source access node A is according to the ring label in message after this encapsulation, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by message repeating after this encapsulation to next-hop node B, if desired by message repeating after this encapsulation to next-hop node B, perform step 206; To next-hop node B, omit the operation to next-hop node B by the message repeating after this encapsulation if do not need message repeating after this encapsulation.
Wherein, this not intercommunication list can comprise ring mark and node identification, be used to indicate between node whether intercommunication, thereby by the ring label in message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, just can determine whether to forward the packet to next-hop node B.
If 206 determine need to forward the packet to next-hop node B, the looped network processing module of source access node A by message after this encapsulation by work loop send to next-hop node B.
207, the looped network processing module of Node B receives message after this encapsulation, determine after this encapsulation that message is multicast message, so copy message after this encapsulation, and the message copying is sent to VSI(or the VLL of present node), so that VSI(or VLL) refresh MAC Address list according to this message copying, and at VSI(or VLL) inner this message copying is forwarded.
208, the looped network processing module of Node B is according to the ring label in message after this encapsulation, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by message repeating after this encapsulation to next-hop node C, if desired by message repeating after this encapsulation to next-hop node C, perform step 209; To next-hop node C, omit the operation to next-hop node C by the message repeating after this encapsulation if do not need message repeating after this encapsulation.
Wherein, step 207 and 208 execution can be in no particular order.
It should be noted that, now can also be according to the label switched path label inquiry termination loopback message list in message after this encapsulation to determine whether to form loop, due in the present embodiment, the ring of source ring is designated " ring1 ", the node identification of source node is " root1 ", therefore, does not now form loop, therefore, can directly perform step 208.
If 209 determine need to forward the packet to next-hop node C, the looped network processing module of Node B by message after this encapsulation by work loop send to next-hop node C.
210, the looped network processing module of node C receives message after this encapsulation, determine after this encapsulation that message is multicast message, so copy message after this encapsulation, and the message copying is sent to VSI(or the VLL of present node), so that VSI(or VLL) refresh MAC Address list according to this message copying, and at VSI(or VLL) inner this message copying is forwarded.
211, the looped network processing module of node C is according to the ring label in message after this encapsulation, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by message repeating after this encapsulation to next-hop node D, if desired by message repeating after this encapsulation to next-hop node D, perform step 212; To next-hop node D, omit the operation to next-hop node D by the message repeating after this encapsulation if do not need message repeating after this encapsulation.
Wherein, step 210 and 211 execution can be in no particular order.
It should be noted that, now can also be according to the label switched path label inquiry termination loopback message list in message after this encapsulation to determine whether to form loop, due in the present embodiment, the ring of source ring is designated " ring1 ", the node identification of source node is " root1 ", therefore, does not now form loop, therefore, can directly perform step 211.
If 212 determine need to forward the packet to next-hop node D, the looped network processing module of node C by message after this encapsulation by work loop send to next-hop node D.
213, the looped network processing module of node D receives message after this encapsulation, determine after this encapsulation that message is multicast message, so copy message after this encapsulation, and the message copying is sent to VSI(or the VLL of present node), so that VSI(or VLL) refresh MAC Address list according to this message copying, and at VSI(or VLL) inner this message copying is forwarded.
214, the looped network processing module of node D is according to the ring label in message after this encapsulation, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by message repeating after this encapsulation to next-hop node A, if desired by message repeating after this encapsulation to next-hop node A, perform step 215; To next-hop node A, omit the operation to next-hop node A by the message repeating after this encapsulation if do not need message repeating after this encapsulation.
Wherein, step 213 and 214 execution can be in no particular order.
It should be noted that, now can also be according to the label switched path label inquiry termination loopback message list in message after this encapsulation to determine whether to form loop, due in the present embodiment, the ring of source ring is designated " ring1 ", the node identification of source node is " root1 ", therefore, does not now form loop, therefore, can directly perform step 215.
If 215 determine need to forward the packet to next-hop node A, the looped network processing module of node D by message after this encapsulation by work loop send to next-hop node A.
216, the looped network processing module of source access node A receives after this encapsulation after message, according to the label switched path label inquiry termination loopback message list in message after this encapsulation, because the ring of source ring is designated " ring1 ", the node identification of source node is " root1 ", so be defined as loop, so, abandon this envelope message.
As from the foregoing, the present embodiment adopts receiving group message on the building ring of MPLS-TP looped network, wherein, this multicast message adopts MPLS to encapsulate, multicast message comprises ring label, label switched path label, pseudo line tag and payload, and label switched path label comprises the ring mark of object ring and the node identification of destination node, pseudo line tag comprises the ring mark of source ring and the node identification of source node, then, according to the ring label in this multicast message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether this multicast message need to be transmitted to next-hop node, if desired, this multicast message is transmitted to next-hop node, if do not need, omit the operation that this multicast message is transmitted to next-hop node, due in this scheme, employing be that MPLS encapsulates message, when therefore message transmission on looped network, without refreshing MAC table, so can improve the speed of switching, and, due in this scheme, safeguard a not intercommunication list, and can intercommunication by inquiring about whether this not intercommunication list determine between node, therefore, not only can simply and neatly realize internodal intercommunication and not intercommunication, improve efficiency of transmission, and, be also convenient to follow-up maintenance.
Embodiment tri-,
Identical with embodiment bis-, with data transmission device in this looped network be specially looped network processing module equally, and be specifically integrated in router, and router is that example describes as the node in MPLS-TP looped network.Different from embodiment bis-, in the present embodiment, will describe as an example of clean culture example.
As shown in Figure 3, the data transmission method in a kind of looped network, idiographic flow can be as follows:
301, access node A in source is upper circling point, the VSI(of source node A or VLL) obtain initial message.
302, the VSI(of source access node A or VLL) determine that this initial message is unicast message after, by looped network processing module, this initial message is carried out to MPLS encapsulation.
Wherein, after this encapsulation, message can comprise ring label, label switched path label, pseudo line tag and payload.
Wherein, label switched path label can adopt the form of existing label switched path label on form, but its content can comprise the ring mark of object ring and the node identification of destination node, pseudo line tag can comprise the ring mark of source ring and the node identification of source node.
Such as, this initial message can be encapsulated as: the ring of object ring is designated " ring1 ", the node identification of destination node is " root2 ", and the ring of source ring is designated " ring1 ", and the node identification of source node is " root1 ".
Wherein, " root1 " is the node identification of node A, and " root2 " is the node identification of node D.
303, to termination loopback message, list is configured the looped network processing module of source access node A.
Wherein, this termination loopback message list can comprise ring mark and node identification, like this, according to the label switched path label in message, by inquiring about this termination loopback message list, just can determine the current loop (whether getting back to source node) that whether formed.
Such as, can be in termination loopback message list configuration at this: when the ring that receives source ring is designated " ring1 ", when the node identification of source node is " root1 ", be defined as loop.
304, the VSI(of source access node A or VLL) according to the various information in message after encapsulation, such as refreshing MAC Address list according to MAC Address, ring mark and node identification etc., and at VSI(or VLL) inner described message is forwarded.
305, when the looped network processing module of source access node A needs exchange (swap) according to the label switched path label in message after this encapsulation is definite, according to the ring label in message after this encapsulation, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by message repeating after this encapsulation to next-hop node B, if desired by message repeating after this encapsulation to next-hop node B, perform step 305; To next-hop node B, omit the operation to next-hop node B by the message repeating after this encapsulation if do not need message repeating after this encapsulation.
Wherein, this not intercommunication list can comprise ring mark and node identification, be used to indicate between node whether intercommunication, thereby by the ring label in message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, just can determine whether to forward the packet to next-hop node B.
If 306 determine need to forward the packet to next-hop node B, the looped network processing module of source access node A by message after this encapsulation by work loop send to next-hop node B.
307, the looped network processing module of Node B receives message after this encapsulation, determine after this encapsulation that message is unicast message, so in the time needing exchange (swap) according to the label switched path label in message after this encapsulation is definite, according to the various information in message after encapsulation, such as refreshing MAC Address list according to MAC Address, ring mark and node identification etc.
308, the looped network processing module of Node B is according to the ring label in message after this encapsulation, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by message repeating after this encapsulation to next-hop node C, if desired by message repeating after this encapsulation to next-hop node C, perform step 308; To next-hop node C, omit the operation to next-hop node C by the message repeating after this encapsulation if do not need message repeating after this encapsulation.
Wherein, step 307 and 308 execution can be in no particular order.
It should be noted that, now can also be according to the label switched path label inquiry termination loopback message list in message after this encapsulation to determine whether to form loop, due in the present embodiment, the ring of source ring is designated " ring1 ", the node identification of source node is " root1 ", therefore, does not now form loop, therefore, can directly perform step 307.
If 309 determine need to forward the packet to next-hop node C, the looped network processing module of Node B by message after this encapsulation by work loop send to next-hop node C.
310, the looped network processing module of node C receives message after this encapsulation, determine after this encapsulation that message is unicast message, so in the time needing exchange (swap) according to the label switched path label in message after this encapsulation is definite, according to the various information in message after encapsulation, such as refreshing MAC Address list according to MAC Address, ring mark and node identification etc.
311, the looped network processing module of node C is according to the ring label in message after this encapsulation, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by message repeating after this encapsulation to next-hop node D, if desired by message repeating after this encapsulation to next-hop node D, perform step 311; To next-hop node D, omit the operation to next-hop node D by the message repeating after this encapsulation if do not need message repeating after this encapsulation.
Wherein, step 310 and 311 execution can be in no particular order.
It should be noted that, now can also be according to the label switched path label inquiry termination loopback message list in message after this encapsulation to determine whether to form loop, due in the present embodiment, the ring of source ring is designated " ring1 ", the node identification of source node is " root1 ", therefore, does not now form loop, therefore, can directly perform step 307.
If 312 determine need to forward the packet to next-hop node D, the looped network processing module of Node B by message after this encapsulation by work loop send to next-hop node D.
313, the looped network processing module of node D receives message after this encapsulation, determine after this encapsulation that message is unicast message, determine that node D is destination node so be defined as POP(according to the label switched path label in this message) time, message after this encapsulation is sent to VSI(or the VLL of node D).
It should be noted that, for unknown unicast message, also process according to multicast, do not repeat them here.
As from the foregoing, the present embodiment adopts and receive message on the building ring of MPLS-TP looped network, wherein, this unicast message adopts MPLS to encapsulate, unicast message comprises ring label, label switched path label, pseudo line tag and payload, and label switched path label comprises the ring mark of object ring and the node identification of destination node, pseudo line tag comprises the ring mark of source ring and the node identification of source node, then, according to the ring label in this unicast message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether forwarding the packet to next-hop node, if desired, forward the packet to next-hop node, if do not need, omit the operation that forwards the packet to next-hop node, due in this scheme, employing be that MPLS encapsulates message, when therefore message transmission on looped network, without refreshing MAC table, so can improve the speed of switching, and, due in this scheme, safeguard a not intercommunication list, and can intercommunication by inquiring about whether this not intercommunication list determine between node, therefore, not only can simply and neatly realize internodal intercommunication and not intercommunication, improve efficiency of transmission, and, be also convenient to follow-up maintenance.
Embodiment tetra-,
According on the basis of embodiment bis-and three; in order to improve the fail safe of transfer of data; each node is before forwarding the packet to next-hop node; carry out link detecting and node and detect, if all normal (being fault-free) directly forwards the packet to next-hop node by building ring; otherwise; if find link failure or node failure, protect and switch, below will be elaborated respectively.
(1) link failure;
Referring to Fig. 4 a, node A and Node B detect respectively the link occurs fault 1 between node A and Node B, and A point is protected and switched (being that wrapping switches); message is switched on guard ring and is transmitted; until Node B, then switch and get back to building ring from guard ring, complete protection and switch.
Wherein, the dotted line in Fig. 4 a represents the transmission route of message, and this protection is switched and is similar to common ring switching, does not repeat them here.
(2) node failure;
Referring to Fig. 4 b, upstream router, such as Protocol Independent Multicast (PIM, Protocol Independent Multicast) two-way converting detection (BFD, Bidirectional Forwarding Detection) equipment or multicast source detect that node A breaks down 2, upstream router trigger protection is switched, message is issued by node D, node D detects that node A breaks down 2, triggering the protection of looped network switches, message is switched to guard ring from building ring, be transferred to Node B always, just message is switched back to building ring from guard ring, completing protection switches, after this, message continues to transmit on building ring, do not repeat them here.
Wherein, the dotted line in Fig. 4 b represents the transmission route of message, and the protection of this looped network is switched and is similar to common ring switching, does not repeat them here.
Visible, node failure and link failure reversed process are similar, in addition, it should be noted that, the reversed process of clean culture and multicast is similar, and the reversed process of two point fault and Single Point of Faliure is also similar, does not repeat them here.
As from the foregoing; the present embodiment can be realized equally and implement two and three same beneficial effects; and; because the present embodiment is in the time transmitting message; can carry out fault detect to link and node; and in the time fault being detected, protect and switch, so, the fail safe that can further improve transfer of data.
Embodiment five,
In implementing two, three and four, all describe as an example of monocycle example, should be understood that, for many rings, be applicable to too said method, below will be elaborated as an example of dicyclo example.
As shown in Figure 5; can set up MPLS-TP looped network based on Ethernet; this MPLS-TP looped network is twin nuclei; comprise core ring (encircling 1(ring1)) and access ring (encircling 2(ring2)); core ring comprises again building ring (being outer shroud) and guard ring (ring), referred to here as core work ring and core guard ring, in like manner; access ring also comprises building ring (being outer shroud) and guard ring (ring), referred to here as cut-in operation ring and access guard ring.This building ring and guard ring connect each node in Ethernet; for convenience; in the present embodiment; to comprise that node A, Node B, node C, node D, node E and node F describe as example taking this MPLS-TP looped network; wherein; Node B is principal phase cross ring point, and node C is the standby circling point that intersects.Wherein, each node comprises looped network processing module and VSI(or VLL), wherein, each VSI(or VLL) be all articulated on building ring, wherein, the dotted line in Fig. 5 represents the transmission route of message.
Wherein, for how different nodes is distinguished, each has an identify label with each node, such as the identify label of root is root mark (root id), the identify label of node is node identification (leaf id), and, in the time that the message of network side is encapsulated, also these marks can be encapsulated in message, the form of network side message can be as shown in Table 2:
Table two
Ring label Label switched path label Pseudo line tag Payload
Wherein, label switched path label can adopt the form of existing label switched path label on form, but its content can comprise the ring mark (dring id) of object ring and the node identification (dleaf id) of destination node, pseudo line tag can comprise the ring mark (sring id) of source ring and the node identification (sleaf id) of source node.
In addition, on each node, all can configure not intercommunication list, wherein, this not intercommunication list can comprise ring mark (ring id) and node identification (leaf id), be used to indicate between node whether intercommunication, thereby by the ring label in message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, just can determine whether to forward the packet to next-hop node.
Except needs configure not intercommunication list, for fear of loopback, also need the list of configuration termination loopback message at principal phase cross ring point and the standby circling point (being Node B and node C) that intersects, this termination loopback message list can comprise ring mark (ring id) and node identification (leaf id), like this, according to the label switched path label in message, by inquiring about this termination loopback message list, just can determine the current loop (whether getting back to source node) that whether formed, to further process, such as, if loop, dropping packets; If not loop is carried out the step of " inquiring about preset not intercommunication list according to the ring label in this message, label switched path label, pseudo line tag, to determine whether this message needs to be transmitted to next-hop node ", etc.
MPLS-TP ring network structure based on shown in Fig. 5, below will, taking multicast as example, carry out flow process to it and be elaborated.
Wherein, it should be noted that, can determine in several ways whether current message is multicast message, such as, multicast message can adopt specific ring mark and node identification, like this, whether just can identify current message according to this ring mark and node identification is multicast message, or, also can indicate whether current message is multicast message by extra mark, etc., do not repeat them here.
Data transmission method under this twin nuclei and the data transmission method of monocycle are similar, just principal phase cross ring point, it is Node B, in the time that this message is sent to the next-hop node E being positioned on cut-in operation ring, also need to refresh joining list item, wherein, this joining list item can comprise ring mark and node identification, be mainly used in when receive from other interfaces message using this present node as source node time, this message that judges whether to terminate (being now loopback).
In addition, for standby circling point, i.e. the node C of intersecting, when node C and the VSI of node C or the annexation of VLL are become and do not blocked from obstruction, or become while blocking from not blocking, also need to remove all list items on node C, wherein, the initial condition that VSI or VLL are articulated to cut-in operation ring is for blocking.
As from the foregoing, the present embodiment adopts and receive message on the building ring of MPLS-TP looped network, wherein, this message comprises ring label, label switched path label, pseudo line tag and payload, and label switched path label comprises the ring mark of object ring and the node identification of destination node, pseudo line tag comprises the ring mark of source ring and the node identification of source node, then, according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether forwarding the packet to next-hop node, if desired, forward the packet to next-hop node, if do not need, omit the operation that forwards the packet to next-hop node, due in this scheme, employing be that MPLS encapsulates message, when therefore message transmission on looped network, without refreshing MAC table, so can improve the speed of switching, and, due in this scheme, safeguard a not intercommunication list, and can intercommunication by inquiring about whether this not intercommunication list determine between node, therefore, not only can simply and neatly realize internodal intercommunication and not intercommunication, improve efficiency of transmission, and, be also convenient to follow-up maintenance.
Embodiment six,
According on the basis of embodiment five; in order to improve the fail safe of transfer of data; each node is before forwarding the packet to next-hop node; carrying out link detecting and node detects; if all normal (being fault-free), directly forwards the packet to next-hop node by building ring, otherwise; if find link failure or node failure, protect and switch.
Wherein, the processing mode of Single Point of Faliure (except principal phase cross ring point) is identical with enforcement four, does not repeat them here, and below will the situation of multipoint fault and principal phase cross ring point be elaborated respectively.
Referring to Fig. 6 a; between node A and principal phase cross ring point B, break down 1; principal phase cross ring point B and standby intersecting between circling point C also break down 2; owing to now also intercommunication between cut-in operation ring and principal phase intersection point being detected for intersecting circling point C; therefore the standby circling point C that intersects is left intact for cut-in operation ring, cannot accomplish that the protection of dotted line 1 is switched, under this kind of fault condition; the service disconnection of lower extension access ring, node A, C and D are obstructed to the unicast traffic of Node B, C, E and F.For this reason, now, can articulate choke point by the standby circling point C that intersects of principal phase cross ring point B notice, connect choke point, thereby by the standby circling point C that intersects, message is sent on access ring.Such as, specifically can be as follows:
Message is handed down to node A by multicast source; node A detects the link occurs fault between node A and principal phase cross ring point B; therefore trigger protection is switched; by protection bridge, message is changed to core guard ring from core work ring cutting; because the link of principal phase cross ring point B and standby crossing circling point C also breaks down; therefore this message can be along core guard ring; while being sent to the standby circling point C of intersecting always; just by protection bridge, message is switched back to core work ring, then according to normal link transmission mode, message is transmitted.In addition, principal phase cross ring point B also perceives the link between self (being principal phase cross ring point B) and node A, and self all breaks down with the link between standby crossing circling point C at (principal phase cross ring point B), therefore, the standby circling point C that intersects of principal phase cross ring point B notice articulates choke point, connect choke point, message can be sent to message on cut-in operation ring by the standby circling point C of intersecting, because principal phase cross ring point B is obstructed with the link between standby crossing circling point C, therefore, message is in the time entering cut-in operation ring by standby crossing circling point C, can message be switched on access guard ring by protection bridge, while being sent to principal phase cross ring point B always, just by protection bridge, message is switched to tieback and enter building ring, then according to normal link transmission mode, message is transmitted, do not repeat them here.
Referring to Fig. 6 b, due to principal phase cross ring point, B breaks down 1, therefore, now the standby circling point C that intersects can detect not intercommunication between cut-in operation ring and principal phase intersection point, so, the standby circling point C that intersects articulates choke point, connects choke point, thereby message can be sent to message on access ring by the standby circling point C of intersecting.Such as, specifically can be as follows:
Message is handed down to node A by multicast source; node A detects that principal phase cross ring point B breaks down; therefore trigger protection is switched; by protection bridge, message is changed to core guard ring from core work ring cutting; while being sent to the standby circling point C of intersecting always; just by protection bridge, message is switched back to core work ring, then according to normal link transmission mode, message is transmitted.In addition, the standby circling point C that intersects also detects that principal phase cross ring point B breaks down, therefore, the standby circling point C that intersects articulates choke point, connect choke point, message can be sent to message on cut-in operation ring by the standby circling point C of intersecting, due to principal phase cross ring point, B breaks down, therefore, message is in the time entering cut-in operation ring by standby crossing circling point C, can message be switched on access guard ring by protection bridge, while being sent to principal phase cross ring point E always, just by protection bridge, message is switched to tieback and enter building ring, then according to normal link transmission mode, message is transmitted, do not repeat them here.
As from the foregoing, the present embodiment can be realized equally and implement five same beneficial effects, and; because the present embodiment is in the time transmitting message, can carries out fault detect to link and node, and protect and switch in the time fault being detected; so, the fail safe that can further improve transfer of data.
Embodiment seven,
In order to implement better above method, the embodiment of the present invention also provides the data transmission device in a kind of looped network, and as shown in Figure 7, this data transmission device comprises receiving element 701, query unit 702, transmitting element 703 and blocks unit;
Receiving element 701, for receiving message on the building ring at MPLS-TP looped network.
Wherein, this message can be multicast message, also can be unicast message, this message adopts MPLS to encapsulate, in this message, can comprise ring label (ring label), label switched path label (lsp label), pseudo line tag (pw label) and payload, the form of this message is " ring label+label switched path label+pseudo line tag+payload ".
Wherein, label switched path label can adopt the form of existing label switched path label on form, but its content can comprise the ring mark (dring id) of object ring and the node identification (dleaf id) of destination node, pseudo line tag can comprise the ring mark (sring id) of source ring and the node identification (sleaf id) of source node.
Query unit 702, for according to the ring label of this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to next-hop node.
Wherein, this not intercommunication list can comprise ring mark (ring id) and node identification (leaf id), be used to indicate between node whether intercommunication, thereby by the ring label in message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, just can determine whether to forward the packet to next-hop node.
Transmitting element 703, need to forward the packet to next-hop node time, forwards the packet to next-hop node for determining in query unit 702;
Block unit 704, while not needing to forward the packet to next-hop node for determining in query unit, omit the operation that forwards the packet to next-hop node.
Wherein, in query unit 702 according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, before determining whether this message needs to be transmitted to next-hop node, can also determine the current loop that whether formed, if not loop, just according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether this message needs to be transmitted to next-hop node, if formed loop, can be by this packet loss, the data transmission device in this looped network can also comprise determining unit,
Determining unit, for the loopback message list that terminates according to the label switched path label inquiry of this message, to determine whether as loop, if loop, dropping packets; If not when loop, trigger query unit and carry out according to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether this message needs to be transmitted to the operation of next-hop node.
In addition, each node is receiving after this message, according to the difference of message transmissions mode, can also make further different processing to message, such as, for multicast, now can also copy a message and send to VSI or the VLL of present node, so that this VSI or VLL can refresh MAC Address list according to this message copying, and at VSI or VLL inside, this message are forwarded; And for clean culture, can be in the time needing exchange (swap) according to the label switched path label in this message is definite, directly on ring, exchange (being ring swap), if and while being defined as POP according to the label switched path label in this message, enter VSI or VLL, and carry out VSI or the inner forwarding behavior of VLL; That is:
Transmitting element 703, can also be used for determining that this message is multicast message, copy this message, and the message copying is sent to VSI or the VLL of present node, so that VSI or VLL refresh MAC Address list according to this message copying, and at VSI or VLL inside, this message is forwarded.
Transmitting element 703, can also be used for determining that this message is unicast message; Need to exchange according to the label switched path label in this message is definite time, trigger query unit 702 and carry out according to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to the operation to next-hop node by described message repeating; According to the label switched path label in this message while being defined as POP, described message is sent to VSI or the VLL of present node so that VSI or VLL refresh MAC Address list according to described message, and at VSI or VLL inside, this message is forwarded.
It should be noted that, for unknown unicast message, also process according to multicast, do not repeat them here.
Wherein, in the time forwarding the packet to next-hop node; can carry out link detecting and node detects; if all normal (being fault-free), directly forwards the packet to next-hop node by building ring, otherwise; if find link failure or node failure; protect and switch, i.e. transmitting element 703, specifically can be for:
Link and the next-hop node of the building ring to this MPLS-TP looped network detect,
If link failure detected, protect and switch, on the guard ring (ring) by MPLS-TP looped network, this message is sent to next-hop node;
If next-hop node fault detected, protect and switch, by the guard ring (ring) of MPLS-TP looped network, utilize the path of walking around malfunctioning node that this message is sent to next-hop node;
If both do not detected, link failure did not detect next-hop node fault yet, the building ring by MPLS-TP looped network by described message repeating to next-hop node.
In addition, it should be noted that, this MPLS-TP looped network can be monocycle, can be also that many rings are as dicyclo.Wherein, dicyclo can comprise core work ring and cut-in operation ring, wherein, core work ring and cut-in operation ring can comprise two crossing circling points, one is principal phase cross ring point, another is the standby circling point that intersects, wherein, for principal phase cross ring point and standby VSI or the VLL that intersects these two nodes of circling point, need to be articulated in respectively on core work ring, also need to be articulated on cut-in operation ring, but, for standby crossing circling point, its VSI or VLL are articulated in the initial condition of cut-in operation ring for blocking, only have in the time that the standby crossing circling point of principal phase cross ring point notice articulates choke point, or, when standby crossing circling point perception principal phase cross ring point failure, the standby circling point that intersects just can be connected (articulating) choke point.
If the building ring of this MPLS-TP looped network comprises core work ring and cut-in operation ring, the data transmission device in this looped network can also comprise refresh unit, specifically for:
If present node is positioned on core work ring, and be principal phase cross ring point, while described message being sent to the next-hop node being positioned on cut-in operation ring, refresh joining list item;
If present node is positioned on core work ring, and be the standby circling point that intersects, the annexation of working as the Virtual Switch Instance/virtual leased line of described present node and described present node is become and is not blocked from obstruction, or from do not block become block time, remove all list items on described present node, described Virtual Switch Instance/virtual leased line is articulated to the initial condition of cut-in operation ring for blocking.
Now; transmitting element 703; specifically can also be used for: if next-hop node is positioned at core work ring; and be principal phase cross ring point; in the time that definite multilink relevant to this next-hop node breaks down (multipoint fault occurs); or in the time that definite described next-hop node breaks down, by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job this message transmissions in cut-in operation ring for intersecting ring.Specifically can be as follows:
In the time that definite multilink relevant to this next-hop node breaks down; articulated the choke point of cut-in operation ring by the standby crossing circling point of described next-hop node notice; to by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job described message transmissions in cut-in operation ring for intersecting ring.
In the time that definite this next-hop node breaks down, by the standby choke point of intersecting circling point perception principal phase cross ring point failure and articulating cut-in operation ring, to by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job described message transmissions in cut-in operation ring for intersecting ring.
Data transmission device in this looped network specifically can be integrated in router, and these routers can be used as the node in MPLS-TP looped network.
When specific implementation, above unit can be used as independently entity and realizes, and also can carry out combination in any, realizes as same or several entities, and the concrete enforcement of above unit can, referring to embodiment above, not repeat them here.
As from the foregoing, the receiving element 701 of the data transmission device in the looped network of the present embodiment can receive message on the building ring of MPLS-TP looped network, wherein, this message adopts MPLS to encapsulate, in message, can comprise ring label, label switched path label, pseudo line tag and payload, and label switched path label comprises the ring mark of object ring and the node identification of destination node, pseudo line tag comprises the ring mark of source ring and the node identification of source node, then, by query unit 702 according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether forwarding the packet to next-hop node, if desired, forward the packet to next-hop node by transmitting element 703, if do not need, omit by blocking unit 704 operation that forwards the packet to next-hop node, due in this scheme, employing be that MPLS encapsulates message, when therefore message transmission on looped network, without refreshing MAC table, so can improve the speed of switching, and, due in this scheme, safeguard a not intercommunication list, and can intercommunication by inquiring about whether this not intercommunication list determine between node, therefore, not only can simply and neatly realize internodal intercommunication and not intercommunication, improve efficiency of transmission, and, be also convenient to follow-up maintenance.
Embodiment eight,
Accordingly, the embodiment of the present invention also provides a kind of communication system, comprises the data transmission device in any looped network that the embodiment of the present invention provides, and the data transmission device in this looped network specifically can, referring to embodiment seven, not repeat them here.
Because this communication system comprises the data transmission device in any looped network that the embodiment of the present invention provides, therefore, the same beneficial effect of data transmission device in any looped network providing with the embodiment of the present invention can be provided equally, refer to embodiment above, not repeat them here.
Embodiment nine,
Accordingly, the embodiment of the present invention also provides a kind of network equipment, comprises processor, for storing the memory of data and the transceiver for transceiving data, as follows:
Processor, for receive message on the building ring of MPLS-TP looped network, wherein, this message comprises ring label, label switched path label, pseudo line tag and payload, label switched path label comprises the ring mark of object ring and the node identification of destination node, and pseudo line tag comprises the ring mark of source ring and the node identification of source node; According to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to next-hop node; If so, forward the packet to next-hop node; If not, omit the operation that forwards the packet to next-hop node.
Wherein, according to the ring label in message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, before determining whether this message needs to be transmitted to next-hop node, can also determine the current loop that whether formed, if not loop, just according to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether this message needs to be transmitted to next-hop node, if formed loop, can be by this packet loss, that is:
This processor, also for the loopback message list that terminates according to the label switched path label inquiry of this message, to determine whether as loop; If loop, dropping packets; If not loop is carried out according to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether this message needs to be transmitted to the step of next-hop node.
In addition, each node is receiving after this message, according to the difference of message transmissions mode, can also make further different processing to message, such as, for multicast, now can also copy a message and send to VSI or the VLL of present node, so that this VSI or VLL can refresh MAC Address list according to this message copying, and at VSI or VLL inside, this message are forwarded; And for clean culture, can be in the time needing exchange (swap) according to the label switched path label in this message is definite, directly on ring, exchange (being ring swap), if and when being defined as bullet and falling (POP) according to the label switched path label in this message, enter VSI or VLL, and carry out VSI or the inner forwarding behavior of VLL; In " according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether need to be by described message repeating to next-hop node " before, this processor, also for carrying out following operation:
(1) multicast;
Determine that this message is multicast message, copy this message (being multicast message), and the message copying is sent to VSI or the VLL of present node, so that VSI or VLL refresh MAC Address list according to this message copying, and at VSI or VLL inside, described message is forwarded.
(2) clean culture;
Determine that this message is unicast message, while needing exchange (swap) according to the label switched path label in this message is definite, carry out the step of " according to the ring label in this message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether forwarding the packet to next-hop node "; While being defined as POP according to the label switched path label in this message, this message is sent to VSI or the VLL of present node, so that VSI or VLL refresh MAC Address list according to this message, and at VSI or VLL inside, this message is forwarded.
It should be noted that, for unknown unicast message, also process according to multicast, do not repeat them here.
Wherein, processor, in the time forwarding the packet to next-hop node, can carry out link detecting and node and detect; if all normal (being fault-free), directly forwards the packet to next-hop node by building ring, otherwise; if find link failure or node failure, protect and switch, that is:
Processor, detects specifically for link and the next-hop node of the building ring to described MPLS-TP looped network; If link failure detected, protect and switch, by the guard ring of MPLS-TP looped network, described message is sent to next-hop node; If next-hop node fault detected, protect and switch, by the guard ring of MPLS-TP looped network, utilize the path of walking around malfunctioning node described message to be sent to the next-hop node of next-hop node; If both do not detected, link failure did not detect next-hop node fault yet, the building ring by MPLS-TP looped network by described message repeating to next-hop node.
In addition, it should be noted that, this MPLS-TP looped network can be monocycle, can be also that many rings are as dicyclo.Wherein, dicyclo can comprise core work ring and cut-in operation ring, wherein, core work ring and cut-in operation ring can comprise two crossing circling points, one is principal phase cross ring point, another is the standby circling point that intersects, wherein, for principal phase cross ring point and standby VSI or the VLL that intersects these two nodes of circling point, both needed to be articulated in respectively on core work ring, also need to be articulated on cut-in operation ring, but, for standby crossing circling point, its VSI or VLL are articulated in the initial condition of cut-in operation ring for blocking, only have in the time that the standby crossing circling point of principal phase cross ring point notice articulates choke point, or, when standby crossing circling point perception principal phase cross ring point failure, the standby circling point that intersects just can be connected (articulating) choke point.
If the building ring of this MPLS-TP looped network comprises core work ring and cut-in operation ring, processor, specifically can be for: if next-hop node is positioned on core work ring, and be principal phase cross ring point, in the time that definite multilink relevant to this next-hop node breaks down (multipoint fault occurs), or in the time that definite described next-hop node breaks down, by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job this message transmissions in cut-in operation ring for intersecting ring; Specifically can be as follows:
In the time that definite multilink relevant to this next-hop node breaks down; articulated the choke point of cut-in operation ring by the standby crossing circling point of described next-hop node notice; to by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job described message transmissions in cut-in operation ring for intersecting ring.
In the time that definite this next-hop node breaks down, by the standby choke point of intersecting circling point perception principal phase cross ring point failure and articulating cut-in operation ring, to by the guard ring of MPLS-TP looped network, utilize this to name a person for a particular job described message transmissions in cut-in operation ring for intersecting ring.
In addition, obstructed according to the position of present node, the subsequent treatment of its required execution also can be different, and for example, processor, can also be used for carrying out following operation:
If present node is positioned on core work ring, and be principal phase cross ring point, in the time that this message is sent to the next-hop node being positioned on cut-in operation ring, also need to refresh joining list item, wherein, this joining list item can comprise ring mark and node identification, be mainly used in when receive from other interfaces message using this present node as source node time, this message that judges whether to terminate (being now loopback).
And if present node is positioned on core work ring, and be the standby circling point that intersects, working as this present node and the VSI of described present node or the annexation of VLL is become and is not blocked from obstruction, or from do not block become block time, also need to remove all list items on this present node, wherein, the initial condition that VSI or VLL are articulated to cut-in operation ring is for blocking.
The concrete enforcement of each equipment can, referring to embodiment above, not repeat them here above.
As from the foregoing, the network equipment of the present embodiment adopts and receive message on the building ring of MPLS-TP looped network, wherein, this message adopts MPLS to encapsulate, message comprises ring label, label switched path label, pseudo line tag and payload, and label switched path label comprises the ring mark of object ring and the node identification of destination node, pseudo line tag comprises the ring mark of source ring and the node identification of source node, then, according to the ring label in this message, label switched path label, the not intercommunication list that pseudo line tag inquiry is preset, to determine whether forwarding the packet to next-hop node, if desired, forward the packet to next-hop node, if do not need, omit the operation that forwards the packet to next-hop node, due in this scheme, employing be that MPLS encapsulates message, when therefore message transmission on looped network, without refreshing MAC table, so can improve the speed of switching, and, due in this scheme, safeguard a not intercommunication list, and can intercommunication by inquiring about whether this not intercommunication list determine between node, therefore, not only can simply and neatly realize internodal intercommunication and not intercommunication, improve efficiency of transmission, and, be also convenient to follow-up maintenance.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is can carry out the hardware that instruction is relevant by program to complete, this program can be stored in a computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
Data transmission method, device and system in a kind of the looped network above embodiment of the present invention being provided are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (19)

1. the data transmission method in looped network, is characterized in that, comprising:
On the building ring of the transmission subset MPLS-TP of multiprotocol label switching looped network, receive message, described message comprises ring label, label switched path label, pseudo line tag and payload, described label switched path label comprises the ring mark of object ring and the node identification of destination node, and described pseudo line tag comprises the ring mark of source ring and the node identification of source node;
According to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to next-hop node;
Need to be by described message repeating to next-hop node if determine, by described message repeating to next-hop node;
Do not need described message repeating, to next-hop node, to omit the operation to next-hop node by described message repeating if determine.
2. method according to claim 1, it is characterized in that, described according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, before determining whether described message needs to be transmitted to next-hop node, described method also comprises:
According to the label switched path label inquiry termination loopback message list in described message, to determine whether as loop;
If be defined as loop, dropping packets;
Not loop if determine, trigger execution described according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether described message needs to be transmitted to the operation of next-hop node.
3. method according to claim 2, it is characterized in that, described according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to before next-hop node, described method also comprises:
Determine that described message is multicast message;
Copy described message, and the message copying is sent to Virtual Switch Instance or the virtual leased line of present node.
4. method according to claim 2, it is characterized in that, described according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to before next-hop node, described method also comprises:
Determine that described message is unicast message;
Need to exchange according to the label switched path label in described message is definite time, trigger and carry out according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to the operation to next-hop node by described message repeating;
When being defined as bullet and falling POP according to the label switched path label in described message, described message is sent to Virtual Switch Instance or the virtual leased line of present node.
5. according to the method described in claim 1 to 4 any one, it is characterized in that, described by described message repeating to next-hop node, comprising:
Link and the next-hop node of the building ring to described MPLS-TP looped network detect;
If link failure detected, protect and switch, by the guard ring of MPLS-TP looped network, described message is sent to next-hop node;
If next-hop node fault detected, protect and switch, by the guard ring of MPLS-TP looped network, utilize the path of walking around malfunctioning node described message to be sent to the next-hop node of next-hop node;
If both do not detected, link failure did not detect next-hop node fault yet, the building ring by MPLS-TP looped network by described message repeating to next-hop node.
6. according to the method described in claim 1 to 4 any one, it is characterized in that, if the building ring of described MPLS-TP looped network comprises core work ring and cut-in operation ring, described by described message repeating to next-hop node, comprising:
If next-hop node is positioned on core work ring; and be principal phase cross ring point; in the time that definite multilink relevant to described next-hop node breaks down; or in the time that definite described next-hop node breaks down; by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
7. method according to claim 6; it is characterized in that, in the time that definite multilink relevant to described next-hop node breaks down, by the guard ring of MPLS-TP looped network; utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring, comprising:
In the time that definite multilink relevant to described next-hop node breaks down; articulated the choke point of cut-in operation ring by the standby crossing circling point of described next-hop node notice; so that by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
8. method according to claim 6, is characterized in that, in the time that definite described next-hop node breaks down, by the guard ring of MPLS-TP looped network, utilizes described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring, comprising:
In the time that definite described next-hop node breaks down; by the standby choke point of intersecting circling point perception principal phase cross ring point failure and articulating cut-in operation ring; so that by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
9. according to the method described in claim 1 to 4 any one, it is characterized in that, if the building ring of described MPLS-TP looped network comprises core work ring and cut-in operation ring:
If present node is positioned on core work ring, and be principal phase cross ring point,, in the time that described message is sent to the next-hop node being positioned on cut-in operation ring, refresh joining list item;
If present node is positioned on core work ring, and be the standby circling point that intersects, the annexation of working as the Virtual Switch Instance/virtual leased line of described present node and described present node is become and is not blocked from obstruction, or from do not block become block time, remove all list items on described present node, described Virtual Switch Instance/virtual leased line is articulated to the initial condition of cut-in operation ring for blocking.
10. the data transmission device in looped network, is characterized in that, comprising:
Receiving element, for receive message on the building ring of the transmission subset MPLS-TP of multiprotocol label switching looped network, described message comprises ring label, label switched path label, pseudo line tag and payload, described label switched path label comprises the ring mark of object ring and the node identification of destination node, and described pseudo line tag comprises the ring mark of source ring and the node identification of source node;
Query unit, for according to the ring label of described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to be by described message repeating to next-hop node;
Transmitting element, need to be by described message repeating during to next-hop node for determining in described query unit, by described message repeating to next-hop node;
Block unit, while not needing described message repeating to next-hop node for determining in described query unit, omit the operation to next-hop node by described message repeating.
Data transmission device in 11. looped networks according to claim 10, is characterized in that, also comprises determining unit;
Described determining unit, for the loopback message list that terminates according to the label switched path label inquiry of described message, to determine whether as loop, if loop, dropping packets; If not when loop, trigger query unit and carry out according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, to determine whether described message needs to be transmitted to the operation of next-hop node.
Data transmission device in 12. looped networks according to claim 11, is characterized in that,
Described transmitting element, also, for determining that described message is multicast message, copies described message, and the message copying is sent to Virtual Switch Instance or the virtual leased line of present node.
Data transmission device in 13. looped networks according to claim 11, is characterized in that,
Described transmitting element, also for determining that described message is unicast message; Need to exchange according to the label switched path label in described message is definite time, trigger described query unit and carry out according to the ring label in described message, label switched path label, the preset not intercommunication list of pseudo line tag inquiry, so that determine whether need to the operation to next-hop node by described message repeating; When being defined as bullet and falling POP according to the label switched path label in described message, described message is sent to Virtual Switch Instance or the virtual leased line of present node.
14. according to claim 10 to the data transmission device in the looped network described in 13 any one, it is characterized in that, and described transmitting element, specifically for:
Link and the next-hop node of the building ring to described MPLS-TP looped network detect;
If link failure detected, protect and switch, by the guard ring of MPLS-TP looped network, described message is sent to next-hop node; If next-hop node fault detected, protect and switch, by the guard ring of MPLS-TP looped network, utilize the path of walking around malfunctioning node described message to be sent to the next-hop node of next-hop node;
If both do not detected, link failure did not detect next-hop node fault yet, the building ring by MPLS-TP looped network by described message repeating to next-hop node.
15. according to claim 10 to the data transmission device in the looped network described in 13 any one, it is characterized in that, if the building ring of described MPLS-TP looped network comprises core work ring and cut-in operation ring, and described transmitting element, specifically for:
If next-hop node is positioned on core work ring; and be principal phase cross ring point; in the time that definite multilink relevant to described next-hop node breaks down; or in the time that definite described next-hop node breaks down; by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
Data transmission device in 16. looped networks according to claim 15, is characterized in that, described transmitting element, specifically for:
If next-hop node is positioned on core work ring; and be principal phase cross ring point; in the time that definite multilink relevant to described next-hop node breaks down; articulated the choke point of cut-in operation ring by the standby crossing circling point of described next-hop node notice; so that by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
Data transmission device in 17. looped networks according to claim 15, is characterized in that, described transmitting element, specifically for:
If next-hop node is positioned on core work ring; and be principal phase cross ring point; in the time that definite described next-hop node breaks down; by the standby choke point of intersecting circling point perception principal phase cross ring point failure and articulating cut-in operation ring; so that by the guard ring of MPLS-TP looped network, utilize described standby intersecting ring to name a person for a particular job described message transmissions in cut-in operation ring.
18. according to claim 10 to the data transmission device in the looped network described in 13 any one, it is characterized in that, if the building ring of described MPLS-TP looped network comprises core work ring and cut-in operation ring, the data transmission device in described looped network also comprises refresh unit, specifically for:
If present node is positioned on core work ring, and be principal phase cross ring point, while described message being sent to the next-hop node being positioned on cut-in operation ring, refresh joining list item;
If present node is positioned on core work ring, and be the standby circling point that intersects, the annexation of working as the Virtual Switch Instance/virtual leased line of described present node and described present node is become and is not blocked from obstruction, or from do not block become block time, remove all list items on described present node, described Virtual Switch Instance/virtual leased line is articulated to the initial condition of cut-in operation ring for blocking.
19. 1 kinds of communication systems, is characterized in that, comprise at least two data transmission devices, and the each device in described at least two data transmission devices is the data transmission device as described in as arbitrary in claim 10 to 18.
CN201310722942.6A 2013-12-24 2013-12-24 Data transmission method, device and system in a kind of looped network Active CN103856404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310722942.6A CN103856404B (en) 2013-12-24 2013-12-24 Data transmission method, device and system in a kind of looped network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310722942.6A CN103856404B (en) 2013-12-24 2013-12-24 Data transmission method, device and system in a kind of looped network

Publications (2)

Publication Number Publication Date
CN103856404A true CN103856404A (en) 2014-06-11
CN103856404B CN103856404B (en) 2017-06-27

Family

ID=50863637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310722942.6A Active CN103856404B (en) 2013-12-24 2013-12-24 Data transmission method, device and system in a kind of looped network

Country Status (1)

Country Link
CN (1) CN103856404B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533741A (en) * 2016-10-31 2017-03-22 盛科网络(苏州)有限公司 Method and device for achieving MSRP ring network protection system based on OpenFlow
CN106899439A (en) * 2017-02-27 2017-06-27 上海易杵行智能科技有限公司 A kind of intelligent construction method of monocyclic looped network
CN106941445A (en) * 2017-02-27 2017-07-11 烽火通信科技股份有限公司 The method and system of the quick stratification pretection switch of MPLS TP

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895455B (en) * 2010-07-19 2013-05-08 南京邮电大学 Method for fast protecting ring network based on multi-protocol label switching transport profile (MPLS-TP)
CN102684973B (en) * 2011-03-09 2017-03-29 中兴通讯股份有限公司 A kind of method and system of looped network protection
CN102123101B (en) * 2011-03-21 2015-04-01 中兴通讯股份有限公司 Message processing method and device
CN102201985B (en) * 2011-05-06 2014-02-05 杭州华三通信技术有限公司 Ring protection switching method adopting multi-protocol label switching transport profile (MPLS TP) and node
CN102291316A (en) * 2011-09-14 2011-12-21 中兴通讯股份有限公司 Method for realizing zero label popup during MPLS (Multi-Protocol Label Switching) and edge equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533741A (en) * 2016-10-31 2017-03-22 盛科网络(苏州)有限公司 Method and device for achieving MSRP ring network protection system based on OpenFlow
CN106533741B (en) * 2016-10-31 2019-07-26 盛科网络(苏州)有限公司 Realize that MPLS-TP shares the method and device of ring protection MSRP Ring protection system based on OpenFlow
CN106899439A (en) * 2017-02-27 2017-06-27 上海易杵行智能科技有限公司 A kind of intelligent construction method of monocyclic looped network
CN106941445A (en) * 2017-02-27 2017-07-11 烽火通信科技股份有限公司 The method and system of the quick stratification pretection switch of MPLS TP
CN106941445B (en) * 2017-02-27 2019-11-26 烽火通信科技股份有限公司 The method and system of the quick stratification pretection switch of MPLS-TP
CN106899439B (en) * 2017-02-27 2021-09-10 上海易杵行智能科技有限公司 Intelligent construction method of single-ring network

Also Published As

Publication number Publication date
CN103856404B (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN102316016B (en) Method and device for forwarding multicasting flow
CN102664788B (en) CE dual-homed link protection method in MPLS L3VPN and system thereof
CN101364926B (en) Method and apparatus for network protection
CN101051995B (en) Protection switching method based on no connection network
CN109873760A (en) Handle the method and apparatus of routing and the method and apparatus of data transmission
CN101931520B (en) Switching method and system
US9871708B2 (en) Method and system for ring protection switching
CN102035712B (en) Multiprotocol label exchanged ring network protection method, device and system
JP4526423B2 (en) Ring connection method and apparatus
CN102299835B (en) Ring network fault switching method and apparatus
CN101710875A (en) Method and device for realizing rapid re-routing
CN105099846A (en) Method of transmitting data messages and provider edge (PE) devices
CN101783743B (en) Business protection method and switching node
CN103475583A (en) Method and equipment for removing media access control forwarding table entries
CN104270231A (en) System and method for realizing double-node interconnected pseudo-wire
CN102316014A (en) Load sharing method and router under hierarchical virtual dedicated local area network service environment
CN103368844B (en) Message processing method and LSR in MPLS network
CN101729361B (en) Method and device for processing message
CN103856404A (en) Looped network data transmission method, device and system
US20120269056A1 (en) Method, device, and system for protecting semi-ring network
CN101888323B (en) Ethernet ring network-based PBB-TE protection method
CN102014035A (en) Networking method and device based on Ethernet ring
CN106789540B (en) A kind of gateway deployment method and apparatus
CN103493439A (en) Information receiving and sending methods and apparatuses
CN102752210A (en) Inter-LAN (local area network) message transmission method and system

Legal Events

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