JP2012133622A - Computer switching system, computer switching program, and computer switching method - Google Patents

Computer switching system, computer switching program, and computer switching method Download PDF

Info

Publication number
JP2012133622A
JP2012133622A JP2010285752A JP2010285752A JP2012133622A JP 2012133622 A JP2012133622 A JP 2012133622A JP 2010285752 A JP2010285752 A JP 2010285752A JP 2010285752 A JP2010285752 A JP 2010285752A JP 2012133622 A JP2012133622 A JP 2012133622A
Authority
JP
Japan
Prior art keywords
computer
active
host computer
network
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.)
Granted
Application number
JP2010285752A
Other languages
Japanese (ja)
Other versions
JP5651004B2 (en
Inventor
Nobuaki Tanaka
伸明 田中
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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech 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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2010285752A priority Critical patent/JP5651004B2/en
Publication of JP2012133622A publication Critical patent/JP2012133622A/en
Application granted granted Critical
Publication of JP5651004B2 publication Critical patent/JP5651004B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To perform autonomous system switching of a host computer without any extra equipment such as a monitor device.SOLUTION: A computer switching system 1 includes an in-use computer 3, a standby computer 4, a network 7 made duplex by a first network 7a and a second network 7b, a communication path 2, a first repeater 5, and a second repeater 6. The first repeater 5 connects the in-use computer 3 and standby computer 4 to the first network 7a. The second repeater 6 connects the in-use computer 3 and standby computer 4 to the second network 7b. The communication path 2 connects the in-use computer 3 and standby computer 4 to each other. The in-use computer 3 detects the first repeater 5 and second repeater 6 being unable to communicate, and informs the standby computer 4 of a switching request for switching a service providing source to the standby computer 4, through the communication path 2. The standby computer 4 informs a plurality of terminal devices 8 of the update of the computer providing services, upon receiving the switching request.

Description

本発明は、計算機切替システム、計算機切替プログラム、および計算機切替方法に関する。   The present invention relates to a computer switching system, a computer switching program, and a computer switching method.

ネットワークを通じて接続する複数の端末装置に対してホスト計算機がサービスを提供するシステムでは、サービスの信頼性向上のため、ホスト計算機が現用計算機と予備計算機で2重化されたものが知られている。また、システムの信頼性向上のために、端末装置とホスト計算機間の通信経路を冗長に構成したネットワークが知られている(たとえば、特許文献1参照)。   In a system in which a host computer provides a service to a plurality of terminal devices connected through a network, there is known a system in which a host computer is duplicated with an active computer and a standby computer in order to improve service reliability. In addition, a network in which a communication path between a terminal device and a host computer is configured redundantly to improve system reliability is known (see, for example, Patent Document 1).

このようなホスト計算機(現用計算機)の通信ポートと直接接続するネットワーク機器(直近スイッチ)の通信ポートとの間で2重障害が生じると、ホスト計算機は、現用計算機から予備計算機に系切替をおこなう必要がある。   If a double failure occurs between the communication port of such a host computer (active computer) and the communication port of the network device (nearest switch) directly connected, the host computer switches the system from the active computer to the standby computer. There is a need.

こうした障害の検出は、ホスト計算機の通信ポートと直接接続するネットワーク機器の通信ポートとの間の通信を監視する監視装置に頼ることができる。監視装置は、監視によりリンクダウンの発生を検出し、管理者に報知する。管理者は、報知にもとづいて、ホスト計算機の系切替操作をおこなう。   Detection of such a failure can rely on a monitoring device that monitors communication between the communication port of the host computer and the communication port of the network device directly connected. The monitoring device detects the occurrence of link down by monitoring and notifies the administrator. The administrator performs the system switching operation of the host computer based on the notification.

特開2010−122843号公報JP 2010-122843 A

しかしながら、運用するシステムとは別に監視装置を設けることは、コストアップに直結して望ましくない。また、リンクダウンしないモードの障害について、監視装置は、障害を検出できない場合がある。また、運用するシステムが正常であっても、監視装置が異常を誤検出する場合がある。また、管理装置が異常を報知した場合に、管理者がおこなう系切替操作は、時間がかかるうえ、管理者にとって作業負担が大きい。   However, it is not desirable to provide a monitoring device separately from the operating system because it directly leads to an increase in cost. In addition, for a failure in a mode that does not link down, the monitoring device may not be able to detect the failure. Even if the operating system is normal, the monitoring device may erroneously detect an abnormality. In addition, when the management device notifies of an abnormality, the system switching operation performed by the administrator takes time, and the work burden on the administrator is large.

本発明は、このような点に鑑みてなされたものであり、監視装置等の余計な機器の追加なしに、自律的にホスト計算機の現用計算機から予備計算機への系切替を可能にする計算機切替システム、計算機切替プログラム、および計算機切替方法の提供を目的とする。   The present invention has been made in view of the above points, and computer switching that enables system switching from an active computer of a host computer to a standby computer autonomously without adding extra equipment such as a monitoring device. An object is to provide a system, a computer switching program, and a computer switching method.

上記課題を解決するために、計算機切替システムは、現用計算機と、予備計算機と、ネットワークと、通信パスと、第1中継装置と、第2中継装置とを備える。
現用計算機は、複数の端末装置にサービスを提供する。予備計算機は、現用計算機に代わって複数の端末装置にサービスを提供可能とする。ネットワークは、第1ネットワークと第2ネットワークで二重化されて、複数の端末装置を接続する。通信パスは、ネットワークと独立して、現用計算機と予備計算機を接続する。第1中継装置は、現用計算機および予備計算機を第1ネットワークと接続する。第2中継装置は、現用計算機および予備計算機を第2ネットワークと接続する。
In order to solve the above problems, the computer switching system includes an active computer, a standby computer, a network, a communication path, a first relay device, and a second relay device.
The active computer provides services to a plurality of terminal devices. The spare computer can provide services to a plurality of terminal devices instead of the active computer. The network is duplexed between the first network and the second network, and connects a plurality of terminal devices. The communication path connects the active computer and the standby computer independently of the network. The first relay device connects the active computer and the standby computer to the first network. The second relay device connects the active computer and the standby computer to the second network.

現用計算機は、検出手段と、切替依頼通知手段とを備える。予備計算機は、更新通知手段を備える。
検出手段は、現用計算機と第1中継装置、および現用計算機と第2中継装置のそれぞれの通信ができない通信不可状態を検出する。切替依頼通知手段は、通信不可状態の検出にもとづいて、複数の端末装置にサービスを提供する計算機を、現用計算機から予備計算機に切り替える切替依頼を、通信パスを介して予備計算機に通知する。
The active computer includes detection means and switching request notification means. The spare computer includes update notification means.
The detecting means detects a communication disabled state in which the active computer and the first relay device, and the active computer and the second relay device cannot communicate with each other. The switching request notification means notifies the standby computer via the communication path of a switching request for switching a computer that provides services to a plurality of terminal devices from the active computer to the standby computer based on the detection of the communication disabled state.

更新通知手段は、切替依頼を受けて、サービスを提供する計算機の更新を複数の端末装置に通知する。
また、上記課題を解決するために、計算機切替システムは、現用計算機と、予備計算機と、ネットワークと、第1中継装置と、第2中継装置とを備える。
The update notification means receives the switching request and notifies the update of the computer providing the service to a plurality of terminal devices.
In order to solve the above problem, the computer switching system includes an active computer, a standby computer, a network, a first relay device, and a second relay device.

現用計算機は、複数の端末装置にサービスを提供する。予備計算機は、現用計算機に代わって複数の端末装置にサービスを提供可能とする。ネットワークは、第1ネットワークと第2ネットワークで二重化されて、複数の端末装置を接続する。第1中継装置は、現用計算機および予備計算機を第1ネットワークと接続する。第2中継装置は、現用計算機および予備計算機を第2ネットワークと接続する。   The active computer provides services to a plurality of terminal devices. The spare computer can provide services to a plurality of terminal devices instead of the active computer. The network is duplexed between the first network and the second network, and connects a plurality of terminal devices. The first relay device connects the active computer and the standby computer to the first network. The second relay device connects the active computer and the standby computer to the second network.

予備計算機は、検出手段と、更新通知手段とを備える。
検出手段は、現用計算機と第1中継装置、および現用計算機と第2中継装置のそれぞれの通信ができない通信不可状態を検出する。更新通知手段は、通信不可状態の検出を受けて、サービスを提供する計算機の更新を複数の端末装置に通知する。
The spare computer includes a detection unit and an update notification unit.
The detecting means detects a communication disabled state in which the active computer and the first relay device, and the active computer and the second relay device cannot communicate with each other. The update notification means receives the detection of the communication disabled state and notifies the update of the computer providing the service to the plurality of terminal devices.

上記の計算機切替システム、計算機切替プログラム、および計算機切替方法によれば、監視装置等の余計な機器の追加なしに、自律的にホスト計算機の現用計算機から予備計算機への系切替を可能にする。   According to the above computer switching system, computer switching program, and computer switching method, it is possible to autonomously switch the system of the host computer from the active computer to the standby computer without adding extra equipment such as a monitoring device.

第1の実施形態の計算機切替システムのブロック図である。It is a block diagram of the computer switching system of 1st Embodiment. 第2の実施形態のトータリゼータシステムの構成例を示す図である。It is a figure which shows the structural example of the totalizer system of 2nd Embodiment. 第2の実施形態の情報処理装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the information processing apparatus of 2nd Embodiment. 第2の実施形態の直近スイッチ0系診断処理のフローチャートである。It is a flowchart of the latest switch 0 system diagnostic process of 2nd Embodiment. 第2の実施形態の直近スイッチ1系診断処理のフローチャートである。It is a flowchart of the latest switch 1 system diagnostic process of 2nd Embodiment. 第2の実施形態の直近スイッチ監視処理のフローチャートである。It is a flowchart of the latest switch monitoring process of 2nd Embodiment. 第2の実施形態の状態通知電文の一例を示す図である。It is a figure which shows an example of the status notification message | telegram of 2nd Embodiment. 第2の実施形態の切替通知送信処理のフローチャートである。It is a flowchart of the switch notification transmission process of 2nd Embodiment. 第2の実施形態のホスト系切替通知電文の一例を示す図である。It is a figure which shows an example of the host system switching notification message | telegram of 2nd Embodiment. 第2の実施形態の計算機切替の一例を示すタイミングチャートである。It is a timing chart which shows an example of computer switching of a 2nd embodiment. 第3の実施形態のトータリゼータシステムの構成例を示す図である。It is a figure which shows the structural example of the totalizer system of 3rd Embodiment. 第3の実施形態の0系パス診断処理のフローチャートである。It is a flowchart of 0 system path diagnosis processing of a 3rd embodiment. 第3の実施形態の1系パス診断処理のフローチャートである。It is a flowchart of 1 system path | pass diagnostic processing of 3rd Embodiment. 第3の実施形態のパス監視処理のフローチャートである。It is a flowchart of the path monitoring process of 3rd Embodiment. 第3の実施形態の計算機切替の一例を示すタイミングチャートである。It is a timing chart which shows an example of computer switching of a 3rd embodiment.

以下、実施形態を図面を参照して説明する。
[第1の実施形態]
まず、第1の実施形態の計算機切替システムについて、図1を用いて説明する。図1は、第1の実施形態の計算機切替システムのブロック図である。
Hereinafter, embodiments will be described with reference to the drawings.
[First Embodiment]
First, the computer switching system of the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram of a computer switching system according to the first embodiment.

計算機切替システム1は、現用計算機3と、予備計算機4と、ネットワーク7と、通信パス2と、第1中継装置5と、第2中継装置6とを備える。ネットワーク7は、第1ネットワーク7aと第2ネットワーク7bで二重化されて、複数の端末装置8を接続する。現用計算機3は、複数の端末装置8にサービスを提供する。現用計算機3は、端末装置8からサービス要求を受け付けて、サービス応答をおこなう。予備計算機4は、現用計算機3に代わって複数の端末装置8にサービスを提供可能とする。   The computer switching system 1 includes an active computer 3, a standby computer 4, a network 7, a communication path 2, a first relay device 5, and a second relay device 6. The network 7 is duplicated by the first network 7a and the second network 7b to connect a plurality of terminal devices 8. The active computer 3 provides services to a plurality of terminal devices 8. The active computer 3 receives a service request from the terminal device 8 and makes a service response. The spare computer 4 can provide services to a plurality of terminal devices 8 in place of the active computer 3.

第1中継装置5は、現用計算機3および予備計算機4を第1ネットワーク7aと接続する。第2中継装置6は、現用計算機3および予備計算機4を第2ネットワーク7bと接続する。通信パス2は、ネットワーク7と独立して、現用計算機3と予備計算機4を接続する。たとえば、通信パス2は、現用計算機3と予備計算機4とを接続するバックグラウンドのネットワークである。バックグラウンドのネットワークは、現用計算機3と予備計算機4とが接続可能な記憶装置などを接続する。   The first relay device 5 connects the active computer 3 and the standby computer 4 to the first network 7a. The second relay device 6 connects the active computer 3 and the standby computer 4 to the second network 7b. The communication path 2 connects the active computer 3 and the standby computer 4 independently of the network 7. For example, the communication path 2 is a background network that connects the active computer 3 and the standby computer 4. The background network connects a storage device to which the active computer 3 and the standby computer 4 can be connected.

現用計算機3は、切替依頼通知手段3aと、検出手段3bとを備える。予備計算機4は、更新通知手段4aを備える。
検出手段3bは、現用計算機3と第1中継装置5、および現用計算機3と第2中継装置6のそれぞれの通信ができない通信不可状態を検出する。すなわち、検出手段3bが検出する通信不可状態は、現用計算機3と複数の端末装置8とが通信をおこなうことができない状態である。また、検出手段3bが検出する通信不可状態は、現用計算機3と予備計算機4とが、第1中継装置5または第2中継装置6を介して通信をおこなうことができない状態でもある。
The active computer 3 includes switching request notification means 3a and detection means 3b. The spare computer 4 includes update notification means 4a.
The detecting means 3b detects a communication disabled state in which the active computer 3 and the first relay device 5 and the active computer 3 and the second relay device 6 cannot communicate with each other. That is, the communication disabled state detected by the detecting unit 3b is a state in which the active computer 3 and the plurality of terminal devices 8 cannot communicate. Further, the communication disabled state detected by the detecting means 3b is a state where the active computer 3 and the standby computer 4 cannot communicate via the first relay device 5 or the second relay device 6.

切替依頼通知手段3aは、検出手段3bによる通信不可状態の検出にもとづいて、複数の端末装置8にサービスを提供する計算機を、現用計算機3から予備計算機4に切り替える切替依頼を、通信パス2を介して予備計算機4に通知する。   The switching request notifying means 3a sends a switching request for switching a computer that provides services to a plurality of terminal devices 8 from the active computer 3 to the standby computer 4 based on the detection of the communication disabled state by the detecting means 3b. To the spare computer 4.

更新通知手段4aは、切替依頼を受けて、サービスを提供する計算機の更新を複数の端末装置8に通知する。
これにより、複数の端末装置8は、サービス提供元が現用計算機3から予備計算機4に切り替えられたことを知ることができ、計算機切替システム1は、複数の端末装置8に対してサービスの提供を継続することができる。また、計算機切替システム1は、監視装置等の余計な機器の追加なしに、自律的にホスト計算機の現用計算機から予備計算機への系切替を可能にする。
In response to the switching request, the update notification unit 4 a notifies the update of the computer that provides the service to the plurality of terminal devices 8.
Thereby, the plurality of terminal devices 8 can know that the service providing source has been switched from the active computer 3 to the standby computer 4, and the computer switching system 1 provides the service to the plurality of terminal devices 8. Can continue. Further, the computer switching system 1 autonomously enables system switching from the active computer of the host computer to the standby computer without adding extra equipment such as a monitoring device.

なお、計算機切替システム1は、現用計算機3、予備計算機4をそれぞれ1台ずつの構成としているが、それぞれが2台以上ずつであってもよい。また、現用計算機3と予備計算機4は、第1中継装置5と第2中継装置6の2台のスイッチを介してネットワーク7と接続しているが、3台以上のスイッチを介してネットワーク7に接続するようにしてもよい。また、ネットワーク7は、第1ネットワーク7aと第2ネットワーク7bで二重化される例を示したが、3つ以上のネットワークで多重化してもよい。   The computer switching system 1 has one active computer 3 and one spare computer 4 each, but two or more of each may be used. Further, the active computer 3 and the standby computer 4 are connected to the network 7 through two switches of the first relay device 5 and the second relay device 6, but are connected to the network 7 through three or more switches. You may make it connect. Moreover, although the network 7 showed the example duplexed by the 1st network 7a and the 2nd network 7b, you may multiplex by three or more networks.

なお、第1中継装置5、第2中継装置6は、通信を中継する中継装置であって、たとえば、スイッチングハブであるが、ルータやレイヤ3スイッチなどであってもよい。
次に、第2の実施形態を用いてより具体的に説明する。
The first relay device 5 and the second relay device 6 are relay devices that relay communication. For example, the first relay device 5 and the second relay device 6 are switching hubs, but may be routers, layer 3 switches, or the like.
Next, it demonstrates more concretely using 2nd Embodiment.

[第2の実施形態]
図2は、第2の実施形態のトータリゼータシステムの構成例を示す図である。第2の実施形態では、ホスト計算機切り替えをおこなうシステムをトータリゼータシステム10を例示して説明するが、これに限らず、ホスト計算機切り替えをおこなうその他のシステムにも適用可能である。
[Second Embodiment]
FIG. 2 is a diagram illustrating a configuration example of a totalizer system according to the second embodiment. In the second embodiment, a system that performs host computer switching will be described using the totalizer system 10 as an example. However, the present invention is not limited to this, and can be applied to other systems that perform host computer switching.

トータリゼータシステム10は、投票券の発券、投票内容の集計、オッズの表示、配当金の計算、投票券の払い戻しなどを管理するシステムである。トータリゼータシステム10は、競馬場、競輪場、競艇場、オートレース場などで投票券の発券管理等をおこなう。   The totalizer system 10 is a system that manages the issuance of voting tickets, the counting of voting contents, the display of odds, the calculation of dividends, the refund of voting tickets, and the like. The totalizer system 10 performs voting ticket management at a racetrack, a bicycle racetrack, a boat racetrack, an auto racetrack, and the like.

トータリゼータシステム10は、現用ホスト計算機11と、予備ホスト計算機12と、SW−HUB(スイッチングハブ)13〜SW−HUB16と、複数の端末17と、ホスト計算機間通信パス23を備える。   The totalizer system 10 includes an active host computer 11, a spare host computer 12, SW-HUB (switching hub) 13 to SW-HUB 16, a plurality of terminals 17, and an inter-host computer communication path 23.

現用ホスト計算機11は、端末17からのサービス要求を受け付けて、サービス応答をおこなう。具体的には、たとえば、端末17は、発券機や払戻機、発払機などであって、端末17は、現用ホスト計算機11に投票券の発券要求や払戻要求をおこない、現用ホスト計算機11は、端末17に許可応答や不許可応答をおこなう。   The active host computer 11 receives a service request from the terminal 17 and makes a service response. Specifically, for example, the terminal 17 is a ticket issuing machine, a withdrawal machine, a issuing machine, etc., and the terminal 17 makes a betting ticket issuance request or a withdrawal request to the active host computer 11, and the active host computer 11 is A permission response or a non-permission response is sent to the terminal 17.

現用ホスト計算機11と端末17は、SW−HUB13〜SW−HUB16を介して接続する。現用ホスト計算機11と端末17の通信経路は、SW−HUB13(第1中継装置)とSW−HUB15を通る経路(第1のネットワーク)と、SW−HUB14(第2中継装置)とSW−HUB16を通る経路(第2のネットワーク)とを有し、冗長化されている。   The active host computer 11 and the terminal 17 are connected via SW-HUB13 to SW-HUB16. The communication path between the active host computer 11 and the terminal 17 is as follows: a route passing through SW-HUB 13 (first relay device) and SW-HUB 15 (first network), SW-HUB 14 (second relay device) and SW-HUB 16. And a redundant path (second network).

予備ホスト計算機12は、現用ホスト計算機11と同様に、端末17からのサービス要求を受け付けて、サービス応答をおこなうことが可能であるが、現用ホスト計算機11がサービス停止した時の代替機として待機する。   The spare host computer 12 can receive a service request from the terminal 17 and send a service response, like the active host computer 11, but waits as an alternative when the active host computer 11 stops service. .

予備ホスト計算機12と端末17は、SW−HUB13〜SW−HUB16を介して接続する。予備ホスト計算機12と端末17の通信経路は、SW−HUB13とSW−HUB15を通る経路(第1のネットワーク)と、SW−HUB14とSW−HUB16を通る経路(第2のネットワーク)とを有し、冗長化されている。   The spare host computer 12 and the terminal 17 are connected via SW-HUB 13 to SW-HUB 16. The communication path between the spare host computer 12 and the terminal 17 has a path (first network) passing through the SW-HUB 13 and SW-HUB 15 and a path (second network) passing through the SW-HUB 14 and SW-HUB 16. It is redundant.

現用ホスト計算機11と端末17間の通信路は、第1のネットワークを通る経路と第2のネットワークを通る経路とで、現用ホスト計算機11に接続する通信線、端末17に接続する通信線を含めて独立している。現用ホスト計算機11は、SW−HUB13、SW−HUB14にそれぞれ独立した通信線で接続する。端末17は、SW−HUB15、SW−HUB16にそれぞれ独立した通信線で接続する。予備ホスト計算機12も現用ホスト計算機11と同様であり、予備ホスト計算機12は、SW−HUB13、SW−HUB14にそれぞれ独立した通信線で接続する。したがって、第1のネットワークを通る経路と第2のネットワークを通る経路のいずれにおいても一部の障害が2つのネットワークの共通の障害となることはない。   The communication path between the active host computer 11 and the terminal 17 is a path that passes through the first network and a path that passes through the second network, and includes a communication line connected to the active host computer 11 and a communication line connected to the terminal 17. Independent. The active host computer 11 is connected to the SW-HUB 13 and SW-HUB 14 via independent communication lines. The terminal 17 is connected to the SW-HUB 15 and SW-HUB 16 via independent communication lines. The spare host computer 12 is the same as the active host computer 11, and the spare host computer 12 is connected to the SW-HUB 13 and SW-HUB 14 by independent communication lines. Therefore, some faults do not become common faults of the two networks in any of the route passing through the first network and the route passing through the second network.

現用ホスト計算機11と予備ホスト計算機12は、SW−HUB13を介した通信接続、SW−HUB14を介した通信接続、SW−HUB13、SW−HUB14を介さないホスト計算機間通信パス23による通信接続が可能になっている。   The active host computer 11 and the spare host computer 12 can be connected via the communication connection 23 via the SW-HUB 13, the communication connection via the SW-HUB 14, and the host computer communication path 23 not via the SW-HUB 13 and SW-HUB 14. It has become.

ホスト計算機間通信パス23は、現用ホスト計算機11と予備ホスト計算機12とを接続するバックグラウンドのネットワークである。バックグラウンドのネットワークは、現用ホスト計算機11と予備ホスト計算機12とが接続可能な記憶装置やデータベースサーバなどを接続する。   The host computer communication path 23 is a background network connecting the active host computer 11 and the spare host computer 12. The background network connects a storage device, a database server, or the like to which the active host computer 11 and the spare host computer 12 can be connected.

次に、実施形態の情報処理装置のハードウェア構成例について図3を用いて説明する。図3は、第2の実施形態の情報処理装置のハードウェア構成例を示す図である。
情報処理装置100は、所要のプログラムを実行することにより、現用ホスト計算機11、または予備ホスト計算機12として動作する。なお、端末17についても、情報処理装置100と同様のハードウェア構成によって実現し得る。
Next, a hardware configuration example of the information processing apparatus according to the embodiment will be described with reference to FIG. FIG. 3 is a diagram illustrating a hardware configuration example of the information processing apparatus according to the second embodiment.
The information processing apparatus 100 operates as the active host computer 11 or the standby host computer 12 by executing a required program. The terminal 17 can also be realized by the same hardware configuration as the information processing apparatus 100.

情報処理装置100は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス107を介してRAM(Random Access Memory)102、HDD(Hard Disk Drive:ハードディスクドライブ)103、通信インタフェース104、グラフィック処理装置105、および入出力インタフェース106が接続されている。   The information processing apparatus 100 is entirely controlled by a CPU (Central Processing Unit) 101. A random access memory (RAM) 102, a hard disk drive (HDD) 103, a communication interface 104, a graphic processing device 105, and an input / output interface 106 are connected to the CPU 101 via a bus 107.

RAM102には、CPU101に実行させるOS(Operating System)のプログラムやホスト計算機としての機能を実現するアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。HDD103には、OSやアプリケーションプログラムが格納される。   The RAM 102 temporarily stores at least a part of an OS (Operating System) program to be executed by the CPU 101 and an application program for realizing a function as a host computer. The RAM 102 stores various data necessary for processing by the CPU 101. The HDD 103 stores an OS and application programs.

グラフィック処理装置105には、モニタ108が接続されている。モニタ108は、帳票認識作業をおこなうための所定のGUI(Graphical User Interface)を表示する。
モニタ108は、たとえば、液晶ディスプレイである。グラフィック処理装置105は、CPU101からの命令に従って、画像をモニタ108に表示させる。
A monitor 108 is connected to the graphic processing device 105. The monitor 108 displays a predetermined GUI (Graphical User Interface) for performing the form recognition work.
The monitor 108 is a liquid crystal display, for example. The graphic processing device 105 displays an image on the monitor 108 in accordance with a command from the CPU 101.

入出力インタフェース106には、キーボード110、マウス111が接続されている。また、入出力インタフェース106は、可搬型記録媒体112への情報の書込み、および可搬型記録媒体112からの情報の読み出しが可能な可搬型記録媒体インタフェースと接続可能になっている。入出力インタフェース106は、キーボード110、マウス111、可搬型記録媒体インタフェースから送られてくる信号を、バス107を介してCPU101に送信する。   A keyboard 110 and a mouse 111 are connected to the input / output interface 106. The input / output interface 106 is connectable to a portable recording medium interface that can write information to the portable recording medium 112 and read information from the portable recording medium 112. The input / output interface 106 transmits signals sent from the keyboard 110, the mouse 111, and the portable recording medium interface to the CPU 101 via the bus 107.

通信インタフェース104は、図示しないネットワークに接続されている。通信インタフェース104は、図示しないネットワークを介して他のコンピュータとの間でデータの送受信をおこなう。   The communication interface 104 is connected to a network (not shown). The communication interface 104 transmits / receives data to / from another computer via a network (not shown).

以上のようなハードウェア構成によって、本実施の形態の処理機能を実現することができる。
なお、情報処理装置100は、それぞれFPGA(Field Programmable Gate Array)やDSP(Digital Signal Processer)などからなるモジュールを含んで構成することもでき、CPU101を有しない構成とすることもできる。その場合、情報処理装置100は、それぞれ不揮発性メモリ(たとえば、EEPROM(Electrically Erasable and Programmable Read Only Memory)、フラッシュメモリ、フラッシュメモリ型メモリカードなど)を備え、モジュールのファームウェアを記憶する。不揮発性メモリは、可搬型記録媒体112、あるいは通信インタフェース104を介してファームウェアを書き込むことができる。このように情報処理装置100は、不揮発性メモリに記憶されているファームウェアを書き換えることにより、ファームウェアの更新をすることもできる。
With the hardware configuration as described above, the processing functions of the present embodiment can be realized.
Note that the information processing apparatus 100 can be configured to include modules each composed of an FPGA (Field Programmable Gate Array), a DSP (Digital Signal Processor), or the like, or can be configured without the CPU 101. In this case, each of the information processing apparatuses 100 includes a nonvolatile memory (for example, an EEPROM (Electrically Erasable and Programmable Read Only Memory), a flash memory, a flash memory type memory card, etc.) and stores module firmware. The nonvolatile memory can write firmware via the portable recording medium 112 or the communication interface 104. As described above, the information processing apparatus 100 can update the firmware by rewriting the firmware stored in the nonvolatile memory.

次に、現用ホスト計算機11が実行する直近スイッチ0系診断処理、直近スイッチ1系診断処理、直近スイッチ監視処理について図4から図7を用いて詳細に説明する。図4は、第2の実施形態の直近スイッチ0系診断処理のフローチャートである。図5は、第2の実施形態の直近スイッチ1系診断処理のフローチャートである。図6は、第2の実施形態の直近スイッチ監視処理のフローチャートである。図7は、第2の実施形態の状態通知電文の一例を示す図である。   Next, the most recent switch 0 system diagnosis process, the most recent switch 1 system diagnosis process, and the most recent switch monitoring process executed by the active host computer 11 will be described in detail with reference to FIGS. FIG. 4 is a flowchart of the latest switch 0 system diagnosis processing according to the second embodiment. FIG. 5 is a flowchart of the latest switch 1 system diagnosis processing according to the second embodiment. FIG. 6 is a flowchart of the latest switch monitoring process according to the second embodiment. FIG. 7 is a diagram illustrating an example of a status notification message according to the second embodiment.

現用ホスト計算機11は、所定周期で直近スイッチ0系診断処理、直近スイッチ1系診断処理を実行する。直近スイッチ0系処理は、現用ホスト計算機11とSW−HUB13との間の通信(端末通信パス0)の正常を確認する処理である。直近スイッチ1系処理は、現用ホスト計算機11とSW−HUB14との間の通信(端末通信パス1)の正常を確認する処理である。SW−HUB13とSW−HUB14は、いずれも、すべての端末17と通信可能に接続されているため、現用ホスト計算機11は、SW−HUB13とSW−HUB14のうち、いずれかとの通信の接続が確認できれば、端末17との通信が期待できる。   The active host computer 11 executes the latest switch 0 system diagnosis process and the latest switch 1 system diagnosis process at a predetermined cycle. The latest switch 0 system processing is processing for confirming normality of communication (terminal communication path 0) between the active host computer 11 and the SW-HUB 13. The latest switch 1 system process is a process of confirming normality of communication (terminal communication path 1) between the active host computer 11 and the SW-HUB 14. Since both the SW-HUB 13 and the SW-HUB 14 are communicably connected to all the terminals 17, the active host computer 11 confirms the communication connection with either the SW-HUB 13 or the SW-HUB 14. If possible, communication with the terminal 17 can be expected.

まず、現用ホスト計算機11が実行する直近スイッチ0系診断処理を図4を用いて説明する。
[ステップS11]現用ホスト計算機11は、直近スイッチ0系(SW−HUB13)に診断要求を送信する。診断要求は、任意のネットワーク管理プロトコル(たとえば、SNMP(Simple Network Management Protocol)やICMP(Internet Control Message Protocol)を用いることができる。
First, the latest switch 0 system diagnosis process executed by the active host computer 11 will be described with reference to FIG.
[Step S11] The active host computer 11 transmits a diagnosis request to the latest switch 0 system (SW-HUB 13). An arbitrary network management protocol (for example, SNMP (Simple Network Management Protocol) or ICMP (Internet Control Message Protocol)) can be used for the diagnosis request.

[ステップS12]現用ホスト計算機11は、診断要求から診断応答までの時間を監視する監視タイマを起動する。
[ステップS13]現用ホスト計算機11は、直近スイッチ0系からの診断応答の有無を判定する。現用ホスト計算機11は、直近スイッチ0系からの診断応答があれば、ステップS16にすすみ、診断応答がなければ、ステップS14にすすむ。
[Step S12] The active host computer 11 starts a monitoring timer for monitoring the time from the diagnosis request to the diagnosis response.
[Step S13] The active host computer 11 determines whether there is a diagnostic response from the latest switch 0 system. The active host computer 11 proceeds to step S16 if there is a diagnostic response from the latest switch 0 system, and proceeds to step S14 if there is no diagnostic response.

[ステップS14]現用ホスト計算機11は、ステップS12で起動した監視タイマがタイムアウトしたか否かを判定する。現用ホスト計算機11は、監視タイマがタイムアウトしたならば、ステップS15にすすみ、タイムアウトしていないならば、ステップS13にもどる。   [Step S14] The active host computer 11 determines whether or not the monitoring timer started in step S12 has timed out. The active host computer 11 proceeds to step S15 if the monitoring timer has timed out, and returns to step S13 if it has not timed out.

[ステップS15]現用ホスト計算機11は、直近スイッチ0系からの監視時間内の応答がないため、直近スイッチ0系に異常ありとする異常フラグ(直近スイッチ0系監視フラグ)をセットして、直近スイッチ0系診断処理を終了する。   [Step S15] Since there is no response within the monitoring time from the latest switch 0 system, the active host computer 11 sets an abnormality flag (the latest switch 0 system monitoring flag) indicating that there is an abnormality in the latest switch 0 system, and the latest The switch 0 system diagnosis process is terminated.

[ステップS16]現用ホスト計算機11は、直近スイッチ0系からの監視時間内の応答があったため、直近スイッチ0系に異常なしとする正常フラグ(直近スイッチ0系監視フラグ)をセットして、直近スイッチ0系診断処理を終了する。   [Step S16] Since there is a response within the monitoring time from the latest switch 0 system, the active host computer 11 sets a normal flag (the latest switch 0 system monitoring flag) indicating that there is no abnormality in the latest switch 0 system. The switch 0 system diagnosis process is terminated.

このように、現用ホスト計算機11は、所定周期で直近スイッチ0系の通信を診断する。
次に、直近スイッチ0系診断処理と同様に現用ホスト計算機11が実行する直近スイッチ1系診断処理を図5を用いて説明する。
In this way, the active host computer 11 diagnoses the communication of the latest switch 0 system at a predetermined cycle.
Next, the most recent switch 1 system diagnosis process executed by the active host computer 11 in the same manner as the most recent switch 0 system diagnosis process will be described with reference to FIG.

[ステップS21]現用ホスト計算機11は、直近スイッチ1系(SW−HUB14)に診断要求を送信する。
[ステップS22]現用ホスト計算機11は、診断要求から診断応答までの時間を監視する監視タイマを起動する。
[Step S21] The active host computer 11 transmits a diagnosis request to the latest switch 1 system (SW-HUB 14).
[Step S22] The active host computer 11 starts a monitoring timer for monitoring the time from the diagnosis request to the diagnosis response.

[ステップS23]現用ホスト計算機11は、直近スイッチ1系からの診断応答の有無を判定する。現用ホスト計算機11は、直近スイッチ1系からの診断応答があれば、ステップS26にすすみ、診断応答がなければ、ステップS24にすすむ。   [Step S23] The active host computer 11 determines whether there is a diagnostic response from the latest switch 1 system. The active host computer 11 proceeds to step S26 if there is a diagnostic response from the latest switch 1 system, and proceeds to step S24 if there is no diagnostic response.

[ステップS24]現用ホスト計算機11は、ステップS22で起動した監視タイマがタイムアウトしたか否かを判定する。現用ホスト計算機11は、監視タイマがタイムアウトしたならば、ステップS25にすすみ、タイムアウトしていないならば、ステップS23にもどる。   [Step S24] The active host computer 11 determines whether the monitoring timer started in step S22 has timed out. The active host computer 11 proceeds to step S25 if the monitoring timer times out, and returns to step S23 if it does not time out.

[ステップS25]現用ホスト計算機11は、直近スイッチ1系からの監視時間内の応答がないため、直近スイッチ1系に異常ありとする異常フラグ(直近スイッチ1系監視フラグ)をセットして、直近スイッチ1系診断処理を終了する。   [Step S25] Since there is no response within the monitoring time from the latest switch 1 system, the active host computer 11 sets an abnormality flag (the latest switch 1 system monitoring flag) indicating that there is an abnormality in the latest switch 1 system, and the latest The switch 1 system diagnosis process is terminated.

[ステップS26]現用ホスト計算機11は、直近スイッチ1系からの監視時間内の応答があったため、直近スイッチ1系に異常なしとする正常フラグ(直近スイッチ1系監視フラグ)をセットして、直近スイッチ1系診断処理を終了する。   [Step S26] Since the active host computer 11 has responded within the monitoring time from the latest switch 1 system, it sets a normal flag (the latest switch 1 system monitoring flag) indicating that there is no abnormality in the latest switch 1 system, and the latest The switch 1 system diagnosis process is terminated.

このように、現用ホスト計算機11は、所定周期で直近スイッチ1系の通信を診断する。
また、現用ホスト計算機11は、直近スイッチ0系の診断、および直近スイッチ1系の診断と並行して、直近スイッチ監視処理を実行する。この処理を図6を用いて説明する。
In this way, the active host computer 11 diagnoses the communication of the latest switch 1 system at a predetermined cycle.
The active host computer 11 executes the latest switch monitoring process in parallel with the diagnosis of the latest switch 0 system and the diagnosis of the latest switch 1 system. This process will be described with reference to FIG.

[ステップS31]現用ホスト計算機11は、直近スイッチ0系監視フラグを参照し、直近スイッチ0系に異常ありか否かを判定する。現用ホスト計算機11は、直近スイッチ0系に異常ありと判定した場合、すなわち、直近スイッチ0系監視フラグに異常フラグがセットされていた場合、ステップS32にすすむ。一方、現用ホスト計算機11は、直近スイッチ0系に異常なしと判定した場合、すなわち、直近スイッチ0系監視フラグに正常フラグがセットされていた場合、ステップS33にすすむ。   [Step S31] The active host computer 11 refers to the latest switch 0 system monitoring flag and determines whether or not there is an abnormality in the latest switch 0 system. If the active host computer 11 determines that the latest switch 0 system is abnormal, that is, if the abnormal flag is set in the latest switch 0 system monitoring flag, the active host computer 11 proceeds to step S32. On the other hand, if the active host computer 11 determines that there is no abnormality in the latest switch 0 system, that is, if the normal flag is set in the latest switch 0 system monitoring flag, it proceeds to step S33.

[ステップS32]現用ホスト計算機11は、直近スイッチ1系監視フラグを参照し、直近スイッチ1系に異常ありか否かを判定する。現用ホスト計算機11は、直近スイッチ1系に異常ありと判定した場合、すなわち、直近スイッチ1系監視フラグに異常フラグがセットされていた場合、ステップS34にすすむ。一方、現用ホスト計算機11は、直近スイッチ1系に異常なしと判定した場合、すなわち、直近スイッチ1系監視フラグに正常フラグがセットされていた場合、ステップS33にすすむ。   [Step S32] The active host computer 11 refers to the latest switch 1 system monitoring flag and determines whether or not there is an abnormality in the latest switch 1 system. If the active host computer 11 determines that the latest switch 1 system is abnormal, that is, if the abnormal flag is set in the latest switch 1 system monitoring flag, the active host computer 11 proceeds to step S34. On the other hand, if the active host computer 11 determines that there is no abnormality in the latest switch 1 system, that is, if the normal flag is set in the latest switch 1 system monitoring flag, it proceeds to step S33.

[ステップS33]現用ホスト計算機11は、直近スイッチ0系、または直近スイッチ1系のうち少なくともいずれか一方で正常な通信をおこなえていることから、所定時間のウエイトをおこない、ステップS31にすすむ。したがって、現用ホスト計算機11は、ウエイト時間周期で、直近スイッチ0系および直近スイッチ1系との通信が正常におこなえているか否かを監視する。   [Step S33] Since the active host computer 11 is performing normal communication with at least one of the latest switch 0 system and the latest switch 1 system, it waits for a predetermined time and proceeds to step S31. Therefore, the active host computer 11 monitors whether or not communication with the latest switch 0 system and the latest switch 1 system is normally performed in the wait time period.

[ステップS34]現用ホスト計算機11は、直近スイッチ0系および直近スイッチ1系のいずれとも通信が正常におこなえないことから、すなわち、端末17との通信がおこなえないことから、自己ダウンすることを決定する。現用ホスト計算機11は、予備ホスト計算機12に対して、ホスト計算機間通信パス23経由で状態通知電文200を通知する。   [Step S34] The active host computer 11 decides that it will go down because it cannot communicate normally with either the nearest switch 0 system or the nearest switch 1 system, that is, it cannot communicate with the terminal 17. To do. The active host computer 11 notifies the backup host computer 12 of the status notification message 200 via the host computer communication path 23.

状態通知電文200(図7参照)は、電文種、ホスト状態、端末通信パス0状態、端末通信パス1状態を通知情報に含む。電文種は、他の電文との区別のためのコードが設定される。状態通知電文200を受信した予備ホスト計算機12は、コードから現用ホスト計算機11が自己ダウンすることを知ることができる。ホスト状態は、ホストが正常に動作可能な状態か否かを値(0:正常、1:異常)により表す。端末通信パス0状態は、端末通信パス0が正常に通信可能な状態か否かを値(0:正常、1:異常)により表す。端末通信パス1状態は、端末通信パス1が正常に通信可能な状態か否かを値(0:正常、1:異常)により表す。   The status notification message 200 (see FIG. 7) includes the message type, host status, terminal communication path 0 status, and terminal communication path 1 status in the notification information. In the message type, a code for distinguishing from other messages is set. The spare host computer 12 that has received the status notification message 200 can know from the code that the active host computer 11 is going down. The host status indicates whether or not the host is in a normally operable state by a value (0: normal, 1: abnormal). The terminal communication path 0 state represents whether or not the terminal communication path 0 is in a state where communication can be normally performed by a value (0: normal, 1: abnormal). The terminal communication path 1 state indicates whether or not the terminal communication path 1 is in a state where communication can be normally performed by a value (0: normal, 1: abnormal).

[ステップS35]現用ホスト計算機11は、自己ダウンし、端末17へのサービスの提供を停止し、直近スイッチ監視処理を終了する。なお、自己ダウンした現用ホスト計算機11は、予備ホスト計算機12に代わって予備機として待機するようにしてもよい。   [Step S35] The active host computer 11 shuts down, stops providing the service to the terminal 17, and ends the latest switch monitoring process. The active host computer 11 that has been down may stand by as a spare machine in place of the spare host computer 12.

これにより、トータリゼータシステム10は、監視装置等の余計な機器の追加なしに、自律的にホスト計算機の現用ホスト計算機11から予備ホスト計算機12への系切替ができる。   As a result, the totalizer system 10 can autonomously switch the system from the active host computer 11 of the host computer to the spare host computer 12 without adding extra equipment such as a monitoring device.

次に、予備ホスト計算機12が実行するホスト系切り替えに伴う切替通知送信処理について図8、図9を用いて詳細に説明する。図8は、第2の実施形態の切替通知送信処理のフローチャートである。図9は、第2の実施形態のホスト系切替通知電文の一例を示す図である。   Next, switching notification transmission processing accompanying host system switching executed by the spare host computer 12 will be described in detail with reference to FIGS. FIG. 8 is a flowchart of the switching notification transmission process according to the second embodiment. FIG. 9 is a diagram illustrating an example of a host system switching notification message according to the second embodiment.

予備ホスト計算機12は、現用ホスト計算機11からホスト計算機間通信パス23経由で状態通知電文200を受信することにより、切替通知送信処理を実行する。この処理を図8を用いて説明する。   The standby host computer 12 executes the switching notification transmission process by receiving the status notification message 200 from the active host computer 11 via the inter-host computer communication path 23. This process will be described with reference to FIG.

[ステップS41]予備ホスト計算機12は、ホスト計算機の切り替えの通知先(通知対象)を取得する。通知先のリストは、ホスト計算機間通信パス23に接続する他の計算機から取得することができるが、あらかじめ予備ホスト計算機12が保持してもよい。通知先は、端末17が含まれる。   [Step S41] The spare host computer 12 acquires a host computer switch notification destination (notification target). The list of notification destinations can be acquired from other computers connected to the inter-host computer communication path 23, but may be held in advance by the spare host computer 12. The notification destination includes the terminal 17.

[ステップS42]予備ホスト計算機12は、通知先のリストにある端末17に対して、切替通知を送信する。具体的には、切替通知は、ホスト系切替通知電文210(図9参照)として予備ホスト計算機12から端末17などの通知先に送信される。   [Step S42] The spare host computer 12 transmits a switching notification to the terminals 17 in the notification destination list. Specifically, the switching notification is transmitted from the spare host computer 12 to the notification destination such as the terminal 17 as the host system switching notification message 210 (see FIG. 9).

ホスト系切替通知電文210は、電文種、ホストアドレス(0系通信パス)、ホストアドレス(1系通信パス)を通知情報に含む。電文種は、他の電文との区別のためのコードが設定される。ホスト系切替通知電文210を受信した端末17は、コードからホスト計算機の切り替えを知ることができる。ホストアドレス(0系通信パス)は、0系通信パスを通る予備ホスト計算機12の通信アドレス(たとえば、IP(Internet Protocol)アドレス)を情報として含む。ホストアドレス(1系通信パス)は、1系通信パスを通る予備ホスト計算機12の通信アドレス(たとえば、IPアドレス)を情報として含む。   The host system switching notification message 210 includes a message type, a host address (0 system communication path), and a host address (1 system communication path) in the notification information. In the message type, a code for distinguishing from other messages is set. The terminal 17 that has received the host system switching notification message 210 can know the switching of the host computer from the code. The host address (0-system communication path) includes, as information, the communication address (for example, IP (Internet Protocol) address) of the standby host computer 12 that passes through the 0-system communication path. The host address (system 1 communication path) includes the communication address (for example, IP address) of the spare host computer 12 that passes through the system 1 communication path as information.

したがって、端末17は、ホスト計算機との通信において、通信アドレスを指定することによって、0系通信パスと1系通信パスのいずれによって通信をおこなうかを選択することができる。   Therefore, the terminal 17 can select either the 0-system communication path or the 1-system communication path for communication with the host computer by designating the communication address.

[ステップS43]予備ホスト計算機12は、通知先のリストにあるすべての通知先に対して切替通知を送信したか否かを判定する。予備ホスト計算機12は、すべての通知先に対して切替通知を送信したと判定していない場合は、ステップS42にすすむ。一方、予備ホスト計算機12は、すべての通知先に対して切替通知を送信したと判定した場合は、切替通知送信処理を終了する。   [Step S43] The spare host computer 12 determines whether or not a switching notification has been transmitted to all the notification destinations in the notification destination list. If the backup host computer 12 does not determine that the switching notification has been transmitted to all the notification destinations, it proceeds to step S42. On the other hand, if the backup host computer 12 determines that the switching notification has been transmitted to all the notification destinations, the standby host computer 12 ends the switching notification transmission process.

これにより、予備ホスト計算機12は、端末17にとって現用ホスト計算機となる。
なお、予備ホスト計算機12は、通知先のリストにある端末17に対して切替通知を送信する場合を説明したが、0系通信パス、1系通信パスのそれぞれについて、ブロードキャスト通信によりホスト系切り替えを通知するようにしてもよい。
As a result, the spare host computer 12 becomes the active host computer for the terminal 17.
In addition, although the case where the spare host computer 12 transmits the switching notification to the terminal 17 in the notification destination list has been described, the host system switching is performed by broadcast communication for each of the 0-system communication path and the 1-system communication path. You may make it notify.

次に、トータリゼータシステム10における計算機(ホスト系)切替の一例について図10を用いて詳細に説明する。図10は、第2の実施形態の計算機切替の一例を示すタイミングチャートである。   Next, an example of computer (host system) switching in the totalizer system 10 will be described in detail with reference to FIG. FIG. 10 is a timing chart illustrating an example of computer switching according to the second embodiment.

[タイミングT1〜T3]各端末17は、現用ホスト計算機11にサービス要求をおこなう。
[タイミングT4〜T6]現用ホスト計算機11は、受け付けた各サービス要求に対応する処理を実行した後、各端末17にサービス応答をおこなう。
[Timing T1 to T3] Each terminal 17 sends a service request to the active host computer 11.
[Timing T4 to T6] The active host computer 11 sends a service response to each terminal 17 after executing processing corresponding to each accepted service request.

[タイミングT7]予備ホスト計算機12は、現用ホスト計算機11に対して正常に動作しているかを確認するための応答要求をおこなう。
[タイミングT8]現用ホスト計算機11は、予備ホスト計算機12に対して正常に動作している旨を通知する。なお、現用ホスト計算機11は、予備ホスト計算機12からの要求に応答することに代えて、ハートビートを通知することで予備ホスト計算機12に正常動作中である旨を知らせるようにしてもよい。
[Timing T7] The spare host computer 12 makes a response request to the active host computer 11 to confirm whether it is operating normally.
[Timing T8] The active host computer 11 notifies the standby host computer 12 that it is operating normally. Instead of responding to the request from the spare host computer 12, the active host computer 11 may notify the spare host computer 12 that it is operating normally by notifying the heartbeat.

[タイミングT9]現用ホスト計算機11は、SW−HUB13(直近スイッチ0系)に診断要求を送信する。
[タイミングT10]現用ホスト計算機11は、SW−HUB14(直近スイッチ1系)に診断要求を送信する。
[Timing T9] The active host computer 11 transmits a diagnosis request to the SW-HUB 13 (the latest switch 0 system).
[Timing T10] The active host computer 11 transmits a diagnosis request to the SW-HUB 14 (the latest switch 1 system).

[タイミングT11]現用ホスト計算機11は、直近スイッチ0系からの監視時間内の応答を受信し、直近スイッチ0系を正常と診断する。
[タイミングT12]現用ホスト計算機11は、直近スイッチ1系からの監視時間内の応答を受信し、直近スイッチ1系を正常と診断する。
[Timing T11] The active host computer 11 receives the response within the monitoring time from the latest switch 0 system, and diagnoses the latest switch 0 system as normal.
[Timing T12] The active host computer 11 receives the response within the monitoring time from the latest switch 1 system and diagnoses the latest switch 1 system as normal.

ここで、直近スイッチ0系および直近スイッチ1系に異常が生じたとする。
[タイミングT13、T14]現用ホスト計算機11は、各端末17からのサービス要求を受け付けることができない。
Here, it is assumed that an abnormality has occurred in the latest switch 0 system and the latest switch 1 system.
[Timing T13, T14] The active host computer 11 cannot accept a service request from each terminal 17.

[タイミングT15]現用ホスト計算機11は、タイミングT9から所定時間の経過でSW−HUB13に診断要求を送信する。現用ホスト計算機11は、SW−HUB13からの監視時間内の応答がないため、直近スイッチ0系に異常ありと診断する。   [Timing T15] The active host computer 11 transmits a diagnosis request to the SW-HUB 13 after a predetermined time has elapsed from the timing T9. The active host computer 11 diagnoses that there is an abnormality in the latest switch 0 system because there is no response within the monitoring time from the SW-HUB 13.

[タイミングT16]現用ホスト計算機11は、タイミングT10から所定時間の経過でSW−HUB14に診断要求を送信する。現用ホスト計算機11は、SW−HUB14からの監視時間内の応答がないため、直近スイッチ1系に異常ありと診断する。   [Timing T16] The active host computer 11 transmits a diagnosis request to the SW-HUB 14 after a lapse of a predetermined time from the timing T10. The active host computer 11 diagnoses that there is an abnormality in the latest switch 1 system because there is no response within the monitoring time from the SW-HUB 14.

[タイミングT17]現用ホスト計算機11は、直近スイッチ0系および直近スイッチ1系のいずれもが異常と診断されたことから、予備ホスト計算機12に対して、ホスト計算機間通信パス23経由で状態通知電文200を通知する。   [Timing T17] Since both the latest switch 0 system and the latest switch 1 system have been diagnosed as abnormal, the working host computer 11 sends a status notification message to the spare host computer 12 via the inter-host computer communication path 23. 200 is notified.

[タイミングT18〜T20]予備ホスト計算機12は、通知先のリストにある各端末17に対して、切替通知を送信する。
これにより、端末17は、サービスの要求先となるホスト計算機を現用ホスト計算機11から予備ホスト計算機12に切り替える。
[Timing T18 to T20] The spare host computer 12 transmits a switching notification to each terminal 17 in the notification destination list.
As a result, the terminal 17 switches the host computer that is the service request destination from the active host computer 11 to the spare host computer 12.

[タイミングT21〜T23]各端末17は、予備ホスト計算機12にサービス要求をおこなう。
[タイミングT24〜T26]予備ホスト計算機12は、受け付けた各サービス要求に対応する処理を実行した後、各端末17にサービス応答をおこなう。
[Timing T21 to T23] Each terminal 17 makes a service request to the spare host computer 12.
[Timing T24 to T26] The spare host computer 12 executes a process corresponding to each received service request, and then sends a service response to each terminal 17.

このように、複数の端末17は、サービス提供元が現用ホスト計算機11から予備ホスト計算機12に切り替えられたことを知ることができ、トータリゼータシステム10は、複数の端末17に対してサービスの提供を継続することができる。また、トータリゼータシステム10は、監視装置等の余計な機器の追加なしに、自律的に現用ホスト計算機11から予備ホスト計算機12への系切替を可能にする。   As described above, the plurality of terminals 17 can know that the service providing source has been switched from the active host computer 11 to the standby host computer 12, and the totalizer system 10 provides the services to the plurality of terminals 17. Can continue. Further, the totalizer system 10 can autonomously switch the system from the active host computer 11 to the standby host computer 12 without adding extra equipment such as a monitoring device.

次に、第3の実施形態を、図11から図16を用いて説明する。第3の実施形態は、第2の実施形態と異なり、現用ホスト計算機11と予備ホスト計算機12との間のホスト計算機間通信パス23を用いない点で異なる。また、第2の実施形態は、現用ホスト計算機11が直近スイッチ0系および直近スイッチ1系の診断をおこなっていたが、第3の実施形態は、予備ホスト計算機12が直近スイッチ0系および直近スイッチ1系の診断をおこなう。なお、第2の実施形態と共通の構成については、符番を同じにして説明する。   Next, a third embodiment will be described with reference to FIGS. The third embodiment differs from the second embodiment in that the inter-host computer communication path 23 between the active host computer 11 and the standby host computer 12 is not used. In the second embodiment, the active host computer 11 diagnoses the latest switch 0 system and the latest switch 1 system. In the third embodiment, the spare host computer 12 uses the latest switch 0 system and the latest switch. Diagnose system 1. Note that the same configuration as that of the second embodiment will be described with the same reference numerals.

[第3の実施形態]
まず、第3の実施形態のトータリゼータシステムの構成例について図11を用いて説明する。図11は、第3の実施形態のトータリゼータシステムの構成例を示す図である。
[Third Embodiment]
First, a configuration example of a totalizer system according to the third embodiment will be described with reference to FIG. FIG. 11 is a diagram illustrating a configuration example of a totalizer system according to the third embodiment.

第3の実施形態では、ホスト計算機切り替えをおこなうシステムをトータリゼータシステム30を例示して説明するが、これに限らず、ホスト計算機切り替えをおこなうその他のシステムにも適用可能である。   In the third embodiment, a system that performs host computer switching will be described using the totalizer system 30 as an example. However, the present invention is not limited to this, and can be applied to other systems that perform host computer switching.

トータリゼータシステム30は、現用ホスト計算機11と、予備ホスト計算機12と、L3SW(レイヤ3スイッチ)18と、L3SW19と、SW−HUB15と、SW−HUB16と、複数の端末17を備える。   The totalizer system 30 includes an active host computer 11, a spare host computer 12, an L3SW (layer 3 switch) 18, an L3SW 19, an SW-HUB 15, an SW-HUB 16, and a plurality of terminals 17.

現用ホスト計算機11と端末17の通信経路は、L3SW18(第1中継装置)とSW−HUB15を通る経路(第1のネットワーク)と、L3SW19(第2中継装置)とSW−HUB16を通る経路(第2のネットワーク)とを有し、冗長化されている。   The communication path between the active host computer 11 and the terminal 17 is a path passing through L3SW 18 (first relay apparatus) and SW-HUB 15 (first network), and a path passing through L3SW 19 (second relay apparatus) and SW-HUB 16 (first). 2 networks) and are made redundant.

予備ホスト計算機12と端末17の通信経路は、L3SW18(第1中継装置)とSW−HUB15を通る経路(第1のネットワーク)と、L3SW19(第2中継装置)とSW−HUB16を通る経路(第2のネットワーク)とを有し、冗長化されている。   The communication path between the spare host computer 12 and the terminal 17 is a path (first network) passing through the L3SW 18 (first relay apparatus) and the SW-HUB 15 and a path (first network) passing through the L3SW 19 (second relay apparatus) and the SW-HUB 16. 2 networks) and are made redundant.

