WO2012109860A1 - Method, device and system for establishing label switching path - Google Patents

Method, device and system for establishing label switching path Download PDF

Info

Publication number
WO2012109860A1
WO2012109860A1 PCT/CN2011/077801 CN2011077801W WO2012109860A1 WO 2012109860 A1 WO2012109860 A1 WO 2012109860A1 CN 2011077801 W CN2011077801 W CN 2011077801W WO 2012109860 A1 WO2012109860 A1 WO 2012109860A1
Authority
WO
WIPO (PCT)
Prior art keywords
optical network
source
data communication
communication device
network device
Prior art date
Application number
PCT/CN2011/077801
Other languages
French (fr)
Chinese (zh)
Inventor
郝卫国
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180001549.7A priority Critical patent/CN102318293B/en
Priority to PCT/CN2011/077801 priority patent/WO2012109860A1/en
Publication of WO2012109860A1 publication Critical patent/WO2012109860A1/en

Links

Classifications

    • 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/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]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for establishing a label switching path. Background technique
  • the source data communication device and the sink data communication device are interconnected by the optical network device, and the source data is unified.
  • the signaling device can initiate a label switching path to the sink data communication device through GMPLS signaling according to the service requirement.
  • the Overlay model which is also called the GMPLS UNI (User-Network Interface) model.
  • the RSVP (Resource Reservation Protocol) signaling packet can be sent in two ways: 1. The user statically configures the outgoing interface of the signaling packet. Generally, you need to specify the outbound interface address of the source data communication device. The inbound and outbound interfaces of the source optical network device, the inbound and outbound addresses of the sink optical network device, and the inbound interface address of the sink data communication device, and then sent according to the specified outbound interface. 2. Configure static routes, according to routes. The outgoing interface is sent.
  • the connected device address is dynamically discovered, the administrator of the source data communication device and the sink data communication device, and the administrator of the source optical network device and the sink optical network device may The administrator of the two devices may not know the address of the other device in advance. Therefore, sending the signaling packet by specifying the outgoing interface or configuring the static route is not good for the user experience.
  • the peer device changes. If the address is static, the local device needs to change the destination address of the static route.
  • the data communication device and the optical network device are often maintained by two departments. If the coordination between the two departments is difficult, the network operation and maintenance is increased. Difficulty. Summary of the invention
  • the present invention provides a method, device and system for establishing a label switching path. System.
  • a method for establishing a label switching path includes:
  • the source data communication device performs the LMP negotiation with the source optical network device, learns the address information of the source optical network device, and installs a route with the source optical network device according to the address information of the source optical network device;
  • a resource reservation protocol RSVP packet to the source optical network device according to the route between the source optical network device, where the RSVP packet carries bandwidth information and address information of the sink data communication device, so that the The source optical network device calculates a label switching path to the sink data communication device according to the bandwidth information and the address information of the sink data communication device, thereby establishing a connection between the source data communication device and the sink data communication device.
  • the label switching path is
  • a source data communication device comprising:
  • the installation module is configured to perform LMP negotiation with the source optical network device, learn address information of the source optical network device, and install a route with the source optical network device according to the address information of the source optical network device. ;
  • a sending module configured to send a resource reservation protocol RSVP packet to the source optical network device according to the routing indication with the source optical network device, where the RSVP packet carries bandwidth information and a sink data communication device Address information, causing the source optical network device to calculate a label switching path to the sink data communication device according to the bandwidth information and address information of the sink data communication device, thereby the source data communication device and the The label switching path is established between the sink data communication devices.
  • a source optical network device comprising:
  • An installation module configured to perform link management protocol LMP negotiation with the source data communication device, learn address information of the source data communication device, and install and the source data communication device according to the address information of the source data communication device. Routing between
  • a receiving module configured to receive a resource reservation protocol RSVP packet sent by the source data communication device, where the RSVP packet is sent by the source data communication device according to a route between the source optical network device and the source optical network device
  • the source optical network device, and the RSVP packet carries bandwidth information and address information of the sink data communication device
  • a calculation module configured to calculate, according to the bandwidth information and address information of the sink data communication device, a label switching path to the sink data communication device, thereby between the source data communication device and the sink data communication device Establishing the label switching path.
  • a system for establishing a label switched path comprising: the source data communication device as described above and the source optical network device as described above.
  • the source/sink data communication device and the source/sink optical network device learn the address of the peer device through the LMP protocol, and install the host route to the peer device, thereby establishing a label switching path.
  • the source data communication device searches for the outbound interface address of the corresponding source optical network device according to the host route.
  • the outbound interface sends the signaling packet to the source optical network device, so that the source optical network device can automatically calculate the path to the sink data communication device, thereby greatly reducing the configuration of the network operation and maintenance personnel and facilitating network deployment.
  • FIG. 1 is a flowchart of a method for establishing a label switching path according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for establishing a label switching path according to still another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a source data communication device according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another source data communication device according to another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a source optical network device according to another embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a system for establishing a label switching path according to another embodiment of the present invention, and a specific implementation manner.
  • an embodiment of the present invention provides a method for establishing a label switching path, including:
  • the source data communication device performs the link management protocol LMP negotiation with the source optical network device, learns the address information of the source optical network device, and installs and describes according to the learned address information of the source optical network device. Routing between source optical network devices;
  • RSVP packet where the RSVP packet carries the bandwidth information and the address information of the sink data communication device, so that the source optical network device calculates the arrival of the sink data communication according to the bandwidth information and the address information of the sink data communication device.
  • a label switched path of the device to establish the label switched path between the source data communication device and the sink data communication device.
  • the source data communication device may establish a route with a source optical network device, or may establish a reason with multiple source optical network devices, which is not specifically limited in this embodiment. .
  • the source data communication device performs the link management protocol LMP negotiation with the source optical network device to learn the address information of the link management protocol source optical network device, including:
  • the source data communication device establishes a control channel with the source optical network device
  • the first configuration packet carries the source optical network.
  • the next hop address of the device is used to indicate an inbound interface address on the source optical network device of the control channel established between the source data communication device and the source optical network device .
  • the method for establishing a label switching path may further include:
  • the source data communication device sends a second configuration packet to the source optical network device by using the control channel established by the source optical network device, where the second configuration packet carries the source data communication device The address information, so that the source optical network device learns the address information of the source data communication device.
  • the method for establishing a label switching path may further include:
  • the source optical network device After receiving the address information of the source data communication device, the source optical network device broadcasts the address information of the source data communication device to the optical network where the source optical network device is located, so that other optical networks in the optical network are enabled.
  • the device may also know the address information of the source data communication device. For example, for the source optical network device or the sink optical network device, the address information and port address and bandwidth information learned by the LMP can be imported into the internal routing protocol of the optical network, and spread to the entire optical network through the internal routing protocol of the optical network.
  • the optical network device in the optical network can learn the route to the data communication device and the connected data link bandwidth information.
  • the second configuration packet carries the next hop address of the source data communication device, and the next hop address of the source data communication device is used as the source of the indication.
  • the source/sink data communication device and the source/sink optical network device learn the address of the peer device through the LMP protocol, and install the host route to the peer device, thereby establishing a label switching path.
  • the source data communication device searches for the outbound interface address of the corresponding source optical network device according to the host route, and sends the signaling packet to the source optical network device through the outbound interface, so that the source optical network device can automatically calculate the arrival address.
  • the path of the data communication device greatly reduces the configuration work of the network operation and maintenance personnel and facilitates network deployment. Referring to FIG. 2, an embodiment of the present invention provides a method for establishing a label switching path, including:
  • the source data communication device and the source optical network device perform the LMP protocol negotiation through the GMPLS control channel to obtain the address information of the other party, and the source data communication device installs the source light according to the address information of the source optical network device. Routing between network devices.
  • the source node and the destination node are both data communication devices, and the intermediate nodes are optical network devices.
  • the optical network device adjacent to the source data communication device (hereinafter referred to as source C) is called A source optical network device (hereinafter referred to as source N), which is an optical network device adjacent to a sink data communication device (hereinafter referred to as sink C) is called a sink optical network.
  • Equipment (hereinafter referred to as sink N).
  • sink N the transmission network model provided in FIG.
  • Optical transmission network 3 includes a source C100, a source N200, an optical transmission network, a sink N400, and a sink C500, where a label switching path needs to be established between the source C100 and the sink C500, and between the source N200 and the sink N400.
  • Optical transmission network Optical transmission network.
  • a host route to the other party is installed between the source C100 and the source N200, and between the sink N400 and the sink C500, for example, the source data communication device is installed to reach the source optical network device.
  • the source optical network device installs a route to the source data communication device
  • the sink data communication device installs a route to the sink optical network device
  • the sink optical network device installs a route to the sink data communication device.
  • the source N200 and the sink N400 may further include other optical network devices in the optical transmission network, and the source data communication device may also be connected to multiple source optical network devices, and the source data communication device may select different source lights.
  • the network device device establishes a label switching path.
  • a link management protocol LMP (Link) can be performed between the source data communication device and the source optical network device.
  • CC the GMPLS control channel
  • LSRID Label Switching Router Identity
  • CC Control channel
  • CC the GMPLS control channel
  • the inband channel refers to the control packet
  • the transmitted data packet is in the same physical channel
  • the outband channel refers to the control packet.
  • the data packet is in different physical channels. For example, the data packet is sent on Ethernet interface 1, and the control packet is sent on Ethernet interface 2.
  • the LMP function of the link management protocol specifically includes: 1. Automatic discovery and maintenance of the control channel; 2. Verification of data link connectivity; 3.
  • mapping relationship is used to verify and synchronize TE parameters of nodes at both ends of the TE link, such as bandwidth and interface switching capability, and the relationship between traffic engineering links and data links. 4. Data link fault management capability.
  • the source data communication device and the source optical network device first establish a control channel, a source data communication device, and a source optical network device through the LMP protocol.
  • the source optical network device sends config (configuration) packets to each other through the control channel.
  • the config packet carries the LSRID (Label Switching Router Identity) of the local device.
  • the config packet exchange can learn the LSRID address of the peer.
  • the source C receives the first config packet sent by the at least one source optical network device by using the control channel, where the first config packet carries the address information of the source optical network device, and learns the source light according to the first config packet. The address information of the network device.
  • the source data communication device may also send the second config message to the source optical network device by using the CC, where the second config message carries the address information of the source data communication device, so that the source optical network device learns the source data. Address information of the communication device.
  • the sink N and the sink C also perform the LMP negotiation.
  • the specific process is the same as the negotiation process of the source C and the source N.
  • the source data communication device and the source optical network device automatically trigger the installation of the host route to the peer LSRID, and the outbound interface of the route is the control channel interface.
  • the next hop address is the peer address of the control channel interface, which is the received config packet.
  • Source IP address where source C is the inbound interface address of source N, and source N is the outbound interface address of source C.
  • the next hop address of the source N is carried in the first config packet, and the next hop address of the source N is used to indicate the source N of the CC between the source C and the source source N.
  • the inbound interface address when the source C is an Ethernet interface, the second config packet carries the next hop address of the source C, and the next hop address of the source C is used to indicate the source C of the CC between the source C and the source N. interface address.
  • the source N and the sink N not only install the host route, but also introduce the address to the 0SPF.
  • the peer LSRID and TELINK address and bandwidth information learned by the LMP can be imported into the optical network internal routing protocol 0SPF-TE, and spread to the entire optical network through the 0SPF-TE message.
  • Each optical network device can learn the route to the data communication device and the connected data link bandwidth information.
  • the source data communication device sends an RSVP message to the source optical network device according to the route between the source optical network device and the source optical network device.
  • the source data communication device after receiving the instruction to establish the label switching path, sends an RSVP message to the source optical network device, where the RSVP message carries the bandwidth information of the data link and the address information of the sink data communication device.
  • the RSVP message is a PATH message.
  • multiple control channels may be established between the source data communication device and the source optical network device, and when the host route is installed, if the LMP protocol will be used for all control channels If the route priority is set to the same, the route is in load balancing mode. If the route priority of a CC channel is increased, the route is in active/standby mode. If a load balancing route is formed, the RSVP message will be sent in a load-sharing manner on multiple control channels. If an active/standby route is formed, the RSVP message will be sent to a certain control channel.
  • the source C when the source C creates a GMPLS UNI LSP, it only needs to specify the address and bandwidth information of the sink data communication device that creates the UNI LSP to the source C.
  • the bandwidth information is the bandwidth information of the label forwarding path that needs to be established, and does not need to be specified. path. Because the source C device can know which optical network devices are connected by the LMP protocol, for example, the LSRID addresses of the optical network devices connected to the source C device are LSRID1, LSRID2, ... until LSRIDM, where M represents the Mth source optical network device. Therefore, source C can actively connect to source N according to the address of the optical network device that it knows.
  • source C can be preceded by high priority.
  • the control channel sends an RSVP message.
  • source C can The RSVP message is sent one by one on multiple control channels.
  • the source C and the source optical network device LSRID LSRID2 are in a load sharing manner, and the source C device first attempts to send the source optical network device LSRID1 after obtaining the instruction to create the label switching path.
  • the RSVP message for example, the source C is based on the address of the source optical network device LSRID1, and if the outbound interface of the route is the control channel CC1, the local address of the CC1 (the outbound interface address of the CC on the source C) and the remote end are used.
  • the address (the address of the inbound interface of the CC on the source N1) is filled in the display path object ERO (Explicit Route Object) in the PATH message, and then the packet is sent to the peer source optical network device LSRID1 for creating the UNI LSP.
  • the source optical network communication device calculates a label switching path to the sink data communication device according to the bandwidth information carried in the RSVP message and the address information of the sink data communication device, thereby establishing label switching between the source data communication device and the sink data communication device. path.
  • the source N after receiving the PATH message sent by the source C, the source N automatically calculates the label switching path inside the optical network by using the constrained shortest path first CSPF (Constrained Shortest Path First) protocol according to the sink C address and the bandwidth information.
  • the intermediate node is processed by carrying the display path information in the signaling message to establish a label switching path between the source C and the sink C.
  • CSPF Constrained Shortest Path First
  • the source N200 calculates a path that traverses the optical network to the sink C500, the source N200 firstly according to the inbound interface address of the CC1 carried by the ER0 in the PATH message sent by the source C100 on the source N200. The corresponding inbound interface is found, the bandwidth resource is reserved on the inbound interface, and the label is allocated on the local outbound interface to establish a forward LSP cross-connection entry, and the ER0 of the PATH message is replaced with the path information calculated by the local CSPF.
  • the address (the outgoing interface address of the source N200) and the remote address (the inbound interface address of the downstream optical network device connected to the source N200) are filled in the ER0, and then the PATH message is sent to the downstream optical network device, the downstream optical network.
  • the device reserves bandwidth on the inbound interface according to the ER0 information, allocates a label on the outbound interface, and establishes a forward LSP cross-connection entry to continue the PATH message to the calculated path.
  • the intermediate optical network device in the optical transmission network and the sink N400 receive the PATH message, and the intermediate optical network is repeated.
  • the sink N400 finally sends the PATH message to the sink C500, and the sink C500 reserves the bandwidth resource on the inbound interface, and establishes a forward connection entry of the local LSP, thereby creating a slave C500 to the source C100 that traverses the optical transport network. Forward LSP.
  • the sink C500 responds to the RESV message to the sink N400, and reserves bandwidth resources on the inbound interface of the sink C500, allocates labels on the outbound interface, and establishes a reverse LSP connection entry.
  • the bandwidth resource is reserved on the inbound interface, the label is allocated on the outbound interface, the reverse LSP connection entry is established, and the RESV message is continuously sent to the upstream optical network device until the last RESV message reaches the source C100, thereby creating a traversing optical transmission network.
  • Reverse LSP from source C100 to sink C500.
  • the source optical network device LSRID1 if the source optical network device LSRID1 does not reach the path of the sink C500, the source optical network device LSRID1 responds to the PATH ERR message to the source C100, and the source C100 can After the PATH message is sent to other source optical network devices, the other source optical network devices that have received the PATH message perform steps 202 and 203 again, and details are not described herein again.
  • the address of the source optical network device may be increased in the display path, and the time used by the source C100 device for attempting to establish is reduced. For example, if the user knows that the source optical network device N200 needs to be used to create a label switching path, the address information of the source optical network device N200 can be added to the display path, so that the source C100 can directly according to the address information of the source N200.
  • the source optical network device N200 establishes a connection, thereby preventing the source C100 from attempting to establish a connection one by one in the route installed with the plurality of source optical network devices.
  • the CC channel may be in-band or out-of-band, and the in-band CC channel is abstracted into an interface.
  • the outgoing interface of the route may be an in-band or out-of-band interface.
  • the specific process of establishing an LSP is a way to establish an LSP, and all systems are not required to be.
  • the forward LSP outgoing label and the reverse LSP incoming label may be the same; the forward LSP incoming label and the reverse LSP outgoing label may be the same. This embodiment is not specifically limited.
  • the method of the present invention provides the following advantages:
  • the source/sink data communication device and the source/sink optical network device learn the address of the peer device through the LMP protocol, and install the host route to the peer device, thereby establishing a label switching path.
  • the RSVP source data communication device searches for the outbound interface address information of the corresponding source optical network device according to the host route, and sends the signaling packet to the source optical network device through the outbound interface.
  • the source optical network device and the sink optical network device device need to introduce the address of the other party learned through the LMP protocol into a routing protocol such as its own SPP or intermediate system ISIS (intermidiate system intermediate system), and flood the optical transmission network.
  • the source optical network device receives the RSVP message sent by the source data communication device, and can automatically calculate the path to the sink data communication device according to the CSPF algorithm.
  • a source data communication device 100 including: an installation module 100a and a sending module 100b.
  • the installation module 100a is configured to perform a link management protocol LMP negotiation with the source optical network device, learn address information of the source optical network device, and install and the source optical network according to the address information of the source optical network device. Routing between devices;
  • the sending module 100b is configured to send, according to a route with the source optical network device, a resource reservation protocol RSVP packet, where the RSVP packet carries bandwidth information and a sink data communication device.
  • the address information causes the source optical network device to calculate a label switching path to the sink data communication device according to the bandwidth information and the address information of the sink data communication device.
  • the installation module 100a specifically includes:
  • the receiving unit 100a2 is configured to receive, by using a control channel established by the source optical network device, a first configuration packet sent by the source optical network device, where the first configuration packet carries address information of the source optical network device;
  • the learning unit 100a3 is configured to learn address information of the source optical network device according to the first configuration message.
  • the installation module 100a may further include: a sending unit 100a4, configured to send, by using a control channel, a second configuration packet to the source optical network device in a second configuration packet, by using the establishing unit 100a and the receiving unit 100a2. Carrying the address information of the source data communication device, so that the source optical network device learns the address information of the source data communication device.
  • a source optical network device 200 including: an installation module 200a, a receiving module 200b, and a computing module 200c.
  • the installation module 200a is configured to perform link management protocol LMP negotiation with the source data communication device, learn address information of the source data communication device, and install and communicate with the source data according to the address information of the source data communication device. Routing between devices;
  • the receiving module 200b is configured to receive a resource reservation protocol RSVP packet sent by the source data communication device, where the RSVP packet is sent by the source data communication device according to a route between the source optical network device and the source optical network device.
  • the source optical network device, and the RSVP packet carries bandwidth information and address information of the sink data communication device;
  • the calculating module 200c is configured to calculate, according to the bandwidth information and the address information of the sink data communication device, a label switching path to the sink data communication device, to establish between the source data communication device and the sink data communication device Label exchange path.
  • the installation module 200a may specifically include:
  • a receiving unit configured to receive, by using a control channel established by the source data communication device, a second configuration packet sent by the source data communication device, where the second configuration packet carries address information of the data communication device ;
  • a learning unit configured to learn address information of the source data communication device according to the second configuration message.
  • the installation module 200a further includes:
  • a sending unit configured to send, by using the control channel, a first configuration packet to the source data communication device, where the first configuration packet carries address information of the source optical network device, so that the source data communication device Learning the address information of the source optical network device.
  • the source optical network device further includes: a broadcast module, configured to: after the receiving unit receives the address information of the source data communication device, broadcast the address information of the source data communication device to a device in an optical network where the source optical network device is located .
  • a broadcast module configured to: after the receiving unit receives the address information of the source data communication device, broadcast the address information of the source data communication device to a device in an optical network where the source optical network device is located .
  • source/sink data communication device and source/sink optical network device pass
  • the LMP protocol learns the address of the other party and installs the host route to the other device.
  • the corresponding outgoing interface can be found according to the host route, and the RSVP message is sent to the other party through the outbound interface.
  • the source optical network device can automatically calculate the path to the sink data communication device, thereby greatly reducing the configuration work of the network operation and maintenance personnel and facilitating network deployment.
  • an embodiment of the present invention further provides a system for establishing a label switching path, including: the source data communication device 100 as described above and the source optical network device 200 as described above.
  • source/sink data communication device and source/sink optical network device pass
  • the LMP protocol learns the address of the other party and installs the host route to the other device.
  • the source data communication device searches for the outbound interface address information of the corresponding source optical network device according to the host route.
  • the RSVP message is sent to the source optical network device, so that the source optical network device can automatically calculate the path to the sink data communication device, thereby greatly reducing the configuration of the network operation and maintenance personnel and facilitating network deployment.
  • the source data communication device, the source optical network device, and the system for establishing the label switching path provided by this embodiment are the same as the method embodiment. For details, refer to the method embodiment, and details are not described herein again.
  • Embodiments of the invention may be implemented in software, and the corresponding software program may be stored in a readable storage medium, such as a hard disk, a cache, or an optical disk of a computer.
  • a readable storage medium such as a hard disk, a cache, or an optical disk of a computer.

