The present invention relates to the field of telecommunications and more particularly to a method and related apparatus for measuring the latency of a line in a transport network.
Latency requirements are a hard constraint for packet-based services. Such packet based services can be transported through transport networks like SDH/SONET/OTN or WDM networks. Transport network should therefore be aware of latency. Especially in the context of protection switching and restoration, latency for an end-to-end packet service may change and hence result in service degradation or failure on the packet layer. Therefore transport services shall not exceed a maximum latency.
The latency of a transport service is based on switch time through nodes and the line length. The end-to-end latency is then given by the number of switching nodes multiplied by the switching time per node plus the latency of the sum line lengths.
The line length is typically not known, or if so, is known only roughly. The line length latency hence cannot be simply calculated from the light speed and fiber length. An additional impact on line length latency comes from intermediate transparent nodes like repeaters or WDM equipment introducing their own latency. So latency is not just given by the cable length and the speed of light in a media but other unknown components must be considered as well.
The inventors have recognized a need for end-to-end latency measurements in transport networks such as SDH/SONET. In transport networks, latency measurement on a given link or line is typically not available today. Either a test generator must be embedded into the system or an external measurement device must be provided. Neither is generally available today. It is hence an object of the present invention, to provide a method and related apparatus that allows to measure the latency of a particular transport service from end to end, that is compatible with existing equipment.
These and other objects that appear below are achieved by a method of measuring the latency of a transport connection between a first network node and a second network node, which makes use of a virtual concatenation function with a buffer to compensate the differential delay between members in a received virtual concatenation group. In particular, the first network node creates a virtual concatenation group which has at least two multiplexing units. A first of the two is used as a reference for the latency measurement. The second is sent to the second network node, where it is looped back to said first network node. The first network node switches the first multiplexing unit internally back to a line card, where the virtual concatenation group is terminated and, by using its buffer available for re-aligning members of a virtual concatenation group, determines a latency difference between the first and second multiplexing units.
Preferred embodiments of the present invention will now be described with reference to the accompanying drawings in which
The inventors have provided a mechanism to measure a line latency, which makes use of functions already available in existing network nodes, in particular of the virtual concatenation function in SDH/SONET, OTN or WDM.
In SDH networks, transport signals are structured into frames of equal length, which are termed Synchronous Transport Modules of type N (STM-N), where N can be 1, 4, 16, 64, 256, or even higher. An STM-N carries multiplexing units, which are termed virtual containers (VC). The largest VC is the VC4 with a capacity of 140 MBit/s. An STM-1 carries one VC4, an STM-4 four VC4s and so on. These VCs transport client signals, which are termed tributaries. In order to provide larger transport capacity, two or more VCs can be linked. This is called a concatenation of VCs. In a contiguous concatenation, all concatenated VCs must be transported within the same STM-N, while in a virtual concatenation, the VCs can be transported independently and are reassembled at the terminating network node. Since the VCs can be transported independently from each other even over different network paths, they can experience different latency and hence a buffer must be provided at the terminating network node to compensate for the skew between the individual VCs. This buffer is termed hereinafter the deskewing buffer.
The deskewing buffer bases on a common synchronization frame that is inserted for all members at the same time and verified at the sink side. The differential delay can therefore be measured.
An idea of the inventors is to make use of the deskewing buffers for virtual concatenated signals, which are anyhow present on tributary line cards for packet services of existing network nodes. Therefore, in a first embodiment, one member of a virtual concatenation is locally looped back while a second member is passed across a link under consideration. The link under consideration is line loop-backed on the far-end network node and switched to the same virtual concatenation group the first member is located. The latency between the two members equals roughly twice the line latency to be measured. This allows line latency measurement without requiring any external measurement devices.
The latency measurement of first embodiment is shown schematically in
The measurement setup is done in the following way:
The peer end of the port is placed into line loopback, when the link is not in service. Alternatively the VCG member can be locally switched back to the line in the switching matrix S2.
In particular, concatenation termination units T creates a virtual concatenation of two VC4s, i.e. a VC4-2v. The two concatenated virtual containers VC4 are send to the switch matrix S1. The first of the two VC4s is switched back by the switching matrix S1 to the same tributary line card LC, where it is stored in the deskewing buffer B. The second VC4 is switched from switching matrix S1 to SDH port P1 and transmitted through the SDH network N to network node N2. At network node N2, the second VC4 is received at SDH port P2. In SDH port P2, a line loopback function is activated to switch the second VC4 back to the line. Hence, the second VC4 is transmitted the same way back through network N to node N1, where it is received at the same port P1. From P1, the second VC4 is switched through switching matrix S1 back to tributary line card LC, where it is received at concatenation termination unit T. Concatenation termination unit T compares the latency of the first and second virtual containers to determine the latency of the line under consideration.
Using typical, known latency values for the real line latency can be estimated therefrom. The switching time T1, T7 through the switching matrix S1 is roughly 15 μs. The port latency T2 on the egress side is roughly 5 μs. T3, T5 is the line latency. The loopback latency T4 is very small, roughly a few μs. The port latency T6 at ingress side is again roughly 5 μs. Thus the line latency can be calculated by
The above measurement method is compatible with nearly all existing equipment. Virtual concatenation is available on GE, 10GE and other tributary line cards for packet services. These cards provide also the measurement of differential delay. The granularity that can be measured in SDH frames is 125 μs. The maximum range depends on the size of the deskewing buffer, which is for 1GE typically 15 ms, which corresponds to 120 frames and for 10GE Ethernet/MPLS tributary line cards typically 32 ms corresponding to 256 frames.
It should be understood that the above values for equipment an internal processing time are taken from a particular implementation and can be different for others. In general the buffer size is equipment specific and standard G.7041 allows a buffer size for the de-skewing buffer of up to 256 ms.
Due to frame measurement, the granularity is 125 us. Using an average light speed in medium of 0.2 m/ns=200 m/μs this granularity compares to a line length of 25 km. Since the line length is measured twice, the granularity of the measurement is 12.5 km of line length. The 20 μs latency due to equipment functions (T2, T6, T7, T4) is negligible in this context. With buffer capacity of 15 ms corresponding to 120 frames, the total latency that can be measured is 2500 km. As line is measured twice the maximum line length is 1250 km. With buffer capacity of 32 ms corresponding to 256 frames the total length is 6400 km and the maximum line length can be 3200 km.
As the deskewing buffer is filled in linear way starting at buffer begin, in the cases of an overflow a “multi-cross” indicator may provide information how often the frame has been overflowed. When this function is available even much longer lines can be measured.
When the “multi-cross” indicator is not given a given line can be compared with another line already known, which will be described with reference to
The measurement is based on the availability of line cards on one side of the line which provide virtual concatenation functionality. The measurement further requires a free VCG on one card that can be used for measurement and it requires two VC4 on back-panel capacity in the same VCG. Instead of a free VCG, the measurement can also be done using an existing VCG, which is currently in service, by simply adding two separate VC4 that are not in service. Such an existing VCG will then have two additional members that are not activated.
In order to perform the measurement, the following configuration steps will be carried out: At node N2, the line loopback is configured. At node N1, the VCG at tributary line card LC is configured and the switching matrix S1 is configured to switch one member to the SDH port P1 under consideration and the one member back to tributary line card LC. Then the measurement can be carried out and finally, the switch is released again at switching matrix S1, the VCG configured back into original condition and the line loopback at node N2 released.
In order to support the above described measurement, a new maintenance command could preferably be defined that measures the differential delay between two members in a VCG.
The measurement can either be performed in a manual way in that the above configuration steps are performed by an operator manually, or the measurement can be automated by a single command which executes the measurement steps. In this case the SDH port under consideration will be specified and optionally also the VCG group to be used can be specified.
Measurement can be done on an idle line when no active traffic is currently being sent, or on an line with active traffic but where some capacity is available for an additional VC-4. In the former case, discovery may use line loopback since the port is not yet in service. For a measurement on a line with active traffic, it would be preferable to use matrix loopback.
The setup and measurement steps can be synchronized and coordinated through a control plane, e.g. by GMPLS controllers which communicate with each other. For example the Link Management Protocol LMP of the GMPLS protocol suit can be used to negotiating which side is measuring, initiate the line loopback or matrix loopback, and in case of matrix loopback which VC is used. Measurement can even be done as a maintenance action during a link is in service by using matrix loopback in the far-end network node N2.
Turning to
In this operation a test line is compared against a known line for example in cases where the multi-cross indication is not available. The setup changes in the following way: The first member of a concatenation group is switched to the known line. The second member is switched to the port under consideration. Either both peer ends of the two ports are placed into line loopback, when link is not in service or the VCG member can be locally switched back to the line in the switching matrix. The latter is the preferred option for the known port.
In
Concatenation termination unit T creates as in the first embodiment a virtual concatenation group with two VC4s and sends these to switching matrix S1. The first VC4 is switched to SDH port P1′ and the second to SDH port P1. The first VC is received at port P3 of network node N3 and forwarded to switching matrix S3, where it is looped back to SDH port P3. The first VC4 hence travels back through network N to port P1′, from where it is switched back to tributary line card LC. The second VC4 is received at port P2 of network node N2, which has activated a line loopback function and hence the VC4 is sent back via network N to port P1, from where it is switched back to tributary line card LC, too. Concatenation termination unit T using its deskewing buffer B determines the time difference between receipt of the two corresponding VC4.
The delta measured between the two lines must be taken into account together with the known latency of the known link. The delta can hence be negative or positive as long it is in the range of the buffer size.
VC4_1 is received after time T3 at port P3 and after lapse of a loopback latency, which is essentially the ingress and egress port latency plus the switching latency of switching matrix S3 (due to the fact that node N3 has activated matrix loopback), VC4_1 is transmitted at time T4 back to the transmission line. At time T5, it is received at port P1′ and after adding port latency (T6) and switching latency is received back at time T7 at tributary line card LC.
VC4_2 is received after time T3′ at port P2 of network node N2. The loopback latency of port P2 is then added and VC4_2 is transmitted at time T4′ back to the transmission line. At time T5′ it is received at port P1 and after port latency and switching latency it is finally received back at the tributary line card LC at time T7′. The measured latency is the difference between VC4_1 and VC4_2, i.e. the difference between T7 and T7′. With the known latency of the transmission line between N1 and N3, the latency of the transmission line under consideration can be easily determined.
The characteristics of the known transmission line can either be measured in advance using external measurement equipment or can be deduced using known geographical properties. It would also be possible that the known line is just a segment of the line to be measured or the other way round, that the line to be measured is a segment of the known line. The invention allows hence allows to measure a line and all its segments.
In order to measure a higher number of lines and segments in parallel from a single point in the network, it could be advantageous to use smaller multiplex units where available to have an even higher number of multiplex units available to form a virtual concatenation. It would be possible for example, to use the VC-3, which is the higher order multiplex unit in SONET (the ANSI equivalent of SDH), and form a virtual concatenation VC-3nv of n VC-3 and locally loop back the different VC-3s.
As already discussed above, the configuration steps necessary to carry out the invention can be implemented in either a control plane element if the SDH network is equipped with a distributed GMPLS control plane or can be implemented into a central network management system. In the former case, each network node has a GMPLS controller and the GMPLS controller of network node N1 is equipped with a software extension that configures upon execution the network node N1 to perform the respective steps and is also capable to instruct the GMPLS controller of network node N2, respectively network nodes N2 and N3 to configure the loopback in either switching matrix or line card, depending on which alternative is chosen. Conversely, in the latter case, the central network management system is equipped with a software extension, which upon execution initiates the necessary configuration and measurement steps in all involved network nodes.
Those skilled in the art would readily recognize that steps of various above-described methods can be performed by programmed computers. Herein, some embodiments are also intended to cover program storage devices, e.g., digital data storage media, which are machine or computer readable and encode machine-executable or computer-executable programs of instructions, wherein said instructions perform some or all of the steps of said above-described methods. The program storage devices may be, e.g., digital memories, magnetic storage media such as a magnetic disks and magnetic tapes, hard drives, or optically readable digital data storage media. The embodiments are also intended to cover computers programmed to perform said steps of the above-described methods.
The description and drawings merely illustrate the principles of the invention. It will thus be appreciated that those skilled in the art will be able to devise various arrangements that, although not explicitly described or shown herein, embody the principles of the invention and are included within its spirit and scope. Furthermore, all examples recited herein are principally intended expressly to be only for pedagogical purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor(s) to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions. Moreover, all statements herein reciting principles, aspects, and embodiments of the invention, as well as specific examples thereof, are intended to encompass equivalents thereof.
The above embodiments have been described in the context of networks and network equipment of the well known Synchronous Digital Hierarchy (SDH). However, similar mechanisms of virtual concatenation also exist for instance in the Optical Transport Network (OTN) and the above described measurement principles can equally be applied in these and other networks, which provide virtual concatenation of multiplexing units, in particular, in any kind of transport network which are based on circuit switching technology, time division multiplexing of multiplexing units of equal length, and which provide functionality equivalent to virtual concatenation as explained above. Moreover, underlying transport networks, which transports these concatenated TDM services, such as WDM networks, can be measured in the described way.
Number | Date | Country | Kind |
---|---|---|---|
09305624.0 | Jun 2009 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2010/056608 | 5/12/2010 | WO | 00 | 12/14/2011 |