WO2011120471A2 - Method, network equipment and system for data transmission - Google Patents

Method, network equipment and system for data transmission Download PDF

Info

Publication number
WO2011120471A2
WO2011120471A2 PCT/CN2011/073834 CN2011073834W WO2011120471A2 WO 2011120471 A2 WO2011120471 A2 WO 2011120471A2 CN 2011073834 W CN2011073834 W CN 2011073834W WO 2011120471 A2 WO2011120471 A2 WO 2011120471A2
Authority
WO
WIPO (PCT)
Prior art keywords
uni
destination
mac address
data packet
source
Prior art date
Application number
PCT/CN2011/073834
Other languages
French (fr)
Chinese (zh)
Other versions
WO2011120471A3 (en
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 PCT/CN2011/073834 priority Critical patent/WO2011120471A2/en
Priority to CN201180000599.3A priority patent/CN102239681B/en
Publication of WO2011120471A2 publication Critical patent/WO2011120471A2/en
Publication of WO2011120471A3 publication Critical patent/WO2011120471A3/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]

Definitions

  • the present invention relates to the field of network communications and, more particularly, to methods, network devices and systems for data transmission in the field of network communications. Background technique
  • GPLS Generalized Multi-Protocol Label Switching
  • GMPLS can be considered to consist of three planes: the transport plane, the control plane, and the management plane.
  • the control plane is mainly responsible for controlling the call connection of the network, and completes the dynamic control of the transport plane through signaling exchange;
  • the management plane manages the transport plane, the control plane and the system as a whole, and realizes the coordination of functions;
  • the transport plane is responsible for the transmission of services, but The switching action is performed under the influence of the management plane and the control plane.
  • the most prominent feature of GMPLS is the introduction of independent control planes in the transport network.
  • the most prominent feature of GMPLS is the introduction of transport networks in data networks. Faster, more bandwidth, and higher performance end-to-end services.
  • a User Network Interface In the GMPLS network system, a User Network Interface (UNI) is defined.
  • the UNI is the interface of the user equipment to the network, and provides a unified network access mode to the user equipment through the UNI.
  • the user equipment needs to meet the UNI interface specification to access the transmission network under the GMPLS network system, thereby utilizing the huge transmission capacity of the transmission network.
  • the UNI interface is a UNI-C (UNI-Client, UNI client side) device and a UNI-N (UNI-Network, UNI network side) device.
  • the UNI-C device is a client-side device that wants to use the transmission network to transmit data.
  • the UNI-N device is a transport network device at the entrance of the UNI-C device access transmission network.
  • a UNI-C device in an IP (Internet Protocol) network can establish a label switching path with a UNI-C device at the opposite end via a transport network ( Label Switching) Path, LSP), such that the UNI-C device can utilize the transport network for efficient data transmission via the LSP.
  • LSP Label Switching Path
  • the GMPLS protocol focuses on establishing an end-to-end link-level transmission path.
  • the UNI-C device in the data network cannot perform effective LSP even if it establishes an LSP with the UNI-C device in the peer data network. data communication.
  • the reason is that the UNI-C device needs to encapsulate the data packet to send the data out, but the UNI-C device cannot know the media access control of the peer UNI-C device during the process of establishing the LSP with the peer UNI-C device.
  • the Media Access Control (MAC) address so that the UNI-C device cannot encapsulate the data packet, and the established LSP cannot be used. Even if the UNI-C device sends a packet, if the peer UNI-C device does not recognize the packet, communication between the two cannot be performed.
  • MAC Media Access Control
  • Embodiments of the present invention provide a method, network device, and system for data transmission, such that
  • UNI-C equipment can use the transmission network for data transmission, so that the transmission network and the data network can be fused.
  • the UNI-C equipment in the data network will not be able to communicate due to the introduction of the transmission network.
  • an embodiment of the present invention provides a method for data transmission, including: establishing an LSP with a destination UNI-N device and a destination UNI-N device with a destination UNI-C device; generating a transmission to a destination UNI-C device The data packet carrying the specific MAC address in the destination MAC address field; the data packet is sent on the LSP, so that the destination UNI-C device carries the UNI-C device in the destination MAC address field when the data packet is output from the destination UNI-N device.
  • an embodiment of the present invention provides a method for data transmission, including: when receiving a data packet sent by a source UNI-C device to a destination UNI-C device on an LSP, deleting a transmission carried by the data packet a network label, where the LSP is an LSP established by the source UNI-C device and the destination UNI-C device via the source UNI-N device and the destination UNI-N device; when the destination MAC address field of the data packet does not carry the destination UNI-C device, the LSP is identifiable
  • the MAC address of the packet is filled with the MAC address of the destination UNI-C device in the destination MAC address field of the packet; the packet carrying the MAC address of the destination UNI-C device is sent to the destination UNI-C device.
  • the embodiment of the present invention provides a network device, including: an establishing module, configured to establish an LSP with a source UNI-N device and a destination UNI-N device with a destination UNI-C device; and generate a module, configured to generate a data packet that is sent to the destination UNI-C device and carries a specific MAC address in the destination MAC address field.
  • the first sending module is configured to send a data packet on the LSP to enable the data.
  • the destination MAC address field carries the MAC address identifiable by the destination UNI-C device.
  • the embodiment of the present invention provides a network device, including: a deleting module, configured to: when receiving a data packet sent by a source UNI-C device to a destination UNI-C device on an LSP, deleting the data packet carrying a transport network label, where the LSP is an LSP established by the source UNI-C device and the destination UNI-C device via the source UNI-N device and the network device; a padding module, configured to: when the destination MAC address field of the data packet does not carry the destination UNI- The MAC address of the destination UNI-C device is filled in the destination MAC address field of the data packet, and the sending module is configured to send the data carrying the MAC address of the destination UNI-C device to the destination UNI-C device. package.
  • a deleting module configured to: when receiving a data packet sent by a source UNI-C device to a destination UNI-C device on an LSP, deleting the data packet carrying a transport network label, where the LSP is an LSP established by the source
  • an embodiment of the present invention provides a system for data transmission, including a source user network interface client side UNI-C device, a source user network interface network side UNI-N device, a destination UNI-N device, and a source UNI. -C equipment.
  • the source UNI-C device is configured to establish an LSP with the source UNI-N device and the destination UNI-N device with the destination UNI-C device, and generate a specific MAC address that is sent to the destination UNI-C device in the destination MAC address field. Packet; sends a packet on the LSP.
  • the source UNI-N device is configured to receive a data packet sent by the source UNI-C device, and add a transport network label to the data packet.
  • the destination UNI-N device is configured to: when receiving the data packet forwarded by the source UNI-N device, delete the transport network label; when the destination MAC address field of the data packet does not carry the MAC address identifiable by the destination UNI-C device, the data is in the data.
  • the destination MAC address field of the packet is filled with the MAC address of the destination UNI-C device, and the data packet carrying the MAC address of the destination UNI-C device is sent to the destination UNI-C device; when the destination MAC address field of the data packet carries the destination UNI-C device When the MAC address is recognized, the packet is sent to the destination UNI-C device.
  • Purpose The UNI-C device is used to receive packets forwarded by the destination UNI-N device.
  • the source UNI-C device can encapsulate the data packet, so that data can be sent to the transmission network, unlike related technologies. That way, the packet cannot be generated.
  • the destination MAC address field of the data packet carries the MAC address identifiable by the destination UNI-C device, so that the UNI-C device can identify the data packet, thereby implementing the UNI-C.
  • Communication between devices, UNI-C devices in the data network will not be blocked due to the introduction of the transport network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
  • FIG. 1 is a schematic diagram of an example of a network environment on which an embodiment of the present invention is based.
  • FIG. 2 is a flow chart of a method for data transmission in accordance with an embodiment of the present invention.
  • FIG. 3 is a flow chart of another method for data transmission in accordance with an embodiment of the present invention.
  • FIG. 4 is a diagram showing an example of message interaction in the process of establishing an LSP between UNI-C devices according to an embodiment of the present invention.
  • FIG. 5 is a flow chart of still another method for data transmission in accordance with an embodiment of the present invention.
  • FIG. 6 is a diagram showing an example of message interaction for acquiring a MAC address of a source UNI-N device according to an embodiment of the present invention.
  • Fig. 7 is a diagram showing an example of data transmission using the acquired MAC address of the source UNI-N device.
  • FIG. 8 is a flow chart of still another method for data transmission in accordance with an embodiment of the present invention.
  • FIG. 9 is a flow chart of still another method for data transmission in accordance with an embodiment of the present invention.
  • FIG. 10 is a structural block diagram of a network device according to an embodiment of the present invention.
  • FIG. 11 is a block diagram showing the structure of another network device according to an embodiment of the present invention.
  • FIG. 12 is a structural block diagram of still another network device according to an embodiment of the present invention.
  • FIG. 13 is a structural block diagram of still another network device according to an embodiment of the present invention.
  • FIG. 14 is a structural block diagram of still another network device according to an embodiment of the present invention.
  • Figure 15 is a block diagram showing the structure of a system for data transmission according to an embodiment of the present invention. detailed description
  • the source UNI-C device in the data network wishes to pass the transmission network to another data network.
  • the UNI-C device sends data.
  • the data packet sent by the source UNI-C device enters the transmission network through the source UNI-N device at the edge of the transmission network, and flows out of the transmission network through the destination UNI-N device at the other edge of the transmission network.
  • An LSP2 is established between the source UNI-C device and the destination UNI-C device.
  • LSP1 between the source UNI-N device and the destination UNI-N device is utilized.
  • LSP1 may be an LSP originally existing between the source UNI-N device and the destination UNI-N device, or may be a newly established LSP triggered between the source UNI-N device and the destination UNI-N device during LSP2 establishment. .
  • the source UNI-C device since the source UNI-C device does not know the MAC address of the destination UNI-C device, it cannot encapsulate the data packet, and thus cannot transmit data. Even if data is sent, communication cannot be performed if the destination UNI-C device does not recognize it.
  • the method 200 includes: in S210, establishing an LSP with a destination UNI-N device and a destination UNI-N device with a destination UNI-C device; and in S220, generating a transmission to the destination UNI-C device
  • the destination MAC address field carries the data packet of the specific MAC address; in S230, the data packet is sent on the LSP, so that when the data packet is output from the destination UNI-N device, the destination UNI-C device carries the destination UNI-C device to be recognized.
  • method 200 can be performed by a source UNI-C device.
  • the source UNI-C device can establish an LSP with the destination UNI-C device in the manner provided by the related technology, the LSP passing through the source UNI-N device and the destination UNI-N device.
  • the source UNI-C device can encapsulate the packet with a specific MAC address and send the packet out.
  • the data packet flows out of the destination UNI-N device via the LSP, the data packet carries the MAC address identifiable by the destination UNI-C device in the destination MAC address field, so that the destination UNI-C device receives and identifies the data packet, thereby implementing the source. Communication between the UNI-C device and the destination UNI-C device.
  • the source UNI-C device can use the RSVP-TE (Resource ReSerVation Protocol-Traffic Engineering) protocol to establish an LSP with the destination UNI-C device.
  • RSVP-TE Resource ReSerVation Protocol-Traffic Engineering
  • the source UNI-C device can carry a specific data packet by carrying a specific MAC address in the destination MAC address field of the Ethernet header of the data packet, so that the data packet can be sent out.
  • the specific MAC address may be the MAC address of the destination UNI-C device, for example, The MAC address of the destination UNI-C device is obtained during the LSP establishment process, which will be specifically described in conjunction with FIG. 3 and FIG.
  • the specific MAC address may also be the MAC address of the source UNI-N device, and the MAC address of the other party may be obtained by the message exchanged on the data link between the source UNI-C device and the source UNI-N device, for example, by combining FIG. And the method described in Figure 6.
  • the specific MAC address may also be a preset MAC address, which is a MAC address recognizable by the destination UNI-C device set in advance. When the destination UNI-C device sees the preset MAC address, the data may be confirmed. The package is sent to yourself.
  • the source UNI-C device transmits a data packet to the destination UNI-C device via the LSP established in S210. After the source UNI-N device adds the transport network label to the data packet, it continues to forward on the LSP. After the destination UNI-N device receives the data packet carrying the transport network label, the destination UNI-N device deletes the transport network label because the data packet will flow out of the transport network.
  • the destination UNI-N device When the destination UNI-N device deletes the label, the data packet may not be processed. In this case, the destination MAC address field of the data packet itself carries the MAC address recognizable by the destination UNI-C device, so that the data packet is used by the destination UNI-C device. Identified. When the destination UNI-N device deletes the label, the data packet may also be processed. At this time, the destination UNI-N device fills the MAC address of the destination UNI-C device it learned before to the destination MAC address of the Ethernet header of the data packet. The field makes the packet inevitably recognized by the destination UNI-C device.
  • the packet when a packet flows out of the destination UNI-N device, the packet can be identified by the destination UNI-C device, so that the destination UNI-C device can receive the data sent to it by the source UNI-C device, implementing both Communication between the transmission networks.
  • a preset MAC address that can be identified by the destination UNI-C device different from its own MAC address can be set in advance.
  • the UNI-C device After seeing the preset MAC address, the UNI-C device knows that the data packet is sent to itself, for example, directly submitting the data part of the data packet to the network layer entity.
  • the data packet sent by the source UNI-C device carries the preset MAC address, the data packet flowing out from the destination UNI-N device also carries the preset MAC address, so the source UNI-N device and the destination UNI-N device pair
  • the data packet is transparently transmitted, and only the transport network label is added, and the transport network label is deleted.
  • the transmission network can directly perform label switching without affecting communication between the UNI-C devices, and also makes the UNI-
  • the LSP between the C devices can be directly used as the outer tunnel of the virtual private network (VPN).
  • VPN virtual private network
  • a method for data transmission according to an embodiment of the present invention through the purpose of a data packet
  • the MAC address field carries a specific MAC address
  • the source UNI-C device can encapsulate the data packet, so that data can be transmitted to the transport network without being able to generate a data packet as in the related art.
  • the destination MAC address of the data packet carries the MAC address identifiable by the destination UNI-C device, so that the destination UNI-C device receives and identifies the data packet, thereby implementing the UNI.
  • -C-device communication UNI-C devices in the data network will not be blocked due to the introduction of the transport network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
  • FIG. 3 is a flow diagram of a method 300 for data transmission in accordance with an embodiment of the present invention.
  • S310 through S330 of method 300 are substantially identical to S210 through S230 of method 200.
  • an LSP establishment request is sent to the destination UNI-C device.
  • the source UNI-C device can use the path PATH message to send an LSP setup request.
  • the source UNI-C device may send an LSP establishment request carrying the MAC address of the active UNI-C device to the destination UNI-C device.
  • the destination UNI-C device receives the LSP establishment request, it can obtain the MAC address of the source UNI-C device, so that it can be used in the data packet sent to the source UNI-C device.
  • the source UNI-N device will also receive the LSP establishment request, it can also learn the MAC address of the source UNI-C device.
  • the receiving destination UNI-C device responds with an LSP establishment response that is returned by the LSP establishment request and carries the MAC address of the destination UNI-C device.
  • the UNI-C device can use the resource reservation RES V message to return the LSP to the source UNI-C device to establish a response.
  • the LSP establishment response carries the MAC address of the destination UNI-C device.
  • the source UNI-C device can obtain the MAC address of the destination UNI-C device and carry it as a destination MAC address field in the data packet, thereby transmitting a complete data packet.
  • the source UNI-C device acquires the MAC address of the destination UNI-C device for data packet encapsulation, and the source UNI-N device and the destination UNI-N device only need to use the data packet.
  • the packets flowing from the destination UNI-N device can be identified by the destination UNI-C device because the destination MAC address field carries the MAC address of the destination UNI-C device. Therefore, transparent transmission of data packets between the source UNI-C device and the destination UNI-C device can be achieved.
  • the transmission network can directly perform label switching without affecting communication between the UNI-C devices, and also makes the UNI-C
  • the LSP between devices can be directly used as the outer tunnel of the VPN.
  • the MAC address of the destination UNI-C device can be obtained in the process of establishing an LSP by using the method shown in FIG.
  • the LSP establishment request may be a PATH message
  • the LSP establishment response may be a RES V message.
  • the source UNI-C device initiates a request to establish an LSP with the destination UNI-C device, and sends a path PATH message.
  • the MAC address of the source UNI-C device can be carried in the PATH message, which can be the MAC address of the source UNI-C device or the MAC address of the local interface used by the LSP.
  • the source UNI-N device receives the PATH message, the PATH message is saved. If the PATH message carries the MAC address of the active UNI-C device, the source UNI-N device can learn the MAC address.
  • the source UNI-N device checks whether there is an LSP in the transport network that can carry the LSP between the UNI-C devices. If there is no existing LSP available in the transport network, the source UNI-N device triggers the establishment of a new LSP in the transport network, which can be called a Forwarding Adjacency-LSP (Failed Adjacency-LSP).
  • a Forwarding Adjacency-LSP Failed Adjacency-LSP
  • the establishment process of the FA-LSP can be completed as follows: The source UNI-N device initiates establishment.
  • the request of the FA-LSP sends a PATH message; the intermediate node of the transport network forwards the PATH message to the destination UNI-N device; the destination UNI-N device returns a RESV message in response to the PATH message; the intermediate node forwards the RESV message and delivers the source UNI-N equipment.
  • a FA-LSP path is established between the source UNI-N device and the destination UNI-N device.
  • the source UNI-N device directly forwards the PATH message sent by the source UNI-C device to the destination UNI-N device.
  • the destination UNI-N device sends a PATH message to the destination UNI-C device.
  • Purpose A UNI-N device can carry its own MAC address in the PATH message so that the destination UNI-C device can know its MAC address.
  • the PATH message carries the MAC address of the active UNI-C device, and learns the MAC address of the source UNI-C device. If the PATH message carries the MAC address of the destination UNI-N device, the MAC address of the destination UNI-N device is learned. The learned MAC address can be used to send a packet to the source UNI-C device on the established LSP. At the same time, the destination UNI-C device returns a RESV message in response to the PATH message, and the RESV message carries the MAC address of the destination UNI-C device, which may be the MAC address of the destination UNI-C device or the LSP interface. MAC address.
  • the destination UNI-N device can learn the MAC address of the destination UNI-C device carried in the RESV message. And, the destination UNI-N device forwards the RESV message directly to the source UNI-N device.
  • the source UNI-N device can directly send the RESV message to the source UNI-C device, so that the source UNI-C device can obtain the MAC address of the destination UNI-C device.
  • the source UNI-N device may also carry its own MAC address in the RESV message and send it to the source UNI-C device, so that the source UNI-C device obtains the MAC address of the source UNI-N device.
  • the RES V_HOP object in the message can be used to carry the MAC address.
  • the length type value TLV field is extended in the RESV_HOP object, and the MAC address is carried in the TLV field.
  • the source UNI-C device can obtain the MAC address of the destination UNI-C device and obtain the source UNI-N device during the process of establishing the LSP between the source UNI-C device and the destination UNI-C device.
  • the MAC address so that a specific MAC address can be used to encapsulate the packet for transmission to the destination UNI-C device.
  • the source UNI-N and the destination UNI-N device can directly transmit the received data packet, and the source UNI-N device and the destination UNI-N device only need to be completed. Add a transport network label and delete the transport network label.
  • the source UNI-N and the destination UNI-N device cannot directly transmit the received data packet.
  • the destination UNI-N device receives the source UNI-N.
  • the data packet sent by the device for the destination UNI-C device needs to replace the content of the destination MAC address field in the data packet with the MAC address of the destination UNI-C device.
  • the destination UNI-N device can fill the MAC of the destination UNI-C device, regardless of what content is carried in the destination MAC address field of the data packet after the destination UNI-N device deletes the transport network label. Address so that the destination UNI-C device can be identified.
  • the source UNI-N device learns the MAC address of the source UNI-C device, and the destination UNI-N device learns the MAC address of the destination UNI-C device.
  • the process of learning the MAC address may utilize the process described in connection with FIG. 4, as well as the process described in connection with FIG.
  • the UNI-N device needs to be transparently transmitted to the received UNI-N device and the destination UNI-N device. To identify the packets sent by the UNI-C device, the UNI-C device also needs to learn the MAC address of the UNI-N device.
  • the MAC address of the source UNI-N device is obtained from the source UNI-N device.
  • the source UNI-C device can obtain the MAC address of the source UNI-N device from the RESV message returned by the source UNI-N device.
  • the UNI-C device can also acquire the MAC address of the UNI-N device during other interactions with the UNI-N device. For example, during the data link verification process, information about the peer data link can be learned.
  • the source UNI-C device may receive a test TEST message carrying the MAC address of the source UNI-N device from the source UNI-N device when the data link is verified with the source UNI-N device.
  • the MAC address information can be carried by extending the TEST message of the Link Management Protocol (LMP).
  • LMP Link Management Protocol
  • the source UNI-N device sends a Start Verify BeginVerify message to the source UNI-C device, requesting data link check.
  • the source UNI-C device sends a start verification confirmation to the source UNI-N device.
  • the source UNI-N device sends a test TEST message to the source UNI-C device on the data link, and the TEST message carries the MAC address of the source UNI-N device.
  • the MAC address can be carried by extending the "3 ⁇ 4" of the TEST message, for example, adding a field carrying the MAC address.
  • the source UNI-N device returns a test status determination TestStatusAck message to the source UNI-C device.
  • the source UNI-C device sends an End Check EndVerify message to the source UNI-N device, indicating that the check is over.
  • the source UNI-N device sends an end check confirmation to the source UNI-C device.
  • the EndVerifyAck message is answered.
  • the source UNI-C device can obtain the MAC address of the source UNI-N device through the TEST message during the data link verification process.
  • the source UNI-C device can cause the source UNI-N device to obtain the MAC address of the source UNI-C device through the TEST message by carrying its own MAC address in the TEST message.
  • the UNI-N device and the destination UNI-C device can also obtain the MAC address of the other party through the data chain saw verification process.
  • the MAC address can be carried in the TEST message and sent to the other party.
  • the data packet sent by the source UNI-C device to the destination UNI-C device can be transmitted in the manner shown in FIG.
  • the destination UNI-N device when the data packet is transmitted on the LSP and reaches the destination UNI-N device, the destination UNI-N device replaces the MAC address of the source UNI-N device in the destination MAC address field of the data packet when the data packet is output.
  • the MAC address of the UNI-C device for the purpose. In this way, the destination UNI-C device can identify the data packets transmitted on the LSP, thereby enabling communication between the UNI-C devices.
  • the source UNI-C device may encapsulate the data packet by using the MAC address of the source UNI-N device obtained by interacting with the source UNI-N device on the data link, so that the data The packet can be successfully transmitted on the LSP.
  • the destination UNI-C device can identify the data packet, so that the UNI-C device can communicate through the transmission network, and the data network and the transmission network can be realized.
  • FIG. 7 the case where the source UNI-C device encapsulates the data packet with the MAC address of the source UNI-N device as the destination MAC address and transmits the destination UNI-N device to replace the destination MAC address field is shown.
  • A) shows that the source UNI-C device and the destination UNI-C device are in the Ethernet
  • B) shows that the source UNI-C device and the destination UNI-C device are in the virtual local area network (Virtual Local-area Network, The case of VLAN). Only the contents carried in the destination MAC address field are shown in the Ethernet header of the packet of FIG.
  • the source UNI-C device and the source UNI-N device On the link between the source UNI-C device and the source UNI-N device, the source UNI-C device and the source UNI-N device have MAC addresses of MAC1 and MAC2, respectively. On the link between the destination UNI-N device and the destination UNI-C device, the destination UNI-N device and the destination UNI-C device respectively have There are MAC addresses for MAC3 and MAC4.
  • the data packet sent by the source UNI-C device carries MAC2 in the destination MAC address field.
  • the source UNI-N device receives the data packet, it adds a transport network label to the data packet and then forwards it to the destination UNI-N device.
  • the UNI-N device removes the transport network label, replaces the MAC2 carried in the destination MAC address field with MAC4, and then sends it to the destination UNI-C device.
  • the destination UNI-C device recognizes the data packet and performs subsequent operations.
  • the method 800 includes: In S810, when receiving a data packet sent by the source UNI-C device to the destination UNI-C device on the LSP, deleting the transport network label carried by the data packet, where the LSP is the source The UNI-C device and the destination UNI-C device establish an LSP via the source UNI-N device and the destination UNI-N device; in S820, when the destination MAC address field of the data packet does not carry the MAC address identifiable by the destination UNI-C device At the time, the destination MAC address of the destination UNI-C device is filled in the destination MAC address field of the data packet; in S830, the data packet carrying the MAC address of the destination UNI-C device is transmitted to the destination UNI-C device.
  • method 800 can be performed by a destination UNI-N device.
  • the destination UNI-N device When the data packet flows out of the destination UNI-N device, if the data packet does not carry the MAC address identifiable by the destination UNI-C device, the destination UNI-N device fills the destination MAC address field of the data packet with the MAC address of the destination UNI-C device. The address, in this way, ensures that the destination UNI-C device receives and identifies the data packet, thereby enabling communication between the source UNI-C device and the destination UNI-C device.
  • the source UNI-N device receives the data packet sent by the source UNI-C device from the data network side, adds the transport network label to the data packet, sends it to the LSP of the transport network, and forwards it to the destination UNI-N device. Since the data packet will flow out of the transport network, the destination UNI-N device deletes the transport network label.
  • the MAC address identifiable by the destination UNI-C device may be the MAC address of the destination UNI-C device or a preset MAC address. If the packet does not carry the identifiable MAC address of the destination UNI-C device, the destination UNI-N device is replaced with the MAC address of the destination UNI-C device.
  • the destination UNI-N device obtains the MAC address of the destination UNI-C device. It can be obtained during the process of establishing an LSP. It can also be obtained during the data link verification process. It can also be obtained in other interaction processes. For related content, refer to the above. The contents described in conjunction with FIG. 4 and FIG. 6 are not described herein again in order to avoid redundancy.
  • the destination UNI-N device when a data packet flows out from the transport network via the LSP, when the destination MAC address of the data packet cannot be identified by the destination UNI-C device, the destination UNI-N device is in the data packet.
  • the destination MAC address field is filled with the MAC address of the destination UNI-C device.
  • the destination UNI-C device can identify the data packet, thus enabling communication between UNI-C devices.
  • the UNI-C device in the data network does not. Communication will be blocked due to the introduction of the transmission network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
  • S910 to S930 of method 900 are substantially the same as S810 to S830 of method 800.
  • the MAC address of the destination UNI-C device is obtained from the destination UNI-C device.
  • the destination UNI-N device can obtain the MAC address of the destination UNI-C device during the process of establishing the LSP, during the data link verification process, or other interaction process with the destination UNI-C device.
  • the destination MAC address field of the data packet can be filled with the MAC address of the acquired destination UNI-C device.
  • the destination UNI-N device may receive a test TEST message carrying the MAC address of the destination UNI-C device from the destination UNI-C device when the data link is verified with the destination UNI-C device.
  • the message of interaction is basically the same as that shown in FIG. 6.
  • the source UNI-N device of FIG. 6 is replaced with the destination UNI-C device, and the source UNI-C device of FIG. 6 is replaced with the target UNI. -N device can be.
  • the MAC address of the destination UNI-N device is transmitted to the destination UNI-C device.
  • the destination UNI-N device can also inform its destination MAC address to the destination UNI-C device, so that when the destination UNI-C device sends a data packet to the source UNI-C device, The data packet is encapsulated by filling the MAC address of the destination UNI-N device in the data packet.
  • the destination UNI-N device can ensure that the data packet flowing out from the destination UNI-N device can be used by the destination UNI-C by acquiring the MAC address of the destination UNI-C device and using it. Device identification, thereby enabling communication between the source UNI-C device and the destination UNI-C device.
  • FIGS. 10 through 14 a structural block diagram of a network device according to an embodiment of the present invention will be described with reference to FIGS. 10 through 14.
  • FIG. 10 is a structural block diagram of a network device 1000 according to an embodiment of the present invention.
  • the network device 1000 includes an establishing module 1010, a generating module 1020, and a first sending module 1030.
  • the setup module 1010 can be configured to establish an LSP with the destination UNI-N device and the destination UNI-N device with the destination UNI-C device.
  • the generating module 1020 can be configured to generate a data packet that is sent to the destination UNI-C device and carries a specific MAC address in the destination MAC address field.
  • the first sending module 1030 can be configured to send a data packet on the LSP, so that when the data packet is output from the destination UNI-N device, the MAC address identifiable by the destination UNI-C device is carried in the destination MAC address field.
  • the foregoing operations and/or functions of the module 1010, the generating module 1020, and the first sending module 1030 may refer to S210 to S230 of the foregoing method 200. To avoid repetition, details are not described herein.
  • the network device can encapsulate the data packet by carrying the specific MAC address in the destination MAC address field of the data packet, so that the data can be sent to the transmission network, and the data packet cannot be generated as in the related art.
  • the destination MAC address of the data packet carries the MAC address identifiable by the destination UNI-C device, so that the destination UNI-C device receives and identifies the data packet, thereby implementing the UNI.
  • -C-device communication UNI-C devices in the data network will not be blocked due to the introduction of the transport network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
  • FIG. 11 is a block diagram showing the structure of a network device 1100 according to an embodiment of the present invention.
  • the establishing module 1110, the generating module 1120, and the first sending module 1130 of the network device 1100 are substantially the same as the establishing module 1010, the generating module 1020, and the first sending module 1030 of the network device 1000.
  • the destination MAC address of the UNI-C device can be the MAC address of the destination UNI-C device.
  • the MAC address that can be identified by the UNI-C device may also be a preset MAC address.
  • the generating module 1120 may be configured to generate a data packet that is sent to the destination UNI-C device and carries the preset MAC address in the destination MAC address field.
  • the network device 1100 may further include a second transmitting module 1112 and a receiving module 1114.
  • the second sending module 1112 is configured to send an LSP establishment request to the destination UNI-C device when the LSP is established.
  • the receiving module 1114 can be configured to receive an LSP setup response that carries the MAC address of the destination UNI-C device returned by the destination UNI-C device in response to the LSP establishment request.
  • the generating module 1120 can be configured to generate a data packet that is sent to the destination UNI-C device and that carries the MAC address of the destination UNI-C device in the destination MAC address field.
  • the second sending module 1112 can be used to set the destination UNI-C
  • the LSP establishment request carrying the MAC address of the network device 1100 is sent to enable the source UNI-N device or the destination UNI-C device to learn the MAC address of the network device 1100.
  • the LSP establishment request may be a path PATH message
  • the LSP establishment response may be a resource reservation RESV message
  • the foregoing and other operations and/or functions of the second sending module 1112, the receiving module 1114, and the generating module 1020 may refer to the related content in the foregoing method 200 and S312 and S314 in the method 300. To avoid repetition, details are not described herein again.
  • the network device provided by the embodiment of the present invention may carry the preset MAC address or the obtained MAC address of the destination UNI-C device in the destination MAC address field of the data packet for encapsulation, and the source UNI-N device and the destination UNI-N device only need to be encapsulated.
  • the data packet flowing out from the destination UNI-N device can be identified by the destination UNI-C device. Therefore, transparent transmission of data packets between the source UNI-C device and the destination UNI-C device can be achieved.
  • the transmission network can directly perform label switching without affecting communication between the UNI-C devices, and the LSP between the UNI-C devices can be directly used as The outer tunnel of the VPN is used.
  • FIG. 12 is a block diagram showing the structure of a network device 1200 according to an embodiment of the present invention.
  • the establishing module 1210 of the network device 1200, the generating module 1220, and the first sending module 1230 are substantially the same as the establishing module 1010, the generating module 1020, and the first sending module 1030 of the network device 1000.
  • Network device 1200 may also include an acquisition module 1240, in accordance with an embodiment of the present invention.
  • the obtaining module 1240 can be configured to obtain the MAC address of the source UNI-N device from the source UNI-N device.
  • the generating module 1220 may be configured to generate a data packet that is sent to the destination UNI-C device and that carries the MAC address of the source UNI-N device in the destination MAC address field, where the destination UNI-N device will source the UNI when outputting the data packet.
  • the MAC address of the -N device is replaced with the MAC address of the destination UNI-C device.
  • the obtaining module 1240 is operable to receive, from the source UNI-N device, a test TEST message carrying the MAC address of the source UNI-N device when the data link is verified with the source UNI-N device.
  • the foregoing and other operations and/or functions of the obtaining module 1240 and the generating module 1220 may refer to S512, S520, and S530 of the foregoing method 500. To avoid repetition, details are not described herein again.
  • the MAC address of the source UNI-N device obtained by the interaction encapsulates the data packet so that the data packet can be successfully transmitted on the LSP.
  • the destination UNI-C device can identify the data packet, so that the UNI-C device can communicate through the transmission network, and the data network and the transmission network are integrated.
  • FIG. 13 is a block diagram showing the structure of a network device 1300 according to an embodiment of the present invention.
  • Network device 1300 includes a delete module 1310, a fill module 1320, and a send module 1330.
  • the deleting module 1310 is configured to: when receiving the data packet sent by the source UNI-C device to the destination UNI-C device on the LSP, delete the transport network label carried by the data packet, where the LSP is the source UNI-C device and the destination UNI-C The LSP established by the device via the source UNI-N device and the network device 1300.
  • the padding module 1320 can be configured to fill the MAC address of the destination UNI-C device in the destination MAC address field of the data packet when the destination MAC address field of the data packet does not carry the MAC address recognizable by the destination UNI-C device.
  • the sending module 1330 can be configured to send a data packet carrying the MAC address of the destination UNI-C device to the destination UNI-C device.
  • the network device when a data packet flows out from the transmission network via the LSP, when the destination MAC address of the data packet cannot be identified by the destination UNI-C device, the network device may be in the destination MAC address field of the data packet.
  • the MAC address of the destination UNI-C device is filled in, so that the destination UNI-C device can identify the data packet, so that communication between the UNI-C devices can be realized, and the UNI-C device in the data network is not introduced by the transmission network. Communication is blocked. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
  • FIG. 14 is a block diagram showing the structure of a network device 1400 according to an embodiment of the present invention.
  • the deleting module 1410, the filling module 1420, and the transmitting module 1430 of the network device 1400 are substantially the same as the deleting module 1310, the filling module 1320, and the transmitting module 1330 of the network device 1300.
  • the destination UNI-C device can identify the MAC address of the destination UNI-C device or the default MAC address.
  • Network device 1400 may also include an acquisition module 1440, in accordance with an embodiment of the present invention.
  • the obtaining module 1440 can be configured to obtain the MAC address of the destination UNI-C device from the destination UNI-C device.
  • the acquisition module 1440 can be used to verify the data link with the destination UNI-C device, from the purpose
  • the UNI-C device receives a test TEST message carrying the MAC address of the destination UNI-C device.
  • the network device provided by the embodiment of the present invention can ensure that the data packet flowing out from the destination UNI-N device can be identified by the destination UNI-C device by obtaining the MAC address of the destination UNI-C device, thereby implementing the source UNI-C device and the destination UNI. -C communication between devices.
  • the system 1500 includes a source user network interface client side UNI-C device 1510, a source user network interface network side UNI-N device 1520, a destination UNI-N device 1530, and a source UNI-C device 1540.
  • the source UNI-C device 1510 can be used to establish an LSP with the destination UNI-N device 1520 and the destination UNI-N device 1530 with the destination UNI-C device 1540; generate a specific carry in the destination MAC address field to the destination UNI-C device 1540.
  • a packet of a MAC address; a packet is sent on the LSP.
  • the source UNI-N device 1520 can be used to receive packets sent by the source UNI-C device 1510 and add transport network labels to the data packets.
  • the destination UNI-N device 1530 can be configured to delete the transport network label when receiving the data packet forwarded by the source UNI-N device 1520; when the destination MAC address field of the data packet does not carry the MAC address recognizable by the destination UNI-C device 1540 Filling the MAC address of the destination UNI-C device 1540 in the destination MAC address field of the data packet, and transmitting the data packet carrying the MAC address of the destination UNI-C device 1540 to the destination UNI-C device 1540; when the destination MAC address field of the data packet When the MAC address identifiable by the destination UNI-C device 1540 is carried, the data packet is transmitted to the destination UNI-C device 1540.
  • the UNI-C device 1540 can be used to receive packets forwarded by the destination UNI-N device 1530.
  • the destination UNI-C device 1540 identifiable MAC address is the MAC address of the destination UNI-C device 1540 or a preset MAC address.
  • the above and other functions and/or operations of the source UNI-C device 1510, the source UNI-N device 1520, the destination UNI-N device 1530, and the source UNI-C device 1540 may be referred to the above description in conjunction with FIGS. 2 through 9, in order to avoid Repeat, no longer repeat them here.
  • the source UNI-C device can encapsulate the data packet by carrying a specific MAC address in the destination MAC address field of the data packet, so that data can be sent to the transmission network without A packet cannot be generated as in the related art.
  • the destination MAC address of the destination UNI-C device is carried in the destination MAC address field of the data packet, so that the destination UNI-C device receives and identifies the data packet, thereby implementing UNI-C.
  • Communication between devices, UNI-C devices in the data network will not be blocked due to the introduction of the transport network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
  • RAM random access memory
  • ROM read only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM or technology Any other form of storage medium known.

