The present invention relates to SONET/SDH circuit emulation over packet (CEP) networks, and more specifically the compensation for lost data sent via emulation of SONET/SDH circuits over a packet infrastructure.
SONET/SDH is a transport technology that carries multiple lower rate signals within SONET/SDH containers. SONET/SDH carries the plesiochronous digital hierarchy (PDH) signals, including T1, E1, T3, E3 etc. These PDH signals are usually mapped asynchronously into the SONET/SDH containers, where “asynchronous” means that the clock driving the PDH signal may be different (not synchronized) to the SONET/SDH clock. To accommodate for different clocks, the SONET/SDH container can vary the number of PDH bits carried within each container segment. This technique is called bit stuffing. For example, a T1 carried asynchronously within the VT1.5 (TU-11) container may have 771, 772 or 773 bits per super-frame (a structure of 4 T1 frames). Usually the SONET/SDH container includes some bits that may or may not carry data, named “justification opportunity bits”, as well as carrying additional bits that indicate whether these bits carry data or not, named “justification control bits”.
The common prior art method of dealing with lost packets or with packets delayed beyond the jitter buffer boundary of a circuit emulation edge is illustrated in the block diagram of
Once a packet is lost, replaying an empty packet may indicate erroneous justification control bits, leading to a wrong interpretation of the justification opportunity bits, and therefore to the wrong number of PDH bits carried in this segment. If the end PDH service receives a wrong number of bits, the end circuits can lose frame synchronization. The time scale needed in order to recover from such loss of synchronization is relatively large, resulting in significant service disruption. The typical time scale for acquisition of frame synchronization is measured in milliseconds, while the payload carried within a packet is typically less than 0.5 millisecond of PDH data. For example, a single packet loss worth 0.25 millisecond may cause a service disruption of 5 milliseconds, which equals the loss of 20 packets.
In view of the prior art disadvantages mentioned above, there is a widely recognized need for, and it would be highly advantageous to have, a method for replacing lost or delayed data in SONET/SDH emulation protocols carrying PDH signals that prevents service disruption.
The present invention is of a method and system for replacing lost or delayed data in SONET/SDH emulation protocol carrying PDH signals. Specifically, the present invention provides a method for replacing lost or delayed data by playing out data in a way that minimizes the effect on the service, while loss of packet synchronization is not yet declared. The method of the present invention works equally well with E1, T1, E3 or T3 PDH signals.
According to the present invention there is provided a method for replacing lost or delayed data in SONET/SDH emulation protocols for carrying plesiochronous digital hierarchy (PDH) signals over a packet network between a sender and a receiver, comprising the steps of: at the receiver: (a) receiving a plurality of packets, each the packet having packet parameters; (b) detecting a missing packet; and (c) instead of the missing packet, playing out a replacement packet that includes replacement values chosen to minimize erroneous stuffing events, the replacement values including replacement justification control bit values chosen based on the packet parameters.
According to the present invention there is provided a system for a system for replacing lost or delayed data in SONET/SDH emulation protocols used for carrying plesiochronous digital hierarchy (PDH) signals over a packet network between a sender and a receiver, comprising: (a) sender means for sending a plurality of packets to the receiver over the packet network, (b) receiver detecting means for detecting at least one missing packet among the plurality of packets; and (c) receiver packet replacement means for replacing the at least one missing packet.
The invention is herein described, by way of example only, with reference to the accompanying drawings, wherein:
The present invention is of a method and system for replacing lost or delayed data in SONET/SDH emulation protocol carrying PDH signals. Specifically, the present invention provides a method for replacing lost or delayed data by playing out data in a way that minimizes the effect on the service, while loss of packet synchronization is not yet declared.
The principles and operation of a method and system for replacing lost or delayed data in SONET/SDH emulation protocols according to the present invention may be better understood with reference to the drawings and the accompanying description.
T1 (DS-1)/E1 Payload Mapping
In order to better understand the choice of bit values for, and the play-out of the replacement packets according to the present invention, reference is first made to T1 and E1 asynchronous mappings to SONET/SDH.
Returning now to the method of the present invention,
This method works as long as no complete super-frame has been lost. To guard against missed justification events across a super-frame, signaling should be added by the sender as described in the general method in
T3 (DS-3) /E3 Payload Mapping
Reference is now made to T3 SONET/SDH asynchronous mappings, which are well known in the art. The rate of DS-3 is 44736 kb/sec. The STS-1 (VC-3) carrying the T3 consists of nine sub-frames every 125 μs. Each sub-frame consists of one byte of STS-1 (VC-3) payload overhead bytes, 621 data bits, a set of five justification control bits, one justification opportunity bit and two overhead communication channel bits. The remaining bits are Fixed Stuff (R) bits. Each sub-frame carries 44736*0.125/9=621 ⅓ bits. Therefore the justification control bits allow positive and negative justification.
The set of five justification control bits is used to control the justification opportunity (S) bit. (CCCCC)=(00000) indicates that the S bit is a data bit, whereas (CCCCC)=(1111) indicates that the S bit is a justification bit. Majority vote should be used to make the justification decision in the de-synchronizer for protection against single and double bit errors in the C bits. The value contained in the S bit when used as a justification bit is not defined. The receiver is required to ignore the value contained in this bit whenever it is used as a justification bit. The DS-3 is carried in SONET/SDH format, and therefore multiple justification events may occur in a single lost packet payload. In order to have a good guess of the number of justification events when lost data is played out, statistics on number of justification events per N SONET frames is maintained. In order to make sure the right number of events was played out, sender signaling of the number of justification events is needed.
Similarly, in well known prior art E3 mapping, two sets of five justification control bits C1 and C2 are used to control the two justification opportunity bits S1 and S2, respectively. (C1C1C1C1C1)=(00000) indicates that S1 is a data bit while (C1C1C1C1C1)=(11111) indicates that S1 is a justification bit. The C2 bit controls S2 in the same way. Majority vote should be used to make the justification decision in the de-synchronizer for protection against single and double bit errors in the C bits. The value contained in S1 and S2 when they are justification bits is not defined. The receiver is required to ignore the value contained in these bits whenever they are used as justification bits.
Using for simplicity the same sender 100, the sender tracks the justification control bits (CCCCC) per row in a step 502. In a step 504, the sender maintains a justification opportunity counter Ns that is incremented each time a justification opportunity bit is used. Ns reflects the number of opportunity bits used until the payload carried in the next packet or row. Then, in a step 506, the sender sends counter Ns within each packet or within each row. At the other edge, receiver 102 tracks the justification control bits within the tributary in a step 508, and, optionally, maintains statistics of the number of rows in which justification opportunity bits were used in a step 510. The receiver receives counter Ns from the sender and tracks the number of used justification opportunity bits in a step 512. The receiver then sets a receiver counter Nr=Ns of the last real packet played out. In a next step 514, when a replacement packet needs to be played out, the receiver sets the justification control bits (CCCCC) in the right position of each row to values (11111) or (00000), either according to statistics acquired in step 510 or according to the default setting. The default setting is to set two rows with (11111) values, and one row with (00000) values. Each time justification control bits (CCCCC) are set to (00000) within the replacement packet, the receiver increases Nr incrementally in a step 516. When a subsequent real packet is due to play out, the receiver, in a step 518, compares the values of Ns and Nr. That is, the receiver compares the number of justification opportunity bits used in the replacement packet with the correct number of justification opportunity bits that should have been used had no packet been lost. If the difference between Ns and Nr is not too large (e.g. can be compensated by changing the justification control bits of a single real packet), the receiver modifies the justification control bits (CCCCC) of a set of rows to compensate for the difference in a step 520.
The T3/E3 replacement procedure may also be implemented without the sender adding information. In this mode, the receiver tracks the justification control bits and chooses the replacement values such that the justification opportunity bits used match either the default values or the statistics maintained. By adding the signaling from the sender claim, we add the stage in which the ‘real’ packet justification bits are modified to correct (if needed) the justification bits that were added in the replacement packet.
In summary—the method of the present invention has a number of clear advantages over other prior art methods, either used or planned, in that:
While the invention has been described with respect to a limited number of embodiments, it will be appreciated that many variations, modifications and other applications of the invention may be made.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US02/38306 | 12/3/2002 | WO |
Number | Date | Country | |
---|---|---|---|
60339305 | Dec 2001 | US |