The present invention relates to a method for transmitting high-level PDUs (Protocol Data Units) over low-level protocol, particularly to a method for transmitting MPLS (Multi-protocol Label Switch) PDUs on the basis of GFP (General Framing Procedure).
MPLS is a standard protocol of IETF (Internet Engineering Task Force). MPLS is a label-based IP (Internet Protocol) routing method and pertains to the scope of L3 switching technology; it employs a label-based mechanism to separate routing from forwarding; the network path of any packet is determined by the label, and data is transmitted through the LSP (Label Switch Path); MPLS converts L3 packet switching into L2 switching in an IP network.
The label switching workflow of MPLS is as follows: first, establish a routing list and a label mapping list in LSR through LDP (Label Distribution Protocol) and conventional routing protocols such as OSPF (Open Shortest Path First); during network operation, the LER at entry to MPLS core network receives an IP packet from the external network, accomplishes L3 network functions, and adds a label to the IP packet; next, the data packet is transmitted in LSP, the LSR doesn't perform L3 processing for the packet; instead, it only forwards the packet via the switching unit according to the label; the data packet is transmitted to the other end (i.e., outlet) of the network finally; the LER at MPLS outlet removes the label from the packet and forwards the packet through the corresponding protocol of the external network.
MPLS technology isolates label distribution mechanism from data stream, it can be implemented independently to specific data link layer protocols, thus MPLS can support diverse physical layer and data link layer technologies. Presently, MPLS over FR (frame relay), MPLS over ATM (Asynchronous Transfer Mode), MPLS over PPP (Point-to-Point Protocol) links, and MPLS over IEEE (Institute of Electrical and Electronics Engineers) 802.3 LANs has been achieved. Utilizing MPLS-based network to forward IP traffics simplifies inter-layer routing & forwarding process, thus accelerates MPLS switching, and enhances network efficiency; in addition, MPLS can transmit traffics of different levels ; it combines high speed and flow control capability of switch and flexible functionality and QoS of router.
GFP (General Framing Procedure) is a new framing protocol defined in proposal G.7041/Y.1303 of ITU-T (the International Telecommunication Union-Telecommunication Standardization Sector). GFP can be used to transport length-fixed data packets or length-varied data packets over high speed data channels, because it follows HEC (Header Error Check) in ATM to delimitate frames. GFP exploits point-to-point transmission capability of MODEM and transmits input data stream in sequence, significantly simplifying data link layer synchronization and data frame delimitation. Unlike the delimitation mechanism (i.e., utilize header mark, escape byte “7D”, “7E”, etc.) of HDLC-based framing protocols, GFP doesn't need specific line encoding for PDUs (Protocol Data Unit) and thereby reduces requirements for the logic circuit. GFP can assign QoS control function for the client layer, which reduces overhead; therefore, GFP is better than ATM in this aspect. Reduced execution complexity makes GFP particularly suitable for high-speed transmission links, e.g., PPP (Point-to-Point Protocol) link in SDH (Synchronous Digital Hierarchy)/SONET (Synchronous Optical Network) and OTN (Optical Transfer Network) links; GPF can even be used for bare optical fibers. For high-speed digital transmission environments, many conventional solutions such as ATM, FR (Frame Relay), PPP/HDLC and POS (PPP-over-SDH/SONET) can't meet the demand for network service development, while GFP is deemed as the best alternative.
The payload overhead of GFP can be used for transmission in the same transmission channel in several transmission modes. The first mode, corresponding to GFP-F (Frame-Mapped GFP), is most suitable for packet switching environments; in this case, resource management is carried out by original data clients of resources; this mode is right the transmission mode for primary IP, PPP, and Ethernet services. The second mode, corresponding to GFP-T (Transparent GFP), is mainly designed for circuit emulation applications that are sensitive to time delay; the purpose is to implement effective transmission on adaptation layer. This mode is the transport model for FC (Fiber Channel), ESCON (Enterprise Systems Connection), and FICON (Fiber Connection) services.
At present, data of packet-switching traffics (e.g., IP traffic) is encapsulated and carried by FR, PPP/HDLC, POS or ATM, and then transmitted across the TDM-based core network. Though most edge routers, especially those in MANs and WANs, employ STM-16/OC-487c and STM-64/OC-192c SDH/SONET interfaces, most FR and PPP interfaces still work at the speed of DS1, DS3 or OC-3c, or even lower. Ethernet and SAN (Storage Area Network) protocols, such as FC, ESCON and FICON, are still proprietary protocols from suppliers, which are transmitted through the public network in traditional transmission plans. However, GFP supports QoS and is based on existing standard mechanisms; it transmits Ethernet/SAN traffic through TDM network, and thereby meets the requirement for improved interconnectivity between data center and SAN as well as the demand for Ethernet-based VPN and enhanced QoS functionality through 802.1Q/P.
Seen from above, the existing network architectures carry PSN (Packet Switching Network) traffic, e.g., MPLS on the traditional data link layer, e.g., HDLC; therefore, the data link layer of any existing MPLS usually employs HDLC/PPP, FR, ATM or Ethernet; however, the data link layer of optical transmission network usually employs HDLC/PPP.
In practice, said solution has the following disadvantages: since data are encapsulated in PPP/HDLC mode and transmitted through the optical transmission network, the solution is complex, inefficient, unapt, and has direct and adverse effect to MPLS network performance.
The main cause of such a disadvantage is: existing MPLS networks employ traditional data link layer protocols or encapsulation methods, which can't fully meet the requirements of MPLS networks and can't adapt to the development of future network traffics.
It is an object of the present invention to provide a method for transmitting MPLS PDUs to improve transmission efficiency, resource utilization and network performance of MPLS network traffics.
To attain said object, a method for transmitting MPLS PDUs according to the present invention comprises the steps of:
A. adding the pending MPLS PDU to PIA (Payload Information Area) field of said GFP data frame;
B. transmitting said GFP data frame to the destination node via a transmission network;
C. retrieving said MPLS PDU from the PIA field of said GFP data frame at destination node.
Wherein said step A further comprises the sub-step of:
Setting said UPI (User Payload Identifier) field of said GFP data frame to a predetermined value indicating that the present frame carries the MPLS PDU.
Said predefined value indicating that the present frame carries the MPLS PDU is Hex 0×07.
Said step C comprises the sub-step of:
Removing the header of said GFP data frame, and then retrieving the payload of said GFP data frame as said MPLS PDU.
further comprises the steps of:
before said MPLS PDU is added to the PIA field, encoding or compressing said MPLS PDU;
after said MPLS PDU is retrieved from said PIA field, decoding or decompressing said MPLS PDU.
Compared to existing technologies, the difference of the technical solution in present invention lies in: MPLS PDU is encapsulated in GFP frame format, the UPI of GFP frame is set to indicate that the present frame carries a MPLS PDU, and the frame is transmitted via optical transmission network.
Such difference brings obvious benefits, i.e., encapsulating MPLS PDUs in GFP frames reduces encapsulation overhead and time delay, increases network throughput, enhances QoS compatibility, simplifies implementation and execution, and improves MPLS network performance and QoS.
The object, technical solution and benefits of the present invention will become more obvious through the description with reference to the attached drawings.
The present invention employs GFP protocol to encapsulate MPLS PDUs and transmits MPLS PDUs via the physical network to implement MPLS network traffic function. It enables MPLS network to incorporate GFP benefits such as simplicity, high efficiency, and flexibility and thereby improves performance of MPLS network.
First, the present invention provides the format of the frame encapsulating MPLS PDUs in GFP protocol.
As shown in
In more detail, the header 302 further comprises PLI (Payload Length Indicator) and cHEC (Core Header Error Check). Wherein PLI occupies 16 bits and is designed to indicate byte number of the payload area 303; cHEC occupies 16 bits and is designed to detect data integrity of header 302 through 16-bit CRC (Cyclic Redundancy Check).
The payload area 303 comprises PH (Payload Header) 304, PIA and FCS (Frame-Check Sequence). Wherein PH can occupy 4 to 64 bytes and is designed to support data link management of high level client data; the total length of PIA and FCS can't go beyond 65536 bytes, wherein PIA is encapsulated high level client data; FCS is optional, occupies 4 bytes and is designed to perform 32-bit CRC for PIA.
PH 304 further comprises Payload Type 305, tHEC (Type HEC), Extension Header and eHEC (Extension HEC). Wherein Payload Type 305 occupies 16 bits and is designed to indicate content and format of PIA of GFP frame; tHEC occupies 16 bits and is designed to detect data integrity of Load Type 305 and supports single-bit error correction and double-bit error detection; Extension Header is optional and occupies 0 to 60 bytes and is designed to support header information of data link technical specifications, e.g., virtual connection identifier, source/destination address, port number and GoS; eHEC is also optional and occupies 16-bit CRC code for the Extension Header.
Payload Type 305 comprises 4 parts, i.e., PTI (Payload Type Identifier), PFI (Payload FCS Indicator), EXI (Extension Header Identifier), and UPI according to sending sequence; wherein 3-bit PTI is designed to indicates GFP client frame type, binary 000 for client data frame, and binary 100 for client management frame; 1-bit PFI indicates whether payload FCS exists; 4-bit EXI indicates type of the Extension Header; 8-bit UPI is designed to indicate payload type of PIA of the GFP frame. When PTI=000 (binary), i.e., client data frame, the following payload types are defined: Ethernet in frame-mapped mode, PPP in frame-mapped mode, FC in transparent mode, FICON in transparent mode, ESCON in transparent mode, KM Ethernet in transparent mode, and MAPOS (multiple access protocol over SDH) in frame-mapped mode. Wherein the following values (in Hex) are reserved in the value space of UPI: 0×00 and 0×FF: unobtainable; 0×07: reserved for future; 0×09˜0×EF: reserved for standardization in the future; 0×F0˜0×FE: reserved for intellectual property.
Hereunder the method for encapsulating MPLS PDU in above GFP is described in detail according to an embodiment of the present invention, with reference to
In an embodiment of the present invention, the UPI of GFP frame that encapsulates MPLS PDU is set to 0×07 to indicate that what the frame carries is MPLS PDU. Those skilled in the art can understand that the UPI of GFP frame can be defined as any applicable value to indicate that what the frame carries is MPLS PDU without affecting nature and scope of the present invention.
In an embodiment of the present invention, the method for transmitting MPLS traffics via optical transmission network comprises the steps of:
First, encapsulating the pending MPLS PDU in GFP frame through adding the MPLS PDU in PIA of GFP frame, and assigning values to other fields of the GFP frame;
Second, setting the UPI field of GFP frame a predefined value to indicate that what the frame carries is MPLS PDU; wherein the predefined value can be 0×07 or any other applicable value;
Next, transmitting the encapsulated GFP frame to the destination node via optical transmission network. During transmission of the GFP frame, the intermediate nodes can identify MPLS PDU carried in the frame according to UPI field and carry out correct processing for the frame.
Finally, retrieving the MPLS PDU from GFP frame at the destination node, which is a decapsulation process, a reverse process of above encapsulation process and is designed to remove GFP header and retrieve the payload. It should be noted that only two types of link layer technologies carrying MPLS PDUs are available before, i.e., Ethernet MAC and PPP protocols. Now GFP is added as an option to transmit MPLS efficiently via SDH/SONET.
Though the present invention is shown and described with reference to some preferred embodiments, those skilled in the art should understand that various modifications to the present invention can be made without departing from the spirit and scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2003101200736 | Dec 2003 | CN | national |