Landscapes

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

Abstract

The embodiments of the present invention provide a method, network equipment and system for data transmission, wherein the method includes: establishing an Label Switched Path (LSP) to a destination UNI-Client (C) equipment via a source User Network Interface (UNI)–Network (N)equipment and a destination UNI-N equipment; generating a data packet which is transmitted to the destination UNI-C equipment and carries a certain Media Access Control (MAC) address in the destination MAC address field; transmitting the data packet on the LSP, so as to enable the data packet to carry the MAC address which can be identified by the destination UNI-C equipment when the data packet is outputted from the destination UNI-N equipment. By carrying a certain MAC address in the destination MAC address field of the data packet, the source UNI-C equipment can encapsulate the data packet. As the data packet carries the MAC address which can be identified by the destination UNI-C equipment when the data packet outflows from the transmission network, the destination UNI-C equipment can identify the data packet, thereby achieving the communication between the UNI-C equipments. Therefore, the UNI-C equipment can use the transmission network to perform efficient data transmission, thus achieving the convergence of transmission network and data network.

Description

用于数据传输的方法、 网络设备和系统 技术领域  Method, network device and system for data transmission
本发明涉及网络通信领域, 并且更具体地, 涉及网络通信领域中用于数 据传输的方法、 网络设备和系统。 背景技术  The present invention relates to the field of network communications and, more particularly, to methods, network devices and systems for data transmission in the field of network communications. Background technique
在传统的传输网络中, 业务的建立都是通过静态指定的。 随着第三代移 动通信、 分组业务、 宽带业务的不断发展, 业务的不确定性和不可预见性逐 渐增长, 对网络带宽提出了更高的要求, 静态配置业务的传统方式越来越不 能满足网络应用的需要, 于是产生了通用多协议标记交换协议(Generalized Multi-Protocol Label Switching, GMPLS )。  In a traditional transport network, the establishment of services is statically specified. With the continuous development of the third generation of mobile communication, packet services, and broadband services, the uncertainty and unpredictability of services are gradually increasing, and higher requirements are imposed on network bandwidth. The traditional way of statically configuring services is increasingly unable to meet the requirements. The need for network applications has resulted in the Generalized Multi-Protocol Label Switching (GMPLS).
GMPLS 可以视为由传送平面、 控制平面和管理平面三个平面组成。 控 制平面主要负责控制网络的呼叫连接,通过信令交换完成传送平面的动态控 制; 管理平面将传送平面、 控制平面以及系统作为一个整体进行管理, 实现 功能的协调; 传送平面负责业务的传送, 但是其交换动作是在管理平面和控 制平面的作用下进行的。 与传统的光网络相比, GMPLS 最突出的特征是在 传送网中引入了独立的控制平面; 而与传统的路由器相比, GMPLS 最突出 的特征是在数据网络中引入了传输网, 能够提供速度更快、 带宽更大、 性能 更高的端到端服务。  GMPLS can be considered to consist of three planes: the transport plane, the control plane, and the management plane. The control plane is mainly responsible for controlling the call connection of the network, and completes the dynamic control of the transport plane through signaling exchange; the management plane manages the transport plane, the control plane and the system as a whole, and realizes the coordination of functions; the transport plane is responsible for the transmission of services, but The switching action is performed under the influence of the management plane and the control plane. Compared with traditional optical networks, the most prominent feature of GMPLS is the introduction of independent control planes in the transport network. Compared with traditional routers, the most prominent feature of GMPLS is the introduction of transport networks in data networks. Faster, more bandwidth, and higher performance end-to-end services.
在 GMPLS网络体系中, 定义了用户网络接口 ( User Network Interface , UNI )。 UNI是用户设备到网络的接口, 通过 UNI向用户设备提供统一的网 络接入方式。 用户设备需要满足 UNI接口规范, 才能接入 GMPLS网络体系 下的传输网, 从而利用传输网的巨大传输能力。 例如, 对于数据通信网络中 的设备例如路由器而言, 为了利用传输网的巨大传输能力, 就需要与传输网 进行对接, 这样就需要实现 UNI 接口。 UNI 接口两端分别是 UNI-C ( UNI-Client, UNI客户侧 )设备和 UNI-N ( UNI-Network, UNI网络侧 )设 备, UNI-C设备是希望利用传输网来传输数据的客户侧设备, UNI-N设备是 UNI-C设备接入传输网的入口处的传输网设备。  In the GMPLS network system, a User Network Interface (UNI) is defined. The UNI is the interface of the user equipment to the network, and provides a unified network access mode to the user equipment through the UNI. The user equipment needs to meet the UNI interface specification to access the transmission network under the GMPLS network system, thereby utilizing the huge transmission capacity of the transmission network. For example, for a device in a data communication network, such as a router, in order to utilize the huge transmission capacity of the transmission network, it needs to be connected to the transmission network, so that the UNI interface needs to be implemented. The UNI interface is a UNI-C (UNI-Client, UNI client side) device and a UNI-N (UNI-Network, UNI network side) device. The UNI-C device is a client-side device that wants to use the transmission network to transmit data. The UNI-N device is a transport network device at the entrance of the UNI-C device access transmission network.
在相关技术中, IP ( Internet Protocol , 互联网协议 ) 网络中的 UNI-C设 备可以经由传输网与对端的 UNI-C设备建立标签交换路径( Label Switching Path, LSP ), 这样 UNI-C设备可以经由 LSP利用传输网来进行高效的数据 传输。 In the related art, a UNI-C device in an IP (Internet Protocol) network can establish a label switching path with a UNI-C device at the opposite end via a transport network ( Label Switching) Path, LSP), such that the UNI-C device can utilize the transport network for efficient data transmission via the LSP.
然而, 目前 GMPLS协议在控制层面关注于建立端到端的链路级传送路 径, 处于数据网中的 UNI-C设备即便与对端的数据网中的 UNI-C设备建立 了 LSP, 也不能进行有效的数据通信。原因在于, 由于 UNI-C设备需要封装 数据包才能向外发送数据, 但是 UNI-C设备在与对端 UNI-C设备建立 LSP 过程中不能得知对端 UNI-C设备的媒体接入控制 (Media Access Control, MAC )地址, 从而使得 UNI-C设备不能封装数据包, 故不能使用建立好的 LSP。哪怕 UNI-C设备发出了数据包,如果对端 UNI-C设备不识别该数据包, 两者之间的通信仍然无法进行。 发明内容  However, at present, the GMPLS protocol focuses on establishing an end-to-end link-level transmission path. The UNI-C device in the data network cannot perform effective LSP even if it establishes an LSP with the UNI-C device in the peer data network. data communication. The reason is that the UNI-C device needs to encapsulate the data packet to send the data out, but the UNI-C device cannot know the media access control of the peer UNI-C device during the process of establishing the LSP with the peer UNI-C device. The Media Access Control (MAC) address, so that the UNI-C device cannot encapsulate the data packet, and the established LSP cannot be used. Even if the UNI-C device sends a packet, if the peer UNI-C device does not recognize the packet, communication between the two cannot be performed. Summary of the invention
本发明实施例提供了用于数据传输的方法、 网络设备和系统, 使得 Embodiments of the present invention provide a method, network device, and system for data transmission, such that
UNI-C设备可以利用传输网进行数据传输,从而可以实现传输网和数据网的 融合, 数据网中的 UNI-C设备不会由于传输网的引入而不能实现通信。 UNI-C equipment can use the transmission network for data transmission, so that the transmission network and the data network can be fused. The UNI-C equipment in the data network will not be able to communicate due to the introduction of the transmission network.
一方面, 本发明实施例提供了一种用于数据传输的方法, 包括: 与目的 UNI-C设备建立经由源 UNI-N设备和目的 UNI-N设备的 LSP; 生成向目的 UNI-C设备发送的在目的 MAC地址字段携带特定 MAC地址的数据包; 在 LSP上发送所述数据包, 以使数据包从目的 UNI-N设备输出时在目的 MAC 地址字段中携带有目的 UNI-C设备可识别的 MAC地址。  In one aspect, an embodiment of the present invention provides a method for data transmission, including: establishing an LSP with a destination UNI-N device and a destination UNI-N device with a destination UNI-C device; generating a transmission to a destination UNI-C device The data packet carrying the specific MAC address in the destination MAC address field; the data packet is sent on the LSP, so that the destination UNI-C device carries the UNI-C device in the destination MAC address field when the data packet is output from the destination UNI-N device. MAC address.
另一方面, 本发明实施例提供了一种用于数据传输的方法, 包括: 当收 到源 UNI-C设备在 LSP上向目的 UNI-C设备发送的数据包时, 删除数据包 携带的传输网标签, 其中 LSP是源 UNI-C设备和目的 UNI-C设备经由源 UNI-N设备和目的 UNI-N设备建立的 LSP; 当数据包的目的 MAC地址字段 未携带目的 UNI-C设备可识别的 MAC地址时, 在数据包的目的 MAC地址 字段填充目的 UNI-C设备的 MAC地址; 向目的 UNI-C设备发送携带目的 UNI-C设备的 MAC地址的数据包。  On the other hand, an embodiment of the present invention provides a method for data transmission, including: when receiving a data packet sent by a source UNI-C device to a destination UNI-C device on an LSP, deleting a transmission carried by the data packet a network label, where the LSP is an LSP established by the source UNI-C device and the destination UNI-C device via the source UNI-N device and the destination UNI-N device; when the destination MAC address field of the data packet does not carry the destination UNI-C device, the LSP is identifiable The MAC address of the packet is filled with the MAC address of the destination UNI-C device in the destination MAC address field of the packet; the packet carrying the MAC address of the destination UNI-C device is sent to the destination UNI-C device.
再一方面, 本发明实施例提供了一种网络设备, 包括: 建立模块, 用于 与目的 UNI-C设备建立经由源 UNI-N设备和目的 UNI-N设备的 LSP; 生成 模块, 用于生成向目的 UNI-C设备发送的在目的 MAC地址字段携带特定 MAC地址的数据包; 第一发送模块, 用于在 LSP上发送数据包, 以使数据 包从目的 UNI-N设备输出时在目的 MAC地址字段中携带有目的 UNI-C设 备可识别的 MAC地址。 In a further aspect, the embodiment of the present invention provides a network device, including: an establishing module, configured to establish an LSP with a source UNI-N device and a destination UNI-N device with a destination UNI-C device; and generate a module, configured to generate a data packet that is sent to the destination UNI-C device and carries a specific MAC address in the destination MAC address field. The first sending module is configured to send a data packet on the LSP to enable the data. When the packet is output from the destination UNI-N device, the destination MAC address field carries the MAC address identifiable by the destination UNI-C device.
又一方面, 本发明实施例提供了一种网络设备, 包括: 删除模块, 用于 当收到源 UNI-C设备在 LSP上向目的 UNI-C设备发送的数据包时, 删除所 数据包携带的传输网标签, 其中 LSP是源 UNI-C设备和目的 UNI-C设备经 由源 UNI-N设备和网络设备建立的 LSP; 填充模块, 用于当数据包的目的 MAC地址字段未携带目的 UNI-C设备可识别的 MAC地址时, 在数据包的 目的 MAC地址字段填充目的 UNI-C设备的 MAC地址; 发送模块, 用于向 目的 UNI-C设备发送携带目的 UNI-C设备的 MAC地址的数据包。  In another aspect, the embodiment of the present invention provides a network device, including: a deleting module, configured to: when receiving a data packet sent by a source UNI-C device to a destination UNI-C device on an LSP, deleting the data packet carrying a transport network label, where the LSP is an LSP established by the source UNI-C device and the destination UNI-C device via the source UNI-N device and the network device; a padding module, configured to: when the destination MAC address field of the data packet does not carry the destination UNI- The MAC address of the destination UNI-C device is filled in the destination MAC address field of the data packet, and the sending module is configured to send the data carrying the MAC address of the destination UNI-C device to the destination UNI-C device. package.
又一方面, 本发明实施例提供了一种用于数据传输的系统, 包括源用户 网络接口客户侧 UNI-C设备、 源用户网络接口网络侧 UNI-N设备、 目的 UNI-N设备和源 UNI-C设备。 其中, 源 UNI-C设备用于与目的 UNI-C设备 建立经由源 UNI-N设备和目的 UNI-N设备的 LSP; 生成向目的 UNI-C设备 发送的在目的 MAC地址字段携带特定 MAC地址的数据包; 在 LSP上发送 数据包。 源 UNI-N设备用于接收源 UNI-C设备发送的数据包, 并在数据包 上添加传输网标签。 目的 UNI-N设备用于当收到源 UNI-N设备转发的数据 包时, 删除传输网标签; 当数据包的目的 MAC地址字段未携带目的 UNI-C 设备可识别的 MAC地址时,在数据包的目的 MAC地址字段填充目的 UNI-C 设备的 MAC地址,向目的 UNI-C设备发送携带目的 UNI-C设备的 MAC地 址的数据包; 当数据包的目的 MAC地址字段携带目的 UNI-C设备可识别的 MAC地址时, 向目的 UNI-C设备发送数据包。 目的 UNI-C设备用于接收目 的 UNI-N设备转发的数据包。  In another aspect, an embodiment of the present invention provides a system for data transmission, including a source user network interface client side UNI-C device, a source user network interface network side UNI-N device, a destination UNI-N device, and a source UNI. -C equipment. The source UNI-C device is configured to establish an LSP with the source UNI-N device and the destination UNI-N device with the destination UNI-C device, and generate a specific MAC address that is sent to the destination UNI-C device in the destination MAC address field. Packet; sends a packet on the LSP. The source UNI-N device is configured to receive a data packet sent by the source UNI-C device, and add a transport network label to the data packet. The destination UNI-N device is configured to: when receiving the data packet forwarded by the source UNI-N device, delete the transport network label; when the destination MAC address field of the data packet does not carry the MAC address identifiable by the destination UNI-C device, the data is in the data. The destination MAC address field of the packet is filled with the MAC address of the destination UNI-C device, and the data packet carrying the MAC address of the destination UNI-C device is sent to the destination UNI-C device; when the destination MAC address field of the data packet carries the destination UNI-C device When the MAC address is recognized, the packet is sent to the destination UNI-C device. Purpose The UNI-C device is used to receive packets forwarded by the destination UNI-N device.
根据本发明实施例提供的上述技术方案, 通过在数据包的目的 MAC地 址字段携带特定 MAC地址, 源 UNI-C设备能够进行数据包的封装, 从而可 以向传输网发送数据, 而不像相关技术那样无法生成数据包。 当数据包经由 LSP从传输网流出时, 在数据包的目的 MAC地址字段中携带有目的 UNI-C 设备可识别的 MAC地址, 这样 UNI-C设备可以识别该数据包, 从而可以实 现 UNI-C设备之间的通信, 数据网中的 UNI-C设备不会由于传输网的引入 而通信受阻。 因此, UNI-C设备可以利用传输网进行高效的数据传输, 使得 传输网和数据网的融合得以实现。 附图说明 According to the foregoing technical solution provided by the embodiment of the present invention, by carrying a specific MAC address in a destination MAC address field of a data packet, the source UNI-C device can encapsulate the data packet, so that data can be sent to the transmission network, unlike related technologies. That way, the packet cannot be generated. When the data packet flows out of the transport network via the LSP, the destination MAC address field of the data packet carries the MAC address identifiable by the destination UNI-C device, so that the UNI-C device can identify the data packet, thereby implementing the UNI-C. Communication between devices, UNI-C devices in the data network will not be blocked due to the introduction of the transport network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例中所需要 使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的 一些实施例, 对于本领域技术人员来讲, 在不付出创造性劳动的前提下, 还 可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can obtain other drawings according to these drawings without paying any creative work.
图 1是本发明实施例基于的网络环境的例子的示意图。  1 is a schematic diagram of an example of a network environment on which an embodiment of the present invention is based.
图 2是根据本发明实施例的用于数据传输的方法的流程图。  2 is a flow chart of a method for data transmission in accordance with an embodiment of the present invention.
图 3是根据本发明实施例的用于数据传输的另一方法的流程图。  3 is a flow chart of another method for data transmission in accordance with an embodiment of the present invention.
图 4是根据本发明实施例的在建立 UNI-C设备之间的 LSP的过程中消 息交互的例子的示意图。  4 is a diagram showing an example of message interaction in the process of establishing an LSP between UNI-C devices according to an embodiment of the present invention.
图 5是根据本发明实施例的用于数据传输的再一方法的流程图。  5 is a flow chart of still another method for data transmission in accordance with an embodiment of the present invention.
图 6是根据本发明实施例的获取源 UNI-N设备的 MAC地址的消息交互 的例子的示意图。  6 is a diagram showing an example of message interaction for acquiring a MAC address of a source UNI-N device according to an embodiment of the present invention.
图 7是利用获取的源 UNI-N设备的 MAC地址进行数据传输的例子的示 意图。  Fig. 7 is a diagram showing an example of data transmission using the acquired MAC address of the source UNI-N device.
图 8是根据本发明实施例的用于数据传输的又一方法的流程图。  8 is a flow chart of still another method for data transmission in accordance with an embodiment of the present invention.
图 9是根据本发明实施例的用于数据传输的又一方法的流程图。  9 is a flow chart of still another method for data transmission in accordance with an embodiment of the present invention.
图 10是根据本发明实施例的网络设备的结构框图。  FIG. 10 is a structural block diagram of a network device according to an embodiment of the present invention.
图 11是根据本发明实施例的另一网络设备的结构框图。  11 is a block diagram showing the structure of another network device according to an embodiment of the present invention.
图 12是根据本发明实施例的再一网络设备的结构框图。  FIG. 12 is a structural block diagram of still another network device according to an embodiment of the present invention.
图 13是根据本发明实施例的又一网络设备的结构框图。  FIG. 13 is a structural block diagram of still another network device according to an embodiment of the present invention.
图 14是根据本发明实施例的又一网络设备的结构框图。  FIG. 14 is a structural block diagram of still another network device according to an embodiment of the present invention.
图 15是根据本发明实施例的用于数据传输的系统的结构框图。 具体实施方式  Figure 15 is a block diagram showing the structure of a system for data transmission according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不是 全部实施例。 基于本发明中的所述实施例, 本领域技术人员在没有做出创造 性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions of the embodiments of the present invention will be clearly and completely described in the following description of the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the described embodiments of the present invention without creative work shall fall within the protection scope of the present invention.
首先, 结合图 1描述本发明实施例利用的网络环境的例子的示意图。 数据网中的源 UNI-C 设备希望通过传输网向另一数据网中的目的 UNI-C设备发送数据。 源 UNI-C设备发送的数据包通过传输网边缘处的源 UNI-N设备进入传输网, 通过传输网另一侧边缘处的目的 UNI-N设备流出 传输网。 在源 UNI-C设备和目的 UNI-C设备之间建立有 LSP2。 在该 LSP2 的建立过程中,利用了源 UNI-N设备和目的 UNI-N设备之间的 LSP1。 LSP1 可以是原本就存在于源 UNI-N设备和目的 UNI-N设备之间的 LSP , 也可以 是 LSP2建立过程中在源 UNI-N设备和目的 UNI-N设备之间触发而新建立 的 LSP。 First, a schematic diagram of an example of a network environment utilized by an embodiment of the present invention will be described with reference to FIG. The source UNI-C device in the data network wishes to pass the transmission network to another data network. The UNI-C device sends data. The data packet sent by the source UNI-C device enters the transmission network through the source UNI-N device at the edge of the transmission network, and flows out of the transmission network through the destination UNI-N device at the other edge of the transmission network. An LSP2 is established between the source UNI-C device and the destination UNI-C device. During the establishment of the LSP2, LSP1 between the source UNI-N device and the destination UNI-N device is utilized. LSP1 may be an LSP originally existing between the source UNI-N device and the destination UNI-N device, or may be a newly established LSP triggered between the source UNI-N device and the destination UNI-N device during LSP2 establishment. .
在相关技术中, 源 UNI-C设备由于不知道目的 UNI-C设备的 MAC地 址, 因此无法封装数据包, 从而无法发出数据。 哪怕发出数据, 如果目的 UNI-C设备无法识别, 也不能进行通信。 利用本发明实施例提出的方法则可 以解决这些问题, 使得源 UNI-C设备可以经由传输网与目的 UNI-C设备进 行通信。  In the related art, since the source UNI-C device does not know the MAC address of the destination UNI-C device, it cannot encapsulate the data packet, and thus cannot transmit data. Even if data is sent, communication cannot be performed if the destination UNI-C device does not recognize it. These problems can be solved by the method proposed by the embodiment of the present invention, so that the source UNI-C device can communicate with the destination UNI-C device via the transmission network.
下面, 结合图 2描述根据本发明实施例的用于数据传输的方法 200。 如图 2所示, 方法 200包括: 在 S210中, 与目的 UNI-C设备建立经由 源 UNI-N设备和目的 UNI-N设备的 LSP; 在 S220中, 生成向目的 UNI-C 设备发送的在目的 MAC地址字段携带特定 MAC地址的数据包;在 S230中, 在 LSP上发送数据包, 以使数据包从目的 UNI-N设备输出时在目的 MAC 地址字段中携带有目的 UNI-C设备可识别的 MAC地址。  Next, a method 200 for data transmission according to an embodiment of the present invention will be described with reference to FIG. As shown in FIG. 2, the method 200 includes: in S210, establishing an LSP with a destination UNI-N device and a destination UNI-N device with a destination UNI-C device; and in S220, generating a transmission to the destination UNI-C device The destination MAC address field carries the data packet of the specific MAC address; in S230, the data packet is sent on the LSP, so that when the data packet is output from the destination UNI-N device, the destination UNI-C device carries the destination UNI-C device to be recognized. MAC address.
例如, 方法 200可以由源 UNI-C设备执行。 源 UNI-C设备可以利用相 关技术提供的方式与目的 UNI-C设备建立 LSP , 该 LSP经由源 UNI-N设备 和目的 UNI-N设备。 源 UNI-C设备可以利用特定 MAC地址来封装数据包, 并将该数据包发送出去。 数据包经由 LSP从目的 UNI-N设备流出时, 数据 包由于在目的 MAC地址字段携带目的 UNI-C设备可识别的 MAC地址, 使 得目的 UNI-C设备接收并识别该数据包, 从而可以实现源 UNI-C设备与目 的 UNI-C设备之间的通信。  For example, method 200 can be performed by a source UNI-C device. The source UNI-C device can establish an LSP with the destination UNI-C device in the manner provided by the related technology, the LSP passing through the source UNI-N device and the destination UNI-N device. The source UNI-C device can encapsulate the packet with a specific MAC address and send the packet out. When the data packet flows out of the destination UNI-N device via the LSP, the data packet carries the MAC address identifiable by the destination UNI-C device in the destination MAC address field, so that the destination UNI-C device receives and identifies the data packet, thereby implementing the source. Communication between the UNI-C device and the destination UNI-C device.
在 S210中, 源 UNI-C设备可以利用 RSVP-TE ( Resource ReSerVation Protocol-Traffic Engineering, 资源预留协议-流量工程)协议来建立与目的 UNI-C设备的 LSP。  In S210, the source UNI-C device can use the RSVP-TE (Resource ReSerVation Protocol-Traffic Engineering) protocol to establish an LSP with the destination UNI-C device.
在 S220中, 源 UNI-C设备可以在数据包的以太头的目的 MAC地址字 段中携带特定 MAC地址来生成完整的数据包,从而可以将数据包发送出去。  In S220, the source UNI-C device can carry a specific data packet by carrying a specific MAC address in the destination MAC address field of the Ethernet header of the data packet, so that the data packet can be sent out.
例如, 特定 MAC地址可以是目的 UNI-C设备的 MAC地址, 例如可以 在 LSP建立过程中从目的 UNI-C设备获取它的 MAC地址, 这将结合图 3 和图 4来具体描述。 特定 MAC地址也可以是源 UNI-N设备的 MAC地址, 通过源 UNI-C设备和源 UNI-N设备之间的数据链路上交互的消息可以相互 获取对方的 MAC地址, 例如通过结合图 5和图 6描述的方法。 特定 MAC 地址还可以是预设 MAC地址,该预设 MAC地址是提前设置好的目的 UNI-C 设备可识别的 MAC地址, 目的 UNI-C设备见到该预设 MAC地址, 则可以 确认该数据包是发送给自己的。 For example, the specific MAC address may be the MAC address of the destination UNI-C device, for example, The MAC address of the destination UNI-C device is obtained during the LSP establishment process, which will be specifically described in conjunction with FIG. 3 and FIG. The specific MAC address may also be the MAC address of the source UNI-N device, and the MAC address of the other party may be obtained by the message exchanged on the data link between the source UNI-C device and the source UNI-N device, for example, by combining FIG. And the method described in Figure 6. The specific MAC address may also be a preset MAC address, which is a MAC address recognizable by the destination UNI-C device set in advance. When the destination UNI-C device sees the preset MAC address, the data may be confirmed. The package is sent to yourself.
在 S230中, 源 UNI-C设备经由在 S210中建立的 LSP向目的 UNI-C设 备发送数据包。 源 UNI-N设备对数据包加上传输网标签后, 在 LSP上继续 转发。 当目的 UNI-N设备接收到携带传输网标签的数据包之后, 由于数据 包将流出传输网, 所以目的 UNI-N设备删除传输网标签。  In S230, the source UNI-C device transmits a data packet to the destination UNI-C device via the LSP established in S210. After the source UNI-N device adds the transport network label to the data packet, it continues to forward on the LSP. After the destination UNI-N device receives the data packet carrying the transport network label, the destination UNI-N device deletes the transport network label because the data packet will flow out of the transport network.
目的 UNI-N设备删除标签时, 可能不对数据包进行处理, 此时数据包 的目的 MAC地址字段本身就携带有目的 UNI-C设备可识别的 MAC地址, 这样数据包会被目的 UNI-C设备所识别。 目的 UNI-N设备删除标签时, 也 可能会对数据包进行处理, 此时目的 UNI-N设备将它之前学习到的目的 UNI-C设备的 MAC地址填充到数据包的以太头的目的 MAC地址字段, 使 得数据包必然会被目的 UNI-C设备识别。无论是什么情况, 当数据包从目的 UNI-N设备流出时, 数据包可以被目的 UNI-C设备识别, 从而目的 UNI-C 设备可以接收源 UNI-C设备发送给它的数据,实现两者之间经由传输网的通 信。  When the destination UNI-N device deletes the label, the data packet may not be processed. In this case, the destination MAC address field of the data packet itself carries the MAC address recognizable by the destination UNI-C device, so that the data packet is used by the destination UNI-C device. Identified. When the destination UNI-N device deletes the label, the data packet may also be processed. At this time, the destination UNI-N device fills the MAC address of the destination UNI-C device it learned before to the destination MAC address of the Ethernet header of the data packet. The field makes the packet inevitably recognized by the destination UNI-C device. In any case, when a packet flows out of the destination UNI-N device, the packet can be identified by the destination UNI-C device, so that the destination UNI-C device can receive the data sent to it by the source UNI-C device, implementing both Communication between the transmission networks.
根据本发明的一个实施例,可以提前设置目的 UNI-C设备可以识别的与 其本身 MAC地址不同的预设 MAC地址。目的 UNI-C设备见到该预设 MAC 地址之后, 知道该数据包是发送给自己的, 例如直接将数据包的数据部分上 交给网络层实体。 此时, 由于源 UNI-C设备发出的数据包中携带预设 MAC 地址,从目的 UNI-N设备流出的数据包也携带预设 MAC地址,因此源 UNI-N 设备和目的 UNI-N设备对数据包进行透传, 只需添加传输网标签、 删除传 输网标签即可。 所以, 当采用预设 MAC地址时, 由于在 UNI-C设备之间利 用传输网透传数据, 使得传输网可以直接进行标签交换而不会影响 UNI-C 设备之间的通信, 也使得 UNI-C设备之间的 LSP可以直接作为虚拟私有网 ( Virtual Private Network, VPN ) 的外层隧道使用。  According to an embodiment of the present invention, a preset MAC address that can be identified by the destination UNI-C device different from its own MAC address can be set in advance. Purpose After seeing the preset MAC address, the UNI-C device knows that the data packet is sent to itself, for example, directly submitting the data part of the data packet to the network layer entity. At this time, since the data packet sent by the source UNI-C device carries the preset MAC address, the data packet flowing out from the destination UNI-N device also carries the preset MAC address, so the source UNI-N device and the destination UNI-N device pair The data packet is transparently transmitted, and only the transport network label is added, and the transport network label is deleted. Therefore, when the preset MAC address is adopted, since the data is transparently transmitted between the UNI-C devices by using the transmission network, the transmission network can directly perform label switching without affecting communication between the UNI-C devices, and also makes the UNI- The LSP between the C devices can be directly used as the outer tunnel of the virtual private network (VPN).
根据本发明实施例提供的用于数据传输的方法, 通过在数据包的目的 MAC地址字段携带特定 MAC地址,源 UNI-C设备能够进行数据包的封装, 从而可以向传输网发送数据, 而不像相关技术那样无法生成数据包。 当数据 包经由 LSP从传输网流出时,在数据包的目的 MAC地址字段中携带有目的 UNI-C设备可识别的 MAC地址,这样目的 UNI-C设备接收并识别该数据包, 从而可以实现 UNI-C设备之间的通信, 数据网中的 UNI-C设备不会由于传 输网的引入而通信受阻。 因此, UNI-C设备可以利用传输网进行高效的数据 传输, 使得传输网和数据网的融合得以实现。 A method for data transmission according to an embodiment of the present invention, through the purpose of a data packet The MAC address field carries a specific MAC address, and the source UNI-C device can encapsulate the data packet, so that data can be transmitted to the transport network without being able to generate a data packet as in the related art. When the data packet flows out of the transport network via the LSP, the destination MAC address of the data packet carries the MAC address identifiable by the destination UNI-C device, so that the destination UNI-C device receives and identifies the data packet, thereby implementing the UNI. -C-device communication, UNI-C devices in the data network will not be blocked due to the introduction of the transport network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
图 3是根据本发明实施例的用于数据传输的方法 300的流程图。方法 300 的 S310至 S330与方法 200的 S210至 S230基本相同。  3 is a flow diagram of a method 300 for data transmission in accordance with an embodiment of the present invention. S310 through S330 of method 300 are substantially identical to S210 through S230 of method 200.
在 S312中, 在建立 LSP时, 向目的 UNI-C设备发送 LSP建立请求。 源 UNI-C设备可以利用路径 PATH消息来发送 LSP建立请求。 根据本 发明的一个实施例, 在建立 LSP时, 源 UNI-C设备可以向目的 UNI-C设备 发送携带有源 UNI-C设备的 MAC地址的 LSP建立请求。这样,当目的 UNI-C 设备收到 LSP建立请求时,可以获取源 UNI-C设备的 MAC地址,从而可以 将其用于向源 UNI-C设备发送的数据包中。 另外, 源 UNI-N设备由于也将 接收到 LSP建立请求, 所以也可以学习到源 UNI-C设备的 MAC地址。  In S312, when the LSP is established, an LSP establishment request is sent to the destination UNI-C device. The source UNI-C device can use the path PATH message to send an LSP setup request. According to an embodiment of the present invention, when the LSP is established, the source UNI-C device may send an LSP establishment request carrying the MAC address of the active UNI-C device to the destination UNI-C device. In this way, when the destination UNI-C device receives the LSP establishment request, it can obtain the MAC address of the source UNI-C device, so that it can be used in the data packet sent to the source UNI-C device. In addition, since the source UNI-N device will also receive the LSP establishment request, it can also learn the MAC address of the source UNI-C device.
在 S314中,接收目的 UNI-C设备响应 LSP建立请求返回的携带有目的 UNI-C设备的 MAC地址的 LSP建立响应。  In S314, the receiving destination UNI-C device responds with an LSP establishment response that is returned by the LSP establishment request and carries the MAC address of the destination UNI-C device.
目的 UNI-C设备可以利用资源预留 RES V消息向源 UNI-C设备返回 LSP 建立响应, 在 LSP建立响应中携带目的 UNI-C设备的 MAC地址。 这样, 源 UNI-C设备可以获取目的 UNI-C设备的 MAC地址, 并将其作为目的 MAC 地址字段携带在数据包中, 从而发送出完整的数据包。  The UNI-C device can use the resource reservation RES V message to return the LSP to the source UNI-C device to establish a response. The LSP establishment response carries the MAC address of the destination UNI-C device. In this way, the source UNI-C device can obtain the MAC address of the destination UNI-C device and carry it as a destination MAC address field in the data packet, thereby transmitting a complete data packet.
根据本发明实施例提供的用于数据传输的方法,源 UNI-C设备获取目的 UNI-C设备的 MAC地址来进行数据包封装, 源 UNI-N设备和目的 UNI-N 设备只需对数据包进行添加标签、 删除标签操作, 就可以使得从目的 UNI-N 设备流出的数据包由于在目的 MAC地址字段携带目的 UNI-C设备的 MAC 地址而可以被目的 UNI-C设备识别。 因此, 可以实现数据包在源 UNI-C设 备和目的 UNI-C设备之间的透传。 由于基于目的 UNI-C设备的 MAC地址 在 UNI-C设备之间利用传输网透传数据,使得传输网可以直接进行标签交换 而不会影响 UNI-C设备之间的通信, 也使得 UNI-C设备之间的 LSP可以直 接作为 VPN的外层隧道使用。 例如, 可以利用图 4所示的方式在建立 LSP的过程中获取目的 UNI-C 设备的 MAC地址。 其中, LSP建立请求可以是 PATH消息, LSP建立响应 可以是 RES V消息。 According to the method for data transmission provided by the embodiment of the present invention, the source UNI-C device acquires the MAC address of the destination UNI-C device for data packet encapsulation, and the source UNI-N device and the destination UNI-N device only need to use the data packet. By adding labels and deleting labels, the packets flowing from the destination UNI-N device can be identified by the destination UNI-C device because the destination MAC address field carries the MAC address of the destination UNI-C device. Therefore, transparent transmission of data packets between the source UNI-C device and the destination UNI-C device can be achieved. Since the MAC address based on the destination UNI-C device transparently transmits data between the UNI-C devices by using the transmission network, the transmission network can directly perform label switching without affecting communication between the UNI-C devices, and also makes the UNI-C The LSP between devices can be directly used as the outer tunnel of the VPN. For example, the MAC address of the destination UNI-C device can be obtained in the process of establishing an LSP by using the method shown in FIG. The LSP establishment request may be a PATH message, and the LSP establishment response may be a RES V message.
在 S410中, 源 UNI-C设备发起建立与目的 UNI-C设备之间的 LSP的 请求,发送路径 PATH消息。可以在 PATH消息中携带源 UNI-C设备的 MAC 地址,该地址可以是源 UNI-C设备整机的 MAC地址,也可以是 LSP使用的 本地接口的 MAC地址。  In S410, the source UNI-C device initiates a request to establish an LSP with the destination UNI-C device, and sends a path PATH message. The MAC address of the source UNI-C device can be carried in the PATH message, which can be the MAC address of the source UNI-C device or the MAC address of the local interface used by the LSP.
在 S420中, 源 UNI-N设备收到 PATH消息之后, 保存该 PATH消息。 如果 PATH消息中携带有源 UNI-C设备的 MAC地址,则源 UNI-N设备可以 学习该 MAC地址。  In S420, after the source UNI-N device receives the PATH message, the PATH message is saved. If the PATH message carries the MAC address of the active UNI-C device, the source UNI-N device can learn the MAC address.
在 S430中,源 UNI-N设备检查是否存在可以承载 UNI-C设备之间 LSP 的传输网内的 LSP。如果在传输网内没有已经存在的可用的 LSP,则源 UNI-N 设备触发建立一条新的传输网内的 LSP , 可以称为 FA-LSP ( Forwarding Adjacency-LSP, 转发邻接标记交换路径)。  In S430, the source UNI-N device checks whether there is an LSP in the transport network that can carry the LSP between the UNI-C devices. If there is no existing LSP available in the transport network, the source UNI-N device triggers the establishment of a new LSP in the transport network, which can be called a Forwarding Adjacency-LSP (Failed Adjacency-LSP).
FA-LSP 的建立过程可以由如下方式完成: 源 UNI-N 设备发起建立 The establishment process of the FA-LSP can be completed as follows: The source UNI-N device initiates establishment.
FA-LSP的请求, 发送 PATH消息; 传输网的中间节点转发该 PATH消息而 送达目的 UNI-N设备; 目的 UNI-N设备响应于 PATH消息返回 RESV消息; 中间节点转发 RESV消息而送达源 UNI-N设备。 于是在源 UNI-N设备和目 的 UNI-N设备建立起了一条 FA-LSP路径。 The request of the FA-LSP sends a PATH message; the intermediate node of the transport network forwards the PATH message to the destination UNI-N device; the destination UNI-N device returns a RESV message in response to the PATH message; the intermediate node forwards the RESV message and delivers the source UNI-N equipment. Thus, a FA-LSP path is established between the source UNI-N device and the destination UNI-N device.
在 S440中,源 UNI-N设备直接将源 UNI-C设备发送的 PATH消息转发 给目的 UNI-N设备。  In S440, the source UNI-N device directly forwards the PATH message sent by the source UNI-C device to the destination UNI-N device.
在 S450中, 目的 UNI-N设备向目的 UNI-C设备发送 PATH消息。 目的 UNI-N设备可以将自己的 MAC地址携带在 PATH消息中, 以使目的 UNI-C 设备可以获知其 MAC地址。  In S450, the destination UNI-N device sends a PATH message to the destination UNI-C device. Purpose A UNI-N device can carry its own MAC address in the PATH message so that the destination UNI-C device can know its MAC address.
在 S460中, 目的 UNI-C设备收到 PATH消息后, 进行资源预留。 如果 In S460, after the destination UNI-C device receives the PATH message, the resource reservation is performed. in case
PATH消息中携带有源 UNI-C设备的 MAC地址, 则学习源 UNI-C设备的 MAC地址。 如果 PATH消息中携带有目的 UNI-N设备的 MAC地址, 则学 习目的 UNI-N设备的 MAC地址。 学习到的 MAC地址可用于在建立的 LSP 上向源 UNI-C设备发送数据包。 同时, 目的 UNI-C设备响应于 PATH消息 返回 RESV消息,在 RESV消息中携带目的 UNI-C设备的 MAC地址, 该地 址可以是目的 UNI-C设备整机的 MAC地址,也可以是 LSP使用接口的 MAC 地址。 The PATH message carries the MAC address of the active UNI-C device, and learns the MAC address of the source UNI-C device. If the PATH message carries the MAC address of the destination UNI-N device, the MAC address of the destination UNI-N device is learned. The learned MAC address can be used to send a packet to the source UNI-C device on the established LSP. At the same time, the destination UNI-C device returns a RESV message in response to the PATH message, and the RESV message carries the MAC address of the destination UNI-C device, which may be the MAC address of the destination UNI-C device or the LSP interface. MAC address.
在 S470中, 目的 UNI-N设备收到 RESV消息后, 可以学习 RESV消息 中携带的目的 UNI-C设备的 MAC地址。 并且, 目的 UNI-N设备将该 RESV 消息直接转发给源 UNI-N设备。  In S470, after receiving the RESV message, the destination UNI-N device can learn the MAC address of the destination UNI-C device carried in the RESV message. And, the destination UNI-N device forwards the RESV message directly to the source UNI-N device.
在 S480中, 源 UNI-N设备收到 RESV消息后,可以直接向源 UNI-C设 备发送该 RESV消息,这样,源 UNI-C设备可以获取目的 UNI-C设备的 MAC 地址。 另夕卜, 源 UNI-N设备也可以将自己的 MAC地址携带在 RESV消息中 发送给源 UNI-C设备,以使源 UNI-C设备获取源 UNI-N设备的 MAC地址。  In S480, after receiving the RESV message, the source UNI-N device can directly send the RESV message to the source UNI-C device, so that the source UNI-C device can obtain the MAC address of the destination UNI-C device. In addition, the source UNI-N device may also carry its own MAC address in the RESV message and send it to the source UNI-C device, so that the source UNI-C device obtains the MAC address of the source UNI-N device.
在 PATH消息或 RESV消息中, 可以利用消息中的 RES V_HOP对象来 携带 MAC地址。 例如, 在 RESV_HOP对象中扩展长度类型值 TLV字段, 在 TLV字段中携带 MAC地址。  In the PATH message or RESV message, the RES V_HOP object in the message can be used to carry the MAC address. For example, the length type value TLV field is extended in the RESV_HOP object, and the MAC address is carried in the TLV field.
通过图 4所示的方式, 在源 UNI-C设备和目的 UNI-C设备建立 LSP的 过程中, 源 UNI-C设备可以获取目的 UNI-C设备的 MAC地址, 也可以获 取源 UNI-N设备的 MAC地址, 从而可以利用特定 MAC地址来封装数据包 以向目的 UNI-C设备发送。  In the process shown in Figure 4, the source UNI-C device can obtain the MAC address of the destination UNI-C device and obtain the source UNI-N device during the process of establishing the LSP between the source UNI-C device and the destination UNI-C device. The MAC address so that a specific MAC address can be used to encapsulate the packet for transmission to the destination UNI-C device.
当利用目的 UNI-C设备的 MAC地址封装数据包时, 源 UNI-N和目的 UNI-N设备对于收到的数据包可以直接透传, 源 UNI-N设备和目的 UNI-N 设备只需完成添加传输网标签、 删除传输网标签即可。  When the data packet is encapsulated by the MAC address of the destination UNI-C device, the source UNI-N and the destination UNI-N device can directly transmit the received data packet, and the source UNI-N device and the destination UNI-N device only need to be completed. Add a transport network label and delete the transport network label.
当利用源 UNI-N设备的 MAC地址封装数据包时, 源 UNI-N和目的 UNI-N设备对于收到的数据包不能直接透传, 此时, 目的 UNI-N设备收到 源 UNI-N设备发送过来的目的为目的 UNI-C设备的数据包, 需要将数据包 中目的 MAC地址字段的内容替换为目的 UNI-C设备的 MAC地址。 当然, 本领域技术人员可以想到, 无论目的 UNI-N设备删除传输网标签后在数据 包的目的 MAC地址字段中携带什么内容, 目的 UNI-N设备都可以在其中填 充目的 UNI-C设备的 MAC地址, 以使目的 UNI-C设备可以识别。  When the data packet is encapsulated by the MAC address of the source UNI-N device, the source UNI-N and the destination UNI-N device cannot directly transmit the received data packet. At this time, the destination UNI-N device receives the source UNI-N. The data packet sent by the device for the destination UNI-C device needs to replace the content of the destination MAC address field in the data packet with the MAC address of the destination UNI-C device. Of course, those skilled in the art can think that the destination UNI-N device can fill the MAC of the destination UNI-C device, regardless of what content is carried in the destination MAC address field of the data packet after the destination UNI-N device deletes the transport network label. Address so that the destination UNI-C device can be identified.
另外, 同样地, 如果源 UNI-N设备收到目的为源 UNI-C设备的数据包, 也要将数据包的目的 MAC地址字段的内容替换为源 UNI-C设备的 MAC地 址。 因此, 源 UNI-N设备要学习源 UNI-C设备的 MAC地址, 目的 UNI-N 设备要学习目的 UNI-C设备的 MAC地址。 学习 MAC地址的过程可以利用 结合图 4描述的过程, 也可以利用结合图 6描述的过程。 由于源 UNI-N设 备和目的 UNI-N设备对于收到的数据包不能直接透传, 所以 UNI-N设备需 要识别 UNI-C设备发送过来的数据包, UNI-C设备也需要学习 UNI-N设备 的 MAC地址。 In addition, similarly, if the source UNI-N device receives the data packet destined for the source UNI-C device, the content of the destination MAC address field of the data packet is also replaced with the MAC address of the source UNI-C device. Therefore, the source UNI-N device learns the MAC address of the source UNI-C device, and the destination UNI-N device learns the MAC address of the destination UNI-C device. The process of learning the MAC address may utilize the process described in connection with FIG. 4, as well as the process described in connection with FIG. The UNI-N device needs to be transparently transmitted to the received UNI-N device and the destination UNI-N device. To identify the packets sent by the UNI-C device, the UNI-C device also needs to learn the MAC address of the UNI-N device.
接下来, 结合图 5描述根据本发明实施例的用于数据传输的方法 500。 方法 500的 S510与方法 200的 S210基本相同。  Next, a method 500 for data transmission in accordance with an embodiment of the present invention will be described in conjunction with FIG. S510 of method 500 is substantially the same as S210 of method 200.
在 S512中, 从源 UNI-N设备获取源 UNI-N设备的 MAC地址。  In S512, the MAC address of the source UNI-N device is obtained from the source UNI-N device.
如结合图 4所述,在建立 LSP的过程中,源 UNI-C设备可以从源 UNI-N 设备返回的 RESV消息中获取源 UNI-N设备的 MAC地址。  As described in connection with FIG. 4, in the process of establishing an LSP, the source UNI-C device can obtain the MAC address of the source UNI-N device from the RESV message returned by the source UNI-N device.
根据本发明的实施例, UNI-C设备还可以在与 UNI-N设备的其他交互 过程中获取 UNI-N设备的 MAC地址。 例如, 在数据链路校验过程中, 可以 学习到对端数据链路的信息。根据本发明的一个实施例, 源 UNI-C设备可以 在与源 UNI-N设备校验数据链路时,从源 UNI-N设备接收携带源 UNI-N设 备的 MAC地址的测试 TEST消息。此时,可以通过扩展链路管理协议( Link Management Protocol, LMP )的 TEST消息来携带 MAC地址信息。源 UNI-C 设备学习到 MAC地址之后, 即可解决 MAC地址的封装问题, 进行对数据 包的封装。  According to an embodiment of the present invention, the UNI-C device can also acquire the MAC address of the UNI-N device during other interactions with the UNI-N device. For example, during the data link verification process, information about the peer data link can be learned. According to an embodiment of the present invention, the source UNI-C device may receive a test TEST message carrying the MAC address of the source UNI-N device from the source UNI-N device when the data link is verified with the source UNI-N device. At this time, the MAC address information can be carried by extending the TEST message of the Link Management Protocol (LMP). After the source UNI-C device learns the MAC address, it can solve the encapsulation problem of the MAC address and encapsulate the data packet.
下面, 结合图 6描述源 UNI-C设备获取源 UNI-N设备的 MAC地址的 消息交互的例子的示意图。  Next, a schematic diagram of an example of message interaction in which the source UNI-C device acquires the MAC address of the source UNI-N device will be described with reference to FIG.
在 S610中, 源 UNI-N设备向源 UNI-C设备发送开始校验 BeginVerify 消息, 请求进行数据链路校验。  In S610, the source UNI-N device sends a Start Verify BeginVerify message to the source UNI-C device, requesting data link check.
在 S620 中, 源 UNI-C 设备向源 UNI-N 设备发送开始校验确认 In S620, the source UNI-C device sends a start verification confirmation to the source UNI-N device.
BeginVerifyACK消息, 表示可以进行校验。 A BeginVerifyACK message indicating that verification is possible.
在 S630中,源 UNI-N设备在数据链路上向源 UNI-C设备发送测试 TEST 消息,在 TEST消息中携带源 UNI-N设备的 MAC地址。可以通过扩展 TEST 消息的 "¾文来携带 MAC地址, 例如为 文增加携带 MAC地址的字段。  In S630, the source UNI-N device sends a test TEST message to the source UNI-C device on the data link, and the TEST message carries the MAC address of the source UNI-N device. The MAC address can be carried by extending the "3⁄4" of the TEST message, for example, adding a field carrying the MAC address.
在 S640中, 源 UNI-C设备学习到 MAC地址之后, 向源 UNI-N设备返 回测试状态成功 TestStatusSuccess消息。  In S640, after the source UNI-C device learns the MAC address, it returns a test status success TestStatusSuccess message to the source UNI-N device.
在 S650 中, 源 UNI-N 设备向源 UNI-C 设备返回测试状态确定 TestStatusAck消息。  In S650, the source UNI-N device returns a test status determination TestStatusAck message to the source UNI-C device.
在 S660中, 源 UNI-C设备向源 UNI-N设备发送结束校验 EndVerify消 息, 表明校验结束。  In S660, the source UNI-C device sends an End Check EndVerify message to the source UNI-N device, indicating that the check is over.
在 S670 中, 源 UNI-N 设备向源 UNI-C 设备发送结束校验确认 EndVerifyAck消息作为应答。 In S670, the source UNI-N device sends an end check confirmation to the source UNI-C device. The EndVerifyAck message is answered.
这样,源 UNI-C设备可以在数据链路校验过程中通过 TEST消息获取源 UNI-N设备的 MAC地址。 当该校验过程反向进行时, 源 UNI-C设备通过在 TEST消息中携带自己的 MAC地址, 可以使源 UNI-N设备也通过 TEST消 息获取源 UNI-C设备的 MAC地址。 同理, 目的 UNI-N设备和目的 UNI-C 设备之间也可以通过数据链锯校验过程来获取对方的 MAC地址, 例如, 可 以将 MAC地址携带在 TEST消息中发送给对方。  In this way, the source UNI-C device can obtain the MAC address of the source UNI-N device through the TEST message during the data link verification process. When the verification process is reversed, the source UNI-C device can cause the source UNI-N device to obtain the MAC address of the source UNI-C device through the TEST message by carrying its own MAC address in the TEST message. Similarly, the UNI-N device and the destination UNI-C device can also obtain the MAC address of the other party through the data chain saw verification process. For example, the MAC address can be carried in the TEST message and sent to the other party.
当 UNI-C设备和 UNI-N设备互相学习到了对方的 MAC地址之后, 可 以通过图 7所示的方式来传输源 UNI-C设备发送给目的 UNI-C设备的数据 包。  After the UNI-C device and the UNI-N device learn each other's MAC address, the data packet sent by the source UNI-C device to the destination UNI-C device can be transmitted in the manner shown in FIG.
在 S520中, 由于获取了源 UNI-N设备的 MAC地址, 因此生成向目的 UNI-C设备发送的在目的 MAC地址字段携带源 UNI-N设备的 MAC地址的 数据包。  In S520, since the MAC address of the source UNI-N device is obtained, a packet transmitted to the destination UNI-C device and carrying the MAC address of the source UNI-N device in the destination MAC address field is generated.
在 S530中, 当数据包在 LSP上传输而到达目的 UNI-N设备时, 目的 UNI-N设备在输出数据包时, 在数据包的目的 MAC地址字段中将源 UNI-N 设备的 MAC地址替换为目的 UNI-C设备的 MAC地址。 这样, 目的 UNI-C 设备可以识别在 LSP上传输的数据包, 从而实现 UNI-C设备之间的通信。  In S530, when the data packet is transmitted on the LSP and reaches the destination UNI-N device, the destination UNI-N device replaces the MAC address of the source UNI-N device in the destination MAC address field of the data packet when the data packet is output. The MAC address of the UNI-C device for the purpose. In this way, the destination UNI-C device can identify the data packets transmitted on the LSP, thereby enabling communication between the UNI-C devices.
根据本发明实施例提供的用于数据传输的方法,源 UNI-C设备可以通过 在数据链路上与源 UNI-N设备交互获得的源 UNI-N设备的 MAC地址来封 装数据包, 使得数据包可以成功在 LSP上传送。 借助于目的 UNI-N设备进 行的 MAC地址替换, 可以保证目的 UNI-C设备对数据包的识别, 从而使得 UNI-C设备可以通过传输网进行通信, 数据网和传输网的融合得以实现。  According to the method for data transmission provided by the embodiment of the present invention, the source UNI-C device may encapsulate the data packet by using the MAC address of the source UNI-N device obtained by interacting with the source UNI-N device on the data link, so that the data The packet can be successfully transmitted on the LSP. By means of the MAC address replacement performed by the destination UNI-N device, the destination UNI-C device can identify the data packet, so that the UNI-C device can communicate through the transmission network, and the data network and the transmission network can be realized.
在图 7中, 示出了源 UNI-C设备以源 UNI-N设备的 MAC地址为目的 MAC地址封装数据包并发送、 目的 UNI-N设备替换目的 MAC地址字段的 情况。其中, A )示出了源 UNI-C设备和目的 UNI-C设备处于以太网的情形, B ) 示出了源 UNI-C 设备和目的 UNI-C 设备处于虚拟局域网 (Virtual Local-area Network, VLAN ) 的情形。 在图 7的数据包的以太头中只示出了 目的 MAC地址字段携带的内容。  In Fig. 7, the case where the source UNI-C device encapsulates the data packet with the MAC address of the source UNI-N device as the destination MAC address and transmits the destination UNI-N device to replace the destination MAC address field is shown. Among them, A) shows that the source UNI-C device and the destination UNI-C device are in the Ethernet, and B) shows that the source UNI-C device and the destination UNI-C device are in the virtual local area network (Virtual Local-area Network, The case of VLAN). Only the contents carried in the destination MAC address field are shown in the Ethernet header of the packet of FIG.
在源 UNI-C设备和源 UNI-N设备之间的链路上, 源 UNI-C设备和源 UNI-N设备分别具有 MAC1和 MAC2的 MAC地址。 在目的 UNI-N设备和 目的 UNI-C设备之间的链路上, 目的 UNI-N设备和目的 UNI-C设备分别具 有 MAC3和 MAC4的 MAC地址。 On the link between the source UNI-C device and the source UNI-N device, the source UNI-C device and the source UNI-N device have MAC addresses of MAC1 and MAC2, respectively. On the link between the destination UNI-N device and the destination UNI-C device, the destination UNI-N device and the destination UNI-C device respectively have There are MAC addresses for MAC3 and MAC4.
源 UNI-C设备发送的数据包在目的 MAC地址字段携带 MAC2。 当源 UNI-N设备收到该数据包时为数据包加上传输网标签, 然后向目的 UNI-N 设备转发。 目的 UNI-N设备去掉传输网标签, 将目的 MAC地址字段携带的 MAC2替换为 MAC4, 然后向目的 UNI-C设备发送。 目的 UNI-C设备收到 该数据包之后, 由于目的 MAC地址是 MAC4, 于是目的 UNI-C设备识别该 数据包并进行后续操作。  The data packet sent by the source UNI-C device carries MAC2 in the destination MAC address field. When the source UNI-N device receives the data packet, it adds a transport network label to the data packet and then forwards it to the destination UNI-N device. Purpose The UNI-N device removes the transport network label, replaces the MAC2 carried in the destination MAC address field with MAC4, and then sends it to the destination UNI-C device. Purpose After the UNI-C device receives the data packet, since the destination MAC address is MAC4, the destination UNI-C device recognizes the data packet and performs subsequent operations.
下面, 结合图 8描述根据本发明实施例的用于数据传输的方法 800。 如图 8所示, 方法 800包括: 在 S810中, 当收到源 UNI-C设备在 LSP 上向目的 UNI-C设备发送的数据包时,删除数据包携带的传输网标签,其中 LSP是源 UNI-C设备和目的 UNI-C设备经由源 UNI-N设备和目的 UNI-N设 备建立的 LSP;在 S820中,当数据包的目的 MAC地址字段未携带目的 UNI-C 设备可识别的 MAC地址时,在数据包的目的 MAC地址字段填充目的 UNI-C 设备的 MAC地址; 在 S830中, 向目的 UNI-C设备发送携带目的 UNI-C设 备的 MAC地址的数据包。  Next, a method 800 for data transmission in accordance with an embodiment of the present invention will be described with reference to FIG. As shown in FIG. 8, the method 800 includes: In S810, when receiving a data packet sent by the source UNI-C device to the destination UNI-C device on the LSP, deleting the transport network label carried by the data packet, where the LSP is the source The UNI-C device and the destination UNI-C device establish an LSP via the source UNI-N device and the destination UNI-N device; in S820, when the destination MAC address field of the data packet does not carry the MAC address identifiable by the destination UNI-C device At the time, the destination MAC address of the destination UNI-C device is filled in the destination MAC address field of the data packet; in S830, the data packet carrying the MAC address of the destination UNI-C device is transmitted to the destination UNI-C device.
例如,方法 800可以由目的 UNI-N设备执行。在数据包流出目的 UNI-N 设备时, 如果数据包没有携带目的 UNI-C设备可识别的 MAC地址, 则目的 UNI-N设备将数据包的目的 MAC地址字段填充为目的 UNI-C设备的 MAC 地址, 这样, 可以保证目的 UNI-C设备接收并识别该数据包, 从而实现源 UNI-C设备和目的 UNI-C设备之间的通信。  For example, method 800 can be performed by a destination UNI-N device. When the data packet flows out of the destination UNI-N device, if the data packet does not carry the MAC address identifiable by the destination UNI-C device, the destination UNI-N device fills the destination MAC address field of the data packet with the MAC address of the destination UNI-C device. The address, in this way, ensures that the destination UNI-C device receives and identifies the data packet, thereby enabling communication between the source UNI-C device and the destination UNI-C device.
在 S810中,源 UNI-N设备从数据网侧接收源 UNI-C设备发送的数据包, 向数据包添加传输网标签后将其送入传输网的 LSP, 并向目的 UNI-N设备 转发。 由于数据包将流出传输网, 所以目的 UNI-N设备删除传输网标签。  In S810, the source UNI-N device receives the data packet sent by the source UNI-C device from the data network side, adds the transport network label to the data packet, sends it to the LSP of the transport network, and forwards it to the destination UNI-N device. Since the data packet will flow out of the transport network, the destination UNI-N device deletes the transport network label.
在 S820中, 目的 UNI-C设备可识别的 MAC地址可以是目的 UNI-C设 备的 MAC地址或预设 MAC地址。 如果数据包中没有携带目的 UNI-C设备 可识别的 MAC地址, 目的 UNI-N设备用目的 UNI-C设备的 MAC地址进行 替换。  In S820, the MAC address identifiable by the destination UNI-C device may be the MAC address of the destination UNI-C device or a preset MAC address. If the packet does not carry the identifiable MAC address of the destination UNI-C device, the destination UNI-N device is replaced with the MAC address of the destination UNI-C device.
目的 UNI-N设备获取目的 UNI-C设备的 MAC地址可以在建立 LSP的 过程中获取, 也可以在数据链路校验过程中获取, 当然也可以在其他交互过 程中获取, 相关内容可以参考上述结合图 4和图 6描述的内容, 为了避免重 复, 在此不再赘述。 根据本发明实施例提供的用于数据传输的方法,当数据包经由 LSP从传 输网流出时, 在数据包的目的 MAC地址不能被目的 UNI-C设备识别时, 目 的 UNI-N设备在数据包的目的 MAC地址字段中填充目的 UNI-C设备的 MAC地址, 这样可以保证目的 UNI-C设备可以识别数据包, 从而可以实现 UNI-C设备之间的通信, 数据网中的 UNI-C设备不会由于传输网的引入而 通信受阻。 因此, UNI-C设备可以利用传输网进行高效的数据传输, 使得传 输网和数据网的融合得以实现。 The destination UNI-N device obtains the MAC address of the destination UNI-C device. It can be obtained during the process of establishing an LSP. It can also be obtained during the data link verification process. It can also be obtained in other interaction processes. For related content, refer to the above. The contents described in conjunction with FIG. 4 and FIG. 6 are not described herein again in order to avoid redundancy. According to the method for data transmission provided by the embodiment of the present invention, when a data packet flows out from the transport network via the LSP, when the destination MAC address of the data packet cannot be identified by the destination UNI-C device, the destination UNI-N device is in the data packet. The destination MAC address field is filled with the MAC address of the destination UNI-C device. This ensures that the destination UNI-C device can identify the data packet, thus enabling communication between UNI-C devices. The UNI-C device in the data network does not. Communication will be blocked due to the introduction of the transmission network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
图 9是根据本发明实施例的用于数据传输的方法 900的流程图。方法 900 的 S910至 S930与方法 800的 S810至 S830基本相同。  9 is a flow diagram of a method 900 for data transmission in accordance with an embodiment of the present invention. S910 to S930 of method 900 are substantially the same as S810 to S830 of method 800.
在 S912中, 从目的 UNI-C设备获取目的 UNI-C设备的 MAC地址。 例如, 目的 UNI-N设备可以在建立 LSP的过程中、 数据链路校验过程 中或者其他与目的 UNI-C设备的交互过程中等, 获取目的 UNI-C设备的 MAC地址。 这样, 在 S920中, 可以使用所获取的目的 UNI-C设备的 MAC 地址填充数据包的目的 MAC地址字段。  In S912, the MAC address of the destination UNI-C device is obtained from the destination UNI-C device. For example, the destination UNI-N device can obtain the MAC address of the destination UNI-C device during the process of establishing the LSP, during the data link verification process, or other interaction process with the destination UNI-C device. Thus, in S920, the destination MAC address field of the data packet can be filled with the MAC address of the acquired destination UNI-C device.
根据本发明的一个实施例, 目的 UNI-N设备可以在与目的 UNI-C设备 校验数据链路时, 从目的 UNI-C设备接收携带目的 UNI-C设备的 MAC地 址的测试 TEST消息。 相关内容可以参考图 6的相关描述, 交互的消息与图 6所示基本相同, 将图 6的源 UNI-N设备替换为目的 UNI-C设备、 图 6的 源 UNI-C设备替换为目的 UNI-N设备即可。  According to an embodiment of the present invention, the destination UNI-N device may receive a test TEST message carrying the MAC address of the destination UNI-C device from the destination UNI-C device when the data link is verified with the destination UNI-C device. For related content, refer to the related description of FIG. 6. The message of interaction is basically the same as that shown in FIG. 6. The source UNI-N device of FIG. 6 is replaced with the destination UNI-C device, and the source UNI-C device of FIG. 6 is replaced with the target UNI. -N device can be.
在 S914中, 向目的 UNI-C设备发送目的 UNI-N设备的 MAC地址。 如上面结合图 4和图 6的描述, 目的 UNI-N设备也可以将自己的 MAC 地址告诉给目的 UNI-C设备, 这样当目的 UNI-C设备向源 UNI-C设备发送 数据包时, 可以在数据包中填充目的 UNI-N设备的 MAC地址, 从而实现数 据包的封装。  In S914, the MAC address of the destination UNI-N device is transmitted to the destination UNI-C device. As described above in connection with FIG. 4 and FIG. 6, the destination UNI-N device can also inform its destination MAC address to the destination UNI-C device, so that when the destination UNI-C device sends a data packet to the source UNI-C device, The data packet is encapsulated by filling the MAC address of the destination UNI-N device in the data packet.
根据本发明实施例提供的用于数据传输的方法, 目的 UNI-N设备通过 获取目的 UNI-C设备的 MAC地址并使用, 可以保证从目的 UNI-N设备流 出的数据包可以被目的 UNI-C设备识别, 从而实现源 UNI-C设备和目的 UNI-C设备之间的通信。  According to the method for data transmission provided by the embodiment of the present invention, the destination UNI-N device can ensure that the data packet flowing out from the destination UNI-N device can be used by the destination UNI-C by acquiring the MAC address of the destination UNI-C device and using it. Device identification, thereby enabling communication between the source UNI-C device and the destination UNI-C device.
上面, 描述了根据本发明实施例的用于数据传输的方法。 下面, 结合图 10至图 14描述根据本发明实施例的网络设备的结构框图。  In the above, a method for data transmission according to an embodiment of the present invention has been described. Hereinafter, a structural block diagram of a network device according to an embodiment of the present invention will be described with reference to FIGS. 10 through 14.
图 10是根据本发明实施例的网络设备 1000的结构框图。 网络装置 1000包括建立模块 1010、生成模块 1020和第一发送模块 1030。 建立模块 1010 可用于与目的 UNI-C设备建立经由源 UNI-N设备和目的 UNI-N设备的 LSP。 生成模块 1020可用于生成向目的 UNI-C设备发送的在 目的 MAC地址字段携带特定 MAC地址的数据包。第一发送模块 1030可用 于在 LSP上发送数据包,以使数据包从目的 UNI-N设备输出时在目的 MAC 地址字段中携带有目的 UNI-C设备可识别的 MAC地址。 FIG. 10 is a structural block diagram of a network device 1000 according to an embodiment of the present invention. The network device 1000 includes an establishing module 1010, a generating module 1020, and a first sending module 1030. The setup module 1010 can be configured to establish an LSP with the destination UNI-N device and the destination UNI-N device with the destination UNI-C device. The generating module 1020 can be configured to generate a data packet that is sent to the destination UNI-C device and carries a specific MAC address in the destination MAC address field. The first sending module 1030 can be configured to send a data packet on the LSP, so that when the data packet is output from the destination UNI-N device, the MAC address identifiable by the destination UNI-C device is carried in the destination MAC address field.
建立模块 1010、生成模块 1020和第一发送模块 1030的上述和其他操作 和 /或功能可以参考上述方法 200的 S210至 S230, 为了避免重复, 在此不再 赘述。  The foregoing operations and/or functions of the module 1010, the generating module 1020, and the first sending module 1030 may refer to S210 to S230 of the foregoing method 200. To avoid repetition, details are not described herein.
本发明实施例提供的网络设备通过在数据包的目的 MAC地址字段携带 特定 MAC地址, 能够进行数据包的封装, 从而可以向传输网发送数据, 而 不像相关技术那样无法生成数据包。 当数据包经由 LSP从传输网流出时,在 数据包的目的 MAC地址字段中携带有目的 UNI-C设备可识别的 MAC地址, 这样目的 UNI-C设备接收并识别该数据包, 从而可以实现 UNI-C设备之间 的通信, 数据网中的 UNI-C设备不会由于传输网的引入而通信受阻。 因此, UNI-C设备可以利用传输网进行高效的数据传输,使得传输网和数据网的融 合得以实现。  The network device provided by the embodiment of the present invention can encapsulate the data packet by carrying the specific MAC address in the destination MAC address field of the data packet, so that the data can be sent to the transmission network, and the data packet cannot be generated as in the related art. When the data packet flows out of the transport network via the LSP, the destination MAC address of the data packet carries the MAC address identifiable by the destination UNI-C device, so that the destination UNI-C device receives and identifies the data packet, thereby implementing the UNI. -C-device communication, UNI-C devices in the data network will not be blocked due to the introduction of the transport network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
图 11是根据本发明实施例的网络设备 1100的结构框图。网络设备 1100 的建立模块 1110、 生成模块 1120和第一发送模块 1130与网络设备 1000的 建立模块 1010、 生成模块 1020和第一发送模块 1030基本相同。  FIG. 11 is a block diagram showing the structure of a network device 1100 according to an embodiment of the present invention. The establishing module 1110, the generating module 1120, and the first sending module 1130 of the network device 1100 are substantially the same as the establishing module 1010, the generating module 1020, and the first sending module 1030 of the network device 1000.
其中, 目的 UNI-C设备可识别的 MAC地址可以是目的 UNI-C设备的 MAC地址。 目的 UNI-C设备可识别的 MAC地址也可以是预设 MAC地址, 此时, 生成模块 1120可用于生成向目的 UNI-C设备发送的在目的 MAC地 址字段携带该预设 MAC地址的数据包。  The destination MAC address of the UNI-C device can be the MAC address of the destination UNI-C device. The MAC address that can be identified by the UNI-C device may also be a preset MAC address. In this case, the generating module 1120 may be configured to generate a data packet that is sent to the destination UNI-C device and carries the preset MAC address in the destination MAC address field.
根据本发明的一个实施例,网络设备 1100还可以包括第二发送模块 1112 和接收模块 1114。 第二发送模块 1112可用于在建立 LSP时, 向目的 UNI-C 设备发送 LSP建立请求。接收模块 1114可用于接收目的 UNI-C设备响应 LSP 建立请求返回的携带有目的 UNI-C设备的 MAC地址的 LSP建立响应。此时, 生成模块 1120可用于生成向目的 UNI-C设备发送的在目的 MAC地址字段 携带目的 UNI-C设备的 MAC地址的数据包。  According to an embodiment of the present invention, the network device 1100 may further include a second transmitting module 1112 and a receiving module 1114. The second sending module 1112 is configured to send an LSP establishment request to the destination UNI-C device when the LSP is established. The receiving module 1114 can be configured to receive an LSP setup response that carries the MAC address of the destination UNI-C device returned by the destination UNI-C device in response to the LSP establishment request. At this time, the generating module 1120 can be configured to generate a data packet that is sent to the destination UNI-C device and that carries the MAC address of the destination UNI-C device in the destination MAC address field.
根据本发明的一个实施例, 第二发送模块 1112可用于向目的 UNI-C设 备发送携带有网络设备 1100的 MAC地址的 LSP建立请求, 以使源 UNI-N 设备或目的 UNI-C设备学习网络设备 1100的 MAC地址。 According to an embodiment of the present invention, the second sending module 1112 can be used to set the destination UNI-C The LSP establishment request carrying the MAC address of the network device 1100 is sent to enable the source UNI-N device or the destination UNI-C device to learn the MAC address of the network device 1100.
根据本发明的一个实施例, LSP建立请求可以是路径 PATH消息, LSP 建立响应可以是资源预留 RESV消息。  According to an embodiment of the present invention, the LSP establishment request may be a path PATH message, and the LSP establishment response may be a resource reservation RESV message.
第二发送模块 1112、接收模块 1114和生成模块 1020的上述和其他操作 和 /或功能可以参考上述方法 200中的相关内容和方法 300中的 S312和 S314, 为了避免重复, 在此不再赘述。  The foregoing and other operations and/or functions of the second sending module 1112, the receiving module 1114, and the generating module 1020 may refer to the related content in the foregoing method 200 and S312 and S314 in the method 300. To avoid repetition, details are not described herein again.
本发明实施例提供的网络装置可以在数据包的目的 MAC地址字段携带 预设 MAC地址或者获取的目的 UNI-C设备的 MAC地址以进行封装, 源 UNI-N设备和目的 UNI-N设备只需对数据包进行添加传输网标签、 删除传 输网标签操作, 就可以使得从目的 UNI-N设备流出的数据包被目的 UNI-C 设备识别。 因此, 可以实现数据包在源 UNI-C设备和目的 UNI-C设备之间 的透传。 由于可以在 UNI-C设备之间利用传输网透传数据,使得传输网可以 直接进行标签交换而不会影响 UNI-C设备之间的通信, 也使得 UNI-C设备 之间的 LSP可以直接作为 VPN的外层隧道使用。  The network device provided by the embodiment of the present invention may carry the preset MAC address or the obtained MAC address of the destination UNI-C device in the destination MAC address field of the data packet for encapsulation, and the source UNI-N device and the destination UNI-N device only need to be encapsulated. By adding a transport network label to the data packet and deleting the transport network label operation, the data packet flowing out from the destination UNI-N device can be identified by the destination UNI-C device. Therefore, transparent transmission of data packets between the source UNI-C device and the destination UNI-C device can be achieved. Since the data can be transparently transmitted between the UNI-C devices by using the transmission network, the transmission network can directly perform label switching without affecting communication between the UNI-C devices, and the LSP between the UNI-C devices can be directly used as The outer tunnel of the VPN is used.
图 12是根据本发明实施例的网络设备 1200的结构框图。  FIG. 12 is a block diagram showing the structure of a network device 1200 according to an embodiment of the present invention.
网络设备 1200的建立模块 1210、 生成模块 1220和第一发送模块 1230 与网络设备 1000的建立模块 1010、 生成模块 1020和第一发送模块 1030基 本相同。  The establishing module 1210 of the network device 1200, the generating module 1220, and the first sending module 1230 are substantially the same as the establishing module 1010, the generating module 1020, and the first sending module 1030 of the network device 1000.
根据本发明的一个实施例, 网络设备 1200还可以包括获取模块 1240。 获取模块 1240可用于从源 UNI-N设备获取源 UNI-N设备的 MAC地址。 此 时, 生成模块 1220可用于生成向目的 UNI-C设备发送的在目的 MAC地址 字段携带源 UNI-N设备的 MAC地址的数据包, 其中由目的 UNI-N设备在 输出数据包时将源 UNI-N设备的 MAC地址替换为目的 UNI-C设备的 MAC 地址。  Network device 1200 may also include an acquisition module 1240, in accordance with an embodiment of the present invention. The obtaining module 1240 can be configured to obtain the MAC address of the source UNI-N device from the source UNI-N device. At this time, the generating module 1220 may be configured to generate a data packet that is sent to the destination UNI-C device and that carries the MAC address of the source UNI-N device in the destination MAC address field, where the destination UNI-N device will source the UNI when outputting the data packet. The MAC address of the -N device is replaced with the MAC address of the destination UNI-C device.
根据本发明的一个实施例, 获取模块 1240可用于在与源 UNI-N设备校 验数据链路时, 从源 UNI-N设备接收携带源 UNI-N设备的 MAC地址的测 试 TEST消息。  According to an embodiment of the present invention, the obtaining module 1240 is operable to receive, from the source UNI-N device, a test TEST message carrying the MAC address of the source UNI-N device when the data link is verified with the source UNI-N device.
获取模块 1240和生成模块 1220的上述和其他操作和 /或功能可以参考上 述方法 500的 S512、 S520和 S530, 为了避免重复, 在此不再赘述。 交互获得的源 UNI-N设备的 MAC地址来封装数据包,使得数据包可以成功 在 LSP上传送。 借助于目的 UNI-N设备进行的 MAC地址替换, 可以保证 目的 UNI-C设备对数据包的识别, 从而使得 UNI-C设备可以通过传输网进 行通信, 数据网和传输网的融合得以实现。 The foregoing and other operations and/or functions of the obtaining module 1240 and the generating module 1220 may refer to S512, S520, and S530 of the foregoing method 500. To avoid repetition, details are not described herein again. The MAC address of the source UNI-N device obtained by the interaction encapsulates the data packet so that the data packet can be successfully transmitted on the LSP. By means of MAC address replacement by the destination UNI-N device, the destination UNI-C device can identify the data packet, so that the UNI-C device can communicate through the transmission network, and the data network and the transmission network are integrated.
图 13是根据本发明实施例的网络设备 1300的结构框图。  FIG. 13 is a block diagram showing the structure of a network device 1300 according to an embodiment of the present invention.
网络设备 1300包括删除模块 1310、 填充模块 1320和发送模块 1330。 删除模块 1310可用于当收到源 UNI-C设备在 LSP上向目的 UNI-C设备发送 的数据包时, 删除数据包携带的传输网标签, 其中 LSP是源 UNI-C设备和 目的 UNI-C设备经由源 UNI-N设备和网络设备 1300建立的 LSP。填充模块 1320可用于当数据包的目的 MAC地址字段未携带目的 UNI-C设备可识别 的 MAC地址时, 在数据包的目的 MAC地址字段填充目的 UNI-C设备的 MAC地址。 发送模块 1330可用于向目的 UNI-C设备发送携带目的 UNI-C 设备的 MAC地址的数据包。  Network device 1300 includes a delete module 1310, a fill module 1320, and a send module 1330. The deleting module 1310 is configured to: when receiving the data packet sent by the source UNI-C device to the destination UNI-C device on the LSP, delete the transport network label carried by the data packet, where the LSP is the source UNI-C device and the destination UNI-C The LSP established by the device via the source UNI-N device and the network device 1300. The padding module 1320 can be configured to fill the MAC address of the destination UNI-C device in the destination MAC address field of the data packet when the destination MAC address field of the data packet does not carry the MAC address recognizable by the destination UNI-C device. The sending module 1330 can be configured to send a data packet carrying the MAC address of the destination UNI-C device to the destination UNI-C device.
删除模块 1310、填充模块 1320和发送模块 1330的的上述和其他操作和 /或功能可以参考上述方法 800的 S810至 S830, 为了避免重复, 在此不再赘 述。  The foregoing and other operations and/or functions of the deleting module 1310, the filling module 1320, and the transmitting module 1330 may refer to S810 to S830 of the above method 800. To avoid repetition, details are not described herein.
根据本发明实施例提供的网络设备, 当数据包经由 LSP从传输网流出 时, 在数据包的目的 MAC地址不能被目的 UNI-C设备识别时, 该网络设备 可以在数据包的目的 MAC地址字段中填充目的 UNI-C设备的 MAC地址, 这样可以保证目的 UNI-C设备识别数据包, 从而可以实现 UNI-C设备之间 的通信, 数据网中的 UNI-C设备不会由于传输网的引入而通信受阻。 因此, UNI-C设备可以利用传输网进行高效的数据传输,使得传输网和数据网的融 合得以实现。  According to the network device provided by the embodiment of the present invention, when a data packet flows out from the transmission network via the LSP, when the destination MAC address of the data packet cannot be identified by the destination UNI-C device, the network device may be in the destination MAC address field of the data packet. The MAC address of the destination UNI-C device is filled in, so that the destination UNI-C device can identify the data packet, so that communication between the UNI-C devices can be realized, and the UNI-C device in the data network is not introduced by the transmission network. Communication is blocked. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
图 14是根据本发明实施例的网络设备 1400的结构框图。  FIG. 14 is a block diagram showing the structure of a network device 1400 according to an embodiment of the present invention.
网络设备 1400的删除模块 1410、 填充模块 1420和发送模块 1430与网 络设备 1300的删除模块 1310、 填充模块 1320和发送模块 1330基本相同。  The deleting module 1410, the filling module 1420, and the transmitting module 1430 of the network device 1400 are substantially the same as the deleting module 1310, the filling module 1320, and the transmitting module 1330 of the network device 1300.
其中, 目的 UNI-C设备可识别的 MAC地址可以是目的 UNI-C设备的 MAC地址或预设 MAC地址。  The destination UNI-C device can identify the MAC address of the destination UNI-C device or the default MAC address.
根据本发明的一个实施例, 网络设备 1400还可以包括获取模块 1440。 获取模块 1440可用于从目的 UNI-C设备获取目的 UNI-C设备的 MAC地址。 例如, 获取模块 1440可用于在与目的 UNI-C设备校验数据链路时, 从目的 UNI-C设备接收携带目的 UNI-C设备的 MAC地址的测试 TEST消息。 Network device 1400 may also include an acquisition module 1440, in accordance with an embodiment of the present invention. The obtaining module 1440 can be configured to obtain the MAC address of the destination UNI-C device from the destination UNI-C device. For example, the acquisition module 1440 can be used to verify the data link with the destination UNI-C device, from the purpose The UNI-C device receives a test TEST message carrying the MAC address of the destination UNI-C device.
获取模块 1440 的上述和其他操作和 /或功能可以参考上述方法 900 的 The above and other operations and/or functions of the acquisition module 1440 can be referred to the above method 900
S912, 为了避免重复, 在此不再赘述。 S912, in order to avoid repetition, will not be described here.
本发明实施例提供的网络设备通过获取目的 UNI-C设备的 MAC地址 , 可以保证从目的 UNI-N设备流出的数据包可以被目的 UNI-C设备识别, 从 而实现源 UNI-C设备和目的 UNI-C设备之间的通信。  The network device provided by the embodiment of the present invention can ensure that the data packet flowing out from the destination UNI-N device can be identified by the destination UNI-C device by obtaining the MAC address of the destination UNI-C device, thereby implementing the source UNI-C device and the destination UNI. -C communication between devices.
接下来,结合图 15描述根据本发明实施例的用于数据传输的系统 1500。 系统 1500包括源用户网络接口客户侧 UNI-C设备 1510、 源用户网络接 口网络侧 UNI-N设备 1520、 目的 UNI-N设备 1530和源 UNI-C设备 1540。  Next, a system 1500 for data transmission according to an embodiment of the present invention will be described with reference to FIG. The system 1500 includes a source user network interface client side UNI-C device 1510, a source user network interface network side UNI-N device 1520, a destination UNI-N device 1530, and a source UNI-C device 1540.
源 UNI-C设备 1510可用于与目的 UNI-C设备 1540建立经由源 UNI-N 设备 1520和目的 UNI-N设备 1530的 LSP;生成向目的 UNI-C设备 1540发 送的在目的 MAC地址字段携带特定 MAC地址的数据包; 在 LSP上发送数 据包。  The source UNI-C device 1510 can be used to establish an LSP with the destination UNI-N device 1520 and the destination UNI-N device 1530 with the destination UNI-C device 1540; generate a specific carry in the destination MAC address field to the destination UNI-C device 1540. A packet of a MAC address; a packet is sent on the LSP.
源 UNI-N设备 1520可用于接收源 UNI-C设备 1510发送的数据包, 并 在数据包上添加传输网标签。  The source UNI-N device 1520 can be used to receive packets sent by the source UNI-C device 1510 and add transport network labels to the data packets.
目的 UNI-N设备 1530可用于当收到源 UNI-N设备 1520转发的数据包 时, 删除传输网标签; 当数据包的目的 MAC地址字段未携带目的 UNI-C设 备 1540可识别的 MAC地址时, 在数据包的目的 MAC地址字段填充目的 UNI-C设备 1540的 MAC地址,向目的 UNI-C设备 1540发送携带目的 UNI-C 设备 1540的 MAC地址的数据包; 当数据包的目的 MAC地址字段携带目的 UNI-C设备 1540可识别的 MAC地址时,向目的 UNI-C设备 1540发送该数 据包。  The destination UNI-N device 1530 can be configured to delete the transport network label when receiving the data packet forwarded by the source UNI-N device 1520; when the destination MAC address field of the data packet does not carry the MAC address recognizable by the destination UNI-C device 1540 Filling the MAC address of the destination UNI-C device 1540 in the destination MAC address field of the data packet, and transmitting the data packet carrying the MAC address of the destination UNI-C device 1540 to the destination UNI-C device 1540; when the destination MAC address field of the data packet When the MAC address identifiable by the destination UNI-C device 1540 is carried, the data packet is transmitted to the destination UNI-C device 1540.
目的 UNI-C设备 1540可用于接收目的 UNI-N设备 1530转发的数据包。 根据本发明的实施例, 目的 UNI-C设备 1540可识别的 MAC地址是目 的 UNI-C设备 1540的 MAC地址或预设 MAC地址。  Purpose The UNI-C device 1540 can be used to receive packets forwarded by the destination UNI-N device 1530. According to an embodiment of the present invention, the destination UNI-C device 1540 identifiable MAC address is the MAC address of the destination UNI-C device 1540 or a preset MAC address.
源 UNI-C设备 1510、 源 UNI-N设备 1520、 目的 UNI-N设备 1530和源 UNI-C设备 1540的上述和其他功能和 /或操作可以参考上述结合图 2至图 9 的描述, 为了避免重复, 在此不再赘述。  The above and other functions and/or operations of the source UNI-C device 1510, the source UNI-N device 1520, the destination UNI-N device 1530, and the source UNI-C device 1540 may be referred to the above description in conjunction with FIGS. 2 through 9, in order to avoid Repeat, no longer repeat them here.
根据本发明实施例提供的用于数据传输的系统,源 UNI-C设备通过在数 据包的目的 MAC地址字段携带特定 MAC地址, 能够进行数据包的封装, 从而可以向传输网发送数据, 而不像相关技术那样不能生成数据包。 当数据 包经由 LSP从传输网流出时,在数据包的目的 MAC地址字段中携带有目的 UNI-C设备可识别的 MAC地址,这样目的 UNI-C设备接收并识别该数据包, 从而可以实现 UNI-C设备之间的通信, 数据网中的 UNI-C设备不会由于传 输网的引入而通信受阻。 因此, UNI-C设备可以利用传输网进行高效的数据 传输, 使得传输网和数据网的融合得以实现。 According to the system for data transmission provided by the embodiment of the present invention, the source UNI-C device can encapsulate the data packet by carrying a specific MAC address in the destination MAC address field of the data packet, so that data can be sent to the transmission network without A packet cannot be generated as in the related art. When data When the packet flows out of the transport network via the LSP, the destination MAC address of the destination UNI-C device is carried in the destination MAC address field of the data packet, so that the destination UNI-C device receives and identifies the data packet, thereby implementing UNI-C. Communication between devices, UNI-C devices in the data network will not be blocked due to the introduction of the transport network. Therefore, the UNI-C device can utilize the transmission network for efficient data transmission, so that the fusion of the transmission network and the data network can be realized.
本领域技术人员可以意识到,结合本文中所公开的实施例中描述的各方 法步骤和单元, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了 清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描 述了各实施例的步骤及组成。 这些功能究竟以硬件还是软件方式来执行, 取 决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定 的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发 明的范围。  Those skilled in the art will appreciate that the various method steps and elements described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate the interworking of hardware and software. In the above description, the steps and compositions of the various embodiments have been generally described in terms of function. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the solution. Those skilled in the art can use different methods for implementing the described functions for each particular application, but such implementations should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法步骤可以用硬件、处理器执行的 软件程序、 或者二者的结合来实施。 软件程序可以置于随机存取存储器 ( RAM ), 内存、 只读存储器 (ROM )、 电可编程 ROM、 电可擦除可编程 ROM, 寄存器、 硬盘、 可移动磁盘、 CD-ROM或技术领域内所公知的任意 其它形式的存储介质中。  The method steps described in connection with the embodiments disclosed herein may be implemented in hardware, a software program executed by a processor, or a combination of both. Software programs can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM or technology Any other form of storage medium known.
尽管已示出和描述了本发明的一些实施例, 但本领域技术人员应该理 解,在不脱离本发明的原理和精神的情况下,可对这些实施例进行各种修改, 这样的修改应落入本发明的范围内。  While some embodiments of the present invention have been shown and described, it will be understood by those skilled in the art It is within the scope of the invention.