現用ホスト計算機11と端末17間の通信路は、第1のネットワークを通る経路と第2のネットワークを通る経路とで、現用ホスト計算機11に接続する通信線、端末17に接続する通信線を含めて独立している。現用ホスト計算機11は、L3SW18、L3SW19にそれぞれ独立した通信線で接続する。端末17は、SW−HUB15、SW−HUB16にそれぞれ独立した通信線で接続する。予備ホスト計算機12も現用ホスト計算機11と同様であり、予備ホスト計算機12は、L3SW18、L3SW19にそれぞれ独立した通信線で接続する。したがって、第1のネットワークを通る経路と第2のネットワークを通る経路のいずれにおいても一部の障害が2つのネットワークの共通の障害となることはない。   The communication path between the active host computer 11 and the terminal 17 is a path that passes through the first network and a path that passes through the second network, and includes a communication line connected to the active host computer 11 and a communication line connected to the terminal 17. Independent. The active host computer 11 is connected to the L3SW 18 and L3SW 19 via independent communication lines. The terminal 17 is connected to the SW-HUB 15 and SW-HUB 16 via independent communication lines. The spare host computer 12 is the same as the active host computer 11, and the spare host computer 12 is connected to the L3SW 18 and L3SW 19 via independent communication lines. Therefore, some faults do not become common faults of the two networks in any of the route passing through the first network and the route passing through the second network.

