This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2008-298544, filed Nov. 21, 2008, the entire contents of which are incorporated herein by reference.
1. Field
One embodiment of the invention relates to a telephone system which implements speech communications via, for example, an Internet Protocol (IP) network and, more particularly, to a telephone system of this type and a gateway which converts protocols between different networks including an IP network.
2. Description of the Related Art
Systems which realize speech communication via a packet-switched network are known. Of these systems, Voice over IP (VoIP), which uses an Internet Protocol (IP) network, has been put into practical use. In spite of this, a public switched telephone network (PSTN) including the public network, private networks, and the like is still mainstream, and both systems currently coexist.
Hence, a gateway is arranged in an interface between the IP network and PSTN to mask their protocol differences. A system in which a plurality of gateways are parallelly operated to increase the accommodation channel capacity and to improve fault tolerance by means of redundancy is also known (for example, see Jpn. Pat. Appln. KOKAI Publication No. 2007-181079).
In a system of such mode, each of the plurality of gateways has a protocol conversion function between the IP network and PSTN, but an arbitrary one gateway normally relays control signals (signaling information) between the IP network and PSTN. Speech data associated with the plurality of gateways are controlled by exchanging signaling information via this one gateway.
A system of this type includes a host apparatus (to be referred to as a communication server hereinafter) having a higher rank than the gateway, and it is a common practice to execute redundancy switching processing at the initiative of the communication server upon occurrence of faults. In Jpn. Pat. Appln. KOKAI Publication No. 2007-181079, a communication route control apparatus has that function. That is, when a gateway which has caused any fault notifies the communication server of that fault, the communication server mainly executes recovery processing including switching of gateways.
In the existing technique, the communication server mainly executes redundancy switching between gateways. For this reason, an unexpected processing load is imposed on the communication server upon occurrence of faults of the gateway, and may disturb processing of other tasks. Hence, some measures are demanded.
A general architecture that implements the various features of the invention will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate embodiments of the invention and not to limit the scope of the invention.
Various embodiments according to the invention will be described hereinafter with reference to the accompanying drawings. In general, according to one embodiment of the invention, there is provided a telephone system includes a plurality of gateways used to convert each other's protocols of a first network of a packet-switched type and a second network of a circuit-switched type. One of the gateways selectively serves as a main gateway, and the other gateways serve as slave gateways which are controlled by the main gateway. Each of the plurality of gateways including a control channel management module, an operation controller and a determination module. The control channel management module controls, when the gateway is the main gateway, speech data individually sent and received by the plurality of gateways, based on a control signal of a control channel of the second network. The operation controller controls redundancy switching between the gateways upon occurrence of a fault. The determination module determines whether or not the fault is a fault associated with the control channel. When the fault is a fault associated with the control channel, the determination module notifies the slave gateway of an invocation instruction message used to activate the control channel management module of any of the slave gateways via the first network.
By taking such means, at the time of occurrence of a fault associated with a control channel, a main gateway which detected this fault outputs an invocation instruction message, used to activate a control channel management module, to (all or a selected one of) other slave gateways. Upon reception of this instruction, each slave gateway immediately activates the control channel management module to execute redundancy switching between gateways in cooperation with an operation controller. Such operations can be attained since the respective gateways are connected not only to a circuit-switched network (second network) but also to a packet-switched network (first network). The invention focuses attention on this point, and implements message exchange between gateways via the first network. Therefore, upon execution of redundancy switching associated with at least a control-channel-related fault, no intervention of a communication server is required, thus reducing the load on the communication server.
According to the invention, a telephone system and a gateway for the telephone system, and a redundancy switching method, which can reduce the load on the communication server upon occurrence of a fault, can be provided.
In the system of
The PSTN interface 31 takes charge of an interface function with respect to the PSTN 200. That is, the PSTN interface 31 exchanges control signals (signaling information) with the PSTN 200. Also, the PSTN interface 31 is an interface which forms a link with a communication partner in the PSTN 200 by a circuit switching method, and implements speech communications on this link.
The IP network interface 32 takes charge of an interface function with respect to the IP network 100. That is, the IP network interface 32 is an interface which exchanges control signals and speech streams using IP packets with the IP network 100.
The control channel management module 33 controls exchange of control signals between the gateway and the PSTN 200. Especially, in this embodiment, the control channel management module 33 has a function of exchanging an instruction message with another gateway via the IP network 100. This instruction message is used to control processing of signaling information in the other gateway.
Note that in the gateway (slave gateway) which operates in response to processing of control signals by another gateway, the control channel management module 33 is in a standby state, i.e., is inactive. The control channel management module 33 in the standby state is activated upon reception of an instruction message from another gateway, and immediately starts a recovery operation from a fault.
The call control unit 34 executes all processes associated with calls the origination of which it is associated with. That is, the call control unit 34 controls, with respect to a call, to exchange messages with the IP network 100, to decide messages to be exchanged with the PSTN 200, to manage a call state, to output a tone, and to decide a speech connection timing.
The operation controller 35 executes all processes associated with fault detection processing and recovery processing from a fault. Especially, in this embodiment, the operation controller 35 includes a determination module 35a as its processing function block. The determination module 35a has a function of determining a recovery method from a fault, and automatically selects and executes one of a plurality of recovery methods upon occurrence of a fault. In this embodiment, the determination module 35a has a function of notifying the control channel management module 33 of another gateway in the standby state of an invocation instruction message.
Furthermore, gateway G1 includes a management table T as a database, which is stored in a storage device such as a hard disk drive.
That is, there are a plurality of transmission channels of control signals, and a gateway to which that control signal is to be transferred is different for each transmission channel. Hence, by storing the management table T which associates the control channel numbers and transfer destinations with each other in the main gateway in advance, the main gateway can decide the transfer destination of the control signal. In
If the fault is not a control-channel-related fault (No in block B1), the determination module 35a executes normal recovery processing (e.g., reset processing) (block B4), and checks if the recovery processing has succeeded (block B5). If the recovery processing has succeeded, normal processing is restarted (block B6). However, if the recovery processing has failed, the IP network interface 32 broadcasts a gateway function switching request message to all the slave gateways (block B7). The recovery processing sequence on the slave gateway side in the same situation will be described below.
Then, this slave gateway checks whether or not a control channel management switching request message from the main gateway is received via the IP network 100 (block B12). If the message is not received (No in block B12), the slave gateway sets itself to the busy state so as not to accept any newly originated call (block B21). Furthermore, the call control unit 34 ends all calls in itself, and if all calls are ended (block 223), the slave gateway initializes the control channel management module 33 (
Then, this slave gateway notifies the communication server 300 of a transmission/reception destination change request message of control signals via the IP network 100 (block B25), and notifies the PSTN 200 of a transmission/reception destination change request message of control signals (block 226). After the sequence described so far, the gateway which was the slave gateway before occurrence of a fault begins to operate as a standalone gateway (block 627).
On the other hand, if the control channel management function switching request message is received from the main gateway via the IP network 100 in block B12 (Yes), this slave gateway sets itself in the busy state, and notifies the main gateway of a make busy request message via the IP network 100 (block B13). After that, the call control unit 34 ends all calls in itself (block 214), and if all calls are ended, the slave gateway checks whether a make busy completion notification message is received from the main gateway (block B15). If the message is not received, the slave gateway waits until the make busy completion notification message is reached from the main gateway (block B21).
if that message is received in block B15 (Yes), the slave gateway initializes the control channel management module 33 to make itself operate as a main gateway after switching (block B16). Upon completion of initialization, the slave gateway notifies the communication server 300 of a transmission/reception destination change request message of control signals via the IP network 100 (block B17), and notifies the PSTN 200 of a transmission/reception destination change request message of control signals (block B18). Furthermore, the slave gateway notifies other gateways to register itself as a main gateway via the IP network 100 (block B19). Upon completion of the aforementioned sequence, this slave gateway begins to operate as a main gateway (block B19).
As described above, according to this embodiment, when a fault has occurred in the main gateway which exchanges control signals with the PSTN 200, the main gateway which detected this fault determines a cause of the fault. If the cause arises from a control channel, messages are exchanged between the main gateway and slave gateway via the IF network 100, thus attaining redundancy switching for switching the slave gateway to the main gateway.
In this way, in case of a fault which arises from a control channel, the gateways communicate by themselves with each other to switch a gateway which exchanges control signals with the PSTN 200 side. In this way, the recovery processing can be executed without imposing any load on the communication server 300. Therefore, the load on the communication server 300 upon occurrence of a fault can be reduced, thus preventing a performance drop of the communication server 300.
The various modules of the systems described herein can be implemented as software applications, hardware and/or software modules, or components on one or more computers, such as servers. While the various modules are illustrated separately, they may share some or all of the same underlying logic or code.
While certain embodiments of the inventions have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fail within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2008-298544 | Nov 2008 | JP | national |