METHOD AND APPARATUS FOR PROVIDING EFFICIENT APPLICATION-LEVEL SWITCHING FOR MULTIPLEXED INTERNET PROTOCOL MEDIA STREAMS

Abstract: A method and apparatus for efficient switching of multiplexed streams by mapping multiplexed frames with channel identifiers in multiplexed streams to corresponding output streams and channel identifiers. A system in accordance with the principles of the present invention includes a plurality of input port for receiving packets for switching, a plurality of output ports, each of the plurality of output ports having an output queue and a switching fabric, disposed between the plurality of input and output ports. The switching fabric switches identifies an input multiplexed stream to which a received packet belongs, notes the channel identifier of each frame in the received packet, identifies an output multiplexed stream and channel identifier corresponding to the input multiplexed stream and channel identifier for each frame in the received packet and inserting each frame for transmission to the output queue associated with the identified corresponding multiplexed stream and channel identifier.

Description: METHOD AND APPARATUS FOR PROVIDING EFFICIENT APPLICATION-LEVEL SWITCHING FOR MULTIPLEXED INTERNET PROTOCOL MEDIA STREAMS BACKGROUND OF THE INVENTION 1. Field of the Invention. This invention relates in general to IP telephony, and more particularly to method and apparatus for providing efficient application-level switching for multiplexed Internet Protocol media streams. 2. Description of Related Art. Traditionally, voice has been carried over circuit switched networks (CSN) that are designed especially for transmitting voice, e.g. PSTN and GSM. During the past twenty years, telephone systems have steadily improved and changed as businesses became dependent upon reliable communication that could overcome barriers of time and distance. As a result, enterprise-wide communications platforms have been developed to deliver a broad range of telephony services. The networking services available on these platforms include automatic least-cost routing and class-of-service routing, and applications such as voice mail, mobility and call centers. During this same time period, packet switching also grew to provide reliable and easy-to-use file transfer, transaction processing and information access. Packet switching systems were first implemented as proprietary systems running over private lines. However, today packet switching has evolved into standards-based, virtual-circuit networks, e.g., frame relay and Asynchronous Transfer Mode (ATM), and the Internet. The development and wide implementation of Ethernet in the 1980s led to bridges and routers and, more recently, local area network (LAN) switching. Transfer speeds have increased, prices have decreased and there are now more than 200 million Internet and Ethernet users worldwide. Currently, there is a lot of interest for the transmission of voice over packet switched networks (PSN). The next big development in telecommunications will be combining the Internet with mobile phones and other devices such as personal digital assistants (PDAs). Soon consumers will be using small communication devices that combine features such as mobile telephones, Internet terminals, music systems, video systems, cameras, etc. Further, the Internet and the growing convergence around the Internet Protocol (IP) present great opportunities for businesses to capture new markets, serve customers better, reduce costs and improve productivity. The biggest challenge facing IP telephony will be accommodating business-critical applications. The include call centers, Interactive Voice Response (IVR), and other speech-activated applications, mobility and single- number roaming services, and unified messaging. These types of applications accentuate the need for IP telephony to address the difficult issue of transmission quality. Over time, the telephone network has become very reliable and delivers consistently high-quality service. In contrast, on today's intranets and the public Internet, the quality of service is virtually nonexistent. File download times and the time required to pull up a web site varies, and the time for e-mail to reach its intended destination is dependent upon many network factors. Increasing the bandwidth of Internet links has been the focus of most efforts to improve the quality of service. However, increasing bandwidth is only a partial fix for the short term. In the long run, other strategies are required. At present, IP networks offer a single class of service called best effort, which can not guarantee any Quality of Service (QoS) to applications. To support delay sensitive applications such as voice and interactive multimedia, there have been many proposals submitted to the Internet Engineering Task Force (IETF) on how to integrate QoS in IP networks. These proposals include differentiated service (diff-serv), Integrated services (Int-serv) and Multi Protocol Label Switching (MPLS). Despite these efforts, QoS in IP is still elusive and could take some time before it is deployed over global Internet. As suggested above, IP telephony has emerged as a potential application to challenge the traditional phone companies by offering long distance telephone service over Internet for low prices. There are a large number of equipment vendors offering IP telephone gateways and accessories to provide IP telephony service to corporate customers and Internet Service Providers (ISPs). IP telephone standards such as H.323, H.225 and H.245 have been standardized to enhance the rapid deployment of IP telephone services in the global Internet. Even though, IP telephone is not a reality in the public Internet today, it has been more successful in Intranet and Virtual Private Networks (VPN) environments. In trials, IP telephone services have been demonstrated to have the potential to match the voice quality offered by traditional telephone networks. As a result, the growth of IP telephone gateways in corporate and ISP environments is expected to increase exponentially in the coming years. IP telephone gateways act as an interface between the existing PSTN and PBX networks and IP networks. This method allows one PSTN user to call another PSTN user connected through IP telephone gateways thus eliminating the need for long distance telephone network. In a IP telephony connection, two sides of the PSTN/PBX users (two branches of the same company) are interconnected by IP telephone gateways. In such application, a telephone call between PSTN/PBX users located at either side of the gateways is carried by a separate Real-time Transport Protocol/User Datagram Protocol/Internet Protocol (RTP/UDP/IP) connection. RTP is an Internet protocol for transmitting real-time data such as audio and video. RTP itself does not guarantee real-time delivery of data, but it does provide mechanisms for the sending and receiving applications to support streaming data. Typically, RTP runs on top of the UDP protocol, although the specification is general enough to support other transport protocols. The User Datagram Protocol is a connectionless protocol that, like TCP, runs on top of IP networks. Unlike TCP/IP, UDP/IP provides very few error recovery services, offering instead a direct way to send and receive datagrams over an IP network. IP telephony gateways provide an interface between the existing circuit switched telephone networks (such as PSTN and GSM) and the packet switched IP data networks. In traditional IP telephony applications, telephone calls between PSTN users interconnected by a pair of IP telephony gateways to compress incoming PSTN speech samples generate packets with sizes ranging from 5 to 20 bytes per speech sample. For example, G.723.1 (the most popular IP telephony codec and the International Multimedia Teleconferencing Consortium's (IMTC) Voice over IP (VoIP) mandatory low bit-rate codec), generates a 20 byte speech packet at 30 ms intervals. Many codecs used in cellular environment generate less than 10 byte packet per speech sample. Small size packets are subjected to large overhead when transferred using the Real time Transport Protocol (RTP). The RTP/UDP/IP overhead is 40 bytes (12+8+20) for a simple speech packet. For example, a 10 byte packet transferred via RTP/UDP/IP increases the overhead to 80% (40 byte overhead/50 byte overhead plus packet). In addition, for each call request a single UDP/IP connection (a pair of UDP ports) is established between the gateways requiring a large state (memory) to be maintained at the telephony gateways, thereby making these less scaleable. Congestion in IP networks results in packet loss at routers and UDP does not have any retransmission mechanism to recover lost packets. Also, real time applications such as speech is intolerant to delay caused by retransmission. In traditional RTP method, each individual speech packet is transmitted as a IP packet, which generates a large number of packets between gateways. This heavy traffic volume is a potential situation for congestion and packet loss at IP routers. To overcome these this problem, an efficient real-time transport protocol multiplexing method and apparatus for transporting compressed speech between IP telephony gateways has been proposed in co-pending and commonly-assigned U.S. Patent Applications S/N 09/137,276, by Baranitharan Subbiah, entitled "METHOD AND APPARATUS FOR PROVIDING EFFICIENT USER MULTIPLEXING IN A REAL-TIME PROTOCOL PAYLOAD FOR TRANSPORTING COMPRESSED SPEECH BETWEEN IP TELEPHONY GATEWAYS, herein referred to as "Subbiah." Subbiah describes a protocol that eliminates bandwidth usage inefficiencies in transporting short packets between nodes connected by an IP network, wherein the method and apparatus enables a number of users to share a single RTP/UDP/IP connection. The protocol includes creating a header for a plurality of data packets, each header providing identification of a user associated with a packet, adding each header to the data packet associated therewith to form mini-IP payloads, multiplexing the mini-IP payloads into a RTP payload and transmitting the RTP payload over a single RTP/UDP/IP connection. While Subbiah disclose a method and apparatus for providing application layer multiplexing in IP networks to overcome the problem of high header overhead for packets with small payloads, some problems remain. For example, if the multiplexing is used between two IP nodes only, there is no need for switching. However, if more complex topologies are considered, the issue of switching of the multiplexed streams arises. It can be seen then that there is a need for a method and apparatus provides for efficient switching of multiplexed streams. SUMMARY OF THE INVENTION To overcome the limitations in the prior art described above, and to overcome other limitations that will become apparent upon reading and understanding the present specification, the present invention discloses a method and apparatus for efficient switching of multiplexed streams. The present invention solves the above-described problems by providing a method and apparatus that maps multiplexed frames with channel identifiers in multiplexed streams to corresponding output streams and channel identifiers. A system in accordance with the principles of the present invention includes a plurality of input port for receiving packets for switching, a plurality of output ports, each of the plurality of output ports having an output queue and a switching fabric, disposed between the plurality of input and output ports, the switching fabric switching multiplexed streams received form the plurality of ports to the plurality of output ports, wherein the switching fabric identifies an input multiplexed stream to which a received packet belongs, notes the channel identifier of each frame in the received packet, identifies an output multiplexed stream and channel identifier corresponding to the input multiplexed stream and channel identifier for each frame in the received packet and inserts each frame for transmission to the output queue associated with the identified corresponding multiplexed stream and channel identifier. Other embodiments of a system in accordance with the principles of the invention may include alternative or optional additional aspects. One such aspect of the present invention is that the switch fabric determines when an output queue is full and sends the contents of the output queue when the output queue is determined to be full. Another aspect of the present invention is that the system further includes an input IP/ATM interface at each of the plurality of ports for receiving multiplexed IP packets and converting the received multiplexed IP packets to ATM cells as packets for switching. Another aspect of the present invention is that the input IP/ATM interface converts a received multiplexed IP packet to an ATM cell by noting the multiplex stream to which a received multiplexed IP packet belongs, identifying the channel identifier for each media frame in the received multiplexed IP packet, creating a new ATM payload having a ATM cell header, the ATM header including a VPI:VCI pair mapped from the noted multiplexed stream and the identified channel identifier and sending the new ATM payload including frame header as a packet for switching. Another aspect of the present invention is that the frames for transmission in the output queues include ATM cells having a payload. Another aspect of the present invention is that the system further includes output IP/ATM interfaces associated with each of the plurality of output ports for converting ATM cells to multiplexed IP packets, the IP/ATM interfaces converting the ATM cells to multiplexed IP packets notes the VPIΛ/CI pair of each the ATM cells received from the queues as frames for transmission, maps the VPI:VCI pair of each the ATM cells received from the queues as frames for transmission to an identified multiplexed stream associated with a channel identifier, inserts the payload as a frame to an IP output queue of the identified multiplexed stream with the channel identifier and transmits the IP output queue when the IP output queue is determined to be full. Another aspect of the present invention is that the output IP/ATM interlace recovers the sequence number, length indicator form the ATM cell. These and various other advantages and features of novelty which characterize the invention are pointed out with particularity in the claims annexed hereto and form a part hereof. However, for a better understanding of the invention, its advantages, and the objects obtained by its use, reference should be made to the drawings which form a further part hereof, and to accompanying descriptive matter, in which there are illustrated and described specific examples of an apparatus in accordance with the invention. BRIEF DESCRIPTION OF THE DRAWINGS Referring now to the drawings in which like reference numbers represent corresponding parts throughout: Fig. 1 shows an application scenario in which two sides of the PSTN/PBX are interconnected by IP telephone gateways; Figs. 2a-b illustrate MINI-IP headers according to the present invention; Fig. 3 illustrates the multiplexing of MINI-IP payloads in a RTP packet using the MINI-IP header; Fig. 4 illustrates the location of the MINI-IP controller in a IP telephone layered model; Fig. 5 illustrates the problem with routing multiplexed steams in a non- trivial topology; Fig. 6 illustrates the multiplexing scheme according to the present invention; Fig. 7 illustrates the method of switching performed by a switching fabric according to the present invention; Fig. 8 illustrates a hardware implementation of the switching method of the present invention; Figs. 9a and 9b illustrate flow charts for the processes performed by the IP/ATM interfaces; and Fig. 10 illustrates a block diagram of a hardware implementation 1000 of the present invention. DETAILED DESCRIPTION OF THE INVENTION In the following description of the exemplary embodiment, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration the specific embodiment in which the invention may be practiced. It is to be understood that other embodiments may be utilized as structural changes may be made without departing from the scope of the present invention. The present invention provides a method and apparatus for efficient switching of multiplexed streams by mapping multiplexed frames with channel identifiers in multiplexed streams to corresponding output streams and channel identifiers. Fig. 1 shows an application scenario 100 in which two sides of the PSTN/PBX 100, 112 (two branches of the same company) are interconnected by IP telephone gateways 120, 122. In such an application, a telephone call between PSTN/PBX users 110, 112 located at either side of the gateways 120, 122 is carried by a separate RTP/UDP/IP connection. The codecs used at the telephone gateway to compress incoming PSTN/PBX voice calls generates packets with a size ranging from 5 to 20 bytes. For example, the IP telephone standard G.723.1 specifies a codec that generates a 20 byte packet at the interval of 30 ms speech sample. Many codecs used in cellular environments generate a small packet, e.g., on the average a 10 byte packet per speech sample. This small size packets require a large overhead when they are transferred using the Real time Transport Protocol (RTP). The RTP/UDP/IP overhead is 40 bytes (12+8+20) for each speech packet. For example, if a 10 byte packet is transferred via RTP/UDP/IP then the overhead is 80%, i.e., 40/50. In addition, for each call request a single UDP/IP connection is established between the gateways 120, 122 requiring a large number of states (memory) to be maintained at the telephone gateways 120, 122. Congestion in IP networks results in packet loss at routers and UDP does not have any retransmission mechanism to recover lost packets. Also, real time applications such as speech are intolerant to delay caused by retransmission. In a traditional RTP method, each individual speech packet is transmitted as a IP packet, which generates a large number of packets between gateways. This heavy traffic volume is a potential situation for congestion and packet loss at IP routers. The large overhead to transfer a small packets (compressed speech) through RTP/UDP/IP has been one of the drawbacks of IP telephone. In order to minimize the overhead, RTP/UDP/IP header compression is applied for slow speed links. However, this method requires compressing/decompressing at routers as well as some additional processing overhead. Figs. 2a-b and 3 illustrate the use of MINI-IP headers to reduce header overhead according to the MINI-IP protocol. Even without compression, an equal or better bandwidth efficiency may still be achieved. Overhead is reduced by multiplexing two or more (e.g., up to 256) low bit rate connections in a single RTP/IP/UDP connection using a MINI-IP header 202 as illustrated in Fig. 2a. Alternatively, overhead may be reduce using the MINI-IP header 204 illustrated in Fig. 2b. However, those skilled in the art will recognize that the present invention is not meant to be limited to the particular MINI-IP headers illustrated in Figs. 2a-b, but that the MINI-IP headers 202, 204 illustrated in Figs. 2a-b are presented for illustration only. Rather, those skilled in the art will recognize that the MINI-IP headers 202, 204 enables multiplexing of multiple small size packets, and is added to each mini packet before it is assembled with other mini packets as an RTP payload, as illustrated in Fig. 3. To identify a single user among the number of users sharing the RTP connection, each user is allocated an unique Channel Identifier (CID) which is negotiated during connection setup. The CID negotiation procedures is carried out by MINI-IP signaling, which uses a TCP/IP connection for reliable transport. The most suitable application scenarios for MINI-IP method include IP telephone gateways connecting PSTN/PBX/GSM users. To identify mini packets multiplexed on a single RTP payload, MINI-IP uses a two byte header, called MINI-IP header, for each mini packet. The MINI-IP header 202, as shown in Fig. 2a includes a Channel Identifier (CID) 210, a Length Indicator (LI) 212, and a Sequence Number (SN) 214. The MINI- IP header 202 allows many users to share a single RTP/UDP/IP connection thus reducing the RTP/UDP/IP overhead per packet. As illustrated in Fig. 2a, the MINI-IP header includes a CID field 210, which identifies a single user among users haring a single RTP/UDP/IP connection. A CID 210 is assigned at the time of the request for access to the IP network and it is unchanged throughout the connection time. The length of the CID field 210 is 8 bits, which limits the number of users per single RTP connection to 256. The LI field 212 indicates the size of the payload (speech packet) and the 6 bits allow a maximum of 64 byte payload. The variable size of the LI field 212 allows different codecs to share a single connection and offers the flexibility to transport any low bit rate connection using MINI-IP method. The size of the LI field 212 is limited to 64 bytes since most of the codes available today (G.723.1 , G.729) generates packets less than 20 bytes per speech sample. The 2 bit Sequence Number (SN) field 214 is used for marking the voice packets transmitted from a single user in modulo 4 method, which can be used at the receiver to identify any packet loss. The module 4 scheme will be able to identify up to 3 consecutive packet losses at IP layer. The MINI-IP header 204, as shown in Fig. 2b includes a Channel Identifier (CID) 210, a Length Indicator (LI) 212, a Transition bit (T) 216 and a Reserved bit (X) 218. The Channel Identification (CID) 210 in Fig. 2b is an 8 bit field which allows a maximum of 256 users to share a single RTP/UDP/IP connection. When the total number of users exceeds 256, a new RTP/UDP/IP connection is established. The LI field 212 is a 6 bit field which allows a maximum payload size of 64 bytes. The Transition bit (T) 216 is used to identify any change in processing that was applied to a mini-packet. Notification of such changes occurs by toggling the bit. Finally, the Reserved bit (X) 218 is currently undefined, but may be used, for example, as an indication of a header extension and Dual Tone Multi-Frequency (DTMF). As mentioned above, those skilled in the art will recognize that the above illustration of MINI-IP headers is not meant to limit the invention, but that other MINI-IP header configurations and sizes could be used in accordance with the present invention. For example, the length of the fields could be modified within the 2 byte format. Further, other fields could be substituted and the length of the fields is not meant to be limited to provide a MINI-IP header of 2 bytes. For example, the reserved bit illustrated in Fig. 2b may be set to "1" to indicate an extension head is included in the MINI-IP header thereby providing an overall length for the MINI-IP header of 3 bytes. Alternatively, the reserved bit may be set to "0" to indicate that an extension header is not included in the MINI-IP header. Nevertheless, those skilled in the art will recognize that increases in the overall size of the MINI-IP header will proportionally increase the total overhead when multiple MINI-IP packets are multiplexed together in accordance with the invention. Thus, those skilled in the art will recognize that any MINI-IP header that enables multiplexing of multiple small size packets, is added to each mini packet before it is assembled with other mini packets as an RTP payload as illustrated in Fig. 3, and which allows proper processing of the multiple mini packets may be used without departing from the scope of the present invention. The assembly of mini packets into a single RTP/UDP/IP payload 300 is shown in Fig. 3. The mini packets 310 follow the RTP header 312 and each mini packet 320 is delineated by the two byte MINI-IP header 312. This approach requires a simple de-multiplexing algorithm at the receiver. Because the MINI-IP header 312 in the RTP payload 300 is transparent to the intermediate IP routers, the MINI-IP according to the present invention does not cause any problems in terms of IP packet forwarding and other functionality at the IP layer. The traditional Header Error Controls (HEC) found in many protocols is excluded because MINI-IP relies on the higher layer checksum (UDP checksum) to protect the headers and payload from any transmission errors. The MINI-IP controller is the key element which will be added to a IP telephone gateways to implement the MINI-IP method. The major function of the MINI-IP controller are: i. Negotiate channel identifier with remote gateway upon a connection request ii. Multiplex speech packets from a number of users into a single RTP payload iii. De-assemble MINI-IP packets from the RTP payload iv. Communicate to the remote controller to forward any request and/or control message The location of the MINI-IP controller 410 in a IP telephone layered model 400 as shown in Fig. 4. The MINI-IP controller 410 is inserted between the IWF function (not shown) of the PSTN/GSM/PBX network 420 and the RTP module 422 in the IP telephone gateway. The MINI-IP controller 410 is capable of receiving connection request from PSTN/GSM/PBX users 420 and setting up a channel on an existing or a new RTP/UDP/IP connection. The MINI-IP controller 410 acts as an application to the layers below 422, 424, 426, 428 (RTP/UDP/IP) and uses the bearer services offered by the lower layers for effective multiplexing. Other functions of the controller include open and close RTP/UDP connections, keep track of the active users on all UDP connections, and provide inter-working with PSTN/GSM/PBX call control features. However, the usage of such a multiplex scheme in non-trivial topologies raises the issue of routing. Fig. 5 illustrates the problem with routing multiplexed steams in a non-trivial topology 500. In Fig. 5, multiplexer/demultiplexers 510-528 are illustrated at the periphery of a core packet network 530. A data stream 540 is shown flowing between multiplexer/demultiplexer 550 and multiplexer/demultiplexer 528. From multiplexer/demultiplexer 528, it can be seen that the individual streams 560 do not usually use the same route from end to end through the network. In other words, individual voice frames 560 must be routed independently from each other at some point on the network 530. As many frames belonging to multiple media streams are multiplexed to one network packet, the underlying packet network can not perform the routing without separation of the multiplexed streams 540 to many independent network streams 560. When demultiplexing, the per-packet header overhead increases from 1-2 bytes up to 50 bytes (a typical payload is 10-20 bytes per frame). In the worst case, the packet count increases up to 100 times. In such a core network 530, the throughput is limited by the per-packet overhead. Therefore, demultiplexing greatly reduces the advantage of the multiplexing on the whole network 530. According to the present invention, each media frame stream is uniquely identified. Fig. 6 illustrates the multiplexing scheme 600. For example, in Fig. 6, each media frame is identified with a channel identifier (CID) 610-614, , e.g., 1 n , 2 n . . . 6 n , That is, each CID 610-614 is associated with a particular multiplexed stream, e.g. S Furthermore, each multiplex stream is uniquely identified by the destination IP address, UDP port number> pair 630-634 on which the multiplexed packets are received. The recipient should receive from the intended source only. Accidental or malicious packets that are sent from other sources should be discarded when received. This information can then be used to decide how to route the individual media frames correctly. According to the present invention, multiplexed streams are switched within special network nodes, thus avoiding the packet header overhead and the load caused to the network by numerous packets and flows. Because the switching is application-specific, the switching can be easily optimized and implemented in hardware. For example, Table 1 below illustrates a switching table. Table 1 Note that the channel identifiers defined above are the same in the incoming and outgoing multiplex streams to facilitate easier illustration. However, those skilled in the art will recognize that in a real situation the channel identifiers would be different on the input and the output. Referring to Fig. 6 and Table 1 , it can be seen that CID 1 n with multiplexed frame stream ≤ ! is routed to output multiplexed frame stream S 4 . Likewise, CIDs 2 n , 4 n and 5 n , with multiplexed frame stream S^ S 2 and S 3 respectively, are routed to output multiplexed frame stream S 5 . Finally, CIDs 3 n and 6 n , with multiplexed frame stream S 3 and S, respectively are routed to output multiplexed frame stream S 6 . The switching can be done by a switch according to the flow chart illustrated in Fig. 7. For each outgoing multiplex stream an output queue is maintained 710. A determination is made as to whether the queue is full 730. When the queue is full 734, its contents will be sent 740. The fullness of the queue can be determined by the amount of data stored, by the time since the first media frame was queued, or by some other means. The initial formation of the multiplex streams and the associated switching tables is done in the setup phase of the media frame streams. The switching method according to the present invention is applied to each of the received multiplexed packets. First, the multiplex stream S ιn to which this packet belongs is noted 720. Then, for each media frame in the packet, the channel identifier CID ιn of the media frame is noted 722, a match of the S ιn :CID, n from the switching table is found 724 and the corresponding S 0Ut :CID 0Ut is noted 726 and the media frame is inserted to the output queue of S out with the channel identifier CID out 728. If the queue is not full, additional packets are processed 732. The above switching method may be implemented in hardware as illustrated in Fig. 8. This lowers cost because there is no need for a general purpose CPU, an operating system, large amounts of memory, etc. The delay is then deterministic with less jitter, and possibly higher throughput. Finally, existing ATM switching hardware may be reused for IP based multiplex packet switching In Fig. 8, ATM switching hardware is illustrated. IP streams 810-814 are shown being received by receiving IP/ATM interfaces 820-824 and provided at the output of the ATM switch 800 by output IP/ATM interfaces 830-834. For each received multiplexed IP packet, the receiving IP/ATM interfaces 820-824 converts IP packets to ATM cells. For each ATM cell processed by the ATM switch fabric 840, the output IP/ATM interfaces 830-834 converts ATM cells to IP packets. Figs. 9a and 9b illustrate flow charts 900, 950 for the processes performed by the IP/ATM interfaces. From IP to ATM, as illustrated in Fig. 9a, IP packets are received at the input of an input IP/ATM interface 910. The multiplex stream S, n to which this packet belongs is noted 912 and for each media frame in the packet, the channel identifier CID ιn of the media frame is noted 914. A new ATM payload is created with the ATM cell header (VPINCI pair mapped from S m :CID ιn ) and the media data, including the frame header information (e.g., mapped to AAL5 CPCS-PDU trailer) 916 and the created cells are sent to the ATM switch fabric 918, thereby completing the input IP/ATM interface processing until additional IP packets are received 920. At the ATM switch fabric, the ATM cells are routed according to a switching table, for example, as illustrated in Table 1 above and described with reference to Fig. 7. Those skilled in the art will recognize that in the case of ATM switching hardware, the multiplex stream identifier, channel identifier pair is mapped 1 :1 to the ATM interface identifier, virtual path identifier, and virtual channel identifier triplet. Any possible reserved values for the VPI and/or VCl can be avoided by blocking usage of the corresponding channel identifiers and port numbers on the IP side. Accordingly, the switching table of the ATM switch fabric is fed with the VPIΛ/CI to VPhVCI mappings similar to the mapping illustrated in Table 1. From ATM to IP, as illustrated in 9b, the ATM cells exit the queues of the ATM switch fabric and are provided to the output IP/ATM interfaces 960. For each received packet, the VPhVCI pair of the packet is noted and mapped to S out :CID out 962. The media payload is inserted as a media frame to the IP output queue of S out with the channel identifier CID 0Ut , also recovering the sequence number, length indicator etc. 964 (e.g., from the AAL5-style CPCS- PDU trailer). The IP packet is then provided at the output 966. Fig. 10 illustrates a block diagram of a hardware implementation 1000 of the present invention. An ATM switch according to the present invention includes a processor 1010 and memory or buffer 1012 which may include random access memory (RAM), or any other memory configuration. The processor 1010 operates under the control of an operating system (not shown) and is configured to executes one or more computer programs, which are represented in Fig. 10 by the "box" 1030 within the block indicating the processor 1010. Generally, the computer programs 1030 may be tangibly embodied in a computer-readable medium or carrier 1040. The computer programs 1030 may be loaded from the computer-readable medium or carrier 1040 into memory 1012 for execution by the processor 1010 as discussed above with reference to Figs. 6-9b. The computer program 1030 includes instructions which, when read and executed by the processor 1010, causes the processor 1010 to perform the steps necessary to execute the steps or elements of the present invention. ATM cells are received via ports 1042, buffered in memory 1012, and the transmitted via ports 1042 under control of the processor 1010, which provides port switching as discussed above with reference to Figs. 6-9b. Those skilled in the art will therefore recognize that memory 1012 may be separate memory devices for running the program 1030 and for buffering ATM cells, or may be a signal memory device. Further, although an exemplary system configuration is illustrated in Fig. 10, those skilled in the art will recognize that any number of different configurations performing similar functions may be used in accordance with the present invention. In summary, the present invention provides efficient switching of multiplexed media frame streams at the application level. Further, according to the present invention, ATM hardware can be used to provide an efficient hardware based implementation. The foregoing description of the exemplary embodiment of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not with this detailed description, but rather by the claims appended hereto.

