1. Field of the Invention
The invention relates to an optical line terminal and operation of optical network.
2. Description of the Related Art
In actual applications, it is liable to cause functional interruption of data transmission of the optical fiber network when a single optical fiber thereof is damaged, kinked (bent) or other failure factors. In view of this, an optical fiber line is configured with at least two optical fibers, in which one optical fiber is served as a main channel 41 and the other optical fiber is served as an alternate channel 42. Once the function of the main channel 41 is failed, the alternate channel 42 is switched to serve as the light beam transmission path. Specifically speaking, an average light power in an allocated time slot is calculated by the optical line terminal 10. The main channel 41 is judged as in an invalid state when the average light power in the allocated time slot is less than a threshold value (e.g., −30 dBm), and the alternate channel is therefore switched to serve as the light beam transmission path, thereby keeping signal transmission to be normally operated.
In order to solve the issues above, the invention provides an optical line terminal The optical line terminal includes a light-receiving unit and a signal processing unit. The light-receiving unit is utilized to receive a light signal via a first channel and to convert the light signal into a current signal. The signal processing unit is utilized to process the current signal to obtain a sampling signal, in which the signal processing unit outputs a switching signal for switching the first channel to a second channel for the light-receiving unit to receive the light signal when all sampling values in the sampling signal are less than a threshold value.
In one aspect of the invention, the signal processing unit outputs a confirming signal to enable the light-receiving unit to continue to receive the light signal via the first channel when any sampling value in the sampling signal is greater than the threshold value.
In one aspect of the invention, the signal processing unit includes a current-voltage converter, a signal amplifier, an analog-to-digital converter, and a judgment and calculation module, in which the current-voltage converter is utilized to convert the current signal into a voltage signal, the signal amplifier is utilized to amplify the voltage signal into an amplified signal, the analog-to-digital converter is utilized to convert the amplified signal into a digital signal that is sampled for obtaining the sampling signal, and the judgment and calculation module is utilized to judge the sampling signal so as to output the confirming signal or the switching signal.
In one aspect of the invention, the light-receiving unit includes a filter and an optical detector, in which the filter is utilized to filter the light signal to obtain a processed light signal, and the optical detector is utilized to convert the processed light signal into the current signal.
The invention also provides operation of optical network. The operation of optical network includes the steps of uploading a light signal of an optical network unit to an optical line terminal via a first channel; processing the light signal by wave filtering, conversion, amplification and sampling so as to obtain a sampling signal; and switching the first channel to a second channel for uploading the light signal to the optical line terminal when all sampling values in the sampling signal are less than a threshold value.
In one aspect of the invention, the operation of optical network further includes a step of continuing to transmit the light signal via the first channel when any sampling value in the sampling signal is greater than the threshold value.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The light-receiving unit 51 comprises an optical detector 511 and a filter 513. The filter 513 is utilized to filter an unwanted part of the light signal to limitedly allow pass of a light beam with particular wavelength, thereby obtaining a processed light signal S2. Referring also to
The signal processing unit 53 comprises a current-voltage converter 531, a signal amplifier 533, an analog-to-digital converter 535, and a judgment and calculation module 537. The current-voltage converter 531 is utilized to convert the current signal S3 into a voltage signal S4 (shown in
A further description is provided as follow. In a burst mode of very few clients using the optical fiber network, in view of a very low period of time capable of presenting the light signal as compared to an allocated time slot thereof, an incorrect judgment of the signal processing unit 53 is possibly occurred when adopting a value that is usually very low in the calculation of average light power and less than a threshold value. The invention assumes a sampling signal as a judgment basis rather than the calculation of average light power. As long as there have data to be uploaded by the client, the obtained sampling signal does contain a sampling value greater than the threshold value, so that the first channel 81 is normally operated, without an event such as incorrectly to switch to the second channel 82 as the light beam transmission path. If a normal light signal transmission is truly influenced by the damaged first channel 81, there has no exception in the invention that all sampling values in the sampling signal are less than the threshold value, and therefore the first channel 81 can be surely judged as in an invalid state.
It is possible to combine these disclosed components in the above-described embodiments, such as to integrate the current-voltage converter 531 and the signal amplifier 533 into the same chip, to integrate the analog-to-digital converter 535 and the judgment and calculation module 537 into the same chip, or to divide one or more from the units into individual units so as to perform the same function.
In a step S61, a light signal of an optical network unit is uploaded to an optical line terminal 50 via a first channel.
In a step S62, the light signal is treated by processes of wave filtering, conversion, amplification and sampling so as to obtain a sampling signal.
In a step S63, judging whether any sampling value in the sampling signal is greater than a threshold value or not is provided. The first channel is judged as in a valid state if there has one sampling value in the sampling signal is greater than the threshold value, and then the procedure is returned to the step S61 to continue using the first channel to transmit data. The first channel is judged as in an invalid state if all sampling values in the sampling signal are less than the threshold value, and then a next step S65 is proceeded.
Because the judged first channel in the invalid state is incapable of transmitting data normally, in the step S65 the second channel is switched to serve as the light beam transmission path for transmitting data, allowing the worker to check and maintain the first channel.
In a step S66, the light signal transmitted from the second channel is treated by processes of wave filtering, conversion, amplification and sampling so as to obtain a sampling signal.
In a step S67, judging whether any sampling value in the sampling signal is greater than a threshold value or not is provided. The second channel is judged as in a valid state if there has one sampling value in the sampling signal is greater than the threshold value, and then the procedure is returned to the step S65 to continue using the second channel to transmit data. The second channel is judged as in an invalid state if all sampling values in the sampling signal are less than the threshold value, and then the procedure is returned to the step S61. As mentioned above, the second channel is switched to serve as the light beam transmission path for transmitting data when the first channel is judged as in the invalid state, and then the worker is sent to maintain the first channel. Therefore, if the second channel is in the invalid state after a period of time, the maintained first channel can be switched to serve as the light beam transmission path for transmitting data.
In conclusion, the invention can utilize comparison of the sampling signal and the threshold value to correctly judge whether the first channel or the second channel in use is normally operated or not. If either the first channel or the second channel is abnormally operated, the problem channel is immediately replaced by a normal channel, thereby ensuring data to be normally transmitted.
While this invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
101123951 | Jul 2012 | TW | national |