現用ホスト計算機11と予備ホスト計算機12は、L3SW18を介した通信接続、またはL3SW19を介した通信接続が可能になっている。
なお、トータリゼータシステム30は、現用ホスト計算機11と予備ホスト計算機12とを接続する、図示しないバックグラウンドのネットワークを備える。バックグラウンドのネットワークは、現用ホスト計算機11と予備ホスト計算機12とが接続可能な記憶装置やデータベースサーバなどを接続する。
The active host computer 11 and the spare host computer 12 can be connected via the L3SW 18 or via the L3SW 19.
The totalizer system 30 includes a background network (not shown) that connects the active host computer 11 and the spare host computer 12. The background network connects a storage device, a database server, or the like to which the active host computer 11 and the spare host computer 12 can be connected.

次に、予備ホスト計算機12が実行する0系パス診断処理、1系パス診断処理、パス監視処理について図12から図14を用いて詳細に説明する。図12は、第3の実施形態の0系パス診断処理のフローチャートである。図13は、第3の実施形態の1系パス診断処理のフローチャートである。図14は、第3の実施形態のパス監視処理のフローチャートである。   Next, the 0-system path diagnosis process, the 1-system path diagnosis process, and the path monitoring process executed by the spare host computer 12 will be described in detail with reference to FIGS. FIG. 12 is a flowchart of the 0-system path diagnosis process according to the third embodiment. FIG. 13 is a flowchart of the 1-system path diagnosis process according to the third embodiment. FIG. 14 is a flowchart of the path monitoring process according to the third embodiment.