Claims

权利要求 Rights request
1. 一种用于数据传输的方法, 其特征在于, 包括: A method for data transmission, comprising:
与目的用户网络接口客户侧 UNI-C设备建立经由源用户网络接口网络 侧 UNI-N设备和目的 UNI-N设备的标签交换路径 LSP;  The user-side network interface UNI-C device establishes a label switched path LSP via the source user network interface network side UNI-N device and the destination UNI-N device;
生成向所述目的 UNI-C设备发送的在目的介质访问控制 MAC地址字段 携带特定 MAC地址的数据包;  Generating, by the destination UNI-C device, a data packet carrying a specific MAC address in a destination medium access control MAC address field;
在所述 LSP上发送所述数据包, 以使所述数据包从所述目的 UNI-N设 备输出时在所述目的 MAC地址字段中携带有所述目的 UNI-C设备可识别的 MAC地址。  And transmitting the data packet on the LSP, so that when the data packet is output from the destination UNI-N device, a MAC address recognizable by the destination UNI-C device is carried in the destination MAC address field.
2. 根据权利要求 1所述的方法, 其特征在于, 所述目的 UNI-C设备可 识别的 MAC地址是所述目的 UNI-C设备的 MAC地址。  The method according to claim 1, wherein the MAC address identifiable by the destination UNI-C device is a MAC address of the destination UNI-C device.
3. 根据权利要求 2所述的方法, 其特征在于, 还包括:  3. The method according to claim 2, further comprising:
在建立所述 LSP时, 向所述目的 UNI-C设备发送 LSP建立请求; 接收所述目的 UNI-C设备响应所述 LSP建立请求返回的携带有所述目 的 UNI-C设备的 MAC地址的 LSP建立响应;  Sending an LSP establishment request to the destination UNI-C device when the LSP is established; receiving an LSP carrying the MAC address of the destination UNI-C device returned by the destination UNI-C device in response to the LSP establishment request Establish a response;
其中,所述生成向所述目的 UNI-C设备发送的在目的 MAC地址字段携 带特定 MAC地址的数据包包括:  The generating, by the destination UNI-C device, the data packet carrying the specific MAC address in the destination MAC address field includes:
生成向所述目的 UNI-C设备发送的在目的 MAC地址字段携带所述目的 UNI-C设备的 MAC地址的数据包。  Generating a data packet to the destination UNI-C device that carries the MAC address of the destination UNI-C device in the destination MAC address field.
4. 根据权利要求 3所述的方法, 其特征在于, 所述向所述目的 UNI-C 设备发送 LSP建立请求包括:  The method according to claim 3, wherein the sending an LSP establishment request to the destination UNI-C device includes:
向所述目的 UNI-C设备发送携带有源 UNI-C设备的 MAC地址的 LSP 建立请求,以使所述源 UNI-N设备或所述目的 UNI-C设备学习所述源 UNI-C 设备的 MAC地址。  Sending an LSP establishment request carrying the MAC address of the active UNI-C device to the destination UNI-C device, so that the source UNI-N device or the destination UNI-C device learns the source UNI-C device MAC address.
5. 根据权利要求 3或 4所述的方法, 其特征在于, 所述 LSP建立请求 是路径 PATH消息, 所述 LSP建立响应是资源预留 RESV消息。  The method according to claim 3 or 4, wherein the LSP establishment request is a path PATH message, and the LSP establishment response is a resource reservation RESV message.
6. 根据权利要求 2所述的方法, 其特征在于, 还包括:  6. The method according to claim 2, further comprising:
从所述源 UNI-N设备获取所述源 UNI-N设备的 MAC地址;  Obtaining, by the source UNI-N device, a MAC address of the source UNI-N device;
其中,所述生成向所述目的 UNI-C设备发送的在目的 MAC地址字段携 带特定 MAC地址的数据包包括: 生成向所述目的 UNI-C设备发送的在目的 MAC地址字段携带所述源 UNI-N设备的 MAC地址的数据包,其中由所述目的 UNI-N设备在输出所述 数据包时将所述源 UNI-N设备的 MAC地址替换为所述目的 UNI-C设备的 MAC地址。 The generating, by the destination UNI-C device, the data packet carrying the specific MAC address in the destination MAC address field includes: Generating, to the destination UNI-C device, a data packet carrying a MAC address of the source UNI-N device in a destination MAC address field, where the destination UNI-N device outputs the data packet The MAC address of the source UNI-N device is replaced with the MAC address of the destination UNI-C device.
7. 根据权利要求 6所述的方法, 其特征在于, 所述从所述源 UNI-N设 备获取所述源 UNI-N设备的 MAC地址包括:  The method according to claim 6, wherein the obtaining, by the source UNI-N device, the MAC address of the source UNI-N device comprises:
在与所述源 UNI-N设备校验数据链路时, 从所述源 UNI-N设备接收携 带所述源 UNI-N设备的 MAC地址的测试 TEST消息。  Upon verifying the data link with the source UNI-N device, a test TEST message carrying the MAC address of the source UNI-N device is received from the source UNI-N device.
8. 根据权利要求 1所述的方法, 其特征在于, 所述目的 UNI-C设备可 识别的 MAC地址是预设 MAC地址,  The method according to claim 1, wherein the MAC address identifiable by the destination UNI-C device is a preset MAC address,
其中,所述生成向所述目的 UNI-C设备发送的在目的 MAC地址字段携 带特定 MAC地址的数据包包括:  The generating, by the destination UNI-C device, the data packet carrying the specific MAC address in the destination MAC address field includes:
生成向所述目的 UNI-C设备发送的在目的 MAC地址字段携带所述预设 MAC地址的数据包。  Generating a data packet that is sent to the destination UNI-C device and carries the preset MAC address in a destination MAC address field.
9. 一种用于数据传输的方法, 其特征在于, 包括:  A method for data transmission, comprising:
当收到源 UNI-C设备在 LSP上向目的 UNI-C设备发送的数据包时, 删 除所述数据包携带的传输网标签, 其中所述 LSP是所述源 UNI-C设备和所 述目的 UNI-C设备经由源 UNI-N设备和目的 UNI-N设备建立的 LSP;  Deleting the transport network label carried by the data packet when the source UNI-C device sends the data packet to the destination UNI-C device on the LSP, where the LSP is the source UNI-C device and the destination An LSP established by the UNI-C device via the source UNI-N device and the destination UNI-N device;
当所述数据包的目的 MAC地址字段未携带所述目的 UNI-C设备可识别 的 MAC地址时, 在所述数据包的目的 MAC地址字段填充所述目的 UNI-C 设备的 MAC地址;  When the destination MAC address field of the data packet does not carry the MAC address identifiable by the destination UNI-C device, filling the MAC address of the destination UNI-C device in the destination MAC address field of the data packet;
向所述目的 UNI-C设备发送携带所述目的 UNI-C设备的 MAC地址的 数据包。  Sending a packet carrying the MAC address of the destination UNI-C device to the destination UNI-C device.
10. 根据权利要求 9所述的方法, 其特征在于, 所述目的 UNI-C设备可 识别的 MAC地址是所述目的 UNI-C设备的 MAC地址或预设 MAC地址。  The method according to claim 9, wherein the MAC address identifiable by the destination UNI-C device is a MAC address or a preset MAC address of the destination UNI-C device.
11. 根据权利要求 9所述的方法, 其特征在于, 所述在所述数据包的目 的 MAC地址字段填充所述目的 UNI-C设备的 MAC地址之前, 还包括: 从所述目的 UNI-C设备获取所述目的 UNI-C设备的 MAC地址。  The method according to claim 9, wherein, before the destination MAC address field of the data packet is filled with the MAC address of the destination UNI-C device, the method further includes: from the destination UNI-C The device acquires the MAC address of the destination UNI-C device.
12. 根据权利要求 11所述的方法,其特征在于,所述从所述目的 UNI-C 设备获取所述目的 UNI-C设备的 MAC地址包括:  The method according to claim 11, wherein the obtaining the MAC address of the destination UNI-C device from the destination UNI-C device comprises:
在与所述目的 UNI-C设备校验数据链路时, 从所述目的 UNI-C设备接 收携带所述目的 UNI-C设备的 MAC地址的测试 TEST消息。 When the data link is verified with the destination UNI-C device, it is connected from the destination UNI-C device. A test TEST message carrying the MAC address of the destination UNI-C device is received.
13. 一种网络设备, 其特征在于, 包括:  13. A network device, comprising:
建立模块,用于与目的 UNI-C设备建立经由源 UNI-N设备和目的 UNI-N 设备的 LSP;  Establishing a module for establishing an LSP with the destination UNI-N device and the destination UNI-N device with the destination UNI-C device;
生成模块,用于生成向所述目的 UNI-C设备发送的在目的 MAC地址字 段携带特定 MAC地址的数据包;  a generating module, configured to generate a data packet that is sent to the destination UNI-C device and carries a specific MAC address in a destination MAC address field;
第一发送模块,用于在所述 LSP上发送所述数据包, 以使所述数据包从 所述目的 UNI-N设备输出时在所述目的 MAC地址字段中携带有所述目的 UNI-C设备可识别的 MAC地址。  a first sending module, configured to send the data packet on the LSP, so that the destination UNI-C is carried in the destination MAC address field when the data packet is output from the destination UNI-N device The MAC address that the device can recognize.
14. 根据权利要求 13所述的网络设备, 其特征在于, 所述目的 UNI-C 设备可识别的 MAC地址是所述目的 UNI-C设备的 MAC地址。  The network device according to claim 13, wherein the MAC address identifiable by the destination UNI-C device is a MAC address of the destination UNI-C device.
15. 根据权利要求 14所述的网络设备, 其特征在于, 还包括: 第二发送模块, 用于在建立所述 LSP时, 向所述目的 UNI-C设备发送 LSP建立请求;  The network device according to claim 14, further comprising: a second sending module, configured to send an LSP establishment request to the destination UNI-C device when the LSP is established;
接收模块, 用于接收所述目的 UNI-C设备响应所述 LSP建立请求返回 的携带有所述目的 UNI-C设备的 MAC地址的 LSP建立响应;  a receiving module, configured to receive an LSP establishment response that is sent by the destination UNI-C device and is returned by the LSP establishment request, and carries a MAC address of the destination UNI-C device;
其中, 所述生成模块用于生成向所述目的 UNI-C 设备发送的在目的 MAC地址字段携带所述目的 UNI-C设备的 MAC地址的数据包。  The generating module is configured to generate a data packet that is sent to the destination UNI-C device and that carries a MAC address of the destination UNI-C device in a destination MAC address field.
16. 根据权利要求 15所述的网络设备, 其特征在于, 所述第二发送模 块用于向所述目的 UNI-C设备发送携带有所述网络设备的 MAC地址的 LSP 建立请求, 以使所述源 UNI-N设备或所述目的 UNI-C设备学习所述网络设 备的 MAC地址。  The network device according to claim 15, wherein the second sending module is configured to send, to the destination UNI-C device, an LSP establishment request that carries a MAC address of the network device, so that the The source UNI-N device or the destination UNI-C device learns the MAC address of the network device.
17. 根据权利要求 15或 16所述的网络设备, 其特征在于, 所述 LSP 建立请求是路径 PATH消息, 所述 LSP建立响应是资源预留 RESV消息。  The network device according to claim 15 or 16, wherein the LSP establishment request is a path PATH message, and the LSP establishment response is a resource reservation RESV message.
18. 根据权利要求 14所述的网络设备, 其特征在于, 还包括: 获取模块, 用于从所述源 UNI-N设备获取所述源 UNI-N设备的 MAC 地址;  The network device according to claim 14, further comprising: an obtaining module, configured to acquire a MAC address of the source UNI-N device from the source UNI-N device;
其中, 所述生成模块用于生成向所述目的 UNI-C 设备发送的在目的 MAC地址字段携带所述源 UNI-N设备的 MAC地址的数据包, 其中由所述 目的 UNI-N设备在输出所述数据包时将所述源 UNI-N设备的 MAC地址替 换为所述目的 UNI-C设备的 MAC地址。 The generating module is configured to generate, by the destination UNI-C device, a data packet carrying a MAC address of the source UNI-N device in a destination MAC address field, where the target UNI-N device is outputting The data packet is replaced with the MAC address of the source UNI-N device as the MAC address of the destination UNI-C device.
19. 根据权利要求 18所述的网络设备, 其特征在于, 所述获取模块用 于在与所述源 UNI-N设备校验数据链路时, 从所述源 UNI-N设备接收携带 所述源 UNI-N设备的 MAC地址的测试 TEST消息。 The network device according to claim 18, wherein the acquiring module is configured to receive, when the data link is verified with the source UNI-N device, carry the Test TEST message for the MAC address of the source UNI-N device.
20. 根据权利要求 13所述的网络设备, 其特征在于, 所述目的 UNI-C 设备可识别的 MAC地址是预设 MAC地址,  The network device according to claim 13, wherein the MAC address recognizable by the destination UNI-C device is a preset MAC address,
其中, 所述生成模块用于生成向所述目的 UNI-C 设备发送的在目的 MAC地址字段携带所述预设 MAC地址的数据包。  The generating module is configured to generate a data packet that is sent to the destination UNI-C device and that carries the preset MAC address in a destination MAC address field.
21. 一种网络设备, 其特征在于, 包括:  21. A network device, comprising:
删除模块, 用于当收到源 UNI-C设备在 LSP上向目的 UNI-C设备发送 的数据包时, 删除所述数据包携带的传输网标签, 其中所述 LSP是所述源 UNI-C设备和所述目的 UNI-C设备经由源 UNI-N设备和所述网络设备建立 的 LSP;  a deleting module, configured to: when receiving a data packet sent by the source UNI-C device to the destination UNI-C device on the LSP, deleting the transport network label carried by the data packet, where the LSP is the source UNI-C An LSP established by the device and the destination UNI-C device via the source UNI-N device and the network device;
填充模块, 用于当所述数据包的目的 MAC 地址字段未携带所述目的 UNI-C设备可识别的 MAC地址时, 在所述数据包的目的 MAC地址字段填 充所述目的 UNI-C设备的 MAC地址;  a filling module, configured to: when the destination MAC address field of the data packet does not carry the MAC address identifiable by the destination UNI-C device, filling the destination UNI-C device in the destination MAC address field of the data packet MAC address;
发送模块, 用于向所述目的 UNI-C设备发送携带所述目的 UNI-C设备 的 MAC地址的数据包。  And a sending module, configured to send, to the destination UNI-C device, a data packet carrying a MAC address of the destination UNI-C device.
22. 根据权利要求 21所述的网络设备, 其特征在于, 所述目的 UNI-C 设备可识别的 MAC地址是所述目的 UNI-C设备的 MAC地址或预设 MAC 地址。  The network device according to claim 21, wherein the MAC address identifiable by the destination UNI-C device is a MAC address or a preset MAC address of the destination UNI-C device.
23. 根据权利要求 21所述的网络设备, 其特征在于, 还包括: 获取模块, 用于从所述目的 UNI-C设备获取所述目的 UNI-C设备的 MAC地址。  The network device according to claim 21, further comprising: an obtaining module, configured to acquire a MAC address of the destination UNI-C device from the destination UNI-C device.
24. 根据权利要求 23所述的网络设备, 其特征在于, 所述获取模块用 于在与所述目的 UNI-C设备校验数据链路时, 从所述目的 UNI-C设备接收 携带所述目的 UNI-C设备的 MAC地址的测试 TEST消息。  The network device according to claim 23, wherein the acquiring module is configured to receive, when the data link with the destination UNI-C device is verified, the carrier from the destination UNI-C device The TEST message is tested for the MAC address of the destination UNI-C device.
25. 一种用于数据传输的系统, 其特征在于, 包括源用户网络接口客户 侧 UNI-C设备、 源用户网络接口网络侧 UNI-N设备、 目的 UNI-N设备和源 UNI-C设备, 其中:  25. A system for data transmission, comprising: a source user network interface client side UNI-C device, a source user network interface network side UNI-N device, a destination UNI-N device, and a source UNI-C device, among them:
所述源 UNI-C设备用于与所述目的 UNI-C设备建立经由所述源 UNI-N 设备和所述目的 UNI-N设备的 LSP; 生成向所述目的 UNI-C设备发送的在 目的 MAC地址字段携带特定 MAC地址的数据包; 在所述 LSP上发送所述 数据包; The source UNI-C device is configured to establish, by the destination UNI-C device, an LSP via the source UNI-N device and the destination UNI-N device; and generate, send, to the destination UNI-C device The destination MAC address field carries a data packet of a specific MAC address; the data packet is sent on the LSP;
所述源 UNI-N设备用于接收所述源 UNI-C设备发送的所述数据包, 并 在所述数据包上添加传输网标签;  The source UNI-N device is configured to receive the data packet sent by the source UNI-C device, and add a transport network label to the data packet;
所述目的 UNI-N设备用于当收到所述源 UNI-N设备转发的所述数据包 时, 删除所述传输网标签; 当所述数据包的目的 MAC地址字段未携带所述 目的 UNI-C设备可识别的 MAC地址时, 在所述数据包的目的 MAC地址字 段填充所述目的 UNI-C设备的 MAC地址, 向所述目的 UNI-C设备发送携 带所述目的 UNI-C设备的 MAC地址的数据包; 当所述数据包的目的 MAC 地址字段携带所述目的 UNI-C 设备可识别的 MAC 地址时, 向所述目的 UNI-C设备发送所述数据包;  The destination UNI-N device is configured to delete the transport network label when receiving the data packet forwarded by the source UNI-N device; when the destination MAC address field of the data packet does not carry the destination UNI - When the MAC address of the C device is identifiable, the MAC address of the destination UNI-C device is filled in the destination MAC address field of the data packet, and the destination UNI-C device is sent to the destination UNI-C device. a data packet of a MAC address; when the destination MAC address field of the data packet carries a MAC address identifiable by the destination UNI-C device, sending the data packet to the destination UNI-C device;
所述目的 UNI-C设备用于接收所述目的 UNI-N设备转发的数据包。 The destination UNI-C device is configured to receive a data packet forwarded by the destination UNI-N device.
26. 根据权利要求 25所述的系统, 其特征在于, 所述目的 UNI-C设备 可识别的 MAC地址是所述目的 UNI-C设备的 MAC地址或预设 MAC地址。 The system according to claim 25, wherein the MAC address identifiable by the destination UNI-C device is a MAC address or a preset MAC address of the destination UNI-C device.
PCT/CN2011/073834 2011-05-09 2011-05-09 Method, network equipment and system for data transmission WO2011120471A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/073834 WO2011120471A2 (en) 2011-05-09 2011-05-09 Method, network equipment and system for data transmission
CN201180000599.3A CN102239681B (en) 2011-05-09 2011-05-09 Method, network equipment and system for data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/073834 WO2011120471A2 (en) 2011-05-09 2011-05-09 Method, network equipment and system for data transmission

