JP2023125007A - Communication device and communication method - Google Patents

Communication device and communication method Download PDF

Info

Publication number
JP2023125007A
JP2023125007A JP2022028910A JP2022028910A JP2023125007A JP 2023125007 A JP2023125007 A JP 2023125007A JP 2022028910 A JP2022028910 A JP 2022028910A JP 2022028910 A JP2022028910 A JP 2022028910A JP 2023125007 A JP2023125007 A JP 2023125007A
Authority
JP
Japan
Prior art keywords
main control
communication
control device
main
standby
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022028910A
Other languages
Japanese (ja)
Inventor
恵美 藤里
Emi Fujisato
克明 武井
Katsuaki Takei
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2022028910A priority Critical patent/JP2023125007A/en
Publication of JP2023125007A publication Critical patent/JP2023125007A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

To provide a communication device having a duplex configuration capable of, when a failure occurs in a line connecting first and second main control devices, appropriately setting both of them respectively to an operation system and a standby system, and a communication method thereof.SOLUTION: A communication device 500 having a duplex configuration includes: first and second communication function units; a first main control device 100 and a second main control device 200 which are set to a standby system or an operation system, and control operation of the first communication function unit or the second communication function unit when being set to the operation system. Each of the first and second main control devices includes: an IP communication unit connected with an IP network; and an operation system/standby system determination processing unit which determines whether or not a main control device on a counterpart side among the first and second main control devices is under operation, and performs system switching where the processing unit sets itself to the standby system when it is determined being under operation, and sets itself to the operation system when it is determined being not under operation.SELECTED DRAWING: Figure 2

Description

本発明は、通信装置、特に二重化構成を有する通信装置及びその通信方法に関する。 The present invention relates to a communication device, and particularly to a communication device having a duplex configuration and a communication method thereof.

耐障害性を高める二重化制御装置として、二重化構成部を為す第1及び第2の構成部の運用状況を監視する監視部により、夫々を適切に運用系及び待機系に設定する運用系/待機系の切替を行うようにした装置が提案されている(例えば、特許文献1参照)。 As a redundant control device that increases fault tolerance, a monitoring unit that monitors the operational status of the first and second components forming the redundant component appropriately sets the active system and standby system to the active system and standby system, respectively. A device that performs switching has been proposed (for example, see Patent Document 1).

また、二重化構成部を為す第1及び第2の構成部が互いに専用線に接続されており、当該専用線を使用して相互に運用状態に関する情報を交換しつつ、相手側の運用状態に基づき運用系/待機系の切替を行うようにした装置が提案されている(例えば、特許文献2参照)。 In addition, the first and second components forming the redundant component are connected to each other by a dedicated line, and while using the dedicated line to exchange information regarding the operational status of each other, based on the operational status of the other side. A device that performs switching between an active system and a standby system has been proposed (for example, see Patent Document 2).

特開2013-12094号公報Japanese Patent Application Publication No. 2013-12094 特開2018-37888号公報JP2018-37888A

ところで、上記した二重化構成を採用した装置では、第1及び第2の構成部各々の運用状態に関する情報を相互に取得する通信を行う為に第1及び第2の構成部間に接続されている配線に障害が生じると、相手側の構成部の運用状況を確認することが出来なくなる。そこで、相手側の運用状況が確認できない場合には、相手側に障害が生じていると判断して、自装置を待機系から運用系に切り替えることが考えられる。 By the way, in the device employing the duplex configuration described above, the first and second components are connected to each other in order to communicate with each other to acquire information regarding the operating status of each of the first and second components. If a problem occurs in the wiring, it becomes impossible to check the operating status of the component on the other side. Therefore, if the operation status of the other party cannot be confirmed, it is conceivable to determine that a failure has occurred on the other party and switch the own device from the standby system to the active system.

しかしながら、例えば相手側の構成部に障害が無く且つ運用系として正しく動作している場合でも、自装置が運用系に設定されてしまい、第1及び第2の構成部が共に運用系になるという不具合が生じる。 However, for example, even if there is no fault in the component on the other side and it is operating correctly as the active system, the own device is set to the active system, and both the first and second components become the active system. A problem occurs.

したがって、第1及び第2の構成部同士を接続する配線の障害を排除する修理を行うまでの間、二重化構成を利用した通信動作を正常に継続することができないという問題があった。 Therefore, there is a problem in that the communication operation using the duplex configuration cannot be continued normally until the wiring connecting the first and second components is repaired to eliminate the fault.

そこで、本発明は、第1及び第2の構成部同士を接続する配線に障害が生じても、第1及び第2の構成部を適切に運用系及び待機系に設定することが可能な二重化構成を有する通信装置及び通信方法を提供することを目的とする。 Therefore, the present invention provides a duplex system that allows the first and second components to be appropriately set as an active system and a standby system even if a failure occurs in the wiring that connects the first and second components. An object of the present invention is to provide a communication device and a communication method having the above configuration.

本発明に係る通信装置は、第1及び第2の通信機能部と、待機系又は運用系に設定され、前記運用系に設定されている場合に前記第1の通信機能部及び前記第2の通信機能部の動作を制御する第1及び第2の主制御装置と、を含む二重化構成の通信装置であって、前記第1及び第2の主制御装置の各々は、IPネットワークに接続する通信部と、前記IPネットワークを介して、前記第1及び第2の主制御装置のうちの相手側の主制御装置が運用中であるか否かを判定し、運用中であると判定した場合には自身を前記待機系に設定する一方、運用中ではないと判定した場合には自身を前記運用系に設定する系切替を行う運用系/待機系判断処理部と、を有する。 The communication device according to the present invention includes a first communication function unit and a second communication function unit, and is set to a standby system or an active system, and when set to the active system, the first communication function unit and the second communication function unit are set to a standby system or an active system. A communication device with a duplex configuration including first and second main control devices that control operations of a communication function unit, each of the first and second main control devices controlling a communication unit connected to an IP network. and determine whether the other main controller of the first and second main controllers is in operation via the IP network, and when it is determined that the main controller is in operation; has an active system/standby system determination processing unit that performs system switching that sets itself as the standby system, and sets itself as the active system when it is determined that it is not in operation.

本発明に係る通信方法は、第1及び第2の通信機能部と、待機系又は運用系に設定され前記運用系に設定されている場合に前記第1の通信機能部及び前記第2の通信機能部の動作を制御する第1及び第2の主制御装置と、を含む二重化構成の通信装置の前記第1及び第2の主制御装置の各々が行う通信方法であって、IPネットワークに接続することで、前記IPネットワークを介して、前記第1及び第2の主制御装置のうちの相手側の主制御装置が運用中であるか否かを判定し、運用中であると判定した場合には自身を前記待機系に設定する一方、運用中ではないと判定した場合には自身を前記運用系に設定する系切替を行う。 The communication method according to the present invention includes first and second communication functional units, and when set to a standby system or an active system, and when set to the active system, the first communication functional unit and the second communication functional unit. A communication method performed by each of the first and second main control devices of a communication device with a duplex configuration, the communication device including first and second main control devices controlling operations of functional units, the communication method being connected to an IP network. By doing so, it is determined via the IP network whether the other main controller of the first and second main controllers is in operation, and if it is determined that it is in operation; When it is determined that it is not in operation, it sets itself as the standby system, and when it is determined that it is not in operation, it performs system switching to set itself as the active system.

本発明では、二重化通信構成からなる第1及び第2の主制御装置の各々が、IP(Internet Protocol)ネットワークを介した通信によって、相手側の主制御装置の運用状況(運用中、待機中)を取得するようにしている。 In the present invention, each of the first and second main control devices having a redundant communication configuration communicates with the other main control device through communication via an IP (Internet Protocol) network to determine the operating status (in operation, standby) of the other main control device. I'm trying to get it.

これにより、相手側の主制御装置の運用状況を取得すべく第1及び第2の主制御装置同士を接続する配線に故障が生じていても、第1及び第2の主制御装置のうちの一方を運用系、他方を待機系に適切に設定することが可能となる。 As a result, even if there is a failure in the wiring that connects the first and second main controllers in order to obtain the operational status of the other party's main controllers, one of the first and second main controllers It becomes possible to appropriately set one as the active system and the other as the standby system.

