This invention relates to communications networks, and in particular to the setting of real time clocks in such networks.
Many networks include a management layer that is used to control and configure elements within the network. An example of such a network is the Synchronous Digital Hierarchy (SDH) transmission network.
Where the management system is collecting performance and alarm state data it is important to know either over what time period the data was collected and/or the precise time a given event occurred. This is particularly important when verifying the quality of service delivered to customers and when fault finding in the network.
In the case of alarms, it is important to correlate accurately alarms to assist in fault finding to establish quickly any traffic loss impact to specific customers.
Management systems typically have a Global Positioning System (GPS) link 18 (
It is well understood in the art that there are problems associated with setting the real time clock accurately within network elements. These problems arise for three main reasons: transit delays over the data communications network; setting delay when the time is received at a given network element; and data communications network protocol re-transmissions.
The first of these, transit delays, are due to the routing of the messages over the DCN. In a large network, messages may travel over a number of elements each of which stores, processes and forwards the message. The transit delay is typically small, being in the order of 5 ms. As the transit delay is fairly stable and predictable it can be compensated for by simple subtraction.
The setting delay only applies at the receiving network element and is the time taken for the termination of the received message and the setting of the internal RTC. As with the transit delay this is controllable and can be reduced to a few hundred ms by giving the RTC setting a high software priority.
The most problematic source of delay is in DCN protocol re-transmissions. The DCN network is robust and caters for message transmission failures. The protocols used, typically in the transport layer, allow for the detection of failure and the re-transmission of messages. Since failures are likely to be caused by a temporary overload in the DCN network, the retransmission protocols have a back-off mechanism in which there is a waiting time before re-transmission. This may be appreciated from a consideration of
The most significant problem arising from this delay is that neither the management system nor the network element has knowledge of it as re-transmission is handled by protocols within the DCN. Moreover, the message re-transmitted by the DCN protocol is always the same message as supplied by the management system. Thus, in the example given, the time value received at the network element will be 28 seconds slow with respect to real time.
As a result of this delay accumulation, network elements in a large network can vary in time value by a large range. This may be up to 64 seconds depending on the re-transmission times set for the DCN protocols.
Many attempts have been made to solve the above discussed problem. However, none of the solutions proposed are satisfactory. The existing attempts at solving the problem rely on a constant requesting and comparing of times across the network by the management or main control system. Differences are calculated and adjustments made to times sent as required. Such an approach works well on a reasonably controlled network, but reliability is reduced over large networks, where re-transmission may occur often. They are also complex to run on large networks.
Other solutions proposed rely on sending out some form of RTC indication with the traffic carried by the network elements. This propagates over the network quickly allowing for accurate RTC settings. However, such an approach uses up valuable traffic bandwidth and requires a complex interconnection of traffic to ensure that all network elements within a network receive it.
The invention aims, therefore, to provide an improved approach to setting real time clocks which overcomes or ameliorates the disadvantages mentioned above.
In its broadest form, the invention overcomes, at least in part, the above mentioned problems by sending RTC request messages from the network element to the RTC source. This enables the time for the round trip to be monitored. If it is not within a predefined range, the RTC value received is rejected and a fresh request made.
More specifically, there is provided a method of setting a real time clock in a network element of a data communications network having a management system communicating with the network element across the network, the method characterised by: sending a message from the network element to the management system requesting a real time clock (RTC) value; receiving the RTC value at the network element; measuring the time taken between the sending of the RTC request message and receipt of the RTC value; comparing the measured time with a predetermined acceptable time; and if the measured value is acceptable: setting the network element real time clock with the received value.
The invention also provides a network element for a data communications network having a management system communicating with the network element across the network, the network element comprising: a real time clock; a message generator for generating and sending real time clock (RTC) value requests to the management system; a message receiver for receiving requested RTC values from the management system; a timer for measuring the time between sending of an RTC request message and receipt of the RTC value; a comparator for comparing the measured time with a predetermined acceptable time; and means for setting the network element real time clock with the received RTC value if that value is acceptable.
The invention further provides a data communications system comprising: at least one network element and a management system, the network element and the management system communicating across the communications network; characterised in that the system comprising at the network element: a real time clock set by the management system; a message generator for generating and sending real time clock (RTC) value requests to the management system; a message receiver for receiving requested RTC values from the management system; a timer for measuring the time between sending of an RTC request message and receipt of the RTC value; a comparator for comparing the measured time with a predetermined acceptable time; and means for setting the network element real time clock with the received value if that value is acceptable; and at the management system: means for receiving RTC value request messages from the network element and for sending RTC values to the network element in response thereto.
The invention still further provides a method of setting a real time clock in a network element of a data communications network comprising: requesting a real time clock value RTC from a remote RTC source; measuring the period between the RTC request and receipt of an RTC value; and updating the real time clock of the network value if the measured period is within a predetermined acceptable range.
Embodiments of the invention have the advantage that by departing from the prior art arrangement of the management system sending out requests without the knowledge of the network element, the time taken to receive the RTC value can be measured. If it is too high, the RTC value can be discarded.
Preferably, if the number of discarded RTC values exceeds a predetermined number, an alarm is sent to the management system. This has the advantage of alerting the management system to a persistent fault or problem.
Preferably, the acceptable RTC values are modified to take into account the transmission time from the management system. In one preferred embodiment this is achieved by subtracting the minimum transmission time and in another preferred embodiment by subtracting half the measured transmission time. This has the advantage that the real time clock set at the network element is more accurate.
Embodiments of the invention will now be described, by way of example only, and with reference to the accompanying drawings, in which:
The inventors have appreciated that the problems in the prior art systems discussed above arise because the management system and network element have no knowledge of the re-transmission within the DCN network. This is because messages are sent to the network element over the DCN and a reply awaited. This ensures reliable transmission but delays occurring within the DCN are undetectable.
In the embodiment to be described, the process is reversed. Rather than sending RTC settings from the management system at some predetermined time, the RTC is sent in response to a specific request from the network element. The network element can time the period between the issue of the response and the receipt of the RTC and determine the validity of the RTC value by comparing the measured period with the accuracy required within the network element.
The control of the sequence is thus within the network element, which can control and monitor the entire process. As an additional benefit, processing issues related to the extra work involved are distributed across the network rather than handled by one process such as in the management system.
The network element requests the RTC value from the management system and times the period until receipt. This is a relative time and is not related to any inherent accuracy of the current RTC setting, but only the timing of a given period of time. Thus, the validity of the RTC time value can be determined. If the time taken for the response exceeds a maximum acceptable, the network element sends another request after a back off period to allow the DCN to clear.
Each of the propagation legs will have a predictable delay. It may be assumed that the transit time between the network element and the management system is 300 ms in both directions and that the management system has a response time of 500 ms.
Thus, in
In
It will be appreciated that in the
Where a received RTC is rejected, the network element continues to use its existing RTC until an RTC request is answered within the acceptable time period.
After the network element has rejected a predetermined number of consecutive RTC values, a time-out will occur and the network element will raise an alarm to the management system to allow intervention by the management system.
The network element knows the time taken to receive the RTC message from the management system. This knowledge can be used to correct the real time clock.
A first method is to define the minimum response time achievable. In the example given above, this is likely to be about 1 second. The network element then adds 1 second to the received time to compensate for the time taken to receive the message.
A second method bases the correction on the period of time taken for the message to be received. The network element adds half the total time taken to receive the response to reduce any error caused by transmission through the network. If the delay occurs on the return leg, the
These two alternatives are illustrated in the flow diagrams of
Many variations and modifications to the embodiments described are possible and will occur to those in the art without departing from the scope of the invention which is defined by the claims appended hereto.
Number | Date | Country | Kind |
---|---|---|---|
0101252.5 | Jan 2001 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/GB02/00186 | 1/17/2002 | WO |