予備ホスト計算機12は、所定周期で0系パス診断処理、1系パス診断処理を実行する。0系パス診断処理は、予備ホスト計算機12と現用ホスト計算機11間の0系パス(L3SW18経由)の通信の正常を確認する処理である。1系パス診断処理は、予備ホスト計算機12と現用ホスト計算機11間の1系パス(L3SW19経由)の通信の正常を確認する処理である。   The spare host computer 12 executes the 0-system path diagnosis process and the 1-system path diagnosis process at a predetermined cycle. The 0-system path diagnosis process is a process for confirming the normality of the communication of the 0-system path (via L3SW 18) between the standby host computer 12 and the active host computer 11. The 1-system path diagnosis process is a process for confirming the normality of communication of the 1-system path (via L3SW 19) between the standby host computer 12 and the active host computer 11.

L3SW18とL3SW19は、いずれも、すべての端末17と通信可能に接続されている。そのため、予備ホスト計算機12は、L3SW18を経由する0系パスとL3SW19を経由する1系パスのうち、いずれかの経路で現用ホスト計算機11との通信の接続が確認できれば、現用ホスト計算機11と端末17との通信が期待できる。   Both the L3SW 18 and the L3SW 19 are connected to be communicable with all the terminals 17. Therefore, if the standby host computer 12 can confirm the connection of communication with the active host computer 11 through any one of the 0-system path via the L3SW 18 and the 1-system path via the L3SW 19, the active host computer 11 and the terminal Communication with 17 can be expected.