通信システム1000の構成を示すブロック図である。1 is a block diagram showing the configuration of a communication system 1000. FIG. 本発明に係る通信装置としての二重化通信装置500の内部構成を示すブロック図である。FIG. 2 is a block diagram showing the internal configuration of a duplex communication device 500 as a communication device according to the present invention. 起動後に主制御装置100及び200間で行われる通信動作の一例を示す通信フロー図である。FIG. 2 is a communication flow diagram showing an example of communication operations performed between main controllers 100 and 200 after startup. 主制御装置100及び200が夫々待機系及び運用系に設定された後で、ケーブル30、40、50及び60に障害が生じた場合での通信フローを示す図である。FIG. 6 is a diagram showing a communication flow when a failure occurs in cables 30, 40, 50, and 60 after main controllers 100 and 200 are set to standby and active, respectively. 障害対応処理によって主制御装置100、200及びイーサネットスイッチ51間で為される通信動作の一例を示す通信フロー図である。5 is a communication flow diagram illustrating an example of communication operations performed between the main control devices 100, 200 and the Ethernet switch 51 in failure handling processing. FIG. 主制御装置100及び200が共に運用系となった状態から主制御装置200が起点となった障害対応処理によって、主制御装置100、200及びイーサネットスイッチ51間で為される通信動作の一例を示す通信フロー図である。An example of a communication operation performed between the main control devices 100 and 200 and the Ethernet switch 51 is shown in a failure response process initiated by the main control device 200 in a state where both the main control devices 100 and 200 are in operation. It is a communication flow diagram. 主制御装置100及び200が同時に障害対応処理を実行した際に、主制御装置100、200及びイーサネットスイッチ51間で為される通信動作の一例を示す通信フロー図である。FIG. 2 is a communication flow diagram illustrating an example of communication operations performed between the main control devices 100 and 200 and the Ethernet switch 51 when the main control devices 100 and 200 simultaneously execute failure handling processing. 主制御装置100及び200が系切替の優先度を考慮した障害対応処理を実行した際に主制御装置100、200及びイーサネットスイッチ51間で為される通信動作を示す通信フロー図である。FIG. 3 is a communication flow diagram showing communication operations performed between the main control devices 100 and 200 and the Ethernet switch 51 when the main control devices 100 and 200 execute failure handling processing that takes system switching priorities into consideration.

図1は、本発明に係る通信装置を含む通信システム1000を示すブロック図である。 FIG. 1 is a block diagram showing a communication system 1000 including a communication device according to the present invention.

図1に示すように、当該通信システム1000は、二重化通信装置500と、当該二重化通信装置に接続されているイーサネットスイッチ51、ルータ52、イントラネット53、外部装置54及び公衆のIP(Internet Protocol)ネットワーク55を含む。 As shown in FIG. 1, the communication system 1000 includes a duplex communication device 500, an Ethernet switch 51, a router 52, an intranet 53, an external device 54, and a public IP (Internet Protocol) network connected to the duplex communication device 500. Contains 55.

図2は、本発明に係る通信装置としての二重化通信装置500の内部構成の一例を示すブロック図である。 FIG. 2 is a block diagram showing an example of the internal configuration of a duplex communication device 500 as a communication device according to the present invention.

図2に示すように、二重化通信装置500は、二重化構成部としての主制御装置100及び200と、機能提供部としての端末回線収容部A11、A12、B13~B16と、から構成される。 As shown in FIG. 2, the redundant communication device 500 is composed of main controllers 100 and 200 as redundant components, and terminal line accommodating parts A11, A12, B13 to B16 as function providing parts.

端末回線収容部A11、A12、B13~B16の各々には、主制御装置100及び200に接続収容される電話機やFAX(facsimile)等の端末や、公衆網回線或いは私設網専用回線等の各種の回線が接続されており、ビジネスホン等の通信制御装置の利用機器として配備される。端末回線収容部A11、A12、B13~B16は、図2に示すように、主制御装置100及び200と、制御信号及び音声信号を伝送するケーブル17~20、30、40、50及び60を介して接続されている。 Each of the terminal line accommodation units A11, A12, B13 to B16 accommodates various types of terminals such as telephones and FAX (facsimile) connected to the main controllers 100 and 200, as well as public network lines or private network dedicated lines. A line is connected to it, and it is deployed as a device used by communication control devices such as business phones. As shown in FIG. 2, the terminal line accommodation units A11, A12, B13 to B16 are connected to the main controllers 100 and 200 via cables 17 to 20, 30, 40, 50 and 60 for transmitting control signals and audio signals. connected.

端末回線収容部A11、A12、B13~B16の各々は、主制御装置100又は200からの指示(制御信号)により、利用機器間の接続を行って音声信号を交換することでビジネスホンのサービス機能を提供する。 Each of the terminal line accommodation units A11, A12, B13 to B16 performs the service function of the business phone by connecting the devices to be used and exchanging audio signals according to instructions (control signals) from the main controller 100 or 200. provide.

主制御装置100は、ケーブル30及び40を介して端末回線収容部A11、A12、B13~B16の各々と接続され、主制御装置200は、ケーブル50及び60を介して端末回線収容部A11、A12、B13~B16の各々と接続される。 The main controller 100 is connected to each of the terminal line accommodating units A11, A12, B13 to B16 via cables 30 and 40, and the main controller 200 is connected to each of the terminal line accommodating units A11, A12 via cables 50 and 60. , B13 to B16.

尚、二重化通信装置500では、二重化構成としての主制御装置100及び200の状態監視を、ビジネスホンのサービス機能を提供するための制御信号や音声信号が流れるケーブル30、40、50及び60を介して独自信号方式の通信によって行うことを1つの特徴としている。 In addition, in the redundant communication device 500, the status of the main control devices 100 and 200 as a redundant configuration is monitored via the cables 30, 40, 50, and 60 through which control signals and audio signals for providing business phone service functions flow. One of its characteristics is that it uses a proprietary signal system for communication.

主制御装置100及び200は、運用系と待機系を決定するために、ケーブル30又は40、及びケーブル50又は60を介して、通常の端末回線収容部向けの制御信号用のチャネルとは別に設けた専用チャネルで、互いに運用状況に関するデータの送受信を行う。 The main controllers 100 and 200 are provided via a cable 30 or 40 and a cable 50 or 60 separately from the control signal channel for the normal terminal line accommodation section in order to determine the active system and standby system. Data regarding the operational status is exchanged with each other using a dedicated channel.

尚、専用チャネルは、制御信号のうちで主制御装置の状態チェック用に割り当てられたものである。例えば、主制御装置100は、ケーブル30及び端末回線収容部A11に含まれるハードウェアスイッチ(図示せず)を介して、専用チャネルのデータをケーブル50に送信する。同様に、主制御装置100は、ケーブル40及び端末回線収容部A12に含まれるハードウェアスイッチ(図示せず)を介して、専用チャネルのデータをケーブル60に送信する。 Note that the dedicated channel is a control signal that is allocated for checking the status of the main controller. For example, the main controller 100 transmits data on the dedicated channel to the cable 50 via the cable 30 and a hardware switch (not shown) included in the terminal line accommodation section A11. Similarly, the main controller 100 transmits data on the dedicated channel to the cable 60 via the cable 40 and a hardware switch (not shown) included in the terminal line accommodation section A12.

主制御装置100及び200の各々には、運用状態情報31、二重化制御データ32及びIP情報41を保持するメモリRG、運用系/待機系判断処理部33、IP重複判定処理部42、及びIP通信部43を含む。 Each of the main controllers 100 and 200 includes a memory RG that holds operational status information 31, redundant control data 32, and IP information 41, an active system/standby system determination processing section 33, an IP duplication determination processing section 42, and an IP communication 43.

尚、運用状態情報31とは、自装置及び他装置が夫々運用系及び待機系のいずれの状態にあるのかを示す情報である。例えば、主制御装置100に含まれるメモリRGに保持されている運用状態情報31は、主制御装置100を自装置、主制御装置200を他装置とし、夫々が運用系及び待機系のいずれの状態に該当するのかを示す情報である。一方、主制御装置200に含まれるメモリRGに保持されている運用状態情報31は、主制御装置200を自装置、主制御装置100を他装置とし、夫々が運用系及び待機系のいずれの状態に該当するのかを示す情報である。 The operational state information 31 is information indicating whether the own device and other devices are in an active state or a standby state, respectively. For example, the operation state information 31 held in the memory RG included in the main control device 100 indicates whether the main control device 100 is the own device and the main control device 200 is another device, and whether each state is an active system or a standby system. This information indicates whether the above applies. On the other hand, the operational state information 31 held in the memory RG included in the main control device 200 indicates whether the main control device 200 is the own device and the main control device 100 is another device, and whether each state is an active system or a standby system. This information indicates whether the above applies.

二重化制御データ32とは、運用系となる状態が双方で競合した際に、主制御装置100及び200のうちのどちらを優先的に待機系に切り替えるのかを表す。例えば、メモリRGには、主制御装置100及び200に夫々対応付けして、運用系/待機系の切替(以降、系切替とも称する)を行う優先度を表す二重化制御データ32が予め保持されている。尚、主制御装置100及び200各々のメモリRGには、互いに異なる優先度を表す二重化制御データ32が記憶されている。 The duplex control data 32 indicates which of the main controllers 100 and 200 is preferentially switched to the standby system when there is a conflict between the two systems to become the active system. For example, the memory RG stores in advance redundant control data 32 that is associated with the main controllers 100 and 200 and represents the priority for switching between the active system and the standby system (hereinafter also referred to as system switching). There is. Note that the memory RG of each of the main control devices 100 and 200 stores duplex control data 32 representing mutually different priorities.

