1. Field of the Invention
Embodiments of the present disclosure relate to line terminals and, more particularly, to a line terminal and method for determining operational status of a U interface.
2. Description of Related Art
A user terminal is usually connected between an exchange terminal and a digital service unit through a line terminal in an integrated service digital network (ISDN). The user terminal and the digital service unit may be both disposed in a room, and communicate with each other via a U interface.
A working status of the user terminal depends on a communication status between the digital service unit and the line terminal, and a communication status between the digital service unit and the line terminal depends on a working status of the U interface connected between the line terminal and the exchange terminal. Thus, the working status of the U interface determines the working status of the user terminal. Generally, many factors, such as a synchronous time between the line terminal and the digital service unit, a loop polarity of the U interface, and an abnormality of the digital service unit, may affect the working status of the U interface. Therefore, it is very important to determine if the U interface works normally or abnormally in order to maintain operation of the ISDN.
A line terminal for determining operational status of a U interface connecting a line terminal to a digital service unit including: a time presetting module configured for presetting a plurality of time cycles for the line terminal; a current detecting module configured for detecting a loop current flowing via the U interface; a cycle selecting module configured for selecting a first time cycle from the plurality of time cycles upon the condition that the loop current is detected by the current detecting module; a timer configured for time tracking in a first time cycle selected from the plurality of time cycles by the cycle selecting module, wherein the current detecting module is further configured for determining if the loop current is continuously detected flowing via the U interface before the timer times out in the first time cycle; a synchronization determining module configured for determining if the line terminal has been synchronized with the digital service unit upon the condition that the loop current has been continuously detected flowing via the U interface and before the timer times out in the first time cycle; and a timing determining module configured for determining if all time cycles from the plurality of time cycles have been selected by the cycle selecting module upon the condition that the line terminal has not been synchronized with the digital service unit before the timer times out in the first time cycle, and further configured for selecting a second time cycle from a remainder of the plurality of time cycles if not all the time cycles from the plurality of time cycles have been selected by the cycle selecting module, wherein the operational status of U interface is determined to be working normally upon the condition that the line terminal has been synchronized with the digital service unit before the timer times out.
Other advantages and novel features of the present invention will be drawn from the following detailed description, in which:
As used herein, the term “U interface” defines an interface used to connect a pair of wires from the telephone company to network terminator 1 (NT1).
The line terminal 11 includes a time presetting module 1010, a current detecting module 1020, a cycle selecting module 1030, a timer 1040, a synchronization determining module 1050, and a timing determining module 1080.
The time presetting module 1010 is configured for presetting a plurality of time cycles for the line terminal 11. As used herein, a time cycle may be a period of time. In one embodiment, the plurality of time cycles may increase progressively.
The current detecting module 1020 is configured for detecting a loop current flowing via the U interface. As used herein, loop current is an amount of electrical energy flowing via the U interface. The line terminal 11 is ready to work if the loop current is detected flowing via the U interface. In one embodiment, the current detecting module 1020 may periodically detect if a loop current is flowing via the U interface so as to determine if the line terminal 11 is ready to work. If a loop current is detected by the current detecting module 1020, then the current detecting module 1020 may cease to detect a loop current flowing via the U interface in one embodiment. In another embodiment, the current detecting module 1020 may await a message from an outer circuit indicating an existence of a loop current.
The cycle selecting module 1030 is configured for selecting one time cycle from the plurality of time cycles when the loop current is detected by the current detecting module 1020.
The timer 1040 is configured for time tracking after one time cycle has been selected by the cycle selecting module 1030. In one embodiment, the timer 1040 may start timing during a selected time cycle. The timer 1040 may time out after a period of time has passed according to the selected time cycle.
The current detecting module 1020 is further configured for determining if the loop current flowing via the U interface is continuously detected before the timer 1040 times out in the selected time cycle. The current detecting module 1020 re-detects the loop current flowing via the U interface when the loop current flowing via the U interface is not continuously detected before the timer 1040 times out.
The synchronization determining module 1050 is configured for determining if the line terminal 11 has been synchronized with the digital service unit 10 if the loop current flowing via the U interface is continuously detected before the timer 1040 times out. In one embodiment, synchronization between the line terminal 11 and the digital service unit 10 includes frames synchronization between the line terminal 11 and the digital service unit 10. In one embodiment, the synchronization determining module 1050 may periodically detect the synchronization until the line terminal 11 has been synchronized with the digital service unit 10. In another embodiment, the synchronization determining module 1050 may await a message from an outer circuit indicating the synchronization between the line terminal 11 and the digital service unit 10.
The timing determining module 1080 is configured for determining if all the time cycles have been selected when the line terminal 11 has not been synchronized with the digital service unit 10 before the timer 1040 times out.
The timing determining module 1080 is further configured for selecting another time cycle from the remainder of the plurality of time cycles when the timing determining module 1080 determines that not all the time cycles have been selected.
In one embodiment, the U interface is determined to be working normally if the synchronization determining module 1050 determines that the line terminal 11 has been synchronized with the digital service unit 10 before the timer 1040 times out.
In one embodiment, the U interface is determined to be working abnormally if all the time cycles have been selected before the line terminal 11 is synchronized with the digital service unit 10. In one embodiment, the U interface may be determined to be working abnormally if the U interface has a false loop polarity. In this embodiment, the loop polarity of the U interface may need to be reversed.
The line terminal 11 further includes a polarity reversing module 1060 configured for reversing the loop polarity of the U interface. As discussed above, the loop polarity of the U interface may need to be reversed if the synchronization determining module 1050 determines that the line terminal 11 has not been synchronized with the digital service unit 10 before the timer 1040 times out.
The timing determining module 1080 is further configured for determining if all the time cycles have been selected after the polarity reversing module 1060 reverses the loop polarity of the U interface. In one embodiment, the number of time cycles is the maximum allowable number of reversals of the U interface. The digital service unit 10 may cause the U interface to work abnormally if the loop polarity of the U interface has been reversed and the line terminal 11 has still not been synchronized with the digital service unit 10. Therefore, the line terminal 11 shows that the digital service unit 10 may need to be maintained.
The line terminal 11 further includes a reversal determining module 1070 configured for determining if the loop polarity has been reversed for a first time in the currently selected time cycle after the polarity reversing module 1060 reverses the loop polarity of the U interface.
The timing determining module 1080 is further configured for determining if all the time cycles have been selected if the reversal determining module 1070 determines that the loop polarity has been reversed not at first time in the currently selected time cycle. The timer 1040 is further configured for restarting the time tracking during the currently selected time cycle when the reversal determining module 1070 determines that the loop polarity has been reversed at first time in the currently selected time cycle. In one embodiment, the number of time cycles is two times the maximum allowable number of reversals of the U interface.
In block S200, the time presetting module 1010 presets a plurality of time cycles for the line terminal 11. As used herein, a time cycle may be a period of time. In one embodiment, the plurality of time cycles may increase progressively. It may be understood that block S200 is not required to be executed every time the line terminal 11 starts working. The time cycles can be preset when the line terminal 11 is manufactured or when the line terminal 11 is configured for the first time.
In block S202, the current detecting module 1020 detects a loop current flowing via the U interface. The line terminal 11 is ready to work when the loop current is detected flowing via the U interface.
In block S204, the cycle selecting module 1030 selects a time cycle from the plurality of time cycles if the loop current is detected by the current detecting module 1020.
In block S206, the timer 1040 starts to track time after the time cycle has been selected by the cycle selecting module 1030. In one embodiment, the timer 1040 may start timing during the selected time cycle. The timer 1040 may time out after a period of time has passed according to the selected time cycle.
In block S208, the current detecting module 1020 determines if the loop current flowing via the U interface has been continuously detected before the timer 1040 times out in the selected time cycle. If the loop current flowing via the U interface has not been continuously detected before the timer 1040 times out, then, in block S202, the current detecting module 1020 re-detects the loop current flowing via the U interface.
In block S210, the synchronization determining module 1050 determines if the line terminal 11 has been synchronized with the digital service unit 10 if the loop current flowing via the U interface is continuously detected before the timer 1040 times out. In one embodiment, synchronization between the line terminal 11 and the digital service unit 10 includes frames synchronization between the line terminal 11 and the digital service unit 10.
In block S214, the line terminal 11 determines the U interface to be working normally if the synchronization determining module 1050 determines that the line terminal 11 has been synchronized with the digital service unit 10 and before the timer 1040 times out.
In block S212, the timing determining module 1080 determines if all the time cycles have been selected when the line terminal 11 has not been synchronized with the digital service unit 10 before the timer 1040 times out.
If the timing determining module 1080 determines that not all the time cycles have been selected, then, in block S204, the timing determining module 1080 selects another time cycle from the remainder of the plurality of time cycles.
If the timing determining module 1080 determines that all the time cycles have been selected and the line terminal 11 has not been synchronized with the digital service unit 10, then, in block S216, the U interface is determined to be working abnormally. The U interface may be determined to be working abnormally by the U interface exhibiting a false loop polarity. Therefore, the loop polarity of the U interface may need to be reversed.
In block S300, the time presetting module 1010 presets a plurality of time cycles.
The operations from block S302 through block S310 may be substantially the same as those from block S202 through block S210, respectively. Therefore the detailed descriptions of block S302 through block S310 have been bypassed.
If the synchronization determining module 1050 determines that the line terminal 11 has been synchronized with the digital service unit 10 before the timer 1040 times out, then, in block S318, the U interface is determined to be operating normally.
If the synchronization determining module 1050 determines that the line terminal 11 has not been synchronized with the digital service unit 10 before the timer 1040 times out, then, in block S312, the polarity reversing module 1060 reverses the loop polarity of the U interface.
In block S314, the reversal determining module 1070 determines if the loop polarity is reversed at first time in the currently selected time cycle.
If the reversal determining module 1070 determines the loop polarity is reversed at first time in the currently selected time cycle, then, in the block S306, the timer 1040 is restarted for time tracking during the currently selected time cycle.
If the reversal determining module 1070 determines the loop polarity is reversed not at first time in the currently selected time cycle, then, in block S316, the timing determining module 1080 determines if all the time cycles have been selected. In one embodiment, the number of time cycles is two times the maximum number of allowable reversal of the U interface.
In one embodiment of the present disclosure, block S316 can also be completed after block S312. That is, the timing determining module 1080 determines if all the time cycles have been selected after the polarity reversing module 1060 reverses the loop polarity of the U interface. In one embodiment, the number of time cycles is the maximum allowable number of reversals of the U interface.
If the timing determining module 1080 determines not all the time cycles have been selected, then, in block S304, the timing determining module 1080 selects another time cycle from the remainder of the plurality of time cycles.
If the timing determining module 1080 determines all the time cycles have been selected, then, in block S320, the U interface is determined to be working abnormally. In the embodiment, the digital service unit 10 may cause the U interface to be working abnormally if the loop polarity of the U interface has been reversed and the line terminal 11 has still not been synchronized with the digital service unit 10. Therefore, the line terminal 11 shows that the digital service unit 10 may need to be maintained.
The line terminal 11 determines if a U interface connecting the line terminal 11 to the digital service unit 10 works normally by presetting a plurality of time cycles. In addition, the line terminal 11 waits for synchronization between the line terminal 11 and the digital service unit 10 during every time cycle of the plurality of time cycles circularly. Furthermore, the line terminal 11 reverses the loop polarity of the U interface when the loop polarity is wrong. Therefore, the line terminal 11 of the present disclosure can settle the problem of non-synchronization between the line terminal 11 and the digital service unit 10 and prevent the U interface from working abnormally.
Although the features and elements of the present disclosure are described as embodiments in particular combinations, each feature or element can be used alone or in other various combinations within the principles of the present disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
2007 1 0201504 | Aug 2007 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5099497 | Ohno et al. | Mar 1992 | A |
5101401 | Suzuki et al. | Mar 1992 | A |
5577115 | Deutsch et al. | Nov 1996 | A |
5636202 | Garney | Jun 1997 | A |
6181748 | Lin et al. | Jan 2001 | B1 |
6301340 | Sansom et al. | Oct 2001 | B1 |
6320940 | Oi | Nov 2001 | B1 |
20040004976 | Zhang et al. | Jan 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20090059963 A1 | Mar 2009 | US |