WO2008043230A1 - Method, device and system for establishing a bi-directional label switched path - Google Patents

Method, device and system for establishing a bi-directional label switched path Download PDF

Info

Publication number
WO2008043230A1
WO2008043230A1 PCT/CN2007/001698 CN2007001698W WO2008043230A1 WO 2008043230 A1 WO2008043230 A1 WO 2008043230A1 CN 2007001698 W CN2007001698 W CN 2007001698W WO 2008043230 A1 WO2008043230 A1 WO 2008043230A1
Authority
WO
WIPO (PCT)
Prior art keywords
lsp
reverse
node
message
point
Prior art date
Application number
PCT/CN2007/001698
Other languages
French (fr)
Chinese (zh)
Inventor
Hongguang Guan
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008043230A1 publication Critical patent/WO2008043230A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/724Admission control; Resource allocation using reservation actions during connection setup at intermediate nodes, e.g. resource reservation protocol [RSVP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/15Flow control; Congestion control in relation to multipoint traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/74Admission control; Resource allocation measures in reaction to resource unavailability
    • H04L47/745Reaction in network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method, device and system for establishing a bidirectional label switching path.
  • the Label Switched Path is established by exchanging signaling information by hop-by-hop routing, that is, label request and label mapping.
  • the established LSP is a one-way LSP from the local Label Switched Router (LSR) node to the sink node.
  • LSR Label Switched Router
  • LSPs LSPs in the opposite direction between the two end nodes, that is, the LSPs from the source node to the sink node and the sink node to the source node, as a directional LSP.
  • the convention will trigger the direction in which the source node establishing the bidirectional LSP towards the sink node is called foward, and the direction in which the corresponding sink node is toward the source node is called backward. It should be noted that for a two-way LSP, the two unidirectional LSPs are forward and reverse LSPs.
  • the routing node follows the traditional label issuing signaling processing mechanism for label allocation.
  • the label request message [(1), (2), (3)] sent by the source node R0 of the forward LSP to the sink node R5 through the intermediate nodes R1, R2 includes an indication that the reverse LSP and the corresponding parameter are established.
  • Information (such as FEC, QoS parameters, traffic engineering parameters, etc.), which is inserted into the label request message [(1)] by the source node R0 of the forward LSP.
  • the intermediate node is responsible for copying and forwarding this information to the sink node.
  • the sink node R5 of the forward LSP follows the traditional label issuing signaling processing mechanism to assign a label to its upstream node R2 for the FEC specified in the message.
  • the assigned label is advertised to its upstream node R2 by the label mapping message [(4)]; likewise, the nodes R2, R1 advertise the label assigned to its upstream node by the label mapping message [(7)], [(9)] respectively.
  • the forward LSP (R0->R1->R2->R5) is successfully established.
  • the sink node R5 of the forward LSP receives the forward LSP establishment message [(3)] from its upstream node R2 and finds the information inserted by the source node to establish the reverse LSP, and then extracts the corresponding information.
  • the parameter information is initiated to establish a reverse LSP.
  • the sink node R5 of the forward LSP sends a label request message [(5)] for the reverse LSP designation EBC to the downstream node R2 of its reverse LSP.
  • the node R2 and R1 respectively send label request messages [(6)], [(8)] for the reverse LSP designated FEC to their downstream nodes.
  • the sink node R0 of the reverse LSP follows the traditional label issuing signaling processing mechanism to assign a label to the reverse LSP upstream node R1 for the FEC specified in the message, and the assigned label is labeled by the label.
  • the mapping message [(10)] is advertised to its upstream node R1; likewise, the nodes R1, R2 advertise the label assigned to its upstream node by the label mapping message [(11)], [(12)], respectively.
  • the reverse LSP (R5->R2->R1 ->R0) is successfully established.
  • the message indicating that the reverse LSP is established is inserted into the label request message at the ingress edge node of the forward LSP.
  • the label is inconvenient for management and maintenance, and the processing load of the intermediate node is also increased. Because these indication messages are meaningless to the intermediate nodes.
  • the indication information for establishing the reverse LSP is inserted into the label request message such that the forward LSP and The reverse LSP cannot be established in an orderly manner. That is, the LSP in one direction is successfully established and the LSP in the other direction fails to be established. At this time, the LSP that has been established in one direction has to be cleared to re-attempt to establish the LSP in both directions. This greatly increases the processing overhead.
  • the embodiments of the present invention provide a method, a device, and a system for establishing a bidirectional label switching path, so as to improve network resource utilization, ensure orderly establishment and management of forward LSPs and reverse LSPs, and reduce processing overhead.
  • An embodiment of the present invention provides a method for establishing a bidirectional LSP, where the method includes: if there is no forward LSP available for service between the source and the sink node, the source node directly establishes the forward LSP;
  • the source node If there is no reverse LSP available for service between the source and the sink node, the source node notifies the sink node to establish the reverse LSP in a point-to-point manner;
  • An embodiment of the present invention provides a network device, including:
  • a detecting unit configured to check whether the local end has a forward LSP and a reverse LSP available for service
  • a sending notification unit configured to: when the detecting unit detects that the local end does not have a forward LSP or a reverse LSP, where the service is available, the notification message includes: Notifying the LSP and the lack of the reverse LSP notification message;
  • a forwarding unit configured to receive the notification message of the sending notification unit, and forward the notification message of the reverse notification LSP of the sending notification unit to other network devices in a peer-to-peer manner, and receive the reverse LSP from other network devices Notification message
  • the LSP executing unit is configured to establish a forward LSP after receiving the notification of the short forward LSP forwarded by the forwarding unit.
  • the embodiment of the present invention further provides a label switching routing system, including at least two label switching routers, and the source label switching router notifies the sink label switching router establishment point-to-point manner when there is no reverse LSP available at the local end.
  • a reverse LSP a sink label switching router establishes the reverse LSP;
  • the source label switching router includes:
  • a detecting unit configured to check whether the local end has a forward LSP and a reverse LSP available for service
  • Sending a notification unit configured to detect, in the detecting unit, that the local end does not have a service available
  • the LSP or the reverse LSP is configured to include a notification message indicating that the LSP corresponding to the service is established, where the notification message includes a lack of a forward LSP notification message and a lack of a reverse LSP notification message;
  • a forwarding unit configured to receive the notification message of the sending notification unit, and forward the notification message of the reverse notification LSP of the sending notification unit to other network devices in a point-to-point manner, and receive the reverse LSP from other network devices Notification message
  • the LSP executing unit is configured to establish a forward LSP after receiving the notification of the short forward LSP forwarded by the forwarding unit.
  • each unidirectional LSP can independently implement traffic engineering, and can also utilize an existing one-way LSP, which is compared with the prior art. It greatly provides the utilization of network resources, ensures the orderly establishment and management of forward LSPs and reverse LSPs, and reduces processing overhead.
  • FIG. 1 is a schematic diagram of a network for establishing a bidirectional LSP in the prior art
  • FIG. 2 is a schematic diagram of another network for establishing a bidirectional LSP in the prior art
  • FIG. 3-1 is a flowchart of a method for establishing a bidirectional LSP according to an embodiment of the present invention
  • FIG. 3-2 is another flowchart of a method for establishing a bidirectional LSP according to an embodiment of the present invention
  • a flowchart of managing a bidirectional LSP according to an embodiment of the invention
  • 5-1 is a schematic diagram of a network for establishing a bidirectional LSP according to the first embodiment of the present invention
  • 5-2 is a timing chart showing the establishment of a bidirectional LSP according to the first embodiment of the present invention.
  • 6-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a second embodiment of the present invention.
  • 6-2 is a timing chart of establishing a bidirectional LSP according to a second embodiment of the present invention.
  • 7-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a third embodiment of the present invention.
  • 7-2 is a timing chart showing the establishment of a bidirectional LSP according to a third embodiment of the present invention.
  • 8-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a fourth embodiment of the present invention.
  • 8-2 is a timing chart of establishing a bidirectional LSP according to a fourth embodiment of the present invention.
  • 9-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a fifth embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • FIG. 11 is a schematic block diagram of a label switching routing system in accordance with an embodiment of the present invention. detailed description
  • the source node detects the forward LSP and the reverse LSP that are available to the local end. If the forward LSP is not available, the local end directly initiates the establishment of the forward LSP. If the local end does not have the reverse LSP, the local end notifies the sink node to establish the reverse LSP in a point-to-point manner; the sink node establishes the reverse LSP.
  • the source node and the sink node may be Label Switched Routers (LSRs), and the notification message sent by the source node to the sink node may specify the FE corresponding to the reverse LSP (:, traffic engineering parameter, QoS parameter, bandwidth) Parameters and other LSP-related control parameters.
  • LSRs Label Switched Routers
  • the point-to-point notification message is forwarded to the destination edge node via the intermediate node route, and the notification message is transparent to the intermediate node, and the intermediate node only forwards the notification message without the IP address in the notification message.
  • the content of the load on the layer is processed.
  • any party After successfully establishing an LSP, any party will send a setup success message to the peer to notify the peer.
  • the LSR node detects that the local forward LSP and the reverse LSP are available, the two unidirectional LSPs are bound to become a bidirectional LSP.
  • the binding success message is sent to the destination node. If the LSR node fails to establish an LSP at any end, it will send a setup failure message to the sink node, or it will be automatically perceived by the local end in other ways, such as using a handshake mechanism. If the label switching routing node fails to establish a forward LSP or fails to establish a reverse LSP, the labeling routing node performs fault and exception handling.
  • the point-to-point control message is transmitted between the source node of the forward LSP (ie, the sink node of the reverse LSP) and the sink node of the forward LSP (ie, the source node of the reverse LSP), such as establishment, Bind, update, and maintain, remove bidirectional LSPs, and more.
  • the Notify message is used as a point-to-point control message between the bidirectional LSP edge nodes to directly manage the bidirectional LSP.
  • forward LSP and the reverse LSP are for the originator of the service.
  • forward The direction in which the corresponding sink node is toward the source node is referred to as "backward" - an embodiment of the present invention will be further described below with reference to the accompanying drawings.
  • the process of establishing a bidirectional LSP includes the following steps: 301: The source node determines whether there is a forward LSP available at the local end, and if there is a forward LSP, enters 304, otherwise enters 302;
  • a forward LSP is initiated by the source node.
  • the source node determines whether the local end successfully establishes a forward LSP, if yes, enters 304, otherwise enters 309;
  • the source node determines whether there is an available reverse LSP, if yes, enters 307, otherwise enters
  • the source node directly notifies the neighboring node to initiate establishment of a reverse LSP.
  • the source node determines whether the opposite sink node successfully establishes a reverse LSP, if yes, enters 307, otherwise enters 309;
  • the local binding forward LSP and the reverse LSP are bidirectional LSPs
  • 308 Directly notify the peer end to bind the forward LSP and the reverse LSP into a bidirectional LSP, and enter 310 after completion; 309: perform fault and exception processing;
  • step 302 after the source node initiates the establishment of the forward LSP, the forward direction initiated by the source node of the forward LSP
  • the LSP setup message can be processed according to the traditional LSP label request message processing mechanism. Similarly, after receiving the forward LSP setup message from its upstream node, the sink node follows the traditional label issuing signaling processing mechanism for the FEC direction specified in the message. The upstream node allocates a label, and the assigned label is advertised to its upstream node by the label mapping message, and the process is repeated until the source node, thereby successfully establishing a forward LSP.
  • the process in which the source node directly informs the sink node to initiate the establishment of the reverse LSP is specifically: sending the information indicating the establishment of the reverse LSP and the corresponding parameter directly from the source node to the sink node; after receiving the notification, the sink node initiates establishment.
  • the reverse LSP which establishes a reverse LSP, has the same mechanism as the source node establishes a forward LSP, and follows the traditional standard LSP establishment processing mechanism.
  • the corresponding parameter information includes: FEC, QoS parameters, traffic engineering parameters, bandwidth parameters, and other LSP related control parameters corresponding to the reverse LSP.
  • step 306 if the sink node successfully establishes a reverse LSP, and sends a reverse LSP establishment confirmation message to the source node, the source node determines that the reverse LSP is successfully established after receiving the reverse setup acknowledgement message.
  • 3-2 is another flow chart of a method for establishing a bidirectional LSP according to an embodiment of the present invention.
  • the process of establishing a bidirectional LSP includes the following steps: 401: The source node determines whether there is an available reverse LSP at the local end, if there is a reverse LSP, enter 404, otherwise enter 402;
  • the source node notifies the neighboring node to initiate establishment of a reverse LSP.
  • the source node determines whether the opposite sink node successfully establishes a reverse LSP, if yes, enters 404, otherwise enters 409;
  • the source node determines whether there is a forward LSP available, and if yes, enters 407, otherwise enters
  • the source node locally initiates establishment of a forward LSP.
  • the source node determines whether the local forward LSP is successfully established, if yes, enters 407, otherwise enters 409;
  • the local binding forward LSP and the reverse LSP are bidirectional LSPs
  • 408 Directly notify the peer to bind the forward LSP and the reverse LSP into a bidirectional LSP, and enter 410 after completion; 409: Perform fault and exception handling;
  • FIG. 4 is a flowchart of managing a bidirectional LSP according to an embodiment of the present invention, including the following steps:
  • 411 The source node determines whether it is necessary to control the reverse LSP, if yes, enter 412, otherwise enter 415; 412: The source node sends a point-to-point control message to the opposite-end sink node, informing the sink node to control the reverse LSP according to the requirement;
  • the source node determines whether the peer end acknowledges receipt of the control message, and if yes, enters 415, otherwise proceeds to 414;
  • the source node retransmits the control message to the peer sink node, and then enters 415 after completing;
  • Figure 5-1 is a schematic diagram of a network for establishing a bidirectional LSP according to an embodiment of the present invention
  • Figure 5-2 is a timing chart for establishing a bidirectional LSP.
  • the LSR node R0 is used as the source node of the forward LSP, and no forward LSP and reverse are available on the source node of the forward LSP.
  • the process of establishing a bidirectional LSP is as follows:
  • the source node R0 informs the downstream node R1 of the forward LSP to establish a forward LSP through the LSP establishment message [(1)], and after receiving the message [(1)], R1 sends a corresponding forward LSP to its downstream node R2.
  • the request message [(2)] is established, and after receiving the message [(2)], R2 sends a corresponding forward LSP establishment request message [(3)] to its downstream node R5, that is, the sink node of the forward LSP.
  • the sink node R5 of the forward LSP sends a label mapping message [(4)] to the upstream node R2 according to the traditional LSP establishment processing mechanism after receiving the forward LSP establishment request message [(3)], and receives the message [ (4)
  • R2 issues a setup confirmation message [(5)] to its upstream node R1
  • R1 issues a setup confirmation message to its upstream node R0, that is, the source node of the forward LSP [(6) )]
  • the forward LSP is successfully established.
  • the source node R0 of the forward LSP directly informs the sink node R5 of the forward LSP to establish a reverse LSP by using a point-to-point message [(7)].
  • the sink node R5 initiates establishment of the reverse LSP after receiving the notification message [(7)].
  • the sink node R5 initiates the establishment of the reverse LSP by using the information contained in the notification message [(7)] (such as FEC, QoS parameters, process engineering parameters, etc.).
  • R5 sends a reverse LSP setup request message [(8)] for the specified FEC to the node R2 of its reverse LSP, and after receiving the message, R2 sends a reverse LSP setup request for the specified FEC to the node R1 of its reverse LSP.
  • Message [(9)] after receiving the message, R1 sends a reverse LSP establishment request message [(10)] for the specified FEC to its neighbor node R0.
  • the source node R0 of the forward LSP issues a setup confirmation message [(11)] to the upstream node R1 of its reverse LSP following the receipt of the reverse LSP establishment request message [(10)], following the conventional LSP establishment processing mechanism, After receiving the message [(11)], R1 issues a setup confirmation message [(12)] to its upstream node R2, and after receiving the message [(12)], R2 issues a setup confirmation message [(13)] to its upstream node R5. At this point, the reverse LSP is successfully established.
  • the sink node R5 sends a reverse LSP establishment acknowledgement message to the source node R0 in a point-to-point manner, and the source node R0 receives the message binding forward and reverse LSPs as a bidirectional LSP; 507: The source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a silent LSP.
  • the source node of the forward LSP ie, the sink node of the reverse LSP
  • the sink node of the forward LSP notifies the sink node of the forward LSP by the point-to-point message [(7)] (ie, the reverse Source node of the LSP) R5 binds the forward and reverse LSPs into a bidirectional LSP.
  • the path of the reverse LSP established by the sink node R5 in step 504 is the same as the forward LSP path established by R0.
  • the LSP establishment request message is generally a label request message, such as a Resource Reservation Protocol (Traffic Engineering, RSVP-TE) Path message, and the LSP establishment confirmation message is generally a label mapping message such as RSVP-TE RESV. Message.
  • Figure 6-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a second embodiment of the present invention
  • Figure 6-2 is a timing chart for establishing a bidirectional LSP.
  • the second embodiment is basically the same as the process of establishing a bidirectional LSP in the first embodiment.
  • the difference is that the reverse LSP uses a different path from the forward LSP in the second embodiment, and the reverse LSP and the positive in the first embodiment. Use the same path to the LSP.
  • the process of establishing a two-way LSP is as follows:
  • the sink node R5 initiates establishment of the reverse LSP after receiving the notification message [(7)].
  • the sink node R5 initiates the establishment of the reverse LSP by using the information contained in the notification message [(7)] (such as FEC, QoS parameters, process engineering parameters, etc.).
  • R5 sends a reverse LSP setup request message [(8)] for the specified FEC to the downstream node R4 of its reverse LSP, and after receiving the message, R4 sends a reverse LSP for the designated FEC to the downstream node R3 of its reverse LSP.
  • a request message [(9)] is established, and after receiving the message, R3 sends a reverse LSP establishment request message [(10)] for the specified FEC to its neighbor node R0.
  • the source node R0 of the forward LSP issues a setup confirmation message [(11)] to the upstream node R3 of its reverse LSP following the receipt of the reverse LSP establishment request message [(10)], following the conventional LSP establishment processing mechanism, After receiving the message [(11)], R3 issues a setup confirmation message [(12)] to its upstream node R4, and after receiving the message [(12)], R4 issues a setup confirmation message [(13)] to its upstream node R5, At this point, the reverse LSP is successfully established.
  • the sink node R5 sends a reverse LSP establishment acknowledgement message to the source node R0 in a point-to-point manner, and the source node R0 receives the message binding forward and reverse LSPs as a bidirectional LSP;
  • the source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a bidirectional LSP.
  • the source node of the forward LSP (that is, the sink of the reverse LSP) Node) R0 informs the sink node of the forward LSP (ie, the source node of the reverse LSP) through the point-to-point message [(7)].
  • R5 Binds the forward and reverse LSPs into a bidirectional LSP.
  • Figure 7-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a third embodiment of the present invention
  • Figure 7-2 is a timing chart for establishing a bidirectional LSP.
  • the LSR node R0 is used as the source node of the forward LSP
  • the reverse LSP available on the source node of the forward LSP is available.
  • To establish a bidirectional LSP only the forward LSP needs to be established and bound on the edge node.
  • a binding success message is sent to the correspondent node in a point-to-point manner to notify the peer to bind the forward and reverse LSPs to establish a bidirectional LSP.
  • the process of establishing a two-way LSP is as follows:
  • the source node R0 informs the downstream node R1 of the forward LSP to establish a forward LSP through the LSP establishment message [(1)], and after receiving the message [(1)], R1 sends a corresponding forward LSP to its downstream node R2.
  • the request message [(2)] is established, and after receiving the message [(2)], R2 sends a corresponding forward LSP establishment request message [(3)] to its downstream node R5, that is, the sink node of the forward LSP.
  • the sink node R5 of the forward LSP sends a label mapping message [(4)] to the upstream node R2 according to the traditional LSP establishment processing mechanism after receiving the forward LSP establishment request message [(3)], and receives the message [ (4)
  • R2 issues a setup confirmation message [(5)] to its upstream node R1
  • R1 issues a setup confirmation message to its upstream node: R0, that is, the source node of the forward LSP [( 6)]
  • the forward LSP is successfully established.
  • the source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a bidirectional LSP.
  • the source node of the forward LSP ie, the sink node of the reverse LSP
  • the sink node of the forward LSP notifies the sink node of the forward LSP by the point-to-point message [(7)] (ie, the reverse The source node of the LSP) R5 binds the forward and reverse LSPs to a joyful LSP.
  • FIG. 8-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a fourth embodiment of the present invention
  • FIG. 8-2 is a sequence flowchart for establishing a bidirectional LSP.
  • the LSR node R0 is used as the source node of the forward LSP, which is different from the third embodiment in that the source of the forward LSP is at this time.
  • a forward LSP is available on the node.
  • the peer is directly notified by a point-to-point message.
  • Node R5 initiates the establishment of a reverse LSP.
  • the local LSP is bound to the forward and reverse LSPs to establish a bidirectional LSP, and the peer-to-peer message is used to notify the opposite end R5 to bind the forward and reverse LSPs to establish a bidirectional LSP.
  • the process of establishing a bidirectional LSP is as follows:
  • the source node R0 directly informs the sink node R5 of the forward LSP through the point-to-point message [(1)] to initiate the establishment of the reverse LSP.
  • the sink node R5 initiates the establishment of the reverse LSP after receiving the notification message [(1)].
  • the sink node R5 initiates the establishment of the reverse LSP by using the information contained in the notification message [(1)] (such as FEC, QoS parameters, process engineering parameters, etc.).
  • R5 sends a reverse LSP setup request message [(2)] for the specified FEC to the node R2 of its reverse LSP, and after receiving the message, R2 sends a reverse LSP setup request for the specified FEC to the node R1 of its reverse LSP.
  • Message [(3)] after receiving the message, R1 sends a reverse LSP establishment request message [(4)] for the specified FEC to its neighbor node R0.
  • the source node R0 of the forward LSP issues a setup confirmation message [(5)] to the upstream node R1 of the reverse LSP according to the traditional LSP establishment processing mechanism after receiving the reverse LSP establishment request message [(4)].
  • R1 issues a setup confirmation message [(6)] to its upstream node R2
  • R2 issues a setup confirmation message [(7)] to its upstream node R5.
  • the reverse LSP is successfully established.
  • the sink node R5 sends a reverse LSP establishment acknowledgement message to the source node R0 in a point-to-point manner, and the source node R0 receives the message binding forward and reverse LSPs as a bidirectional LSP;
  • the source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a bidirectional LSP.
  • FIG. 9-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a fifth embodiment of the present invention
  • FIG. 9-2 is a sequence flowchart for establishing a bidirectional LSP.
  • the LSR node R0 is used as the source node of the forward LSP, and is available on the source node of the forward LSP as in the fourth embodiment.
  • the forward LSP only needs to establish a reverse LSP and bind on the edge node to establish a bidirectional LSP.
  • the neighboring sink node R5 initiates the establishment of the reverse LSP.
  • the local end R0 is bound to the forward and reverse LSPs to establish a bidirectional LSP, and the peer-to-peer message is used to notify the opposite end R5 to bind the forward and reverse LSPs to establish a bidirectional LSP.
  • the reverse LSP is established and the forward LSP adopts a different path.
  • the process of establishing a bidirectional LSP is as follows:
  • the source node R0 directly informs the sink node R5 of the forward LSP through the point-to-point message [(1)]. Initiate the establishment of a reverse LSP.
  • the sink node R5 initiates establishment of the reverse LSP after receiving the notification message [(1)].
  • the sink node R5 initiates the establishment of the reverse LSP by using the information contained in the notification message [(1)] (such as FEC, QoS parameters, process engineering parameters, etc.).
  • R5 sends a reverse LSP setup request message [(2)] for the specified FEC to the node R4 of its reverse LSP, and after receiving the message, R4 sends a reverse LSP setup request for the specified FEC to the node R3 of its reverse LSP.
  • Message [(3)] after receiving the message, R3 sends a reverse LSP establishment request message [(4)] for the specified FEC to its neighbor node R0.
  • the source node R0 of the forward LSP issues a setup confirmation message [(5)] to the upstream node R3 of its reverse LSP following the receipt of the reverse LSP establishment request message [(4)], following the conventional LSP establishment processing mechanism, After receiving the message [(5)], R3 issues a setup confirmation message [(6)] to its upstream node R4, and after receiving the message [(6)], R2 issues a setup confirmation message [(7)] to its upstream node R5. At this point, the reverse LSP is successfully established.
  • the sink node R5 sends a reverse LSP establishment acknowledgement message to the source node R0 in a point-to-point manner, and the source node R0 receives the message binding forward and reverse LSPs as a bidirectional LSP;
  • the source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a bidirectional LSP.
  • any LSR node can bind the forward LSP and the reverse LSP as long as it detects that the local end includes the forward LSP and the reverse LSP of the corresponding FEC, and whether the opposite end is bound to the opposite end. Binding is independent of each other.
  • the embodiment of the present invention provides a bidirectional LSP service based on an independent unidirectional LSP, which means that each unidirectional LSP can independently implement traffic engineering, and can also utilize an existing one-way LSP.
  • This will greatly provide network resource utilization compared to the prior art.
  • the embodiment of the present invention uses a point-to-point control message to manage the bidirectional LSP, this will significantly reduce the processing load of the intermediate node compared to the prior art.
  • the independent control channel of the embodiment of the present invention ensures the orderly establishment and management of the forward and reverse LSPs, the risk of high processing overhead can be avoided compared to the prior art.
  • FIG. 10 is a schematic structural diagram of a network device according to an embodiment of the present invention, and also shows signaling flow between units of the network device.
  • the network device includes a detecting unit 101, a sending notification unit 102, a forwarding unit 103, and an LSP executing unit 104.
  • the network device may further include a binding unit 105, a fault and exception processing unit 106, and an LSP management unit 107.
  • the detecting unit 101 is configured to detect that the local node includes the forward LSP and the reverse LSP corresponding to the FEC, and if there is no forward LSP or reverse LSP, notify the sending notification unit 102 if there is both a forward LSP and a reverse LSP. , the binding unit is notified to perform binding 105.
  • the sending notification unit 102 is configured to create a notification message indicating that the LSP of the corresponding FEC is established according to the detection result of the detecting unit 101, and send a notification message indicating that the forward LSP is established to the forwarding unit 103 if the notification of the lack of the forward direction is received. If a notification of lack of reversal is received, a notification message indicating that the reverse LSP is established is sent to the forwarding unit 103.
  • the forwarding unit 103 is configured to receive a control message from another unit or the peer network device at the local end, and forward the received control message to the corresponding unit, for example, after receiving the notification message of the forward LSP by the sending notification unit 102,
  • the LSP execution unit 104 is instructed to establish a forward LSP. After receiving the notification message of the reverse LSP that is sent by the notification unit 102, the message is forwarded to the peer network device.
  • the LSP executing unit 104 receives the function of establishing a forward notification, performing LSP establishment, forwarding, and the like, and can work according to a traditional label forwarding mechanism.
  • the forwarding of the LSP and the forwarding of the control message are independent of each other, and different control channels can be used.
  • the binding unit 105 receives the notification binding message of the detecting unit 101, that is, when the detecting unit 101 detects that the local end has a forward LSP and a reverse LSP, the binding unit 105 binds the forward LSP and the reverse LSP.
  • the fault and abnormality processing unit 106 performs corresponding fault and abnormality processing when the forward LSP establishment fails or the reverse LSP establishment fails or other fault abnormalities occur.
  • the LSP management unit 107 manages and maintains the bidirectional LSP, and the management message is forwarded by the forwarding unit 103, which is independent of the channel used by the traditional mechanism label forwarding.
  • Management messages include establishing messages, binding messages, updating messages, maintaining messages, tearing down messages, and the like.
  • the label switching routing system provided by the embodiment of the present invention is as shown in FIG. 11:
  • the source label switching router 110 includes: at least two label switching routers, as shown in the figure, the source label switching router 110 and the sink label switching router 120.
  • the source label switching router 110 notifies the sink label switching router to establish the reverse LSP in a point-to-point manner when the local end has no reverse LSP available for the service; the notification message is transparent to the intermediate router 130, and the intermediate router 130 only routes and forwards the notification message. Without carrying the IP layer on the notification message The content is processed.
  • the sink label switching router establishes the reverse LSP according to the notification.
  • the structure of the source label switching router 110 and the sink label switching router 120 is the same as that of the network device shown in FIG. 10, and details are not described herein again.
  • the source label switching router 110 and the sink label switching router 120 send a notification message through the intermediate node 130.
  • the process of establishing a reverse LSP has been described in detail above, and will not be described here.
  • a bidirectional LSP can be established, and a bidirectional LSP service is provided based on an independent unidirectional LSP, so that each unidirectional LSP can independently implement traffic engineering; and LSP management in the label switching router is utilized.
  • the unit can manage the bidirectional LSP through the point-to-point control message, thereby reducing the processing load of the intermediate router and reducing the processing overhead.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method, device and system for establishing a bi-directional label switched path are provided. The method inculdes: if the source node hasn't available forward LSP, the source node establishes directly the forward LSP; if the source node hasn't available backward LSP, the source node informs the sink node by peer to peer to establish the backward LSP; the sink node establishes the backward LSP. According to the said method,device and system, existent forward LSP and/or backward LSP can be utilized to provide bi-directional services, so as to improve the utility of network resources; the transmission of control message by peer to peer mitigates the processing burden of the middle nodes; and the flexibility of providing bi-directional services is improved because of the independence of forward LSP and backward LSP.

Description

建立双向标签交换路径的方法、 设备和系统. 本申请要求于 2006 年 9 月 30 日提交中国专利局、 申请号为 200610062993.0、 发明名称为"多协议标签交换中建立双向 LSP的方法、 装置 和系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Method, device and system for establishing a two-way label switching path. This application claims to be a method, device and system for establishing a bidirectional LSP in a multi-protocol label switching, submitted to the Chinese Patent Office on September 30, 2006, application number 200610062993.0, and entitled "Multi-Protocol Label Switching" The priority of the Chinese Patent Application, the entire contents of which is incorporated herein by reference. Technical field
本发明涉及网络通信技术领域,尤其涉及一种建立双向标签交换路径的方 法、 设备和系统。  The present invention relates to the field of network communication technologies, and in particular, to a method, device and system for establishing a bidirectional label switching path.
背景技术 Background technique
多协议标签交换(Multi-Protocol Label Switching, MPLS ) 中标签交换路 径(Label Switched Path, LSP )的建立是通过逐跳路由交换信令信息, 即标签 请求与标签映射实现的。所建立的 LSP是从本端标签交换路由(Label Switched Router, LSR )节点到宿节点的单向 LSP。  In the multi-protocol label switching (MPLS), the Label Switched Path (LSP) is established by exchanging signaling information by hop-by-hop routing, that is, label request and label mapping. The established LSP is a one-way LSP from the local Label Switched Router (LSR) node to the sink node.
随着 MPLS的广泛应用,一些业务如语音、 ^义电视等要求使用双向 LSP 来传输业务数据。从有效数据传输的角度来看, 需要将两个终节点间方向相反 的单向 LSP, 即源节点到宿节点和宿节点到源节点这两个方向的 LSP绑定为 一个默向的 LSP。  With the widespread use of MPLS, some services such as voice and video TV require the use of two-way LSPs to transmit service data. From the perspective of effective data transmission, it is necessary to bind the LSPs in the opposite direction between the two end nodes, that is, the LSPs from the source node to the sink node and the sink node to the source node, as a directional LSP.
为了支持双向 LSP的建立和维护管理, 新的机制是必须的。 为了描述得 更清楚, 约定将触发建立双向 LSP 的源节点朝向宿节点的方向称为正向 (foward), 而将其对应的由宿节点朝向源节点的方向称为反向 (backward)。需要 说明的是,对于组成一个双向的 LSP,其两个单向 LSP是互为正向和反向 LSP。  In order to support the establishment and maintenance management of bidirectional LSPs, a new mechanism is necessary. For the sake of clarity, the convention will trigger the direction in which the source node establishing the bidirectional LSP towards the sink node is called foward, and the direction in which the corresponding sink node is toward the source node is called backward. It should be noted that for a two-way LSP, the two unidirectional LSPs are forward and reverse LSPs.
参见图 1所示的现有技术建立双向 LSP的一种示意图。 正向 LSP的源节 点 R0通过中间节点 Rl、 R2向宿节点 R5发起建立正向 LSP, 上游节点在向 下游节点发布标签请求消息的同时给下游节点分配反向 LSP对应的标签。 图 中的 [(1)、 (2)、 (3)]为标签请求消息, [(4)、 (5)、 (6]为标签映射消息。  Referring to the prior art shown in FIG. 1, a schematic diagram of establishing a bidirectional LSP. The source node R0 of the forward LSP initiates the establishment of a forward LSP to the neighboring node R5 through the intermediate nodes R1 and R2. The upstream node issues a label request message to the downstream node and assigns a label corresponding to the reverse LSP to the downstream node. [(1), (2), (3)] in the figure is a tag request message, and [(4), (5), (6] are tag mapping messages.
参见图 2所示的现有技术建立双向 LSP的另一种示意图。 路由节点遵循传 统标签发布信令处理机制进行标签分配。 其中, 正向 LSP的源节点 R0通过中间 节点 Rl、 R2向宿节点 R5发送的标签请求消息 [(1)、 (2)、 (3)]中均包含一个指示 建立反向 LSP以及对应参数的信息(如 FEC、 QoS参数, 流量工程参数等), 这 些信息由正向 LSP的源节点 R0插入到标签请求消息 [(1)]中。 对于中间节点 R1 和 R2而言, 中间节点需负责拷贝与转发这些信息到宿节点。 Another schematic diagram of establishing a bidirectional LSP is shown in the prior art shown in FIG. 2. The routing node follows the traditional label issuing signaling processing mechanism for label allocation. The label request message [(1), (2), (3)] sent by the source node R0 of the forward LSP to the sink node R5 through the intermediate nodes R1, R2 includes an indication that the reverse LSP and the corresponding parameter are established. Information (such as FEC, QoS parameters, traffic engineering parameters, etc.), which is inserted into the label request message [(1)] by the source node R0 of the forward LSP. For intermediate node R1 In contrast to R2, the intermediate node is responsible for copying and forwarding this information to the sink node.
正向 LSP的宿节点 R5接收到来自其上游节点 R2的正向 LSP建立消息 [(3)] 后,遵循传统的标签发布信令处理机制为该消息中指定的 FEC向其上游节点 R2 分配标签, 分配的标签由标签映射消息 [(4)]通告给其上游节点 R2; 同样, 节点 R2、 Rl分别通过标签映射消息 [(7)] 、 [(9)]通告给其上游节点分配的标签。 至 此, 正向 LSP(R0->R1->R2->R5)成功建立。  After receiving the forward LSP setup message [(3)] from its upstream node R2, the sink node R5 of the forward LSP follows the traditional label issuing signaling processing mechanism to assign a label to its upstream node R2 for the FEC specified in the message. The assigned label is advertised to its upstream node R2 by the label mapping message [(4)]; likewise, the nodes R2, R1 advertise the label assigned to its upstream node by the label mapping message [(7)], [(9)] respectively. . At this point, the forward LSP (R0->R1->R2->R5) is successfully established.
另夕卜, 正向 LSP的宿节点 R5接收到来自其上游节点 R2的正向 LSP建立消息 [(3)]并从中发现源节点插入的指示建立反向 LSP的信息后 , 还要提取出对应的 参数信息, 发起建立反向 LSP。 假设反向 LSP采用与正向 LSP相同的路径, 那 么正向 LSP的宿节点 R5向其反向 LSP的下游节点 R2发送针对反向 LSP指定 EBC 的标签请求消息 [(5)], 同样, 节点 R2、 Rl分别向其下游节点发送针对反向 LSP 指定 FEC的标签请求消息 [(6)] 、 [(8)] 。  In addition, the sink node R5 of the forward LSP receives the forward LSP establishment message [(3)] from its upstream node R2 and finds the information inserted by the source node to establish the reverse LSP, and then extracts the corresponding information. The parameter information is initiated to establish a reverse LSP. Assuming that the reverse LSP adopts the same path as the forward LSP, the sink node R5 of the forward LSP sends a label request message [(5)] for the reverse LSP designation EBC to the downstream node R2 of its reverse LSP. Similarly, the node R2 and R1 respectively send label request messages [(6)], [(8)] for the reverse LSP designated FEC to their downstream nodes.
反向 LSP的宿节点 R0在接收到消息 [(8)]后, 遵循传统的标签发布信令处 理机制为该消息中指定的 FEC向其反向 LSP上游节点 R1分配标签, 分配的标签 由标签映射消息 [(10)]通告给其上游节点 R1; 同样, 节点 Rl、 R2分别通过标签 映射消息 [(11)] 、 [(12)]通告给其上游节点分配的标签。 至此, 反向 LSP(R5->R2->R1 ->R0)成功建立。  After receiving the message [(8)], the sink node R0 of the reverse LSP follows the traditional label issuing signaling processing mechanism to assign a label to the reverse LSP upstream node R1 for the FEC specified in the message, and the assigned label is labeled by the label. The mapping message [(10)] is advertised to its upstream node R1; likewise, the nodes R1, R2 advertise the label assigned to its upstream node by the label mapping message [(11)], [(12)], respectively. At this point, the reverse LSP (R5->R2->R1 ->R0) is successfully established.
正向 LSP和反向 LSP均被建立起来后,在边缘节点 R0和 R5上被绑定成一个 双向 LSP。  After both the forward LSP and the reverse LSP are established, they are bound to a bidirectional LSP on edge nodes R0 and R5.
在实现本发明过程中, 发明人发现现有技术中至少存在如下问题:  In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art:
1、 现有技术中每次建立双向 LSP都要建立两个新的方向相反的单向 LSP 并将其绑定起来。 如果双向 LSP的边缘节点之间已经存在一个方向上针对相同 转发等价类 ( Forwarding Equivalence Class, FEC )的 LSP, 那么就必须先将该 LSP拆除才能建立双向 LSP。 这将极大地浪费网絡资源, 同时也会对正常的业 务传送造成损害。  1. In the prior art, each time a two-way LSP is established, two new one-way LSPs with opposite directions are established and bound. If there is already an LSP for the same Forwarding Equivalence Class (FEC) in the direction of the edge node of the bidirectional LSP, the LSP must be removed before the bidirectional LSP can be established. This will greatly waste network resources and also cause damage to normal business delivery.
2、现有技术中将指示建立反向 LSP的消息在正向 LSP的入边缘节点插入到 标签请求消息中, 没有独立的控制通道, 标签不便于管理维护, 同时也加重了 中间节点的处理负担, 因为这些指示消息对中间节点而言是没有意义的。 另外 一个方面, 将建立反向 LSP的指示信息插入到标签请求消息中使得正向 LSP和 反向 LSP不能有序建立, 即存在一个方向的 LSP成功建立而另外一个方向上的 LSP却建立失败的情况, 此时又不得不清除单向已建立的 LSP来重新尝试建立 两个方向的 LSP, 这极大地增加了处理开销。 2. In the prior art, the message indicating that the reverse LSP is established is inserted into the label request message at the ingress edge node of the forward LSP. There is no independent control channel, and the label is inconvenient for management and maintenance, and the processing load of the intermediate node is also increased. Because these indication messages are meaningless to the intermediate nodes. In another aspect, the indication information for establishing the reverse LSP is inserted into the label request message such that the forward LSP and The reverse LSP cannot be established in an orderly manner. That is, the LSP in one direction is successfully established and the LSP in the other direction fails to be established. At this time, the LSP that has been established in one direction has to be cleared to re-attempt to establish the LSP in both directions. This greatly increases the processing overhead.
发明内容 Summary of the invention
本发明实施例提供一种建立双向标签交换路径的方法、设备和系统, 以提 高网络资源利用率, 保证正向 LSP和反向 LSP的有序建立和管理, 减少处理开 销。  The embodiments of the present invention provide a method, a device, and a system for establishing a bidirectional label switching path, so as to improve network resource utilization, ensure orderly establishment and management of forward LSPs and reverse LSPs, and reduce processing overhead.
本发明的实施例提供了一种建立双向 LSP的方法, 所述方法包括: 如果源、 宿节点之间没有业务可用的正向 LSP, 则源节点直接建立所述正 向 LSP;  An embodiment of the present invention provides a method for establishing a bidirectional LSP, where the method includes: if there is no forward LSP available for service between the source and the sink node, the source node directly establishes the forward LSP;
如果源、 宿节点之间没有业务可用的反向 LSP, 则源节点通过点对点的方 式通知宿节点建立所述反向 LSP;  If there is no reverse LSP available for service between the source and the sink node, the source node notifies the sink node to establish the reverse LSP in a point-to-point manner;
宿节点建立所述反向 LSP。  The sink node establishes the reverse LSP.
本发明的实施例提供了一种网络设备, 包括:  An embodiment of the present invention provides a network device, including:
检测单元, 用于检查本端是否具有业务可用的正向 LSP和反向 LSP;  a detecting unit, configured to check whether the local end has a forward LSP and a reverse LSP available for service;
发送通知单元, 用于在所述检测单元检测到本端不具有业务可用的正向 LSP或反向 LSP时, 创建包含指示建立所述业务对应的 LSP的通知消息, 所述 通知消息包括缺正向 LSP通知消息和缺反向 LSP通知消息;  And a sending notification unit, configured to: when the detecting unit detects that the local end does not have a forward LSP or a reverse LSP, where the service is available, the notification message includes: Notifying the LSP and the lack of the reverse LSP notification message;
转发单元, 用于接收所述发送通知单元的通知消息, 并通过点对点的方式 向其它网络设备转发所述发送通知单元的缺反向 LSP的通知消息, 并从其它网 络设备接收缺反向 LSP的通知消息;  a forwarding unit, configured to receive the notification message of the sending notification unit, and forward the notification message of the reverse notification LSP of the sending notification unit to other network devices in a peer-to-peer manner, and receive the reverse LSP from other network devices Notification message
LSP执行单元, 用于在接收到所述转发单元转发的所述缺正向 LSP的通知 后, 建立正向 LSP。  The LSP executing unit is configured to establish a forward LSP after receiving the notification of the short forward LSP forwarded by the forwarding unit.
本发明的实施例还提供了一种标签交换路由系统,包括至少两个标签交换 路由器, 源标签交换路由器在本端没有业务可用的反向 LSP时, 通过点对点的 方式通知宿标签交换路由器建立所述反向 LSP; 宿标签交换路由器建立所述反 向 LSP; 所述源标签交换路由器包括:  The embodiment of the present invention further provides a label switching routing system, including at least two label switching routers, and the source label switching router notifies the sink label switching router establishment point-to-point manner when there is no reverse LSP available at the local end. a reverse LSP; a sink label switching router establishes the reverse LSP; the source label switching router includes:
检测单元, 用于检查本端是否具有业务可用的正向 LSP和反向 LSP;  a detecting unit, configured to check whether the local end has a forward LSP and a reverse LSP available for service;
发送通知单元, 用于在所述检测单元检测到本端不具有业务可用的正向 LSP或反向 LSP时, 创建包含指示建立所述业务对应的 LSP的通知消息, 所述 通知消息包括缺正向 LSP通知消息和缺反向 LSP通知消息; Sending a notification unit, configured to detect, in the detecting unit, that the local end does not have a service available The LSP or the reverse LSP is configured to include a notification message indicating that the LSP corresponding to the service is established, where the notification message includes a lack of a forward LSP notification message and a lack of a reverse LSP notification message;
转发单元,用于接收所述发送通知单元的通知消息, 并通过点对点的方式 向其它网络设备转发所述发送通知单元的缺反向 LSP的通知消息, 并从其它网 络设备接收缺反向 LSP的通知消息;  a forwarding unit, configured to receive the notification message of the sending notification unit, and forward the notification message of the reverse notification LSP of the sending notification unit to other network devices in a point-to-point manner, and receive the reverse LSP from other network devices Notification message
LSP执行单元, 用于在接收到所述转发单元转发的所述缺正向 LSP的通知 后, 建立正向 LSP。  The LSP executing unit is configured to establish a forward LSP after receiving the notification of the short forward LSP forwarded by the forwarding unit.
由于本发明实施例基于独立的单向 LSP提供双向 LSP业务, 这意味着每个 单向的 LSP可以独立实施流量工程, 同时也可以利用现有的单向 LSP, 相比于 现有技术这将极大的提供网络资源利用率, 保证正向 LSP和反向 LSP的有序建 立和管理, 减少处理开销。  Since the embodiment of the present invention provides a bidirectional LSP service based on an independent unidirectional LSP, it means that each unidirectional LSP can independently implement traffic engineering, and can also utilize an existing one-way LSP, which is compared with the prior art. It greatly provides the utilization of network resources, ensures the orderly establishment and management of forward LSPs and reverse LSPs, and reduces processing overhead.
附图说明 DRAWINGS
图 1为现有技术建立双向 LSP的一种网络示意图;  FIG. 1 is a schematic diagram of a network for establishing a bidirectional LSP in the prior art;
图 2为现有技术建立双向 LSP的另一种网络示意图;  2 is a schematic diagram of another network for establishing a bidirectional LSP in the prior art;
图 3-1为根据本发明实施例的建立双向 LSP的方法的一种流程图; 图 3- 2为根据本发明实施例的建立双向 LSP的方法的另一种流程图; 图 4为根据本发明实施例的管理双向 LSP的流程图;  3-1 is a flowchart of a method for establishing a bidirectional LSP according to an embodiment of the present invention; FIG. 3-2 is another flowchart of a method for establishing a bidirectional LSP according to an embodiment of the present invention; A flowchart of managing a bidirectional LSP according to an embodiment of the invention;
图 5-1为根据本发明第一实施例的建立双向 LSP的网络示意图;  5-1 is a schematic diagram of a network for establishing a bidirectional LSP according to the first embodiment of the present invention;
图 5-2为根据本发明第一实施例的建立双向 LSP的时序流程图;  5-2 is a timing chart showing the establishment of a bidirectional LSP according to the first embodiment of the present invention;
图 6-1为根据本发明第二实施例的建立双向 LSP的网络示意图;  6-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a second embodiment of the present invention;
'图 6-2为根据本发明第二实施例的建立双向 LSP的时序流程图;  6-2 is a timing chart of establishing a bidirectional LSP according to a second embodiment of the present invention;
图 7-1为根据本发明第三实施例的建立双向 LSP的网络示意图;  7-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a third embodiment of the present invention;
图 7-2为根据本发明第三实施例的建立双向 LSP的时序流程图;  7-2 is a timing chart showing the establishment of a bidirectional LSP according to a third embodiment of the present invention;
图 8-1为根据本发明第四实施例的建立双向 LSP的网络示意图;  8-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a fourth embodiment of the present invention;
图 8-2为根据本发明第四实施例的建立双向 LSP的时序流程图;  8-2 is a timing chart of establishing a bidirectional LSP according to a fourth embodiment of the present invention;
图 9-1为根据本发明第五实施例的建立双向 LSP的网络示意图;  9-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a fifth embodiment of the present invention;
图 9-2为根据本发明第五实施例的建立双向 LSP的时序流程图;  9-2 is a timing chart showing the establishment of a bidirectional LSP according to a fifth embodiment of the present invention;
图 10为根据本发明实施例的网络设备的结构示意图;  FIG. 10 is a schematic structural diagram of a network device according to an embodiment of the present invention; FIG.
图 11为根据本发明实施例的标签交换路由系统的原理框图。 具体实施方式 11 is a schematic block diagram of a label switching routing system in accordance with an embodiment of the present invention. detailed description
本发明实施例在建立双向 LSP之前, 源节点检测本端包含的业务可用的正 向 LSP和反向 LSP; 如果本端没有可用的所述正向 LSP, 本端直接发起建立所 述正向 LSP; 如果本端没有所述反向 LSP, 本端通过点对点的方式通知宿节点 建立所述反向 LSP; 宿节点建立所述反向 LSP。  In the embodiment of the present invention, before the bidirectional LSP is established, the source node detects the forward LSP and the reverse LSP that are available to the local end. If the forward LSP is not available, the local end directly initiates the establishment of the forward LSP. If the local end does not have the reverse LSP, the local end notifies the sink node to establish the reverse LSP in a point-to-point manner; the sink node establishes the reverse LSP.
其中, 这里的源节点和宿节点可为标签交换路由器 (Label Switched Router, LSR ) ,源节点向宿节点发送的通知消息可以指定反向 LSP对应的 FE (:、 流量工程参数、 QoS参数、 带宽参数以及其它 LSP相关的控制参数。 其中, 点 对点的通知消息经由中间节点路由转发到目的边缘节点,通知消息对中间节点 透明, 中间节点仅筒单路由转发该通知消息而不对该通知消息中在 IP层上负载 的内容进行处理。  The source node and the sink node may be Label Switched Routers (LSRs), and the notification message sent by the source node to the sink node may specify the FE corresponding to the reverse LSP (:, traffic engineering parameter, QoS parameter, bandwidth) Parameters and other LSP-related control parameters. The point-to-point notification message is forwarded to the destination edge node via the intermediate node route, and the notification message is transparent to the intermediate node, and the intermediate node only forwards the notification message without the IP address in the notification message. The content of the load on the layer is processed.
任何一方成功建立 LSP后会向对方发送建立成功消息以通知对端, 一旦 LSR节点检测到本端正向 LSP和反向 LSP可用,就绑定这两个单向 LSP成为一个 双向 LSP, 绑定成功后向宿节点发送绑定成功消息。 如果任何一端 LSR节点建 立 LSP失败则会向宿节点发送建立失败消息, 或由本端以其它方式自动感知, 如采用握手机制。 标签交换路由节点发现本端建立正向 LSP失败或建立反向 LSP失败, 则进行故障及异常处理。  After successfully establishing an LSP, any party will send a setup success message to the peer to notify the peer. Once the LSR node detects that the local forward LSP and the reverse LSP are available, the two unidirectional LSPs are bound to become a bidirectional LSP. The binding success message is sent to the destination node. If the LSR node fails to establish an LSP at any end, it will send a setup failure message to the sink node, or it will be automatically perceived by the local end in other ways, such as using a handshake mechanism. If the label switching routing node fails to establish a forward LSP or fails to establish a reverse LSP, the labeling routing node performs fault and exception handling.
在双向 LSP建立之后, 正向 LSP的源节点 (即反向 LSP的宿节点)和正向 LSP 的宿节点 (即反向 LSP的源节点)之间传送点对点控制消息负责管理双向 LSP,如 建立、 绑定、 更新和维护、 拆除双向 LSP等。 比如在资源保留协议-流量工程 ( Resource Reservation Protocol - Traffic Engineering, RSVP-TE )信令中就以 使用 Notify消息作为双向 LSP边缘节点之间点对点的控制消息来直接管理双向 LSP。  After the bidirectional LSP is established, the point-to-point control message is transmitted between the source node of the forward LSP (ie, the sink node of the reverse LSP) and the sink node of the forward LSP (ie, the source node of the reverse LSP), such as establishment, Bind, update, and maintain, remove bidirectional LSPs, and more. For example, in the Resource Reservation Protocol- Traffic Engineering (RSVP-TE) signaling, the Notify message is used as a point-to-point control message between the bidirectional LSP edge nodes to directly manage the bidirectional LSP.
这里需要指出的是, 正向 LSP和和反向 LSP是针对业务的发起方来说的, 为了描述得更清楚,约定将触发建立汉向业务的源节点朝向宿节点的方向称为 正向 (foward), 而将其对应的由宿节点朝向源节点的方向称为反向 (backward)- 下面结合附图对本发明的实施例作进一步说明。  It should be noted here that the forward LSP and the reverse LSP are for the originator of the service. For the sake of clearer description, the direction that the agreement will trigger the establishment of the source node of the Han-direction service towards the sink node is called forward ( The direction in which the corresponding sink node is toward the source node is referred to as "backward" - an embodiment of the present invention will be further described below with reference to the accompanying drawings.
参照图 3-1所示根据本发明实施例建立双向 LSP的方法的一种流程图。建立 双向 LSP的过程包括如下步骤: 301: 源节点判断本端是否存在可用的正向 LSP, 如果存在正向 LSP则进入 304, 否则进入 302; Referring to FIG. 3-1, a flow chart of a method for establishing a bidirectional LSP according to an embodiment of the present invention is shown. The process of establishing a bidirectional LSP includes the following steps: 301: The source node determines whether there is a forward LSP available at the local end, and if there is a forward LSP, enters 304, otherwise enters 302;
302: 由源节点发起建立正向 LSP;  302: A forward LSP is initiated by the source node.
303: 源节点判断本端是否成功建立正向 LSP, 如果是则进入 304, 否则进 入 309;  303: The source node determines whether the local end successfully establishes a forward LSP, if yes, enters 304, otherwise enters 309;
304: 源节点判断是否存在可用的反向 LSP, 如果是则进入 307, 否则进入 304: The source node determines whether there is an available reverse LSP, if yes, enters 307, otherwise enters
305; 305;
305: 源节点直接通知对端宿节点发起建立反向 LSP;  305: The source node directly notifies the neighboring node to initiate establishment of a reverse LSP.
306: 源节点判断对端宿节点是否成功建立反向 LSP, 如果是则进入 307, 否则进入 309;  306: The source node determines whether the opposite sink node successfully establishes a reverse LSP, if yes, enters 307, otherwise enters 309;
307: 本地绑定正向 LSP与反向 LSP成双向 LSP;  307: The local binding forward LSP and the reverse LSP are bidirectional LSPs;
308: 直接通知对端绑定正向 LSP和反向 LSP成双向 LSP, 完成后进入 310; 309: 进行故障及异常处理;  308: Directly notify the peer end to bind the forward LSP and the reverse LSP into a bidirectional LSP, and enter 310 after completion; 309: perform fault and exception processing;
310: 结束流程。  310: End the process.
步骤 302中, 源节点发起建立正向 LSP后, 从正向 LSP的源节点发起的正向 In step 302, after the source node initiates the establishment of the forward LSP, the forward direction initiated by the source node of the forward LSP
LSP建立消息可遵循传统的 LSP标签请求消息处理机制进行处理; 同样, 宿节 点接收到来自其上游节点的正向 LSP建立消息后遵循传统的标签发布信令处 理机制为该消息中指定的 FEC向其上游节点分配标签,分配的标签由标签映射 消息通告给其上游节点, 重复该处理直到源节点, 从而成功建立正向 LSP。 The LSP setup message can be processed according to the traditional LSP label request message processing mechanism. Similarly, after receiving the forward LSP setup message from its upstream node, the sink node follows the traditional label issuing signaling processing mechanism for the FEC direction specified in the message. The upstream node allocates a label, and the assigned label is advertised to its upstream node by the label mapping message, and the process is repeated until the source node, thereby successfully establishing a forward LSP.
步骤 305中, 源节点直接通知宿节点发起建立反向 LSP的过程具体为: 将 指示建立反向 LSP以及对应参数的信息从源节点直接发送给宿节点; 宿节点接 收到该通知后, 发起建立反向 LSP, 其建立反向 LSP的过程与上述源节点建立 正向 LSP的机制相同, 都遵从传统的标准 LSP建立处理机制。 其中对应参数信 息包括: 指定反向 LSP对应的 FEC、 QoS参数、 流量工程参数、 带宽参数等以 及其它 LSP相关控制参数等。  In step 305, the process in which the source node directly informs the sink node to initiate the establishment of the reverse LSP is specifically: sending the information indicating the establishment of the reverse LSP and the corresponding parameter directly from the source node to the sink node; after receiving the notification, the sink node initiates establishment. The reverse LSP, which establishes a reverse LSP, has the same mechanism as the source node establishes a forward LSP, and follows the traditional standard LSP establishment processing mechanism. The corresponding parameter information includes: FEC, QoS parameters, traffic engineering parameters, bandwidth parameters, and other LSP related control parameters corresponding to the reverse LSP.
步骤 306中, 如果宿节点成功建立反向 LSP, 向源节点发送反向 LSP建立确 认消息, 源节点接收到反向建立确认消息后确定成功建立了反向 LSP。  In step 306, if the sink node successfully establishes a reverse LSP, and sends a reverse LSP establishment confirmation message to the source node, the source node determines that the reverse LSP is successfully established after receiving the reverse setup acknowledgement message.
图 3-2为才艮据本发明实施例建立双向 LSP的方法的另一种流程图。建立双向 LSP的过程包括如下步骤: 401: 源节点判断本端是否存在可用的反向 LSP, 如果存在反向 LSP则进入 404, 否则进入 402; 3-2 is another flow chart of a method for establishing a bidirectional LSP according to an embodiment of the present invention. The process of establishing a bidirectional LSP includes the following steps: 401: The source node determines whether there is an available reverse LSP at the local end, if there is a reverse LSP, enter 404, otherwise enter 402;
402: 由源节点通知对端宿节点发起建立反向 LSP;  402: The source node notifies the neighboring node to initiate establishment of a reverse LSP.
403: 源节点判断对端宿节点是否成功建立反向 LSP, 如果是则进入 404, 否则进入 409;  403: The source node determines whether the opposite sink node successfully establishes a reverse LSP, if yes, enters 404, otherwise enters 409;
404: 源节点判断是否存在可用的正向 LSP, 如果是则进入 407, 否则进入 404: The source node determines whether there is a forward LSP available, and if yes, enters 407, otherwise enters
405; 405;
405: 源节点本地发起建立正向 LSP;  405: The source node locally initiates establishment of a forward LSP.
406: 源节点判断本地是否成功建立正向 LSP, 如果是则进入 407, 否则进 入 409;  406: The source node determines whether the local forward LSP is successfully established, if yes, enters 407, otherwise enters 409;
407: 本地绑定正向 LSP与反向 LSP成双向 LSP;  407: The local binding forward LSP and the reverse LSP are bidirectional LSPs;
408: 直接通知对端绑定正向 LSP和反向 LSP成双向 LSP, 完成后进入 410; 409: 进行故障及异常处理;  408: Directly notify the peer to bind the forward LSP and the reverse LSP into a bidirectional LSP, and enter 410 after completion; 409: Perform fault and exception handling;
410: 结束流程。  410: End the process.
由上述流程可见, 其与图 3所示实施例的区别在于源节点判断本端包含的 对应 FEC的正向 LSP和反向 LSP的顺序不同, 图 4中先判断是否具有反向 LSP再 判断是否具有正向 LSP。 根据本发明实施例, 改变判断的先后顺序, 或周期性 检查本端具有的正向 LSP和反向 LSP的情况等没有超出本发明所要保护的范 围。  It can be seen from the above process that the difference between the forward LSP and the reverse LSP of the corresponding FEC included in the local end is different from that of the embodiment shown in FIG. 3. In FIG. 4, it is first determined whether there is a reverse LSP and then judged whether Has a forward LSP. According to the embodiment of the present invention, the order of changing the judgment, or periodically checking the forward LSP and the reverse LSP of the local end, and the like do not exceed the scope of the present invention.
图 4是根据本发明实施例的管理双向 LSP的流程图, 包括如下步驟: 4 is a flowchart of managing a bidirectional LSP according to an embodiment of the present invention, including the following steps:
411 :源节点判断是否需要控制反向 LSP,如果是则进入 412,否则进入 415; 412: 源节点向对端宿节点发送点对点控制消息, 通知宿节点按照需求控 制反向 LSP; 411: The source node determines whether it is necessary to control the reverse LSP, if yes, enter 412, otherwise enter 415; 412: The source node sends a point-to-point control message to the opposite-end sink node, informing the sink node to control the reverse LSP according to the requirement;
413: 源节点判断对端是否确认收到控制消息, 如果是则进入 415, 否则进 入 414;  413: The source node determines whether the peer end acknowledges receipt of the control message, and if yes, enters 415, otherwise proceeds to 414;
414: 源节点向对端宿节点重传控制消息, 完成后进入 415;  414: The source node retransmits the control message to the peer sink node, and then enters 415 after completing;
415: 结束本次管理流程。  415: End this management process.
以上流程是从正向 LSP的入口节点(即源节点)的角度来描述的, 由于双 向 LSP中的两个单向 LSP的方向相反并且具备相同的边缘节点, 即这两个单向 LSP互为正向和反向, 因此, 从反向 LSP的入口节点 (即宿节点)对正向 LSP 实现管理的流程与上述类似。 The above process is described from the perspective of the ingress node (ie, the source node) of the forward LSP, because the two unidirectional LSPs in the bidirectional LSP are in opposite directions and have the same edge node, that is, the two unidirectional The LSPs are forward and reverse mutually. Therefore, the process of managing the forward LSP from the ingress node (ie, the sink node) of the reverse LSP is similar to the above.
图 5-1为本发明笫一实施例的建立双向 LSP的网络示意图, 图 5-2为相应的 建立双向 LSP的时序流程图。  Figure 5-1 is a schematic diagram of a network for establishing a bidirectional LSP according to an embodiment of the present invention, and Figure 5-2 is a timing chart for establishing a bidirectional LSP.
参见图 5-1和图 5-2,在本发明的第一实施例中,以 LSR节点 R0作为正向 LSP 的源节点, 此时正向 LSP的源节点上没有可用的正向 LSP和反向 LSP。 建立双 向 LSP的过程为:  Referring to FIG. 5-1 and FIG. 5-2, in the first embodiment of the present invention, the LSR node R0 is used as the source node of the forward LSP, and no forward LSP and reverse are available on the source node of the forward LSP. To the LSP. The process of establishing a bidirectional LSP is as follows:
501 : 首先源节点 R0通过 LSP建立消息 [(1)]通知其正向 LSP的下游节点 R1 建立正向 LSP, 收到消息 [(1)]之后 R1向其下游节点 R2发送对应的正向 LSP建立 请求消息 [(2)], 收到消息 [(2)]之后 R2向其下游节点 R5即正向 LSP的宿节点发送 对应的正向 LSP建立请求消息 [(3)]。  501: First, the source node R0 informs the downstream node R1 of the forward LSP to establish a forward LSP through the LSP establishment message [(1)], and after receiving the message [(1)], R1 sends a corresponding forward LSP to its downstream node R2. The request message [(2)] is established, and after receiving the message [(2)], R2 sends a corresponding forward LSP establishment request message [(3)] to its downstream node R5, that is, the sink node of the forward LSP.
502:正向 LSP的宿节点 R5在收到正向 LSP建立请求消息 [(3)]之后遵循传统 的 LSP建立处理机制向其上游节点 R2发布标签映射消息 [(4)] , 收到消息 [(4)]之 后 R2向其上游节点 R1发布建立确认消息 [(5)] , 收到消息 [(5)]之后 R1向其上游 节点 R0即正向 LSP的源节点发布建立确认消息 [(6)], 至此正向 LSP成功建立。  502: The sink node R5 of the forward LSP sends a label mapping message [(4)] to the upstream node R2 according to the traditional LSP establishment processing mechanism after receiving the forward LSP establishment request message [(3)], and receives the message [ (4) After R2 issues a setup confirmation message [(5)] to its upstream node R1, after receiving the message [(5)], R1 issues a setup confirmation message to its upstream node R0, that is, the source node of the forward LSP [(6) )], the forward LSP is successfully established.
503: 在正向 LSP成功建立之后, 正向 LSP的源节点 R0通过点到点的消息 [(7)]直接通知正向 LSP的宿节点 R5发起建立反向 LSP。  503: After the forward LSP is successfully established, the source node R0 of the forward LSP directly informs the sink node R5 of the forward LSP to establish a reverse LSP by using a point-to-point message [(7)].
504: 宿节点 R5在收到该通知消息 [(7)]之后发起建立反向 LSP。 宿节点 R5 利用通知消息 [(7)]中包含的信息 (如 FEC、 QoS参数、流程工程参数等)发起建立 反向 LSP。 R5向其反向 LSP的节点 R2发送针对指定 FEC的反向 LSP建立请求消 息 [(8)] , 接收到该消息之后 R2向其反向 LSP的节点 R1发送针对指定 FEC的反向 LSP建立请求消息 [(9)] , 接收到该消息之后 R1向其邻居节点 R0发送针对指定 FEC的反向 LSP建立请求消息 [(10)]。  504: The sink node R5 initiates establishment of the reverse LSP after receiving the notification message [(7)]. The sink node R5 initiates the establishment of the reverse LSP by using the information contained in the notification message [(7)] (such as FEC, QoS parameters, process engineering parameters, etc.). R5 sends a reverse LSP setup request message [(8)] for the specified FEC to the node R2 of its reverse LSP, and after receiving the message, R2 sends a reverse LSP setup request for the specified FEC to the node R1 of its reverse LSP. Message [(9)], after receiving the message, R1 sends a reverse LSP establishment request message [(10)] for the specified FEC to its neighbor node R0.
505: 正向 LSP的源节点 R0在收到反向 LSP建立请求消息 [(10)]之后遵循传 统的 LSP建立处理机制向其反向 LSP的上游节点 R1发布建立确认消息 [(11)],收 到消息 [(11)]之后 R1向其上游节点 R2发布建立确认消息 [(12)] , 收到消息 [(12)] 之后 R2向其上游节点 R5发布建立确认消息 [( 13)] , 至此反向 LSP成功建立。  505: The source node R0 of the forward LSP issues a setup confirmation message [(11)] to the upstream node R1 of its reverse LSP following the receipt of the reverse LSP establishment request message [(10)], following the conventional LSP establishment processing mechanism, After receiving the message [(11)], R1 issues a setup confirmation message [(12)] to its upstream node R2, and after receiving the message [(12)], R2 issues a setup confirmation message [(13)] to its upstream node R5. At this point, the reverse LSP is successfully established.
506: 宿节点 R5通过点到点方式向源节点 R0发送反向 LSP建立确认消息, 源节点 R0接收到该消息绑定正向与反向 LSP为双向 LSP; 507: 源节点 R0通过点到点方式通知宿节点 R5建立双向 LSP, 宿节点 R5接 收到该消息绑定正向 LSP与反向 LSP为默向 LSP。 506: The sink node R5 sends a reverse LSP establishment acknowledgement message to the source node R0 in a point-to-point manner, and the source node R0 receives the message binding forward and reverse LSPs as a bidirectional LSP; 507: The source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a silent LSP.
当正向 LSP和反向 LSP建立成功之后, 正向 LSP的源节点(即反向 LSP的宿 节点) R0通过点到点的消息 [(7)]通知正向 LSP的宿节点 (即反向 LSP的源节点) R5 绑定正向和反向 LSP成为一个双向 LSP。  After the forward LSP and the reverse LSP are successfully established, the source node of the forward LSP (ie, the sink node of the reverse LSP) R0 notifies the sink node of the forward LSP by the point-to-point message [(7)] (ie, the reverse Source node of the LSP) R5 binds the forward and reverse LSPs into a bidirectional LSP.
在本实施例中, 步骤 504中宿节点 R5建立的反向 LSP的路径与 R0建立的正 向 LSP路径相同。 其中 LSP建立请求消息一般为标签请求消息如资源保留协议- 流量工程 ( Resource Reservation Protocol-Traffic Engineering, RSVP-TE )的 Path 消息, 而 LSP的建立确认消息一般为标签映射消息如 RSVP-TE的 RESV消息。  In this embodiment, the path of the reverse LSP established by the sink node R5 in step 504 is the same as the forward LSP path established by R0. The LSP establishment request message is generally a label request message, such as a Resource Reservation Protocol (Traffic Engineering, RSVP-TE) Path message, and the LSP establishment confirmation message is generally a label mapping message such as RSVP-TE RESV. Message.
图 6-1为本发明第二实施例的建立双向 LSP的网络示意图, 图 6-2为相应的 建立双向 LSP的时序流程图。 第二实施例与第一实施例中建立双向 LSP的过程 基本相同, 其区别在于, 第二实施例中反向 LSP与正向 LSP使用不同的路径, 而第一实施例中反向 LSP与正向 LSP使用相同的路径。 建立双向 LSP的过程为: Figure 6-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a second embodiment of the present invention, and Figure 6-2 is a timing chart for establishing a bidirectional LSP. The second embodiment is basically the same as the process of establishing a bidirectional LSP in the first embodiment. The difference is that the reverse LSP uses a different path from the forward LSP in the second embodiment, and the reverse LSP and the positive in the first embodiment. Use the same path to the LSP. The process of establishing a two-way LSP is as follows:
601〜603: 与图 5-2中所示步驟 501〜503相同。 601 to 603: The same as steps 501 to 503 shown in Fig. 5-2.
604: 宿节点 R5在收到该通知消息 [(7)]之后发起建立反向 LSP。 宿节点 R5 利用通知消息 [(7)]中包含的信息 (如 FEC、 QoS参数、流程工程参数等)发起建立 反向 LSP。 R5向其反向 LSP的下游节点 R4发送针对指定 FEC的反向 LSP建立请 求消息 [(8)] , 接收到该消息之后 R4向其反向 LSP的下游节点 R3发送针对指定 FEC的反向 LSP建立请求消息 [(9)〗, 接收到该消息之后 R3向其邻居节点 R0发送 针对指定 FEC的反向 LSP建立请求消息 [(10)]。  604: The sink node R5 initiates establishment of the reverse LSP after receiving the notification message [(7)]. The sink node R5 initiates the establishment of the reverse LSP by using the information contained in the notification message [(7)] (such as FEC, QoS parameters, process engineering parameters, etc.). R5 sends a reverse LSP setup request message [(8)] for the specified FEC to the downstream node R4 of its reverse LSP, and after receiving the message, R4 sends a reverse LSP for the designated FEC to the downstream node R3 of its reverse LSP. A request message [(9)] is established, and after receiving the message, R3 sends a reverse LSP establishment request message [(10)] for the specified FEC to its neighbor node R0.
605: 正向 LSP的源节点 R0在收到反向 LSP建立请求消息 [(10)]之后遵循传 统的 LSP建立处理机制向其反向 LSP的上游节点 R3发布建立确认消息 [(11)],收 到消息 [(11)]之后 R3向其上游节点 R4发布建立确认消息 [(12)] , 收到消息 [(12)] 之后 R4向其上游节点 R5发布建立确认消息 [(13)], 至此反向 LSP成功建立。  605: The source node R0 of the forward LSP issues a setup confirmation message [(11)] to the upstream node R3 of its reverse LSP following the receipt of the reverse LSP establishment request message [(10)], following the conventional LSP establishment processing mechanism, After receiving the message [(11)], R3 issues a setup confirmation message [(12)] to its upstream node R4, and after receiving the message [(12)], R4 issues a setup confirmation message [(13)] to its upstream node R5, At this point, the reverse LSP is successfully established.
606: 宿节点 R5通过点到点方式向源节点 R0发送反向 LSP建立确认消息, 源节点 R0接收到该消息绑定正向与反向 LSP为双向 LSP;  606: The sink node R5 sends a reverse LSP establishment acknowledgement message to the source node R0 in a point-to-point manner, and the source node R0 receives the message binding forward and reverse LSPs as a bidirectional LSP;
607: 源节点 R0通过点到点方式通知宿节点 R5建立双向 LSP, 宿节点 R5接 收到该消息绑定正向 LSP与反向 LSP为双向 LSP。  607: The source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a bidirectional LSP.
当正向 LSP和反向 LSP建立成功之后, 正向 LSP的源节点(即反向 LSP的宿 节点) R0通过点到点的消息 [(7)]通知正向 LSP的宿节点 (即反向 LSP的源节点) R5 绑定正向和反向 LSP成为一个双向 LSP。 After the forward LSP and the reverse LSP are successfully established, the source node of the forward LSP (that is, the sink of the reverse LSP) Node) R0 informs the sink node of the forward LSP (ie, the source node of the reverse LSP) through the point-to-point message [(7)]. R5 Binds the forward and reverse LSPs into a bidirectional LSP.
图 7-1为本发明第三实施例的建立双向 LSP的网络示意图, 图 7-2为相应的 建立双向 LSP的时序流程图。 参见图 7-1和图 7-2, 在本发明的第三实施例中, 以 LSR节点 R0作为正向 LSP的源节点, 此时正向 LSP的源节点上已有可用的反 向 LSP, 为建立双向 LSP只需要建立正向 LSP并在边缘节点上进行绑定即可。 在该实施例中, 建立了正向 LSP后通过点到点的方式向对端节点发送绑定成功 消息以通知对端绑定正向和反向的 LSP来建立双向 LSP。 建立双向 LSP的过程 为:  Figure 7-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a third embodiment of the present invention, and Figure 7-2 is a timing chart for establishing a bidirectional LSP. Referring to FIG. 7-1 and FIG. 7-2, in the third embodiment of the present invention, the LSR node R0 is used as the source node of the forward LSP, and the reverse LSP available on the source node of the forward LSP is available. To establish a bidirectional LSP, only the forward LSP needs to be established and bound on the edge node. In this embodiment, after the forward LSP is established, a binding success message is sent to the correspondent node in a point-to-point manner to notify the peer to bind the forward and reverse LSPs to establish a bidirectional LSP. The process of establishing a two-way LSP is as follows:
701: 首先源节点 R0通过 LSP建立消息 [(1)]通知其正向 LSP的下游节点 R1 建立正向 LSP, 收到消息 [(1)]之后 R1向其下游节点 R2发送对应的正向 LSP建立 请求消息 [(2)] , 收到消息 [(2)]之后 R2向其下游节点 R5即正向 LSP的宿节点发送 对应的正向 LSP建立请求消息 [(3)]。  701: First, the source node R0 informs the downstream node R1 of the forward LSP to establish a forward LSP through the LSP establishment message [(1)], and after receiving the message [(1)], R1 sends a corresponding forward LSP to its downstream node R2. The request message [(2)] is established, and after receiving the message [(2)], R2 sends a corresponding forward LSP establishment request message [(3)] to its downstream node R5, that is, the sink node of the forward LSP.
702:正向 LSP的宿节点 R5在收到正向 LSP建立请求消息 [(3)]之后遵循传统 的 LSP建立处理机制向其上游节点 R2发布标签映射消息 [(4)] , 收到消息 [(4)]之 后 R2向其上游节点 R1发布建立确认消息 [(5)] , 收到消息 [(5)]之后 R1向其上游 节点: R0即正向 LSP的源节点发布建立确认消息 [(6)], 至此正向 LSP成功建立。  702: The sink node R5 of the forward LSP sends a label mapping message [(4)] to the upstream node R2 according to the traditional LSP establishment processing mechanism after receiving the forward LSP establishment request message [(3)], and receives the message [ (4) After R2 issues a setup confirmation message [(5)] to its upstream node R1, after receiving the message [(5)], R1 issues a setup confirmation message to its upstream node: R0, that is, the source node of the forward LSP [( 6)], the forward LSP is successfully established.
由于源节点 R0上已有可用的反向 LSP, 因此正向 LSP成功建立后, 只需在 边缘节点上进行绑定即可。  Since the reverse LSP is available on the source node R0, after the forward LSP is successfully established, you only need to bind it on the edge node.
703: 源节点 R0通过点到点方式通知宿节点 R5建立双向 LSP, 宿节点 R5接 收到该消息绑定正向 LSP与反向 LSP为双向 LSP。  703: The source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a bidirectional LSP.
当正向 LSP和反向 LSP建立成功之后, 正向 LSP的源节点(即反向 LSP的宿 节点) R0通过点到点的消息 [(7)]通知正向 LSP的宿节点 (即反向 LSP的源节点) R5 绑定正向和反向 LSP成为一个欢向 LSP。  After the forward LSP and the reverse LSP are successfully established, the source node of the forward LSP (ie, the sink node of the reverse LSP) R0 notifies the sink node of the forward LSP by the point-to-point message [(7)] (ie, the reverse The source node of the LSP) R5 binds the forward and reverse LSPs to a joyful LSP.
图 8-1为本发明第四实施例的建立双向 LSP的网络示意图, 图 8-2为相应的 建立双向 LSP的时序流程图。 参见图 8-1和图 8-2, 在本发明的第四实施例中, 以 LSR节点 R0作为正向 LSP的源节点,与第三实施例中不同的是,此时正向 LSP 的源节点上已有可用的正向 LSP, 为建立双向 LSP只需要建立反向 LSP并在边 缘节点上进行绑定即可。在这个实施例中, 直接通过点到点的消息通知对端宿 节点 R5发起建立反向 LSP。 在反向 LSP建立之后, 在本端 R0绑定正向和反向的 LSP来建立双向 LSP, 并通过点到点的消息通知对端 R5绑定正向和反向的 LSP 来建立双向 LSP。 建立双向 LSP的过程为: 8-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a fourth embodiment of the present invention, and FIG. 8-2 is a sequence flowchart for establishing a bidirectional LSP. Referring to FIG. 8-1 and FIG. 8-2, in the fourth embodiment of the present invention, the LSR node R0 is used as the source node of the forward LSP, which is different from the third embodiment in that the source of the forward LSP is at this time. A forward LSP is available on the node. To establish a bidirectional LSP, you only need to establish a reverse LSP and bind it to the edge node. In this embodiment, the peer is directly notified by a point-to-point message. Node R5 initiates the establishment of a reverse LSP. After the reverse LSP is established, the local LSP is bound to the forward and reverse LSPs to establish a bidirectional LSP, and the peer-to-peer message is used to notify the opposite end R5 to bind the forward and reverse LSPs to establish a bidirectional LSP. The process of establishing a bidirectional LSP is as follows:
801: 首先源节点 R0通过点到点的消息 [(1)]直接通知正向 LSP的宿节点 R5 发起建立反向 LSP。  801: First, the source node R0 directly informs the sink node R5 of the forward LSP through the point-to-point message [(1)] to initiate the establishment of the reverse LSP.
802: 宿节点 R5在收到该通知消息 [(1)]之后发起建立反向 LSP。 宿节点 R5 利用通知消息 [(1)]中包含的信息 (如 FEC、 QoS参数、流程工程参数等)发起建立 反向 LSP。 R5向其反向 LSP的节点 R2发送针对指定 FEC的反向 LSP建立请求消 息 [(2)], 接收到该消息之后 R2向其反向 LSP的节点 R1发送针对指定 FEC的反向 LSP建立请求消息 [(3)] , 接收到该消息之后 R1向其邻居节点 R0发送针对指定 FEC的反向 LSP建立请求消息 [(4)]。  802: The sink node R5 initiates the establishment of the reverse LSP after receiving the notification message [(1)]. The sink node R5 initiates the establishment of the reverse LSP by using the information contained in the notification message [(1)] (such as FEC, QoS parameters, process engineering parameters, etc.). R5 sends a reverse LSP setup request message [(2)] for the specified FEC to the node R2 of its reverse LSP, and after receiving the message, R2 sends a reverse LSP setup request for the specified FEC to the node R1 of its reverse LSP. Message [(3)], after receiving the message, R1 sends a reverse LSP establishment request message [(4)] for the specified FEC to its neighbor node R0.
803:正向 LSP的源节点 R0在收到反向 LSP建立请求消息 [(4)]之后遵循传统 的 LSP建立处理机制向其反向 LSP的上游节点 R1发布建立确认消息 [(5)] , 收到 消息 [(5)]之后 R1向其上游节点 R2发布建立确认消息 [(6)] ,收到消息 [(6)]之后 R2 向其上游节点 R5发布建立确认消息 [(7)], 至此反向 LSP成功建立。  803: The source node R0 of the forward LSP issues a setup confirmation message [(5)] to the upstream node R1 of the reverse LSP according to the traditional LSP establishment processing mechanism after receiving the reverse LSP establishment request message [(4)]. After receiving the message [(5)], R1 issues a setup confirmation message [(6)] to its upstream node R2, and after receiving the message [(6)], R2 issues a setup confirmation message [(7)] to its upstream node R5. At this point, the reverse LSP is successfully established.
804: 宿节点 R5通过点到点方式向源节点 R0发送反向 LSP建立确认消息, 源节点 R0接收到该消息绑定正向与反向 LSP为双向 LSP;  804: The sink node R5 sends a reverse LSP establishment acknowledgement message to the source node R0 in a point-to-point manner, and the source node R0 receives the message binding forward and reverse LSPs as a bidirectional LSP;
805: 源节点 R0通过点到点方式通知宿节点 R5建立双向 LSP, 宿节点 R5接 收到该消息绑定正向 LSP与反向 LSP为双向 LSP。  805: The source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a bidirectional LSP.
图 9-1为本发明第五实施例的建立双向 LSP的网络示意图, 图 9-2为相应的 建立双向 LSP的时序流程图。 参见图 9-1和图 9-2, 在本发明的第五实施例中, 以 LSR节点 R0作为正向 LSP的源节点, 与第四实施例一样在正向 LSP的源节点 上已有可用的正向 LSP, 为建立双向 LSP只需要建立反向 LSP并在边缘节点上 进行绑定即可。 直接通过点到点的消息通知对端宿节点 R5发起建立反向 LSP。 在反向 LSP建立之后, 在本端 R0绑定正向和反向的 LSP来建立双向 LSP, 并通 过点到点的消息通知对端 R5绑定正向和反向的 LSP来建立双向 LSP。 这个实施 例与笫四实施例的区别在于建立反向 LSP和正向 LSP采用不同的路径。 建立双 向 LSP的过程为:  9-1 is a schematic diagram of a network for establishing a bidirectional LSP according to a fifth embodiment of the present invention, and FIG. 9-2 is a sequence flowchart for establishing a bidirectional LSP. Referring to FIG. 9-1 and FIG. 9-2, in the fifth embodiment of the present invention, the LSR node R0 is used as the source node of the forward LSP, and is available on the source node of the forward LSP as in the fourth embodiment. The forward LSP only needs to establish a reverse LSP and bind on the edge node to establish a bidirectional LSP. Directly through the point-to-point message, the neighboring sink node R5 initiates the establishment of the reverse LSP. After the reverse LSP is established, the local end R0 is bound to the forward and reverse LSPs to establish a bidirectional LSP, and the peer-to-peer message is used to notify the opposite end R5 to bind the forward and reverse LSPs to establish a bidirectional LSP. The difference between this embodiment and the fourth embodiment is that the reverse LSP is established and the forward LSP adopts a different path. The process of establishing a bidirectional LSP is as follows:
901: 首先源节点 R0通过点到点的消息 [(1)]直接通知正向 LSP的宿节点 R5 发起建立反向 LSP。 901: First, the source node R0 directly informs the sink node R5 of the forward LSP through the point-to-point message [(1)]. Initiate the establishment of a reverse LSP.
902: 宿节点 R5在收到该通知消息 [(1)]之后发起建立反向 LSP。 宿节点 R5 利用通知消息 [(1)]中包含的信息 (如 FEC、 QoS参数、流程工程参数等)发起建立 反向 LSP。 R5向其反向 LSP的节点 R4发送针对指定 FEC的反向 LSP建立请求消 息 [(2)] , 接收到该消息之后 R4向其反向 LSP的节点 R3发送针对指定 FEC的反向 LSP建立请求消息 [(3)] , 接收到该消息之后 R3向其邻居节点 R0发送针对指定 FEC的反向 LSP建立请求消息 [(4)]。  902: The sink node R5 initiates establishment of the reverse LSP after receiving the notification message [(1)]. The sink node R5 initiates the establishment of the reverse LSP by using the information contained in the notification message [(1)] (such as FEC, QoS parameters, process engineering parameters, etc.). R5 sends a reverse LSP setup request message [(2)] for the specified FEC to the node R4 of its reverse LSP, and after receiving the message, R4 sends a reverse LSP setup request for the specified FEC to the node R3 of its reverse LSP. Message [(3)], after receiving the message, R3 sends a reverse LSP establishment request message [(4)] for the specified FEC to its neighbor node R0.
903:正向 LSP的源节点 R0在收到反向 LSP建立请求消息 [(4)]之后遵循传统 的 LSP建立处理机制向其反向 LSP的上游节点 R3发布建立确认消息 [(5)], 收到 消息 [(5)]之后 R3向其上游节点 R4发布建立确认消息 [(6)] ,收到消息 [(6)]之后 R2 向其上游节点 R5发布建立确认消息 [(7)] , 至此反向 LSP成功建立。  903: The source node R0 of the forward LSP issues a setup confirmation message [(5)] to the upstream node R3 of its reverse LSP following the receipt of the reverse LSP establishment request message [(4)], following the conventional LSP establishment processing mechanism, After receiving the message [(5)], R3 issues a setup confirmation message [(6)] to its upstream node R4, and after receiving the message [(6)], R2 issues a setup confirmation message [(7)] to its upstream node R5. At this point, the reverse LSP is successfully established.
904: 宿节点 R5通过点到点方式向源节点 R0发送反向 LSP建立确认消息, 源节点 R0接收到该消息绑定正向与反向 LSP为双向 LSP;  904: The sink node R5 sends a reverse LSP establishment acknowledgement message to the source node R0 in a point-to-point manner, and the source node R0 receives the message binding forward and reverse LSPs as a bidirectional LSP;
905: 源节点 R0通过点到点方式通知宿节点 R5建立双向 LSP, 宿节点 R5接 收到该消息绑定正向 LSP与反向 LSP为双向 LSP。  905: The source node R0 informs the sink node R5 to establish a bidirectional LSP in a point-to-point manner, and the sink node R5 receives the message binding forward LSP and the reverse LSP as a bidirectional LSP.
需要指出的是, 在本发明的各实施例中, 任何 LSR节点只要检测到本端包 含对应 FEC的正向 LSP和反向 LSP就可绑定该正向 LSP和反向 LSP, 与对端是否 绑定相互独立。  It should be noted that, in the embodiments of the present invention, any LSR node can bind the forward LSP and the reverse LSP as long as it detects that the local end includes the forward LSP and the reverse LSP of the corresponding FEC, and whether the opposite end is bound to the opposite end. Binding is independent of each other.
由以上各实施例可见, 由于本发明实施例基于独立的单向 LSP提供双向 LSP业务, 这意味着每个单向的 LSP可以独立实施流量工程, 同时也可以利用 现有的单向 LSP, 相比于现有技术这将极大的提供网络资源利用率。 另外, 由 于本发明实施例采用点到点的控制消息来管理双向 LSP, 相比于现有技术这将 明显的降低中间节点的处理负担。 而且, 由于本发明实施例独立的控制通道确 保正向和反向 LSP的有序建立和管理, 相比于现有技术这将能避免出现高处理 开销的风险。  It can be seen from the foregoing embodiments that the embodiment of the present invention provides a bidirectional LSP service based on an independent unidirectional LSP, which means that each unidirectional LSP can independently implement traffic engineering, and can also utilize an existing one-way LSP. This will greatly provide network resource utilization compared to the prior art. In addition, since the embodiment of the present invention uses a point-to-point control message to manage the bidirectional LSP, this will significantly reduce the processing load of the intermediate node compared to the prior art. Moreover, since the independent control channel of the embodiment of the present invention ensures the orderly establishment and management of the forward and reverse LSPs, the risk of high processing overhead can be avoided compared to the prior art.
图 10所示为根据本发明实施例的网络设备的结构示意图,图中还显示了该 网络设备的各单元之间信令流向。 该网络设备包括检测单元 101、 发送通知单 元 102、 转发单元 103、 LSP执行单元 104, 还可以包括绑定单元 105、 故障及异 常处理单元 106、 LSP管理单元 107。 检测单元 101 , 用于检测本端节点包含对应 FEC的正向 LSP和反向 LSP的情 况, 如果没有正向 LSP或反向 LSP则通知发送通知单元 102, 如果同时具有正向 LSP和反向 LSP, 则通知绑定单元进行绑定 105。 FIG. 10 is a schematic structural diagram of a network device according to an embodiment of the present invention, and also shows signaling flow between units of the network device. The network device includes a detecting unit 101, a sending notification unit 102, a forwarding unit 103, and an LSP executing unit 104. The network device may further include a binding unit 105, a fault and exception processing unit 106, and an LSP management unit 107. The detecting unit 101 is configured to detect that the local node includes the forward LSP and the reverse LSP corresponding to the FEC, and if there is no forward LSP or reverse LSP, notify the sending notification unit 102 if there is both a forward LSP and a reverse LSP. , the binding unit is notified to perform binding 105.
发送通知单元 102,用于根据检测单元 101的检测结果创建包舍指示建立对 应 FEC的 LSP的通知消息,如果接到缺正向的通知则向转发单元 103发送指示建 立正向 LSP的通知消息, 如果接到缺反向的通知则向转发单元 103发送指示建 立反向 LSP的通知消息。  The sending notification unit 102 is configured to create a notification message indicating that the LSP of the corresponding FEC is established according to the detection result of the detecting unit 101, and send a notification message indicating that the forward LSP is established to the forwarding unit 103 if the notification of the lack of the forward direction is received. If a notification of lack of reversal is received, a notification message indicating that the reverse LSP is established is sent to the forwarding unit 103.
转发单元 103, 用于从本端其它单元或对端网络设备接收控制消息, 并将 接收到的控制消息转发到对应单元, 比如, 接收到发送通知单元 102的建立正 向 LSP的通知消息后, 指示 LSP执行单元 104建立正向 LSP; 接收到发送通知单 元 102的建立反向 LSP的通知消息后, 将该消息转发给对端网络设备。  The forwarding unit 103 is configured to receive a control message from another unit or the peer network device at the local end, and forward the received control message to the corresponding unit, for example, after receiving the notification message of the forward LSP by the sending notification unit 102, The LSP execution unit 104 is instructed to establish a forward LSP. After receiving the notification message of the reverse LSP that is sent by the notification unit 102, the message is forwarded to the peer network device.
LSP执行单元 104, 接收建立正向通知, 执行 LSP的建立、 转发等功能, 可 按传统的标签转发机制工作。 其中 LSP的转发与控制消息的转发相互独立, 可 用不同的控制通道。  The LSP executing unit 104 receives the function of establishing a forward notification, performing LSP establishment, forwarding, and the like, and can work according to a traditional label forwarding mechanism. The forwarding of the LSP and the forwarding of the control message are independent of each other, and different control channels can be used.
绑定单元 105, 接收到检测单元 101的通知绑定消息, 即当检测单元 101检 测到本端具有正向 LSP和反向 LSP时,绑定单元 105绑定该正向 LSP和反向 LSP。  The binding unit 105 receives the notification binding message of the detecting unit 101, that is, when the detecting unit 101 detects that the local end has a forward LSP and a reverse LSP, the binding unit 105 binds the forward LSP and the reverse LSP.
故障及异常处理单元 106,当正向 LSP建立失败或反向 LSP建立失败或出现 其它故障异常情况时, 进行相应的故障及异常处理。  The fault and abnormality processing unit 106 performs corresponding fault and abnormality processing when the forward LSP establishment fails or the reverse LSP establishment fails or other fault abnormalities occur.
LSP管理单元 107, 对双向 LSP进行管理和维护, 其管理消息通过转发单元 103进行转发, 与传统机制标签转发采用的通道独立。管理消息包括建立消息、 绑定消息、 更新消息、 维护消息、 拆除消息等。  The LSP management unit 107 manages and maintains the bidirectional LSP, and the management message is forwarded by the forwarding unit 103, which is independent of the channel used by the traditional mechanism label forwarding. Management messages include establishing messages, binding messages, updating messages, maintaining messages, tearing down messages, and the like.
利用图 10所示的网络设备,本发明实施例提供的标签交换路由系统如图 11 所示:  With the network device shown in FIG. 10, the label switching routing system provided by the embodiment of the present invention is as shown in FIG. 11:
在该系统中, 包括: 至少两个标签交换路由器, 如图中所示, 源标签交换 路由器 110和宿标签交换路由器 120, 当然, 在源标签交换路由器 110和宿标签 交换路由器 120还可以有一个或多个中间路由器, 如图中所示的中间路由器 130。 源标签交换路由器 110在本端没有业务可用的反向 LSP时, 通过点对点的 方式通知宿标签交换路由器建立所述反向 LSP; 通知消息对中间路由器 130透 明, 中间路由器 130仅路由转发该通知消息而不对该通知消息中在 IP层上承载 的内容进行处理。 宿标签交换路由器根据通知, 建立所述反向 LSP。 源标签交 换路由器 110和宿标签交换路由器 120的结构与图 10所示网络设备相同,在此不 再赘述。 源标签交换路由器 110和宿标签交换路由器 120通过中间节点 130发送 通知消息, 建立反向 LSP的过程在前面已有详细描述, 在此不再奮述。 In the system, including: at least two label switching routers, as shown in the figure, the source label switching router 110 and the sink label switching router 120. Of course, there may be one in the source label switching router 110 and the sink label switching router 120. Or multiple intermediate routers, such as the intermediate router 130 shown in the figure. The source label switching router 110 notifies the sink label switching router to establish the reverse LSP in a point-to-point manner when the local end has no reverse LSP available for the service; the notification message is transparent to the intermediate router 130, and the intermediate router 130 only routes and forwards the notification message. Without carrying the IP layer on the notification message The content is processed. The sink label switching router establishes the reverse LSP according to the notification. The structure of the source label switching router 110 and the sink label switching router 120 is the same as that of the network device shown in FIG. 10, and details are not described herein again. The source label switching router 110 and the sink label switching router 120 send a notification message through the intermediate node 130. The process of establishing a reverse LSP has been described in detail above, and will not be described here.
利用本发明实施例的系统, 可以建立起双向的 LSP, 并且基于独立的单向 LSP提供双向 LSP业务, 使每个单向的 LSP都可以独立实施流量工程; 而且利 用标签交换路由器中的 LSP管理单元, 可以通过点到点的控制消息来管理双向 LSP, 从而降氐了中间路由器的处理负担, 减少了处理开销。  With the system of the embodiment of the present invention, a bidirectional LSP can be established, and a bidirectional LSP service is provided based on an independent unidirectional LSP, so that each unidirectional LSP can independently implement traffic engineering; and LSP management in the label switching router is utilized. The unit can manage the bidirectional LSP through the point-to-point control message, thereby reducing the processing load of the intermediate router and reducing the processing overhead.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局 限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种建立双向标签交换路径的方法, 其特征在于, 所述方法包括: 如果源、 宿节点之间没有业务可用的正向 LSP, 则源节点直接建立所述正 向 LSP;  A method for establishing a bidirectional label switching path, the method comprising: if a source or a sink node has no forward LSP available for service, the source node directly establishes the forward LSP;
如果源、 宿节点之间没有业务可用的反向 LSP, 则源节点通过点对点的方 式通知宿节点建立所述反向 LSP;  If there is no reverse LSP available for service between the source and the sink node, the source node notifies the sink node to establish the reverse LSP in a point-to-point manner;
宿节点建立所述反向 LSP。  The sink node establishes the reverse LSP.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:  2. The method according to claim 1, wherein the method further comprises:
宿节点成功建立所述反向 LSP后, 通过点对点的方式通知源节点成功建立 所述反向 LSP。  After the sink node successfully establishes the reverse LSP, the source node is notified in a point-to-point manner to successfully establish the reverse LSP.
3、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:  The method according to claim 1, wherein the method further comprises:
在源、 宿节点之间具有业务可用的正向 LSP和反向 LSP后, 源节点绑定所 述正向 LSP和所述反向 LSP; 或者  After the source and the sink nodes have a forward LSP and a reverse LSP available for the service, the source node binds the forward LSP and the reverse LSP; or
宿节点在具有对应 FEC的所述正向 LSP和所述反向 LSP时, 绑定所述正向 LSP和所述反向 LSP。  The sink node binds the forward LSP and the reverse LSP when the forward LSP and the reverse LSP corresponding to the FEC.
4、根据权利要求 1所述的方法, 其特征在于, 所述源节点通过点对点的方 式通知宿节点建立所述反向 LSP的步骤包括:  The method according to claim 1, wherein the step of the source node notifying the sink node to establish the reverse LSP by means of a point-to-point method comprises:
所述源节点向所述宿节点发送点对点的通知消息, 所述通知消息包括: 指 示建立业务的反向 LSP和所述反向 LSP相关的 FEC、 QoS参数、 流量工程参数、 带宽参数。  The source node sends a point-to-point notification message to the sink node, where the notification message includes: a reverse LSP indicating establishment of a service, and an FEC, a QoS parameter, a traffic engineering parameter, and a bandwidth parameter related to the reverse LSP.
5、根据权利要求 1所述的方法, 其特征在于, 所述宿节点采用与所述正向 LSP相同或不同的路径发起建立所述反向 LSP。  The method according to claim 1, wherein the sink node initiates establishment of the reverse LSP by using a path that is the same as or different from the forward LSP.
6、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 所述源节 点和所述宿节点间采用点对点的方式发送或接收标签控制管理消息,管理所述 正向 LSP和所述反向 LSP。  The method according to claim 3, wherein the method further comprises: sending or receiving a label control management message in a point-to-point manner between the source node and the sink node, managing the forward LSP and The reverse LSP.
7、 一种网络设备, 其特征在于, 包括:  7. A network device, comprising:
检测单元, 用于检查本端是否具有业务可用的正向 LSP和反向 LSP;  a detecting unit, configured to check whether the local end has a forward LSP and a reverse LSP available for service;
发送通知单元, 用于在所述检测单元检测到本端不具有业务可用的正向 - -LSP或反向 LSP时, 创建包含指示建立所述业务对应的 LSP的通知消息, 所述 通知消息包括缺正向 LSP通知消息和缺反向 LSP通知消息; a sending notification unit, configured to: when the detecting unit detects that the local end does not have a forward--LSP or a reverse LSP available for the service, creating a notification message that includes the LSP indicating that the service is established, where The notification message includes a lack of a forward LSP notification message and a lack of a reverse LSP notification message;
转发单元,用于接收所述发送通知单元的通知消息, 并通过点对点的方式 向其它网络设备转发所述发送通知单元的缺反向 LSP的通知消息, 并从其它网 络设备接收缺反向 LSP的通知消息;  a forwarding unit, configured to receive the notification message of the sending notification unit, and forward the notification message of the reverse notification LSP of the sending notification unit to other network devices in a point-to-point manner, and receive the reverse LSP from other network devices Notification message
LSP执行单元, 用于在接收到所述转发单元转发的所述缺正向 LSP的通知 后, 建立正向 LSP。  The LSP executing unit is configured to establish a forward LSP after receiving the notification of the short forward LSP forwarded by the forwarding unit.
8、 根据权利要求 7所述的网络设备, 其特征在于, 所述网络设备还包括: 绑定单元, 用于在所述检测单元检测到本端具有业务可用的正向 LSP或反 向 LSP时, 绑定所述正向 LSP和反向 LSP。  The network device according to claim 7, wherein the network device further includes: a binding unit, configured to: when the detecting unit detects that the local end has a forward LSP or a reverse LSP available for service Binding the forward LSP and the reverse LSP.
9、 根据权利要求 7或 8所述的网络设备, 其特征在于, 所述网络设备还包 括 ··  The network device according to claim 7 or 8, wherein the network device further comprises:
LSP管理单元, 用于管理所述正向 LSP和反向 LSP; 将包含控制所述反向 LSP的管理消息经由所述转发单元, 通过点对点的方式向下游发送。  And an LSP management unit, configured to manage the forward LSP and the reverse LSP; and send, by using the forwarding unit, a management message including the control of the reverse LSP, in a point-to-point manner.
10、根据权利要求 7或 8所述的网络设备, 其特征在于, 所述网络设备还包 括:  The network device according to claim 7 or 8, wherein the network device further comprises:
故障及异常处理单元, 用于在本端正向 LSP建立失败或反向 LSP建立失败 或出现其它故障异常时, 进行故障及异常处理。  The fault and exception handling unit is configured to perform fault and exception handling when the local forward LSP establishment fails or the reverse LSP establishment fails or other fault abnormalities occur.
11、一种标签交换路由系统,包括至少两个标签交换路由器,其特征在于, 源标签交换路由器在本端没有业务可用的反向 LSP时, 通过点对点的方式通知 宿标签交换路由器建立所述反向 LSP; 宿标签交换路由器建立所述反向 LSP; 所述源标签交换路由器包括:  A label switching routing system, comprising at least two label switching routers, wherein the source label switching router notifies the sink label switching router to establish the inverse in a peer-to-peer manner when there is no reverse LSP available at the local end. Establishing the reverse LSP to an LSP; a sink label switching router; the source label switching router includes:
检测单元, 用于检查本端是否具有业务可用的正向 LSP和反向 LSP;  a detecting unit, configured to check whether the local end has a forward LSP and a reverse LSP available for service;
发送通知单元, 用于在所述检测单元检测到本端不具有业务可用的正向 LSP或反向 LSP时, 创建包含指示建立所述业务对应的 LSP的通知消息, 所述 通知消息包括缺正向 LSP通知消息和缺反向 LSP通知消息;  And a sending notification unit, configured to: when the detecting unit detects that the local end does not have a forward LSP or a reverse LSP, where the service is available, the notification message includes: Notifying the LSP and the lack of the reverse LSP notification message;
转发单元, 用于接收所述发送通知单元的通知消息, 并通过点对点的方式 向其它网络设备转发所述发送通知单元的缺反向 LSP的通知消息, 并从其它网 络设备接收缺反向 LSP的通知消息;  a forwarding unit, configured to receive the notification message of the sending notification unit, and forward the notification message of the reverse notification LSP of the sending notification unit to other network devices in a peer-to-peer manner, and receive the reverse LSP from other network devices Notification message
LSP执行单元, 用于在接收到所述转发单元转发的所述缺正向 LSP的通知 后, 建立正向 LSP。 An LSP executing unit, configured to receive, by the forwarding unit, the notification that the forward LSP is forwarded After that, a forward LSP is established.
12、根据权利要求 11所述的标签交换路由系统, 其特征在于, 所述源标签 交换路由器和宿标签交换路由器均包括:  The label switching routing system according to claim 11, wherein the source label switching router and the sink label switching router each comprise:
绑定单元, 用于在本端具有业务可用的正向 LSP和反向 LSP时, 绑定所述 正向 LSP和所述反向 LSP。  The binding unit is configured to bind the forward LSP and the reverse LSP when the local end has a forward LSP and a reverse LSP available for the service.
13、根据权利要求 12所述的标签交换路由系统, 其特征在于, 所述源标签 交换路由器和宿标签交换路由器均包括:  The label switching routing system according to claim 12, wherein the source label switching router and the sink label switching router each comprise:
LSP管理单元, 用于在所述所述源标签交换路由器和宿标签交换路由器之 间通过点对点的方式传送双向 LSP的管理控制消息, 实现所述双向 LSP的控制 管理。  The LSP management unit is configured to transmit a management control message of the bidirectional LSP in a point-to-point manner between the source label switching router and the sink label switching router to implement control and management of the bidirectional LSP.
PCT/CN2007/001698 2006-09-30 2007-05-25 Method, device and system for establishing a bi-directional label switched path WO2008043230A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2006100629930A CN101155178B (en) 2006-09-30 2006-09-30 Method, device and system for establishing bidirectional LSP in multi-protocol label switching
CN200610062993.0 2006-09-30

Publications (1)

Publication Number Publication Date
WO2008043230A1 true WO2008043230A1 (en) 2008-04-17

Family

ID=39256615

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001698 WO2008043230A1 (en) 2006-09-30 2007-05-25 Method, device and system for establishing a bi-directional label switched path

Country Status (2)

Country Link
CN (1) CN101155178B (en)
WO (1) WO2008043230A1 (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9729682B2 (en) 2015-05-18 2017-08-08 128 Technology, Inc. Network device and method for processing a session using a packet signature
US9729439B2 (en) 2014-09-26 2017-08-08 128 Technology, Inc. Network packet flow controller
US9736184B2 (en) 2015-03-17 2017-08-15 128 Technology, Inc. Apparatus and method for using certificate data to route data
US9762485B2 (en) 2015-08-24 2017-09-12 128 Technology, Inc. Network packet flow controller with extended session management
US9832072B1 (en) 2016-05-31 2017-11-28 128 Technology, Inc. Self-configuring computer network router
US9871748B2 (en) 2015-12-09 2018-01-16 128 Technology, Inc. Router with optimized statistical functionality
US9985883B2 (en) 2016-02-26 2018-05-29 128 Technology, Inc. Name-based routing system and method
US9985872B2 (en) 2016-10-03 2018-05-29 128 Technology, Inc. Router with bilateral TCP session monitoring
US10009282B2 (en) 2016-06-06 2018-06-26 128 Technology, Inc. Self-protecting computer network router with queue resource manager
US10091099B2 (en) 2016-05-31 2018-10-02 128 Technology, Inc. Session continuity in the presence of network address translation
US10200264B2 (en) 2016-05-31 2019-02-05 128 Technology, Inc. Link status monitoring based on packet loss detection
US10205651B2 (en) 2016-05-13 2019-02-12 128 Technology, Inc. Apparatus and method of selecting next hops for a session
US10257061B2 (en) 2016-05-31 2019-04-09 128 Technology, Inc. Detecting source network address translation in a communication system
US10277506B2 (en) 2014-12-08 2019-04-30 128 Technology, Inc. Stateful load balancing in a stateless network
US10298616B2 (en) 2016-05-26 2019-05-21 128 Technology, Inc. Apparatus and method of securing network communications
US10425511B2 (en) 2017-01-30 2019-09-24 128 Technology, Inc. Method and apparatus for managing routing disruptions in a computer network
US10432519B2 (en) 2017-05-26 2019-10-01 128 Technology, Inc. Packet redirecting router
US10476583B2 (en) 2015-08-13 2019-11-12 Viasat, Inc. Managed time division duplexed baseband signaling
US10833980B2 (en) 2017-03-07 2020-11-10 128 Technology, Inc. Router device using flow duplication
US10841206B2 (en) 2016-05-31 2020-11-17 128 Technology, Inc. Flow modification including shared context
US11075836B2 (en) 2016-05-31 2021-07-27 128 Technology, Inc. Reverse forwarding information base enforcement
US11165863B1 (en) 2017-08-04 2021-11-02 128 Technology, Inc. Network neighborhoods for establishing communication relationships between communication interfaces in an administrative domain
US11652739B2 (en) 2018-02-15 2023-05-16 128 Technology, Inc. Service related routing method and apparatus
US11658902B2 (en) 2020-04-23 2023-05-23 Juniper Networks, Inc. Session monitoring using metrics of session establishment

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771551B (en) * 2008-12-29 2012-11-21 华为技术有限公司 Method for streaming media distribution in virtual special multicasting service, device and system thereof
CN101860523B (en) * 2009-04-08 2015-04-15 华为技术有限公司 Method and device for updating combined bidirectional label exchange path binding relationship
CN101883044A (en) * 2009-05-08 2010-11-10 华为技术有限公司 Method, device and system for establishing bidirectional point-to-multipoint label switch paths
CN102170392A (en) * 2010-02-26 2011-08-31 中兴通讯股份有限公司 Method and system for establishing associated double-way label switching path
CN102143038B (en) * 2010-06-23 2013-10-09 华为技术有限公司 Service creation method and node
CN102447611B (en) * 2010-09-30 2015-06-10 中兴通讯股份有限公司 Method and system for establishing bidirectional point-to-multipoint label switched path as well as method and system for removing bidirectional point-to-multipoint label switched path
CN102231704B (en) * 2011-06-24 2017-09-19 中兴通讯股份有限公司 The method and apparatus of service deployment in a kind of RSVP TE dynamic tunnels
CN103210626A (en) * 2011-09-06 2013-07-17 华为技术有限公司 Method, apparatus and system for generating label forwarding table in ring topology
CN107645447B (en) * 2016-07-21 2022-04-22 中兴通讯股份有限公司 Label Switching Path (LSP) creation method and device
CN106534220A (en) * 2016-12-30 2017-03-22 北京奇虎科技有限公司 Bidirectional transmission method and device of streaming data
CN108880766A (en) * 2017-05-10 2018-11-23 中兴通讯股份有限公司 Signaling configuration method and device
CN113660028B (en) * 2021-08-16 2022-05-20 北京邮电大学 Bidirectional LSP processing method, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004955A1 (en) * 2002-07-03 2004-01-08 Lewis Haydn Marc Method and system for automatically establishing a return label switched path
CN1510874A (en) * 2002-12-26 2004-07-07 ��Ϊ�������޹�˾ Method for constructing bidirectional lable swap path in optical network
US20050007960A1 (en) * 2003-07-07 2005-01-13 Feihong Chen Methods and devices for creating bi-directional LSPs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004955A1 (en) * 2002-07-03 2004-01-08 Lewis Haydn Marc Method and system for automatically establishing a return label switched path
CN1510874A (en) * 2002-12-26 2004-07-07 ��Ϊ�������޹�˾ Method for constructing bidirectional lable swap path in optical network
US20050007960A1 (en) * 2003-07-07 2005-01-13 Feihong Chen Methods and devices for creating bi-directional LSPs

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9729439B2 (en) 2014-09-26 2017-08-08 128 Technology, Inc. Network packet flow controller
US9923833B2 (en) 2014-09-26 2018-03-20 128 Technology, Inc. Network packet flow controller
US10277506B2 (en) 2014-12-08 2019-04-30 128 Technology, Inc. Stateful load balancing in a stateless network
US9736184B2 (en) 2015-03-17 2017-08-15 128 Technology, Inc. Apparatus and method for using certificate data to route data
US10091247B2 (en) 2015-03-17 2018-10-02 128 Technology, Inc. Apparatus and method for using certificate data to route data
US9729682B2 (en) 2015-05-18 2017-08-08 128 Technology, Inc. Network device and method for processing a session using a packet signature
US10033843B2 (en) 2015-05-18 2018-07-24 128 Technology, Inc. Network device and method for processing a session using a packet signature
US10476583B2 (en) 2015-08-13 2019-11-12 Viasat, Inc. Managed time division duplexed baseband signaling
US9762485B2 (en) 2015-08-24 2017-09-12 128 Technology, Inc. Network packet flow controller with extended session management
US10432522B2 (en) 2015-08-24 2019-10-01 128 Technology, Inc. Network packet flow controller with extended session management
US9871748B2 (en) 2015-12-09 2018-01-16 128 Technology, Inc. Router with optimized statistical functionality
US9985883B2 (en) 2016-02-26 2018-05-29 128 Technology, Inc. Name-based routing system and method
US10205651B2 (en) 2016-05-13 2019-02-12 128 Technology, Inc. Apparatus and method of selecting next hops for a session
US10298616B2 (en) 2016-05-26 2019-05-21 128 Technology, Inc. Apparatus and method of securing network communications
US11075836B2 (en) 2016-05-31 2021-07-27 128 Technology, Inc. Reverse forwarding information base enforcement
US10841206B2 (en) 2016-05-31 2020-11-17 128 Technology, Inc. Flow modification including shared context
US10200264B2 (en) 2016-05-31 2019-02-05 128 Technology, Inc. Link status monitoring based on packet loss detection
US10091099B2 (en) 2016-05-31 2018-10-02 128 Technology, Inc. Session continuity in the presence of network address translation
US12040968B2 (en) 2016-05-31 2024-07-16 128 Technology, Inc. Flow modification including shared context
US10257061B2 (en) 2016-05-31 2019-04-09 128 Technology, Inc. Detecting source network address translation in a communication system
US11722405B2 (en) 2016-05-31 2023-08-08 128 Technology, Inc. Reverse forwarding information base enforcement
US9832072B1 (en) 2016-05-31 2017-11-28 128 Technology, Inc. Self-configuring computer network router
US10009282B2 (en) 2016-06-06 2018-06-26 128 Technology, Inc. Self-protecting computer network router with queue resource manager
US9985872B2 (en) 2016-10-03 2018-05-29 128 Technology, Inc. Router with bilateral TCP session monitoring
US10425511B2 (en) 2017-01-30 2019-09-24 128 Technology, Inc. Method and apparatus for managing routing disruptions in a computer network
US10833980B2 (en) 2017-03-07 2020-11-10 128 Technology, Inc. Router device using flow duplication
US11496390B2 (en) 2017-03-07 2022-11-08 128 Technology, Inc. Router device using flow duplication
US11799760B2 (en) 2017-03-07 2023-10-24 128 Technology, Inc. Router device using flow duplication
US10432519B2 (en) 2017-05-26 2019-10-01 128 Technology, Inc. Packet redirecting router
US11503116B1 (en) 2017-08-04 2022-11-15 128 Technology, Inc. Network neighborhoods for establishing communication relationships between communication interfaces in an administrative domain
US12021925B1 (en) 2017-08-04 2024-06-25 128 Technology, Inc. Network neighborhoods for establishing communication relationships between communication interfaces in an administrative domain
US11165863B1 (en) 2017-08-04 2021-11-02 128 Technology, Inc. Network neighborhoods for establishing communication relationships between communication interfaces in an administrative domain
US11652739B2 (en) 2018-02-15 2023-05-16 128 Technology, Inc. Service related routing method and apparatus
US11658902B2 (en) 2020-04-23 2023-05-23 Juniper Networks, Inc. Session monitoring using metrics of session establishment

Also Published As

Publication number Publication date
CN101155178A (en) 2008-04-02
CN101155178B (en) 2010-08-04

Similar Documents

Publication Publication Date Title
WO2008043230A1 (en) Method, device and system for establishing a bi-directional label switched path
US10432514B2 (en) Multiprotocol label switching traffic engineering tunnel establishing method and device
EP2878100B1 (en) System, method and apparatus for signaling and responding to ero expansion failure in inter domain te lsp
EP2190150B1 (en) A method, device and system of multi-protocol label exchange traffic engineering flow capacity switch
US9954773B2 (en) Label switching path establishment method, data forwarding method, and device
US7787457B2 (en) Label assigning method, label replacing method and label switching router
CN102291307B (en) An inter-VPN multicast implementation method, apparatus and network device
WO2009000180A1 (en) Method, apparatus and system for protecting head node of point to multipoint label switch path
WO2006007769A1 (en) Pseudo wire label reflector, edge apparatus, two-layer virtual private network, and the method to provide pseudo wire service
JP2006211661A (en) Vpn providing method and vpn providing device of mpls baseboard
JP5420547B2 (en) RSVP-TE enhancement for MPLS-FRR bandwidth optimization
EP2429135A1 (en) Method, device and system for establishing bidirectional point-to-multipoint label switched path
WO2011066810A1 (en) Method, device and system for processing service traffic based on pseudo wires
WO2010051699A1 (en) Method, system and network node for establishing label switching path
WO2008006268A1 (en) Method system and node device for realizing service protection in the automatically switched optical network
WO2007009347A1 (en) A method and apparatus for transmitting service stream on a virtual interchange system
Shiomoto et al. Procedures for dynamically signaled hierarchical label switched paths
EP2640014A1 (en) Method and network device for distributing multi-protocol label switching labels
EP2239956B1 (en) Method, apparatus and system for ip/optical convergence
WO2012041142A1 (en) Method and system for establishing and removing bidirectional point-to-multipoint label switched path
WO2007030988A1 (en) A method for implementing bi-directional traffic engineering tunnel and the system as well as the router thereof
WO2012075914A1 (en) Method and system for implementing point-to-multipoint label switched path protection
JP4160455B2 (en) Telecommunications network with high-speed detour function
WO2013000384A1 (en) Network configuration method, ring network system, and node
WO2013037319A1 (en) Bandwidth resource management method, device and system for label switched path

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07721271

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07721271

Country of ref document: EP

Kind code of ref document: A1