IP情報41とは、例えばMACアドレスである。つまり、主制御装置100のメモリRGに記憶されているIP情報41は、当該主制御装置100のMACアドレスを示し、主制御装置200のメモリRGに記憶されているIP情報41は、当該主制御装置200のMACアドレスを示す。 The IP information 41 is, for example, a MAC address. That is, the IP information 41 stored in the memory RG of the main control device 100 indicates the MAC address of the main control device 100, and the IP information 41 stored in the memory RG of the main control device 200 indicates the MAC address of the main control device 100. The MAC address of the device 200 is shown.

主制御装置100及び200は、夫々に含まれるIP通信部43によって、イーサネットスイッチ(以降、L2SWとも称する)51を介してIPネットワーク55と接続可能となっている。 The main controllers 100 and 200 can be connected to an IP network 55 via an Ethernet switch (hereinafter also referred to as L2SW) 51 by an IP communication unit 43 included in each of the main controllers 100 and 200 .

イーサネットスイッチ51は、二重化通信装置500を外部からの見かけ上、1系統の通信装置と見なされるように集約するスイッチである。このイーサネットスイッチ51は、ルータ52、又は二重化通信装置500と同一の拠点に設けられているイントラネット53を介して二重化通信装置500と公衆のIPネットワーク55とを接続する。 The Ethernet switch 51 is a switch that aggregates the duplex communication devices 500 so that they appear to be one communication device from the outside. This Ethernet switch 51 connects the duplex communication device 500 to a public IP network 55 via a router 52 or an intranet 53 provided at the same base as the duplex communication device 500.

以下に、二重化通信装置500の内部動作について詳細に説明する。 The internal operation of duplex communication device 500 will be described in detail below.

主制御装置100及び200に電源が投入されると、主装置制御プログラムが実行される。これにより、先ず、例えば主制御装置100の運用系/待機系判断処理部33が、運用状態情報31にて示される前回起動時の状態(運用系、待機系)に基づき、自装置の現在の状態(起動中、運用中、待機中)を表す情報を作成する。そして、主制御装置100は、上記した前回起動時の状態(運用系、待機系)及び現在の状態(起動中、運用中、待機中)を表す状態情報を含む状態問合せ信号101を、専用チャネルの制御信号としてケーブル30及び40に送信する。この際、制御信号は、主制御装置に対する状態監視用の専用チャネルに割り当てられており、端末回線収容部A11、A12を介して相手側の主制御装置に転送される。その制御信号を受信した主制御装置は、当該制御信号に含まれる状態情報、つまり相手側の状態(前回起動時の状態、現在の自状態)を解析し、当該相手側の状態に基づき自身の状態(運用系、待機系)を決定する。そして、その決定結果を示す情報を含ませた状態問合せ応答信号102を、専用チャネルの制御信号として相手側の主制御装置に返送する。 When the main controllers 100 and 200 are powered on, the main controller control program is executed. As a result, first, for example, the active system/standby system determination processing unit 33 of the main control device 100 determines the current state of the own device based on the state (active system, standby system) at the time of the previous startup indicated by the operational status information 31. Create information that represents the status (starting, operating, standby). Then, the main controller 100 transmits the status inquiry signal 101 including status information representing the status at the time of the previous startup (active system, standby system) and the current status (starting up, in operation, standby) to the dedicated channel. control signals to the cables 30 and 40. At this time, the control signal is assigned to a dedicated channel for status monitoring of the main control device, and is transferred to the other party's main control device via the terminal line accommodation units A11 and A12. The main controller that receives the control signal analyzes the state information included in the control signal, that is, the state of the other party (the state at the time of the previous startup, the current own state), and adjusts its own state based on the state of the other party. Determine the status (active system, standby system). Then, a status inquiry response signal 102 containing information indicating the determination result is sent back to the other party's main control device as a control signal for the dedicated channel.

ところで、正常に電源投入される場合は、両方の主制御装置がほぼ同じタイミングで動作を開始する。それ故、主制御装置100及び200は、互いに、
前回起動時の状態:無し
自装置の状態:起動中
なる状態情報を含む状態問い合わせ信号を受信する。
By the way, when the power is turned on normally, both main controllers start operating at approximately the same timing. Therefore, the main controllers 100 and 200 each
Status at last startup: None Status of own device: Starting Receives a status inquiry signal containing status information.

この際、主制御装置100及び200各々の自身の状態も、
前回起動時の状態:無し
自装置の状態:起動中
であり、全く同一となる。
At this time, the state of each of the main controllers 100 and 200 is also
Status at last startup: None Status of own device: Booting, and will be exactly the same.

そこで、主制御装置100及び200各々の運用系/待機系判断処理部33は、自身のメモリRGに保持されている二重化制御データ32にて示される優先度に基づき、主制御装置100及び200のうちの一方を運用中、他方を待機中とする。つまり、主制御装置100及び200のうちで、高い優先度を示す二重化制御データ32が保持されている方を運用中、低い優先度を示す二重化制御データ32が保持されている方を待機中に決定する。 Therefore, the active system/standby system judgment processing unit 33 of each of the main control devices 100 and 200 determines whether the main control devices 100 or 200 One of them is in operation and the other is on standby. In other words, between the main controllers 100 and 200, the one holding the duplex control data 32 indicating a higher priority is in operation, and the one holding the duplex control data 32 indicating a lower priority is on standby. decide.

これにより、主制御装置100の運用状況に関する運用状態情報31は、
前回起動時の状態:無し
自装置の状態:運用中
に設定する。
As a result, the operation status information 31 regarding the operation status of the main controller 100 is
Status at last startup: None Status of own device: Set to In operation.

一方、主制御装置200の運用状況に関する運用状態情報31は、
前回起動時の状態:無し
自装置の状態:待機中
に設定する。
On the other hand, the operation status information 31 regarding the operation status of the main controller 200 is
Status at last startup: None Status of own device: Set to Standby.

そして、このような設定後に、主制御装置200は、状態情報として
自装置の状態:待機中
を含む状態問合せ応答信号102を、専用チャネルの制御信号として相手側の主制御装置100に返送する。それを受信した主制御装置100は、自身の運用系/待機系判断処理部33により、自装置の状態が運用中であると判断し、その旨を表す運用状態情報31をメモリRGに上書きする。そして、主制御装置100は、自身が運用系であることを端末回線収容部A11に通知する。当該通知を受信すると、端末回線収容部A11は、主制御装置100を運用系として、制御信号や音声信号のパス接続をスイッチする。これにより、主制御装置100からの指示(制御信号)により利用機器間の接続を行い、音声信号を交換することでビジネスホンのサービス機能を提供することが可能になる。
After such settings, the main control device 200 sends back a status inquiry response signal 102 that includes the state of own device: Standby as the status information to the other party's main control device 100 as a control signal for the dedicated channel. Upon receiving this, the main control device 100 uses its own active system/standby system determination processing unit 33 to determine that the state of its own device is in operation, and overwrites the operational state information 31 representing that fact in the memory RG. . Then, the main control device 100 notifies the terminal line accommodation unit A11 that it is the active system. Upon receiving the notification, the terminal line accommodating unit A11 switches path connections for control signals and audio signals using the main control device 100 as the active system. This makes it possible to provide the service function of a business phone by connecting the devices in use according to instructions (control signals) from the main control device 100 and exchanging audio signals.

図3は、上記した初期起動が完了し、ビジネスホンとしての動作が開始されてから、主制御装置100及び200間で行われる通信動作の一例を示す通信フロー図である。 FIG. 3 is a communication flow diagram showing an example of communication operations performed between main controllers 100 and 200 after the above-described initial startup is completed and operation as a business phone is started.

尚、主制御装置100及び200間の通信は、実際には端末回線収容部A11、A12、ケーブル30、40、50及び60を介して行われるが、図3では、端末回線収容部A11、A12、ケーブル30、40、50及び60の記述は省略している。 Note that communication between the main controllers 100 and 200 is actually performed via the terminal line accommodating parts A11, A12, and the cables 30, 40, 50, and 60, but in FIG. , the descriptions of the cables 30, 40, 50, and 60 are omitted.

先ず、待機系の状態にある主制御装置200は、運用系の状態にある主制御装置100の通信状態を一定間隔おきに監視するために、状態問合せ信号101を送信し、その応答、つまり状態問合せ応答信号102の有無により二重化構成の主制御装置の現在の状態を更新する。 First, the main control device 200 in the standby state transmits a status inquiry signal 101 in order to monitor the communication state of the main control device 100 in the active state at regular intervals, and the response, that is, the state Depending on the presence or absence of the inquiry response signal 102, the current state of the duplex main controller is updated.

つまり、運用系の主制御装置100に障害が生じていなければ、主制御装置200が状態問合せ信号101を送信してから、所定時間経過するまでの間に、主制御装置100から状態問合せ応答信号102が返送される。この際、主制御装置200は、自装置の状態が待機中であり、状態問合せ応答信号102にて示される相手側(主制御装置100)の状態が運用中であることから、その状態を継続する。 In other words, if there is no failure in the active main controller 100, the main controller 100 will send the status inquiry response signal after the main controller 200 transmits the status inquiry signal 101 until a predetermined period of time elapses. 102 is returned. At this time, the main control device 200 continues the state because its own state is in standby and the state of the other party (main control device 100) indicated by the state inquiry response signal 102 is in operation. do.

