The access node 10 includes a V5 interface 100, a first timer 102, a second timer 104, a first detection module 106, a second detection module 108, a third detection module 110, an information processing module 112, and a restarting module 114.
The V5 interface 100 starts the V5 connection attempt between the access node 10 and the local exchange 20.
The first timer 102 times according to a first timing period if the V5 connection attempt is made, and includes a first timing-detection sub-module 1021 for detecting whether the first timer 102 times out. In this embodiment, the first timing period is 190 seconds.
The second timer 104 times according to a second timing period, and includes a second timing-detection sub-module 1041 for detecting whether the second timer 104 times out. In this embodiment, the second timing period is 30 seconds.
The first detection module 106 detects whether the access node 10 receives variant and interface ID (VID) information if the first timer 102 is started.
The first detection module 106 further detects whether the V5 connection attempt between the access node 10 and the local exchange 20 is successful within the first timing period or the second timing period. In this embodiment, the first detection module 106 detects whether the V5 connection attempt between the access node 10 and the local exchange 20 is successful by checking whether the access node 10 receives unblock-all-ports-complete information.
The second detection module 108 detects whether the connection between the access node 10 and the local exchange 20 is normal if the first timer 102 or the second timer 104 times out.
The third detection module 110 detects whether the access node 10 transmits unblock-all-ports (UBA) information to the local exchange 20 if the connection between the access node 10 and the local exchange 20 is normal.
The information processing module 112 transmits information according to a detection result of the third detection module 110. In this embodiment, if the third detection module 110 detects the access node 10 does not transmit the UBA information to the local exchange 20, the information processing module 112 generates the UBA information, and transmits the UBA information to the local exchange 20. If the third detection module 110 detects the access node 10 transmits the UBA information to the local exchange 20, the information processing module 112 generates restart request information, and transmits the restart request information to the local exchange 20.
The restarting module 114 restarts the first timer 102 or the second timer 104. In this embodiment, if an event of detecting the connection between the access node 10 and the local exchange 20 is normal is triggered by the first timer 102, the restarting module 114 restarts the first timer. Otherwise, the restarting module 114 restarts the second timer 104.
In step S300, the V5 interface 100 starts a connection attempt between the access node 10 and the local exchange 20.
In step S302, the first timer 102 times according to a first timing period. In this embodiment, the first timing period is 190 seconds.
In step S304, the first detection module 106 detects whether the access node 10 receives variant and interface ID (VID) information. If the access node 10 does not receive the VID information, the process proceeds to step S306, otherwise the process proceeds to node A.
In step S306, the first timing-detection sub-module 1021 detects whether the first timer 102 times out. If the first timer 102 has not timed out, the process proceeds to step S308, otherwise the process proceeds to step S312.
In step S308, the first detection module 106 detects whether the V5 connection between the access node 10 and the local exchange 20 is successful. In this embodiment, the first detection module 106 detects whether the V5 connection between the access node 10 and the local exchange 20 is successful by checking whether the access node 10 receives unblock-all-ports-complete information.
If the V5 connection between the access node 10 and the local exchange 20 is successful, the process proceeds to step S310, otherwise the process returns to step S306.
In step S310, the first timer 102 stops timing.
In step S312, the second detection module 108 detects whether the connection between the access node 10 and the local exchange 20 is normal. If the connection between the access node 10 and the local exchange 20 is normal, the process proceeds to step S314, otherwise the process returns to step S302.
In step S314, the third detection module 110 detects whether the access node 10 transmits unblock-all-ports (UBA) information to the local exchange 20. If the access node 10 transmits the UBA information to the local exchange 20, the process proceeds to step S316, otherwise the process proceeds to step S318.
In step S316, the information processing module 112 generates restart request information, and transmits the restart request information to the local exchange 20.
In step S318, the information processing module 112 transmits the UBA information to the local exchange 20.
In step S400, the first timer 102 stops timing.
In step S402, the second timer 104 begins timing according to a second timing period. In this embodiment, the second timing period is 30 seconds.
In step S404, the second timing-detection sub-module 1041 detects whether the second timer 104 times out. If the second timer 104 has not timed out, the process proceeds to step S406, otherwise the process proceeds to step S410.
In step S406, the first detection module 106 detects whether the V5 connection between the access node 10 and the local exchange 20 is successful. In this embodiment, the first detection module 106 detects whether the V5 connection between the access node 10 and the local exchange 20 is successful by checking whether the access node 10 receives unblock-all-ports-complete information.
If the V5 connection between the access node 10 and the local exchange 20 is successful, the process proceeds to step S408, otherwise the process returns to step S404.
In step S408, the second timer 104 stops timing.
In step S410, the second detection module 108 detects whether the connection between the access node 10 and the local exchange 20 is normal. If the connection between the access node 10 and the local exchange 20 is normal, the process proceeds to step S412, otherwise the process returns to step S404.
In step S412, the third detection module 110 detects whether the access node 10 transmits unblock-all-ports (UBA) information to the local exchange 20. If the access node 10 transmits the UBA information to the local exchange 20, the process proceeds to step S414, otherwise the process proceeds to step S416.
In step S414, the information processing module 112 generates restart request information, and transmits the restart request information to the local exchange 20.
In step S416, the information processing module 112 transmits the UBA information to the local exchange 20.
While embodiments and methods of the present invention have been described above, it should be understood that they have been presented by way of example only and not by way of limitation. Thus the breadth and scope of the present invention should not be limited by the above-described exemplary embodiments, but should be defined only of the following claims and their equivalents.
| Number | Date | Country | Kind |
|---|---|---|---|
| 95115299 | Apr 2006 | TW | national |