Landscapes

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

Abstract

An embodiment of the present invention relates to the technical field of communication. Provided are a method, device and system for establishing a label switching path, the method comprises: a source data communication device conducting an LMP negotiation with a source optical network device to learn the address information of the source optical network device, and installing a route between the source data communication device and the source optical network device according to the address information of the source optical network device; sending a Resource Reservation Protocol (RSVP) packet to the source optical network device according to the route between the source data communication device and the source optical network device, the RSVP packet carries bandwidth information and address information of a target data communication device to enable the source optical network device to calculate a label switching path to the target data communication device according to the bandwidth information and the address information of the target data communication device, thereby establishing a label switching path between the source data communication device and the target data communication device.

Description

建立标签交换路径的方法、 设备和系统  Method, device and system for establishing label switching path
技术领域 Technical field
本发明涉及通信技术领域, 特别涉及一种建立标签交换路径的方法、 设备和系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a method, device, and system for establishing a label switching path. Background technique
随着 3G ( 3rd-Generation, 第说三代移动通信)、 分组网络、 带宽数据业务的不断扩展, 一种能够自动完成标签交换路径建立的新型网络技术 -GMPLS (General ized Multi-Protocol Label Switching, 通用多协议标签交换) 应运而生。 在 GMPLS的网络中, 包括数据通信设 备和光网络设备, 源数据通信设备与宿数据通信设备通过光网络设备进行互联, 源数据通 书  With the continuous expansion of 3G (3rd-Generation, 3rd generation mobile communication), packet network, and bandwidth data services, a new network technology that can automatically complete the label switching path establishment-GMPLS (Generalized Multi-Protocol Label Switching) Multi-protocol label switching) came into being. In the GMPLS network, including the data communication device and the optical network device, the source data communication device and the sink data communication device are interconnected by the optical network device, and the source data is unified.
信设备可以根据业务需要, 通过 GMPLS 信令发起创建一条到达宿数据通信设备的标签交换 路径。 The signaling device can initiate a label switching path to the sink data communication device through GMPLS signaling according to the service requirement.
目前, GMPLS网络中数据通信和光网络设备互通的其中一种模型为 Overlay (覆盖) 模 型, Overlay模型又称为 GMPLS UNI (User-Network Interface, 用户网络接口) 模型。 在 Overlay模型下, RSVP ( Resource Reservation Protocol , 资源预留协议) 信令报文有两 种发送方式: 1、 用户静态配置信令报文出接口, 一般需要指定源数据通信设备的出接口地 址、 源光网络设备入接口和出接口地址、 宿光网络设备的入接口和出接口地址、 宿数据通 信设备的入接口地址, 然后根据指定的出接口发送; 2、 通过配置静态路由, 根据路由的出 接口进行发送。  Currently, one of the models for interworking between data communication and optical network equipment in a GMPLS network is the Overlay (overlay) model, which is also called the GMPLS UNI (User-Network Interface) model. In the Overlay model, the RSVP (Resource Reservation Protocol) signaling packet can be sent in two ways: 1. The user statically configures the outgoing interface of the signaling packet. Generally, you need to specify the outbound interface address of the source data communication device. The inbound and outbound interfaces of the source optical network device, the inbound and outbound addresses of the sink optical network device, and the inbound interface address of the sink data communication device, and then sent according to the specified outbound interface. 2. Configure static routes, according to routes. The outgoing interface is sent.
对于动态 LMP ( Link Management Protocol , 链路管理协议), 相连的设备地址是动态 发现的, 源数据通信设备和宿数据通信设备的管理员, 与源光网络设备和宿光网络设备的 管理员可能是不同的, 这样双方设备的管理员事先可能不知道对方的地址, 因此通过指定 出接口或配置静态路由的方式来发送信令报文对用户体验都不好; 另外, 若对端设备改变 了地址, 如果是静态配置则需要本端设备也改变静态路由的目的地址, 由于数据通信设备 和光网设备往往属于两个部门维护, 如果两个部门间的协调比较困难, 则加大了网络运维 的难度。 发明内容  For dynamic LMP (Link Management Protocol), the connected device address is dynamically discovered, the administrator of the source data communication device and the sink data communication device, and the administrator of the source optical network device and the sink optical network device may The administrator of the two devices may not know the address of the other device in advance. Therefore, sending the signaling packet by specifying the outgoing interface or configuring the static route is not good for the user experience. In addition, if the peer device changes. If the address is static, the local device needs to change the destination address of the static route. The data communication device and the optical network device are often maintained by two departments. If the coordination between the two departments is difficult, the network operation and maintenance is increased. Difficulty. Summary of the invention
为了解决现有技术中的问题, 本发明提供了一种建立标签交换路径的方法、 设备和系 统。 In order to solve the problems in the prior art, the present invention provides a method, device and system for establishing a label switching path. System.
一方面, 提供了一种建立标签交换路径的方法, 所述方法包括:  In one aspect, a method for establishing a label switching path is provided, and the method includes:
源数据通信设备与源光网络设备进行 LMP协商, 学习到所述源光网络设备的地址信息, 并根据所述源光网络设备的地址信息, 安装与所述源光网络设备之间的路由;  The source data communication device performs the LMP negotiation with the source optical network device, learns the address information of the source optical network device, and installs a route with the source optical network device according to the address information of the source optical network device;
根据与所述源光网络设备之间的路由, 向所述源光网络设备发送资源预留协议 RSVP报 文, 所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息, 使所述源光网络设备根 据所述带宽信息和所述宿数据通信设备的地址信息计算出到达所述宿数据通信设备的标签 交换路径, 从而在所述源数据通信设备和所述宿数据通信设备间建立所述标签交换路径。  Transmitting a resource reservation protocol RSVP packet to the source optical network device according to the route between the source optical network device, where the RSVP packet carries bandwidth information and address information of the sink data communication device, so that the The source optical network device calculates a label switching path to the sink data communication device according to the bandwidth information and the address information of the sink data communication device, thereby establishing a connection between the source data communication device and the sink data communication device. The label switching path.
另一方面, 提供了一种源数据通信设备, 所述设备包括:  In another aspect, a source data communication device is provided, the device comprising:
安装模块, 用于与源光网络设备进行 LMP协商, 学习到所述源光网络设备的地址信息, 并根据所述源光网络设备的地址信息, 安装与所述源光网络设备之间的路由;  The installation module is configured to perform LMP negotiation with the source optical network device, learn address information of the source optical network device, and install a route with the source optical network device according to the address information of the source optical network device. ;
发送模块, 用于根据与所述源光网络设备之间的路由指示, 向所述源光网络设备发送 资源预留协议 RSVP报文, 所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息, 使所述源光网络设备根据所述带宽信息和所述宿数据通信设备的地址信息计算出到达所述 宿数据通信设备的标签交换路径, 从而在所述源数据通信设备和所述宿数据通信设备间建 立所述标签交换路径。  a sending module, configured to send a resource reservation protocol RSVP packet to the source optical network device according to the routing indication with the source optical network device, where the RSVP packet carries bandwidth information and a sink data communication device Address information, causing the source optical network device to calculate a label switching path to the sink data communication device according to the bandwidth information and address information of the sink data communication device, thereby the source data communication device and the The label switching path is established between the sink data communication devices.
另一方面, 提供了一种源光网络设备, 所述设备包括:  In another aspect, a source optical network device is provided, the device comprising:
安装模块, 用于与源数据通信设备进行链路管理协议 LMP协商, 学习到所述源数据通 信设备的地址信息, 并根据所述源数据通信设备的地址信息, 安装与所述源数据通信设备 之间的路由;  An installation module, configured to perform link management protocol LMP negotiation with the source data communication device, learn address information of the source data communication device, and install and the source data communication device according to the address information of the source data communication device. Routing between
接收模块, 用于接收所述源数据通信设备发送的资源预留协议 RSVP报文, 所述 RSVP 报文是所述源数据通信设备根据与所述源光网设备之间的路由发送给所述源光网络设备 的, 且所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息;  a receiving module, configured to receive a resource reservation protocol RSVP packet sent by the source data communication device, where the RSVP packet is sent by the source data communication device according to a route between the source optical network device and the source optical network device The source optical network device, and the RSVP packet carries bandwidth information and address information of the sink data communication device;
计算模块, 用于根据所述带宽信息和所述宿数据通信设备的地址信息计算出到达所述 宿数据通信设备的标签交换路径, 从而在所述源数据通信设备和所述宿数据通信设备间建 立所述标签交换路径。  a calculation module, configured to calculate, according to the bandwidth information and address information of the sink data communication device, a label switching path to the sink data communication device, thereby between the source data communication device and the sink data communication device Establishing the label switching path.
另一方面, 还提供了一种建立标签交换路径的系统, 所述系统包括: 如上所述的源数 据通信设备和如上所述的源光网络设备。  In another aspect, a system for establishing a label switched path is provided, the system comprising: the source data communication device as described above and the source optical network device as described above.
本发明实施例提供的技术方案的有益效果是: 源 /宿数据通信设备和源 /宿光网络设备 通过 LMP协议学习对端设备地址, 安装到达对端设备的主机路由, 从而在建立标签交换路 径的时候, 源数据通信设备根据该主机路由查找到对应的源光网络设备的出接口地址, 通 过该出接口将信令报文发送给源光网络设备, 使源光网络设备可以自动计算到达宿数据通 信通设备路径, 从而大大减少网络运维人员的配置工作, 方便网络部署。 附图说明 The technical solution provided by the embodiment of the present invention has the following beneficial effects: the source/sink data communication device and the source/sink optical network device learn the address of the peer device through the LMP protocol, and install the host route to the peer device, thereby establishing a label switching path. The source data communication device searches for the outbound interface address of the corresponding source optical network device according to the host route. The outbound interface sends the signaling packet to the source optical network device, so that the source optical network device can automatically calculate the path to the sink data communication device, thereby greatly reducing the configuration of the network operation and maintenance personnel and facilitating network deployment. DRAWINGS
图 1是本发明实施例提供的一种建立标签交换路径的方法的流程;  1 is a flowchart of a method for establishing a label switching path according to an embodiment of the present invention;
图 2是本发明的又一实施例提供的一种建立标签交换路径的方法的流程;  2 is a flowchart of a method for establishing a label switching path according to still another embodiment of the present invention;
图 3是本发明的又- 实施例提供的一种数据传输网络模型;  3 is a data transmission network model provided by the embodiment of the present invention;
图 4是本发明的另- 实施例提供的一种源数据通信设备的结构示意图;  4 is a schematic structural diagram of a source data communication device according to another embodiment of the present invention;
图 5是本发明的另- 实施例提供的另一种源数据通信设备的结构示意图;  FIG. 5 is a schematic structural diagram of another source data communication device according to another embodiment of the present invention; FIG.
图 6是本发明的又- 实施例提供的一种源光网络设备的结构示意图;  6 is a schematic structural diagram of a source optical network device according to another embodiment of the present invention;
图 7是本发明的另- 实施例提供的一种建立标签交换路径的系统的示意图, 具体实施方式  7 is a schematic diagram of a system for establishing a label switching path according to another embodiment of the present invention, and a specific implementation manner.
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
参见图 1, 本发明实施例提供了一种建立标签交换路径的方法, 包括:  Referring to FIG. 1, an embodiment of the present invention provides a method for establishing a label switching path, including:
101: 源数据通信设备与源光网络设备进行链路管理协议 LMP协商, 学习到所述源光网 络设备的地址信息, 并根据学习到的所述源光网络设备的地址信息, 安装与所述源光网络 设备之间的路由;  The source data communication device performs the link management protocol LMP negotiation with the source optical network device, learns the address information of the source optical network device, and installs and describes according to the learned address information of the source optical network device. Routing between source optical network devices;
102: 根据与所述源光网络设备之间的路由, 向所述源光网络设备发送资源预留协议 102: Send a resource reservation protocol to the source optical network device according to a route between the source optical network device and the source optical network device.
RSVP报文, 所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息, 使所述源光网络 设备根据所述带宽信息和宿数据通信设备的地址信息计算出到达所述宿数据通信设备的标 签交换路径, 从而在源数据通信设备和宿数据通信设备间建立所述标签交换路径。 An RSVP packet, where the RSVP packet carries the bandwidth information and the address information of the sink data communication device, so that the source optical network device calculates the arrival of the sink data communication according to the bandwidth information and the address information of the sink data communication device. A label switched path of the device to establish the label switched path between the source data communication device and the sink data communication device.
本实施例提供的所述建立标签交换路径的方法中, 源数据通信设备可以与一个源光网 络设备建立路由, 也可以与多个源光网络设备建立理由, 本实施例对此不做具体限定。  In the method for establishing a label switching path provided by this embodiment, the source data communication device may establish a route with a source optical network device, or may establish a reason with multiple source optical network devices, which is not specifically limited in this embodiment. .
其中, 源数据通信设备与所述源光网络设备进行链路管理协议 LMP协商, 学习到链路 管理协议源光网络设备的地址信息, 包括:  The source data communication device performs the link management protocol LMP negotiation with the source optical network device to learn the address information of the link management protocol source optical network device, including:
源数据通信设备与所述源光网络设备建立控制通道;  The source data communication device establishes a control channel with the source optical network device;
通过所述控制通道接收所述源光网络设备发送的第一配置报文, 所述第一配置报文中 携带所述源光网络设备的地址信息;  Receiving, by the control channel, the first configuration packet sent by the source optical network device, where the first configuration packet carries address information of the source optical network device;
根据所述第一配置报文学习到所述源光网络设备的地址信息。 进一步地,本实施例提供的所述建立标签交换路径的方法中, 当所述控制通道接口为广 /^型接口, 例如以太接口时, 所述第一配置报文中携带所述源光网络设备的下一跳地址, 所述源光网络设备的下一跳地址用于指示所述源数据通信设备与所述源光网络设备之间建 立的控制通道的源光网络设备上的入接口地址。 And learning address information of the source optical network device according to the first configuration packet. Further, in the method for establishing a label switching path provided by the embodiment, when the control channel interface is a wide/^ type interface, for example, an Ethernet interface, the first configuration packet carries the source optical network. The next hop address of the device, the next hop address of the source optical network device is used to indicate an inbound interface address on the source optical network device of the control channel established between the source data communication device and the source optical network device .
进一步地, 本实施例提供的所述建立标签交换路径的方法还可以包括:  Further, the method for establishing a label switching path provided by the embodiment may further include:
所述源数据通信设备通过与所述源光网络设备建立的所述控制通道, 向所述源光网络 设备发送第二配置报文, 所述第二配置报文中携带所述源数据通信设备的地址信息, 从而 使所述源光网络设备学习到所述源数据通信设备的地址信息。  The source data communication device sends a second configuration packet to the source optical network device by using the control channel established by the source optical network device, where the second configuration packet carries the source data communication device The address information, so that the source optical network device learns the address information of the source data communication device.
进一步地, 本实施例提供的所述建立标签交换路径的方法还可以包括:  Further, the method for establishing a label switching path provided by the embodiment may further include:
所述源光网络设备接收到所述源数据通信设备的地址信息后, 将所述源数据通信设备 的地址信息广播到所述源光网络设备所在的光网络, 使光网络中的其他光网络设备也可以 获知所述源数据通信设备的地址信息。 例如, 对于源光网络设备或宿光网络设备, 通过 LMP 学习到的对方的地址信息以及端口地址、 带宽信息可以引入到光网内部路由协议, 通过光 网内部路由协议扩散到整个光网, 这样光网络中的光网络设备就可以学习到到达数据通信 设备的路由以及相连的数据链路带宽信息。  After receiving the address information of the source data communication device, the source optical network device broadcasts the address information of the source data communication device to the optical network where the source optical network device is located, so that other optical networks in the optical network are enabled. The device may also know the address information of the source data communication device. For example, for the source optical network device or the sink optical network device, the address information and port address and bandwidth information learned by the LMP can be imported into the internal routing protocol of the optical network, and spread to the entire optical network through the internal routing protocol of the optical network. The optical network device in the optical network can learn the route to the data communication device and the connected data link bandwidth information.
其中, 当所述控制通道接口为广播类型接口, 例如以太接口时, 第二配置报文携带源 数据通信设备的下一跳地址, 所述源数据通信设备的下一跳地址用于指示的源数据通信设 备与的源光网设备之间控制通道的源数据通信设备的出接口地址。  The second configuration packet carries the next hop address of the source data communication device, and the next hop address of the source data communication device is used as the source of the indication. The outbound interface address of the source data communication device of the control channel between the data communication device and the source optical network device.
本发明实施例提供的技术方案的有益效果是: 源 /宿数据通信设备和源 /宿光网设备通 过 LMP协议学习对端设备地址, 安装到达对端设备的主机路由, 从而在建立标签交换路径 的时候, 源数据通信设备根据该主机路由查找到对应的源光网络设备的出接口地址, 通过 该出接口将信令报文发送给源光网络设备, 使源光网络设备可以自动计算到达宿数据通信 设备的路径, 从而大大减少网络运维人员的配置工作, 方便网络部署。 参见图 2, 本发明实施例提供了一种建立标签交换路径的方法, 包括:  The technical solution provided by the embodiment of the present invention has the following beneficial effects: the source/sink data communication device and the source/sink optical network device learn the address of the peer device through the LMP protocol, and install the host route to the peer device, thereby establishing a label switching path. The source data communication device searches for the outbound interface address of the corresponding source optical network device according to the host route, and sends the signaling packet to the source optical network device through the outbound interface, so that the source optical network device can automatically calculate the arrival address. The path of the data communication device greatly reduces the configuration work of the network operation and maintenance personnel and facilitates network deployment. Referring to FIG. 2, an embodiment of the present invention provides a method for establishing a label switching path, including:
201: 源数据通信设备和源光网络设备通过 GMPLS控制通道进行 LMP协议协商, 分别获 取对方的地址信息, 所述源数据通信设备根据所述源光网络设备的地址信息, 安装与所述 源光网络设备之间的路由。  The source data communication device and the source optical network device perform the LMP protocol negotiation through the GMPLS control channel to obtain the address information of the other party, and the source data communication device installs the source light according to the address information of the source optical network device. Routing between network devices.
本实施例中, 源节点和目的节点均为数据通信设备, 中间节点均为光网络设备, 在整 个传输网络中, 将与源数据通信设备(以下简称源 C)相邻的光网络设备称作源光网络设备 (以下简称源 N), 将与宿数据通信设备 (以下简称宿 C) 相邻的光网络设备称作宿光网络 设备(以下简称宿 N)。 例如参见图 3提供的传输网络模型, 包括源 C100、 源 N200、 光传输 网络、 宿 N400和宿 C500, 其中需要在源 C100与宿 C500之间建立标签交换路径, 源 N200 与宿 N400之间是光传输网络。 In this embodiment, the source node and the destination node are both data communication devices, and the intermediate nodes are optical network devices. In the entire transmission network, the optical network device adjacent to the source data communication device (hereinafter referred to as source C) is called A source optical network device (hereinafter referred to as source N), which is an optical network device adjacent to a sink data communication device (hereinafter referred to as sink C) is called a sink optical network. Equipment (hereinafter referred to as sink N). For example, the transmission network model provided in FIG. 3 includes a source C100, a source N200, an optical transmission network, a sink N400, and a sink C500, where a label switching path needs to be established between the source C100 and the sink C500, and between the source N200 and the sink N400. Optical transmission network.
本实施例中, 建立标签交换路径之前, 在源 C100和源 N200之间、 及、 宿 N400和和宿 C500之间均安装到达对方的主机路由, 如源数据通信设备安装到达源光网络设备的路由, 源光网络设备安装到达源数据通信设备的路由, 宿数据通信设备安装达到宿光网络设备的 路由, 宿光网络设备安装到达宿数据通信设备的路由。 其中, 在光传输网络中除了所述的 源 N200和宿 N400还可以包括其他光网络设备, 源数据通信设备也可以与多个源光网络设 备相连, 源数据通信设备可以选择不同的个源光网络设备设备建立标签交换路径。  In this embodiment, before the label switching path is established, a host route to the other party is installed between the source C100 and the source N200, and between the sink N400 and the sink C500, for example, the source data communication device is installed to reach the source optical network device. Routing, the source optical network device installs a route to the source data communication device, the sink data communication device installs a route to the sink optical network device, and the sink optical network device installs a route to the sink data communication device. In addition, the source N200 and the sink N400 may further include other optical network devices in the optical transmission network, and the source data communication device may also be connected to multiple source optical network devices, and the source data communication device may select different source lights. The network device device establishes a label switching path.
本实施例中, 在源数据通信设备和源光网络设备之间可以进行链路管理协议 LMP (Link In this embodiment, a link management protocol LMP (Link) can be performed between the source data communication device and the source optical network device.
Management Protocol ) 协商, 以获得对端设备的地址信息, 例如对端设备的标签交换路由 器标识 LSRID (Label Switching Router Identity)0 LMP协议用来对控制通道 CC (Control channel )和数据链路进行管理和关联, 其中, CC就是 GMPLS控制通道, 具体的可以为带内 或带外通道, 带内通道指的是控制报文和传输的数据报文处于同一物理通道, 带外通道指 的是控制报文和数据报文处于不同物理通道, 比如数据报文在以太接口 1 发送, 控制报文 在以太接口 2发送。 链路管理协议 LMP作用具体包括: 1.控制信道的自动发现和维护; 2. 验证数据链路连通性; 3.关联流量工程 TE 链路两端节点的链路标识 Link— ID、 接口标识 InterfacelD映射关系 , 验证并同步 TE链路两端节点的 TE参数, 如带宽、 接口交换能力 等, 以及流量工程链路和数据链路的关联关系; 4.数据链路故障管理能力。 Management Protocol) negotiation in order to obtain the address information of the end device, such as a router identification LSRID (Label Switching Router Identity) 0 LMP protocol label switching device to the end of the control channel CC (Control channel) and the data link and manage Correlation, where CC is the GMPLS control channel, specifically the inband or outband channel, the inband channel refers to the control packet and the transmitted data packet is in the same physical channel, and the outband channel refers to the control packet. The data packet is in different physical channels. For example, the data packet is sent on Ethernet interface 1, and the control packet is sent on Ethernet interface 2. The LMP function of the link management protocol specifically includes: 1. Automatic discovery and maintenance of the control channel; 2. Verification of data link connectivity; 3. Association of traffic engineering TE link links at both ends of the link Link ID, interface identifier InterfacelD The mapping relationship is used to verify and synchronize TE parameters of nodes at both ends of the TE link, such as bandwidth and interface switching capability, and the relationship between traffic engineering links and data links. 4. Data link fault management capability.
本实施例中, 在源数据通信设备和源光网络设备之间引入 LMP协议后, 首先源数据通 信设备的和源光网络设备通过 LMP协议, 在它们之间建立控制通道, 源数据通信设备和源 光网络设备再通过控制通道互相发送 config (配置) 报文, 其中, config报文中会携带本 端的 LSRID (Label Switching Router Identity), 从而通过 config报文交互可以学习到 对端的 LSRID地址。 本实施例中, 源 C通过控制通道接收至少一个源光网络设备发送的第 一 config报文, 第一 config报文中携带源光网络设备的地址信息; 根据第一 config报文 学习到源光网络设备的地址信息。  In this embodiment, after the LMP protocol is introduced between the source data communication device and the source optical network device, the source data communication device and the source optical network device first establish a control channel, a source data communication device, and a source optical network device through the LMP protocol. The source optical network device sends config (configuration) packets to each other through the control channel. The config packet carries the LSRID (Label Switching Router Identity) of the local device. The config packet exchange can learn the LSRID address of the peer. In this embodiment, the source C receives the first config packet sent by the at least one source optical network device by using the control channel, where the first config packet carries the address information of the source optical network device, and learns the source light according to the first config packet. The address information of the network device.
进一步地, 源数据通信设备也可以通过 CC向源光网络设备发送第二 config报文的, 第二 config报文中携带源数据通信设备的地址信息, 使源光网络设备学习到所述源数据通 信设备的地址信息。  Further, the source data communication device may also send the second config message to the source optical network device by using the CC, where the second config message carries the address information of the source data communication device, so that the source optical network device learns the source data. Address information of the communication device.
本实施例中, 宿 N和宿 C也同样进行 LMP协商, 具体过程与上述源 C和源 N的协商过 程一样, 本实施例对此不再赘述。 本实施例中, 在 LMP协议协商 up (成功) 之后, 源数据通信设备和源光网络设备自动 触发安装到达对端 LSRID的主机路由, 路由的出接口为该控制通道接口。 In this embodiment, the sink N and the sink C also perform the LMP negotiation. The specific process is the same as the negotiation process of the source C and the source N. In this embodiment, after the LMP protocol is up (successful), the source data communication device and the source optical network device automatically trigger the installation of the host route to the peer LSRID, and the outbound interface of the route is the control channel interface.
进一步地本实施例中, 如果控制通道接口为广播类型接口, 比如以太接口, 则需要指 定下一跳地址, 该下一跳地址就是控制通道接口的对端地址, 就是收到的 config报文的源 IP地址, 其中, 对于源 C来说, 是源 N的入接口地址, 对于源 N来说, 是源 C的出接口地 址。 具体的, 当源 N为以太接口时, 则在第一 config报文中携带源 N的下一跳地址, 源 N 的下一跳地址用于指示源 C与源光 N之间 CC的源 N的入接口地址; 当源 C为以太接口时, 第二 config报文携带源 C的下一跳地址, 源 C的下一跳地址用于指示源 C与源 N之间 CC 的源 C的出接口地址。  Further, in this embodiment, if the interface of the control channel is a broadcast type interface, such as an Ethernet interface, the next hop address needs to be specified, and the next hop address is the peer address of the control channel interface, which is the received config packet. Source IP address, where source C is the inbound interface address of source N, and source N is the outbound interface address of source C. Specifically, when the source N is an Ethernet interface, the next hop address of the source N is carried in the first config packet, and the next hop address of the source N is used to indicate the source N of the CC between the source C and the source source N. The inbound interface address; when the source C is an Ethernet interface, the second config packet carries the next hop address of the source C, and the next hop address of the source C is used to indicate the source C of the CC between the source C and the source N. interface address.
进一步地,本实施例中,源 N和宿 N不仅仅安装主机路由,而且还将该地址引入到 0SPF Further, in this embodiment, the source N and the sink N not only install the host route, but also introduce the address to the 0SPF.
(Open Shortest Path First, 最短路径优先) 中, 发布到光网络内部各节点。 例如, 对 于光网络源 N或宿 N设备, 通过 LMP学习到的对端 LSRID以及 TELINK地址、 带宽信息可以 引入到光网络内部路由协议 0SPF-TE, 通过 0SPF-TE消息扩散到整个光网络, 这样每台光网 络设备都可以学习到达数据通信设备的的路由以及相连的数据链路带宽信息。 (Open Shortest Path First), published to each node inside the optical network. For example, for the optical network source N or the sink N device, the peer LSRID and TELINK address and bandwidth information learned by the LMP can be imported into the optical network internal routing protocol 0SPF-TE, and spread to the entire optical network through the 0SPF-TE message. Each optical network device can learn the route to the data communication device and the connected data link bandwidth information.
202: 源数据通信设备根据与源光网络设备之间的路由, 向源光网络设备发送 RSVP 消 息。  202: The source data communication device sends an RSVP message to the source optical network device according to the route between the source optical network device and the source optical network device.
本实施例中, 源数据通信设备收到建立标签交换路径的指令后, 向源光网络设备发送 RSVP消息,该 RSVP消息中携带数据链路的带宽信息和宿数据通设备的地址信息,所述 RSVP 消息为 PATH消息。  In this embodiment, after receiving the instruction to establish the label switching path, the source data communication device sends an RSVP message to the source optical network device, where the RSVP message carries the bandwidth information of the data link and the address information of the sink data communication device. The RSVP message is a PATH message.
进一步地, 本实施例中, 如果存在多个源光网络设备, 则源数据通信设备与源光网络 络设备间可建立多条控制通道, 在安装主机路由时, 如果 LMP协议将所有控制通道的路由 优先级都设置成一样,则该路由形式为负载分担方式;如果将某 CC通道的路由优先级提高, 则该路由形式为主备方式。 若形成负载分担路由, 则 RSVP消息报文会在多条控制通道以负 载分担的方式发送; 如果形成主备路由, 则 RSVP消息报文会集中在某条控制通道上发送。  Further, in this embodiment, if there are multiple source optical network devices, multiple control channels may be established between the source data communication device and the source optical network device, and when the host route is installed, if the LMP protocol will be used for all control channels If the route priority is set to the same, the route is in load balancing mode. If the route priority of a CC channel is increased, the route is in active/standby mode. If a load balancing route is formed, the RSVP message will be sent in a load-sharing manner on multiple control channels. If an active/standby route is formed, the RSVP message will be sent to a certain control channel.
本实施例中, 源 C创建 GMPLS UNI LSP时候, 只需要向源 C指定创建 UNI LSP的宿数 据通信设备地址和带宽信息, 该带宽信息是需要建立的标签转发路径的带宽信息, 不需要 指定显示路径。 因为源 C设备通过 LMP协议可以获知自己相连的有哪些光网络设备, 例如 源 C设备相连的光网络设备的 LSRID地址依次为 LSRID1、 LSRID2…直到 LSRIDM, 其中 M表 示第 M个源光网络设备, 所以源 C可以根据自己获知的光网络设备的地址主动向源 N进行 连接, 其中, 如果存在多条控制通道, 且多条控制通道是主备路由形式时, 源 C 可以先在 优先级高的控制通道发送 RSVP消息, 如果多条控制通道是负载分担路由的方式, 则源 C可 以在多条控制通道上逐个的发送 RSVP消息。例如,本实施例中,源 C与源光网络设备 LSRID LSRID2…直到 LSRIDM之间是负载分担的方式, 则源 C设备在得到创建标签交换路径的指令 后, 首先尝试向源光网络设备 LSRIDl发送 RSVP消息消息, 举例来说, 源 C根据源光网络 设备 LSRIDl的地址, 查找路由的出接口假如为控制通道 CC1, 则将 CC1的本地地址 (CC在 源 C上的出接口地址) 和远端地址 (CC在源 N1上的入接口地址) 填写在 PATH消息中的显 示路径对象 ERO (Explicit Route Object )中,然后将报文发送给对端源光网络设备 LSRIDl , 用于创建 UNI LSP。 In this embodiment, when the source C creates a GMPLS UNI LSP, it only needs to specify the address and bandwidth information of the sink data communication device that creates the UNI LSP to the source C. The bandwidth information is the bandwidth information of the label forwarding path that needs to be established, and does not need to be specified. path. Because the source C device can know which optical network devices are connected by the LMP protocol, for example, the LSRID addresses of the optical network devices connected to the source C device are LSRID1, LSRID2, ... until LSRIDM, where M represents the Mth source optical network device. Therefore, source C can actively connect to source N according to the address of the optical network device that it knows. If there are multiple control channels, and multiple control channels are in the form of active and standby routes, source C can be preceded by high priority. The control channel sends an RSVP message. If multiple control channels are load-sharing routes, source C can The RSVP message is sent one by one on multiple control channels. For example, in this embodiment, the source C and the source optical network device LSRID LSRID2 are in a load sharing manner, and the source C device first attempts to send the source optical network device LSRID1 after obtaining the instruction to create the label switching path. The RSVP message, for example, the source C is based on the address of the source optical network device LSRID1, and if the outbound interface of the route is the control channel CC1, the local address of the CC1 (the outbound interface address of the CC on the source C) and the remote end are used. The address (the address of the inbound interface of the CC on the source N1) is filled in the display path object ERO (Explicit Route Object) in the PATH message, and then the packet is sent to the peer source optical network device LSRID1 for creating the UNI LSP.
203: 源光网络通信设备根据 RSVP 消息中携带的带宽信息和宿数据通信设备的地址信 息计算出到达宿数据通信设备的标签交换路径, 从而在源数据通信设备和宿数据通信设备 间建立标签交换路径。  203: The source optical network communication device calculates a label switching path to the sink data communication device according to the bandwidth information carried in the RSVP message and the address information of the sink data communication device, thereby establishing label switching between the source data communication device and the sink data communication device. path.
本实施例中, 源 N收到源 C发送的 PATH消息后, 根据宿 C地址和带宽信息, 通过基于 约束的最短路径优先 CSPF (Constrained Shortest Path First ) 协议自动计算光网络内部 的标签交换路径, 算好路径之后, 通过信令消息中携带显示路径信息指示中间节点进行处 理, 以建立源 C和宿 C间的标签交换路径。  In this embodiment, after receiving the PATH message sent by the source C, the source N automatically calculates the label switching path inside the optical network by using the constrained shortest path first CSPF (Constrained Shortest Path First) protocol according to the sink C address and the bandwidth information. After the path is calculated, the intermediate node is processed by carrying the display path information in the signaling message to establish a label switching path between the source C and the sink C.
举例来说, 参见图 3, 如果源 N200计算出有穿越光网络到达宿 C500的路径, 则源 N200 首先根据源 C100发送过来的 PATH消息中的 ER0携带的 CC1在源 N200上的入接口地址, 找 到对应的入接口, 在该入接口预留带宽资源, 然后在本地出接口分配标签, 以建立正向 LSP 交叉连接表项, 将 PATH消息的 ER0替换为本地 CSPF计算出来的路径信息, 即将本地地址 (源 N200的出接口地址) 和远端地址 (与源 N200相连的下游光网络设备的入接口地址) 填写在 ER0中, 然后将所述 PATH消息发送给下游光网络设备, 该下游光网络设备收到上游 的源 N200发送过来的 PATH消息之后, 根据 ER0信息在入接口预留带宽, 在出接口分配标 签, 建立正向 LSP交叉连接表项, 将 PATH消息继续向计算出的路径上的下游光网络设备发 送, 光传输网络中的中间的光网络设备和宿 N400接收到 PATH消息后, 重复上述中间光网 络设备的处理流程, 宿 N400最后将 PATH消息发送给宿 C500, 宿 C500在入接口预留带宽资 源, 建立本地 LSP的正向连接表项, 从而创建一条穿越光传输网络的从宿 C500到源 C100 的正向 LSP。 宿 C500在处理完 PATH消息后, 回应 RESV消息给宿 N400, 并在宿 C500的入 接口预留带宽资源, 在出接口分配标签, 建立反向 LSP连接表项, 宿 N400收到 RESV消息 之后, 在入接口预留带宽资源, 在出接口分配标签, 建立反向 LSP连接表项, 然后将 RESV 消息继续向上游光网络设备发送, 直到最后 RESV消息到达源 C100, 从而创建一条穿越光传 输网络的从源 C100到宿 C500反向 LSP。 举例来说, 本实施例中, 假如源光网设备 LSRIDl 没有到达宿 C500的路径, 则源光网设备 LSRIDl回应 PATH ERR消息给源 C100, 源 C100可 以再尝试向其他源光网络设备发送 PATH消息, 接收到 PATH消息的其他源光网络设备再执 行步骤 202和 203, 本实施在此不再赘述。 For example, referring to FIG. 3, if the source N200 calculates a path that traverses the optical network to the sink C500, the source N200 firstly according to the inbound interface address of the CC1 carried by the ER0 in the PATH message sent by the source C100 on the source N200. The corresponding inbound interface is found, the bandwidth resource is reserved on the inbound interface, and the label is allocated on the local outbound interface to establish a forward LSP cross-connection entry, and the ER0 of the PATH message is replaced with the path information calculated by the local CSPF. The address (the outgoing interface address of the source N200) and the remote address (the inbound interface address of the downstream optical network device connected to the source N200) are filled in the ER0, and then the PATH message is sent to the downstream optical network device, the downstream optical network. After receiving the PATH message sent by the source N200, the device reserves bandwidth on the inbound interface according to the ER0 information, allocates a label on the outbound interface, and establishes a forward LSP cross-connection entry to continue the PATH message to the calculated path. After the downstream optical network device sends, the intermediate optical network device in the optical transmission network and the sink N400 receive the PATH message, and the intermediate optical network is repeated. The processing flow of the device, the sink N400 finally sends the PATH message to the sink C500, and the sink C500 reserves the bandwidth resource on the inbound interface, and establishes a forward connection entry of the local LSP, thereby creating a slave C500 to the source C100 that traverses the optical transport network. Forward LSP. After processing the PATH message, the sink C500 responds to the RESV message to the sink N400, and reserves bandwidth resources on the inbound interface of the sink C500, allocates labels on the outbound interface, and establishes a reverse LSP connection entry. After the sink N400 receives the RESV message, The bandwidth resource is reserved on the inbound interface, the label is allocated on the outbound interface, the reverse LSP connection entry is established, and the RESV message is continuously sent to the upstream optical network device until the last RESV message reaches the source C100, thereby creating a traversing optical transmission network. Reverse LSP from source C100 to sink C500. For example, in this embodiment, if the source optical network device LSRID1 does not reach the path of the sink C500, the source optical network device LSRID1 responds to the PATH ERR message to the source C100, and the source C100 can After the PATH message is sent to other source optical network devices, the other source optical network devices that have received the PATH message perform steps 202 and 203 again, and details are not described herein again.
进一步地, 本实施例中, 假如用户知道到达宿 C500的 UNI LSP经过哪个源光网络设备, 则可以在显示路径中增加源光网络设备的地址, 减少源 C100设备用于尝试建立的时间。 例 如, 如果用户知道创建某条标签交换路径时, 需要经过源光网络设备 N200, 则可在显示路 径中增加源光网络设备 N200的地址信息, 使得源 C100能够直接根据源 N200的地址信息, 与源光网络设备 N200建立连接, 从而避免源 C100在与多个源光网络设备安装的路由中, 一个个的去尝试建立连接。  Further, in this embodiment, if the user knows which source optical network device the UNI LSP that arrives at the sink C500 passes, the address of the source optical network device may be increased in the display path, and the time used by the source C100 device for attempting to establish is reduced. For example, if the user knows that the source optical network device N200 needs to be used to create a label switching path, the address information of the source optical network device N200 can be added to the display path, so that the source C100 can directly according to the address information of the source N200. The source optical network device N200 establishes a connection, thereby preventing the source C100 from attempting to establish a connection one by one in the route installed with the plurality of source optical network devices.
本实施例中, CC通道可以为带内或带外方式, 将带内 CC通道抽象为一个接口, 这样安 装路由的时候, 路由的出接口可以为带内或带外接口。 另外, 上述建立 LSP的具体流程, 是实现建立 LSP的一种方式, 不要求所有系统都这样。 其中, 正向 LSP出标签和反向 LSP 入标签可以相同; 正向 LSP入标签和反向 LSP出标签可以相同。 对此本实施例不做具体限 定。  In this embodiment, the CC channel may be in-band or out-of-band, and the in-band CC channel is abstracted into an interface. When the route is installed, the outgoing interface of the route may be an in-band or out-of-band interface. In addition, the specific process of establishing an LSP is a way to establish an LSP, and all systems are not required to be. The forward LSP outgoing label and the reverse LSP incoming label may be the same; the forward LSP incoming label and the reverse LSP outgoing label may be the same. This embodiment is not specifically limited.
本发明提供的方法实施例的有益效果是: 源 /宿数据通信设备和源 /宿光网络设备通过 LMP协议学习对端设备地址, 安装到达对端设备的主机路由, 从而在建立标签交换路径的时 候, RSVP 消息源数据通信设备根据该主机路由查找到对应的源光网络设备的出接口地址信 息, 通过该出接口将信令报文发送给源光网设备。 其中, 源光网络设备和宿光网络设备设 备需要将通过 LMP 协议学习到的对方的地址, 引入到自身的 0SPF 或中间系统 ISIS ( intermidiate system intermediate system) 等路由协议中, 泛洪到光传输网络域, 源 光网络设备收到源数据通信设备发送过来的 RSVP消息消息, 可以根据 CSPF算法自动计算 到达宿数据通信设备的路径。 参见图 4, 本发明实施例实施例提供了一种源数据通信设备 100, 包括: 安装模块 100a 和发送模块 100b。  The method of the present invention provides the following advantages: The source/sink data communication device and the source/sink optical network device learn the address of the peer device through the LMP protocol, and install the host route to the peer device, thereby establishing a label switching path. The RSVP source data communication device searches for the outbound interface address information of the corresponding source optical network device according to the host route, and sends the signaling packet to the source optical network device through the outbound interface. The source optical network device and the sink optical network device device need to introduce the address of the other party learned through the LMP protocol into a routing protocol such as its own SPP or intermediate system ISIS (intermidiate system intermediate system), and flood the optical transmission network. The source optical network device receives the RSVP message sent by the source data communication device, and can automatically calculate the path to the sink data communication device according to the CSPF algorithm. Referring to FIG. 4, an embodiment of the present invention provides a source data communication device 100, including: an installation module 100a and a sending module 100b.
安装模块 100a, 用于与源光网络设备进行链路管理协议 LMP协商, 学习到所述源光网 络设备的地址信息, 并根据所述源光网络设备的地址信息, 安装与所述源光网络设备之间 的路由;  The installation module 100a is configured to perform a link management protocol LMP negotiation with the source optical network device, learn address information of the source optical network device, and install and the source optical network according to the address information of the source optical network device. Routing between devices;
发送模块 100b, 用于根据与所述源光网络设备之间的路由, 向所述源光网络设备发送 资源预留协议 RSVP报文, 所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息, 使源光网络设备根据所述带宽信息和宿数据通信设备的地址信息计算出到达宿数据通信设 备的标签交换路径。 参见图 5, 本实施例中, 安装模块 100a具体包括: The sending module 100b is configured to send, according to a route with the source optical network device, a resource reservation protocol RSVP packet, where the RSVP packet carries bandwidth information and a sink data communication device. The address information causes the source optical network device to calculate a label switching path to the sink data communication device according to the bandwidth information and the address information of the sink data communication device. Referring to FIG. 5, in this embodiment, the installation module 100a specifically includes:
建立单元 100al, 用于与源光网络设备建立控制通道;  Establishing a unit 100al, configured to establish a control channel with the source optical network device;
接收单元 100a2, 用于通过与所述源光网络设备建立的控制通道, 接收源光网络设备发 送的第一配置报文, 第一配置报文中携带源光网络设备的地址信息;  The receiving unit 100a2 is configured to receive, by using a control channel established by the source optical network device, a first configuration packet sent by the source optical network device, where the first configuration packet carries address information of the source optical network device;
学习单元 100a3, 用于根据第一配置报文学习到源光网络设备的地址信息。  The learning unit 100a3 is configured to learn address information of the source optical network device according to the first configuration message.
在包括建立单元 lOOal和接收单元 100a2的基础上, 安装模块 100a可以进一步包括: 发送单元 100a4, 用于通过控制通道向所述源光网络设备发送第二配置报文的, 第二配 置报文中携带所述源数据通信设备的地址信息, 使源光网络设备学习到所述源数据通信设 备的地址信息。 参见图 6, 本发明实施例还提供了一种源光网络设备 200, 包括: 安装模块 200a、 接收 模块 200b和计算模块 200c。  The installation module 100a may further include: a sending unit 100a4, configured to send, by using a control channel, a second configuration packet to the source optical network device in a second configuration packet, by using the establishing unit 100a and the receiving unit 100a2. Carrying the address information of the source data communication device, so that the source optical network device learns the address information of the source data communication device. Referring to FIG. 6, an embodiment of the present invention further provides a source optical network device 200, including: an installation module 200a, a receiving module 200b, and a computing module 200c.
安装模块 200a, 用于与源数据通信设备进行链路管理协议 LMP协商, 学习到所述源数 据通信设备的地址信息, 并根据所述源数据通信设备的地址信息, 安装与所述源数据通信 设备之间的路由;  The installation module 200a is configured to perform link management protocol LMP negotiation with the source data communication device, learn address information of the source data communication device, and install and communicate with the source data according to the address information of the source data communication device. Routing between devices;
接收模块 200b, 用于接收所述源数据通信设备发送的资源预留协议 RSVP报文, 所述 RSVP报文是所述源数据通信设备根据与所述源光网设备之间的路由发送给所述源光网络设 备的, 且所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息;  The receiving module 200b is configured to receive a resource reservation protocol RSVP packet sent by the source data communication device, where the RSVP packet is sent by the source data communication device according to a route between the source optical network device and the source optical network device. The source optical network device, and the RSVP packet carries bandwidth information and address information of the sink data communication device;
计算模块 200c, 用于根据所述带宽信息和所述宿数据通信设备的地址信息计算出到达 宿数据通信设备的标签交换路径, 以在所述源数据通信设备和所述宿数据通信设备间建立 标签交换路径。  The calculating module 200c is configured to calculate, according to the bandwidth information and the address information of the sink data communication device, a label switching path to the sink data communication device, to establish between the source data communication device and the sink data communication device Label exchange path.
举例来说, 安装模块 200a可以具体包括:  For example, the installation module 200a may specifically include:
建立单元, 用于与所述源数据通信设备建立控制通道;  Establishing a unit, configured to establish a control channel with the source data communication device;
接收单元, 用于通过与所述源数据通信设备建立的控制通道, 接收所述源数据通信设 备发送的第二配置报文, 所述第二配置报文中携带所述数据通信设备的地址信息;  a receiving unit, configured to receive, by using a control channel established by the source data communication device, a second configuration packet sent by the source data communication device, where the second configuration packet carries address information of the data communication device ;
学习单元, 用于根据所述第二配置报文学习到所述源数据通信设备的地址信息。  a learning unit, configured to learn address information of the source data communication device according to the second configuration message.
进一步地, 本实施例中, 安装模块 200a还包括:  Further, in this embodiment, the installation module 200a further includes:
发送单元, 用于通过所述控制通道向所述源数据通信设备发送第一配置报文, 所述第 一配置报文中携带所述源光网络设备的地址信息, 使所述源数据通信设备学习到所述源光 网络设备的地址信息。  a sending unit, configured to send, by using the control channel, a first configuration packet to the source data communication device, where the first configuration packet carries address information of the source optical network device, so that the source data communication device Learning the address information of the source optical network device.
本实施例中, 该源光网络设备还包括: 广播模块, 用于所述接收单元接收到所述源数据通信设备的地址信息后, 将所述所述 源数据通信设备的地址信息广播到所述源光网络设备所在的光网络中的设备上。 In this embodiment, the source optical network device further includes: a broadcast module, configured to: after the receiving unit receives the address information of the source data communication device, broadcast the address information of the source data communication device to a device in an optical network where the source optical network device is located .
本发明提供的装置实施例的有益效果是: 源 /宿数据通信设备和源 /宿光网络设备通过 The beneficial effects of the device embodiments provided by the present invention are: source/sink data communication device and source/sink optical network device pass
LMP协议学习对方的地址,安装到达对方设备的主机路由,从而在建立标签交换路径的时候, 可以根据该主机路由查找到对应的出接口, 通过该出接口将 RSVP消息报文发送给对方, 使 源光网络设备可以自动计算到达宿数据通信设备的路径, 从而大大减少网络运维人员的配 置工作, 方便网络部署。 The LMP protocol learns the address of the other party and installs the host route to the other device. When the label switching path is established, the corresponding outgoing interface can be found according to the host route, and the RSVP message is sent to the other party through the outbound interface. The source optical network device can automatically calculate the path to the sink data communication device, thereby greatly reducing the configuration work of the network operation and maintenance personnel and facilitating network deployment.
参见图 7, 本发明实施例还提供了一种建立标签交换路径的系统, 包括: 如上所述的源 数据通信设备 100和如上所述的源光网络络设备 200。  Referring to FIG. 7, an embodiment of the present invention further provides a system for establishing a label switching path, including: the source data communication device 100 as described above and the source optical network device 200 as described above.
本发明提供的装置实施例的有益效果是: 源 /宿数据通信设备和源 /宿光网络设备通过 The beneficial effects of the device embodiments provided by the present invention are: source/sink data communication device and source/sink optical network device pass
LMP协议学习对方的地址,安装到达对方设备的主机路由,从而在建立标签交换路径的时候, 源数据通信设备根据该主机路由查找到对应的源光网络设备的出接口地址信息, 通过该出 接口将 RSVP消息报文发送给源光网络设备, 使源光网络设备可以自动计算到达宿数据通信 设备的路径, 从而大大减少网络运维人员的配置工作, 方便网络部署。 The LMP protocol learns the address of the other party and installs the host route to the other device. When the label switching path is established, the source data communication device searches for the outbound interface address information of the corresponding source optical network device according to the host route. The RSVP message is sent to the source optical network device, so that the source optical network device can automatically calculate the path to the sink data communication device, thereby greatly reducing the configuration of the network operation and maintenance personnel and facilitating network deployment.
本实施例提供的源数据通信设备、 源光网络设备和建立标签交换路径的系统, 与方法 实施例属于同一构思, 其具体实现过程详见方法实施例, 这里不再赘述。  The source data communication device, the source optical network device, and the system for establishing the label switching path provided by this embodiment are the same as the method embodiment. For details, refer to the method embodiment, and details are not described herein again.
本发明实施例可以利用软件实现, 相应的软件程序可以存储在可读取的存储介质中, 例如, 计算机的硬盘、 缓存或光盘中。  Embodiments of the invention may be implemented in software, and the corresponding software program may be stored in a readable storage medium, such as a hard disk, a cache, or an optical disk of a computer.
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 Claim
1、 一种建立标签交换路径的方法, 其特征在于, 所述方法包括:  A method for establishing a label switching path, the method comprising:
源数据通信设备与源光网络设备进行链路管理协议 LMP协商, 学习到所述源光网络设备 的地址信息, 并根据所述源光网络设备的地址信息, 安装与所述源光网络设备之间的路由; 根据与所述源光网络设备之间的路由, 向所述源光网络设备发送资源预留协议 RSVP 报 文, 所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息, 使所述源光网络设备根据 所述带宽信息和所述宿数据通信设备的地址信息计算出达到所述宿数据通信设备的标签交换 路径,并根据所述路径建立所述源数据通信设备和所述宿数据通信设备之间的标签交换路径。  The source data communication device performs a link management protocol LMP negotiation with the source optical network device, learns the address information of the source optical network device, and installs and the source optical network device according to the address information of the source optical network device. And routing a resource reservation protocol RSVP packet to the source optical network device according to the route between the source optical network device, where the RSVP packet carries bandwidth information and address information of the sink data communication device And causing the source optical network device to calculate a label switching path that reaches the sink data communication device according to the bandwidth information and address information of the sink data communication device, and establish the source data communication device according to the path and A label switching path between the sink data communication devices.
2、根据权利要求 1所述的方法, 其特征在于, 所述源数据通信设备与所述源光网络设备 进行 LMP协商, 学习到所述源光网络设备的地址信息, 包括: The method according to claim 1, wherein the source data communication device performs LMP negotiation with the source optical network device, and learns the address information of the source optical network device, including:
所述源数据通信设备与所述源光网络设备建立控制通道;  The source data communication device establishes a control channel with the source optical network device;
通过与所述源光网络设备建立的控制通道,接收所述源光网络设备发送的第一配置报文, 所述第一配置报文中携带所述源光网络设备的地址信息;  And receiving, by the control channel established by the source optical network device, a first configuration packet sent by the source optical network device, where the first configuration packet carries address information of the source optical network device;
根据所述第一配置报文学习到所述源光网络设备的地址信息。  And learning address information of the source optical network device according to the first configuration packet.
3、 根据权利要求 2所述的方法, 其特征在于, 当所述控制通道为以太接口时, 所述方法 还包括: The method according to claim 2, wherein when the control channel is an Ethernet interface, the method further includes:
所述第一配置报文中携带所述源光网络设备的下一跳地址, 所述源光网络设备的下一跳 地址用于指示所述源数据通信设备与所述源光网络设备之间控制通道的所述源光网络设备的 入接口地址。  The first configuration packet carries a next hop address of the source optical network device, and the next hop address of the source optical network device is used to indicate between the source data communication device and the source optical network device. The inbound interface address of the source optical network device of the control channel.
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: The method according to claim 1 or 2, wherein the method further comprises:
所述源数据通信设备通过与所述源光网络设备建立的控制通道, 向所述源光网络设备发 送第二配置报文, 所述第二配置报文中携带所述源数据通信设备的地址信息, 使所述源光网 络设备学习到所述源数据通信设备的地址信息。  The source data communication device sends a second configuration packet to the source optical network device by using a control channel established with the source optical network device, where the second configuration packet carries an address of the source data communication device And causing the source optical network device to learn address information of the source data communication device.
5、 根据权利要求 1-4任意一项所述的方法, 其特征在于, 所述方法还包括: The method according to any one of claims 1 to 4, wherein the method further comprises:
所述源光网络设备接收到所述源数据通信设备的地址信息后, 将所述地址信息广播到所 述源光网络设备所在的光传输网络中的设备上。 After receiving the address information of the source data communication device, the source optical network device broadcasts the address information to the office The device in the optical transmission network where the source optical network device is located.
6、根据权利要求 1-5任意一项所述的方法,其特征在于,当所述控制通道为以太接口时, 所述方法还包括: The method according to any one of claims 1-5, wherein when the control channel is an Ethernet interface, the method further includes:
所述第二配置报文携带所述源数据通信设备的下一跳地址, 所述源数据通信设备的下一 跳地址用于指示所述源数据通信设备与所述源光网络设备之间控制通道的所述源数据通信设 备的出接口地址。  The second configuration packet carries a next hop address of the source data communication device, and the next hop address of the source data communication device is used to indicate control between the source data communication device and the source optical network device The outbound interface address of the source data communication device of the channel.
7、 一种源数据通信设备, 其特征在于, 所述设备包括: A source data communication device, the device comprising:
安装模块, 用于与源光网络设备进行链路管理协议 LMP协商, 学习到所述源光网络设备 的地址信息, 并根据所述源光网络设备的地址信息, 安装与所述源光网络设备之间的路由; 发送模块, 用于根据与所述源光网络设备之间的路由, 向所述源光网络设备发送资源预 留协议 RSVP报文, 所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息, 使所述源 光网络络设备根据所述带宽信息和所述宿数据通信设备的地址信息计算出到达所述宿数据通 信设备的标签交换路径, 以在所述源数据通信设备和所述宿数据通信设备间建立所述标签交 换路径。  The installation module is configured to perform a link management protocol LMP negotiation with the source optical network device, learn address information of the source optical network device, and install and the source optical network device according to the address information of the source optical network device. a routing module, configured to send a resource reservation protocol RSVP packet to the source optical network device according to a route between the source optical network device, where the RSVP packet carries bandwidth information and a sink Address information of the data communication device, causing the source optical network device to calculate a label switching path to the sink data communication device according to the bandwidth information and the address information of the sink data communication device, to the source data The label switching path is established between the communication device and the sink data communication device.
8、 根据权利要求 7所述的设备, 其特征在于, 所述安装模块, 包括: The device according to claim 7, wherein the installation module comprises:
建立单元, 用于与所述源光网络设备建立控制通道;  Establishing a unit, configured to establish a control channel with the source optical network device;
接收单元, 用于通过与所述源光网络设备建立的控制通道接收所述源光网络设备发送的 第一配置报文, 所述第一配置报文中携带所述源光网络设备的地址信息;  a receiving unit, configured to receive, by using a control channel established with the source optical network device, a first configuration packet sent by the source optical network device, where the first configuration packet carries address information of the source optical network device ;
学习单元, 用于根据所述第一配置报文学习到所述源光网络设备的地址信息。  The learning unit is configured to learn address information of the source optical network device according to the first configuration packet.
9、 根据权利要求 7或 8所述的设备, 其特征在于, 所述安装模块还包括: The device according to claim 7 or 8, wherein the installation module further comprises:
发送单元, 用于通过所述控制通道向所述源光网络设备发送第二配置报文, 所述第二配 置报文中携带所述源数据通信设备的地址信息, 使所述源光网络设备学习到所述源数据通信 设备的地址信息。  a sending unit, configured to send, by using the control channel, a second configuration packet to the source optical network device, where the second configuration packet carries address information of the source data communication device, so that the source optical network device Learning the address information of the source data communication device.
10、 一种源光网络设备, 其特征在于, 所述设备包括: A source optical network device, the device comprising:
安装模块, 用于与源数据通信设备进行链路管理协议 LMP协商, 学习到所述源数据通信 设备的地址信息, 并根据所述源数据通信设备的地址信息, 安装与所述源数据通信设备之间 的路由; An installation module, configured to perform link management protocol LMP negotiation with the source data communication device, to learn the source data communication Address information of the device, and installing a route with the source data communication device according to the address information of the source data communication device;
接收模块, 用于接收所述源数据通信设备发送的资源预留协议 RSVP报文, 所述 RSVP报 文是所述源数据通信设备根据与所述源光网设备之间的路由发送给所述源光网络设备的, 且 所述 RSVP报文中携带带宽信息和宿数据通信设备的地址信息;  a receiving module, configured to receive a resource reservation protocol RSVP packet sent by the source data communication device, where the RSVP packet is sent by the source data communication device according to a route between the source optical network device and the source optical network device The source optical network device, and the RSVP packet carries bandwidth information and address information of the sink data communication device;
计算模块, 用于根据所述带宽信息和所述宿数据通信设备的地址信息计算出到达所述宿 数据通信设备的标签交换路径, 以在所述源数据通信设备和所述宿数据通信设备间建立所述 标签交换路径。  a calculation module, configured to calculate, according to the bandwidth information and address information of the sink data communication device, a label switching path to the sink data communication device, to be between the source data communication device and the sink data communication device Establishing the label switching path.
11、 根据权利要求 10所述的设备, 其特征在于, 所述安装模块, 包括: The device according to claim 10, wherein the installation module comprises:
建立单元, 用于与所述源数据通信设备建立控制通道;  Establishing a unit, configured to establish a control channel with the source data communication device;
接收单元, 用于通过与所述源数据通信设备建立的控制通道, 接收所述源数据通信设备 发送的第二配置报文, 所述第二配置报文中携带所述数据通信设备的地址信息;  a receiving unit, configured to receive, by using a control channel established by the source data communication device, a second configuration packet sent by the source data communication device, where the second configuration packet carries address information of the data communication device ;
学习单元, 用于根据所述第二配置报文学习到所述源数据通信设备的地址信息。  a learning unit, configured to learn address information of the source data communication device according to the second configuration message.
12、 根据权利要求 10或 11所述的设备, 其特征在于, 所述安装模块还包括: 发送单元, 用于通过所述控制通道向所述源数据通信设备发送第一配置报文, 所述第一 配置报文中携带所述源光网络设备的地址信息, 使所述源数据通信设备学习到所述源光网络 设备的地址信息。 The device according to claim 10 or 11, wherein the installation module further includes: a sending unit, configured to send, by using the control channel, a first configuration packet to the source data communication device, where The address information of the source optical network device is carried in the first configuration packet, so that the source data communication device learns the address information of the source optical network device.
13、 根据权利要求 10-12任意一项所述的设备, 其特征在于, 所述设备还包括: 广播模块, 用于所述接收单元接收到所述源数据通信设备的地址信息后, 将所述地址信 息广播到所述源光网络设备所在的光网络中的所有设备上。 The device according to any one of claims 10-12, wherein the device further comprises: a broadcast module, configured to: after the receiving unit receives the address information of the source data communication device, The address information is broadcast to all devices in the optical network where the source optical network device is located.
14、 一种建立标签交换路径的系统, 其特征在于, 所述系统包括: 如权利要求 7-9任一 项所述的源数据通信设备和权利要求 10-13任一项所述的源光网络设备。 A system for establishing a label switching path, the system comprising: the source data communication device according to any one of claims 7-9, and the source light according to any one of claims 10-13 Internet equipment.
PCT/CN2011/077801 2011-07-29 2011-07-29 Method, device and system for establishing label switching path WO2012109860A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180001549.7A CN102318293B (en) 2011-07-29 2011-07-29 Method, advice and system of establishing LSP
PCT/CN2011/077801 WO2012109860A1 (en) 2011-07-29 2011-07-29 Method, device and system for establishing label switching path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/077801 WO2012109860A1 (en) 2011-07-29 2011-07-29 Method, device and system for establishing label switching path