ところが、運用系の主制御装置100に障害が生じると、状態問合せ信号101を送信してから所定時間経過後も状態問合せ応答信号102が返送されてこない。そこで、状態問合せ信号101を送信してから所定時間経過後に状態問合せ応答信号102が返送されなかった場合、待機系の主制御装置200は、状態問合せ信号101を再送する。ここで、状態問合せ応答信号102が返送されなかった場合、主制御装置200は、上記した状態問合せ信号101の再送処理を所定回数だけ繰り返し実行する。それでも、運用系の主制御装置100から状態問合せ応答信号102の返送が為されなかった場合、待機系の主制御装置200は、運用系の主制御装置100に障害が生じていると判断する。 However, when a failure occurs in the active main control device 100, the status inquiry response signal 102 is not returned even after a predetermined period of time has elapsed since the status inquiry signal 101 was sent. Therefore, if the status inquiry response signal 102 is not returned after a predetermined period of time has elapsed after transmitting the status inquiry signal 101, the standby main controller 200 resends the status inquiry signal 101. Here, if the status inquiry response signal 102 is not returned, the main control device 200 repeatedly executes the process of retransmitting the status inquiry signal 101 described above a predetermined number of times. Even so, if the status inquiry response signal 102 is not returned from the active main controller 100, the standby main controller 200 determines that a failure has occurred in the active main controller 100.

すなわち、主制御装置200は、状態問合せ信号101の送信に対して状態問合せ応答信号102の返信が無かったことをもって故障が生じていることを示す故障検知を行うのである。 That is, the main controller 200 performs failure detection indicating that a failure has occurred when there is no reply of the status inquiry response signal 102 in response to the transmission of the status inquiry signal 101.

かかる故障検知により、主制御装置200は、自装置の状態を待機中から運用中に切り替える。そして、主制御装置200は、自装置の状態が運用中であり且つ相手装置が障害状態を表す運用状態情報31をメモリRGに上書きする。 Upon such failure detection, the main control device 200 switches the state of its own device from standby to operation. The main control device 200 then overwrites the operation state information 31 in the memory RG indicating that the main control device 200 is in operation and the other device is in a failure state.

その後、主制御装置100が障害状態から回復すると、主制御装置100は、自装置の状態が未定であることを表す状態情報を含む状態問合せ信号101を主制御装置200に送信する。運用中に切り替わっている主制御装置200は、この状態問合せ信号101を受信すると、自身のメモリRGに保持されている運用状態情報31が、自装置の状態が運用中であることを表していることから、自装置の状態が運用中であることを表す状態情報を含む状態問合せ応答信号102を主制御装置100に送信する。 Thereafter, when the main control device 100 recovers from the failure state, the main control device 100 transmits to the main control device 200 a state inquiry signal 101 including state information indicating that the state of the main control device 100 is undetermined. When the main control device 200 that is being switched during operation receives this status inquiry signal 101, the operation status information 31 held in its own memory RG indicates that the state of the own device is in operation. Therefore, a status inquiry response signal 102 including status information indicating that the status of the own device is in operation is transmitted to the main control device 100.

かかる状態問合せ応答信号102を受信すると、主制御装置100は、自身の運用系/待機系判断処理部33により、自装置が待機系であると決定し、自装置の状態が待機中であり、相手装置の状態が運用中であることを示す運用状態情報31をメモリRGに上書きする。 Upon receiving the status inquiry response signal 102, the main control device 100 determines that its own device is a standby system by its own active system/standby system determination processing unit 33, and the state of its own device is on standby. Operation status information 31 indicating that the partner device is in operation is overwritten in the memory RG.

上記した一連の通信処理により、主制御装置100及び200のうちで運用系として通信動作を行っていた主制御装置に障害が生じた場合には、待機系に設定されていた主性装置が運用系に切り替わって通信動作を継続させる。 As a result of the series of communication processing described above, if a failure occurs in the main control device that was performing communication operations as an active system among the main control devices 100 and 200, the main device that was set as a standby system becomes operational. system and continue communication operations.

ところで、上記した一連の通信処理によれば、主制御装置100の障害が回復すると、主制御装置100及び200間での状態問合せ信号101及び状態問合せ応答信号102による相互通信が再開される。これにより、主制御装置100及び200の各々が互いの状態情報(運用系、待機系)を取得することができるので、取得した状態情報に基づき、適切に、主制御装置100及び200のうちの一方を待機系、他方を運用系に夫々設定することが可能となる。 By the way, according to the series of communication processes described above, when the failure of main control device 100 is recovered, mutual communication between main control devices 100 and 200 using status inquiry signal 101 and status inquiry response signal 102 is restarted. As a result, each of the main controllers 100 and 200 can acquire each other's status information (active system, standby system), so based on the acquired status information, one of the main controllers 100 and 200 can be appropriately configured. It is possible to set one as a standby system and the other as an active system.

しかしながら、主制御装置100及び200間の通信経路、つまりケーブル30、40、50、60に断線や短絡等の障害が生じていると、主制御装置100及び200間での通信が不可となり、状態情報(運用系、待機系)の取得ができなくなる。これにより、主制御装置100及び200の各々は、互いに相手側の運用状況を把握できなくなり、適切に、主制御装置100及び200のうちの一方を運用系、他方を待機系に設定することが困難となる。 However, if a failure occurs in the communication path between the main controllers 100 and 200, that is, the cables 30, 40, 50, 60, such as a disconnection or short circuit, communication between the main controllers 100 and 200 becomes impossible, and the state It becomes impossible to obtain information (active system, standby system). As a result, each of the main controllers 100 and 200 cannot grasp the operational status of the other, and it is not possible to appropriately set one of the main controllers 100 and 200 as an active system and the other as a standby system. It becomes difficult.

図4は、状態問合せ信号101及び状態問合せ応答信号102の通信によって、一旦、主制御装置100及び200が夫々待機系及び運用系に設定された後で、ケーブル30、40、50及び60に障害が生じた場合での通信フローを示す図である。 FIG. 4 shows that cables 30, 40, 50, and 60 are damaged after main controllers 100 and 200 are set to standby and active, respectively, by communication of status inquiry signal 101 and status inquiry response signal 102. FIG. 3 is a diagram illustrating a communication flow when a problem occurs.

図4に示すように、障害発生後において、待機系の主制御装置200は、引き続き状態問合せ信号101を繰り返し、主制御装置100側に送信するものの、ケーブル30、40、50及び60に障害が生じているため、これを主制御装置100では受信できない。よって、状態問合せ信号101を所定回数に亘って送信したものの、その応答としての状態問合せ応答信号102が返送されてこないことから、主制御装置200は、相手装置側(ケーブル30、40、50及び60)に故障が生じていると判断し、自身を待機系から運用系に切り替える。尚、主制御装置100には何らアクセスが掛からないので、現在の運用系の状態を維持することになり、主制御装置100及び200が共に運用系の状態になってしまう。 As shown in FIG. 4, after the failure occurs, the standby main controller 200 continues to repeat the status inquiry signal 101 and send it to the main controller 100, but the failure occurs in the cables 30, 40, 50, and 60. Therefore, the main control device 100 cannot receive this. Therefore, although the status inquiry signal 101 has been transmitted a predetermined number of times, the status inquiry response signal 102 as a response has not been returned, so the main controller 200 transmits the status inquiry signal 101 a predetermined number of times. 60), and switches itself from the standby system to the active system. Note that since the main control device 100 is not accessed in any way, the current state of the active system is maintained, and both the main control devices 100 and 200 become the state of the active system.

そこで、二重化通信装置500では、主制御装置100及び200が共に運用系の状態になるという不具合を回避すべく、相手側の主制御装置に故障が生じていると判断した場合には、直ちに系切替を行うのではなく、以下の障害対応処理を実施する。 Therefore, in the redundant communication device 500, in order to avoid the problem that both the main control devices 100 and 200 become active, when it is determined that the main control device on the other side is malfunctioning, the system is immediately switched off. Instead of switching, perform the following failure handling process.

すなわち、障害対応処理では、先ず、上記した故障判断を行った主制御装置(100又は200)のIP通信部43が、ARP(Address Resolution Protocol)要求メッセージをイーサネットスイッチ51に送信する。ARP要求メッセージは、ターゲットIPアドレスとして本ビジネスホンの主制御装置の運用系のIP情報であるIPアドレス#0と、送信元の主制御装置のMACアドレスと、を含む。尚、ARP要求メッセージはブロードキャストIPパケットであるため、主制御装置100及び200各々のIP通信部43は、イーサネットスイッチ51、ルータ52及びIPネットワークを介して当該ARP要求メッセージを受信する。 That is, in the failure handling process, first, the IP communication unit 43 of the main control device (100 or 200) that has made the above failure determination transmits an ARP (Address Resolution Protocol) request message to the Ethernet switch 51. The ARP request message includes IP address #0, which is the active IP information of the main control device of the business phone, as a target IP address, and the MAC address of the main control device of the transmission source. Note that since the ARP request message is a broadcast IP packet, the IP communication unit 43 of each of the main controllers 100 and 200 receives the ARP request message via the Ethernet switch 51, router 52, and the IP network.