まず、予備ホスト計算機12が実行する0系パス診断処理から説明する。
[ステップS51]予備ホスト計算機12は、現用ホスト計算機11に0系パスで診断要求を送信する。診断要求は、任意のネットワーク管理プロトコルを用いることができる。
First, the 0-system path diagnosis process executed by the spare host computer 12 will be described.
[Step S51] The standby host computer 12 transmits a diagnosis request to the active host computer 11 through the 0-system path. Any network management protocol can be used for the diagnosis request.

[ステップS52]予備ホスト計算機12は、診断要求から診断応答までの時間を監視する監視タイマ(0系パス用)を起動する。
[ステップS53]予備ホスト計算機12は、現用ホスト計算機11からの0系パスでの診断応答の有無を判定する。予備ホスト計算機12は、現用ホスト計算機11からの0系パスでの診断応答があれば、ステップS60にすすみ、診断応答がなければ、ステップS54にすすむ。
[Step S52] The spare host computer 12 starts a monitoring timer (for the 0-system path) that monitors the time from the diagnosis request to the diagnosis response.
[Step S53] The spare host computer 12 determines whether or not there is a diagnostic response on the 0-system path from the active host computer 11. The spare host computer 12 proceeds to step S60 if there is a diagnostic response on the 0-system path from the active host computer 11, and proceeds to step S54 if there is no diagnostic response.

[ステップS54]予備ホスト計算機12は、ステップS52で起動した監視タイマがタイムアウトしたか否かを判定する。予備ホスト計算機12は、監視タイマがタイムアウトしたならば、ステップS55にすすみ、タイムアウトしていないならば、ステップS53にもどる。   [Step S54] The spare host computer 12 determines whether or not the monitoring timer started in Step S52 has timed out. The spare host computer 12 proceeds to step S55 if the monitoring timer times out, and returns to step S53 if it does not time out.

[ステップS55]予備ホスト計算機12は、現用ホスト計算機11からの0系パスでの監視時間内の応答がないため、直近スイッチ0系(L3SW18)に診断要求を送信する。   [Step S55] The standby host computer 12 sends a diagnosis request to the latest switch 0 system (L3SW 18) because there is no response within the monitoring time on the 0 system path from the active host computer 11.

[ステップS56]予備ホスト計算機12は、診断要求から診断応答までの時間を監視する監視タイマ(直近スイッチ0系用)を起動する。
[ステップS57]予備ホスト計算機12は、L3SW18から診断応答の有無を判定する。予備ホスト計算機12は、L3SW18からの診断応答があれば、ステップS61にすすみ、診断応答がなければ、ステップS58にすすむ。
[Step S56] The spare host computer 12 starts a monitoring timer (for the latest switch 0 system) that monitors the time from the diagnosis request to the diagnosis response.
[Step S57] The spare host computer 12 determines whether there is a diagnostic response from the L3SW 18. The spare host computer 12 proceeds to step S61 if there is a diagnostic response from the L3SW 18, and proceeds to step S58 if there is no diagnostic response.

[ステップS58]予備ホスト計算機12は、ステップS56で起動した監視タイマがタイムアウトしたか否かを判定する。予備ホスト計算機12は、監視タイマがタイムアウトしたならば、ステップS59にすすみ、タイムアウトしていないならば、ステップS57にもどる。   [Step S58] The spare host computer 12 determines whether or not the monitoring timer started in Step S56 has timed out. The spare host computer 12 proceeds to step S59 if the monitoring timer times out, and returns to step S57 if it does not time out.

