Telecommunications system and method with error detection means

Abstract: Synchronisation of a receiving termination of a telecommunications system with an incoming data stream is carried out from a synchronisation signal carried with the data stream. It is possible that a "mimic" of the synchronisation signal may occur within the data steam. A system and method as described for detecting current and mimic signals and validating the signals so that correct alignment may be achieved.

Description: On a telecommunications system where data is transmitted within timeslots, synchronisation of the receiving termination with the data stream is achieved by detection of timeslot zero (TSO) synchronisation signals. It is possible for the data in a timeslot other than TSO to "mimic" the TSO signals, either accidentally or even as a result of deliberate interference. This mimic will obviously create confusion as to which is the real TSO synchronisation signal. In EP 0212327 is disclosed a digital signal transmission system which includes a synchronisation pattern detection circuit for detecting a synchronisation pattern in response to a received transmitted digital signal, a pseudo synchronisation detection circuit for detecting a pseudo synchronisation pattern in the form of cyclic redundancy code in response to a received transmitted digital signal, and a synchronisation protection circuit for counting the synchronisation pattern detection signals produced when synchronisation patterns are detected in response to a synchronisation pattern detection signal from the synchronisation pattern detection circuit. The synchronisation protection circuit includes a main synchronisation counter circuit and an auxiliary synchronisation counter circuit. The count of protection steps for the confirmation of synchronisation recovery of the auxiliary synchronisation counter circuit in accordance with synchronisation or asynchronisation of the main synchronisation counter circuit is variable. The present invention is concerned with means for overcoming the problems of "mimics". According to the present invention there is provided a telecommunications system for carrying data in a frame together with a frame alignment pattern and an error detecting code for the frame, the system comprising: two frame alignment detectors connected in parallel, and operating alternately in a worker/standby relationship, each of the detectors comprising means to detect and lock to a frame alignment pattern and error detecting code means, a first of the detectors being locked to a previously detected frame alignment pattern, the second of the detectors searching for an alternative frame alignment pattern, the validity of a detected frame alignment pattern being tested and if valid confirmed by the second detector carrying out an error detecting code check on the frame, characterised in that the data in the frame together with the frame alignment pattern and the error detecting code are carried in one of a series of timeslots wherein on detection and confirmation of an alternative and improved frame alignment pattern by the second detector, the second detector locks to that frame alignment pattern whereupon the roles of the first and second detectors are interchanged and the first detector then similarly searches for, tests and confirms an alternative alignment pattern. There is further provided a method of operating a telecommunications system wherein data is carried in a frame together with a frame alignment pattern and an error detecting code for the pattern, the method comprising the steps of: (a) locking a first frame alignment detector of two detectors each comprising means to detect and lock to a frame alignment pattern and error detecting code check means; (b) searching with a second frame alignment detector for an alternative frame alignment pattern; (c) confirming the validity of each detected frame alignment pattern by carrying out an error detecting code check on the frame; the data in the frame together with the frame alignment pattern and the error detecting code being carried in one of a series of timeslots and (d) characterised in that on detection and confirmation of the validity of an alternative and improved frame alignment pattern, the second detector is locked to that frame pattern; (e) the roles of the first and second detectors are interchanged; and (f) searching for an alternative frame alignment pattern with the first frame alignment detector commences The present invention will now be described, by way of example. The invention will be considered with reference to Digital Subscriber Signalling 2 (DSS2) and the use of a Cyclic Redundancy Check-4 (CRC4), the use of international bits in 2Mb/s PCM frame alignment using CRC4 being described in International Telegraph and Telephone Consultative Committee (CCITT) Blue Book, Fascicile III.4-Recommendation G.704. The procedure may be provided where there is a need for additional protection against simulation of the frame alignment signal. It will now be described how the CRC4 signalling mechanism may be processed by a digital switch so as to provide the link security. There are a number of basic handling criteria which must be established by the switch. These are as follows: 1) Individual PCM links must be configurable within the switch for CRC4 support. Having set CRC4 handling requirements, the following will apply: a) The terminating equipment for each PCM suitably configured must be told to activate CRC4 processing. b) Once activated, CRC4 will be generated on the transmit side of any suitably configured PCM continuously until told to do otherwise. This will include transmission of error (E) bits based on CRC4 check bit errors detected on the received PCM. c) The PCM terminating equipment will not transmit CRC4 data on any PCM not suitably configured, even if it has the capability of doing so. d) If a PCM is not configured for CRC4, any multiframe alignment, CRC4 error count and E bit information provided by the terminating equipment will be ignored. e) CRC4 processing will only be deactivated on the PCM terminating equipment, when the PCM is no longer required to carry traffic or is reconfigured for non CRC4 processing. 2) The PCM terminating equipment will provide two TSO alignment detection circuits, worker and standby, for a received PCM. The worker is locked to the current frame alignment pattern, whilst the standby is searching for mimic alignment patterns. If the worker loses multiframe alignment or CRC4 errors become unacceptably high and the standby has detected no mimic alignment, then CRC4 security has been lost. Should this occur, the condition should be allowed to persist for 10 seconds then an alarm should be raised and the link treated as unserviceable. CRC4 processing should be continued both in the transmit and receive directions. When CRC4 is restored it should be allowed to persist for 20 seconds and then the link may be returned to the serviceable state. In the presence of a mimic, detected by the standby, action will be taken based on the information supplied by the 2 circuits, as indicated below: The threshold value of 914 is specified by BT, but different threshold values may be set to meet the requirements of individual customers. If the alarm should be raised on a link, due to invalid MFA or HI errored CRC4 message blocks, as described above, RAI (remote alarm indication) will be transmitted to line. 3) In addition, received E bit information is available, which identifies CRC4 errors detected at the remote end of the link. The following actions should be taken on this information, based on the current data from the worker detection circuit: Worker Action MFA EC EBC N - - Ignore. PCM terminating equipment is locked to a bad timeslot 0 alignment so the E bit information is not valid. Y HI - Ignore. CRC4 failure is high, therefore E bit information is suspect and re-alignment or loss of link is likely to be imminent. Y LO LO Ignore. Remote end is not detecting significant CRC4 faults, therefore the link is good. Y LO HI Although received data is good, a problem exists on the transmission link. Persist for 10 seconds, then raise an alarm and treat the link as unserviceable. When the E bit count is reduced to an acceptable level then, assuming CRC4 is still good, persist for 20 seconds and return the link to a serviceable state. Key: MFA = MultiFrame Alignment detected. EC = Error Count of CRC4 errors detected EBC = E Bit Count (CRC4 errors detected at remote end) - = Insignificant LO = LOw count of CRC4 / E bit errors (less than or equal to 914 errored CRC blocks in 1000 per second). HI = HIgh count of CRC4 / E bit errors (greater than 914 errored CRC blocks in 1000 per second). The threshold value of 914 is specified by BT, but different threshold values may be set to meet the requirements of individual customers. 4) When transmitting a timeslot 0 which has been switched, the spare bits received from the switch must be included rather than the default of all ones. Multiframe alignment must be regenerated. When receiving a timeslot 0 which is to be switched, extract the spare bits and default the international bits to 1 for subsequent retransmission. This has the following implications when switching timeslot 0 between CRC4 and non CRC4 PCMs: CRC4 to non CRC4 connections will NOT result in multiframe alignment being transmitted to line on the non CRC4 link. By defaulting the international bits to 1, the non CRC4 terminating equipment will process timeslot 0 as if no international bits were in use on the incoming PCM. Non CRC4 to CRC4 connections wil result in the loss of any data contained in the international bits. Effectively, only spare bits will be switched if the PCM at either end of the connection supports CRC4. Summarising, the function has to carry out the following : 1) To search for and algorithmically validate the presence of more than one CCITT G704 (para 2.3) compliant TSO frame synchronisation signal; 2) To search for and algorithmically validate the presence of more than one CCITT G706 (para 4) compliant CRC4 sub-multiframe synchronisation signal; 3) To accumulate TSO and CRC4 errors for each synchronised signal; 4) To process the above data in real time, accumulate historical integrity and discriminate between genuine and mimic signals. The DSS implementation comprises two TSO detectors which detectors are identical and operate in 'worker/standby' configuration. The roles are reversible and are determined via the Control interface. The role of the worker detector should it lose sync, is to synchronise to the first valid frame alignment signal, while the standby detector is deployed to search for a 'mimic' frame alignment signal. This is done in conjunction with a 1 Hz clock as follows; 1) The mimic detection mechanism operates over two 1 second time windows; namely the 'scanning' and 'checking' windows. 2) At the beginning of the scanning window, the standby detector is forced to resynchronise to the next available valid frame alignment signal (FAS). There are two possibilities: a) There is only one valid FAS - in which case it resynchronises to the same FAS as the worker. b) There is more than one FAS - in which case it may resynchronise to a different FAS to that of the worker detector. 3) At the beginning of the checking window, the worker and the standby frame start pulses are compared. If they are not simultaneous, a 'mimic alarm' is raised and reported via the Control interface. 4) Once a mimic has been reported, a new scanning cycle is inhibited, leaving the standby synchronised to the new TSO. If it is again detected, a reported mimic has persisted for approximately one second. Relevant error data is analysed to determine which of the two detectors is synchronised to the genuine TSO. Should the worker TSO be deemed to be genuine, the standby scanning cycle is restarted. Should the standby TSO be deemed to be genuine, the worker/standby detector roles are reversed and the standby scanning cycle is restarted.