ARP要求メッセージを受信した主制御装置は、当該ARP要求メッセージにて示されるターゲットIPアドレスが自身のIPアドレスと同じであるか否かを判定する。この際、ARP要求メッセージにて示されるターゲットIPアドレスが自身のIPアドレスと同じであると判定した場合、ARP要求メッセージを受信した主制御装置は、ARPリプライメッセージを、イーサネットスイッチ51、ルータ52及びIPネットワークを介して送信元のMACアドレスを有する主制御装置に送信する。 The main control device that receives the ARP request message determines whether the target IP address indicated in the ARP request message is the same as its own IP address. At this time, if it is determined that the target IP address indicated in the ARP request message is the same as its own IP address, the main control device that received the ARP request message sends the ARP reply message to the Ethernet switch 51, router 52, It is sent to the main controller having the source's MAC address via the IP network.

この間、ARP要求メッセージを送信した主制御装置は、所定の待ち時間に亘り、ARPリプライメッセージの受信待機状態となる。ここで、当該待ち時間内にARPリプライメッセージ111が返送(受信)されなかった場合、この主制御装置のIP重複判定処理部42は、IPネットワーク(53、55)上にIPアドレス#0の機器、つまりIPアドレスが重複した運用中の機器(主制御装置)が存在しないと判断する。これにより、ARP要求メッセージを送信した主制御装置の運用系/待機系判断処理部33は、相手側の主制御装置は待機中の状態にあると判断して、自身を待機系から運用系に切り替える。 During this time, the main control device that sent the ARP request message is in a state of waiting to receive an ARP reply message for a predetermined waiting time. Here, if the ARP reply message 111 is not returned (received) within the waiting time, the IP duplication determination processing unit 42 of this main control device determines that the device with IP address #0 on the IP network (53, 55) In other words, it is determined that there is no device (main controller) in operation with a duplicate IP address. As a result, the active/standby system determination processing unit 33 of the main controller that sent the ARP request message determines that the other main controller is in a standby state, and changes itself from the standby system to the active system. Switch.

一方、当該待ち時間内にARPリプライメッセージを受信した場合、主制御装置のIP重複判定処理部42は、IPネットワーク55及びイントラネット53上に、IPアドレス#0を重複して使用する他の機器、つまり運用中の主制御装置が存在すると判断する。そして、IP重複判定処理部42は、ARPリプライメッセージ111にて示される送信元のMACアドレスが、予め取得または設定した相手側の主制御装置のIP情報41にて示されるMACアドレスと同一であるか否かを判定する。 On the other hand, if the ARP reply message is received within the waiting time, the IP duplication determination processing unit 42 of the main control device determines whether there is another device on the IP network 55 and the intranet 53 that uses IP address #0 redundantly. In other words, it is determined that there is an operating main control device. Then, the IP duplication determination processing unit 42 determines that the MAC address of the transmission source indicated in the ARP reply message 111 is the same as the MAC address indicated in the IP information 41 of the other party's main control device acquired or set in advance. Determine whether or not.

同一であると判定した場合、IP重複判定処理部42は、IPアドレス#0を重複して使用する他の機器が相手側の運用中の主制御装置であると判断する。これにより、ARPリプライメッセージを受信した主制御装置の運用系/待機系判断処理部33は、当該ARPリプライメッセージにて示される送信元のMACアドレスが相手側の主制御装置(運用中)であることから自装置を待機系に設定し、障害検出のリトライを実施する。つまり、この際、ARPリプライメッセージを受信した主制御装置の運用系/待機系判断処理部33は、現時点で自装置が待機中である場合には待機系の状態を維持し、運用中である場合には運用系から待機系への系切替を行う。 If it is determined that they are the same, the IP duplication determination processing unit 42 determines that another device that uses IP address #0 redundantly is the main control device in operation on the other party. As a result, the active system/standby system judgment processing unit 33 of the main control device that received the ARP reply message determines that the MAC address of the transmission source indicated in the ARP reply message is the main control device of the other party (in operation). Therefore, set the own device as a standby system and retry failure detection. In other words, at this time, the active system/standby system determination processing unit 33 of the main control device that has received the ARP reply message maintains the standby state and indicates that it is in operation if its own device is currently on standby. If so, perform a system switchover from the active system to the standby system.

尚、ARPリプライメッセージ111の送信元のMACアドレスが、主制御装置100のMACアドレスと不一致であると判定した場合、IP重複判定処理部42は、当該送信元は、二重化通信装置500の主制御装置ではなく、外部のネットワーク機器(コンピュータルータ等のIP接続機器)と判断する。そこで、運用系/待機系判断処理部33は、自装置の状態(待機系)は変更せずに、その送信元の外部ネットワーク機器のアドレス変更を促す注意喚起情報を自身のメモリRGに保存する。 Note that if it is determined that the MAC address of the transmission source of the ARP reply message 111 does not match the MAC address of the main control device 100, the IP duplication determination processing unit 42 determines that the transmission source is the main controller of the duplex communication device 500. It is determined that the device is not a device, but an external network device (IP-connected device such as a computer router). Therefore, the active system/standby system judgment processing unit 33 saves the alert information urging the address change of the external network device that is the source of the transmission in its own memory RG, without changing the state of its own device (standby system). .

図5は、上記した障害対応処理によって主制御装置100、200及びイーサネットスイッチ51間で為される通信動作の一例を示す通信フロー図である。 FIG. 5 is a communication flow diagram showing an example of communication operations performed between the main controllers 100, 200 and the Ethernet switch 51 through the above-described failure handling process.

図5に示すように、待機系の主制御装置200が所定回数に亘り状態問合せ信号101を主制御装置100に送信したものの、ケーブル30、40、50又は60に故障が生じているため、状態問合せ応答信号102は返送されない。状態問合せ応答信号102の返送がなされないことから、主制御装置200は、障害有と判断し、以下の障害対応処理を実行する。 As shown in FIG. 5, although the standby main controller 200 has transmitted the status inquiry signal 101 to the main controller 100 a predetermined number of times, the status The inquiry response signal 102 is not returned. Since the status inquiry response signal 102 is not returned, the main control device 200 determines that there is a failure, and executes the following failure handling process.

すなわち、先ず、主制御装置200が、ターゲットIPアドレスとして本ビジネスホンの主制御装置の運用系のIPアドレス#0、及び主制御装置200のMACアドレス♯2を表すARP要求メッセージ110を、イーサネットスイッチ51に送信する。ARP要求メッセージ110は、イーサネットスイッチ51、ルータ52及びIPネットワークを介して主制御装置100に送信される。ARP要求メッセージ110を受信した主制御装置100は、当該ARP要求メッセージ110にて示されるターゲットIPアドレスが自身のIPアドレスと同じであることから、ARPリプライメッセージ111を、イーサネットスイッチ51、ルータ52及びIPネットワークを介して送信元のMACアドレスを有する主制御装置200に送信する。 That is, first, the main control device 200 sends an ARP request message 110 representing the active IP address #0 of the main control device of this business phone and the MAC address #2 of the main control device 200 as target IP addresses to the Ethernet switch 51. Send to. ARP request message 110 is sent to main controller 100 via Ethernet switch 51, router 52, and IP network. The main controller 100 that received the ARP request message 110 sends the ARP reply message 111 to the Ethernet switch 51, router 52, and It is transmitted to the main control device 200 having the source MAC address via the IP network.

この間、主制御装置200は、所定の待ち時間に亘りARPリプライメッセージ111の受信待機状態となる。ここで、当該待ち時間内にARPリプライメッセージ111を受信した場合、主制御装置200は、IPネットワーク55及びイントラネット53上に、IPアドレス#0を重複して使用する他の機器、つまり運用中の主制御装置100が存在すると判断する。そして、主制御装置200は、相手側の主制御装置100が運用中であることから、待機系から運用系への系切替は行わず、自装置の現在の状態である待機系を維持する設定を行う。 During this time, the main controller 200 is in a waiting state for receiving the ARP reply message 111 for a predetermined waiting time. Here, if the main controller 200 receives the ARP reply message 111 within the waiting time, the main controller 200 detects that there is another device on the IP network 55 and the intranet 53 that uses the IP address #0 redundantly, that is, a device that is in operation. It is determined that the main controller 100 exists. Then, since the main controller 100 on the other side is in operation, the main controller 200 does not perform system switching from the standby system to the active system, and is set to maintain the current state of the own device as the standby system. I do.