[ステップS59]予備ホスト計算機12は、L3SW18から応答がないため、予備ホスト計算機12とL3SW18間(予備系パス0)に異常ありとする異常フラグ(予備系パス0監視フラグ)をセットして、0系パス診断処理を終了する。   [Step S59] Since there is no response from the L3SW 18, the standby host computer 12 sets an abnormality flag (protection path 0 monitoring flag) indicating that there is an abnormality between the standby host computer 12 and the L3SW 18 (backup path 0). The 0-system path diagnosis process is terminated.

なお、このとき、予備ホスト計算機12は、現用ホスト計算機11とL3SW18間(現用系パス0)について診断ができないため、診断を保留する。
[ステップS60]予備ホスト計算機12は、現用ホスト計算機11からの0系パスでの診断応答を得て、現用ホスト計算機11とL3SW18間(現用系パス0)について正常とする正常フラグ(現用系パス0監視フラグ)をセットする。
At this time, the spare host computer 12 suspends diagnosis because it cannot diagnose between the active host computer 11 and the L3SW 18 (active path 0).
[Step S60] The standby host computer 12 obtains a diagnosis response on the 0-system path from the active host computer 11, and makes a normal flag (active system path) normal between the active host computer 11 and the L3SW 18 (active system path 0). 0 monitoring flag) is set.

[ステップS61]予備ホスト計算機12は、L3SW18から応答を得たため、現用ホスト計算機11とL3SW18間(現用系パス0)について異常ありとする異常フラグ(現用系パス0監視フラグ)をセットする。   [Step S61] Since the standby host computer 12 has received a response from the L3SW 18, the standby host computer 12 sets an abnormality flag (active system path 0 monitoring flag) between the active host computer 11 and the L3SW 18 (active system path 0).

[ステップS62]予備ホスト計算機12は、予備ホスト計算機12とL3SW18間(予備系パス0)について正常とする正常フラグ(予備系パス0監視フラグ)をセットして、0系パス診断処理を終了する。   [Step S62] The spare host computer 12 sets a normal flag (standby path 0 monitoring flag) to be normal between the spare host computer 12 and the L3SW 18 (standby path 0), and ends the 0-path diagnosis process. .

このように、予備ホスト計算機12は、所定周期で0系パスの通信を診断する。
0系パス診断処理と同様に予備ホスト計算機12が実行する1系パス診断処理を説明する。
As described above, the spare host computer 12 diagnoses communication of the 0-system path at a predetermined cycle.
Similar to the 0-system path diagnosis process, the 1-system path diagnosis process executed by the spare host computer 12 will be described.

[ステップS71]予備ホスト計算機12は、現用ホスト計算機11に1系パスで診断要求を送信する。診断要求は、任意のネットワーク管理プロトコルを用いることができる。   [Step S71] The spare host computer 12 transmits a diagnosis request to the active host computer 11 through the 1-system path. Any network management protocol can be used for the diagnosis request.

[ステップS72]予備ホスト計算機12は、診断要求から診断応答までの時間を監視する監視タイマ(1系パス用)を起動する。
[ステップS73]予備ホスト計算機12は、現用ホスト計算機11からの1系パスでの診断応答の有無を判定する。予備ホスト計算機12は、現用ホスト計算機11からの1系パスでの診断応答があれば、ステップS80にすすみ、診断応答がなければ、ステップS74にすすむ。
[Step S72] The spare host computer 12 starts a monitoring timer (for the 1-system path) that monitors the time from the diagnosis request to the diagnosis response.
[Step S73] The spare host computer 12 determines whether there is a diagnostic response from the active host computer 11 in the one-system path. The spare host computer 12 proceeds to step S80 if there is a diagnostic response in the 1-system path from the active host computer 11, and proceeds to step S74 if there is no diagnostic response.

[ステップS74]予備ホスト計算機12は、ステップS72で起動した監視タイマがタイムアウトしたか否かを判定する。予備ホスト計算機12は、監視タイマがタイムアウトしたならば、ステップS75にすすみ、タイムアウトしていないならば、ステップS73にもどる。   [Step S74] The spare host computer 12 determines whether or not the monitoring timer started in Step S72 has timed out. The spare host computer 12 proceeds to step S75 if the monitoring timer has timed out, and returns to step S73 if it has not timed out.

[ステップS75]予備ホスト計算機12は、現用ホスト計算機11からの1系パスでの監視時間内の応答がないため、直近スイッチ1系(L3SW19)に診断要求を送信する。   [Step S75] Since there is no response within the monitoring time on the 1-system path from the active host computer 11, the spare host computer 12 sends a diagnosis request to the most recent switch 1 system (L3SW 19).

[ステップS76]予備ホスト計算機12は、診断要求から診断応答までの時間を監視する監視タイマ(直近スイッチ1系用)を起動する。
[ステップS77]予備ホスト計算機12は、L3SW19から診断応答の有無を判定する。予備ホスト計算機12は、L3SW19からの診断応答があれば、ステップS81にすすみ、診断応答がなければ、ステップS78にすすむ。
[Step S76] The spare host computer 12 starts a monitoring timer (for the latest switch 1 system) that monitors the time from the diagnosis request to the diagnosis response.
[Step S77] The spare host computer 12 determines whether there is a diagnostic response from the L3SW 19. The spare host computer 12 proceeds to step S81 if there is a diagnostic response from the L3SW 19, and proceeds to step S78 if there is no diagnostic response.

[ステップS78]予備ホスト計算機12は、ステップS76で起動した監視タイマがタイムアウトしたか否かを判定する。予備ホスト計算機12は、監視タイマがタイムアウトしたならば、ステップS79にすすみ、タイムアウトしていないならば、ステップS77にもどる。   [Step S78] The spare host computer 12 determines whether or not the monitoring timer started in Step S76 has timed out. The spare host computer 12 proceeds to step S79 if the monitoring timer has timed out, and returns to step S77 if it has not timed out.

[ステップS79]予備ホスト計算機12は、L3SW19から応答がないため、予備ホスト計算機12とL3SW19間(予備系パス1)に異常ありとする異常フラグ(予備系パス1監視フラグ)をセットして、1系パス診断処理を終了する。   [Step S79] Since there is no response from the L3SW 19, the standby host computer 12 sets an abnormality flag (protection path 1 monitoring flag) indicating that there is an abnormality between the standby host computer 12 and the L3SW 19 (backup path 1). The system 1 path diagnosis process is terminated.

なお、このとき、予備ホスト計算機12は、現用ホスト計算機11とL3SW19間(現用系パス1)について診断ができないため、診断を保留する。
[ステップS80]予備ホスト計算機12は、現用ホスト計算機11からの1系パスでの診断応答を得て、現用ホスト計算機11とL3SW19間(現用系パス1)について正常とする正常フラグ(現用系パス1監視フラグ)をセットする。
At this time, the spare host computer 12 suspends diagnosis because it cannot diagnose between the active host computer 11 and the L3SW 19 (active path 1).
[Step S80] The standby host computer 12 obtains a diagnostic response in the 1-system path from the active host computer 11, and makes a normal flag (active system path) normal between the active host computer 11 and the L3SW 19 (active system path 1). 1 monitoring flag) is set.

[ステップS81]予備ホスト計算機12は、L3SW19から応答を得たため、現用ホスト計算機11とL3SW19間(現用系パス1)について異常ありとする異常フラグ(現用系パス1監視フラグ)をセットする。   [Step S81] Since the standby host computer 12 has received a response from the L3SW 19, it sets an abnormality flag (active path 1 monitoring flag) indicating that there is an abnormality between the active host computer 11 and the L3SW 19 (active path 1).

[ステップS82]予備ホスト計算機12は、予備ホスト計算機12とL3SW19間(予備系パス1)について正常とする正常フラグ(予備系パス1監視フラグ)をセットして、1系パス診断処理を終了する。   [Step S82] The backup host computer 12 sets a normal flag (backup system path 1 monitoring flag) to be normal between the backup host computer 12 and the L3SW 19 (backup system path 1), and ends the system 1 path diagnosis process. .

このように、予備ホスト計算機12は、所定周期で1系パスの通信を診断する。
予備ホスト計算機12は、0系パスの診断、および1系パスの診断と並行して、パス監視処理を実行する。
As described above, the backup host computer 12 diagnoses the communication of the 1-system path at a predetermined cycle.
The spare host computer 12 executes path monitoring processing in parallel with the diagnosis of the 0-system path and the diagnosis of the 1-system path.

[ステップS91]予備ホスト計算機12は、予備系パス0監視フラグ、および予備系パス1監視フラグを参照し、予備系パスに異常ありか否かを判定する。予備ホスト計算機12は、予備系パスに異常ありと判定した場合、すなわち、予備系パス0監視フラグ、および予備系パス1監視フラグのそれぞれに異常フラグがセットされていた場合、ステップS94にすすむ。一方、予備ホスト計算機12は、予備系パスに異常なしと判定した場合、すなわち、予備系パス0監視フラグ、および予備系パス1監視フラグの少なくとも一方に正常フラグがセットされていた場合、ステップS92にすすむ。   [Step S91] The protection host computer 12 refers to the protection path 0 monitoring flag and the protection path 1 monitoring flag, and determines whether there is an abnormality in the protection path. When the backup host computer 12 determines that there is an abnormality in the backup path, that is, when the error flag is set in each of the backup path 0 monitoring flag and the backup path 1 monitoring flag, the backup host computer 12 proceeds to step S94. On the other hand, if the backup host computer 12 determines that there is no abnormality in the backup path, that is, if the normal flag is set in at least one of the backup path 0 monitoring flag and the backup path 1 monitoring flag, step S92 is performed. Proceed.

[ステップS92]予備ホスト計算機12は、現用系パス0監視フラグ、および現用系パス1監視フラグを参照し、現用系パスに異常ありか否かを判定する。予備ホスト計算機12は、現用系パスに異常ありと判定した場合、すなわち、現用系パス0監視フラグ、および現用系パス1監視フラグのそれぞれに異常フラグがセットされていた場合、ステップS95にすすむ。一方、予備ホスト計算機12は、現用系パスに異常なしと判定した場合、すなわち、現用系パス0監視フラグ、および現用系パス1監視フラグの少なくとも一方に正常フラグがセットされていた場合、ステップS93にすすむ。   [Step S92] The standby host computer 12 refers to the working path 0 monitoring flag and the working path 1 monitoring flag to determine whether or not there is an abnormality in the working path. If the standby host computer 12 determines that there is an abnormality in the working path, that is, if the abnormality flag is set in each of the working path 0 monitoring flag and the working path 1 monitoring flag, the standby host computer 12 proceeds to step S95. On the other hand, if the standby host computer 12 determines that there is no abnormality in the working path, that is, if the normal flag is set in at least one of the working path 0 monitoring flag and the working path 1 monitoring flag, step S93 is performed. Proceed.

[ステップS93]予備ホスト計算機12は、現用ホスト計算機11が0系パス、または1系パスのうち少なくともいずれか一方で正常な通信をおこなえていることから、所定時間のウエイトをおこない、ステップS91にすすむ。したがって、予備ホスト計算機12は、ウエイト時間周期で、現用ホスト計算機11が0系パス、または1系パスでの通信が正常におこなえているか否かを監視する。   [Step S93] The standby host computer 12 waits for a predetermined time because the active host computer 11 is performing normal communication on at least one of the 0-system path and the 1-system path, and the process proceeds to step S91. Proceed. Therefore, the standby host computer 12 monitors whether the active host computer 11 is normally performing communication on the 0-system path or the 1-system path in the wait time period.

[ステップS94]予備ホスト計算機12は、予備ホスト計算機12自身が0系パスおよび1系パスのいずれでも通信が正常におこなえないことから、すなわち、予備ホスト計算機12が端末17との通信をおこなえないことから、自己ダウンすることを決定する。予備ホスト計算機12は、自己ダウンすることを決定した後、パス監視処理を終了する。   [Step S94] The spare host computer 12 cannot communicate normally with either the 0-system path or the 1-system path, that is, the spare host computer 12 cannot communicate with the terminal 17 because the spare host computer 12 itself cannot communicate normally. From that, decide to self-down. After determining that the spare host computer 12 is going down, the spare host computer 12 ends the path monitoring process.

[ステップS95]予備ホスト計算機12は、現用ホスト計算機11が0系パス、および1系パスのそれぞれで異常を検出したことから、現用ホスト計算機11による端末17へのサービス提供ができないと判断する。予備ホスト計算機12は、ホスト計算機の切り替えの通知先(通知対象)を取得する。通知先のリストは、予備ホスト計算機12と接続する他の計算機から取得することができるが、あらかじめ予備ホスト計算機12が保持してもよい。通知先は、端末17が含まれる。   [Step S95] The standby host computer 12 determines that the active host computer 11 cannot provide a service to the terminal 17 because the active host computer 11 has detected an abnormality in each of the 0-system path and the 1-system path. The spare host computer 12 acquires a notification destination (notification target) of switching of host computers. The list of notification destinations can be acquired from other computers connected to the spare host computer 12, but may be held in advance by the spare host computer 12. The notification destination includes the terminal 17.