Publications (1)

Publication Number Publication Date
WO2012109860A1 true WO2012109860A1 (en) 2012-08-23

Family

ID=45429441

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077801 WO2012109860A1 (en) 2011-07-29 2011-07-29 Method, device and system for establishing label switching path

Country Status (2)

Country Link
CN (1) CN102318293B (en)
WO (1) WO2012109860A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012109860A1 (en) * 2011-07-29 2012-08-23 华为技术有限公司 Method, device and system for establishing label switching path
WO2014059570A1 (en) * 2012-10-15 2014-04-24 华为技术有限公司 Method, device and system for establishing label switched path
CN106803814B (en) * 2015-11-26 2021-01-22 中兴通讯股份有限公司 Method, device and system for establishing flexible Ethernet path
CN107222405B (en) * 2017-06-26 2020-06-02 杭州绿湾网络科技有限公司 Data transmission method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040109687A1 (en) * 2002-12-10 2004-06-10 Hyeon Park Fast rerouting method through generalized multi-protocol label switching
CN101860269A (en) * 2010-04-20 2010-10-13 皇明太阳能股份有限公司 Clamping, supporting and shape-adjusting device for reflecting mirror of heliostat
CN102318293A (en) * 2011-07-29 2012-01-11 华为技术有限公司 Method, advice and system of establishing LSP

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860769B (en) * 2009-04-07 2015-03-25 华为技术有限公司 Method, device and system for fusing IP and light

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040109687A1 (en) * 2002-12-10 2004-06-10 Hyeon Park Fast rerouting method through generalized multi-protocol label switching
CN101860269A (en) * 2010-04-20 2010-10-13 皇明太阳能股份有限公司 Clamping, supporting and shape-adjusting device for reflecting mirror of heliostat
CN102318293A (en) * 2011-07-29 2012-01-11 华为技术有限公司 Method, advice and system of establishing LSP

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
J.LANG ET AL., RFC4204: LINK MANAGEMENT PROTOCOL (LMP), October 2005 (2005-10-01), pages 6 *