以上詳述したように、二重化通信装置500では、電話等の通話サービスを含む各種の通信サービスを行う第1の通信機能部(端末回線収容装置A11、端末回線収容装置B13、端末回線収容装置B14)及び第2の通信機能部(端末回線収容装置A12、端末回線収容装置B15、端末回線収容装置B16)を制御する2系統の主制御装置(100、200)が、以下の構成によって自身を待機系及び運用系のうちの一方に設定する。 As described in detail above, in the redundant communication device 500, the first communication function units (terminal line accommodation device A11, terminal line accommodation device B13, terminal line accommodation device B14) that perform various communication services including telephone call services etc. ) and the second communication function unit (terminal line accommodation device A12, terminal line accommodation device B15, terminal line accommodation device B16), two main control devices (100, 200) are placed on standby by the following configuration. Set it on either the system or the active system.

すなわち、第1及び第2の主制御装置の各々は、IPネットワーク(51~53,55)に接続する通信部(43)と、以下の運用系/待機系判断処理部を有する。 That is, each of the first and second main control devices has a communication section (43) connected to the IP network (51 to 53, 55) and the following active system/standby system determination processing section.

運用系/待機系判断処理部(33)は、IPネットワークを介して、第1及び第2の主制御装置(100、200)のうちの相手側の主制御装置が運用中であるか否かを判定する判定処理を行い、運用中であると判定した場合には自身を待機系に設定し、運用中ではないと判定した場合には自身を運用系に設定する。 The active system/standby system determination processing unit (33) determines whether or not the other main control device among the first and second main control devices (100, 200) is in operation via the IP network. If it is determined that it is in operation, it sets itself to the standby system, and if it determines that it is not in operation, it sets itself to the active system.

かかる構成により、第1及び第2の主制御装置の各々がIPネットワークを介した通信によって、相手側の主制御装置の運用状況(運用中、待機中)を取得する。これにより、相手側の主制御装置の運用状況を取得すべく第1及び第2の主制御装置同士を接続するケーブル(30、40、50、60)に故障が生じていても、第1及び第2の主制御装置うちの一方を運用系、他方を待機系に適切に設定することが可能となる。 With this configuration, each of the first and second main control devices obtains the operating status (in operation, on standby) of the other main control device through communication via the IP network. As a result, even if a failure occurs in the cables (30, 40, 50, 60) that connect the first and second main control devices to obtain the operational status of the other party's main control device, the first and second main control devices It becomes possible to appropriately set one of the second main controllers as an active system and the other as a standby system.