Claims: WHAT IS CLAIMED IS: 1. A method for switching multiplexed streams, comprising: receiving a packet for switching; identifying an input multiplexed stream to which the received packet belongs; noting the channel identifier of each frame in the received packet; identifying an output multiplexed stream and channel identifier corresponding to the input multiplexed stream and channel identifier for each frame in the received packet; and inserting each frame for transmission to an output queue associated with the identified corresponding multiplexed stream and channel identifier. 2. The method of claim 1 further comprising determining when a queue is full and sending the contents of the queue when the queue is determined to be full. 3. The method of claim 2 wherein the receiving a packet for switching further comprising converting received multiplexed IP packets to ATM cells. 4. The method of claim 3 wherein the converting a received packet to an ATM cell further comprises: receiving a multiplexed IP packet; noting the multiplex stream to which this packet belongs; identifying the channel identifier for each media frame in the received packet; creating a new ATM payload having a ATM cell header, the ATM header including a VPhVCI pair mapped from the noted multiplexed stream and the identified channel identifier; and sending the new ATM payload including frame header as a packet for switching. 5. The method of claim 2 wherein the frames for transmission in the queue comprise ATM cells, and the sending the contents of the queue further comprises converting the ATM cells to multiplexed IP packets. 6. The method of claim 5 wherein the converting ATM cells to multiplexed IP packets further comprises: receiving ATM cells having a payload from the queues as packets for transmission; noting the VPhVCI pair of each the ATM cells received from the queues as packets for transmission; mapping the VPhVCI pair of each the ATM cells received from the queues as packets for transmission to an identified multiplexed stream associated with a channel identifier; inserting the payload as a frame to an IP output queue of the identified multiplexed stream with the channel identifier; and transmitting the IP output queue when the IP output queue is determined to be full. 7. The method of claim 6 further comprising recovering the sequence number, length indicator form the ATM cell. 8. An ATM switch, comprising: a plurality of input port for receiving packets for switching; a plurality of output ports, each of the plurality of output ports having an output queue; and a switching fabric, disposed between the plurality of input and output ports, the switching fabric switching multiplexed streams received form the plurality of ports to the plurality of output ports, wherein the switching fabric identifies an input multiplexed stream to which a received packet belongs, notes the channel identifier of each frame in the received packet, identifies an output multiplexed stream and channel identifier corresponding to the input multiplexed stream and channel identifier for each frame in the received packet and inserting each frame for transmission to the output queue associated with the identified corresponding multiplexed stream and channel identifier. 9. The ATM switch of claim 8 wherein the switch fabric determines when an output queue is full and sends the contents of the output queue when the output queue is determined to be full. 10. The ATM switch of claim 9 further comprising an input IP/ATM interface at each of the plurality of ports for receiving multiplexed IP packets and converting the received multiplexed IP packets to ATM cells as packets for switching. 11. The ATM switch of claim 10 wherein the input IP/ATM interface converts a received multiplexed IP packet to an ATM cell by noting the multiplex stream to which a received multiplexed IP packet belongs, identifying the channel identifier for each media frame in the received multiplexed IP packet, creating a new ATM payload having a ATM cell header, the ATM header including a VPhVCI pair mapped from the noted multiplexed stream and the identified channel identifier and sending the new ATM payload including frame header as a packet for switching. 12. The ATM switch of claim 9 wherein the frames for transmission in the output queues comprise ATM cells having a payload. 13. The ATM switch of claim 12 further comprising output IP/ATM interfaces associated with each of the plurality of output ports for converting ATM cells to multiplexed IP packets, the IP/ATM interfaces converting the ATM cells to multiplexed IP packets notes the VPhVCI pair of each the ATM cells received from the queues as frames for transmission, maps the VPhVCI pair of each the ATM cells received from the queues as frames for transmission to an identified multiplexed stream associated with a channel identifier, inserts the payload as a frame to an IP output queue of the identified multiplexed stream with the channel identifier and transmits the IP output queue when the IP output queue is determined to be full. 14. The ATM switch of claim 13 wherein the output IP/ATM interlace recovers the sequence number, length indicator form the ATM cell. 15. An article of manufacture for a processor-based ATM switch, the article of manufacture comprising a computer readable medium having instructions for causing a processor to perform a method comprising: receiving a packet for switching; identifying an input multiplexed stream to which the received packet belongs; noting the channel identifier of each frame in the received packet; identifying an output multiplexed stream and channel identifier corresponding to the input multiplexed stream and channel identifier for each frame in the received packet; and inserting each frame for transmission to an output queue associated with the identified corresponding multiplexed stream and channel identifier. 16. The article of manufacture of claim 15 further comprising determining when a queue is full and sending the contents of the queue when the queue is determined to be full. 17. The article of manufacture of claim 16 wherein the receiving a packet for switching further comprising converting received multiplexed IP packets to ATM cells. 18. The article of manufacture of claim 17 wherein the converting a received packet to an ATM cell further comprises: receiving a multiplexed IP packet; noting the multiplex stream to which this packet belongs; identifying the channel identifier for each media frame in the received packet; creating a new ATM payload having a ATM cell header, the ATM header including a VPhVCI pair mapped from the noted multiplexed stream and the identified channel identifier; and sending the new ATM payload including frame header as a packet for switching. 19. The article of manufacture of claim 16 wherein the frames for transmission in the queue comprise ATM cells, and the sending the contents of the queue further comprises converting the ATM cells to multiplexed IP packets. 20. The article of manufacture of claim 19 wherein the converting ATM cells to multiplexed IP packets further comprises: receiving ATM cells having a payload from the queues as packets for transmission; noting the VPhVCI pair of each the ATM cells received from the queues as packets for transmission; mapping the VPI. NCI pair of each the ATM cells received from the queues as packets for transmission to an identified multiplexed stream associated with a channel identifier; inserting the payload as a frame to an IP output queue of the identified multiplexed stream with the channel identifier; and transmitting the IP output queue when the IP output queue is determined to be full. 21. The article of manufacture of claim 20 further comprising recovering the sequence number, length indicator form the ATM cell.

Inventors: PESSI PEKKA, RAJAHALME JARNO, PESSI, PEKKA, RAJAHALME, JARNO
Applicants: PESSI PEKKA, RAJAHALME JARNO, PESSI, PEKKA, RAJAHALME, JARNO
Application year: 2000
Main classification: H04L12
IPC codes: H04L12, H04L29