The main interface system 22 includes a main transceiving module 220, a main counting module 222, and a main starting module 224.
The main transceiving module 220 receives an instruction from the LE 30, and transmits time information in the main interface system 22 to the backup interface system 24. In this embodiment, the instruction includes a ringing tone instruction and a polarity inversion instruction. The LE 30 may utilize the ringing tone instruction to establish a connection between a calling party and the client 10, and the polarity inversion instruction to measure connection time between the calling party and the client 10.
The main counting module 222 counts time from receiving the instruction from the LE 30 to transmitting an acknowledgement message thereto. In this embodiment, the counted time is no more than 5 seconds.
The main starting module 224 starts the main counting module 222 as the main transceiving module 220 receives the instruction from the LE 30.
The backup interface system 24 includes a backup transceiving module 240, a backup counting module 242 and a backup starting module 244.
The backup transceiving module 240 determining whether a replacement message is received from the management system 26, and transmits the acknowledgement message to the LE 30 if the replacement message is received.
The backup counting module 242 counts time from receiving the instruction from the LE 30 to transmitting the acknowledgement message thereto.
The backup starting module 244 starts the backup counting module 242 according to counted time.
The management module 26 replaces a failed main interface system 22 with the backup interface system 24, and transmits the replacement message to the backup interface system 24.
In this embodiment, when the main interface system 22 operates normally, the backup interface system 24 does not operate. If the management system 26 detects that the main interface system 22 has failed, the management system 26 replaces the failed main interface system 22 with the backup interface system 24, and the backup interface system 24 starts operating.
In step S300, the network device 20 operates in a standby status.
In step S302, the main transceiving module 220 receives an instruction from the LE 30. In this embodiment, the instruction includes a ringing tone instruction and a polarity inversion instruction. The LE 30 may utilize the ringing tone instruction to establish a connection between a calling party and the client 10, and the polarity inversion instruction to measure the connection time between the calling party and the client 10.
In step S304, the main starting module 224 starts the main counting module 222.
In step S306, the main transceiving module 220 transmits time information in the main counting module 222 to the backup starting module 244.
In step S308, the backup starting module 244 starts the backup counting module 242 according to the time information.
In step S310, the backup counting module 242 determines whether the backup counting module 242 has timed out, if the backup counting module 242 has timed out, the process proceeds to step S312, otherwise the process returns to step S308.
In step S312, the backup transceiving module 240 determines whether a replacement message is received from the management system 26. If the replacement message is received from the management system 26, the process proceeds to step S314, otherwise the process proceeds to step S316.
In step S314, the backup transceiving module 240 transmits an acknowledgement message to the LE 30.
In step S316, the main transceiving module 220 transmits the acknowledgement message to the LE 30.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the invention or sacrificing all of its material advantages, the examples hereinbefore described merely being preferred or exemplary embodiments.
Number | Date | Country | Kind |
---|---|---|---|
95115997 | May 2006 | TW | national |