次に、主制御装置100及び200のうちの一方が送信したARPリプライメッセージ111を、他方で受信できなかったが故に主制御装置100及び200が共に運用系になった状態からの復帰(一方を運用系、他方を待機系)方法について、図6に示す通信フローを参照しつつ説明する。 Next, the main controllers 100 and 200 return from the state in which both became active systems because the other could not receive the ARP reply message 111 that was sent by one of the main controllers (one The method (one for the active system and the other for the standby system) will be explained with reference to the communication flow shown in FIG.

図6は、主制御装置200が起点となった障害対応処理によって、主制御装置100、200及びイーサネットスイッチ51間で為される通信動作の一例を示す通信フロー図である。 FIG. 6 is a communication flow diagram illustrating an example of communication operations performed between the main control devices 100, 200 and the Ethernet switch 51 by failure handling processing initiated by the main control device 200.

図6に示すように、先ず、運用系の主制御装置200のIP通信部43が、ターゲットIPアドレスとしてIPアドレス#0、及び主制御装置200のMACアドレス♯2を表すARP要求メッセージ110を、イーサネットスイッチ51に送信する。つまり、主制御装置200は、ブロードキャストIPパケットとしてのARP要求メッセージ110を送信し、ARPリプライメッセージ111の返信を待つ。ここで、主制御装置200がARPリプライメッセージ111を受信した場合、IPアドレス#0を重複して使用する運用中の機器が存在することになる。そこで、主制御装置200は、ARPリプライメッセージ111に含まれる送信元のMACアドレスを確認することで、当該運用中の機器が主制御装置100であるか否かを判定する。この際、ARPリプライメッセージ111の送信元のMACアドレスは、運用中の主制御装置100のMACアドレスであることから、主制御装置200は、運用系の重複を避けるために、自装置を運用系から待機系に切り替える。そして、主制御装置200は、自装置の状態が待機中であり、相手装置の状態が運用中であることを示す運用状態情報31をメモリRGに上書きする。 As shown in FIG. 6, first, the IP communication unit 43 of the active main control device 200 sends an ARP request message 110 representing IP address #0 as the target IP address and MAC address #2 of the main control device 200. The data is sent to the Ethernet switch 51. That is, the main control device 200 transmits an ARP request message 110 as a broadcast IP packet, and waits for a reply from an ARP reply message 111. Here, if the main control device 200 receives the ARP reply message 111, it means that there is a device in operation that uses IP address #0 redundantly. Therefore, the main control device 200 determines whether the device in operation is the main control device 100 by checking the MAC address of the transmission source included in the ARP reply message 111. At this time, since the MAC address of the source of the ARP reply message 111 is the MAC address of the main control device 100 in operation, the main control device 200 sets its own device as the active system to avoid duplication of the active system. Switch to standby system. Then, the main control device 200 overwrites the operation state information 31 in the memory RG indicating that the state of the own device is on standby and the state of the partner device is in operation.

ところで、上記した復帰方法では、運用系となってしまった主制御装置100及び200のうちの一方(主制御装置200)が障害対応処理を実行している。 By the way, in the above-described recovery method, one of the main control devices 100 and 200 (main control device 200) that has become the active system executes failure handling processing.

しかしながら、主制御装置100及び200が共に障害対応処理を実施する場合があり、主制御装置100及び200の双方で同時に運用系/待機系の切り替えが起こる可能性がある。 However, both the main controllers 100 and 200 may perform failure handling processing, and there is a possibility that both the main controllers 100 and 200 are switched between the active system and the standby system at the same time.

図7は、主制御装置100及び200の各々が同時に障害対応処理を実行した際に、主制御装置100、200及びイーサネットスイッチ51間で為される通信動作を示す通信フロー図である。 FIG. 7 is a communication flow diagram showing communication operations performed between the main control devices 100 and 200 and the Ethernet switch 51 when each of the main control devices 100 and 200 simultaneously executes failure handling processing.

つまり、前述した状態問合せ信号101及び状態問合せ応答信号102により故障が検知されると、図7に示すように、主制御装置200がARP要求メッセージ110をイーサネットスイッチ51経由で主制御装置100に送信すると共に、主制御装置100がARP要求メッセージ112をイーサネットスイッチ51経由で主制御装置200に送信する。この際、主制御装置100は、ARP要求メッセージ110を受信すると、ARPリプライメッセージ111をイーサネットスイッチ51経由で主制御装置200に返送する。また、主制御装置200は、ARP要求メッセージ112を受信すると、ARPリプライメッセージ113をイーサネットスイッチ51経由で主制御装置100に返送する。 That is, when a failure is detected by the status inquiry signal 101 and status inquiry response signal 102 described above, the main controller 200 sends an ARP request message 110 to the main controller 100 via the Ethernet switch 51, as shown in FIG. At the same time, the main control device 100 transmits an ARP request message 112 to the main control device 200 via the Ethernet switch 51. At this time, upon receiving the ARP request message 110, the main control device 100 returns an ARP reply message 111 to the main control device 200 via the Ethernet switch 51. Further, upon receiving the ARP request message 112, the main control device 200 returns an ARP reply message 113 to the main control device 100 via the Ethernet switch 51.

よって、主制御装置100及び200の各々は、相手側の主制御装置から返送されたARPリプライメッセージにより、当該相手側の主制御装置もIPアドレス#0を用いて通信動作を行う運用中の機器であると判断し、自身を運用系から待機系に切り替えてしまう。このように、運用中の主制御装置の無用な系切替は、提供中の通話や各種サービスの中断や終了を招くおそれがある。 Therefore, each of the main control devices 100 and 200 receives the ARP reply message returned from the main control device of the other party, and the main control device of the other party also identifies the device in operation that performs communication operations using IP address #0. It determines that it is, and switches itself from the active system to the standby system. In this way, unnecessary system switching of the main control device during operation may lead to interruption or termination of telephone calls and various services being provided.

そこで、二重化通信装置500では、主制御装置100及び200各々に、系切替えを実施する優先度をもたせている。つまり、例えば主制御装置100のメモリRGには第1の優先度を表す二重化制御データ32が保持されており、主制御装置200のメモリRGには、第1の優先度よりも低い第2の優先度を表す二重化制御データ32が保持されている。この際、主制御装置100及び200のうち、この優先度が高い方で運用系への系切替が行われる。逆に待機系への系切替は優先度が低い方で行う。例えば、主制御装置100及び200の各々は、相手側の主制御装置も運用中の機器であると判断した場合には、第1の優先度よりも低い第2の優先度を表す二重化制御データ32が保持されている主制御装置200では、障害が検出される度に運用系から待機系に系切替が行われる一方、第2の優先度よりも高い第1の優先度を表す二重化制御データ32が保持されている主制御装置100では、障害が連続して2回検出されなければ系切替が実施されない。また、主制御装置100及び200の各々は、相手側の主制御装置も運用中の機器ではないと判断した場合には、第2の優先度よりも高い第1の優先度を表す二重化制御データ32が保持されている主制御装置100では、障害が検出される度に待機系から運用系に系切替が行われる一方、第1の優先度よりも低い第2の優先度を表す二重化制御データ32が保持されている主制御装置200では、障害が連続して2回検出されなければ系切替が実施されない。 Therefore, in the duplex communication device 500, each of the main control devices 100 and 200 is given a priority for implementing system switching. That is, for example, the memory RG of the main control device 100 holds the redundant control data 32 representing the first priority, and the memory RG of the main control device 200 holds the second control data 32 representing the first priority. Duplex control data 32 representing priority is held. At this time, among the main control devices 100 and 200, the one with the higher priority is switched to the active system. Conversely, system switching to the standby system is performed using the system with a lower priority. For example, if each of the main control devices 100 and 200 determines that the other main control device is also an operating device, each of the main control devices 100 and 200 generates redundant control data representing a second priority lower than the first priority. In the main control device 200 where No. 32 is maintained, system switching is performed from the active system to the standby system every time a failure is detected. In the main control device 100 in which 32 is maintained, system switching is not performed unless a failure is detected twice in succession. In addition, if each of the main control devices 100 and 200 determines that the other main control device is also not an operating device, each of the main control devices 100 and 200 transmits redundant control data representing a first priority higher than the second priority. In the main control device 100 where No. 32 is maintained, system switching is performed from the standby system to the active system every time a failure is detected. In the main control device 200 in which 32 is maintained, system switching is not performed unless a failure is detected twice in succession.

図8は、主制御装置100及び200の各々が、上記した系切替を行うための優先度を考慮した障害対応処理を実行した際に主制御装置100、200及びイーサネットスイッチ51間で為される通信動作を示す通信フロー図である。 FIG. 8 shows what is done between the main controllers 100 and 200 and the Ethernet switch 51 when each of the main controllers 100 and 200 executes the failure handling process that takes into account the priority for system switching described above. FIG. 3 is a communication flow diagram showing communication operations.

前述した状態問合せ信号101及び状態問合せ応答信号102により、ケーブル30、40、50又は60の故障が検知されると、主制御装置200がARP要求メッセージ110をイーサネットスイッチ51経由で主制御装置100に送信する。更に、主制御装置100がARP要求メッセージ112をイーサネットスイッチ51経由で主制御装置200に送信する。この際、主制御装置100は、ARP要求メッセージ110を受信すると、ARPリプライメッセージ111をイーサネットスイッチ51経由で主制御装置200に返送する。また、主制御装置200は、ARP要求メッセージ112を受信すると、ARPリプライメッセージ113をイーサネットスイッチ51経由で主制御装置100に返送する。 When a failure of the cable 30, 40, 50, or 60 is detected by the status inquiry signal 101 and status inquiry response signal 102 described above, the main controller 200 sends an ARP request message 110 to the main controller 100 via the Ethernet switch 51. Send. Furthermore, the main control device 100 sends an ARP request message 112 to the main control device 200 via the Ethernet switch 51. At this time, upon receiving the ARP request message 110, the main control device 100 returns an ARP reply message 111 to the main control device 200 via the Ethernet switch 51. Further, upon receiving the ARP request message 112, the main control device 200 returns an ARP reply message 113 to the main control device 100 via the Ethernet switch 51.

主制御装置100及び200の各々は、相手側の主制御装置から返送されたARPリプライメッセージを受けると、当該ARPリプライメッセージに基づき相手側の主制御装置もIPアドレス#0を用いて通信動作を行う運用中の機器であると判断する。ここで、主制御装置100及び200の各々は、自身のメモリRGに記憶されている二重化制御データ32を確認する。この際、主制御装置200の二重化制御データ32は第2の優先度(優先度2)を表し、主制御装置100の二重化制御データ32は第1の優先度(優先度1)を表す。よって、主制御装置200は、自身を運用系から待機系に切り替える処理を行う。一方、主制御装置100の二重化制御データ32は、第2の優先度よりも優先度が高い第1の優先度を表す。この際、第1の優先度によれば、主制御装置100は、上記した故障検知動作が連続して2回行われた場合に系切替が可能となるので、現段階(1回の故障検知)では、系切替は行わない。よって、主制御装置100は、現在の状態である運用系を維持する。 When each of the main control devices 100 and 200 receives an ARP reply message returned from the main control device on the other side, the main control device on the other side also performs a communication operation using IP address #0 based on the ARP reply message. It is determined that the device is in operation. Here, each of the main controllers 100 and 200 checks the duplication control data 32 stored in its own memory RG. At this time, the duplex control data 32 of the main controller 200 represents the second priority (priority 2), and the duplex control data 32 of the main controller 100 represents the first priority (priority 1). Therefore, the main control device 200 performs a process of switching itself from the active system to the standby system. On the other hand, the duplex control data 32 of the main controller 100 represents a first priority higher than the second priority. At this time, according to the first priority, the main controller 100 can perform system switching when the above-mentioned failure detection operation is performed twice in a row. ), system switching is not performed. Therefore, the main control device 100 maintains the current state of the active system.

このように、二重化通信装置500では、主制御装置100及び200の各々で系切替を実行する優先度を異ならせることで、運用系の状態を無用に待機系に切り替えてしまうという無用な動作を回避する。 In this way, in the redundant communication device 500, the main controllers 100 and 200 each have different priorities for performing system switching, thereby preventing unnecessary operation of switching the state of the active system to the standby system. To avoid.

尚、主制御装置200では、当該第2の優先度に基づき、障害検出後、所定の第1時間遅延させてから系切替を行い、主制御装置100では、第1の優先度に基づき、障害検出後、上記第1時間よりも長い第2時間遅延させてから系切替えを行うようにしても良い。 The main control device 200 performs system switching after a predetermined first time delay after detecting the fault based on the second priority, and the main control device 100 performs system switching based on the first priority. After the detection, system switching may be performed after a delay of a second time longer than the first time.

また、二重化制御データ32としては、障害検知前に動作していた状態による優先度(運用系>待機系>障害>起動中)や、主制御装置に予め設定されている識別番号(1>2)を用いても良い。 In addition, the redundancy control data 32 includes the priority according to the state in which it was operating before the failure was detected (active system > standby system > failure > starting) and the identification number preset in the main control device (1 > 2 ) may be used.

尚、上記実施例では、主制御装置が故障した場合の耐障害性を高める適用例を説明した。ところで、図2に示す端末回線収容装置は適宜、追加可能なビルディングブロック構成である。よって、複数の端末回線収容装置のフォールトトレラント性として故障部位に応じた系切替をすると、多くの端末回線収容装置が利用できるか否かの判断に、上記した二重化制御データ及びその判断材料の状態検出部を追加することで、更なる冗長化構成装置に適用することが可能となる。 Incidentally, in the above embodiment, an application example for increasing fault tolerance in the case where the main control device fails has been described. By the way, the terminal line accommodation device shown in FIG. 2 has a building block configuration that can be added as appropriate. Therefore, if system switching is performed according to the failure part to improve the fault tolerance of multiple terminal line accommodation devices, the state of the duplication control data and its judgment materials described above will be used to determine whether many terminal line accommodation devices can be used. By adding a detection unit, it becomes possible to apply the present invention to further redundant configuration devices.

以上のように、二重化通信装置500によれば、主制御装置100及び200同士を接続するケーブル(30、40、50、60)が故障していても、IPネットワーク機器との通信で入手したIP情報を自装置のIP情報と照合することで、主制御装置100及び200のうちの一方を運用系、他方を待機系に正しく設定することが可能となる。 As described above, according to the redundant communication device 500, even if the cables (30, 40, 50, 60) connecting the main control devices 100 and 200 are out of order, the IP address obtained through communication with the IP network device By comparing the information with the IP information of the own device, it becomes possible to correctly set one of the main control devices 100 and 200 as an active system and the other as a standby system.

これにより、外部のIPネットワーク機器に対しても1つのIPアドレスに対して複数のMACアドレスが通知されるような外部機器に対して、混乱を招く動作を防止することも可能となる。 As a result, it is also possible to prevent operations that would cause confusion to external IP network devices in which multiple MAC addresses are notified for one IP address.

更に、ARP要求メッセージの送信タイミングによっては、障害検知時において、主制御装置100及び200が共に運用系から待機系に遷移して、両者が共に待機系になりシステムが機能提供できない状態に陥る可能性についても、系切替を実行する優先度を表す二重化制御データを用いることで回避している。更に、障害状態が継続した場合に前述した回復処理が繰り返されることも、上記した二重化制御データを用いることで防止することができる。 Furthermore, depending on the transmission timing of the ARP request message, when a failure is detected, both the main controllers 100 and 200 may transition from the active system to the standby system, causing both to become standby systems and the system to be unable to provide functions. This issue is also avoided by using redundant control data that indicates the priority for executing system switching. Further, by using the duplication control data described above, it is possible to prevent the above-mentioned recovery process from being repeated if the failure state continues.

11、12 端末回線収容部A
13~16 端末回線収容部B
30、40、50、60 ケーブル
32 二重化制御データ
33 運用系/待機系判断処理部
42 IP重畳処理部
43 IP通信部
100、200 主制御装置
500 二重化通信装置
11, 12 Terminal line accommodation section A
13-16 Terminal line accommodation section B
30, 40, 50, 60 Cable 32 Redundant control data 33 Active system/standby system judgment processing section 42 IP superimposition processing section 43 IP communication section 100, 200 Main controller 500 Redundant communication device

Claims (7)

第1及び第2の通信機能部と、
待機系又は運用系に設定され、前記運用系に設定されている場合に前記第1の通信機能部及び前記第2の通信機能部の動作を制御する第1及び第2の主制御装置と、を含む二重化構成の通信装置であって、
前記第1及び第2の主制御装置の各々は、
IPネットワークに接続する通信部と、
前記IPネットワークを介して、前記第1及び第2の主制御装置のうちの相手側の主制御装置が運用中であるか否かを判定する判定処理を行い、運用中であると判定した場合には自身を前記待機系に設定する一方、運用中ではないと判定した場合には自身を前記運用系に設定する系切替を行う運用系/待機系判断処理部と、を有することを特徴とする通信装置。
first and second communication functional units;
first and second main control devices that are set to a standby system or an active system, and control operations of the first communication function unit and the second communication function unit when set to the active system; A communication device with a duplex configuration including:
Each of the first and second main controllers includes:
a communications department that connects to the IP network;
If a determination process is performed to determine whether or not the other main controller of the first and second main controllers is in operation via the IP network, and it is determined that it is in operation; The system is characterized by having an active system/standby system determination processing unit that performs system switching that sets itself as the standby system, and sets itself as the active system when it is determined that it is not in operation. communication equipment.
前記通信部は、前記運用系の前記主制御装置のIPアドレスに対応したMACアドレスを要求するARP要求を前記IPネットワークに送信し、引き続き前記ARP要求に対する応答としてのARPリプライの受信待ちを行い、
前記運用系/待機系判断処理部は、前記ARPリプライが受信され且つ前記ARPリプライにて示される前記MACアドレスが前記相手側の主制御装置のMACアドレスと一致している場合に前記相手側の主制御装置が運用中であると判定する一方、前記ARPリプライを受信できなかった場合には前記相手側の主制御装置は運用中ではないと判定することを特徴とする請求項1に記載の通信装置。
The communication unit transmits an ARP request requesting a MAC address corresponding to the IP address of the main control device of the active system to the IP network, and subsequently waits to receive an ARP reply as a response to the ARP request,
The active system/standby system determination processing section determines whether the other party's main control device has a MAC address when the ARP reply is received and the MAC address indicated in the ARP reply matches the MAC address of the main controller of the other party. 2. The main control device according to claim 1, wherein it is determined that the main control device is in operation, but if the ARP reply cannot be received, it is determined that the main control device on the other side is not in operation. Communication device.
前記第1及び第2の主制御装置同士が前記通信装置内の通信経路を介して接続されており、
前記運用系/待機系判断処理部は、前記相手側の主制御装置に障害が発生した場合又は前記通信経路に障害が発生した場合に、前記判定処理及び前記系切替を実施することを特徴とする請求項1又は2に記載の通信装置。
The first and second main control devices are connected to each other via a communication path within the communication device,
The active system/standby system determination processing unit performs the determination process and the system switching when a failure occurs in the main control device of the other party or when a failure occurs in the communication path. The communication device according to claim 1 or 2.
前記第1及び第2の主制御装置の各々は、自身が現時点で運用中及び待機中のうちのいずれの状態にあるのかを表す状態問合せ信号を前記ケーブルを介して前記相手側の主制御部に送信し、前記状態問合せ信号に対する応答である状態問合せ応答信号を前記ケーブルを介して受信できなかった場合に前記障害が発生していると判断することを特徴とする請求項3に記載の通信装置。 Each of the first and second main controllers transmits a status inquiry signal indicating whether it is currently in operation or on standby to the main controller of the other party via the cable. 4. Communication according to claim 3, characterized in that it is determined that the failure has occurred when a status inquiry response signal that is a response to the status inquiry signal cannot be received via the cable. Device. 前記第1及び第2の主制御装置の各々には、前記系切替を実行する優先度が割り当てられており、
前記第1及び第2の主制御装置の各々が相手側の主制御装置が運用中であると判定した場合には、前記第1及び第2の主制御装置のうちで低い方の前記優先度が割り当てられている主制御装置の前記運用系/待機系判断処理部で前記系切替を実行することを特徴とする請求項1~4のいずれか1に記載の通信装置。
Each of the first and second main control devices is assigned a priority for executing the system switching,
When each of the first and second main control devices determines that the other main control device is in operation, the priority of the lower one of the first and second main control devices is determined. 5. The communication device according to claim 1, wherein the system switching is executed by the active system/standby system determination processing section of the main control device to which the communication device is assigned.
前記第1及び第2の主制御装置の各々には、前記系切替を実行する優先度が割り当てられており、
前記第1及び第2の主制御装置の各々が相手側の主制御装置が運用中ではないと判定した場合には、前記第1及び第2の主制御装置のうちで高い方の前記優先度が割り当てられている主制御装置の前記運用系/待機系判断処理部で前記系切替を実行することを特徴とする請求項1~5のいずれか1に記載の通信装置。
Each of the first and second main control devices is assigned a priority for executing the system switching,
If each of the first and second main control devices determines that the other main control device is not in operation, the priority of the higher one of the first and second main control devices The communication device according to any one of claims 1 to 5, wherein the system switching is executed by the active system/standby system determination processing unit of the main control device to which the communication device is assigned.
第1及び第2の通信機能部と、待機系又は運用系に設定され前記運用系に設定されている場合に前記第1の通信機能部及び前記第2の通信機能部の動作を制御する第1及び第2の主制御装置と、を含む二重化構成の通信装置の前記第1及び第2の主制御装置の各々が行う通信方法であって、
IPネットワークに接続することで、前記IPネットワークを介して、前記第1及び第2の主制御装置のうちの相手側の主制御装置が運用中であるか否かを判定し、
運用中であると判定した場合には自身を前記待機系に設定する一方、運用中ではないと判定した場合には自身を前記運用系に設定する系切替を行うことを特徴とする通信方法。
a first communication function unit and a second communication function unit; and a first communication function unit that is set to a standby system or an active system and controls operations of the first communication function unit and the second communication function unit when the system is set to the active system. A communication method performed by each of the first and second main control devices of a communication device with a duplex configuration including:
By connecting to an IP network, determining whether the other main controller of the first and second main controllers is in operation via the IP network;
A communication method characterized by performing system switching to set itself as the standby system when it is determined that it is in operation, and to set itself as the active system when it is determined that it is not in operation.
JP2022028910A 2022-02-28 2022-02-28 Communication device and communication method Pending JP2023125007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022028910A JP2023125007A (en) 2022-02-28 2022-02-28 Communication device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022028910A JP2023125007A (en) 2022-02-28 2022-02-28 Communication device and communication method

Publications (1)

Publication Number Publication Date
JP2023125007A true JP2023125007A (en) 2023-09-07

Family

ID=87887895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022028910A Pending JP2023125007A (en) 2022-02-28 2022-02-28 Communication device and communication method

Country Status (1)

Country Link
JP (1) JP2023125007A (en)

Similar Documents

Publication Publication Date Title
US8861507B2 (en) Systems and methods for automatic public switched telephone network backup of voice over internet protocol services
JP2004186766A (en) Backup control apparatus, and method for backing up control apparatus
JP4480351B2 (en) IP-PBX backup system and failure handling method for the system
CN112532452A (en) Switching method, device and equipment of communication terminal main and standby servers and storage medium
JP4482050B2 (en) Telephone system and its gateway, and redundant switching method
JP2006166244A (en) Network telephone system, and main device of the network telephone system
JP4387937B2 (en) Telephone system and switching system
JP2010239216A (en) Call control method
JP2003258843A (en) System and method for switching inter-lan connection device
JP2023125007A (en) Communication device and communication method
JP2007266737A (en) Call control system and method, and server
WO2007006198A1 (en) A method for realizing the dual homing in the network with separated controlling and bearing
JP4757719B2 (en) Network system, IP telephone terminal, and network device switching method used therefor
JP4038091B2 (en) Communication terminal, communication system including the same, and call control failure countermeasure method
JP2001186165A (en) Information communication system and connection method for call controller
JP2009033453A (en) Telephone exchange apparatus and control method used in the telephone exchange apparatus
JP4973151B2 (en) IP telephone equipment
JP6387603B2 (en) Redundant communication apparatus and system switching method thereof
TWI451264B (en) Signal transformation apparatus with redundant mechanism and method of implementing redundancy
JPH0991233A (en) Network connection device
JP2009055342A (en) Media gateway system compatible with sip
JP2005191970A (en) Telephone switching apparatus and network telephone switching system
JP2023034908A (en) Communication system
JP4235818B2 (en) VoIP device, communication system, and communication control method
JPH07264240A (en) Pvc backup system