Publications (2)

Publication Number Publication Date
WO2011120471A2 true WO2011120471A2 (en) 2011-10-06
WO2011120471A3 WO2011120471A3 (en) 2012-04-12

Family

ID=44712681

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073834 WO2011120471A2 (en) 2011-05-09 2011-05-09 Method, network equipment and system for data transmission

Country Status (2)

Country Link
CN (1) CN102239681B (en)
WO (1) WO2011120471A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11578706B2 (en) 2021-04-02 2023-02-14 Ice Thermal Harvesting, Llc Systems for generating geothermal power in an organic Rankine cycle operation during hydrocarbon production based on wellhead fluid temperature

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104600B (en) 2013-04-01 2018-03-09 华为技术有限公司 The method and the network equipment that a kind of LSP is established

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453403A (en) * 2007-12-04 2009-06-10 华为技术有限公司 Label management method and apparatus in PBB-TE
US7710970B2 (en) * 2003-04-28 2010-05-04 Alcatel-Lucent Usa Inc. Source identifier for MAC address learning
US7813345B2 (en) * 2003-06-05 2010-10-12 At&T Intellectual Property I, L.P. MAC learning using VC-LSP dedicated for broadcast and unknown frames

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7710970B2 (en) * 2003-04-28 2010-05-04 Alcatel-Lucent Usa Inc. Source identifier for MAC address learning
CN1816991B (en) * 2003-04-28 2010-05-26 阿尔卡特Ip网络有限公司 Method and system for routing data between starting station and target station
US7813345B2 (en) * 2003-06-05 2010-10-12 At&T Intellectual Property I, L.P. MAC learning using VC-LSP dedicated for broadcast and unknown frames
CN101453403A (en) * 2007-12-04 2009-06-10 华为技术有限公司 Label management method and apparatus in PBB-TE

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11578706B2 (en) 2021-04-02 2023-02-14 Ice Thermal Harvesting, Llc Systems for generating geothermal power in an organic Rankine cycle operation during hydrocarbon production based on wellhead fluid temperature

