This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2004-360129 filed on Dec. 13, 2004, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a telephone system used in a business telephone system, etc., and a switching system, a terminal device provided in the telephone system and a management method of a telephone system. Particularly, the invention relates to a system for performing voice communication between terminals by using an IP (Internet Protocol).
2. Description of the Related Art
JP 2002-271399 A discloses a system for performing voice information communication through a best effort type communication network such as the Internet. This type system is also referred to as an IP telephone system or a VoIP (Voice over IP). This technique is also applied to a local communication network such as a private-line telephone network. Hereinafter, each telephone terminal in this type system will be particularly referred to as “IP telephone terminal” and a system formed in a local area will be referred to as “private-line IP telephone system”.
The private-line IP telephone system includes a plurality of IP telephone terminals, and an exchange for accommodating the IP telephone terminals through a communication network such as an LAN (Local Area Network) The exchange includes interfaces (boards) for accommodating the IP telephone terminals. Generally, a plurality of interfaces are used. This is because the number of terminals allowed to be accommodated in each interface is limited. In order to accommodate each terminal in any of the plurality of interfaces, it is therefore necessary to determine association therebetween, that is, determine an interface for accommodating each IP telephone terminal. The following two methods are used for the determination.
The first method is a method of registering destination interface information (such as IP address, etc.) in each IP telephone terminal in advance. When the registration is completed, the accommodation interface information (such as interface number, etc.) of each IP telephone terminal in a database of the exchange is updated automatically. The second method is a method of registering accommodation interface information of each IP telephone terminal in a database of the exchange in advance. A connection request from each IP telephone terminal involved in the registration is sent by means of broadcasting or multicasting. When the registration is completed, the destination interface information in the IP telephone terminal is updated automatically. Either of these methods requires a user's manual operation.
As described above, a destination for accommodating each IP telephone terminal is set fixedly in advance before use. If the interface configuration (intra-apparatus configuration) in the exchange such as extension of a board needs to be changed, it is necessary to change the interfaces for accommodating the registered IP telephone terminals. In this case, the interface for accommodating each terminal can be changed intentionally in such a manner that each IP telephone terminal changes the destination interface and updates the database in the exchange in this process, the exchange first issues an instruction to the IP telephone terminal to change the destination interface. In accordance with the instruction, the IP telephone terminal performs a process of re-connection to the designated interface. Thus, this processing is completed.
In the aforementioned method, however, no consideration is given to the case where failure occurs in any one of the interfaces of the exchange. Accordingly, even in such an emergency, the procedure of updating the database still has to depend on the first or second method to thereby bring lack of speediness. Because an IP telephone terminal accommodated in the failure interface cannot be used until the aforementioned procedure is completed, it cannot help but be said that there is a defect in maintainability.
The invention has been made under the aforementioned circumstance. The invention provides a telephone system in which a destination for accommodating each telephone terminal can be changed immediately even at the time of occurrence of failure in any interface so that maintainability can be improved, and also provides a switching system and a terminal device used in the telephone system.
According to one embodiment of the invention, a telephone system includes a plurality of terminal devices and a switching system. Each terminal device transmits/receives packetized voice information to/from a destination terminal device through a packet communication network. The switching system connects the plurality of terminal devices to each other. The switching system includes a plurality of communication interfaces, a detection unit, a terminal setting database, a judgment unit, a determination unit and a send-back unit. The plurality of communication interfaces accommodate the plurality of terminal devices under accommodation modes, each of which is selected for each terminal device from the group consisting of a first mode in which the communication interfaces are explicitly assigned to the plurality of terminal devices and a second mode in which the communication interfaces are unexplicitly assigned to the plurality of terminal devices. The detection unit detects whether or not failure occurs in each communication interface. The terminal setting database associates each terminal device with the accommodation mode selected for each terminal device and the communication interface accommodating each terminal device. Upon reception of a connection request message transmitted from each terminal device, the judgment unit judges the accommodation mode of each terminal device by referring to the terminal setting database. When the judgment unit judges that the accommodation mode of each terminal device is the first mode and failure occurs in a communication interface having been assigned to each terminal device, the determination unit determines another communication interface, which accommodates each terminal device, from among communication interfaces in which the detection unit detects that failure does not occur. The send-back unit sends a response message including an identifier of the communication interface determined by the determination unit to each terminal device through the packet communication network. Each terminal device includes a transmission unit. The transmission unit transmits the connection request message to the communication interface assigned to each of the terminal devices under the first mode and transmits the connection request message to at least one of the communication interfaces under the second mode. When each of the terminal devices has not received the response message to the connection request message even if the transmission unit has transmitted the connection request message predetermined number of times, the transmission unit transmits the connection request message to at least one of the communication interfaces except the communication interface assigned to the each of the terminal devices.
When such a measure is taken, each terminal device is accommodated in the switching system under the first or second mode. Either mode can be selected (set) for each terminal by a user's operation. The switching system monitors failure/non-failure of each communication interface, for example, periodically.
Each terminal device can detect occurrence of failure in a communication interface accommodating each terminal device on the basis of the fact that there is no response to a connection request message. When there is no response message sent back in spite of repetition of a transmission trial plural times, the terminal device broadcasts a connection request message, for example, to all of the communication interfaces. Upon reception of the connection request message, the switching system determines a communication interface being able to accommodate the terminal device, and then sends a response message indicating this determination back to the terminal device.
Accordingly, when failure occurs in any communication interface, the destination of the terminal device connected to the failure communication interface is changed immediately. Moreover, the accommodation communication interface can be assigned (set) explicitly in the first mode. Thus, either of the first mode for fixedly assigning the accommodation interface for the terminal device and the second mode for automatically assigning the accommodation interface can be used properly. Accordingly, there can be obtained a new advantage that maintainability at the time of unintentionally changing the accommodation interface to avoid failure of any accommodation interface is improved while maintainability at the time of intentionally changing the accommodation interface for the terminal device is kept as good as in the existing system.
According to the configuration described above, it is possible to provide a telephone system in which a communication interface accommodating each telephone terminal can be changed immediately even at the time of occurrence of failure in any interface to thereby improve maintainability, and to provide a switching system, a terminal device used in the telephone system and a management method of a telephone system.
In
The user interface 10b gives the user an interface for setting information (IP address, etc.) of the IP telephone terminal-accommodating interface (exchange 200), which is a destination of connection of the IP telephone terminal 101. The connection processing section 10c transmits a connection request to the exchange 200 at the time of initial setting or periodically. Incidentally, the IP telephone terminal 102 also has the same configuration. Incidentally, the “connection” in this embodiment is a concept including not only so-called “call connection” at the time of voice communication but also setting of correspondence relation between an IP telephone terminal and an accommodating interface.
The exchange 200 has a plurality of IP telephone terminal-accommodating interfaces 21 and 22, a user interface 20a, a database 20b, and an accommodation judgment section 20c. The IP telephone terminal-accommodating interfaces 21 and 22 are interfaces for accommodating the IP telephone terminals 101 and 102. Each of the IP telephone terminals 101 and 102 can be accommodated in either of the IP telephone terminal-accommodating interfaces 21 and 22. The correspondence relation between the IP telephone terminals and the IP telephone terminal-accommodating interfaces is one-to-one or many-to-one. That is, each of the IP telephone terminals 101 and-102 is stored in either of the IP telephone terminal-accommodating interfaces 21 and 22.
The database 20b is a database for associating an accommodation mode selected for each of the IP telephone terminals 101 and 102 with the IP addresses of the communication interfaces assigned to each of the IP telephone terminals 101 and 102. In this embodiment, two accommodation modes are defined, that is, a user designation mode (serving as a first mode) and an automatic assignment mode (serving as a second mode) are defined. Each of the IP telephone terminals 101 and 102 is accommodated in the exchange 200 under either of these modes. Under the user designation mode, an accommodation interface accommodating each IP telephone terminal is explicitly set according to user's designation. Under the automatic assignment mode, an accommodation interface accommodating each IP telephone terminal is set unexplicitly, that is, the accommodation interface accommodating each IP telephone terminal is determined at the initiative of the exchange 200. The accommodation interface accommodating each IP telephone terminal under the user designation mode is registered in the database 20b in advance. On the other hand, the accommodation interface accommodating each IP telephone terminal under the automatic assignment mode is not always registered in the database 20b.
Upon reception of a connection request from an IP telephone terminal, the accommodation judgment section judges the accommodation mode of the IF telephone terminal, which is a sender of the connection request, by referring to the database 20b. When the accommodation mode of the IP telephone terminal is the automatic assignment mode, the accommodation judgment section 20c selects/determines an accommodation interface from among the IP telephone terminal-accommodating interfaces 21 and 22. Even when the accommodation mode is the user designation mode, if failure occurs in the designated interface, the accommodation judgment section 20c selects/determines an interface in which failure does not occur, as an accommodation interface.
The user interface 20a is a human-machine interface used for changing the accommodation interfaces for the IP telephone terminals 101 and 102 at the exchange 200 end. The user interface 20a is used for reading or changing information of the database 20b (e.g., an accommodation mode for each IP telephone terminal and an accommodation interface for each IP telephone terminal) by a user's operation. Moreover, the user interface 20a gives the user an interface for reading the destination database 10a remotely.
The user interface 20a gives the user an interface requesting to set the accommodation interface for an IP telephone terminal with respect to which the user designation mode is selected as the accommodation mode. In addition, the user interface 20a gives the user an interface for changing the accommodation mode for each IP telephone terminal and an interface for changing information about an accommodation interface of an IP telephone terminal with respect to which the user designation mode is selected as the accommodation mode. Here, whenever the user changes the accommodation mode of a certain IP telephone terminal to the user designation mode, an accommodation interface for the IP telephone terminal is always newly designated. Next, an operation of the configuration will be described.
When the accommodation mode is the user designation mode (No at step S32), the accommodation judgment section 20c acquires an IP address of the accommodation interface for the IP telephone terminal by referring to the database 20b (step S33) The accommodation judgment section 20c sends a connection response including the acquired IP address of the accommodation interface back to the IP telephone terminal, which is the sender of the connection request (step S35) The connection response is sent back through the IP telephone terminal-accommodating interface, which received the connection request. Incidentally, the IP telephone terminal-accommodating interface, which received the connection request from the IP telephone terminal, is not always identical to the accommodation interface for accommodating the IP telephone terminal.
On the other hand, when the accommodation mode of the IP telephone terminal, which is the sender of the connection request, is the automatic assignment mode (Yes at step S32), the accommodation judgment section 20c checks whether an accommodation interface has been assigned to the IP telephone terminal or not, by referring to the database 20b. When it is found from a result of the checking that an accommodation interface has been already assigned, a connection response including the IP address of the assigned accommodation interface is sent back to-the IP telephone terminal, which is the sender of the connection request.
When it is found from a result of the checking that no accommodation interface has been assigned, the accommodation judgment section 20c selects an IP telephone terminal-accommodating interface being able to accommodate the IP telephone terminal, which is the sender of the connection request (step S34). The accommodation judgment section 20c sends a connection response including the IP address of the IP telephone terminal-accommodating interface back to the IP telephone terminal. The IP address of the selected accommodation interface is newly registered in the database 20b.
In step S34, there are several selection methods based on settings, states, etc. of the IP telephone terminal-accommodating interfaces 21 and 22. For example, the accommodation interfaces may be determined so that loads on the IP telephone terminal-accommodating interfaces 21 and 22 are averaged. Or, unless the number of IP telephone terminals accommodated in one of the IP telephone terminal-accommodating interfaces 21 and 22 reaches a predetermined number, one and the same interface may be determined as the accommodation interface. Or, either of the IP telephone terminal-accommodating interfaces 21 and 22 may be assigned at random. Although several selection methods are conceived as described above, these selection methods may be provided so that one of the selection methods can be selected freely switchably in accordance with settings of the system. A procedure of processing at the time of occurrence of failure will be described next.
Upon reception of a connection response to the connection request (step S73), the connection processing section 10c judges whether the IP address of the destination interface designated by the connection request is identical to the IP address of the destination interface designated by the connection response or not (step S76). When the both are not identical to each other, the connection processing section 10c transmits a connection request to the IP telephone terminal-accommodating interface indicated by the connection response (step S77).
When connection to the destination interface is not established in spite of repetition of the re-connection trial by a predetermined number of times in the loop of the Steps S72 to S74 (YES in the Step 74), the connection processing section 10c transmits a connection request to all of the IP telephone terminal-accommodating interfaces by means of broadcasting (step S75).
According to the aforementioned configuration and operation, connection can be established in accordance with the database 20b in the exchange 200 even when the accommodation interface of the database 20b in the exchange 200 is inconsistent with information in the destination database 10a in the IP telephone terminal, or even when there is no registration information in the destination database 10a.
Specifically, the procedure shown in
(1) The case where connection to the exchange 200 is established and the accommodation interface for the IP telephone terminal, which is in the user designation mode selected as the accommodation mode, is changed by a user's operation.
(2) The case where connection to the exchange 200 is established and the automatic assignment mode as the accommodation mode of the IP telephone terminal is changed to the user designation mode by a user's operation. Incidentally, the case (2) is limited to the case where the new accommodation interface set with the change of the accommodation mode to the user designation mode is different from the accommodation interface currently connected.
In this embodiment, either of a user designation mode in which accommodation interfaces are explicitly assigned to IP telephone terminals according to a user's designation and an automatic assignment mode in which the accommodation interfaces are unexplicitly assigned to the IP telephone terminal can be selected/designated for each IP telephone terminal. Information indicating the accommodation mode for each IP telephone terminal is registered in a database of the exchange 200. When there is no response in spite of repetition of transmission of a connection request by several times, the IP telephone terminal sends a connection request to all the accommodation interfaces by means of broadcasting. Upon reception of the connection request from the IP telephone terminal in the automatic assignment mode by means of broadcasting,.the exchange 200 selects an appropriate one from among the interfaces being able to accommodate the IP telephone terminal at that time, and sends the IP address of the selected IP telephone terminal-accommodating interface back to the IP telephone terminal.
By these operations, the interface for accommodating the telephone terminal can be changed immediately even at the time of occurrence of interface failure. As a result, it is possible to provide a telephone system with improved maintainability.
Incidentally, the invention is not limited to this embodiment. For example, the method by which the connection processing section 10c of the IP telephone terminal sends out a connection request at the time of interface failure, etc. is not limited to broadcasting. For example, an accommodating interface having no response may send out a connection request to a next accommodating interface successively. Or another IP telephone terminal may be provided so as to relay the connection request. For example, in
The invention is also applicable to a system having a combination of a plurality of server type exchanges. As shown in
When the main server MS and the sub server SS in the system shown in
The invention is not limited to the embodiments directly, but may be given shape by modifying constituent members without departing from the gist of the invention. Appropriate combinations of a plurality of constituent members disclosed in the embodiments may form various inventions. For example, some of the whole constituent members shown in the embodiments may be removed.
Number | Date | Country | Kind |
---|---|---|---|
P2004-360129 | Dec 2004 | JP | national |