Not Applicable
Not Applicable
The present invention relates to digital communications, and more particularly, to methods and systems for transporting time division multiplex (TDM) data via packet-based networks.
TDM data may consist of Constant Bit Rate (CBR) data as well as non-CBR data. CBR data includes real-time data such as voice, video or professional, studio quality (i.e., program) audio. Typically, constant bit rate (CBR) data is formatted into 64 kbps time-slots (TS) and TDM techniques are used to map the time-slots into T1 or E1 frames which are transported over the Public Switched Telephone Network (PSTN).
In one “real world” example of CBR data, the program audio produced in a studio must be relayed to a remote transmitter site for subsequent broadcast. In some cases, a studio-to-transmitter link (hereinafter referred to as STL) may be implemented with a T1 (or E1) digital circuit via the PSTN. In prior art, this digital circuit is typically implemented using expensive “nailed up” (i.e., dedicated) T1 lines. One way to reduce the cost of such an STL is to relay the professional quality audio data over an existing, general purpose packet based network such as the Internet. Other formats of CBR data that would normally be transmitted via a dedicated TI line (e.g., MPEG, APT-X, Linear etc.) also could be advantageously transported via a packet based network. A unique “convergence layer,” i.e., a set of rules that defines how to encapsulate the T1/E1 data into the individual packets of the packet based network, must be specifically designed for each particular media type. Thus, each individual convergence layer is media-specific. Further, more generic types of data, such as voice, video, synchronous data, asynchronous data, etc., could also benefit by being transported over packet networks.
A disadvantage of prior art systems for encapsulating T1 or E1 TDM-based data into a packet based communications protocol is the requirement for unique convergence layers for each data type. Further, prior art techniques for encapsulating T1 or E1 data into a packet based protocol typically encapsulate all of the T1 overhead bits, as well as the payload data, which reduces the overall bandwidth efficiency.
In one aspect, the invention comprises a method of encapsulating TDM data into individual data packets for transmission across a packet network. The method includes delineating the TDM data into one or more signaling multiframes, wherein each signaling multiframe includes one period of a periodic signaling pattern. The method further includes appending a header that is associated with the individual data packets to each of the signaling multiframes of TDM data.
An embodiment of the method further includes delineating the TDM data such that a first byte in the one or more signaling multiframes is directly adjacent to the header.
Another embodiment of the method further includes appending an RTP header to each of the signaling multiframes.
Another embodiment of the method further includes appending a modified RTP header to each of the signaling multiframes.
Another embodiment of the method further includes extracting the TDM data from one or more time-slots from a TDM data stream.
Another aspect of the invention comprises a data packet constructed and arranged to encapsulate TDM data for transmission over a packet network. The data packet includes a segment of the TDM data from one or more TDM time-slots. The segment of the TDM data corresponds to a signaling multiframe of the TDM data that includes one period of a periodic signaling pattern. The data packet further includes a header associated with the individual data packets appended to the segment of the TDM data.
In another embodiment of the data packet, the TDM data includes T1 data.
In another embodiment of the data packet, the TDM data includes E1 data.
In another embodiment of the data packet, the segment of TDM data is delineated such that a first byte in the signaling multiframe is directly adjacent to the header. The header may include an RTP header. Further, the RTP header may include an extended RTP header that contains data associated with (i) the starting time-slot, (ii) the number of time-slots per frame, and (iii) the number of multiframes in the data packet.
In another embodiment of the data packet, the signaling multiframe corresponds to a multiframe associated with the TDM data. The multiframe may includes 16 frames for E1 data, or the multiframe may include 24 frames for T1 data.
Another aspect of the invention comprises a method of selecting a value of a parameter k, wherein the parameter k represents a number of multiframes of TDM data in a data packet for transmission across a packet network, and the packet includes packet payload data and packet overhead data. The method includes calculating one or more values of the parameter k as a function of one or more input parameters. Each value of k corresponds to n, a number of time-slots in the TDM data, such that the efficiency of the data packet increases exponentially as the number of time-slots in the TDM data increases. The method further includes selecting a value of the parameter k corresponding to the input parameters associated with the payload data and the overhead data.
In another embodiment, the method further includes calculating the parameter k such that
wherein
OH represents an amount of packet overhead data;
M represents an amount of frames in a signaling multiframe of the TDM data;
Nmx represents a maximum amount of times slots per frame associated with the TDM data;
τ represents a time constant;
n represents an amount of time-slots associated with the TDM data;
EF1 represents a minimum allowed efficiency of the data packet;
and Ceiling[ ] represents a function for limiting the parameter k to an integer value.
In another embodiment, the method further includes delineating the TDM data such that a first byte in the one or more signaling multiframes is directly adjacent to the header.
In another embodiment, the method further includes appending an RTP header to each of the signaling multiframes.
In another embodiment, the method further includes appending a modified RTP header to each of the signaling multiframes.
In another embodiment, the method further includes extracting the TDM data from one or more time-slots from a TDM data stream.
Another aspect of the invention comprises a system for compiling one or more data packets for transmission across a packet network. Each packet includes packet payload data and packet overhead data. A parameter k describes the number of multiframes of TDM data in each data packet, and a parameter n describes a number of time-slots in the TDM data. The system includes a processor for calculating one or more values of the parameter k as a function of one or more input parameters, such that each value of k corresponds to a value of n, and the efficiency of the data packet increases exponentially as n increases. The processor further selects a particular value of the parameter k, corresponding to the input parameters associated with the payload data and the overhead data. The system also includes a packet assembler for receiving data from one or more TDM time-slots, along with the parameter k and one or more of the input parameters, and producing one or more data packets each having k multiframes of TDM data.
In another embodiment, the processor calculates the parameter k such that
the input parameters include OH, M, Nmx, τ, n, EF1, and
OH represents an amount of packet overhead data;
M represents an amount of frames in a signaling multiframe of the TDM data;
Nmx represents a maximum amount of times slots per frame associated with the TDM data;
τ represents a time constant;
n represents an amount of time-slots associated with the TDM data;
EF1 represents a minimum allowed efficiency of the data packet;
and Ceiling[ ] represents a function for limiting the parameter k to an integer value.
In another embodiment of the system, the TDM data includes T1 data.
In another embodiment of the system, the TDM data includes E1 data.
In another embodiment of the system, the data packet includes a header, and the TDM data is delineated such that a first byte in a signaling multiframe is directly adjacent to the header.
In another embodiment of the system, the header includes an RTP header.
In another embodiment of the system, the RTP header includes an extended RTP header having data associated with (i) starting time-slot, (ii) number of time-slots per frame, and (iii) number of multiframes in the data packet.
In another embodiment of the system, the signaling multiframe corresponds to a multiframe associated with the TDM data
In another embodiment of the system, the multiframe includes 16 frames for E1 data.
In another embodiment of the system, the multiframe includes 24 frames for T1 data.
Another embodiment of the system further includes a switch for receiving three inputs: (i) the parameter k from the processor, (ii) a user-defined parameter k, and (iii) a switch control signal. The switch provides, to the packet assembler, either the parameter k from the processor or the user-defined parameter k, depending upon the state of the switch control signal.
The various unique features, as well as various inventive embodiments, may be more fully understood from the following description, when read together with the accompanying drawings in which:
A method of encapsulating TDM data into individual data packets (also referred to as “the convergence layer”), as described herein, provides a novel way to transport T1 or E1 data via existing packet based networks. Thus, the method described herein is a set of rules that defines how to organize TDM data into the individual packets of a packet based communications protocol. Other classes of TDM data, such as Fractional T1/E1 and N×64K, may also be transported using the method described herein. For the purposes of illustration and example only, the description of the method herein concentrates on the transport of T1 or E1 data (referred to as E1/T1 herein). The underlying concepts taught are also applicable to other data formats. The present method of encapsulating TDM data into individual data packets (i.e., the convergence layer) allows TDM data, for example T1, E1, N×64k, etc., to be encapsulated into Real Time Protocol (referred to herein as “RTP”) packets, as shown in
For IP based networks RTP typically runs on top of UDP to make use of its multiplexing and checksum services. This is denoted by RTP/IP/UDP to indicate the protocol layers involved.
For Frame Relay based networks RTP runs on top of the Frame Relay protocol and is denoted by FR/RTP. It is also possible to encapsulate the RTP/IP/UDP inside the Frame Relay packet, which becomes FR/IP/UDP/RTP.
In addition to the standard headers for IP, UDP and FR we add a four-byte header for the convergence layer. This four-byte header is referred to the RTP extension header (RTPx).
The number of T1/E1 multi-frames in a single RTP packet is given by the parameter k. The value of k can be manually selected or automatically determined by an Exponential Weighting Algorithm (EWA). The EWA is described in more detail herein.
A T1/E1 multiframe (referred to herein as “MF”) consists of M frames, where M is equal to 24 for T1 and M is equal to 16 for E1. Each frame consists of n DS0 time-slots, where the value of n can be from 1 to 24 for T1 and 1 to 32 for E1. The parameter n is also referred to herein as the “time-slot utilization.” The T1/E1 framing bits are not encapsulated in the RTP packets, and are thus discarded in the convergence layer.
Channel Associated Signaling (referred to herein as “CAS”), also known in the art as ABCD or AB signaling, is typically used to implement voice trunking over T1/E1. CAS is essentially a periodic signaling pattern within the E1/T1 data stream. In order to preserve the signaling information after the T1/E1 framing bits are discarded, the convergence layer requires that the first byte following the RTP header must be the first byte in an E1/T1 signaling multiframe (referred to herein as “SMF”). For 16-state signaling the ABCD signaling bits repeat once per multiframe (i.e., every M frames). Therefore the length of the SMF is the same as the length of the T1/E1 multiframe. The SMF for 16-state signaling is 16 frames in length for E1 and 24 frames for T1. The first frame in an SMF for 16-state signaling corresponds to frame-0 for E1 (see
The convergence layer defines a modified RTP header that includes a four-byte extension, denoted by RTPx, as shown in
The convergence layer requires that the IP packet after encapsulation shall be less than or equal to 1500 bytes, which is the Maximum Transmission Unit (MTU) of Ethernet. This is done in order to avoid fragmenting packets resulting in error multiplication.
A number of parameters may be defined associated with the convergence layer described herein. For example:
1) Packet Overhead—this parameter describes the number of bytes in each packet for various communication layers.
2) OH—this parameter describes the total number of overhead bytes for various combinations of communications layers.
3) n—this parameter describes the number of time-slots per T1/E1 frame.
4) M—this parameter describes the number of frames in a Signaling Multiframe.
5) Nmx—this parameter describes the maximum number of time-slots per frame
6) k—this parameter describes the number of Multi-frames in a packet
7) TMF—this parameter describes the period (duration) of a Signaling Multiframe (SMF)
8) PL—this parameter describes the size of the payload in bytes; PL=k n M
9) PKT—this parameter describes the size of each packet in bytes, including overhead and payload.
PKT=PL+OH
10) EF—this parameter, the Packet Efficiency, describes the ratio of the payload size to the overall size of the packet.
EF=PL/PKT
11) TD—this parameter, the packet latency, describes the duration of the total number of multiframes in a packet.
In one embodiment, the number of T1/E1 multiframes in a single RTP packet (i.e., the parameter k) is selected manually, in cases for which the user needs to control or minimize the latency. In this embodiment, the user specifies the time-slot utilization n, and the number of multiframes k to be encapsulated.
In another embodiment, the parameter k is selected automatically by an Exponential Weighting Algorithm (hereinafter referred to as EWA), which optimizes the value of k for high EF and thus high bandwidth efficiency. In general, high bandwidth efficiency is more important for larger n, i.e., for a greater time-slot utilization of the T1/E1 transmission. Increasing the bandwidth efficiency requires increasing the value of k, i.e., increasing the number of multiframes to be encapsulated. An increase in packet latency may be an undesirable consequence of increasing k.
Note that for large values of n (i.e., high time-slot utilization), the value of k does not need to be large for high bandwidth efficiency. For example, given n=31 in an E1 system, a value of k=1 yields an efficiency that is greater than 90% for the IP/UDP case. However, for small values of n, a large value of k may be required to achieve the same 90%, which consequently increases latency. This embodiment uses an algorithm (EWA) to control the percentage of packet overhead (with respect to the total packet) so as to exponentially weight the bandwidth efficiency. For lower values of n, the EWA allows a larger percentage of packet overhead, lowering the packet efficiency EF and thus the bandwidth efficiency. The EWA gradually decreases the percentage of the packet overhead, so as to increase the packet efficiency EF, as n get larger. A “minimum allowed efficiency” may be established by applying a predetermined input parameter, EF1, to the EWA, which occurs at n=1. The user can also specify an exponential time constant τ. The value of τ determines how fast or slow the packet efficiency EF increases. In one embodiment, values for τ range from 1 to 8, although other suitable ranges for τ may also be used. Values of r at or near the low end of the allowable range typically provide faster convergence. Details of the EWA are set forth via the following equations and text.
The payload size (PL) in bytes is the product of the number of multiframes sent (k), the number of frames in each multiframe (M), and the number of DS0 time-slots in each frame (n), i.e.,
PL=knM (1)
The packet size PKT in bytes is the sum of the payload size (PL) and the total overhead bytes (OH) in each packet, i.e.,
The efficiency EFF as a function of n is given by the ratio of the payload size (PL) to the overall packet size (PKT), i.e.,
When the maximum number of DS0 time-slots are utilized (i.e., n=Nmx), the minimum efficiency E31 occurs for k=1, and (for E1) is given by 5
A weighted efficiency, EF, is given by the following equation:
The weighted efficiency EF in equation (5) increases exponentially as n approaches Nmx. The packing of each individual packet is based on the target overhead percentage that produces a minimum efficiency EF1. This algorithm of equation (5) uses an exponential weighting factor, such that the efficiency increases as the number of time-slots n increases, from a minimum of EF1 at n=1, to a maximum of EF31 at n=Nmax.
The expression for EFF given by equation (3) and the expression for EF given by (5) are both functions of n. Setting the expression for EFF equal to the expression for EF and solving for k yields:
A quantizing function (referred to herein as “Ceiling[ ]”), which rounds the argument within the brackets to the nearest integer, is applied to the right side of equation (6). Equation (6) must be quantized because the variable k can only take on integer values. The resulting equation given by equation (7) below is referred to herein as the Exponential Weighting Algorithm (EWA).
Using the value of k calculated from equation (7), the delay (i.e., the latency) can be calculated as follows:
TD=kTMF (8)
One embodiment of a system 200 for implementing the EWA according to equation (7) (i.e., for selecting a value of k so as to exponentially weight the packet efficiency) is shown in block diagram form in
The invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are therefore to be considered in respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of the equivalency of the claims are therefore intended to be embraced therein.
This application is related to the following U.S. applications, of common assignee, from which priority is claimed, and the contents of which are incorporated herein in their entirety by reference: This application is a divisional of U.S. application Ser. No. 10/1 53,265, filed May 22, 2002 which claims priority to “Method And System For Encapsulating Time Division Multiplex Data Into Real Time Protocol Packets For Transport,” U.S. Provisional Patent Application Ser. No. 60/353,615, filed Feb. 1, 2002.
Number | Date | Country | |
---|---|---|---|
60353615 | Feb 2002 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10153265 | May 2002 | US |
Child | 11803300 | May 2007 | US |