Background of the Invention
1. Field of the Invention
The present invention relates to an apparatus for detecting and locating faults in a two-way communication system using a single optical path according to SDH (Synchronous Digital Hierarchy) or PDH (Plesiochronous Digital Hierarchy) or others.
2. Field of the Invention
As society has grown to become more information-oriented, it has been increasingly required that communication lines have high reliability. For this reason, communication systems are desired to be essentially free from faults, but once a fault occurs it is necessary to detect the occurrence of the fault and to specify the location of the fault as soon as possible to remove the cause of the fault and restore the system.
In a two-way communication system using a single optical fiber, if a fault occurs in the optical fiber, an optical signal sent from a station is reflected at the fault position of the optical fiber and returns to the station that is waiting for an optical signal sent from a station of another party. If the station cannot distinguish the reflected signals from the signal sent from the other party, occurrence of the fault cannot be immediately detected.
In order to immediately detect the occurrence of a fault in a two-way communication system using a single optical fiber, conventionally, signals in one direction of the two-way communication are inverted in a sending side and received signals in that direction are inverted also in a receiving side. Signals are not inverted in the other direction of the two-way communication. In this construction, if a transmission signal is reflected at a fault point, a station waiting for inverted signals receives non-inverted signals and a station waiting for non-inverted signals receives inverted signals and therefore the frame synchronization is lost. Occurrence of the fault can be immediately detected by detecting the loss of frame synchronization.
In this construction, however, a loopback test for locating a fault cannot be executed, because frame synchronization is not established even when normal signals have returned back to receiving side.
Summary of the Invention
It is an object of the present invention to provide an apparatus for detecting and locating faults occurring in a two-way communication system using a single optical path.
In accordance with the present invention, there is provided an apparatus for detecting and locating a fault having occurred in a two-way communication between stations using a single optical path in a normal operation, comprising means for sending from a station an optical signal discriminated from another optical signal sent from another station, means for switching the normal operation to a loopback test operation wherein the optical signal is returned back to the station that sent the optical signal, and means, operating together with the switching means, for accepting only the optical signal sent from the station of the other party in the normal operation, and for accepting only the optical signal sent from the station itself in the loopback test operation.
Brief Explanation of the Drawings
FIG. 1 is a block diagram showing a construction of a two-way communication system according to an embodiment of the present invention;
FIG. 2 is a flow chart showing a fault location procedure in the system of FIG. 1; and
FIG. 3 is a block diagram showing a construction of one of the stations in a two-way communication system according to another embodiment of the present invention.
Description of the Preferred Embodiments
FIG. 1 is a block diagram showing a construction of a two-way communication system according to an embodiment of the present invention.
In FIG. 1, stations 10 and 12 connected to each other through a single optical fiber 14 are shown. Either of the stations 10 and 12 includes a multiplexer 16 for multiplexing a plurality of digital signals into a high speed digital signal, a demultiplexer 18 for performing a reverse operation of the multiplexer 16, i.e., for demultiplexing the high speed digital signal into individual digital signals, an optical sending unit 20 for converting an electrical signal into an optical signal to be transmitted through the optical fiber 14, an optical receiving unit 22 for converting the optical signal into the electrical signal, and an optical coupler 24 for injecting the optical signal to be transmitted into the optical fiber 14 and for separating the received optical signal from the optical fiber 14.
In the station 10, a logic inverter 26 is provided between the multiplexer 16 and the optical sending unit 20 and a logic inverter 28 is provided between the optical receiving unit 22 and the demultiplexer 18. A switch 30 is provided to bypass the logic inverter 28. In the station 12, a logic inverter 32 is provided between the optical receiving unit 22 and the demultiplexer 18 and a switch 34 is provided to bypass the logic inverter 32. Optical switches 36 and 38 are provided for executing a loopback test in the stations 10 and 12, respectively.
In a normal operation, switches 30, 34, 36 and 38 are set as shown in FIG. 1. In this situation, the signal transmitted from the station 10 to the station 12 is inverted in the inverter 26 and is restored in the inverter 32, and the signal transmitted from the station 12 to the station 10 is not inverted. In a loopback test, the optical switches 36 and 38 are opened. The switch 30 operating together with the optical switch 36 is switched so that the inverter 28 is inserted between the optical receiving unit 22 and the demultiplexer 18. The switch 34 operating together with the optical switch 38 is switched so that the inverter 32 is bypassed. Thus, the loopback test that cannot be executed in the conventional system is realized in both the stations 10 and 12.
FIG. 2 is a flowchart showing a procedure of fault location in the embodiment of FIG. 1. The loopback test is executed separately in the stations 10 and 12 by remote-control through a control line from a network management device (not shown). When signal interruption occurs in the normal connection shown in FIG. 1, the Loopback test is executed in the station 10, in step 100, by opening the switch 36 and inserting the inverter 28. In step 102, if the optical signal output from the station itself is not normally received, it is decided that the station 10 is experiencing a fault. If the signal is normally received, the loopback test is executed in the station 12 in step 104. In step 106, if the signal output from the station itself is not normally received, it is decided that the station 12 is experiencing a fault. If the signal is normally received, it is decided that the optical path 14 is experiencing a fault.
FIG. 3 is a block diagram showing another embodiment of the present invention. In FIG. 3, only a station 40 is shown. A station of another party has the same construction. The same reference numerals as used in FIG. 1 are used in FIG. 3 for constituents that are similar to those in FIG. 1, and thus descriptions thereof are left out. The station 40 further includes an overhead byte generating circuit 42 for generating overhead information including information for identifying stations, an overhead byte detecting circuit 44 for extracting overhead information from received signals, an expected value generation circuit 46 for generating a signal identical to information for identifying the station of the other party, an expected value generation circuit 48 for generating a signal identical to information for identifying the station itself, a comparator 50 for comparing received information for identifying stations with an output of the expected value generation circuit 46 or 48, and a switch 52 operating together with the optical switch 36.
In normal operation, the optical switch is closed and the switch 52 is set so as to select the output of the expected value generation circuit 46. In this situation, signals sent from the station of the other party are fed to the demultiplexer 18 and station identifying information is extracted therefrom. In the comparator 50, the extracted information is compared with the output of the expected value generation circuit 46 that outputs a signal identical to the station identifying information of the other party. Therefore, if the signal sent from the station of the other party is abnormal, the comparator 50 outputs an alarm indicating a discrepancy.
In the loopback test, the optical switch 36 is opened. The optical signal output from the optical sending unit 20 is reflected in the optical switch 36 and is fed to the demultiplexer 18. The switch 52 operating together with the optical switch 36 selects the output of the expected value generating circuit 48 that outputs the signal identical to the station identifying information of the station itself. If a discrepancy is detected in the comparator 50, the comparator 50 outputs an alarm. According to the fault location procedure as described with reference to FIG. 2, the fault location is easily realized in the system of FIG. 3.