[ステップS96]予備ホスト計算機12は、通知先のリストにある端末17に対して、切替通知を送信する。具体的には、切替通知は、ホスト系切替通知電文210として予備ホスト計算機12から端末17などの通知先に送信される。   [Step S96] The spare host computer 12 transmits a switching notification to the terminals 17 in the notification destination list. Specifically, the switching notification is transmitted as a host system switching notification message 210 from the spare host computer 12 to a notification destination such as the terminal 17.

[ステップS97]予備ホスト計算機12は、通知先のリストにあるすべての通知先に対して切替通知を送信したか否かを判定する。予備ホスト計算機12は、すべての通知先に対して切替通知を送信したと判定していない場合は、ステップS96にすすむ。一方、予備ホスト計算機12は、すべての通知先に対して切替通知を送信したと判定した場合は、パス監視処理を終了する。   [Step S97] The spare host computer 12 determines whether or not a switching notification has been transmitted to all the notification destinations in the notification destination list. If the spare host computer 12 does not determine that the switching notification has been transmitted to all the notification destinations, it proceeds to step S96. On the other hand, if the backup host computer 12 determines that the switching notification has been transmitted to all the notification destinations, it ends the path monitoring process.

これにより、端末17は、サービス要求先を、現用ホスト計算機11から予備ホスト計算機12に切り替える。予備ホスト計算機12は、端末17にとって現用ホスト計算機となる。トータリゼータシステム30は、監視装置等の余計な機器の追加なしに、自律的にホスト計算機の現用ホスト計算機11から予備ホスト計算機12への系切替ができる。   As a result, the terminal 17 switches the service request destination from the active host computer 11 to the spare host computer 12. The spare host computer 12 becomes an active host computer for the terminal 17. The totalizer system 30 can autonomously switch the system from the active host computer 11 of the host computer to the spare host computer 12 without adding extra equipment such as a monitoring device.

次に、トータリゼータシステム30における計算機(ホスト系)切替の一例について図15を用いて詳細に説明する。図15は、第3の実施形態の計算機切替の一例を示すタイミングチャートである。   Next, an example of computer (host system) switching in the totalizer system 30 will be described in detail with reference to FIG. FIG. 15 is a timing chart illustrating an example of computer switching according to the third embodiment.

[タイミングT31〜T33]各端末17は、現用ホスト計算機11にサービス要求をおこなう。
[タイミングT34〜T36]現用ホスト計算機11は、受け付けた各サービス要求に対応する処理を実行した後、各端末17にサービス応答をおこなう。
[Timing T31 to T33] Each terminal 17 makes a service request to the active host computer 11.
[Timing T34 to T36] The active host computer 11 sends a service response to each terminal 17 after executing the processing corresponding to each received service request.

[タイミングT37]予備ホスト計算機12は、0系パスで現用ホスト計算機11に対して正常に動作しているかを確認するための応答要求をおこなう。
[タイミングT38]現用ホスト計算機11は、予備ホスト計算機12に対して正常に動作している旨を0系パスで通知する。
[Timing T37] The spare host computer 12 makes a response request to the active host computer 11 to confirm whether it is operating normally on the 0-system path.
[Timing T38] The active host computer 11 notifies the standby host computer 12 that it is operating normally through the 0-system path.

[タイミングT39]タイミングT38において、予備ホスト計算機12が現用ホスト計算機11から正常に動作している旨の通知を監視時間内に受けることができなかった場合、予備ホスト計算機12は、L3SW18(0系パス)に診断要求を送信する。   [Timing T39] When the standby host computer 12 cannot receive the notification that the standby host computer 12 is operating normally from the active host computer 11 within the monitoring time period at the timing T38, the standby host computer 12 sends the L3SW 18 (system 0). Send a diagnostic request to (pass).

[タイミングT40]L3SW18は、予備ホスト計算機12に対して正常に動作している旨を0系パスで通知する。
[タイミングT41]予備ホスト計算機12は、1系パスで現用ホスト計算機11に対して正常に動作しているかを確認するための応答要求をおこなう。
[Timing T40] The L3SW 18 notifies the standby host computer 12 that it is operating normally through the 0-system path.
[Timing T41] The spare host computer 12 makes a response request to the active host computer 11 to confirm whether it is operating normally on the 1-system path.

[タイミングT42]現用ホスト計算機11は、予備ホスト計算機12に対して正常に動作している旨を1系パスで通知する。
[タイミングT43]タイミングT42において、予備ホスト計算機12が現用ホスト計算機11から正常に動作している旨の通知を監視時間内に受けることができなかった場合、予備ホスト計算機12は、L3SW19(1系パス)に診断要求を送信する。
[Timing T42] The active host computer 11 notifies the backup host computer 12 that it is operating normally through a one-system path.
[Timing T43] At time T42, if the standby host computer 12 has not received a notification from the active host computer 11 that it is operating normally within the monitoring time, the standby host computer 12 sends the L3SW 19 (1 system). Send a diagnostic request to (pass).

[タイミングT44]L3SW19は、予備ホスト計算機12に対して正常に動作している旨を1系パスで通知する。
ここで、0系パスおよび1系パスに異常が生じたとする。
[Timing T44] The L3SW 19 notifies the standby host computer 12 that it is operating normally through the 1-system path.
Here, it is assumed that an abnormality occurs in the 0-system path and the 1-system path.

[タイミングT45、T46]現用ホスト計算機11は、各端末17からのサービス要求を受け付けることができない。予備ホスト計算機12は、0系パスおよび1系パスの診断要求に対する異常を検出する。   [Timing T45, T46] The active host computer 11 cannot accept a service request from each terminal 17. The spare host computer 12 detects an abnormality with respect to the diagnosis request for the 0-system path and the 1-system path.

[タイミングT47〜T49]予備ホスト計算機12は、0系パスおよび1系パスのいずれもが異常と診断されたことから、通知先のリストにある端末17に対して、切替通知を送信する。   [Timing T47 to T49] Since both the 0-system path and the 1-system path are diagnosed as abnormal, the spare host computer 12 transmits a switching notification to the terminal 17 in the notification destination list.

これにより、端末17は、サービスの要求先となるホスト計算機を現用ホスト計算機11から予備ホスト計算機12に切り替える。
[タイミングT50〜T52]各端末17は、予備ホスト計算機12にサービス要求をおこなう。
As a result, the terminal 17 switches the host computer that is the service request destination from the active host computer 11 to the spare host computer 12.
[Timing T50 to T52] Each terminal 17 makes a service request to the spare host computer 12.

[タイミングT53〜T55]予備ホスト計算機12は、受け付けた各サービス要求に対応する処理を実行した後、各端末17にサービス応答をおこなう。
このように、複数の端末17は、サービス提供元が現用ホスト計算機11から予備ホスト計算機12に切り替えられたことを知ることができ、トータリゼータシステム30は、複数の端末17に対してサービスの提供を継続することができる。また、トータリゼータシステム30は、監視装置等の余計な機器の追加なしに、自律的に現用ホスト計算機11から予備ホスト計算機12への系切替を可能にする。
[Timing T53 to T55] The spare host computer 12 executes a process corresponding to each received service request, and then sends a service response to each terminal 17.
In this way, the plurality of terminals 17 can know that the service provider has been switched from the active host computer 11 to the standby host computer 12, and the totalizer system 30 provides the services to the plurality of terminals 17. Can continue. In addition, the totalizer system 30 enables autonomous system switching from the active host computer 11 to the standby host computer 12 without adding extra equipment such as a monitoring device.

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、現用ホスト計算機11、予備ホスト計算機12、端末17が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体(可搬型記録媒体を含む)に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記録装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどがある。光ディスクには、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM、CD−R(Recordable)/RW(ReWritable)などがある。光磁気記録媒体には、MO(Magneto-Optical disk)などがある。   The above processing functions can be realized by a computer. In this case, a program describing the processing contents of functions that the active host computer 11, the spare host computer 12, and the terminal 17 should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium (including a portable recording medium). Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic recording device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Optical discs include DVD (Digital Versatile Disc), DVD-RAM, CD-ROM, CD-R (Recordable) / RW (ReWritable), and the like. Magneto-optical recording media include MO (Magneto-Optical disk).

プログラムを流通させる場合には、たとえば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When distributing the program, for example, portable recording media such as a DVD and a CD-ROM in which the program is recorded are sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、たとえば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムにしたがった処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムにしたがった処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムにしたがった処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

なお、上述の実施の形態は、実施の形態の要旨を逸脱しない範囲内において種々の変更を加えることができる。
さらに、上述の実施の形態は、多数の変形、変更が当業者にとって可能であり、説明した正確な構成および応用例に限定されるものではない。
Note that various modifications can be made to the above-described embodiment without departing from the gist of the embodiment.
Further, the above-described embodiments can be modified and changed by those skilled in the art, and are not limited to the exact configurations and application examples described.

上記については単に本発明の原理を示すものである。さらに、多数の変形、変更が当業者にとって可能であり、本発明は上記に示し、説明した正確な構成および応用例に限定されるものではなく、対応するすべての変形例および均等物は、添付の請求項およびその均等物による本発明の範囲とみなされる。   The above merely illustrates the principle of the present invention. In addition, many modifications and changes can be made by those skilled in the art, and the present invention is not limited to the precise configuration and application shown and described above, and all corresponding modifications and equivalents may be And the equivalents thereof are considered to be within the scope of the invention.

1 計算機切替システム
2 通信パス
3 現用計算機
3a 切替依頼通知手段
3b 検出手段
4 予備計算機
4a 更新通知手段
5 第1中継装置
6 第2中継装置
7 ネットワーク
7a 第1ネットワーク
7b 第2ネットワーク
8 端末装置
10、30 トータリゼータシステム
11 現用ホスト計算機
12 予備ホスト計算機
13、14、15、16 SW−HUB
17 端末
18、19 L3SW
23 ホスト計算機間通信パス
100 情報処理装置
200 状態通知電文
210 ホスト系切替通知電文
DESCRIPTION OF SYMBOLS 1 Computer switching system 2 Communication path 3 Current computer 3a Switching request notification means 3b Detection means 4 Preliminary computer 4a Update notification means 5 First relay device 6 Second relay device 7 Network 7a First network 7b Second network 8 Terminal device 10, 30 Totalizer System 11 Active Host Computer 12 Spare Host Computer 13, 14, 15, 16 SW-HUB
17 Terminal 18, 19 L3SW
23 Communication path between host computers 100 Information processing device 200 Status notification message 210 Host system switch notification message

Claims (8)

