The present invention generally relates to packet-based switching systems, and more particularly to methods, apparatuses, mediums, and signals for facilitating the transmission of data packets having diverse formats through switching systems.
A number of different packet-based data transmission protocols are in commercial use. While packet-based switching systems dedicated to particular protocols are common, it has been more difficult to produce general packet switching systems that are able to switch multiple protocols. This is partially due to the diverse formats of the data packets used by the various protocols.
Embodiments of the present invention described and shown in the specification, claims, and drawings facilitate the transportation of data packets having diverse formats through general packet switching systems.
An object of the present invention is to provide a uniform format for encapsulating the diverse data packet formats generated by various packet-based data transmission protocols. An advantage of the present invention is the improvement in switching efficiency resulting from the use of the particular embodiments of uniform data packet encapsulation formats of the present invention.
In some embodiments of the present invention a frame (also referred in this specification as a “Unified Data Packet”) is stored in the computer-readable medium of computer systems, including packet-switching computer systems, or is transported on communications systems between or within computer systems. A particular embodiment of the Unified Data Packet of the present invention is referred to in this specification as the “Fairfax Frame.” Embodiments of the Unified Data Packet comprise a Header Section, a Payload Section, and a Trailer Section. The Header Section comprises a Segment Type field and a Final Payload Count Valid field. The contents of the Segment Type field and the contents of the Final Payload Count Valid field are responsive to the contents of the Payload Section. The Header Section may also comprise a Service Type field, a Routing Identification field, and/or a Source Identification field. Embodiments of the Unified Data Packet may further comprise, responsive to the contents of the Final Payload Count Valid field, a Final Payload Count field in the Payload Section. Complete or partial data packets for transport using the Unified Data Packet of the present invention are stored in the Payload Section. Furthermore, the Unified Data Packet of the present invention may comprise two Header Sections, each with an associated Payload section.
Additional objects and advantages of the invention are set forth in part in the description which follows, and in part are obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may also be realized and attained by means of the instrumentalities and combinations particularly set out in the appended claims.
The accompanying drawings, which are incorporated in and constitute part of the specification, illustrate preferred embodiments of the invention, and together with the description, serve to explain the principles of the invention.
In the accompanying drawings:
Interpretation of Terms
Unless otherwise noted in this specification or in the claims, all of the terms used in the specification and the claims will have the meanings normally ascribed to these terms by workers in the art. Certain terms specifically comprise the meanings associated with them as follows:
“Computer system” refers to individual standalone computers, multiple computers coupled in any manner, and software simulations of computers regardless of the intended use of the computer system or the technology used to implement the computer system. The term “Computer system” includes, but is not limited to, packet-switching systems and other communications switching systems.
“Data packets” refers to any data packets used by any computer communications protocol, and includes synchronous (including Time Division Multiplex (TDM)) data packets and asynchronous (including High Level Data Link Control (HDLC)) data packets.
Detailed Description
Acts performed by methods and apparatus functions of the present invention may be implemented, as is known in the art, as software running on general purpose computers or special purpose computers, as hardware, or as combinations of software and hardware.
The data packets produced by various computer communications protocols generally vary widely in format, including size. Due to this non-uniformity, it may be difficult and inefficient to switch data packets having diverse formats through a general purpose packet switch. The present invention facilitates such switching by encapsulating all of the data packets to be switched (sometimes referred to as “transported data packet”) into a Unified Data Packet format. Embodiments of the Unified Data Packet contain a Header Section, a Payload Section, and a Trailer Section. These embodiments are uniform in overall size, and in the arrangement and purpose of the data fields contained in the Header Section and Trailer Section. The arrangement of the Payload Section, which carries all or a portion of a data packet to be switched, varies, as described below, depending on the data packet being carried. The uniform size of the Unified Data Packet, and the generally uniform arrangement and purpose of the fields within the Unified Data Packet enables Unified Data Packets to be switched efficiently.
In the embodiment of Unified Data Packet 101 depicted in
In some embodiments, depending on the size of the transported data packet and as described below in connection with the Final Payload Count Valid Field, Payload Section 110 comprises a single, fixed-length field containing all or part of a transported data packet; while in other embodiments Payload Section 110 comprises a fixed-length Final Payload Count field 111 in addition to a fixed-length field containing all or part of a transported data packet.
Embodiments of Header Section 105 comprise the various fields, as are known in the art, for routing and managing data packets. Embodiments of Header Section 105 also comprise fields for indicating Segment Type and Final Payload Count Valid. If a transported data packet is of exactly the same length as fixed-length Payload Section 110, then the Segment Type field is set to indicate that Payload Section 110 contains a complete transported data packet and the Final Payload Count Valid field is set to indicate that Payload Section 110 does not contain a Final Payload Count field 111. If a transported data packet is smaller than the fixed-length Payload Section 110, then the Segment Type field is set to indicate that Payload Section 110 contains a complete transported data packet, the Final Payload Count Valid field is set to indicate that Payload Section 110 contains a Final Payload Count field 111, and the Final Payload Count field 111 contains the length of the transported data packet.
If a transported data packet is larger than the fixed-length Payload Section 110, then the transported data packet must be transported by two or more Unified Data Packets 101. In the Unified Data Packet 101 containing the initial portion of the transported data packet, the Segment Type field is set to indicate that Payload Section 110 contains the initial part of the transported data packet and the Final Payload Count Valid field is set to indicate that Payload Section 110 does not contain a Final Payload Count field 111. In the Unified Data Packet 101 containing a middle part of the transported data packet, the Segment Type field is set to indicate that Payload Section 110 contains a middle part of the transported data packet and the Final Payload Count Valid field is set to indicate that Payload Section 110 does not contain a Final Payload Count field 111. Some embodiments of Header Section 105 will contain a Sequence Number field, as is known in the art. In some embodiments, the Sequence Number field is set to zero in a Unified Data Packet 101 containing a complete or initial part of a transported data packet. The Sequence Number field is incremented by one in each subsequent Unified Data Packet 101 containing a middle part or final part of a transported data packet. Thus, the initial, middle, and final portions of a transported data packet will contain sequential numbers in the Sequence Number fields of the Unified Data Packets 101 carrying the transported data packet and the order of the portions can be determined, as is known in the art, so that the transported data packet portions can be extracted from the Unified Data Packets 101 and correctly reassembled. Other methods of determining the correct order of packets sent through communications systems are known in the art and may be employed.
Finally, in the Unified Data Packet 101 containing the final part of the transported data packet, the Segment Type field is set to indicate that Payload Section 110 contains the final part of the transported data. If the final part of the transported data packet is smaller than the fixed-length Payload Section 110, then the Final Payload Count Valid Field is set to indicate that Payload Section 110 contains a Final Payload Count field 111, and the Final Payload Count field 111 contains the length of the final part of the transported data packet. If the final part of the transported data packet is the same size as the fixed-length Payload Section 110, then the Final Payload Count Valid Field is set to indicate that Payload Section 110 does not contain a Final Payload Count field 111.
A detailed example of one embodiment of the present invention is provided as follows:
Fairfax Frame 201
The Fairfax Frame is the Ocular Networks, Inc., (ONI) Fairfax, Va., proprietary format for encapsulating user Time Division Multiplex (TDM) traffic, Asynchronous Transfer Mode (ATM) Cell or IP packet, configuration information, and Operation, Administration and Maintenance (OA&M) information into a packet to be switched through a packet-based switching fabric. Ocular products using the Fairfax Frame are referred to herein as “Ocular Switching Equipment.” An exemplary format for a Fairfax Frame 201 is shown in
Fairfax Header Section 205
The header fields are as depicted in
The field is loaded at every place where Fairfax Frames 201 are generated, and checked at every place where Fairfax Frames 201 are received and interpreted:
The VER field 301 is only one bit because a Version 1+ Fairfax Frame 201 can define additional version bits to accommodate further frame versions.
Multicast 302
The MCST field 302 will always be loaded when a Fairfax Frame 201 is created. However, the value may not be used since the frame's destination(s) will be identified by indexing a routing table with the Fairfax Routing ID. The MCST field 302 provides a direct indication of the multicast status for debugging purposes.
Segment Type 304
BOF, COF and EOF are applied to Fairfax Frames 201 which carry part of a segmented datagram. SSF is applied to a Fairfax Frame 201 which carries a complete user datagram.
When a segment type error is detected, the erroneous segment should be counted and discarded.
Final Payload Count Valid 303
The FPCV field 303 prevents the need to add a segment to a datagram just to carry the payload count for a full Fairfax Payload section 210.
This scheme only supports user datagrams which are an integer number of bytes in length.
Sequence Number 305
Reserved 306
Fairfax Header 205 contains an additional reserved field 313. This field is not currently used.
Fairfax Routing Identification 307, 308
Fairfax Routing Identification (FRID) in the Fairfax header provides the logical routing information for transporting the payload from an ingress port to an egress port. Multiple FRIDs can be assigned to one ingress port for establishing multiple connections to several different egress ports.
The FRID is a “virtual” value which represents a unidirectional path through the Ocular switching equipment from an ingress port to an egress port. A bidirectional path through the Ocular switching equipment will have two FRID values assigned, one for each direction.
When the Ocular switching equipment needs to determine the details of the frame's path (e.g. identify the ingress and egress ports) the FRID value will index into routing table(s) which will return the required results, as is known in the art.
The 16-bit FRID fields 307, 308 can identify a maximum of 65,536 unidirectional paths or 32,768 bi-directional paths through the Ocular switching equipment. For TDM ports which encapsulate multiple Digital Signal level 1s (DS1s), there is one FRID assigned to each DS1. This value represents the ingress port, egress port and the location of the DS1 within the encapsulating egress datagram.
Datagram Reassembly Identification
Together with the First in First Out (FIFO) data transfer mechanism used to pass datagrams through the Ocular switching equipment, the FRID 307, 308, ST 304, and SN 305 fields provide sufficient datagram identification to permit an egress Input Output Board (IOB) to reassemble multiple segmented datagrams from multiple ingress IOBs.
At any one time, an egress IOB can only be reassembling one datagram from each Ocular switching equipment ingress port. The FRID fields 307, 308 identify the source port (and so the original datagram) and the ST 304 and SN 305 fields identify the constituent segments. Note that a multicast datagram may be simultaneously reassembled once on each of multiple egress IOBs.
Source Slot Identification 309
The SSID field 309 will always be loaded when a Fairfax Frame 201 is created. However, the value may not be used by any switching system function since the frame's source slot will be identified by indexing a routing table with the FRID 307, 308. The SSID field 309 provides a direct indication of the switching system source slot for debugging purposes.
Source Port Identification 310, 311
For IOB-sourced frames, the lowest numbered SPID values refer to the physical ports on the board. Port number 31 is assigned to test/debug frames generated from the supervisory processor.
All NCB-sourced frames are generated by the supervisory processor and so will be assigned to port number 31.
The SPID fields 310 and 311 will always be loaded when a Fairfax Frame 201 is created. However, the value may not be used by any switching system function since the frame's source port will be identified by indexing a routing table with the FRID. The SPID fields 310 and 311 provide a direct indication of the switching function source port for debugging purposes.
Source Port Identification (SPID) and Source Slot Identification (SSID) provide the information on where the Fairfax frames originated (frame origination location). It can provide information for troubleshooting. For example, SPID, SSID together with Forward Tagging can allow an egress port quickly to identify the source of congestion.
Discard Priority 312
A value of 1 (one) indicates that the frame is discard priority, a value of 0 (zero) indicates that the frame is not discard priority. In a congestion situation, discard priority frames will be discarded in preference to non-discard priority frames.
At an ingress port, any discard priority indication included in the incoming datagrams will be copied into the DP bit 312. At an egress port, the DP bit 312 will be copied into the appropriate datagram field.
The DP bit 312 can be set by the datagram originator, by preceding network elements, or anywhere within the Ocular switching equipment where policing is being performed.
Forward Tag 315
At an ingress port, any congestion indications included in incoming datagrams are carried transparently through the Ocular switching equipment. The congestion values are not copied to the Fairfax header FTAG field 315. At an egress port, if the Fairfax header FTAG field 315 is set to 1 (one), the value will be copied into the appropriate outgoing datagram field to indicate congestion in the datagram path.
The FTAG bit can be set to 1 (one) anywhere there is policing or queuing within the Ocular switching equipment.
Backward Tag Congestion Notification 314
At an ingress port, any congestion indication included in incoming datagrams are carried transparently through the Ocular switching equipment. The congestion values are not copied to the Fairfax header BTAG field 314. At an egress port, if the Fairfax header BTAG field 314 is set to 1 (one), the values will be copied into the appropriate outgoing datagram field to indicate congestion in the datagram path.
The BTAG bit can be set to 1 (one) anywhere there is policing or queuing within the Ocular switching equipment.
BTAG is used within Ocular switching equipment to signal a need to reduce the amount of traffic being passed into the congested function. However, there are a number of issues with BTAG which may result in the field being deleted from the header:
The BTAG field 314 has been located adjacent to the unused header bits, so that the fields can be merged in the event that BTAG is removed from the Fairfax Header 205.
Fairfax Service Identification 316
Example datagram and service types are:
When the FSID identifies the owner of the payload data, e.g. an Internet Service Provider (ISP), the value represents a complete package of processing and prioritizing to be applied to the payload.
Fairfax Queue Identification 317
Example queue/priority types include:
TDM Circuit Assurance is applied to TDM traffic. Frames with this FQID priority are transmitted to meet the DS1 and DS3 timing requirements through the Ocular switching equipment.
OAM is applied to Ocular switching equipment internal traffic control which may need to be switched even in the event of user datagram congestion.
Configuration is subdivided into at least two sub-priorities, code downloads (lower priority) and routing table updates (higher priority).
Transmit Last is the lowest priority and is only transmitted from an egress queue when no other FQID types are present.
In addition to these queue types, the FQID value assigned at the ingress port may reflect any priority values contained in the incoming datagram.
Fairfax Payload Section 210
The Fairfax Payload Section 210 is depicted in
If the datagram to be transferred is no larger than the payload section, the entire datagram is carried in one Fairfax Payload Section 210.
If the datagram to be transferred is larger than the Fairfax Payload Section 210, the datagram will be segmented into multiple subframes. The subframes for a particular datagram may be transferred consecutively or interleaved with segments from other ports and/or IOBs, datagrams from the same port will not be interleaved.) Interleaving between ports is supported to allow ingress IOBs to send data to the associated egress IOB(s) as the data arrives and fills the Fairfax Payload Sections 210, reducing the need to buffer complete datagrams before forwarding them.
Final Payload Count 111
If a datagram does not fill the entire payload section in the last, or only, (sub)frame then the header FPCV field 303 is set to 1 (one) and the first byte of the Fairfax Payload Section 210 becomes the Final Payload Count (FPC) field 111. This field contains a count of the number of payload bytes (1-63) which contain user datagram information.
The unused payload bytes (potentially all but two bytes in the payload section) take up available bandwidth.
If a datagram completely fills the last, or only, (sub)frame then the header FPCV field 303 is set to 0 (zero) and the first byte of the Fairfax Payload Section 210 is a valid datagram byte.
Fairfax Trailer Section 215
The trailer section comprises a single field as depicted in
Bit Interleaved Parity (8-bit) 501
When a BIP-8 error is detected, the frame will be counted and discarded.
In another embodiment of the present invention, shown in
As an example, the Second Fairfax Header 625 is located starting from the 36th byte as shown in
By examining the Service Type field First and Second FSID 643, 646 in Headers 605, 625, the Fairfax packet processor is able to identify each individual routing ID with its associated payload, and to route the two payloads 610 and 630 to separate destinations. In this embodiment, the size of a payload is a predetermined value that is in First and Second FSID 643, 646, such as 27 bytes. In this embodiment, the size of the payload is specified in FSID 643, 646 rather than through FPCV 303. A Fairfax Trailer 615 is used that is the same as Trailer Section 215 depicted in
It should be understood that the preceding is merely a detailed description of some examples and embodiments of this invention and that numerous changes to the disclosed embodiments can be made in accordance with the disclosure herein without departing from the spirit or scope of the invention. The preceding description, therefore, is not meant to limit the scope of the invention.
This application claims priority under 35 U.S.C. § 119(e) to U.S. Provisional Application No. 60/227,477, filed Aug. 24, 2000, the entirety of which being incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5136584 | Hedlund | Aug 1992 | A |
5206858 | Nakano et al. | Apr 1993 | A |
5280476 | Kojima et al. | Jan 1994 | A |
5369649 | Murayama et al. | Nov 1994 | A |
5414702 | Kudoh | May 1995 | A |
5446726 | Rostoker et al. | Aug 1995 | A |
5467342 | Logston et al. | Nov 1995 | A |
5668812 | Akiyoshi | Sep 1997 | A |
5673265 | Gupta et al. | Sep 1997 | A |
5796734 | Izawa et al. | Aug 1998 | A |
5822321 | Petersen et al. | Oct 1998 | A |
5917828 | Thompson | Jun 1999 | A |
5953322 | Kimball | Sep 1999 | A |
6104721 | Hsu | Aug 2000 | A |
6137798 | Nishihara et al. | Oct 2000 | A |
6411620 | Takase et al. | Jun 2002 | B1 |
6430183 | Satran et al. | Aug 2002 | B1 |
6721335 | Gregg | Apr 2004 | B1 |
6928076 | Mehta et al. | Aug 2005 | B2 |
6963564 | Liu | Nov 2005 | B1 |
7075935 | Humphrey | Jul 2006 | B1 |
Number | Date | Country | |
---|---|---|---|
20020051465 A1 | May 2002 | US |
Number | Date | Country | |
---|---|---|---|
60227477 | Aug 2000 | US |