A scheme for determining the usage parameter control (UPC) values for an arbitrary traffic source from observations of its emitted cell stream is disclosed. The UPC values are used in a traffic shaping mechanism based on a dual leaky bucket, which shapes the cell stream by either discarding or delaying cells. The choice of UPC values is a function of the statistical characteristics of the observed cell stream; the user's tolerance for delay prior to the network access point; and the cost incurred on the network side. The chosen UPC values are then negotiated with the network. The source traffic characteristics may change dramatically over time, making the initially negotiated UPC descriptor inappropriate for the entire traffic stream. Hence, a method is disclosed for dynamically renegotiating UPC parameters whenever a predetermined change in traffic characteristics is detected. This method for real-time estimation and dynamic renegotiation of UPC parameters is the basis for a self-contained module which allows the source to make efficient use of the network resources.
1. A method of characterizing an arbitrary asynchronous transfer mode (ATM) traffic stream in real-time comprising the steps of: characterizing the traffic stream statistically over an observation interval T; mapping the statistically characterized traffic stream to usage parameter control (UPC) values of a dual leaky bucket which minimize a cost function subject to predetermined constraints of a user, said dual leaky bucket including a peak rate leaky bucket and a sustainable rate leaky bucket, and said UPC values including a peak rate λp, a sustainable rate λs, and a sustainable bucket size Bs; detecting a predetermined change in the traffic stream; and renegotiating the UPC values with a network when said predetermined change is detected. 2. The method of claim 1, wherein the characterizing step further comprise the steps of: offering the traffic stream to a bank of N constant service rate queues with spaced rates that are spaced between an estimated mean rate {circumflex over (λ)}mand an estimated peak rate {circumflex over (λ)}p, said spaced rates being candidates for sustainable rates; and approximating a tail waiting time distribution for each of said queues by an exponential equation having a form of wherein μ is a constant service rate and one of the candidate sustainable rates. 3. The method of claim 2, wherein the offering step comprises the step of choosing rates for the bank of N queues, said choosing step comprising the steps of: dividing the N queues into a set of Nccoarse queues each having a coarse rate, Nffine queues each having a fine rate, and a queue having a rate equal to a current sustainable rate; assigning the coarse rates to be spaced between a current estimated mean rate {circumflex over (λ)}m(n) and a current estimated peak rate {circumflex over (λ)}p(n) according to a coarse rate resolution given by assigning the fine rates to be spaced symmetrically about a current sustainable rate according to the fine rate resolution given by 4. The method of claim 2 further comprising the step of estimating the parameters a(μ) and b(μ) in the tail waiting time distribution for each queue of constant service rate μ, said estimating step comprising the steps of: estimating an average remaining service time, Tr(μ), for a customer in service as seen by an arriving customer conditional on there being a customer in service; estimating a probability that an arbitrary arriving customer sees a customer in service, and setting a(μ) equal to said probability; estimating q(μ), which is an expected number of customers in a queue seen by the arbitrary arriving customer; and computing b(μ) according to 5. The method of claim 2 further comprising computing a smallest sustainable bucket size Bs(μ) for a predetermined sustainable rate μ, such that a sustainable rate leaky bucket with parameters (μ,Bs(μ)) satisfies a constraint on one of a violation probability and a mean shaping delay according to when the violation probability is constrained to be no larger than a predetermined violation probability ε, and according to when the mean shaping delay is constrained to be no more than a predetermined mean shaping delay {overscore (D)}. 6. The method of claim 1 further comprising computing an approximate required resource as a cost function, c(λp, λs, Bs) of a predetermined UPC set (λp, λs, Bs) according to where K is a parameter used to match approximately a connection admission control function of the network. 7. The method of claim 2, wherein the mapping step comprises the steps of: computing, for each of the candidate sustainable rates μ used in the characterizing step, a corresponding value Bs(μ) for a smallest sustainable bucket size such that a sustainable rate leaky bucket with parameters (μ,Bs(μ)) satisfies a constraint which bounds one of a cell violation probability and a mean shaping delay; computing, for each of the candidate sustainable rates μ used in the characterizing step, a corresponding value c(λp, μ, Bs(μ)) of the cost function that determines cost to the network; selecting, among the candidate sustainable rates, an optimal sustainable rate μ=λ*sthat minimizes the cost function c(λp, μ, Bs(μ)); and choosing new UPC values that include the peak rate λp, the optimal sustainable rate λs*, and the sustainable bucket size Bs(λs*). 8. The method of claim 1, wherein the detecting step comprises the steps of: estimating a mean cell delay, {circumflex over (d)}, for a leaky bucket parameterized by the sustainable rate λsand the sustainable bucket size Bs; estimating the peak rate μpto obtain an estimated peak rate {circumflex over (λ)}p; signaling a change when the mean cell delay {circumflex over (d)} falls outside a range of values in a neighborhood of a user-specified tolerable mean delay {overscore (D)}, or when the estimated peak rate {circumflex over (λ)}pfalls outside a range of values in a neighborhood of the peak rate λp. 9. The method of claim 8, wherein said leaky bucket is a sustainable rate leaky bucket of a dual leaky bucket that includes a peak rate leaky bucket connected in series to said sustainable rate leaky bucket. 10. A device for managing an arbitrary asynchronous transfer mode (ATM) cell stream from a source comprising: a usage parameter control selector which characterizes the cell stream statistically over an observation interval T and maps the statistical characterization to dual leaky bucket usage parameter control (UPC) values once every observation interval T, in response to observations of the cell stream and source shaping constraints received from the source; a usage parameter control shaper that shapes, in accordance with said UPC values, the cell stream received from the source and outputs shaped stream data; and a change detector which receives the cell stream, source shaping constraints, and the UPC values, and outputs a change signal indicative of whether an update of the UPC values stored in a memory is required. 11. The device of claim 10 further comprising a current usage parameter control module which stores the UPC values. 12. The device of claim 11 further comprising a signaling module which receives the UPC values and the change signal, and provides updated UPC values received from the usage parameter control selector to the memory when the change signal indicates said update is required. 13. The device of claim 11 further comprising a signaling module which receives the UPC values and the change signal, and outputs a UPC renegotiation request to the network, said signaling module providing said update of UPC values to the memory when said signaling module receives an accept signal from the network indicating acceptance of said UPC renegotiation request. 14. The device of claim 11, wherein the change detector estimates a peak rate {circumflex over (λ)}pand a mean cell delay, {circumflex over (d)}, for a sustainable rate leaky bucket parameterized by current negotiated UPC values (λs,Bs); and wherein the change detector outputs a change signal that indicates update of the UPC values is required when the mean cell delay {circumflex over (d)} falls outside a range of values in a neighborhood of a user-specified tolerable mean delay {overscore (D)}, or when the peak rate {circumflex over (λ)}pfalls outside a range of values in a neighborhood of a current negotiated peak rate λp. 15. A device for managing an arbitrary asynchronous transfer mode (ATM) cell stream from a source comprising: a usage parameter control selector which characterizes the cell stream statistically over an observation interval T and maps the statistical characterization to dual leaky bucket usage parameter control (UPC) values once every observation interval T, in response to observations of the cell stream and source shaping constraints received from the source; a usage parameter control shaper that shapes, in accordance with said UPC values, the cell stream received from the source and outputs shaped stream data; and a signaling module which receives said UPC values from said usage parameter control selector and outputs a UPC renegotiation request to the network, said usage parameter control shaper providing a shaper overload signal to said source when an accept/reject signal from the network provided in response to the UPC renegotiation request indicates a rejection of said renegotiation request. 16. The device of claim 11, wherein said usage parameter control shaper provides a shaper overload signal to said source when a buffer of said shaper overloads. 17. The device of claim 16, wherein said source reduces said cell stream data in response to said shaper overload signal. 18. The device of claim 15 further comprising a current usage parameter control module which stores the UPC values. 19. The device of claim 15, wherein said usage parameter control shaper provides a shaper overload signal to said source when a buffer of said shaper overloads. 20. The device of claim 19, wherein said source reduces said cell stream data in response to said shaper overload signal.
1. Field of the Invention The present invention is directed to a device and method for real-time estimation and dynamic renegotiation of usage parameter control (UPC) parameters for arbitrary traffic sources in asynchronous transfer mode (ATM) networks, and more particularly, to a device and method for dynamically renegotiating UPC parameters whenever a predetermined change in traffic characteristics is detected. 2. Discussion of the Prior Art In networks based on asynchronous transfer mode (ATM), traffic sources are subjected to a usage parameter control (UPC) function which employs a deterministic algorithm to control or shape a cell stream emitted from a source. In a UPC-based traffic control framework, the UPC parameters constitute a traffic descriptor used to allocate network resources to the traffic source. One key feature of ATM networks is their potential for efficiently supporting variable bit rate (VBR) traffic sources, such as video. Applications such as video have stringent requirements on the guarantee of the quality-of-service (QoS) provided by the network. An ATM network, however, can guarantee QoS only if it has a reasonably good description of the characteristics of the offered traffic. Hence, a traffic descriptor that describes the characteristics of the offered traffic, and a policing mechanism that ensures conformance with the declared traffic parameters, are essential. A single leaky bucket has been studied extensively as a means of open-loop control of a traffic stream at the network edge. Since a constant bit rate (CBR) traffic or data stream has a well-defined rate, the single leaky bucket provides an adequate description of the stream. However, for variable bit rate (VBR) streams, peak rate allocation via a single leaky bucket is wasteful of network resources. Hence, a dual leaky bucket mechanism has been proposed for policing and characterizing the more general VBR source. It is recognized that VBR streams such as video may be transmitted over an ATM network as a CBR stream. However, video sources naturally produce variable bit rate streams. Transmitting video as a CBR stream may result in variable quality and/or lower network utilization. This is because the statistical multiplexing feature of ATM is not exploited in this case. The dual leaky bucket UPC offers a better means of characterizing VBR traffic, but introduces the problem of selecting the appropriate parameter values for a given stream. This problem has been recognized as important for providing efficient VBR service in ATM networks. Despite the recognition of this important problem, to date, most of the methods devised for selecting UPC parameters have been ad-hoc, without having a sound theoretical basis. Some approaches have assumed specific models for the user traffic, namely the on-off Markov fluid model, in order to obtain UPC values. This approach, however, is not robust for traffic streams that behave much differently from the on-off model. Accordingly, there is a need to characterize efficiently an arbitrary ATM traffic stream and select optimal dual leaky bucket UPC values with respect to minimizing network resource requirement and subject to QoS constraints for an arbitrary traffic source. The object of the present invention is to provide a device and a method for real-time characterization of an arbitrary asynchronous transfer mode (ATM) data traffic that eliminates the problems of conventional data traffic control methods. The present invention relates to a method of characterizing, in real-time, an asynchronous transfer mode (ATM) traffic stream by a set of usage parameter control (UPC) values to be negotiated with a network provider for the purposes of resource allocation and traffic policing with respect to the said traffic stream. Moreover, the invention provides a method for detecting predetermined changes in the relevant statistical characteristics of the traffic stream and subsequently, dynamically renegotiating the UPC values with the network. The invention is an important component in a UPC-based traffic control framework for ensuring quality-of-service (QoS) while maintaining high network resource efficiency. The UPC traffic descriptor based on the dual leaky bucket algorithm provides a mechanism to describe the offered traffic. The dual leaky bucket UPC is implemented by a deterministic algorithm which maps an input arrival process to an output arrival process that conforms to the characteristics specified in four parameters. In the UPC-based approach to traffic control, the UPC values for a source are taken as a traffic descriptor to be used by a connection admission control (CAC) function for making admission decisions. The four-parameter dual leaky bucket provides control for two rates: the peak rate and sustainable rate with burst tolerances on both rates. By contrast, the two-parameter single leaky bucket controls only the peak rate (with burst tolerance) of a stream. While the single leaky bucket is suitable for controlling constant bit rate (CBR) traffic, it does not provide an efficient means of controlling VBR traffic, which behaves as a random traffic source. Characterizing a VBR stream by its peak rate could result in very poor network resource utilization. The present invention includes a method for statistically characterizing an arbitrary traffic stream together with a method of mapping the characterization to dual leaky bucket parameters. Furthermore, the present invention provides a means of detecting when UPC values should be renegotiated with respect to source QoS constraints. The present invention provides a method for determining, in real-time, optimal dual leaky bucket UPC values for an arbitrary ATM traffic stream. The UPC values selected by the inventive method are optimal in the sense of minimizing the network resource requirement implied by UPC values, taking into account the statistical properties of the traffic stream and the QoS constraints of the source. Further, the invention adapts to significant changes, in traffic characteristics by dynamically renegotiating UPC values with the network. One embodiment of the present invention includes a method of characterizing an arbitrary asynchronous transfer mode traffic stream in real-time comprising the steps of: characterizing the traffic stream statistically over an observation interval T; mapping the statistically characterized traffic stream to usage parameter control (UPC) values of a dual leaky bucket which minimize a cost function subject to predetermined constraints of a user, the dual leaky bucket including a peak rate leaky bucket and a sustainable rate leaky bucket, and the UPC values including a peak rate λp, a sustainable rate λs, and a sustainable bucket size Bs; detecting a predetermined change in the traffic stream; and renegotiating the UPC values with a network when the predetermined change is detected. Another embodiment includes a device for managing an arbitrary asynchronous transfer mode (ATM) cell stream from a source comprising: a usage parameter control selector which characterizes the cell stream statistically over an observation interval T and maps the statistical characterization to dual leaky bucket usage parameter control (UPC) values once every observation interval T, in response to observations of the cell stream and source shaping constraints received from the source; and a usage parameter control shaper that shapes, in accordance with the UPC values, the cell stream received from the source and outputs shaped stream data. Further features and advantages of the invention will become more readily apparent from a consideration of the following detailed description set forth with reference to the accompanying drawings, which specify and show preferred embodiments of the invention, wherein like elements are designated by identical references throughout the drawings; and in which: 1: Problem Formulation The present invention focuses on the problem of determining dual leaky bucket UPC values to characterize a traffic stream. The UPC values are to be used by the CAC function for connection admission and resource allocation decisions. The invention addresses the following fundamental question: Given a cell stream from an arbitrary traffic source, how should the values of the UPC parameters be chosen? The solution should depend on the characteristics of the cell stream, the user's tolerance for traffic shaping and the CAC function. Furthermore, the solution should be able to adapt to changes in the source traffic characteristics. An asynchronous transfer mode (ATM) network will be able to guarantee quality-of-service (QoS) in an efficient manner only if it has a reasonably good characterization of the offered traffic. Hence, traffic descriptors which characterize the offered traffic and policing mechanisms that ensure conformance with the traffic parameters are essential. A dual leaky bucket UPC algorithm proposed by a group of skilled in the art, referred to as the ATM Forum, serves as a policing mechanism. The four parameters associated with the dual leaky bucket constitute a traffic descriptor used in the UPC-based framework for admission control. Operation of the dual leaky bucket mechanism is as follows. The dual leaky bucket mechanism can be viewed as a serial cascade of two single leaky buckets. A single leaky bucket is parameterized by a leak rate μ and a bucket size B. As a traffic policing mechanism, the leaky bucket can be understood as a G/D/1/B queue with constant service rate μ and storage capacity B (including the customer in service). If a cell arrives when the queue is not full, it is deemed conforming to the UPC parameters (μ,B) and is sent out immediately. Otherwise, if the cell arrives when the queue is full, it is deemed non-conforming and is discarded. In this manner, the operation of the leaky bucket 10 with an arbitrary cell stream as input, is modeled by a G/D/1/B queue. Instead of discarding non-conforming cells, where the leaky bucket is used as a traffic policing mechanism based on the G/D/1/B queue, as shown in Instead of a single leaky bucket, a dual leaky bucket is used as a shaping or policing mechanism. It is assumed that Bp=1 so that the inter-cell spacing of conforming cell streams is constrained to be at most 1/λp. Note, values of Bp>1 allow for cell delay variation (CDV) at the customer premises. The set of three parameters (λp,λs,Bs) form a traffic descriptor which is negotiated in a service contract between the user or source and the network. According to the present invention, a method of characterizing an arbitrary traffic stream, such as an asynchronous transfer mode (ATM) traffic stream, by an optimal set of dual leaky bucket usage parameter control (UPC) values in real-time comprises the following steps: (a) characterizing the traffic stream statistically over an observation interval T; (b) mapping the statistically characterized traffic stream, generated by step (a), to usage parameter control (UPC) values of a dual leaky bucket which minimize a cost function subject to predetermined constraints of a user, such as quality-of-service (QoS) constraints, the dual leaky bucket including a peak rate leaky bucket and a sustainable rate leaky bucket, and the UPC values including a peak rate λp, a sustainable rate λs, and a sustainable bucket size Bs; (c) detecting a predetermined change in the traffic stream; and (d) renegotiating UPC values with the network 14 when the predetermined change is detected. For example, the predetermined change is a change which is larger than a threshold. 2: Method for Traffic Characterization The traffic characterization is designed to allow mapping to dual leaky bucket UPC parameters. To motivate the statistical traffic characterization, a deterministic traffic characterization based on the leaky bucket is described. A three-parameter descriptor (λp,λs,Bs) represents a class of cell streams which conform to the dual leaky bucket with these parameters. λpand λsare peak and sustainable rate of cell stream transfer, and Bsis the sustainable bucket size. For a given cell stream, the three parameters (λp,λs,Bs) give operationally verifiable bounds on the behavior of the cell stream. If the stream conforms to (λ′p, λ′s, B′s), where λ′p≦λp, λ′s≦λs, (1) and at least one of the inequalities is strict, then clearly the parameter set (λ′p, λ′s, B′s) provides a better characterization of the cell stream. Given a cell stream of finite length, the minimum inter-cell spacing Tmin(subject to a specified tolerance) can be estimated. The peak rate is taken as: λp=1 Suppose a fictitious G/D/1 queue is simulated with the cell stream as input and a constant service rate μ. Let Bmax(μ) be the maximum number of customers observed in the system over the duration of the cell stream. The cell stream is characterized by equation (3) For a fixed λs, the optimal UPC descriptor is (λp, λs, Bmax(λs)), in the sense that if the cell stream conforms to (λp, λs, B′s), then necessarily B′max≦Bs(λs). The deterministic characterization described above may be too conservative, especially if the user is able to tolerate some delay or loss due to violations of the declared UPC parameters. Moreover, this characterization can only be obtained off-line if the entire cell stream is known a priori. Next, a statistical characterization of the cell stream is described which aims to capture the properties of the stream that determine the amount of resources which should be allocated to it. Let λpand λmbe, respectively, the peak and mean rates of the cell stream. Suppose that a cell stream is offered to a leaky bucket traffic shaper with a rate μ, where μ∈(λm, λp) In the queuing model of the leaky bucket, a fictitious stream of customers is offered to a queue served at constant rate μ. Assume a fictitious G/D/1 queue is simulated with the cell stream as input and a constant service rate μ. For a given constraint specified by the source, which constraint can either be a violation probability or a shaping probability ε, there exists a minimum queue size B(μ,ε) that satisfies the constraint. The pair of values (μ, B(μ,ε)) gives a statistical characterization of the effect on the cell stream when it is offered to a leaky bucket with a rate μ. A more complete characterization of the cell stream records the values (μ, B(μ,ε)) for all μ in the range (λm,λp). The statistical characterization of the cell stream is denoted as follows: where, The above characterization is analogous to the notion of “peakedness” used in teletraffic theory. The quantity B(μ,ε) that provides the statistical characterization of the offered stream can be obtained by monitoring the fictitious G/D/1 queue to which the traffic stream to be characterized is offered. As previously described, let λpand λmbe respectively, the peak and mean rates of the offered cell stream. Let the cell stream be offered to a leaky bucket traffic shaper with leak rate μ, in the range (λm,λp). In the queuing model of the leaky bucket, a stream of customers is offered to a fictitious queue served at a constant rate μ. Let W denote the steady-state waiting time in the system, of an arbitrary customer arriving to the queue. It is assumed that the tail waiting time distribution has the exponential form: where a and b are functions of μ. The exponential form of equation (4) is asymptotically true in t, with fairly weak assumptions on the nature of the arrival process. More generally, the parameter ‘a’ in equation (4) could be a function of time ‘t’. Indeed, the asymptotic theory of ‘effective bandwidths’ makes the further assumption that a=1. For the relatively short observation windows of interest (on the order of seconds), the approximations assumed herein appear to be robust over a reasonably large class of real traffic sources. The pair of values (a(μ), b(μ)) gives a statistical characterization of the effect of the cell stream when offered to a leaky bucket with a constant rate μ. In summary, the characterizing step described in section 1 and the present section, i.e., section 2, includes the following steps: (a) offering the traffic stream to a bank of N constant service rate queues with spaced rates that are spaced between an estimated mean rate λmand an estimated peak rate λp, where the spaced rates are candidates for sustainable rates; (b) approximating a tail waiting time distribution for each of the queues by the exponential form given by equation (4), where μ is a constant service rate and one of the candidate sustainable rates; and (c) estimating parameters a(μ) and b(μ) of the exponential equation (4). The mapping step comprises the steps of: (a) computing, for each of the candidate sustainable rates μ used in the characterizing step, a corresponding value Bs(μ) for a smallest sustainable bucket size such that a sustainable rate leaky bucket with parameters (μ,Bs(μ)) satisfies a constraint which bounds one of a cell violation probability and a mean shaping delay; (b) computing, for each of the candidate sustainable rates μ used in the characterizing step, a corresponding value c(μp, μ, Bs(μ)) of the cost function that determines cost to the network; (c) selecting, among the candidate sustainable rates, an optimal sustainable rate μ=λ*sthat minimizes the cost function c(λp, μ, Bs(μ)); and (d) choosing new UPC values that include the peak rate λp, the optimal sustainable rate λs*, and the sustainable bucket size Bs(λs*). A more complete characterization of the cell stream records the values (a(μ), b(μ)) for all μ in the range (λm, λp). The cell stream is statistically characterized by equation (5): Values of (a(μ), b(μ)) are chosen such that equation (4) holds approximately for values of t in the range of interest. With the assumption of equation (4), equation (6) is obtained: where Sa∈{0, 1} and Qa∈Z+denote, respectively, customers in service and the number of customers in queue seen by an arbitrary customer arrival. In equation (6), τris the average remaining service time for the customer in service as seen by an arriving customer, conditional on there being a customer in service. Note that Defining q=E[Qd], and solving for b in equation (6), equation (8) is obtained: where the dependence of the quantities a, q, τr, on the service rate μ has been explicitly shown in equation (8). Then, after getting the quantities a, q, τr, e.g., by measurement thereof, a corresponding value for b can be obtained via equation (8). For a fixed service rate μ, the quantities a(μ) and q(μ) can be estimated from observations of a fictitious queue served at the constant rate μ according to the following ‘For Loop’ procedure: for i=1 to M do 1. allow Niarrivals to pass, where Niis a random integer with a sufficiently large mean; 2. let Si, Qi, and Tibe, respectively, the number in service, the number in queue, and the remaining time of the customer in service (or Ti=0 if no customer is in service) as seen by the next arrival. end for In step 1 of the ‘For Loop’ procedure, the number of arrivals Nithat is passed should be large enough to ensure that an “arbitrary” arrival is selected. The number of trials, M, should also be sufficiently large to ensure accuracy of the estimated quantities a(μ) and q(μ). The estimates for “a” and “q” are given by the sample means: Similarly, an estimate for τris Using the estimates â, {circumflex over (q)}, and {circumflex over (τ)}r, an estimate for “b” can be obtained from equation (8). In summary, the parameters a(μ) and b(μ), shown in equation (4), of the tail waiting time distribution for each queue of constant service rate μ, are estimated using the steps of: (a) estimating an average remaining service time, τr(μ), for a customer in service as seen by an arriving customer conditional on there being a customer in service; (b) estimating a probability that an arbitrary arriving customer sees a customer in service, and setting a(μ) equal to this probability; (c) estimating q(μ), which is an expected number of customers in a queue seen by the arbitrary arriving customer; and (d) computing b(μ) according to equation (8). Alternatively, a reasonable approximation for τr, under moderate to heavy utilization is {circumflex over (τ)}r≈1/(2μ). This leads to the estimate given by equation (11): In a practical implementation, estimates {circumflex over (λ)}pand {circumflex over (λ)}mof the peak and mean cell rates, respectively, would first be obtained over a time window. The estimates for â(μ) and {circumflex over (b)}(μ) would be obtained for a finite set of values in the range {circumflex over (λ)}m<μ<{circumflex over (λ)}m. 3: Method for Mapping Traffic Characterization to UPC Values Next, a method of mapping the statistical characterization Csto a set of UPC values is described. 3.1: Formulation as Optimization Problem The problem of mapping the statistical characterization to a set of UPC values is formulated as an optimization problem that minimizes a cost function c(λp, λs, Bs) as follows: subject to: λm≦λs≦λp (15) Here the peak rate λpand the mean rate λmare assumed to be known constants. The cost function c(λp,λs,Bs) is an increasing function of each of its arguments, namely, of λp, λs, Bs, and represents the cost to the network of accepting a call characterized by the UPC parameters (λp, λs, Bs). Since the network cost is ultimately linked to the amount a user will be charged for the call, it is in the user's best interest to minimize the cost function. The shaping constraint given by of equation (13) is defined in terms of a function g, of the traffic characterization Csand the UPC parameters (λs,Bs) This function g measures the degree to which the cell stream will be shaped by the sustainable rate leaky bucket. Shaping produces a smoother traffic stream. Smoother streams allow the network to statistically multiplex more calls and hence reduce the cost per call. The constraint on shaping given by equation (13) places a bound on the amount of shaping that can be tolerated by the source. The other two constraints, given by equations (14) and (15), ensure that the choice of parameter values is feasible. The function g is decreasing in its last two arguments, namely, the sustainable rate λsand the sustainable bucket size Bs. Hence, there exists an optimal solution (λs,Bs) that satisfies the shaping constraint at the equality given in equation (16): Based on the equality constraint of equation (16), the sustainable bucket Bscan be solved as a function of CS, λs, and ε, i.e., Then, the problem P given by equation (12) can be recast as an optimization problem in the single variable λsas shown by equation (18): subject to: λm≦λs≦λp (20) 3.2: Shaping Constraints Next, two types of shaping constraints that the user may specify are discussed. Consider a leaky bucket policer with parameters (μ,B). Upon arrival, a cell is transmitted immediately if and only if the state counter X satisfies equation (21): Otherwise, the cell will be either marked or dropped. Assume that the user imposes the constraint that the leaky bucket parameters (λp, λs, Bs) must be chosen such that the probability that an arbitrary cell will be in violation is less than ε. Note that a low violation probability means a low probability of mutilation or shaping of the cell stream. Recalling that the state counter X may be viewed as the number of customers in a fictitious G/D/1/B queue, as described in connection with where W represents the waiting time (including time in service) experienced by an arriving customer to the fictitious queue. The probability that an arbitrary cell will be in violation of the leaky bucket parameters is given by equation (23): where the assumption of the exponential equation (4) has been used. Setting Pvequal to the constant ε∈(0,1), and solving for the bucket size yields equation (24): By choosing the parameter values (λs, Bs) to satisfy equation (25): where ε is small, an approximate characterization of the source is obtained which incorporates a slight mutilation of the traffic characteristics due to violation. The probability that the stream violates the chosen UPC parameters (λs,Bs) is kept small according to equation (25). However, when a violation occurs, the source is shaped (by discarding or marking the violating cell) to conform to the UPC. A more natural shaping criterion can be formulated in terms of the delay experienced by an arbitrary cell passing through the leaky bucket. Here, the user allows its cell stream to be shaped with relatively high probability, subject to constraints on the extent of the shaping. The constraints that are considered include: 1. Limits on the expected cell delay at the shaper, i.e., constraints of the form E[D]≦{overscore (D)}; and 2. Limits on the tail probability distribution of the cell delay at the shaper, i.e., constraints of the form P(D>Dmax)≦εD. Consider a cell stream passing through a leaky bucket traffic shaper with parameters (μ, B). Recall that the state counter X may be viewed as the number of customers in a fictitious G/D/1 queue. As before, let W represent the waiting time in the queue experienced by a given customer arriving to the fictitious queue served at rate μ. The actual delay experienced by the cell corresponding to the given fictitious customer can be expressed as: Using equation (4) for the complementary waiting time distribution, the probability that D exceeds a delay bound Dmaxis given by equation (27): Setting P(D>Dmax)=ε, ε∈(0, 1), and solving for the bucket size B, gives: Similarly, an expression for the mean cell delay through the shaper is readily obtained as follows: Setting the expected delay equal to the target mean delay {overscore (D)} determines B as the following function of μ and {overscore (D)}: For a constant expected delay, the curve B(μ), shown in In summary, a smallest sustainable bucket size, Bs(μ) is computed for each candidate sustainable rate μ, such that a sustainable rate leaky bucket with parameters (μ,Bs(μ)) satisfies a constraint on the violation probability or the mean shaping delay according to equation (24), when the violation probability is constrained to be no larger than a predetermined violation probability ε, and according to equation (30), when the mean shaping delay is constrained to be no more than the predetermined mean shaping delay {overscore (D)}. The second moment of the cell delay can easily be computed as: Hence, the variance of the delay, or the delay jitter is given by: For a constant mean delay E[D]={overscore (D)}, the delay jitter becomes Since b(μ) is generally an increasing function of μ, the delay jitter σD2(for constant mean delay {overscore (D)}) will be a decreasing function of μ. This agrees with the intuition that the delay should be more highly variable as the service rate μ approaches the mean rate. This suggests that, in general, the region of rates near the mean should be avoided. 3.3: Cost Function For a given shaping constraint, there is a continuum of ordered pairs (μ,Bs(μ)) that can be used as sustainable rate leaky bucket parameter values. Next, guidelines are provided for picking the optimal pair from the set determined by the shaping constraint. A cost function c(λp,λs,Bs) is developed which approximately captures the amount of bandwidth resource that should be allocated to a call with UPC parameters (λp, λs, Bs) at a multiplexer or switch traversed by the call. The cost function should depend on the multiplexer buffer size, Bmux, and the required cell loss probability, ∈mux. Two notions are used that have appeared in the literature: worst-case conforming sources and effective bandwidths. Given the UPC parameters (λp,λs,Bs), consider a random source with periodic on-off sample paths and random offsets. The lengths of the on and off periods are, Tonand Toffrespectively, are given by equation (34): During the on periods, the source generates cells at the constant rate λpand is silent during the off periods. This source is referred to as a full rate on-off source. Each cycle begins with an on-period during which the source transmits at peak rate, until the state counter X reaches the limit Bs. Then, the source is silent during the off-period until the counter decrements to zero (at the leak rate λs). This type of source yields the highest steady-state cell loss probability among homogeneous superpositions of independent UPC-conforming random sources at a bufferless multiplexer. However, it can be shown that this is not true in the buffered case. Nevertheless, simulations of statistical multiplexer performance suggest that the assumption of full-rate sources tend to be conservative even in the buffered case. The effective bandwidth of a source is defined to be the minimum capacity required to serve the traffic source so as to achieve a specified steady-state cell loss probability εmux. An approximate effective bandwidth result can be obtained via a diffusion process approximation of an on-off source. The approximation depends on the distributions of the on and off periods only through their respective means and variances. The effective bandwidth result from the diffusion process approximation has the form given by equation (35): where {overscore (y)} and σ2are, respectively, the mean and variance of the stationary (Gaussian) distribution of the diffusion process approximation, and Bmuxis the multiplexer buffer size. Suppose the on and off periods are distributed according to Erlang-k distributions. For k=1, the source model is a Markov on-off fluid source, and as k increases, the variability in the on and off periods decreases. For fixed k, the effective bandwidth from Equation (35) becomes: where If the mean on and off periods are set as β−1=Ton, and α−1=Toff, respectively, the effective bandwidth expressed in terms of the UPC parameters is: This expression has the following interpretation: the bandwidth allocated to a UPC-controlled source is the sustainable rate λsplus a component due to the burstiness of the source. Using equation (38), we define the following cost function for a UPC-controlled source: where K as given by equation (37), is a parameter which can be chosen to match approximately the connection admission control (CAC) function used by the network. Note, that Ceffachieves the maximum value of λpat λs=λp, independent of the value of Bs. This corresponds to allocation at the peak rate. Furthermore, when Bs=1, which corresponds to allocation at the sustainable rate, the cost function reduces to approximately λs. In summary, the approximate required resource is computed as a cost function, c(λp, λs, Bs) of a predetermined UPC set (λp, λs, Bs) according to equation (39). In problem P1, shown in equations (18) to (20), the bucket size Bsis a function of the sustainable rate λs, the statistical characteristics of the source as captured in Csand the shaping parameter ε. As λsapproaches the mean rate λm, in principle, Bs→∞, and correspondingly, the cost function approaches λp. Hence, the objective function in problem P1attains a minimum value for some value of λs∈(λm,λp). The cost function provides a measure for assessing the trade-off between the parameters (λs,Bs). The cost function depends on the parameter K, which should be chosen such that the cost function approximates the CAC policy employed by the network. Formally, the parameter K given by equation (37) depends on the multiplexer buffer size, Bmux, the loss probability ∈mux, and the degree of variability assumed in the on and off periods of the full rate source model, as captured in the parameter k. An alternative criterion that may be used to choose the operating UPC parameters is a constraint on the probabilistic delay bound: P(D>Dmax)≦εD. The UPC parameter values could be chosen to minimize the cost function subject to satisfying this constraint. 4. Method for On-Line UPC Estimation The statistical characterization, CS, includes the peak rate λp, the mean rate λm, and the functions a(μ) and b(μ) over the range μ∈(λm, λp). In practice, the peak and mean rates must be estimated from observations of the cell stream. The functions a(μ) and b(μ) can only be estimated for a finite set of values of μ. 4.1: Pipelined Approach The observation window, I, is divided into two sub-intervals, I1and I2, each of duration T seconds. The mean and peak rates, λmand λp, respectively, are estimated over I1. These estimates determine a range ({circumflex over (λ)}m,{circumflex over (λ)}p) of rates over which the functions a(μ) and b(μ) are estimated in the second sub-interval I2. For example, at the end second sub-interval of I2, the approximate statistical characterization, CS, is mapped to a set of UPC parameters that minimize the bandwidth requirement of the network subject to predetermined constraints of a user, such as quality-of-service (QoS) constraints. To adapt to possible changes in traffic characteristics, the operations in the observation interval I=(I1,I2) can be repeated over the next time interval of length 2T. This produces a sequence I(n)=(I1(n),I2(n)), n=1.2 . . . , of observation windows, with a corresponding sequence of UPC parameter values U(n)=(λp(n),λs(n),Bs(n)). Thus, a new set of UPC parameters is produced once every 2T seconds. Since the operations of the sub-intervals I1and I2can be carried out independently over any given T-second time interval, the observation windows I(n) can be staggered so that they overlap by T seconds. This is shown in Another feature of the pipelined approach is that the nth statistical characterization Cs(n) can be derived using the more recent peak and mean rate estimates over I1(n+1) rather than those over I1(n). 4.1.1: Numerical Examples Next, experimental results are discussed from applying the inventive method for UPC parameter estimation on an MPEG video sequence called ‘mobi’. In the MPEG standard for video compression, video is coded as a sequence of frames with variable sizes at a constant rate of 30 frames per second. Typically, the cell stream produced by an MPEG source is highly bursty. The curves in By contrast, for the smooth mode shown as solid lines in For rates μ in the neighborhood of 22-23 cells/ms, the bucket sizes selected by this scheme are not large enough to meet the target mean delay. This suggests that care must be taken in choosing rates in the critical region between the mean rate and the rate corresponding to the knee 70 of the expected delay constraint curve shown in FIG. 6. In In the on-line implementation, the time axis is subdivided into intervals of length T, denoted by I(n)=((n−1)T,nT], n=1,2 . . . . Over the interval I(n), estimates of the peak and mean rates, denoted {circumflex over (λ)}p(n) and {circumflex over (λ)}m(n), respectively, are obtained. During the same interval I(n), the fictitious queue parameters (a(μ),b(μ)) are estimated for rates μ chosen at the beginning of the previous time interval I(n−1). The rates μ are chosen to lie between the peak and mean rate estimates from the previous time interval, i.e., {circumflex over (λ)}p(n−1) and {circumflex over (λ)}m(n−1), respectively. An approximate statistical characterization, Ĉs(n) is obtained at the end of the interval I(n). The statistical characterization Ĉs(n) is then mapped to a UPC parameter set U(n)=(λp(n),λs(n),Bs(n)). A UPC parameter set U(n) is produced once every T seconds. 4.2: Estimating Peak and Mean Rates The interval I(n) is divided into M smaller sub-intervals of equal length τ. Let N be the total number of cell arrivals during I(n), and let nibe the number of cell arrivals in the ith sub-interval, I=1, 2, . . . , M. The raw mean rate estimate over I(n) is given by equation (40): The raw peak rate estimate over I(n) is defined by equation (41): For an MPEG video sequence, it is natural to take the sub-interval size τ to be the frame period of 33 ms. The peak rate, as defined above, is then just the maximum frame size during I(n) divided by the frame period. This corresponds to the peak rate over I(n) when ‘smooth’ transmission is used. The estimates for the mean and peak rates, respectively, for the nth observation window I(n) are obtained from smoothing the raw mean and peak rate estimates, rmand rprespectively, and is given by equation (42): {circumflex over (λ)}m( {circumflex over (λ)}p( where Here, 0<θth<1, and km, kpare constants (0<km, kp<1) which determine the degree of ‘smoothing’ between adjacent intervals I(n). If the magnitude of the normalized difference between the raw mean rate estimate rm(n) over the current interval I(n) and the previous mean rate estimate {circumflex over (λ)}m(n−1) exceeds the threshold value θth∈(0,1), then the past information in {circumflex over (λ)}m(n−1) is ignored; i.e., no smoothing is performed. Otherwise, the new estimate of the mean rate, {circumflex over (λ)}m(n), is taken as the weighted average (by a factor km) of the current and previous mean rate estimates. This smoothing effect is captured in the variable αm(n). Combining the current raw mean rate estimate rm(n) with the previous mean rate estimate {circumflex over (λ)}m(n−1) results in a new estimate {circumflex over (λ)}m(n) with smaller fluctuation than rm(n). This effect is desirable, particularly if the time duration T is relatively small. In that case, the raw mean rate estimate rm(n) may fluctuate about the true mean rate without actually approaching it. On the other hand, if the source statistics are non-stationary, the past information should be discarded if a significant change in the mean rate occurs. An abrupt change in the traffic statistics (in particular, the mean rate), during an interval I(n), would be accompanied by a large relative difference (specified by θth) between the current raw mean rate estimate rm(n) and the previous mean rate estimate {circumflex over (λ)}m(n−1). In this case, the information from the past traffic statistics should be discarded. Similar considerations apply to the estimation of the peak rate λp. 4.3: Determining Candidate Rates for the Traffic Characterization Method For n≧2, the rates of the fictitious queues, also referred to as candidate sustainable rates, employed during I(n) are determined from the peak and mean rate estimates, from I(n−1), and the UPC values chosen at the end of I(n−1). Let λs(n) denote the UPC sustainable rate chosen at the end of the sub-interval I(n). Let N be the total number of fictitious queues to be employed in estimating (a(μ), b(μ)) (It is assumed that N is odd). The fictitious queue rates for I(n) are denoted by μi(n), where i=1, . . . , N. In order to use the N available queues efficiently, rate for the bank of N fictitious queues are chosen by dividing the available queues into a set of Nccoarse rate queues; a set of Nffine rate queues; and a fictitious queue assigned a rate equal to the sustainable rate λs(n−1) so that N=Nc+Nf+1. The coarse rates for the sub-interval I(n) are assigned to be spaced between the current estimated mean rate {circumflex over (λ)}mand the peak rate {circumflex over (λ)}paccording to the coarse rate resolution given by equation (46) which defined the coarse rate resolution Δc(n): The coarse rate queue rates μi(n) are assigned as: μi( Let I*(n) defined by equation (48) be the index of the coarse rate closest to the sustainable rate λs(n−1). The fine rates are assigned to be spaced symmetrically about a current sustainable rate according to the fine rate resolution given by equation (49) which defines the fine rate resolution Δf(n) for I(n) as: Then fine rate queue rates are assigned as: The last fictitious queue is assigned the rate λs(n−1), as shown in equation (52) μN( In summary, the offering step described in section 2 comprises the step of choosing rates for the bank of N queues. This choosing step comprising the steps of: (a) dividing the N queues into a set of Nccoarse queues each having a coarse rate, Nffine queues each having a fine rate, and a queue having a rate equal to a current sustainable rate; (b) assigning the coarse rates to be spaced between a current estimated mean rate {circumflex over (λ)}m(n) and a current estimated peak rate {circumflex over (λ)}p(n) according to the coarse rate resolution given by equation (46); and (c) assigning the fine rates to be spaced symmetrically about a current sustainable rate according to the fine rate resolution given by equation (49). 4.4: On-Line Traffic Characterization and Mapping to UPC Values Associated with each fictitious queue in I(n) is a counter Xi(n), i=1, . . . , N. Once the rates for the N fictitious queues during interval ‘I’ have been determined, the N queues are run in parallel. For each rate μi, the estimates â(μi) and {circumflex over (b)}(μi) are obtained using the procedure described earlier. The procedure requires the selection of a sequence of “arbitrary” customer arrivals. This involves generating a sequence of random positive integers, Nj, j=1, . . . , M, where M is the number of trials. The sequence {Nj} should have sufficiently large mean, so that the queue states seen by the chosen customer arrivals are loosely correlated. This will accelerate convergence of the sample means computed as described below. In experiments with MPEG sequences, a mean value for the sequence {Nj} on the order of λpτ was used. The number of trials M must be such that the time required to make the observations is less than T seconds. Since the queues are run in parallel, the same sequence {Nj} can be used for all of the queues. At the jth “trial” for a given fictitious queue, Njcustomer arrivals are counted. When the (Nj+1)th arrival occurs, the following quantities are recorded: Sj, the number of customers in service (so Sj∈{0, 1}); Qj, the number of customers in the queue; and Tj, the remaining service time of the customer in service (if one is in service). The following sample means are computed: Then {circumflex over (b)} is computed is shown in equation (54) (see also equation (8)): where {circumflex over (τ)}ris approximated by ½μ. The approximate statistical characterization at time n is defined to be: The characterization Ĉs(n) is available at the end of interval I(n). Then ĈS(n) is mapped to a set of UPC parameters U(n) as shown in equation (56): The mapping can be decomposed as follows: {circumflex over (λ)}p( {( As noted earlier, if the difference between the estimated mean and peak rates is small, i.e., {circumflex over (λ)}p( where Δ is a rate resolution parameter, then for practical purposes, the stream should be regarded as CBR (constant bit rate) and allocated to the peak rate, as shown in equation (60): {circumflex over (λ)}p( There are several ways to carry out the mapping of equation (58). The case where the user is able to tolerate a relatively high degree of shaping of its cell stream is described. In particular, the user specifies a tolerable expected delay {overscore (D)}. The constraint E[D]={overscore (D)} determines a mean delay constraint curve in the B×μ plane. An operating point is then chosen on the mean delay constraint curve according to a cost function. Using the cost function defined by equation (39), the operating rate index is chosen as: where Bs(μ, {circumflex over (D)}) is defined in equation (30) and gives the bucket size required to achieve a mean delay of {overscore (D)} at a leak rate μ. Then the sustainable rate is assigned as: λs( As discussed earlier, an alternative to the cost function in equation (39) is to use a constraint on the probabilistic delay bound P(D>Dmax), or to combine this with the cost function c(λp, λs, Bs). 4.5: Numerical Examples The procedure for selecting UPC parameters was applied to the MPEG stream called ‘mobi’, transmitted in non-smooth mode and with observations taken over time windows of four different lengths: 600, 60, 5, and 2 seconds, respectively. In The pairs (λs−,Bs(λs−)) and (λs+,Bs(λs+)) are presented in Table 1 for the four observation windows. The parameter values appear to be fairly robust to the different window lengths. In this example, λs+ lies to the right of λs− so that λs+ is the rate which results in the minimum the cost and also satisfies the probabilistic delay bound criterion. On the other hand, if λs+<λs−, then the rate λsshould be selected. Alternatively, a trade-off between criteria of the cost function and the delay bound can be achieved by selecting λs, to be somewhere between the rates λs− and λs+. 5: Dynamic UPC Estimation and Renegotiation 5.1: Concept of UPC Renegotiation An ATM network providing service for variable bit rate (VBR) sources could operate more efficiently if the sources were allowed to renegotiate their resource allocations (i.e., UPC parameters) with the network. Due to the processing overhead at network switches required to re-allocate network resources for an existing call, the time between consecutive renegotiations for a source should be relatively large, e.g., at least on the order of several seconds. UPC renegotiation would be particularly suited to sources whose traffic characteristics change significantly on a slow time-scale. For example, a scene change in a video stream may be accompanied by a dramatic change in the traffic behavior of the stream. In a real-time, interactive multimedia application, a user may request an image transfer, resulting in a transition to a period of significantly higher average bit rate lasting for several seconds. In this case, the maximum resource requirement for the call is large, but is needed only for a small portion of the call's entire duration. Static allocation to accommodate the maximum anticipated resource requirement would be extremely wasteful. Moreover, in practice, it might be difficult to anticipate, a priori, the maximum resource requirement of the source. The inventive method observes the cell stream over a time window and determines a set of UPC parameters based on statistics gathered from the observations. In principle, the UPC parameters determined over the measurement period serve as a prediction of the appropriate UPC parameters for the rest of the cell stream. If the statistical characteristics of the cell stream are stationary and the measurement window is sufficiently long, the chosen UPC parameters set should adequately serve to represent the rest of the cell stream. However, if the traffic characteristics change significantly over time, the chosen UPC parameters may cease to be adequate for the source for some portions of the call duration. Unless peak rate allocation for worst case traffic behavior is performed, the source will suffer cell delay or cell loss at the network access point. A reasonable solution to this problem is to allow the source to renegotiate the UPC set when a predetermined change is detected in the cell stream. This implies that the cell stream should be monitored for changes in the UPC set. In the pipelined approach described earlier, a new UPC descriptor, U(n), is generated once every T seconds over a time-window of length T (with smoothing from earlier time-windows). However, due to the processor overhead involved in handling renegotiation at the switches within the network, a user would typically renegotiate UPC parameters less frequently than every T seconds. Generally speaking, the user should renegotiate only when there is a significant predetermined change in the UPC values. 5.2: Apparatus Implementation The UPC shaper 125 implements the dual leaky bucket algorithm on the user stream 110. This shapes the cell stream 110 received from the source 12 in accordance with the UPC parameters or values received on line 180 from a current UPC module 145 as described below. After shaping the cell stream 110, the UPC shaper 125 outputs shaped stream data 130 to the network 14. The shaped cell stream or data 130 conforms to the UPC parameters. The UPC selector 115 takes the user cell stream 110 and user shaping constraints 135 as inputs and implements the algorithm described earlier for determining a sequence of UPC parameters. Note that the UPC selector 115 generates a new UPC parameter set once every T seconds. In particular, the UPC selector 115 characterizes the cell stream 110 statistically over an observation interval T. The UPC selector 115 also maps the statistically characterized cell stream to a dual leaky bucket usage parameter control (UPC) values once every observation interval T, in response to observations of the cell stream 110 and the source shaping constraints 135 received from the source 12. The change detector 120 receives the cell stream 110. The change detector 120 determines whether or not there has been a significant predetermined change or violation of the user constraints 135, received from the source 12, with the current UPC parameters 140 received from the current UPC module 145. A decision on whether or not to retain the current UPC parameters is made by the change detector 120 once every T seconds and is provided to a signaling module 150 via a change signal 155. In case a change is detected, the signaling module 150 updates the current UPC module 145 with a new or the latest UPC set 160 produced by the UPC selector 115. The signaling module 150 also issues a UPC renegotiation request 165 to the network 14. Typically, a decrease in network resources, such as bandwidth requirement, is granted by the network. The decreased network resources reduces the user's cost of transmitting the cell stream 12. The network 14 determines whether or not the renegotiation request 165 can be accommodated with the current available resources. The algorithm employed by the network 14 to make this decision is beyond the scope of the present invention. It is assumed that the network 14 handles call admission and renegotiation requests in such a way that the probability of rejection is acceptably low. Instead of updating the current UPC module 145 with the latest UPC parameters upon receipt of the change signal 155 that indicates an update of the UPC parameters is required, the signaling module 150 first waits to receive a signal from the network on an accept/reject line 170. When an accept signal is received from the network 14 on the accept/reject line 170, the signaling module 150 then provides updated UPC values received from the UPC selector 115 to the current UPC module 145. In case a UPC request 165 (for an increase in UPC values) is rejected by the network 14, as indicated by an accept/reject signal 170 from the network 14 to the signaling module 150, a buffer (not shown) contained in the UPC shaper 125 may approach an overload condition. In the event of shaper overload, an overload signal 175 is fed back to the source 12. The source 12 may then throttle its transmitted stream 110 until the shaper overload condition subsides or else suffer cell loss at the UPC shaper 125. Some types of sources 12, such as video or still image transmission, may increase a quantization parameter to reduce the output cell stream 110 during periods in which a request 165 for an increase in UPC values is rejected by the network 14. 5.3: Change Detection Next, the algorithm underlying the change detector 120 is described. It is assumed that the initial set of UPC parameters, Ũ, which is initially provided by the UPC selector 115 and stored in the current UPC module 145, is assigned after an interval of 2T seconds, at the end of I(2). The parameter set Ũ is then negotiated with the network 14. Meanwhile, the UPC shaper 125 shapes the cell stream 110 according to the descriptor Ũ until a change in traffic characteristics is detected as indicated by a change in the UPC parameters received on line 180 from the current UPC module 145. From the user's point of view, such a change is signaled by a change in the proportion of cells in violation (i.e., nonconforming cells) of Ũ. The average cell delay through the sustainable rate leaky bucket can be estimated from observations of the queue at ‘arbitrary’ cell arrivals instances. Specifically, for M ‘trials’ taken over an observation window of length T, the mean cell delay {circumflex over (d)} can be estimated as: where hs(t)=(t−{tilde over (B)}s) with u(t) being the unit step function. As before, Qiand Tiare, respectively, the number in the queue and the remaining service time of the customer in service (if any) seen by the arbitrary arrival. Under moderate-to-heavy utilization, Tiis approximated by ½λs. Recall that the user 12 specifies its tolerable mean cell delay {overscore (D)} as input 135 to the module or UPC selector 115 which determines the UPC parameters. In order to ensure that the target delay is achieved, the UPC selector 115 actually uses a smaller value D*<{overscore (D)} in determining the UPC parameters. It is assumed that a peak rate estimate {circumflex over (λ)}pis computed once every T seconds, as described earlier in the pipelined traffic measurement. Over the same time interval, the mean delay estimate {circumflex over (d)} is computed using the current UPC descriptor Û. The change in UPC parameters is detected at the end of the T second interval under one of the following two conditions: 1. 2. {circumflex over (λ)}p>{tilde over (λ)}p+rhor Here, δh, δl>0 are thresholds on the target mean delay and rh, rl>0 are thresholds on the peak rate. The measurement of {circumflex over (λ)}pover the intervals I1(n), n=1,2, . . . , can be used for the purposes of change detection. Over the same intervals I1(n), the mean cell delay estimate, {circumflex over (d)}(n), for the current UPC descriptor Ũ(n) is computed. Next, define a sequence H(n), n=1, 2, . . . , is defined, where H(n)=0, n=1,2, and for n≧3, Define a sequence {Ũ(n)} of the UPC descriptors, where Ũ(n) is the descriptor used over the interval I(n) (n≧3): A UPC renegotiation using the current set Ũ(n) is attempted whenever H(n)=1. In summary, the detecting step described in section 1 and the present section 5.4, comprises the steps of: estimating a mean cell delay, {circumflex over (d)}, for a leaky bucket parameterized by the sustainable rate λsand the sustainable bucket size Bs; estimating the peak rate λpto obtain an estimated peak rate {circumflex over (λ)}p; signaling a change when the mean cell delay {circumflex over (d)} falls outside a range of values in a neighborhood of a user-specified tolerable mean delay {overscore (D)}, or when the estimated peak rate {circumflex over (λ)}pfalls outside a range of values in a neighborhood of the peak rate λp. The leaky bucket is a sustainable rate leaky bucket of a dual leaky bucket having the peak and sustainable rate leaky buckets 55, 60 shown in FIG. 3. The change detector 120 estimates the peak rate {circumflex over (λ)}pand the mean cell delay, {circumflex over (d)}, for a sustainable rate leaky bucket parameterized by current negotiated UPC values (λs,Bs), where λsis the current sustainable rate and Bsis the current sustainable bucket size. The change detector 120 outputs the change signal 155 that indicates update of the UPC values is required when the mean cell delay {circumflex over (d)} falls outside a range of values in a neighborhood of a user-specified tolerable mean delay {overscore (D)}, or when the peak rate {circumflex over (λ)}pfalls outside a range of values in a neighborhood of a current negotiated peak rate λp. 5.4: Example To demonstrate the inventive method for combined dynamic UPC selection and renegotiation, two different MPEG sequences called “mobi” and “flower” were interleaved such that the resulting sequence experiences a significant change in traffic characteristics once every ten seconds. The interleaved sequence comprises the first ten seconds of “mobi” followed by the first ten seconds of “flower” followed by the next ten seconds of “mobi”, etc. The inventive method was applied to the interleaved sequence with parameters specified as follows: mean shaping delay [ms]: {overscore (D)}=5 delay bound: Dmax=25 ∈D=0.05 delay thresholds [ms]: δh=25, δh=2 peak rate thresholds [cells/ms]: rh=3, rl=5 While the invention has been particularly shown and described with respect to illustrative and preformed embodiments thereof, it will be understood by those skilled in the art that the foregoing and other changes in form and details may be made therein without departing from the spirit and scope of the invention which should be limited only by the scope of the appended claims.BACKGROUND OF THE INVENTION
BACKGROUND OF INVENTION
SUMMARY OF THE INVENTION
BRIEF DESCRIPTION OF THE DRAWINGS
DETAILED DESCRIPTION OF THE INVENTION
UPC Parameters Over Different Time Windows for the “mobi” Sequence Time(s) (λ−s,Bs(λ−s)) (λs+,Bs(λ+s)) 600 (25, 250) (26, 90) 60 (25, 270) (26, 100) 5 (25, 230) (27, 90) 2 (26, 210) (29, 20)