CN103856404B - Data transmission method, device and system in a kind of looped network - Google Patents
Data transmission method, device and system in a kind of looped network Download PDFInfo
- Publication number
- CN103856404B CN103856404B CN201310722942.6A CN201310722942A CN103856404B CN 103856404 B CN103856404 B CN 103856404B CN 201310722942 A CN201310722942 A CN 201310722942A CN 103856404 B CN103856404 B CN 103856404B
- Authority
- CN
- China
- Prior art keywords
- message
- ring
- 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.)
- Active
Links
Abstract
The embodiment of the invention discloses the data transmission method in a kind of looped network, device and system.The embodiment of the present invention is used and receives message on the building ring of MPLS TP looped networks, wherein, the message includes ring label, label switched path label, pseudo line tag and payload, and label switched path label includes the ring mark of purpose ring and the node identification of destination node, pseudo line tag includes the ring mark of source ring and the node identification of source node, then, ring label in the message, label switched path label, pseudo line tag inquires about preset not intercommunication list, to determine the need for forwarding the packet to next-hop node, if desired, then forward the packet to next-hop node, if need not, then omit the operation for forwarding the packet to next-hop node;The program not only can simply and neatly realize the intercommunication and not intercommunication between node, improve efficiency of transmission, and, also allow for follow-up maintenance.
Description
Technical field
The present invention relates to communication technical field, and in particular to data transmission method, device and system in a kind of looped network.
Background technology
In recent years, with the development of mobile communication technology, communication service especially Internet protocol(IP, Internet
Protocol)Business is also risen progressively year by year, and in order to meet the demand of ever-increasing IP operation, the various data based on IP operation are passed
Defeated mode is arisen at the historic moment, the transmission subset based on multiprotocol label switching(MPLS-TP, MultiProtocol Label
Switching Transport Profile)Ring network technologies are exactly one kind therein.
MPLS-TP technologies, for example, can use ring topology, twin nuclei, wherein, outer shroud is also referred to as building ring,
Inner ring is also referred to as protection ring.Outer shroud is clockwise and inner ring simultaneously bi-directionally transmits data counterclockwise, and outer shroud carries inner ring packet
Management byte, inner ring carries the management byte of outer shroud packet, so that bicyclic protect and back up each other, improves data transfer
Security.
The data transfer mode underaction of existing MPLS-TP looped networks, is unfavorable for improving efficiency of transmission.
The content of the invention
Data transmission method, device and system in a kind of looped network of embodiment of the present invention offer, can neatly realize section
Intercommunication and not intercommunication between point, improve efficiency of transmission.
A kind of first aspect, there is provided the data transmission method in looped network, including:
Message is received on the building ring of MPLS-TP looped networks, the message includes ring label, label switched path mark
Label, pseudo line tag and payload, the label switched path label include the ring mark of purpose ring and the node identification of destination node,
The pseudo line tag includes the ring mark of source ring and the node identification of source node;
Ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication list,
To determine the need for for the message being transmitted to next-hop node;
If it is determined that the message is transmitted to next-hop node by needs, then the message is transmitted to next-hop node;
If it is determined that the message need not be transmitted into next-hop node, then omit and the message is transmitted to next-hop section
The operation of point.
In the first possible implementation method, with reference in a first aspect, ring label, the label in the message
Switching path label, pseudo line tag inquire about preset not intercommunication list, to determine whether the message needs to be transmitted to next-hop
Before node, also include:
Label switched path tag queries termination loopback message list in the message, to determine whether being ring
Road;
If it is determined that being loop, then dropping packets;
If it is determined that not being loop, then triggering performs ring label, label switched path label, pseudo-wire in the message
The preset not intercommunication list of tag queries, to determine whether the message needs to be transmitted to the operation of next-hop node.
In second possible implementation method, with reference to the first possible implementation method of first aspect, the basis
Ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication list, to determine whether to need
Before the message is transmitted into next-hop node, also include:
Determine that the message is multicast message;
The message is replicated, and the message of duplication is sent to the Virtual Switch Instance or virtual leased line of present node.
In the third possible implementation method, with reference to the first possible implementation method of first aspect, the basis
Ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication list, to determine whether to need
Before the message is transmitted into next-hop node, also include:
Determine that the message is unicast message;
When label switched path label in the message determines to need to exchange, triggering is performed according in the message
Ring label, label switched path label, pseudo line tag inquire about preset not intercommunication list, to determine the need for the report
Text is transmitted to the operation of next-hop node;
When label switched path label in the message is defined as bullet and falls POP, the message is sent to currently
The Virtual Switch Instance or virtual leased line of node.
In the 4th kind of possible implementation method, with reference to first aspect, first aspect the first to three any one is possible
Implementation method, it is described that the message is transmitted to next-hop node, including:
Link and next-hop node to the building ring of the MPLS-TP looped networks are detected;
If detecting link failure, pretection switch is carried out, sent the message by the protection ring of MPLS-TP looped networks
To next-hop node;
If detecting next-hop node failure, carry out pretection switch, by the protection ring of MPLS-TP looped networks, using around
The message is sent to the next-hop node of next-hop node in the path for crossing malfunctioning node;
If both not detected link failure or not detected next-hop node failure, by MPLS-TP looped networks
The message is transmitted to next-hop node by building ring.
In the 5th kind of possible implementation method, with reference to first aspect, first aspect the first to three any one is possible
Implementation method, it is described by the message if the building ring of the MPLS-TP looped networks includes core work ring and cut-in operation ring
Next-hop node is transmitted to, including:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that with the next-hop node
When related multilink breaks down, or when it is determined that the next-hop node breaks down, by the guarantor of MPLS-TP looped networks
Retaining ring, using the standby intersecting circling point by the message transmissions to cut-in operation ring.
In the 6th kind of possible implementation method, with reference to the 5th kind of possible implementation method of first aspect, it is determined that with
When the related multilink of the next-hop node breaks down, by the protection ring of MPLS-TP looped networks, using described standby intersecting
Circling point by the message transmissions to cut-in operation ring, including:
When it is determined that the multilink related to the next-hop node breaks down, notify standby by the next-hop node
Intersecting circling point mounts the choke point of cut-in operation ring, will pass through the protection ring of MPLS-TP looped networks, using the standby intersecting circling point
By in the message transmissions to cut-in operation ring.
In the 7th kind of possible implementation method, with reference to the 5th kind of possible implementation method of first aspect, it is determined that institute
When stating next-hop node and breaking down, by the protection ring of MPLS-TP looped networks, the message is passed using the standby intersecting circling point
In the defeated ring to cut-in operation, including:
When it is determined that the next-hop node breaks down, perceived main intersecting circling point failure and connect by standby intersecting circling point
Enter the choke point of building ring, will pass through the protection ring of MPLS-TP looped networks, using the standby circling point that intersects by the message transmissions
To in cut-in operation ring.
In the 8th kind of possible implementation method, with reference to first aspect, first aspect the first to three any one is possible
Implementation method, if the building ring of the MPLS-TP looped networks includes core work ring and cut-in operation ring,:
If present node is located on core work ring, and based on intersect circling point, then be sent to positioned at connecing by the message
When entering the next-hop node on building ring, refresh joining list item;
If present node is located on core work ring, and is standby intersecting circling point, then when the present node is current with described
The annexation of the Virtual Switch Instance/virtual leased line of node is changed into not blocking from blocking, or when being changed into obstruction from not blocking,
The all list items on the present node are removed, the Virtual Switch Instance/virtual leased line is articulated to the first of cut-in operation ring
Beginning state is obstruction.
A kind of second aspect, there is provided the data transmission device in looped network, including receiving unit, query unit, transmitting element
And blocking unit;
Receiving unit, for receiving message on the building ring of MPLS-TP looped networks, the message includes ring label, mark
Switching path label, pseudo line tag and payload are signed, the label switched path label includes the ring mark of purpose ring and purpose section
The node identification of point, the pseudo line tag includes the ring mark of source ring and the node identification of source node;
Query unit, it is preset for the ring label in the message, label switched path label, pseudo line tag inquiry
Not intercommunication list, to determine the need for for the message being transmitted to next-hop node;
Transmitting element, for when query unit determines to need for the message to be transmitted to next-hop node, by the report
Text is transmitted to next-hop node;
Blocking unit, will for when query unit determines the message need not be transmitted into next-hop node, omitting
The message is transmitted to the operation of next-hop node.
In the first possible implementation method, with reference in a first aspect, the data transmission device also includes determining unit;
The determining unit, for the label switched path tag queries termination loopback message row in the message
Table, to determine whether being loop, if loop, then dropping packets;If not during loop, then triggering query unit and performing according to institute
State the ring label in message, label switched path label, pseudo line tag and inquire about preset not intercommunication list, to determine the message
Whether need to be transmitted to the operation of next-hop node.
In second possible implementation method, with reference to the first possible implementation method of first aspect, wherein:
The transmitting element, is additionally operable to determine the message for multicast message, replicates the message, and the message that will be replicated
It is sent to the Virtual Switch Instance or virtual leased line of present node.
In the third possible implementation method, with reference to the first possible implementation method of first aspect, wherein:
The transmitting element, is additionally operable to determine that the message is unicast message;According to the tag changeable path in the message
When footpath label determines to need to exchange, triggering query unit perform ring label in the message, label switched path label,
Pseudo line tag inquires about preset not intercommunication list, to determine the need for being transmitted to the message operation of next-hop node;
When label switched path label in the message is defined as bullet and falls POP, the message is sent to the void of present node
Intend forwarding instance or virtual leased line.
In the 4th kind of possible implementation method, with reference to first aspect, first aspect the first to three any one is possible
Implementation method, the transmitting element, specifically for:
Link and next-hop node to the building ring of the MPLS-TP looped networks are detected;
If detecting link failure, pretection switch is carried out, send out the message by the protection ring of MPLS-TP looped networks
Give next-hop node;If detecting next-hop node failure, pretection switch is carried out, by the protection ring of MPLS-TP looped networks,
The message is sent to the next-hop node of next-hop node using the path for bypassing malfunctioning node;
If both not detected link failure or not detected next-hop node failure, by MPLS-TP looped networks
The message is transmitted to next-hop node by building ring.
In the 5th kind of possible implementation method, with reference to first aspect, first aspect the first to three any one is possible
Implementation method, if the building ring of the MPLS-TP looped networks include core work ring and cut-in operation ring, the transmitting element,
Specifically for:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that with the next-hop node
When related multilink breaks down, or when it is determined that the next-hop node breaks down, by the guarantor of MPLS-TP looped networks
Retaining ring, using the standby intersecting circling point by the message transmissions to cut-in operation ring.
In the 6th kind of possible implementation method, with reference to the 5th kind of possible implementation method of first aspect, the transmission
Unit, specifically for:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that with the next-hop node
When related multilink breaks down, notify that standby intersecting circling point mounts the obstruction of cut-in operation ring by the next-hop node
Point, will pass through the protection ring of MPLS-TP looped networks, using the standby circling point that intersects by the message transmissions to cut-in operation ring
In.
In the 7th kind of possible implementation method, with reference to the 5th kind of possible implementation method of first aspect, the transmission
Unit, specifically for:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that the next-hop node send out
During raw failure, perceived main intersecting circling point failure and mounted the choke point of cut-in operation ring by standby intersecting circling point, will pass through MPLS-
The protection ring of TP looped networks, using the standby intersecting circling point by the message transmissions to cut-in operation ring.
In the 8th kind of possible implementation method, with reference to first aspect, first aspect the first to three any one is possible
Implementation method, if the building ring of the MPLS-TP looped networks includes core work ring and cut-in operation ring, the number in the looped network
Also include refresh unit according to transmitting device, specifically for:
If present node be located at core work ring on, and based on intersect circling point, then by the message be sent to positioned at access
During next-hop node on building ring, refresh joining list item;
If present node is located on core work ring, and is standby intersecting circling point, then when the present node is current with described
The annexation of the Virtual Switch Instance/virtual leased line of node is changed into not blocking from blocking, or when being changed into obstruction from not blocking,
The all list items on the present node are removed, the Virtual Switch Instance/virtual leased line is articulated to the first of cut-in operation ring
Beginning state is obstruction.
Data in a kind of third aspect, there is provided communication system, including any one looped network provided in an embodiment of the present invention are passed
Defeated device.
The embodiment of the present invention is used and receives message on the building ring of MPLS-TP looped networks, wherein, the message is entered using MPLS
Row encapsulation, message includes ring label, label switched path label, pseudo line tag and payload, and label switched path label bag
The ring mark of purpose ring and the node identification of destination node are included, pseudo line tag includes the ring mark of source ring and the node mark of source node
Know, then, ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication list, with
Determine the need for forwarding the packet to next-hop node, if desired, then forward the packet to next-hop node, if being not required to
Will, then omit the operation that the message is transmitted to next-hop node;Due to maintaining a not intercommunication list in this scenario,
And determined by inquiring about the not intercommunication list between node whether can with intercommunication, therefore, not only can be simply and neatly real
Intercommunication and not intercommunication between existing node, improve efficiency of transmission, and, also allow for follow-up maintenance.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those skilled in the art, on the premise of not paying creative work, can also obtain other attached according to these accompanying drawings
Figure.
Fig. 1 is the flow chart of the data transmission method in looped network provided in an embodiment of the present invention;
Fig. 2 a are the schematic diagram of a scenario of MPLS-TP looped networks provided in an embodiment of the present invention;
Fig. 2 b are another flow charts of the data transmission method in looped network provided in an embodiment of the present invention;
Fig. 3 is the another flow chart of the data transmission method in looped network provided in an embodiment of the present invention;
Schematic diagram of a scenario when Fig. 4 a are MPLS-TP looped networks generation link failures provided in an embodiment of the present invention;
Schematic diagram of a scenario when Fig. 4 b are MPLS-TP looped networks generation node failures provided in an embodiment of the present invention;
Fig. 5 is the another schematic diagram of a scenario of MPLS-TP looped networks provided in an embodiment of the present invention;
Schematic diagram of a scenario when Fig. 6 a are MPLS-TP looped networks generation multipoint faults provided in an embodiment of the present invention;
Fig. 6 b are that scene when main intersecting circling point breaks down in MPLS-TP looped networks provided in an embodiment of the present invention is illustrated
Figure;
Fig. 7 is the structural representation of the data transmission device in looped network provided in an embodiment of the present invention.
Specific 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 carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Data transmission method, device and system in a kind of looped network of embodiment of the present invention offer.Carry out individually below in detail
Explanation.
Embodiment one,
The present embodiment will be described from the angle of the data transmission device in looped network, the data transmission device in the looped network
Specifically can with it is integrated in the router, these routers can be used as the node in MPLS-TP looped networks.For example, MPLS-TP rings
Net can carry integrated service, such as unicast service and multicast service etc..
A kind of data transmission method in looped network, including:Message is received on the building ring of MPLS-TP looped networks, wherein, should
Message includes ring label, label switched path label, pseudo-wire(PW, Pseudo Wire, also referred to as virtual link)Label and net
Lotus, label switched path(LSP, Label Switched Path)Label includes the ring mark of purpose ring and the section of destination node
Point identification, pseudo line tag includes the ring mark of source ring and the node identification of source node;Ring label, label in the message are handed over
Change path label, pseudo line tag and inquire about preset not intercommunication list, to determine the need for for the message being transmitted to next-hop
Node;If it is determined that the message is transmitted to next-hop node by needs, then next-hop node is forwarded the packet to;If it is determined that not
The message is transmitted to next-hop node by needs, then omit the operation that the message is transmitted to next-hop node.
As shown in figure 1, idiographic flow can be as follows:
101st, in the building ring of MPLS-TP looped networks(That is outer shroud)Upper reception message.
Wherein, the message can be multicast message, or unicast message, different from the message in existing looped network
It is that the message uses multiprotocol label switching(MPLS, Multi-Protocol Label Switching)It is packaged(It is existing
It is message to be forwarded according to MAC), i.e., can include ring label in the message(ring label), label switched path
Label(lsp label), pseudo line tag(pw label)And the form of payload, the i.e. message is " ring label+label switched path
Label+pseudo line tag+payload ".
Wherein, label switched path label can use the form of existing label switched path label on form, but
It is that its content can include that the ring of purpose ring is identified(dring id)With the node identification of destination node(dleaf id), pseudo-wire mark
Signing can include that the ring of source ring is identified(sring id)With the node identification of source node(sleaf id).
102nd, in the message ring label, label switched path label, pseudo line tag inquire about preset not intercommunication row
Table, to determine the need for forwarding the packet to next-hop node, if desired forwards the packet to next-hop node, then hold
Row step 103;If next-hop node need not be forwarded the packet to, step 104 is performed.
Wherein, the not intercommunication list can be identified including ring(ring id)And node identification(leaf id), for indicating
Between node whether intercommunication so that by the ring label in message, label switched path label, pseudo line tag inquire about it is preset not
Intercommunication list, it is possible to determine the need for forwarding the packet to next-hop node.
Wherein, in step, " ring label, label switched path label, the pseudo line tag inquiry in the message are preset
Not intercommunication list, to determine whether the message needs to be transmitted to next-hop node(That is step 102)" before, can also determine to work as
It is preceding whether to have constituted loop, if not loop, ring label just in the message, label switched path label, pseudo-wire mark
The preset not intercommunication list of inquiry is signed, to determine whether the message needs to be transmitted to next-hop node, if having constituted loop,
Then can be by the packet loss, i.e., in step, " ring label, label switched path label in the message, pseudo line tag are looked into
Preset not intercommunication list is ask, to determine whether the message needs to be transmitted to next-hop node " before, the method can also be wrapped
Include:
Label switched path tag queries termination loopback message list in the message, to determine whether being loop,
If loop, then dropping packets;If not loop, then perform " ring label, label switched path label in the message,
Pseudo line tag inquires about preset not intercommunication list, to determine whether the message needs to be transmitted to next-hop node " the step of(Walk
Rapid 102).
Additionally, each node is after the message is received, according to the difference of message transmissions mode, message can also be made
Further different treatment, such as, for multicast, can also now replicate a message and be sent to the virtual of present node
Forwarding instance(VSI, Virtual Switch Instance)Or virtual leased line(VLL, VirtualLeasedLine), so as to
The VSI or VLL can refresh access Media layer according to the message of the duplication(MAC, Media Access Control)Address column
Table, and the message is forwarded inside VSI or VLL;And for unicast, then can be in the label in the message
Switching path label determines to need to exchange(swap)When, directly swapped on ring(That is ring swap), and if according to this
Label switched path label in message is defined as bullet and falls(POP)When, then into VSI or VLL, and carry out VSI or VLL inside turn
It is distributed as;I.e. in step, " ring label, label switched path label, the pseudo line tag inquiry in the message are preset not
Intercommunication list, to determine the need for for the message being transmitted to next-hop node(That is step 102)" before, the method may be used also
To include:
(1)Multicast;
Determine that the message, for multicast message, replicates the message(That is multicast message), and the message of duplication is sent to currently
The VSI or VLL of node are so that VSI or VLL refreshes MAC Address list according to the message of the duplication and right inside VSI or VLL
The message is forwarded.
(2)Unicast;
The message is determined for unicast message, and the label switched path label in the message determines to need to exchange(swap)
When, perform " ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication list, with
Determine the need for forwarding the packet to next-hop node " the step of;Label switched path label in the message is true
When being set to POP, the message is sent to the VSI or VLL of present node, so that VSI or VLL refreshes MAC Address according to the message
List, and the message is forwarded inside VSI or VLL.
It should be noted that, for unknown unicast message, also processed according to multicast, will not be repeated here.
103rd, if it is determined that needing to forward the packet to next-hop node, then next-hop node is forwarded the packet to.
For example, link detecting and nodal test can be specifically carried out, if normal(That is fault-free), then work is directly passed through
Ring forwards the packet to next-hop node, otherwise, if finding link failure or node failure, carries out pretection switch, that is, walk
Rapid 103 specifically can be as follows:
Link and next-hop node to the building ring of the MPLS-TP looped networks detect,
If detecting link failure, pretection switch is carried out, by the protection ring of MPLS-TP looped networks(That is inner ring)It is upper should
Message is sent to next-hop node;
If detecting next-hop node failure, pretection switch is carried out, by the protection ring of MPLS-TP looped networks(It is i.e. interior
Ring), the message is sent to the next-hop node of next-hop node using the path for bypassing malfunctioning node;
If both not detected link failure or not detected next-hop node failure, by MPLS-TP looped networks
The message is transmitted to next-hop node by building ring.
In addition, it should be noted that, the MPLS-TP looped networks can be monocyclic, or polycyclic such as bicyclic.Wherein, it is double
Ring can include core work ring and cut-in operation ring, wherein, core work ring and cut-in operation ring can include two and intersect
Circling point, intersects circling point based on one, another is standby intersecting circling point, wherein, for main intersecting circling point and standby intersecting circling point this two
For the VSI or VLL of individual node, both needed to be articulated in respectively on core work ring, it is also desirable to be articulated on cut-in operation ring, but
It is that for standby intersecting circling point, the original state that its VSI or VLL is articulated in cut-in operation ring is obstruction, only works as main intersecting
When circling point notifies standby intersecting circling point mounting choke point, or, when standby intersecting circling point perceives main intersecting circling point failure, standby intersecting circling point
Can just connect(Mount)Choke point.
If the building ring of the MPLS-TP looped networks includes core work ring and cut-in operation ring, step is " by message forwarding
To next-hop node " specifically can be as follows:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that with the next-hop node phase
The multilink of pass breaks down(There is multipoint fault)When, or when it is determined that the next-hop node breaks down, pass through
The protection ring of MPLS-TP looped networks, using the standby intersecting circling point by the message transmissions to cut-in operation ring;Specifically can be as follows:
When it is determined that the multilink related to the next-hop node breaks down, standby phase is notified by the next-hop node
Cross ring point mounts the choke point of cut-in operation ring, will pass through the protection ring of MPLS-TP looped networks, using the standby circling point that intersects by institute
Message transmissions are stated in cut-in operation ring.
When it is determined that the next-hop node breaks down, perceived main intersecting circling point failure and mounted access by standby intersecting circling point
The choke point of building ring, will pass through the protection ring of MPLS-TP looped networks, using the standby intersecting circling point by the message transmissions to connecing
In entering building ring.
Additionally, position according to present node is obstructed, the subsequent treatment performed required for it would also vary from, example
Such as, specifically can be as follows:
If present node(That is the executive agent of step 101~104)On core work ring, and based on intersect circling point,
Then when the message to be sent to the next-hop node on cut-in operation ring, in addition it is also necessary to refresh joining list item, wherein, should
Joining list item can include ring mark and node identification, be mainly used in when from other interfaces to the present node make
For source node message when, judge whether terminate the message(It is now loopback).
And if present node(That is the executive agent of step 101~104)On core work ring, and it is standby intersecting ring
Point, then when the present node is changed into not blocking with the annexation of the VSI or VLL of the present node from blocking, or by not hindering
When plug is changed into obstruction, in addition it is also necessary to remove all list items on the present node, wherein, VSI or VLL is articulated to cut-in operation ring
Original state is obstruction.
104th, if it is determined that next-hop node need not be forwarded the packet to, then omit and forward the packet to next-hop section
The operation of point.
For example, wherein, the operation that omission forwards the packet to next-hop node can be failure to actuate, such as not right
The message is processed, or is abandoned the message or blocked the operation such as the message, be will not be repeated here.
From the foregoing, it will be observed that the present embodiment is used receives message on the building ring of MPLS-TP looped networks, wherein, the message is used
MPLS is packaged, and message includes ring label, label switched path label, pseudo line tag and payload, and label switched path
Label includes the ring mark of purpose ring and the node identification of destination node, ring mark and source node of the pseudo line tag including source ring
Node identification, then, ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication
List, to determine the need for forwarding the packet to next-hop node, if desired, then forward the packet to next-hop section
Point, if need not, omit the operation that the message is transmitted to next-hop node;Due in this scenario, using
MPLS is packaged to message, therefore when being transmitted to message on looped network, without refreshing MAC table, it is possible to improve
Throw-over degree;It is additionally, since in this scenario, maintains a not intercommunication list, and determine by inquiring about the not intercommunication list
Between node whether can with intercommunication, therefore, not only can simply and neatly realize the intercommunication and not intercommunication between node, improve and pass
Defeated efficiency, and, also allow for follow-up maintenance.
Method according to described by embodiment one, the work that will below be illustrated in embodiment two, three, four and five is further detailed
Explanation.
Embodiment two,
In the present embodiment, looped network processing module will be specially with the data transmission device in the looped network, and it is specific integrated
In the router, and router as a example by the node in MPLS-TP looped networks used as illustrating.
As shown in Figure 2 a, MPLS-TP looped networks can be set up based on Ethernet, the MPLS-TP looped networks include building ring(I.e.
Outer shroud)And protection ring(That is inner ring), the building ring and protection ring connect each node in Ethernet, in order to describe
It is convenient, in the present embodiment, will be illustrated so that the MPLS-TP looped networks include node A, node B, node C and node D as an example,
Wherein, each node includes looped network processing module(Such as RPR modules or MPLS-TP looped network modules etc.)And VSI(Or VLL),
Wherein, each VSI(Or VLL)It is articulated on building ring, wherein, the dotted line in Fig. 2 a represents the transmission route of message.
Wherein, in order to how different nodes makes a distinction, each root and each node have an identity, such as
The identity of root is identified for root(root id), the identity of node is node identification(leafid), also, to network
When the message of side is packaged, it is also possible to which by these mark encapsulation in messages, i.e., the form of network side message can be such as table one
It is shown:
Table one
Ring label | Label switched path label | Pseudo line tag | Payload |
Wherein, label switched path label can use the form of existing label switched path label on form, but
It is that its content can include that the ring of purpose ring is identified(dring id)With the node identification of destination node(dleaf id), pseudo-wire mark
Signing can include that the ring of source ring is identified(sring id)With the node identification of source node(sleaf id).
Additionally, not intercommunication list can be configured on each node, wherein, the not intercommunication list can be identified including ring
(ring id)And node identification(leaf id), for indicate between node whether intercommunication so that by the ring label in message,
Label switched path label, pseudo line tag inquire about preset not intercommunication list, it is possible to determine the need for forwarding the message
To next-hop node.
In addition to needing configuration not intercommunication list, in order to avoid loopback, configuration termination loopback report is also needed in source node
Literary list, the termination loopback message list can be identified including ring(ring id)And node identification(leaf id), so, according to
Label switched path label in message, by inquiring about the termination loopback message list, it is possible to determine whether to have constituted
Loop(Whether return to source node), to further process, such as, if loop, then dropping packets;If not ring
Road, then perform " ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication list,
To determine whether the message needs to be transmitted to next-hop node " the step of, etc..
Based on the MPLS-TP ring network structures shown in Fig. 2 a, below will be by taking multicast as an example, flow is performed to it to be carried out specifically
It is bright.
Wherein, it should be noted that, can in several ways determine whether current message is multicast message, such as, group
Report text so, be able to can just be identified using specific ring mark and node identification according to ring mark and node identification
Whether current message is multicast message, or, it is also possible to indicate whether current message is multicast message by extra mark, etc.
Deng will not be repeated here.
As shown in Figure 2 b, the data transmission method in a kind of looped network, idiographic flow can be as follows:
201st, access node A in source is upper circling point, the VSI of source access node A(Or VLL)It is initial that the multicast source of reception sends
Message.
202nd, the VSI of source access node A(Or VLL)The initial message is determined for after multicast message, by looped network processing module
MPLS encapsulation is carried out to the initial message.
Wherein, message can include ring label, label switched path label, pseudo line tag and payload after the encapsulation.
Wherein, label switched path label can use the form of existing label switched path label on form, but
It is that its content can include the ring mark of purpose ring and the node identification of destination node, pseudo line tag can include the ring mark of source ring
Know the node identification with source node.
Such as, the initial message can be encapsulated as:The ring of purpose ring is designated " ring1 ", the node mark of destination node
It is particular value multicast id to know, and the ring of source ring is designated " ring1 ", and the node identification of source node is " root1 ", and in ring label
Reserved word in mark the message be multicast message.
203rd, the looped network processing module of source access node A is configured to termination loopback message list.
Wherein, the termination loopback message list can include ring mark and node identification, so, the label in message
Switching path label, by inquiring about the termination loopback message list, it is possible to determine whether to have constituted loop(Whether return
To source node).
Such as, herein can be in termination loopback message list configuration:When the ring for receiving source ring is designated " ring1 ", source
When the node identification of node is " root1 ", it is defined as loop.
204th, the VSI of source access node A(Or VLL)Various information in message after encapsulation, such as according to MAC ground
Location, ring mark and node identification etc. refresh MAC Address list, and in VSI(Or VLL)Inside forwards to the message.
205th, ring label, label switched path of the looped network processing module of source access node A in message after the encapsulation
Label, pseudo line tag inquire about preset not intercommunication list, with determine the need for by this encapsulate after message be transmitted to next-hop section
Point B, if desired by this encapsulate after message be transmitted to next-hop node B, then perform step 206;If need not by this encapsulate after report
Text is transmitted to next-hop node B, then omit the operation that the message after encapsulating is transmitted to next-hop node B.
Wherein, the not intercommunication list can include ring mark and node identification, for indicate between node whether intercommunication, from
And pass through the ring label in message, label switched path label, pseudo line tag and inquire about preset not intercommunication list, it is possible to it is determined that
Whether need to forward the packet to next-hop node B.
206th, if it is determined that needing to forward the packet to next-hop node B, then the looped network processing module of source access node A will
Message is sent to next-hop node B by work loop after the encapsulation.
207th, the looped network processing module of node B receives message after the encapsulation, and message is multicast message after determining the encapsulation, in
It is to replicate message after the encapsulation, and the message of duplication is sent to the VSI of present node(Or VLL), so as to VSI(Or VLL)Root
Message according to the duplication refreshes MAC Address list, and in VSI(Or VLL)The internal message to the duplication is forwarded.
208th, ring label, label switched path label, puppet of the looped network processing module of node B in message after the encapsulation
The preset not intercommunication list of line tag queries, with determine the need for by this encapsulate after message be transmitted to next-hop node C, if need
Message is transmitted to next-hop node C after this is encapsulated, then perform step 209;If need not by this encapsulate after message be transmitted to
Next-hop node C, then omit the operation that the message after encapsulating is transmitted to next-hop node C.
Wherein, step 207 and 208 execution can be in no particular order.
It should be noted that, now can also be according to the termination loopback of the label switched path tag queries in message after the encapsulation
Message list to determine whether to be constituted loop, because in the present embodiment, the ring of source ring is designated " ring1 ", the section of source node
Point identification is " root1 ", therefore, loop is not constituted now, therefore, it can directly perform step 208.
209th, if it is determined that needing to forward the packet to next-hop node C, then the looped network processing module of node B encapsulates this
Message is sent to next-hop node C by work loop afterwards.
210th, the looped network processing module of node C receives message after the encapsulation, and message is multicast message after determining the encapsulation, in
It is to replicate message after the encapsulation, and the message of duplication is sent to the VSI of present node(Or VLL), so as to VSI(Or VLL)Root
Message according to the duplication refreshes MAC Address list, and in VSI(Or VLL)The internal message to the duplication is forwarded.
211st, ring label, label switched path label, puppet of the looped network processing module of node C in message after the encapsulation
The preset not intercommunication list of line tag queries, with determine the need for by this encapsulate after message be transmitted to next-hop node D, if need
Message is transmitted to next-hop node D after this is encapsulated, then perform step 212;If need not by this encapsulate after message be transmitted to
Next-hop node D, then omit the operation that the message after encapsulating is transmitted to next-hop node D.
Wherein, step 210 and 211 execution can be in no particular order.
It should be noted that, now can also be according to the termination loopback of the label switched path tag queries in message after the encapsulation
Message list to determine whether to be constituted loop, because in the present embodiment, the ring of source ring is designated " ring1 ", the section of source node
Point identification is " root1 ", therefore, loop is not constituted now, therefore, it can directly perform step 211.
212nd, if it is determined that needing to forward the packet to next-hop node D, then the looped network processing module of node C encapsulates this
Message is sent to next-hop node D by work loop afterwards.
213rd, the looped network processing module of node D receives message after the encapsulation, and message is multicast message after determining the encapsulation, in
It is to replicate message after the encapsulation, and the message of duplication is sent to the VSI of present node(Or VLL), so as to VSI(Or VLL)Root
Message according to the duplication refreshes MAC Address list, and in VSI(Or VLL)The internal message to the duplication is forwarded.
214th, ring label, label switched path label, puppet of the looped network processing module of node D in message after the encapsulation
The preset not intercommunication list of line tag queries, with determine the need for by this encapsulate after message be transmitted to next-hop node A, if need
Message is transmitted to next-hop node A after this is encapsulated, then perform step 215;If need not by this encapsulate after message be transmitted to
Next-hop node A, then omit the operation that the message after encapsulating is transmitted to next-hop node A.
Wherein, step 213 and 214 execution can be in no particular order.
It should be noted that, now can also be according to the termination loopback of the label switched path tag queries in message after the encapsulation
Message list to determine whether to be constituted loop, because in the present embodiment, the ring of source ring is designated " ring1 ", the section of source node
Point identification is " root1 ", therefore, loop is not constituted now, therefore, it can directly perform step 215.
215th, if it is determined that needing to forward the packet to next-hop node A, then the looped network processing module of node D encapsulates this
Message is sent to next-hop node A by work loop afterwards.
216th, the looped network processing module of source access node A is received after the encapsulation after message, according in message after the encapsulation
Label switched path tag queries termination loopback message list, because the ring of source ring is designated " ring1 ", the node of source node
" root1 " is designated, it is thus determined that be loop, so, abandon the envelope message.
From the foregoing, it will be observed that the present embodiment is used receives multicast message on the building ring of MPLS-TP looped networks, wherein, the multicast
Message is packaged using MPLS, and multicast message includes ring label, label switched path label, pseudo line tag and payload, and
Label switched path label includes the ring mark of purpose ring and the node identification of destination node, and pseudo line tag includes the ring mark of source ring
Know the node identification with source node, then, ring label, label switched path label in the multicast message, pseudo line tag
The preset not intercommunication list of inquiry, to determine the need for for the multicast message being transmitted to next-hop node, if desired, then should
Multicast message is transmitted to next-hop node, if need not, omit the operation that the multicast message is transmitted to next-hop node;By
Message is packaged in MPLS in this scenario, is used, therefore when being transmitted to message on looped network, without refreshing
MAC table, it is possible to which speed is switched in raising;It is additionally, since in this scenario, maintains a not intercommunication list, and by looking into
Ask the not intercommunication list determine between node whether can with intercommunication, therefore, between not only simply and neatly can realizing node
Intercommunication and not intercommunication, improve efficiency of transmission, and, also allow for follow-up maintenance.
Embodiment three,
It is that looped network processing module is equally specially with the data transmission device in the looped network with the identical of embodiment two, and
It is specific it is integrated in the router, and router as a example by the node in MPLS-TP looped networks used as illustrating.It is different from embodiment two
, in the present embodiment, will be illustrated by taking unicast as an example.
As shown in figure 3, the data transmission method in a kind of looped network, idiographic flow can be as follows:
301st, access node A in source is upper circling point, the VSI of source node A(Or VLL)Obtain initial message.
302nd, the VSI of source access node A(Or VLL)The initial message is determined for after unicast message, by looped network processing module
MPLS encapsulation is carried out to the initial message.
Wherein, message can include ring label, label switched path label, pseudo line tag and payload after the encapsulation.
Wherein, label switched path label can use the form of existing label switched path label on form, but
It is that its content can include the ring mark of purpose ring and the node identification of destination node, pseudo line tag can include the ring mark of source ring
Know the node identification with source node.
Such as, the initial message can be encapsulated as:The ring of purpose ring is designated " ring1 ", the node mark of destination node
It is " root2 " to know, 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.
303rd, the looped network processing module of source access node A is configured to termination loopback message list.
Wherein, the termination loopback message list can include ring mark and node identification, so, the label in message
Switching path label, by inquiring about the termination loopback message list, it is possible to determine whether to have constituted loop(Whether return
To source node).
Such as, herein can be in termination loopback message list configuration:When the ring for receiving source ring is designated " ring1 ", source
When the node identification of node is " root1 ", it is defined as loop.
304th, the VSI of source access node A(Or VLL)Various information in message after encapsulation, such as according to MAC ground
Location, ring mark and node identification etc. refresh MAC Address list, and in VSI(Or VLL)Inside forwards to the message.
305th, label switched path label of the looped network processing module of source access node A in message after the encapsulation determines
Need to exchange(swap)When, ring label, label switched path label, the pseudo line tag inquiry in message after the encapsulation are preset
Not intercommunication list, with determine the need for by this encapsulate after message be transmitted to next-hop node B, if desired by this encapsulate after report
Text is transmitted to next-hop node B, then perform step 305;If need not by this encapsulate after message be transmitted to next-hop node B,
The message after encapsulating is transmitted to the operation of next-hop node B for omission.
Wherein, the not intercommunication list can include ring mark and node identification, for indicate between node whether intercommunication, from
And pass through the ring label in message, label switched path label, pseudo line tag and inquire about preset not intercommunication list, it is possible to it is determined that
Whether need to forward the packet to next-hop node B.
306th, if it is determined that needing to forward the packet to next-hop node B, then the looped network processing module of source access node A will
Message is sent to next-hop node B by work loop after the encapsulation.
307th, the looped network processing module of node B receives message after the encapsulation, and message is unicast message after determining the encapsulation, in
It is that label switched path label in message determines to need to exchange after according to the encapsulation(swap)When, according in message after encapsulation
Various information, such as identified according to MAC Address, ring and node identification etc. refresh MAC Address list.
308th, ring label, label switched path label, puppet of the looped network processing module of node B in message after the encapsulation
The preset not intercommunication list of line tag queries, with determine the need for by this encapsulate after message be transmitted to next-hop node C, if need
Message is transmitted to next-hop node C after this is encapsulated, then perform step 308;If need not by this encapsulate after message be transmitted to
Next-hop node C, then omit the operation that the message after encapsulating is transmitted to next-hop node C.
Wherein, step 307 and 308 execution can be in no particular order.
It should be noted that, now can also be according to the termination loopback of the label switched path tag queries in message after the encapsulation
Message list to determine whether to be constituted loop, because in the present embodiment, the ring of source ring is designated " ring1 ", the section of source node
Point identification is " root1 ", therefore, loop is not constituted now, therefore, it can directly perform step 307.
309th, if it is determined that needing to forward the packet to next-hop node C, then the looped network processing module of node B encapsulates this
Message is sent to next-hop node C by work loop afterwards.
310th, the looped network processing module of node C receives message after the encapsulation, and message is unicast message after determining the encapsulation, in
It is that label switched path label in message determines to need to exchange after according to the encapsulation(swap)When, according in message after encapsulation
Various information, such as identified according to MAC Address, ring and node identification etc. refresh MAC Address list.
311st, ring label, label switched path label, puppet of the looped network processing module of node C in message after the encapsulation
The preset not intercommunication list of line tag queries, with determine the need for by this encapsulate after message be transmitted to next-hop node D, if need
Message is transmitted to next-hop node D after this is encapsulated, then perform step 311;If need not by this encapsulate after message be transmitted to
Next-hop node D, then omit the operation that the message after encapsulating is transmitted to next-hop node D.
Wherein, step 310 and 311 execution can be in no particular order.
It should be noted that, now can also be according to the termination loopback of the label switched path tag queries in message after the encapsulation
Message list to determine whether to be constituted loop, because in the present embodiment, the ring of source ring is designated " ring1 ", the section of source node
Point identification is " root1 ", therefore, loop is not constituted now, therefore, it can directly perform step 307.
312nd, if it is determined that needing to forward the packet to next-hop node D, then the looped network processing module of node B encapsulates this
Message is sent to next-hop node D by work loop afterwards.
313rd, the looped network processing module of node D receives message after the encapsulation, and message is unicast message after determining the encapsulation, in
It is that label switched path label in the message is defined as POP(Determine that node D is purpose node)When, after this is encapsulated
Message is sent to the VSI of node D(Or VLL).
It should be noted that, for unknown unicast message, also processed according to multicast, will not be repeated here.
From the foregoing, it will be observed that the present embodiment is used receives message on the building ring of MPLS-TP looped networks, wherein, the unicast message
It is packaged using MPLS, unicast message includes ring label, label switched path label, pseudo line tag and payload, and label
The ring mark and the node identification of destination node of switching path label including purpose ring, pseudo line tag include the ring mark of source ring and
The node identification of source node, then, ring label, label switched path label, the pseudo line tag inquiry in the unicast message
Preset not intercommunication list, to determine the need for forwarding the packet to next-hop node, if desired, then forward the message
To next-hop node, if need not, omission forwards the packet to the operation of next-hop node;Due in this scenario, adopting
It is that MPLS is packaged to message, therefore when being transmitted to message on looped network, without refreshing MAC table, it is possible to
Speed is switched in raising;It is additionally, since in this scenario, maintains a not intercommunication list, and by inquiring about the not intercommunication list
Come determine between node whether can with intercommunication, therefore, not only can simply and neatly realize the intercommunication and not intercommunication between node,
Efficiency of transmission is improved, and, also allow for follow-up maintenance.
Example IV,
On the basis of according to embodiment two and three, in order to improve the security of data transfer, each node is by message
Before being transmitted to next-hop node, link detecting and nodal test are carried out, if normal(That is fault-free), then work is directly passed through
Ring forwards the packet to next-hop node, otherwise, if finding link failure or node failure, carries out pretection switch, below
To be described in detail respectively.
(1)Link failure;
Referring to Fig. 4 a, the link that node A and node B are detected between node A and node B respectively 1, the A points that break down enter
Row pretection switch(I.e. wrapping is switched), message is switched on protection ring and is transmitted, until node B, then from protection
Ring switches back to building ring, completes pretection switch.
Wherein, the dotted line in Fig. 4 a represents the transmission route of message, the pretection switch similar to common ring switching, herein
Repeat no more.
(2)Node failure;
Referring to Fig. 4 b, upstream router, such as Protocol Independent Multicast(PIM, Protocol Independent
Multicast)Two-way converting is detected(BFD, Bidirectional Forwarding Detection)Equipment or multicast source are examined
Measure node A and break down 2, upstream router trigger protection is switched, and message is issued by node D, and node D is detected
Node A breaks down 2, triggers the pretection switch of looped network, and message is switched into protection ring from building ring, and node B is transferred to always,
Message is just switched back into building ring from protection ring, pretection switch is completed, hereafter, message continues to be transmitted on building ring,
This is repeated no more.
Wherein, the dotted line in Fig. 4 b represents the transmission route of message, and the pretection switch of the looped network falls similar to common ring
Change, will not be repeated here.
It can be seen that, node failure is similar with link failure reversed process, additionally, it should be noted that, unicast and multicast are switched
Process is similar to, and two point failure is also similar with the reversed process of Single Point of Faliure, will not be repeated here.
From the foregoing, it will be observed that the present embodiment can equally be realized and implement two and three same beneficial effects, this reality is additionally, since
Example is applied when message is transmitted, fault detect can be carried out to link and node, and pretection switch is carried out when failure is detected,
So, can further improve the security of data transfer.
Embodiment five,
Implementing in two, three and four, illustrated as a example by monocyclic, it should be appreciated that for polycyclic, similarly fitting
For the above method, will be below described in detail as a example by bicyclic.
As shown in figure 5, MPLS-TP looped networks can be set up based on Ethernet, the MPLS-TP looped networks are twin nuclei, including
Core ring(That is ring 1(ring1))And access ring(That is ring 2(ring2)), core ring is again including building ring(That is outer shroud)And protection ring
(That is inner ring), hereon referred to as core work ring and core protection ring, similarly, access ring also includes building ring(That is outer shroud)And protection
Ring(That is inner ring), hereon referred to as cut-in operation ring and access protection ring.The building ring and protection ring are by each section in Ethernet
Point is connected, and for convenience, in the present embodiment, will include node A, node B, node with the MPLS-TP looped networks
Illustrated as a example by C, node D, node E and node F, wherein, circling point is intersected based on node B, node C is standby intersecting circling point.Its
In, each node includes looped network processing module and VSI(Or VLL), wherein, each VSI(Or VLL)It is articulated in building ring
On, wherein, the dotted line in Fig. 5 represents the transmission route of message.
Wherein, in order to how different nodes makes a distinction, each root and each node have an identity, such as
The identity of root is identified for root(root id), the identity of node is node identification(leaf id), also, to network
When the message of side is packaged, it is also possible to which by these mark encapsulation in messages, i.e., the form of network side message can be such as table two
It is shown:
Table two
Ring label | Label switched path label | Pseudo line tag | Payload |
Wherein, label switched path label can use the form of existing label switched path label on form, but
It is that its content can include that the ring of purpose ring is identified(dring id)With the node identification of destination node(dleaf id), pseudo-wire mark
Signing can include that the ring of source ring is identified(sring id)With the node identification of source node(sleaf id).
Additionally, not intercommunication list can be configured on each node, wherein, the not intercommunication list can be identified including ring
(ring id)And node identification(leaf id), for indicate between node whether intercommunication so that by the ring label in message,
Label switched path label, pseudo line tag inquire about preset not intercommunication list, it is possible to determine the need for forwarding the message
To next-hop node.
In addition to needing configuration not intercommunication list, in order to avoid loopback, in main intersecting circling point and standby intersecting circling point(Save
Point B and node C)Configuration termination loopback message list is also needed to, the termination loopback message list can be identified including ring(ring
id)And node identification(leaf id), so, the label switched path label in message, by inquiring about the termination loopback report
Literary list, it is possible to determine whether to have constituted loop(Whether return to source node), to further process, than
Such as, if loop, then dropping packets;If not loop, then perform " ring label, label switched path mark in the message
Sign, pseudo line tag inquires about preset not intercommunication list, to determine whether the message needs to be transmitted to next-hop node " the step of,
Etc..
Based on the MPLS-TP ring network structures shown in Fig. 5, below will be by taking multicast as an example, flow is performed to it to be carried out specifically
It is bright.
Wherein, it should be noted that, can in several ways determine whether current message is multicast message, such as, group
Report text so, be able to can just be identified using specific ring mark and node identification according to ring mark and node identification
Whether current message is multicast message, or, it is also possible to indicate whether current message is multicast message by extra mark, etc.
Deng will not be repeated here.
Data transmission method under the twin nuclei is similar with monocyclic data transmission method, simply main intersecting circling point, i.e.,
For node B, in the next-hop node E being sent to the message on cut-in operation ring, in addition it is also necessary to refresh joining table
, wherein, the joining list item can include ring mark and node identification, be mainly used in when from other interfaces to this
Present node as source node message when, judge whether terminate the message(It is now loopback).
Additionally, for for standby intersecting circling point, i.e. node C, when node C and the VSI or VLL of node C annexation by
Obstruction is changed into not blocking, or when being changed into obstruction from not blocking, in addition it is also necessary to all list items on node C are removed, wherein, VSI or VLL
It is obstruction to be articulated to the original state of cut-in operation ring.
From the foregoing, it will be observed that the present embodiment is used receives message on the building ring of MPLS-TP looped networks, wherein, wrapped in the message
Ring label, label switched path label, pseudo line tag and payload are included, and label switched path label includes that the ring of purpose ring is identified
With the node identification of destination node, pseudo line tag includes the ring mark of source ring and the node identification of source node, then, according to the report
Ring label, label switched path label, pseudo line tag in text inquire about preset not intercommunication list, to determine the need for this
Message is transmitted to next-hop node, if desired, then forward the packet to next-hop node, if need not, omit and report this
Text is transmitted to the operation of next-hop node;Message is packaged due in this scenario, using MPLS, therefore in looped network
On when being transmitted to message, without refreshing MAC table, it is possible to which speed is switched in raising;It is additionally, since in this scenario, dimension
Protected a not intercommunication list, and determined by inquiring about the not intercommunication list between node whether can with intercommunication, therefore, not only
The intercommunication and not intercommunication between node can simply and be neatly realized, efficiency of transmission is improved, and, also allow for follow-up maintenance.
Embodiment six,
On the basis of according to embodiment five, in order to improve the security of data transfer, each node is being forwarded the packet
Before to next-hop node, link detecting and nodal test are carried out, if normal(That is fault-free), then directly will by building ring
The message is transmitted to next-hop node, otherwise, if finding link failure or node failure, carries out pretection switch.
Wherein, Single Point of Faliure(Except main intersecting circling point)Processing mode with implement four identical, will not be repeated here, below will
Situation to multipoint fault and main intersecting circling point is described in detail respectively.
Referring to Fig. 6 a, 1 is broken down between node A and main intersecting circling point B, between main intersecting circling point B and standby intersecting circling point C
Also 2 are broken down, it is because now standby intersecting circling point C detects the also intercommunication between cut-in operation ring and principal phase intersection point therefore standby
Intersecting circling point C is left intact for cut-in operation ring, it is impossible to accomplish the pretection switch of dotted line 1, under this kind of fault condition,
The lower service disconnection for hanging access ring, the i.e. unicast traffic of node A, C and D to node B, C, E and F is obstructed.Therefore, at this point it is possible to
Standby intersecting circling point C mountings choke point is notified by main intersecting circling point B, that is, connects choke point, so as to pass through standby intersecting circling point C by message
It is sent on access ring.Such as, specifically can be as follows:
Message is handed down to node A by multicast source, and the link that node A is detected between node A and main intersecting circling point B occurs event
Hinder, therefore trigger protection is switched, and message is changed in core protection ring from core work ring cutting by protecting bridge, due to main intersecting
The link of circling point B and standby intersecting circling point C also breaks down, therefore the message can always be sent to standby phase along core protection ring
During cross ring point C, message is just switched back into core work ring by protecting bridge, then according to normal link transmission mode to message
Transmitted.Additionally, main intersecting circling point B also perceives itself(That is main intersecting circling point B)With the link between node A, and from
Body(Main intersecting circling point B)Intersect the link between circling point C and break down with standby, therefore, main intersecting circling point B is notified for intersecting ring
Point C mounts choke point, that is, connect choke point so that message can be sent to cut-in operation ring by message by standby intersecting circling point C
On, because main intersecting circling point B is obstructed with the standby link intersected between circling point C, therefore, message is entered by standby intersecting circling point C
During cut-in operation ring, message can be switched on access protection ring by protecting bridge, when being sent to main intersecting circling point B always,
Message is switched back into cut-in operation ring by protecting bridge, message is transmitted according to normal link transmission mode then,
This is repeated no more.
Referring to Fig. 6 b, because main intersecting circling point B breaks down 1, therefore, now standby intersecting circling point C can be detected and connect
Enter not intercommunication between building ring and principal phase intersection point, so, choke point is connected in standby intersecting circling point C mountings choke point, so that
Can be sent to message on access ring by standby intersecting circling point C by message.Such as, specifically can be as follows:
Message is handed down to node A by multicast source, and node A detects main intersecting circling point B and breaks down, therefore trigger protection falls
Change, message is changed in core protection ring from core work ring cutting by protecting bridge, when being sent to standby intersecting circling point C always,
Message is switched back into core work ring by protecting bridge, message is transmitted according to normal link transmission mode then.This
Outward, standby intersecting circling point C also detects that main intersecting circling point B breaks down, therefore, resistance is connected in standby intersecting circling point C mountings choke point
Plug point so that can be sent to message on cut-in operation ring by standby intersecting circling point C by message, because main intersecting circling point B occurs
Failure, therefore, message can be switched to access by message when cut-in operation ring is entered by standby intersecting circling point C by protecting bridge
On protection ring, when being sent to main intersecting circling point E always, message is just switched back into cut-in operation ring by protecting bridge, then according to
Normal link transmission mode is transmitted to message, be will not be repeated here.
From the foregoing, it will be observed that the present embodiment can equally be realized and implement five same beneficial effects, the present embodiment is additionally, since
When message is transmitted, fault detect can be carried out to link and node, and pretection switch, institute are carried out when failure is detected
Can further improve the security of data transfer.
Embodiment seven,
In order to preferably implement above method, the embodiment of the present invention also provides the data transmission device in a kind of looped network, such as
Shown in Fig. 7, the data transmission device includes receiving unit 701, query unit 702, transmitting element 703 and blocking unit;
Receiving unit 701, for receiving message on the building ring of MPLS-TP looped networks.
Wherein, the message can be multicast message, or unicast message, and the message is packaged using MPLS, should
Ring label can be included in message(ring label), label switched path label(lsp label), pseudo line tag(pw
label)And the form of payload, the i.e. message is " ring label+label switched path label+pseudo line tag+payload ".
Wherein, label switched path label can use the form of existing label switched path label on form, but
It is that its content can include that the ring of purpose ring is identified(dring id)With the node identification of destination node(dleaf id), pseudo-wire mark
Signing can include that the ring of source ring is identified(sring id)With the node identification of source node(sleaf id).
Query unit 702, it is pre- for the ring label in the message, label switched path label, pseudo line tag inquiry
The not intercommunication list put, to determine the need for for the message being transmitted to next-hop node.
Wherein, the not intercommunication list can be identified including ring(ring id)And node identification(leaf id), for indicating
Between node whether intercommunication so that by the ring label in message, label switched path label, pseudo line tag inquire about it is preset not
Intercommunication list, it is possible to determine the need for forwarding the packet to next-hop node.
Transmitting element 703, for when query unit 702 determines to need to forward the packet to next-hop node, by this
Message is transmitted to next-hop node;
Blocking unit 704, will for when query unit determines that next-hop node need not be forwarded the packet to, omitting
The message is transmitted to the operation of next-hop node.
Wherein, in query unit 702 in the message ring label, label switched path label, pseudo line tag inquiry
Preset not intercommunication list, before determining whether the message needs to be transmitted to next-hop node, can also determine whether
Loop is constituted, if not loop, ring label just in the message, label switched path label, pseudo line tag inquiry
Preset not intercommunication list, to determine whether the message needs to be transmitted to next-hop node, if having constituted loop, can be with
Data transmission device in the packet loss, the i.e. looped network can also be included into determining unit;
Determining unit, for the label switched path tag queries termination loopback message list in the message, with true
Whether fixed is loop, if loop, then dropping packets;If not during loop, then triggering query unit and performing according in the message
Ring label, label switched path label, pseudo line tag inquire about preset not intercommunication list, to determine whether the message needs to turn
Issue the operation of next-hop node.
Additionally, each node is after the message is received, according to the difference of message transmissions mode, message can also be made
Further different treatment, such as, for multicast, can also now replicate the VSI that a message is sent to present node
Or VLL, so that the VSI or VLL can refresh MAC Address list according to the message of the duplication, and to this inside VSI or VLL
Message is forwarded;And for unicast, then can determine to need to hand in the label switched path label in the message
Change(swap)When, directly swapped on ring(That is ring swap), and if label switched path mark in the message
When label are defined as POP, then into VSI or VLL, and the forwarding behavior of VSI or VLL inside is carried out;I.e.:
Transmitting element 703, can be also used for determining that the message is multicast message, replicate the message, and the message that will be replicated
The VSI or VLL of present node are sent to, so that VSI or VLL refreshes MAC Address list according to the message of the duplication, and in VSI
Or the message is forwarded inside VLL.
Transmitting element 703, can be also used for determining that the message is unicast message;According to the label switched path in the message
Label determine need exchange when, triggering query unit 702 perform according to the ring label in the message, label switched path label,
Pseudo line tag inquires about preset not intercommunication list, to determine the need for being transmitted to the message operation of next-hop node;
According to label switched path label in the message be defined as POP when, by the message be sent to present node VSI or
VLL, so that VSI or VLL refreshes MAC Address list according to the message, and forwards inside VSI or VLL to the message.
It should be noted that, for unknown unicast message, also processed according to multicast, will not be repeated here.
Wherein, when next-hop node is forwarded the packet to, link detecting and nodal test can be carried out, if normal
(That is fault-free), then next-hop node is directly forwarded the packet to by building ring, otherwise, if finding link failure or node
Failure, then carry out pretection switch, i.e. transmitting element 703, specifically can be used for:
Link and next-hop node to the building ring of the MPLS-TP looped networks detect,
If detecting link failure, pretection switch is carried out, by the protection ring of MPLS-TP looped networks(That is inner ring)It is upper should
Message is sent to next-hop node;
If detecting next-hop node failure, pretection switch is carried out, by the protection ring of MPLS-TP looped networks(It is i.e. interior
Ring), the message is sent to next-hop node using the path for bypassing malfunctioning node;
If both not detected link failure or not detected next-hop node failure, by MPLS-TP looped networks
The message is transmitted to next-hop node by building ring.
In addition, it should be noted that, the MPLS-TP looped networks can be monocyclic, or polycyclic such as bicyclic.Wherein, it is double
Ring can include core work ring and cut-in operation ring, wherein, core work ring and cut-in operation ring can include two and intersect
Circling point, intersects circling point based on one, another is standby intersecting circling point, wherein, for main intersecting circling point and standby intersecting circling point this two
, it is necessary to be articulated in respectively on core work ring for the VSI or VLL of individual node, it is also desirable to be articulated on cut-in operation ring, but
It is that for standby intersecting circling point, the original state that its VSI or VLL is articulated in cut-in operation ring is obstruction, only works as main intersecting
When circling point notifies standby intersecting circling point mounting choke point, or, when standby intersecting circling point perceives main intersecting circling point failure, standby intersecting circling point
Can just connect(Mount)Choke point.
If the building ring of the MPLS-TP looped networks includes core work ring and cut-in operation ring, the data in the looped network are passed
Defeated device can also include refresh unit, specifically for:
If present node be located at core work ring on, and based on intersect circling point, then by the message be sent to positioned at access
During next-hop node on building ring, refresh joining list item;
If present node is located on core work ring, and is standby intersecting circling point, then when the present node is current with described
The annexation of the Virtual Switch Instance/virtual leased line of node is changed into not blocking from blocking, or when being changed into obstruction from not blocking,
The all list items on the present node are removed, the Virtual Switch Instance/virtual leased line is articulated to the first of cut-in operation ring
Beginning state is obstruction.
Now, transmitting element 703, specifically can be also used for:If next-hop node is located on core work ring, and is principal phase
Cross ring point, then it is determined that the multilink related to the next-hop node breaks down(There is multipoint fault)When, or true
When the fixed next-hop node breaks down, by the protection ring of MPLS-TP looped networks, the message is passed using the standby intersecting circling point
In the defeated ring to cut-in operation.Specifically can be as follows:
When it is determined that the multilink related to the next-hop node breaks down, standby phase is notified by the next-hop node
Cross ring point mounts the choke point of cut-in operation ring, will pass through the protection ring of MPLS-TP looped networks, using the standby circling point that intersects by institute
Message transmissions are stated in cut-in operation ring.
When it is determined that the next-hop node breaks down, perceived main intersecting circling point failure and mounted access by standby intersecting circling point
The choke point of building ring, will pass through the protection ring of MPLS-TP looped networks, using the standby intersecting circling point by the message transmissions to connecing
In entering building ring.
Data transmission device in the looped network specifically can with it is integrated in the router, these routers can be used as MPLS-TP
Node in looped network.
When implementing, above unit can be realized as independent entity, it is also possible to be combined, as
Same or several entities realize that the specific implementation of above unit can be found in embodiment above, will not be repeated here.
From the foregoing, it will be observed that the receiving unit 701 of the data transmission device in the looped network of the present embodiment can be in MPLS-TP looped networks
Building ring on receive message, wherein, the message is packaged using MPLS, and ring label, Tag switching can be included in message
Path label, pseudo line tag and payload, and label switched path label includes the ring mark of purpose ring and the node of destination node
Mark, pseudo line tag includes the ring mark of source ring and the node identification of source node, then, by query unit 702 according to the message
In ring label, label switched path label, pseudo line tag inquire about preset not intercommunication list, to determine the need for reporting this
Text is transmitted to next-hop node, if desired, then forward the packet to next-hop node by transmitting element 703, if need not,
The operation for forwarding the packet to next-hop node is omitted by blocking unit 704;Due in this scenario, using MPLS pairs
Message is packaged, therefore when being transmitted to message on looped network, without refreshing MAC table, it is possible to which speed is switched in raising;
It is additionally, since in this scenario, maintains a not intercommunication list, and is determined by inquiring about the not intercommunication list between node
Whether can with intercommunication, therefore, not only can simply and neatly realize the intercommunication and not intercommunication between node, improve efficiency of transmission,
And, also allow for follow-up maintenance.
Embodiment eight,
Accordingly, the embodiment of the present invention also provides a kind of communication system, including any one ring provided in an embodiment of the present invention
Data transmission device in net, the data transmission device in the looped network for details, reference can be made to embodiment seven, will not be repeated here.
Because the communication system includes the data transmission device in any one looped network provided in an embodiment of the present invention, therefore,
The beneficial effect same with the data transmission device in any one looped network provided in an embodiment of the present invention can be equally realized, is referred to
Embodiment above, will not be repeated here.
Embodiment nine,
Accordingly, the embodiment of the present invention also provides a kind of network equipment, including processor, the memory for data storage
With the transceiver for transceiving data, it is as follows:
Processor, for receiving message on the building ring of MPLS-TP looped networks, wherein, the message includes ring label, mark
Switching path label, pseudo line tag and payload are signed, label switched path label includes the ring mark of purpose ring and destination node
Node identification, pseudo line tag includes the ring mark of source ring and the node identification of source node;Ring label in the message, label
Switching path label, pseudo line tag inquire about preset not intercommunication list, next to determine the need for being transmitted to the message
Hop node;If so, then forwarding the packet to next-hop node;If it is not, then omit forwarding the packet to next-hop node
Operation.
Wherein, preset not intercommunication row are inquired about in the ring label in message, label switched path label, pseudo line tag
Table, before determining whether the message needs to be transmitted to next-hop node, can also determine whether to have constituted loop, if
It is not loop, ring label just in the message, label switched path label, pseudo line tag inquire about preset not intercommunication row
Table, to determine whether the message needs to be transmitted to next-hop node, if having constituted loop, can by the packet loss,
I.e.:
The processor, is additionally operable to according to the label switched path tag queries termination loopback message list in the message, with
Determine whether to be loop;If loop, then dropping packets;If not loop, then perform ring label, label in the message
Switching path label, pseudo line tag inquire about preset not intercommunication list, to determine whether the message needs to be transmitted to next-hop section
The step of point.
Additionally, each node is after the message is received, according to the difference of message transmissions mode, message can also be made
Further different treatment, such as, for multicast, can also now replicate the VSI that a message is sent to present node
Or VLL, so that the VSI or VLL can refresh MAC Address list according to the message of the duplication, and to this inside VSI or VLL
Message is forwarded;And for unicast, then can determine to need to hand in the label switched path label in the message
Change(swap)When, directly swapped on ring(That is ring swap), and if label switched path mark in the message
Label are defined as bullet and fall(POP)When, then into VSI or VLL, and carry out the forwarding behavior of VSI or VLL inside;I.e. " according to the report
Ring label, label switched path label, pseudo line tag in text inquire about preset not intercommunication list, to determine the need for institute
State message and be transmitted to next-hop node " before, the processor is additionally operable to perform following operation:
(1)Multicast;
Determine that the message, for multicast message, replicates the message(That is multicast message), and the message of duplication is sent to currently
The VSI or VLL of node are so that VSI or VLL refreshes MAC Address list according to the message of the duplication and right inside VSI or VLL
The message is forwarded.
(2)Unicast;
The message is determined for unicast message, and the label switched path label in the message determines to need to exchange(swap)
When, perform " ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication list, with
Determine the need for forwarding the packet to next-hop node " the step of;Label switched path label in the message is true
When being set to POP, the message is sent to the VSI or VLL of present node, so that VSI or VLL refreshes MAC Address according to the message
List, and the message is forwarded inside VSI or VLL.
It should be noted that, for unknown unicast message, also processed according to multicast, will not be repeated here.
Wherein, processor can carry out link detecting and nodal test when next-hop node is forwarded the packet to, if
It is normal(That is fault-free), then next-hop node is directly forwarded the packet to by building ring, otherwise, if finding link failure
Or node failure, then pretection switch is carried out, i.e.,:
Processor, link and next-hop node specifically for the building ring to the MPLS-TP looped networks are detected;If
Link failure is detected, then carries out pretection switch, the message is sent to by next-hop section by the protection ring of MPLS-TP looped networks
Point;If detecting next-hop node failure, pretection switch is carried out, by the protection ring of MPLS-TP looped networks, using bypassing failure
The message is sent to the next-hop node of next-hop node in the path of node;If both not detected link failure or not had
Next-hop node failure is detected, then the message is transmitted to by next-hop node by the building ring of MPLS-TP looped networks.
In addition, it should be noted that, the MPLS-TP looped networks can be monocyclic, or polycyclic such as bicyclic.Wherein, it is double
Ring can include core work ring and cut-in operation ring, wherein, core work ring and cut-in operation ring can include two and intersect
Circling point, intersects circling point based on one, another is standby intersecting circling point, wherein, for main intersecting circling point and standby intersecting circling point this two
For the VSI or VLL of individual node, both needed to be articulated in respectively on core work ring, it is also desirable to be articulated on cut-in operation ring, but
It is that for standby intersecting circling point, the original state that its VSI or VLL is articulated in cut-in operation ring is obstruction, only works as main intersecting
When circling point notifies standby intersecting circling point mounting choke point, or, when standby intersecting circling point perceives main intersecting circling point failure, standby intersecting circling point
Can just connect(Mount)Choke point.
If the building ring of the MPLS-TP looped networks includes core work ring and cut-in operation ring, processor can specifically be used
In:If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that related to the next-hop node is more
Bar link breaks down(There is multipoint fault)When, or when it is determined that the next-hop node breaks down, by MPLS-TP
The protection ring of looped network, using the standby intersecting circling point by the message transmissions to cut-in operation ring;Specifically can be as follows:
When it is determined that the multilink related to the next-hop node breaks down, standby phase is notified by the next-hop node
Cross ring point mounts the choke point of cut-in operation ring, will pass through the protection ring of MPLS-TP looped networks, using the standby circling point that intersects by institute
Message transmissions are stated in cut-in operation ring.
When it is determined that the next-hop node breaks down, perceived main intersecting circling point failure and mounted access by standby intersecting circling point
The choke point of building ring, will pass through the protection ring of MPLS-TP looped networks, using the standby intersecting circling point by the message transmissions to connecing
In entering building ring.
Additionally, position according to present node is obstructed, the subsequent treatment performed required for it would also vary from, example
Such as, processor, can be also used for performing following operation:
If present node be located at core work ring on, and based on intersect circling point, then by the message be sent to positioned at access
During next-hop node on building ring, in addition it is also necessary to refresh joining list item, wherein, the joining list item can include ring mark and
Node identification, be mainly used in when from other interfaces to the message using the present node as source node when, judge whether
Terminate the message(It is now loopback).
And if present node is located on core work ring, and being standby intersecting circling point, then when the present node is current with described
The annexation of the VSI or VLL of node is changed into not blocking from blocking, or when being changed into obstruction from not blocking, in addition it is also necessary to remove and deserve
All list items on front nodal point, wherein, the original state that VSI or VLL is articulated to cut-in operation ring is obstruction.
The specific implementation of each equipment above can be found in embodiment above, will not be repeated here.
From the foregoing, it will be observed that the network equipment of the present embodiment is used receives message on the building ring of MPLS-TP looped networks, wherein,
The message is packaged using MPLS, and message includes ring label, label switched path label, pseudo line tag and payload, and marks
Signing switching path label includes the ring mark of purpose ring and the node identification of destination node, and pseudo line tag includes that the ring of source ring is identified
With the node identification of source node, then, ring label, label switched path label, the pseudo line tag inquiry in the message are pre-
The not intercommunication list put, to determine the need for forwarding the packet to next-hop node, if desired, then forward the packet to
Next-hop node, if need not, omission forwards the packet to the operation of next-hop node;Due in this scenario, using
Be that MPLS is packaged to message, therefore when being transmitted to message on looped network, without refreshing MAC table, it is possible to carry
Height switches speed;Be additionally, since in this scenario, maintain a not intercommunication list, and by inquire about the not intercommunication list come
Determine between node whether can with intercommunication, therefore, not only can simply and neatly realize the intercommunication and not intercommunication between node, carry
High-transmission efficiency, and, also allow for follow-up maintenance.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Read-only storage(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 looped network for being provided the embodiment of the present invention above have been carried out in detail
Thin to introduce, specific case used herein is set forth to principle of the invention and implementation method, and above example is said
It is bright to be only intended to help and understand the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this hair
Bright thought, be will change in specific embodiments and applications, and in sum, this specification content should not be managed
It is limitation of the present invention to solve.
Claims (19)
1. the data transmission method in a kind of looped network, it is characterised in that including:
Message is received on the building ring of the transmission subset MPLS-TP looped networks of multiprotocol label switching, the message includes ring
Label, label switched path label, pseudo line tag and payload, the ring mark of the label switched path label including purpose ring and
The node identification of destination node, the pseudo line tag includes the ring mark of source ring and the node identification of source node;
Ring label, label switched path label, pseudo line tag in the message inquire about preset not intercommunication list, with true
It is fixed whether to need for the message to be transmitted to next-hop node;The not intercommunication list be used to indicate between node whether intercommunication;
If it is determined that the message is transmitted to next-hop node by needs, then the message is transmitted to next-hop node;
If it is determined that the message need not be transmitted into next-hop node, then omit and the message is transmitted to next-hop node
Operation.
2. method according to claim 1, it is characterised in that ring label, the Tag switching in the message
Path label, pseudo line tag inquire about preset not intercommunication list, to determine whether the message needs to be transmitted to next-hop node
Before, methods described also includes:
Label switched path tag queries termination loopback message list in the message, to determine whether being loop;
If it is determined that being loop, then dropping packets;
If it is determined that not being loop, then triggering performs ring label, label switched path label, the pseudo-wire in the message
The preset not intercommunication list of tag queries, to determine whether the message needs to be transmitted to the operation of next-hop node.
3. method according to claim 2, it is characterised in that ring label, the Tag switching in the message
Path label, pseudo line tag inquire about preset not intercommunication list, to determine the need for for the message being transmitted to next-hop section
Before point, methods described also includes:
Determine that the message is multicast message;
The message is replicated, and the message of duplication is sent to the Virtual Switch Instance or virtual leased line of present node.
4. method according to claim 2, it is characterised in that ring label, the Tag switching in the message
Path label, pseudo line tag inquire about preset not intercommunication list, to determine the need for for the message being transmitted to next-hop section
Before point, methods described also includes:
Determine that the message is unicast message;
When label switched path label in the message determines to need to exchange, triggering performs the ring in the message
Label, label switched path label, pseudo line tag inquire about preset not intercommunication list, to determine the need for turning the message
Issue the operation of next-hop node;
When label switched path label in the message is defined as bullet and falls POP, the message is sent to present node
Virtual Switch Instance or virtual leased line.
5. the method according to any one of Claims 1-4, it is characterised in that described that the message is transmitted to next-hop
Node, including:
Link and next-hop node to the building ring of the MPLS-TP looped networks are detected;
If detecting link failure, pretection switch is carried out, be sent to down the message by the protection ring of MPLS-TP looped networks
One hop node;
If detecting next-hop node failure, pretection switch is carried out, it is former using bypassing by the protection ring of MPLS-TP looped networks
The message is sent to the next-hop node of next-hop node in the path for hindering node;
If both not detected link failure or not detected next-hop node failure, by the work of MPLS-TP looped networks
The message is transmitted to next-hop node by ring.
6. the method according to any one of Claims 1-4, it is characterised in that if the building ring bag of the MPLS-TP looped networks
Include core work ring and cut-in operation ring, then it is described that the message is transmitted to next-hop node, including:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that related to the next-hop node
Multilink when breaking down, or when it is determined that the next-hop node breaks down, by the protection of MPLS-TP looped networks
Ring, using standby intersecting circling point by the message transmissions to cut-in operation ring.
7. method according to claim 6, it is characterised in that it is determined that the multilink related to the next-hop node
When breaking down, by the protection ring of MPLS-TP looped networks, using the standby circling point that intersects by the message transmissions to cut-in operation
In ring, including:
When it is determined that the multilink related to the next-hop node breaks down, notify standby intersecting by the next-hop node
Circling point mounts the choke point of cut-in operation ring, will pass through the protection ring of MPLS-TP looped networks, using the standby circling point that intersects by institute
Message transmissions are stated in cut-in operation ring.
8. method according to claim 6, it is characterised in that when it is determined that the next-hop node breaks down, pass through
The protection ring of MPLS-TP looped networks, using the standby intersecting circling point by the message transmissions to cut-in operation ring, including:
When it is determined that the next-hop node breaks down, perceived main intersecting circling point failure and mounted access work by standby intersecting circling point
Make the choke point of ring, will pass through the protection ring of MPLS-TP looped networks, using the standby intersecting circling point by the message transmissions to connecing
In entering building ring.
9. the method according to any one of Claims 1-4, it is characterised in that if the building ring bag of the MPLS-TP looped networks
Core work ring and cut-in operation ring are included, then:
If present node be located at core work ring on, and based on intersect circling point, then by the message be sent to positioned at access work
When making the next-hop node on ring, refresh joining list item;
If present node is located on core work ring, and is standby intersecting circling point, then when the present node and the present node
The annexation of Virtual Switch Instance/virtual leased line be changed into not blocking from blocking, or when being changed into obstruction from not blocking, remove
All list items on the present node, the Virtual Switch Instance/virtual leased line is articulated to the initial shape of cut-in operation ring
State is obstruction.
10. the data transmission device in a kind of looped network, it is characterised in that including:
Receiving unit, it is described for receiving message on the building ring of the transmission subset MPLS-TP looped networks of multiprotocol label switching
Message includes ring label, label switched path label, pseudo line tag and payload, and the label switched path label includes purpose
The ring mark and the node identification of destination node of ring, the pseudo line tag include the ring mark of source ring and the node mark of source node
Know;
Query unit, it is preset not for the ring label in the message, label switched path label, pseudo line tag inquiry
Intercommunication list, to determine the need for for the message being transmitted to next-hop node;The not intercommunication list be used for indicate node it
Between whether intercommunication;
Transmitting element, for when the query unit determines to need for the message to be transmitted to next-hop node, by the report
Text is transmitted to next-hop node;
Blocking unit, for being omitted institute when the query unit determines the message need not be transmitted into next-hop node
State the operation that message is transmitted to next-hop node.
Data transmission device in 11. looped networks according to claim 10, it is characterised in that also including determining unit;
The determining unit, in the message label switched path tag queries terminate loopback message list, with
Determine whether to be loop, if loop, then dropping packets;If not during loop, then triggering query unit and performing according to the report
Whether ring label, label switched path label, pseudo line tag in text inquire about preset not intercommunication list, to determine the message
Need to be transmitted to the operation of next-hop node.
Data transmission device in 12. looped networks according to claim 11, it is characterised in that
The transmitting element, is additionally operable to determine the message for multicast message, replicates the message, and the message that will be replicated sends
To the Virtual Switch Instance or virtual leased line of present node.
Data transmission device in 13. looped networks according to claim 11, it is characterised in that
The transmitting element, is additionally operable to determine that the message is unicast message;Label switched path mark in the message
When signing determination and needing to exchange, trigger ring label, label switched path label that the query unit performed in the message,
Pseudo line tag inquires about preset not intercommunication list, to determine the need for being transmitted to the message operation of next-hop node;
When label switched path label in the message is defined as bullet and falls POP, the message is sent to the void of present node
Intend forwarding instance or virtual leased line.
Data transmission device in 14. looped network according to any one of claim 10 to 13, it is characterised in that the transmission
Unit, specifically for:
Link and next-hop node to the building ring of the MPLS-TP looped networks are detected;
If detecting link failure, pretection switch is carried out, be sent to down the message by the protection ring of MPLS-TP looped networks
One hop node;If detecting next-hop node failure, carry out pretection switch, by the protection ring of MPLS-TP looped networks, using around
The message is sent to the next-hop node of next-hop node in the path for crossing malfunctioning node;
If both not detected link failure or not detected next-hop node failure, by the work of MPLS-TP looped networks
The message is transmitted to next-hop node by ring.
Data transmission device in 15. looped network according to any one of claim 10 to 13, it is characterised in that if described
The building ring of MPLS-TP looped networks includes core work ring and cut-in operation ring, then the transmitting element, specifically for:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that related to the next-hop node
Multilink when breaking down, or when it is determined that the next-hop node breaks down, by the protection of MPLS-TP looped networks
Ring, using standby intersecting circling point by the message transmissions to cut-in operation ring.
Data transmission device in 16. looped networks according to claim 15, it is characterised in that the transmitting element, specifically
For:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that related to the next-hop node
Multilink when breaking down, notify that standby intersecting circling point mounts the choke point of cut-in operation ring by the next-hop node, with
The protection ring of MPLS-TP looped networks is will pass through, using the standby intersecting circling point by the message transmissions to cut-in operation ring.
Data transmission device in 17. looped networks according to claim 15, it is characterised in that the transmitting element, specifically
For:
If next-hop node be located at core work ring on, and based on intersect circling point, then it is determined that the next-hop node occur therefore
During barrier, perceived main intersecting circling point failure and mounted the choke point of cut-in operation ring by standby intersecting circling point, will pass through MPLS-TP rings
The protection ring of net, using the standby intersecting circling point by the message transmissions to cut-in operation ring.
Data transmission device in 18. looped network according to any one of claim 10 to 13, it is characterised in that if described
The building ring of MPLS-TP looped networks includes core work ring and cut-in operation ring, then the data transmission device in the looped network is also wrapped
Refresh unit is included, specifically for:
If present node be located at core work ring on, and based on intersect circling point, then the message is sent to positioned at cut-in operation
During next-hop node on ring, refresh joining list item;
If present node is located on core work ring, and is standby intersecting circling point, then when the present node and the present node
The annexation of Virtual Switch Instance/virtual leased line be changed into not blocking from blocking, or when being changed into obstruction from not blocking, remove
All list items on the present node, the Virtual Switch Instance/virtual leased line is articulated to the initial shape of cut-in operation ring
State is obstruction.
19. a kind of communication systems, it is characterised in that including at least two data transmission devices, at least two data transfer
Each device in device is the data transmission device as described in claim 10 to 18 is any.
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 CN103856404A (en) | 2014-06-11 |
CN103856404B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895455A (en) * | 2010-07-19 | 2010-11-24 | 南京邮电大学 | Method for fast protecting ring network based on multi-protocol label switching transport profile (MPLS-TP) |
CN102123101A (en) * | 2011-03-21 | 2011-07-13 | 中兴通讯股份有限公司 | Message processing method and device |
CN102201985A (en) * | 2011-05-06 | 2011-09-28 | 杭州华三通信技术有限公司 | 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 |
CN102684973A (en) * | 2011-03-09 | 2012-09-19 | 中兴通讯股份有限公司 | Method and system for protecting looped network |
-
2013
- 2013-12-24 CN CN201310722942.6A patent/CN103856404B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895455A (en) * | 2010-07-19 | 2010-11-24 | 南京邮电大学 | Method for fast protecting ring network based on multi-protocol label switching transport profile (MPLS-TP) |
CN102684973A (en) * | 2011-03-09 | 2012-09-19 | 中兴通讯股份有限公司 | Method and system for protecting looped network |
CN102123101A (en) * | 2011-03-21 | 2011-07-13 | 中兴通讯股份有限公司 | Message processing method and device |
CN102201985A (en) * | 2011-05-06 | 2011-09-28 | 杭州华三通信技术有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN103856404A (en) | 2014-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101999224B (en) | Redundant Ethernet automatic protection switching access to virtual private lan services | |
CN104135420B (en) | A kind of method, equipment and the system of message forwarding | |
CN102664788B (en) | CE dual-homed link protection method in MPLS L3VPN and system thereof | |
CN101938377B (en) | link aggregation error protection method, equipment and system | |
EP2129049B1 (en) | A protecting method and device for ethernet tree service | |
CN109873760A (en) | Handle the method and apparatus of routing and the method and apparatus of data transmission | |
CN102035681B (en) | Link protection method and system for virtual private network | |
CN107040462A (en) | Method for routing and intermediate router | |
CN101931520A (en) | Switching method and system | |
CN106487675A (en) | For the outlet protection in EVPN with BUM flow during link failure | |
US20100189115A1 (en) | Edge node redundant system in label switching network | |
CN104270231B (en) | A kind of system and method for realizing binode interconnection pseudo-wire | |
CN105379197A (en) | Tunnel establishment method, label allocation method, device, and network system | |
CN101227399B (en) | Message transmission method, system and forwarding node | |
CN103581025B (en) | Method and system for processing routing information and equipment | |
CN103269299A (en) | Packet forwarding method and device in SPBM network | |
CN105591800B (en) | Flow rate protecting method and device | |
US9059791B2 (en) | Method and apparatus for protecting tunnel | |
CN102148694A (en) | Linear 1-to-N protection method, device and system for packet transport network | |
CN103856404B (en) | Data transmission method, device and system in a kind of looped network | |
CN102185712B (en) | The reverse method of VPLS network and ethernet ring network and device | |
WO2016086548A1 (en) | Pseudo wire dual-homing protection switching system, method and device | |
CN102316014A (en) | Load sharing method and router under hierarchical virtual dedicated local area network service environment | |
CN102594651A (en) | Service protection method in PBB H-VPLS network | |
CN101547131B (en) | EAPS looped network single-channel fault location and protection method |
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 |