Also Published As

Publication number Publication date
CN102239681A (en) 2011-11-09
CN102239681B (en) 2013-09-11
WO2011120471A3 (en) 2012-04-12

Similar Documents

Publication Publication Date Title
US20160006614A1 (en) Source Routing Using Path Computation Elements
US7746796B2 (en) Directed echo requests and reverse traceroute
JP4938687B2 (en) Network system and relay device
TWI461030B (en) Rsvp-te graceful restart under fast re-route conditions
WO2013182059A1 (en) Method and device for establishing multi-protocol label switching traffic engineering tunnel
US20100202297A1 (en) Method, device, and system for traffic switching in multi-protocol label switching traffic engineering
EP1379036A1 (en) Method and system for automatically establishing a return label switched path
WO2020119644A1 (en) Forwarding entry generation method, apparatus, and device
KR101699643B1 (en) Oam method and device based on multi-protocol label switching
JP2007336545A (en) Data transfer method and data transfer control apparatus
WO2015032275A1 (en) Method and router for establishing tunnel
WO2018077304A1 (en) Service information processing method, apparatus and system
WO2013139234A1 (en) Method, device and network system for multicast transmission
US8902909B2 (en) Method, system, and device for implementing service forwarding
Ishii et al. A novel IP routing/signaling based service provisioning concept for ubiquitous grid networking environment
CN102769552A (en) Method and apparatus for transmitting BFD (bidirectional forwarding detection) message during LSP (label switched path) detection by BFD
WO2011120471A2 (en) Method, network equipment and system for data transmission
JP6371399B2 (en) Interface parameter synchronization method and apparatus
JP4455521B2 (en) Multicast MPLS network construction method, multicast MPLS network system, router and program
KR101851031B1 (en) Pseudo-wire providing an in-band control channel using an offset
WO2013185650A1 (en) Reply message transmission method and node
WO2013029499A1 (en) Dynamic routing method
JP6117512B2 (en) Edge node device, resource control method, and program
JP4634979B2 (en) MPLS network system, MPLS router, and path setting method
Kimani Protection Methods in Traffic Engineering MPLS Networks

Legal Events

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

Ref document number: 201180000599.3

Country of ref document: CN

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

Ref document number: 11762045

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11762045

Country of ref document: EP

Kind code of ref document: A2