複数の端末装置にサービスを提供する現用計算機と、
前記現用計算機に代わって前記複数の端末装置にサービスを提供可能な予備計算機と、
第1ネットワークと第2ネットワークで二重化されて、前記複数の端末装置が接続するネットワークと、
前記ネットワークと独立した、前記現用計算機と前記予備計算機を接続する通信パスと、
前記現用計算機および前記予備計算機を前記第1ネットワークと接続する第1中継装置と、
前記現用計算機および前記予備計算機を前記第2ネットワークと接続する第2中継装置と、
を備え、
前記現用計算機は、
前記現用計算機と前記第1中継装置、および前記現用計算機と前記第2中継装置のそれぞれの通信ができない通信不可状態を検出する検出手段と、
前記通信不可状態の検出にもとづいて、前記複数の端末装置にサービスを提供する計算機を、前記現用計算機から前記予備計算機に切り替える切替依頼を、前記通信パスを介して前記予備計算機に通知する切替依頼通知手段と、
を備え、
前記予備計算機は、
前記切替依頼を受けて、サービスを提供する計算機の更新を前記複数の端末装置に通知する更新通知手段と、
を備えることを特徴とする計算機切替システム。
An active computer that provides services to a plurality of terminal devices;
A spare computer capable of providing services to the plurality of terminal devices on behalf of the active computer;
A network that is duplicated in a first network and a second network and to which the plurality of terminal devices are connected;
A communication path that is independent of the network and connects the active computer and the standby computer;
A first relay device for connecting the active computer and the standby computer to the first network;
A second relay device for connecting the active computer and the standby computer to the second network;
With
The working computer is
Detecting means for detecting an incommunicable state in which the active computer and the first relay device, and the active computer and the second relay device cannot communicate with each other;
A switching request for notifying the standby computer via the communication path of a switching request for switching a computer that provides services to the plurality of terminal devices from the active computer to the standby computer based on the detection of the communication disabled state Notification means;
With
The preliminary computer is
An update notification means for receiving the switching request and notifying the plurality of terminal devices of an update of a computer providing a service;
A computer switching system characterized by comprising:
前記現用計算機および前記予備計算機は、前記第1中継装置と接続する通信線および前記第2中継装置と接続する通信線を独立して備えることを特徴とする請求項1記載の計算機切替システム。   2. The computer switching system according to claim 1, wherein the active computer and the backup computer are independently provided with a communication line connected to the first relay device and a communication line connected to the second relay device. 複数の端末装置にサービスを提供する現用計算機と、
前記現用計算機に代わって前記複数の端末装置にサービスを提供可能な予備計算機と、
第1ネットワークと第2ネットワークで二重化されて、前記複数の端末装置が接続するネットワークと、
前記現用計算機および前記予備計算機を前記第1ネットワークと接続する第1中継装置と、
前記現用計算機および前記予備計算機を前記第2ネットワークと接続する第2中継装置と、
を備え、
前記予備計算機は、
前記現用計算機と前記第1中継装置、および前記現用計算機と前記第2中継装置のそれぞれの通信ができない通信不可状態を検出する検出手段と、
前記通信不可状態の検出を受けて、サービスを提供する計算機の更新を前記複数の端末装置に通知する更新通知手段と、
を備えることを特徴とする計算機切替システム。
An active computer that provides services to a plurality of terminal devices;
A spare computer capable of providing services to the plurality of terminal devices on behalf of the active computer;
A network that is duplicated in a first network and a second network and to which the plurality of terminal devices are connected;
A first relay device for connecting the active computer and the standby computer to the first network;
A second relay device for connecting the active computer and the standby computer to the second network;
With
The preliminary computer is
Detecting means for detecting an incommunicable state in which the active computer and the first relay device, and the active computer and the second relay device cannot communicate with each other;
Update notification means for receiving the detection of the communication disabled state and notifying the plurality of terminal devices of an update of a computer that provides a service;
A computer switching system characterized by comprising:
前記現用計算機および前記予備計算機は、前記第1中継装置と接続する通信線および前記第2中継装置と接続する通信線を独立して備えることを特徴とする請求項3記載の計算機切替システム。   4. The computer switching system according to claim 3, wherein the active computer and the backup computer are independently provided with a communication line connected to the first relay device and a communication line connected to the second relay device. 複数の端末装置にサービスを提供する現用計算機と、
前記現用計算機に代わって前記複数の端末装置にサービスを提供可能な予備計算機と、
第1ネットワークと第2ネットワークで二重化されて、前記複数の端末装置が接続するネットワークと、
前記ネットワークと独立した、前記現用計算機と前記予備計算機を接続する通信パスと、
前記現用計算機および前記予備計算機を前記第1ネットワークと接続する第1中継装置と、
前記現用計算機および前記予備計算機を前記第2ネットワークと接続する第2中継装置と、
を備える計算機切替システムで、前記現用計算機または前記予備計算機であるコンピュータに、前記サービスを提供する提供元を前記現用計算機から前記予備計算機に切り替える処理を実行させるための計算機切替プログラムであって、
前記コンピュータを、
前記コンピュータが前記現用計算機である場合に、
前記現用計算機と前記第1中継装置、および前記現用計算機と前記第2中継装置のそれぞれの通信ができない通信不可状態を検出する検出手段、
前記通信不可状態の検出にもとづいて、前記複数の端末装置にサービスを提供する計算機を、前記現用計算機から前記予備計算機に切り替える切替依頼を、前記通信パスを介して前記予備計算機に通知する切替依頼通知手段、
として機能させ、
前記コンピュータが前記予備計算機である場合に、
前記切替依頼を受けて、サービスを提供する計算機の更新を前記複数の端末装置に通知する更新通知手段、
として機能させることを特徴とする計算機切替プログラム。
An active computer that provides services to a plurality of terminal devices;
A spare computer capable of providing services to the plurality of terminal devices on behalf of the active computer;
A network that is duplicated in a first network and a second network and to which the plurality of terminal devices are connected;
A communication path that is independent of the network and connects the active computer and the standby computer;
A first relay device for connecting the active computer and the standby computer to the first network;
A second relay device for connecting the active computer and the standby computer to the second network;
A computer switching system comprising: a computer switching program for causing a computer that is the active computer or the standby computer to execute a process of switching a provider that provides the service from the active computer to the standby computer;
The computer,
When the computer is the working computer,
Detecting means for detecting an incommunicable state in which the active computer and the first relay device and the active computer and the second relay device cannot communicate with each other;
A switching request for notifying the standby computer via the communication path of a switching request for switching the computer that provides services to the plurality of terminal devices from the active computer to the standby computer based on the detection of the communication disabled state Notification means,
Function as
When the computer is the spare computer,
An update notification means for receiving the switching request and notifying the plurality of terminal devices of an update of a computer providing a service;
A computer switching program characterized by functioning as
複数の端末装置にサービスを提供する現用計算機と、
前記現用計算機に代わって前記複数の端末装置にサービスを提供可能な予備計算機と、
第1ネットワークと第2ネットワークで二重化されて、前記複数の端末装置が接続するネットワークと、
前記現用計算機および前記予備計算機を前記第1ネットワークと接続する第1中継装置と、
前記現用計算機および前記予備計算機を前記第2ネットワークと接続する第2中継装置と、
を備える計算機切替システムで、前記予備計算機であるコンピュータに、前記サービスを提供する提供元を前記現用計算機から前記予備計算機に切り替える処理を実行させるための計算機切替プログラムであって、
前記コンピュータを、
前記現用計算機と前記第1中継装置、および前記現用計算機と前記第2中継装置のそれぞれの通信ができない通信不可状態を検出する検出手段、
前記通信不可状態の検出を受けて、サービスを提供する計算機の更新を前記複数の端末装置に通知する更新通知手段、
として機能させることを特徴とする計算機切替プログラム。
An active computer that provides services to a plurality of terminal devices;
A spare computer capable of providing services to the plurality of terminal devices on behalf of the active computer;
A network that is duplicated in a first network and a second network and to which the plurality of terminal devices are connected;
A first relay device for connecting the active computer and the standby computer to the first network;
A second relay device for connecting the active computer and the standby computer to the second network;
A computer switching program for causing a computer that is the spare computer to execute a process of switching the provider providing the service from the active computer to the spare computer,
The computer,
Detecting means for detecting an incommunicable state in which the active computer and the first relay device and the active computer and the second relay device cannot communicate with each other;
Update notification means for receiving the detection of the communication disabled state and notifying the plurality of terminal devices of an update of a computer that provides a service;
A computer switching program characterized by functioning as
複数の端末装置にサービスを提供する現用計算機と、
前記現用計算機に代わって前記複数の端末装置にサービスを提供可能な予備計算機と、
第1ネットワークと第2ネットワークで二重化されて、前記複数の端末装置が接続するネットワークと、
前記ネットワークと独立した、前記現用計算機と前記予備計算機を接続する通信パスと、
前記現用計算機および前記予備計算機を前記第1ネットワークと接続する第1中継装置と、
前記現用計算機および前記予備計算機を前記第2ネットワークと接続する第2中継装置と、
を備える計算機切替システムの計算機切替方法であって、
前記現用計算機は、
前記現用計算機と前記第1中継装置、および前記現用計算機と前記第2中継装置のそれぞれの通信ができない通信不可状態を検出し、
前記通信不可状態の検出にもとづいて、前記複数の端末装置にサービスを提供する計算機を、前記現用計算機から前記予備計算機に切り替える切替依頼を、前記通信パスを介して前記予備計算機に通知し、
前記予備計算機は、
前記切替依頼を受けて、サービスを提供する計算機の更新を前記複数の端末装置に通知する、
ことを特徴とする計算機切替方法。
An active computer that provides services to a plurality of terminal devices;
A spare computer capable of providing services to the plurality of terminal devices on behalf of the active computer;
A network that is duplicated in a first network and a second network and to which the plurality of terminal devices are connected;
A communication path that is independent of the network and connects the active computer and the standby computer;
A first relay device for connecting the active computer and the standby computer to the first network;
A second relay device for connecting the active computer and the standby computer to the second network;
A computer switching method for a computer switching system comprising:
The working computer is
Detecting an incommunicable state in which the active computer and the first relay device, and the active computer and the second relay device cannot communicate with each other,
Based on the detection of the incommunicable state, a computer that provides services to the plurality of terminal devices is notified to the spare computer via the communication path of a switching request for switching from the active computer to the spare computer,
The preliminary computer is
In response to the switching request, the update of the computer providing the service is notified to the plurality of terminal devices.
A computer switching method characterized by that.
複数の端末装置にサービスを提供する現用計算機と、
前記現用計算機に代わって前記複数の端末装置にサービスを提供可能な予備計算機と、
第1ネットワークと第2ネットワークで二重化されて、前記複数の端末装置が接続するネットワークと、
前記現用計算機および前記予備計算機を前記第1ネットワークと接続する第1中継装置と、
前記現用計算機および前記予備計算機を前記第2ネットワークと接続する第2中継装置と、
を備える計算機切替システムの計算機切替方法であって、
前記予備計算機は、
前記現用計算機と前記第1中継装置、および前記現用計算機と前記第2中継装置のそれぞれの通信ができない通信不可状態を検出し、
前記通信不可状態の検出を受けて、サービスを提供する計算機の更新を前記複数の端末装置に通知する、
ことを特徴とする計算機切替方法。
An active computer that provides services to a plurality of terminal devices;
A spare computer capable of providing services to the plurality of terminal devices on behalf of the active computer;
A network that is duplicated in a first network and a second network and to which the plurality of terminal devices are connected;
A first relay device for connecting the active computer and the standby computer to the first network;
A second relay device for connecting the active computer and the standby computer to the second network;
A computer switching method for a computer switching system comprising:
The preliminary computer is
Detecting an incommunicable state in which the active computer and the first relay device, and the active computer and the second relay device cannot communicate with each other,
In response to detection of the communication disabled state, the update of the computer that provides the service is notified to the plurality of terminal devices.
A computer switching method characterized by that.
JP2010285752A 2010-12-22 2010-12-22 Computer switching system, computer switching program, and computer switching method Active JP5651004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010285752A JP5651004B2 (en) 2010-12-22 2010-12-22 Computer switching system, computer switching program, and computer switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010285752A JP5651004B2 (en) 2010-12-22 2010-12-22 Computer switching system, computer switching program, and computer switching method

Publications (2)

Publication Number Publication Date
JP2012133622A true JP2012133622A (en) 2012-07-12
JP5651004B2 JP5651004B2 (en) 2015-01-07

Family

ID=46649144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010285752A Active JP5651004B2 (en) 2010-12-22 2010-12-22 Computer switching system, computer switching program, and computer switching method

Country Status (1)

Country Link
JP (1) JP5651004B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011472A (en) * 2013-06-27 2015-01-19 富士通株式会社 Control method, control program, and information processing system
JP2016099634A (en) * 2014-11-18 2016-05-30 富士電機株式会社 Control system, repeating device, and control device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000330814A (en) * 1999-05-19 2000-11-30 Toshiba Corp Duplexed server system
JP2003022259A (en) * 2001-07-06 2003-01-24 Mitsubishi Electric Corp Client server control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000330814A (en) * 1999-05-19 2000-11-30 Toshiba Corp Duplexed server system
JP2003022259A (en) * 2001-07-06 2003-01-24 Mitsubishi Electric Corp Client server control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011472A (en) * 2013-06-27 2015-01-19 富士通株式会社 Control method, control program, and information processing system
JP2016099634A (en) * 2014-11-18 2016-05-30 富士電機株式会社 Control system, repeating device, and control device

Also Published As

Publication number Publication date
JP5651004B2 (en) 2015-01-07

Similar Documents

Publication Publication Date Title
US10715411B1 (en) Altering networking switch priority responsive to compute node fitness
JP6272958B2 (en) Physical network security device and control method thereof
US11194679B2 (en) Method and apparatus for redundancy in active-active cluster system
US10693813B1 (en) Enabling and disabling links of a networking switch responsive to compute node fitness
US9298566B2 (en) Automatic cluster-based failover handling
CN102629225B (en) Dual-controller disk array, storage system and data storage path switching method
US10069688B2 (en) Dynamically assigning, by functional domain, separate pairs of servers to primary and backup service processor modes within a grouping of servers
US20090245242A1 (en) Virtual Fibre Channel Over Ethernet Switch
US20070053285A1 (en) Method And Apparatus For Recovery From Faults In A Loop Network
JP2017010390A (en) Storage control device, storage control program, and storage control method
JP2013073289A (en) Multiplex system, data communication card, state abnormality detection method and program
JP6183931B2 (en) Cluster system, server apparatus, cluster system management method, and program
US8099634B2 (en) Autonomic component service state management for a multiple function component
CN103036701A (en) Network segment crossing N+1 backup method and network segment crossing N+1 backup device
JP5651004B2 (en) Computer switching system, computer switching program, and computer switching method
US10795846B1 (en) Scalable NVMe storage management over system management bus
US10855518B2 (en) Computer having an embedded switch
JP6134720B2 (en) Connection method
JP4806382B2 (en) Redundant system
CN109428821B (en) Server, method for managing routing of mutual backup device and storage medium
US20180203773A1 (en) Information processing apparatus, information processing system and information processing method
US9746986B2 (en) Storage system and information processing method with storage devices assigning representative addresses to reduce cable requirements
JP5752646B2 (en) Fault monitoring apparatus and fault monitoring method
CN112882771A (en) Server switching method and device of application system, storage medium and electronic equipment
US8755268B2 (en) Communicating information in an information handling system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140311

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140428

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140812

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140922

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20141014

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141111

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141114

R150 Certificate of patent or registration of utility model

Ref document number: 5651004

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150