Claims: A telecommunications system for carrying data in a frame together with a frame alignment pattern and an error detecting code for the frame, the system comprising: two frame alignment detectors connected in parallel, and operating alternately in a worker/standby relationship, each of the detectors comprising means to detect and lock to a frame alignment pattern and error detecting code check means; a first of the detectors being locked to a previously detected frame alignment pattern, the second of the detectors searching for an alternative frame alignment pattern, the validity of a detected frame alignment pattern being tested and if valid confirmed by the second detector carrying out an error detecting code check on the frame, the data in the frame together with the frame alignment pattern and the error detecting code are carried in one of a series of timeslots characterised in that on detection and confirmation of an alternative and improved frame alignment pattern by the second detector, the second detector locks to that frame alignment pattern whereupon the roles of the first and second detectors are interchanged and the first detector then similarly searches for, tests and confirms an alternative alignment pattern. A telecommunications system as claimed in Claim 1, wherein the first and second frame alignment detectors comprise timeslot 0 detectors operating in a worker/standby relationship. A telecommunications system as claimed in Claim 1 or 2, wherein the error detecting code is a cyclic redundancy code. A telecommunications system as claimed in Claim 3, wherein the cyclic redundancy code is a CRC4 protocol. A telecommunications system as claimed in any preceding claim, the system operating as a PCM system. A telecommunications system as claimed in Claim 5, the system operating as a Digital Subscriber Signalling 2 (DSS2) system. A method of operating a telecommunications system wherein data is carried in a frame together with a frame alignment pattern and an error detecting code for the frame, the method comprising the steps of: (a) locking a first frame alignment detector of two detectors each comprising means to detect and lock to a frame alignment pattern and error detecting code check means; (b) searching with a second frame alignment detector for an alternative frame alignment pattern; (c) confirming the validity of each detected frame alignment pattern by carrying out an error detecting code check on the frame; the data in the frame together with the frame alignment pattern and the error detecting code being carried in one of a series of timeslots and (d) characterised in that on detection and confirmation of validity of an alternative and improved frame alignment pattern, the second detector is locked to that frame pattern; (e) the roles of the first and second detectors are interchanged; and (f) searching for an alternative frame alignment pattern with the first frame alignment detector is commenced. A method as claimed in Claim 7, wherein the alignment patterns are detected by checking for further timeslots 0. A method as claimed in Claim 7 or 8, wherein the error detecting code is a cyclic redundancy code. A method as claimed in Claim 9, wherein the confirming step is performed by executing a CRC4 protocol. A method as claimed in any of claims 7 to 10, wherein the method is performed on a PCM system. A method as claimed in Claim 11, wherein the method is performed on a DSS2 system.

Inventors: BORLAND ANDREW KEITH, CHOPPING GEOFFREY, CULLEY ERNEST, SKINNER IAN JOHN, BORLAND, ANDREW KEITH, CHOPPING, GEOFFREY, CULLEY, ERNEST, SKINNER, IAN JOHN
Applicants: PLESSEY TELECOMM, GPT LIMITED
Application year: 1992
Main classification: H04J3
IPC codes: H04J3, H04L29, H04L7