Also Published As

Publication number Publication date
CN102318293A (en) 2012-01-11
CN102318293B (en) 2014-01-01

Similar Documents

Publication Publication Date Title
US9634928B2 (en) Mesh network of simple nodes with centralized control
US9350661B2 (en) Aggregation network with centralized control
EP2498454B1 (en) Method, device and system for processing service traffic based on pseudo wires
JP5209116B2 (en) Establishing pseudowires in packet-switched networks
US9668160B2 (en) Topology discovery based on SCTP/X2 snooping
CN104541482A (en) System and method using RSVP HELLO suppression for graceful restart capable neighbors
WO2009056034A1 (en) Method, system and equipment to establish bfd detection for lsp tunnel
WO2019076295A1 (en) Method for processing message, device, and system
WO2006007769A1 (en) Pseudo wire label reflector, edge apparatus, two-layer virtual private network, and the method to provide pseudo wire service
EP3058777B1 (en) Topology discovery based on explicit signaling
WO2014012207A1 (en) Label switching path establishment method, data forwarding method and device
EP2410700B1 (en) Network communication system, communication apparatus, network cooperation method, and program
JP5739960B2 (en) Method and system for providing external optical data packets to a destination node of a packet optical network
Choi Design and implementation of a PCE-based software-defined provisioning framework for carrier-grade MPLS-TP networks
CN101860769B (en) Method, device and system for fusing IP and light
WO2012109860A1 (en) Method, device and system for establishing label switching path
WO2013029499A1 (en) Dynamic routing method
WO2009071022A1 (en) Method and device for disposing flux engineering tunnel
WO2023029902A1 (en) Dual-homing protection system, dual-homing protection method, and related device
KR101726264B1 (en) Network Management System of inter-operation between multivendor packet transport networks and method thereof
CN106533879B (en) Method and device for DCN irregular domain intercommunication in PTN equipment
Hayashitani et al. Flexible and automated operational control in SDN transport-base virtual router
WO2012171191A1 (en) Method, apparatus and system for establishing multi-layer path

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001549.7

Country of ref document: CN

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

Ref document number: 11858961

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: 11858961

Country of ref document: EP

Kind code of ref document: A1