JP3792343B2 - I / O destination switching system - Google Patents

I / O destination switching system Download PDF

Info

Publication number
JP3792343B2
JP3792343B2 JP11472597A JP11472597A JP3792343B2 JP 3792343 B2 JP3792343 B2 JP 3792343B2 JP 11472597 A JP11472597 A JP 11472597A JP 11472597 A JP11472597 A JP 11472597A JP 3792343 B2 JP3792343 B2 JP 3792343B2
Authority
JP
Japan
Prior art keywords
input
message
output control
control process
data
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.)
Expired - Fee Related
Application number
JP11472597A
Other languages
Japanese (ja)
Other versions
JPH10307729A (en
Inventor
恵美子 柳沢
良幸 中山
哲彦 平田
聡 宮崎
勝美 花島
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11472597A priority Critical patent/JP3792343B2/en
Publication of JPH10307729A publication Critical patent/JPH10307729A/en
Application granted granted Critical
Publication of JP3792343B2 publication Critical patent/JP3792343B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、アプリケーションプロセスのユーザインタフェースとして機能する入出力制御プロセスをアプリケーションプロセス側に影響を与えることなく任意時点で切り替えることができる入出力先切替システムに関する。
【0002】
【従来の技術】
ユーザインタフェースの切り替えに関する技術としては、例えば、特開平2−21354号公報に記載のリモートコントロールや、特開平5−274240号公報に記載のアプリケーションプログラム(AP)共有がある。リモートコントロールでは、ある計算機を別の計算機から操作できるようになり、対象画面は操作元の計算機に出力される。一方、AP共有では、ある計算機で動作しているAPの演算結果が複数計算機に出力されるため、複数ユーザの共同作業が可能となる。
【0003】
また、特願平8−229691号の切替システムでは、出力先の計算機に合わせて画面表示サイズの拡大縮小変更や入力内容の変更が可能となる。
【0004】
【発明が解決しようとする課題】
しかしながら、従来の切替システムは、APの入出力先がAPの起動時に指定されるため、途中で入出力先計算機を変更しようとした場合に、APを起動し直す必要があった。
【0005】
例えば、ある計算機でプラントの運転監視画面を表示している際に、該計算機のウィンドウシステムに異常が発生し、画面表示ができなくなったとき、従来の切替システムでは、運転監視用のAPは正常に動作しているにもかかわらず、その後の運転監視画面表示を行うためには該APを起動し直す必要があった。この場合、APによるプラントの監視処理は一旦中断されることになる。
【0006】
また、計算機に出力表示できるAPが1つに制限されるシステム構成において、あるAPの出力表示を行っている最中に別のAPの出力表示要求が発生した場合、従来の切替システムでは、出力中のAPと計算機のユーザインタフェース部分を一旦切断し、このユーザインタフェース部分に別のAPを接続する必要があった。つまり、出力先の計算機が同一であるにもかかわらず、出力表示するAPが切り替えられるたびに、APの接続をやり直さなければならなかった。
【0007】
このように従来の切替システムは、APに通常動作をさせたまま、入出力先を変更することができないという問題を抱えていた。
【0008】
このような問題点に鑑み、本発明は、アプリケーションプロセスのユーザインタフェースとして機能する入出力制御プロセスをアプリケーションプロセス側に影響を与えることなく任意時点で切り替えることができる入出力先切替システムを提供することにある。
【0009】
【課題を解決するための手段】
上記目的を達成するための本発明の一態様によれば、少なくとも一つのアプリケーションプロセスと、該アプリケーションプロセスのユーザインタフェースとして機能する少なくとも二つの入出力制御プロセス(入出力制御プロセスA、Bとする)が動作可能な一又は複数の計算機を備えた計算機システムに用いられる入出力先切替システムにおいて、
変換テーブルと、
前記入出力制御プロセスAと前記アプリケーションプロセスの両者に接続して、これらの間のメッセージ交換を実現する手段と、
前記メッセージ交換が為されている際に、交換されるメッセージを参照し、参照したメッセージに入出力制御プロセスA固有のデータが含まれているか否かを判定する手段と、
参照したメッセージに入出力制御プロセスA固有のデータが含まれていると判定された場合に、このデータを読み出して前記変換テーブルに登録する手段と、
切替指示を受け付け、前記入出力制御プロセスBと前記アプリケーションプロセスの両者に接続し、該入出力制御プロセスBに向けて初期処理用のメッセージを送信する手段と、
前記入出力制御プロセスBから発せられた、前記初期処理用のメッセージの応答メッセージを取得し、取得したメッセージに、前記入出力制御プロセスA固有のデータに対応する、入出力制御プロセスB固有のデータが含まれているか否かを判定する手段と、
取得したメッセージに前記入出力制御プロセスB固有のデータが含まれていると判定された場合に、このデータを読み出して、前記変換テーブルに登録する手段と、
前記入出力制御プロセスBと前記アプリケーションプロセスとの間でメッセージ交換を実現すると共に、その際、前記入出力制御プロセスBから前記アプリケーションプロセスに向けて発せられるメッセージに、入出力制御プロセスB固有のデータが含まれている場合には、前記変換テーブルを参照して、該入出力制御プロセスB固有のデータに対応する入出力制御プロセスA固有のデータを該メッセージに格納し、かつ、前記アプリケーションプロセスから前記入出力制御プロセスBに向けて発せられるメッセージに入出力制御プロセスA固有のデータが含まれている場合には、前記変換テーブルを参照して、該入出力制御プロセスA固有のデータに対応する入出力制御プロセスB固有のデータを該メッセージに格納することを特徴とする入出力先切替システムが提供される。
【0010】
【発明の実施の形態】
以下、本発明の実施形態の幾つかを図面を参照しながら説明する。
【0011】
<第1の実施形態>
図1は、第1の実施形態の入出力先切替システムが適用される計算機システムの構成図である。
【0012】
同図において、複数の計算機(計算機#1 10a、計算機#2 10b、プログラムサーバ#1 14a、プログラムサーバ#2 14b)は、通信ネットワーク15を介して接続されている。なお、以下の文章中、計算機10aと記載した場合には、計算機10aそのものを指し、計算機10と記載した場合には、計算機10a、10bの両者を指すものとする。この記載方法は、その他の構成要素の説明の際にも使用する。
【0013】
計算機10は、CPUやメモリを内蔵した本体のほか、ディスプレイ装置11、キーボード12、および、マウス13を備えている。プログラムサーバ14は、本体のみから構成されるようなものであっても構わない。
【0014】
図2は、図1の計算機システムを構成する各機器の機能構成を示した図である。
【0015】
計算機10およびプログラムサーバ14は、それぞれ、プロセスの制御、タイマ管理、通信制御等を行うオペレーティングシステム(OS)203を有する。本実施形態の入出力先切替システム(入出力先切替システム200)は、プログラムサーバ14bに置かれている。入出力先切替システム200が対象とするアプリケーションプログラム(対象AP201)は、プログラムサーバ14aに置かれている。対象AP201の入出力は計算機10を通して行なわれ、この入出力用計算機は、任意時点で変更される。本実施形態では、この変更指示を指示プログラム204が発行する。指示プログラム204は、複数存在してもよく、ここでは、計算機10aに指示プログラム204aが置かれ、プログラムサーバ14aに指示プログラム204bが置かれている。なお、プログラムは、一般に、OSの管理下に置かれた際、プロセスと呼ばれることもあるが、本実施形態では、これらを明確に区別する必要はないので同義として扱う。例えば、入出力先切替システムは、換言すれば、入出力先切替プロセスであり、これを実現するプログラムについては、プログラムサーバ14bに置かれている。入出力先切替システムを実現するためのプログラムは、通常のプロフラムと同様に、フロッピーディスク等の記憶媒体に格納して持ち運ぶことが可能である。
【0016】
また、計算機10は、入出力制御プロセスを持つ。本実施形態では、入出力制御プロセスとして、対象AP201からの表示命令に従い、ディスプレイ装置11にウィンドウを表示したり、表示画面に生成されたウィンドウに対する、キーボード12やマウス13を用いた入力操作を受け付け、これを入力データとして対象AP201へ送信したりするウィンドウシステム202を用いている。
【0017】
以上、図1および図2を用いて計算機システムの全体構成について説明したが、この計算機システムでは、対象AP201の入出力先となる計算機を一つに制限している。したがって、計算機10aを対象AP201の入出力先計算機として選択した場合、計算機10bは、待機状態にしておくか又は対象AP201と関係のない処理をさせておく。このとき、対象AP201は、表示画面の設計や入力データに関して、ディスプレイ装置11a、キーボード12a、マウス13aを想定していることになる。
【0018】
このような状況設定のもと、例えば、対象AP201の入出力先計算機を、計算機10aから計算機10bに変更したい場合が生じたとする。変更理由は、システムの管理スケジュールによるもの、ウィンドウシステムの障害によるもの等、何でもよい。
【0019】
入出力先切替システム200は、このような場合、以下に述べる各種機能を用いて、対象AP201の入出力先計算機を、計算機10aから計算機10bに変更する。
【0020】
なお、入出力先の計算機が変更されると、対象AP201の出力データがディスプレイ装置11bに表示され、かつ、キーボード12b、マウス13bを用いた入力操作が行われ、これらの入出力環境は、対象AP201が当初想定していたものと異なることになる。
【0021】
そこで、入出力先切替システム200は、入出力先計算機の切り替えに伴う入出力環境の違いを吸収し、入出力先が変更されたことを動作中の対象AP201が認識する必要のないようにしている。
【0022】
図3は、入出力先切替システム200の構成を機能別に示した図である。
【0023】
入出力先切替システム200は、対象AP201およびウィンドウシステム202の両者に論理的に結合して、これらの仲介役を勤めるもので、具体的には、対象AP201側のインタフェースとして機能する出力メッセージ取得手段301および入力メッセージ送信手段303と、ウィンドウシステム202側のインタフェースとして機能する出力メッセージ送信手段302および入力メッセージ取得手段304と、各ウィンドウシステム固有のデータが登録される変換テーブル(出力環境データ変換テーブル309および入力環境データ変換テーブル310)と、出力環境データ変換テーブル309を参照しながらデータ変換を実施するデータ変換手段307と、入力環境データ変換テーブル310を参照しながらデータ変換を実施するデータ変換手段308と、指示プログラム204から出力された切替指示を受信する切替指示受信手段305と、切替指示の受信を契機にウィンドウシステムを切り替える接続先切替手段306とを有する。出力環境データ変換テーブル309には、主に、画面に表示するウィンドウに関する情報が登録される。入力環境データ変換テーブル310には、主に、キーボードやマウスなどの入力装置に関する情報が登録される。指示プログラム204は、対象AP201と別プログラムになっているが、これらは同一プログラムにしてもよい。また、入出力先切替システム200内部で入出力先切替指示を発行するようにしてもよい。
【0024】
出力メッセージ取得手段301は、対象AP201からのメッセージ(例えば、表示命令)を取得すると、これを変換手段307に渡す。変換手段307は、必要があれば、この表示命令の内容を変換テーブル309を用いて変換し、これを出力メッセージ送信手段302に渡す。出力メッセージ送信手段302は、渡された表示命令をウィンドウシステム202に向けて送信する。
【0025】
入力メッセージ取得手段304は、ウィンドウシステム202からのメッセージ(例えば、入力データ)を取得すると、これを変換手段308に渡す。変換手段308は、必要があれば、この入力データの内容を変換テーブル310を用いて変換し、これを変換手段307に渡す。変換手段307は、必要があれば、渡された入力データの内容を変換テーブル309を用いて変換し、これを入力メッセージ送信手段303に渡す。入力メッセージ送信手段303は、渡された入力データを対象AP201に向けて送信する。
【0026】
切替指示受信手段305で受信する指示メッセージは、2種類存在する。ひとつは、現入出力先ウィンドウシステムとの接続の解除を求める切断指示メッセージであり、もうひとつは、新入出力先ウィンドウシステムとの接続を求める接続指示メッセージである。指示に応じた処理は、接続先切替手段306が実行する。
【0027】
図4に、変換テーブル309の構成例を示す。
【0028】
変換テーブル309には、データ種別401と、対象APが最初に接続したウィンドウシステムのデータ(仮データ)402と、ウィンドウシステムの切り替えによって新たに接続したウィンドウシステムのデータ(実データ)403が登録される。データ種別401は、データの種類を表すもので、例えば、ウィンドウ識別子、ピクセル値、フォントIDなどが存在する。ウィンドウ識別子は、ウィンドウを生成した際に、そのウィンドウに与えられる識別子である。ピクセル値は、描画しようとする色に対して割り当てられる値である。フォントIDは、フォントをロードした際に返される識別子である。これらの値は、ウィンドウシステムによって異なる可能性が高い。
【0029】
仮データ402は、対象APが、起動後、ウィンドウシステムとの最初の接続を行い、該ウィンドウシステムとAPとの間でメッセージ交換が為される間に登録され、実データ403は、入出力先切替指示を受けて新ウィンドウシステムに接続する際に登録される。これらの登録は、接続先切替手段306が行なう。なお、図示省略されているが、入力環境変換テーブル310も同様な構造になっている。入力環境変換テーブルのデータ種別には、例えば、キーボードの各キーとそのキーコードとの対応関係を表すマッピングや、マウスボタンの各ボタンと、その発生コードとの対応関係を表すマッピング等がある。これらも、ウィンドウシステムによって異なる可能性が高い。
【0030】
図5は、入出力先切替システム200の全体処理の流れを示す図である。
【0031】
対象AP201では、あらかじめ、データの入出力先としてウィンドウシステム202a、202bの何れかが定義されている。対象AP201からは、まず、データの入出力先として予め定義されているウィンドウシステムとの接続要求が出力される。
【0032】
入出力先切替システム200は、対象AP201からの接続要求を受け付けると(ステップ501)、接続要求を出した対象AP201と、本入出力先切替システム200と、接続が要求されているウィンドウシステムとを論理的に結合する(ステップ502)。論理的な結合とは、通信プロトコル(例えば、TCP/IP)におけるコネクションの確立を意味する。接続が完了したら、入出力先切替システム200は、対象AP201、指示プログラム204、および、ウィンドウシステムからのメッセージを待つ(ステップ503)。
【0033】
メッセージを受信すると(ステップ504)、受信したメッセージの種別を判別する(ステップ505)。メッセージ種別としては、指示プログラム204から送出される切替指示メッセージ、対象AP201から送出される出力メッセージ、および、ウィンドウシステムから送出される入力メッセージの3つがある。入出力先切替システム200では、メッセージの種別に応じて、入出力先切替処理506、出力メッセージ送信処理507、および、入力メッセージ送信処理508の何れかが実行される。受け付けたメッセージへの対応処理を行なった後は、再び、メッセージ受信待ち状態(ステップ503)となる。
【0034】
以上が入出力先切替システム200の全体処理の流れであるが、このフローによれば、例えば、ステップ501において、図2の対象AP201が入出力先として計算機10aを要求した場合、ステップ502にて、対象AP201、本入出力先切替システム200、および、ウィンドウシステム202aが接続され、その後、ステップ507、ステップ508において、入出力先切替システム200を介した、対象AP201とウィンドウシステム202aとのメッセージ交換が行なわれることになる。なお、このメッセージ交換の際、入出力先切替システム200は、交換されるメッセージを参照し、参照したメッセージに、予め定めた種類のデータが含まれているか否かを判定し、参照したメッセージに予め定めた種類のデータが含まれている場合には、このデータを読み出し、これを仮データとして変換テーブル309、310に登録する。予め定めた種類のデータとは、前述した、ウィンドウ識別子、ピクセル値、フォントID、キーコードのマッピング等、ウィンドウシステム202a固有のデータであり、これらが仮データとして変換テーブル309、310に登録される。
【0035】
図6は、入出力先切替処理506の詳細を示すフローチャートである。入出力先切替処理506では、ウィンドウシステムの切り替えが実施される。
【0036】
接続先切替手段306は、切替指示受信手段305で受け付けた切替指示メッセージを受信すると(ステップ601)、指示内容を判別する(ステップ602)。現在接続しているウィンドウシステムとの切断を指示された場合は、まず、このウィンドウシステムに対して、ウィンドウ消去指示が発行されているか否かを判定する(ステップ603)。ウィンドウ消去指示は、必要に応じて対象AP201が発行するメッセージである。ウィンドウ消去指示がある場合、消去しようするウィンドウに関する情報を、図示省略したウィンドウ情報保管テーブルに保管する(ステップ604)。消去したウィンドウの表示内容を切り替え先のウィンドウシステムで再度表示する必要がある場合は、この保管テーブルの情報を利用する。接続先切替手段306は、その後、現在接続しているウィンドウシステムにウィンドウ消去指示を与え、該ウィンドウシステムのウィンドウを消去し(ステップ605)、このウィンドウシステムと入出力先切替システム200とを切断する(ステップ606)。
【0037】
ステップ603にて、ウィンドウ消去指示がないと判定した場合は、出力中のウィンドウの消去は行わなず、ウィンドウシステムとの接続もそのままにしておく。なお、ウィンドウシステムとの接続を維持していても、入出力先切替システム200は、このウィンドウシステムからの入力メッセージは受け付けず、また、該ウィンドウシステムに対する出力メッセージの送信処理も行なわない。
【0038】
一方、ステップ601にて、新たなウィンドウシステムとの接続指示を受け付けた場合、その旨がステップ602で判定され、以下に述べる処理が実行される。なお、前述したステップ603にてウィンドウ消去指示が無いと判断され、ステップ606がスキップされた場合は、この処理においても、旧ウィンドウシステムとの接続はそのまま維持される。
【0039】
接続先切替手段306は、まず、対象AP201から送られた初期処理用のメッセージがメッセージ保管テーブル(図示省略)に保管されているか否かを判断する(ステップ607)。対象AP201は、入出力先切替システム200を介してウィンドウシステムと接続する際、最初に、このウィンドウシステムに対して初期処理用のメッセージを送信する。初期処理用のメッセージには、例えば、ウィンドウの生成指示、ウィンドウを実際に画面上で見えるようにするためのマッピング指示、フォントのロード指示などがある。接続先切替手段306は、対象AP201から送られた初期処理用のメッセージをウィンドウシステムに転送しつつ、これらのメッセージをメッセージ保管テーブルに逐次保管しており、ステップ607では、切り替え前のウィンドウシステムに対して送出された初期処理用のメッセージがメッセージ保管テーブルに存在するかどうかをチェックする。
【0040】
初期処理用のメッセージが保管されていない場合、接続先切替手段306は、ライブラリを使用して、初期処理用のメッセージを生成し、これを今回接続するウィンドウシステムに送出する(ステップ609)。一方、初期処理用のメッセージが保管されている場合は、このメッセージを直接あるいは加工して、ウィンドウシステムに送出する(ステップ608)。このように接続先切替手段306は、対象AP201の替わりに、接続対象のウィンドウシステムに向けて初期処理用のメッセージを送信する。
【0041】
ステップ608、609の何れかの処理を行なった後は、切替前のウィンドウシステムが出力していたウィンドウの表示内容を新たに接続したウィンドウシステムの画面に表示せよという要求があるか否かを判定する(ステップ610)。この要求がある場合は、再表示指示を出力するよう、対象AP201に向けてメッセージを送信する(ステップ611)。
【0042】
なお、特定のイベント発生させて、ウィンドウシステムの自動切替を実行するような場合は、入出力先切替システム200内にあらかじめ切替先のウィンドウシステムを登録しておく。特定イベント(例えば、タイマをかけた場合のタイムアウト)発生時には、切断処理(ステップ603〜ステップ606)後、登録された出力先への接続処理(ステップ607〜ステップ611)を実行する。
【0043】
図7は、初期処理用メッセージの送信処理の詳細を示すフローチャートである。
【0044】
メッセージ保管テーブルに保管されている初期処理用メッセージは、前述したように、対象AP201がウィンドウシステムに最初に接続する際に送信したメッセージであるが、メッセージ保管テーブルに保管されている初期処理用メッセージの多くは、最初に接続するウィンドウシステム(つまり、対象APに予め定義されているウィンドウシステム)向けに作成されている。
【0045】
したがって、新たなに接続するウィンドウシステムが、対象AP201が想定しているウィンドウシステムと環境が異なる場合は、そのメッセージの内容を、新たなウィンドウシステム向けに変換する必要がある。
【0046】
そこで、接続先切替手段306は、メッセージ保管テーブルに保管されている初期処理用メッセージを逐次読み込み(ステップ701)、読み込んだメッセージの中に、出力環境に関して変換すべきデータが含まれているか否かを判断し(ステップ702)、変換すべきデータが存在する場合は、変換テーブル309を参照し(ステップ703)、メッセージ内のデータを変換テーブル309の実データで上書きし(ステップ704)、このメッセージを新たに接続するウィンドウシステムに送信する(ステップ705)。ステップ704で使用する実データについては、あらかじめ変換テーブル309に登録されているものとする。ステップ701からステップ705の処理は、保管メッセージがある限り繰り返す(ステップ706)。なお、ウィンドウシステム側でそれを判断できるようであれば、ステップ704では、変換テーブル309の実データを上書きでなくメッセージに追加するような形にしても構わない。
【0047】
接続先切替手段306は、全保管メッセージを送信後、送信したメッセージに対するウィンドウシステムからの応答を待つ(ステップ707)。ウィンドウシステムからの応答メッセージを受信すると(ステップ708)、応答メッセージの中に、前述した予め定めた種類と同じ種類のデータ(具体的には、ウィンドウシステム202b固有のデータ)が含まれているか否かを判定し(ステップ709)、ウィンドウシステム202b固有のデータが含まれている場合には、それをデータ変換テーブル309、310へ実データとして登録する(ステップ710)。なお、受信した応答メッセージは廃棄する(ステップ711)。そして、ウィンドウシステムに送信したメッセージに対する応答メッセージを全て受信するまで、ステップ707〜711を繰り返す(ステップ712)。
【0048】
図8は、出力メッセージ送信処理507の詳細を示すフローチャートである。
【0049】
ここでは、対象AP201の入出力先がウィンドウシステム202aとなっている切り替え前の状態と、入出力先がウィンドウシステム202aからウィンドウシステム202bに変更された切り替え後の状態のそれぞれを例にとって説明する。
【0050】
まず、切り替え前の状態について述べる。
【0051】
入出力先切替システム200は、対象AP201からのメッセージを受信すると(ステップ801)、メッセージ内に変換すべきデータが含まれているか否かを判別する(ステップ802)。変換すべきデータとは、ウィンドウシステム202b向けに変換しなければならない、ウィンドウシステム202a固有のデータであるが、ここでは、入出力先がまだウィンドウシステム202aであるため、ステップ802の次にステップ805が実行される。ステップ805では、ステップ801で受信したメッセージをそのままウィンドウシステム202aに送信する。なお、受信したメッセージをそのまま送信する、とは、データ変換を施さずに送信するの意で、詳細には、宛先変更処理等が実行される。
【0052】
つぎに、切り替え後の状態について述べる。
【0053】
入出力先切替システム200は、先程と同様、対象AP201からのメッセージを受信し(ステップ801)、メッセージ内に変換すべきデータ(具体的には、変換テーブル309の仮データと同一データ)が含まれているか否かを判別する(ステップ802)。ここでは、入出力先がウィンドウシステム202bであるため、メッセージ内に変換すべきデータが含まれている可能性がある。メッセージ内に変換すべきデータが含まれている場合、変換テーブル309を参照し(ステップ803)、メッセージ内の変換すべきデータを、対応する実データに変換し(ステップ804)、このメッセージをウィンドウシステムへ送信する(ステップ805)。実データは、変換すべきデータに上書きするようにしてもよいが、ウィンドウシステム側で対応可能であれば、メッセージ内に実データを追加するような形にしても構わない。
【0054】
以上のような出力メッセージ送信処理を実行すれば、対象AP201は、ウィンドウシステムの切り替えを意識することなく通常通りのメッセージ送信を行なうことができるようになる。
【0055】
図9は、入力メッセージ送信処理508を示すフローチャートである。ここでは、前述した変換処理と逆方向の変換が為されることになる。
【0056】
入出力先切替システム200は、ウィンドウシステムから送信されたメッセージを受信すると(ステップ901)、そのメッセージに、変換すべき、入力環境に関するデータが含まれているか否かを判別する(ステップ902)。変換すべきデータが含まれている場合、変換テーブル309を参照し(ステップ903)、メッセージ内のデータを、対応する仮データに変換する(ステップ904)。さらに、受信したメッセージに、変換すべき、出力環境に関するデータが含まれているか否かを判別する(ステップ905)。変換すべきデータが含まれている場合、変換テーブル310を参照し(ステップ906)、メッセージ内のデータを、対応する仮データに変換する(ステップ907)。その後、変換処理を施したメッセージ、又は、受信したメッセージそのものを対象AP201に送信する(ステップ908)。なお、受信したメッセージそのものを送信する、とは、データ変換を施さずに送信するの意で、詳細には、宛先変更処理等が実行される。
【0057】
以上のような入力メッセージ送信処理を実行すれば、ウィンドウシステムの切り替えが行われても、対象AP201は通常通りの受信処理を行うことができるようになる。
【0058】
以上説明したように、本入出力先切替システムによれば、切り替え先のウィンドウシステムに合わせてメッセージ内のデータが変換されるため、対象AP201は、入出力先の変更を意識することなく処理を続行できるようになる。
【0059】
例えば、プログラムサーバ#1に対象APとなるプラントの運転監視プログラムが置かれ、計算機#1のディスプレイ装置で運転監視を行っている場合に、計算機#1のウィンドウシステム、OS、その他プログラムのいずれかに障害が発生すると、プログラムサーバ#1の指示プログラムから入出力先計算機の切替指示が発行される。切替指示が発行されると、プログラムサーバ#2の本入出力先切替システムは、計算機#1への表示命令の送信を停止して計算機#1での監視作業を終了させ、計算機#2へ出力先を変更する。このとき、プログラムサーバ#1の対象APは、動作を停止することなく表示命令を計算機#2に送信し、計算機#2のウィンドウシステムには表示命令に応じた表示が為されることになる。したがって、ユーザは、この計算機#2で引き続き監視作業を行うことができるようになる。
【0060】
<第2の実施形態>:
本発明の第1の実施形態の変形例を図10に示す。ここでは、図2において別個の計算機に配置されていた、対象AP201a、ウィンドウシステム202a、入出力先切替システム200aを同一の計算機(計算機#1 10a)に配置している。これらは、通信ネットワークを介さず計算機内通信を行う。また、計算機#2 10bには、対象AP201b、入出力先切替システム200bを配置する。入出力先切替システムの構成は、第1の実施形態と同様である。なお、本実施形態では、ウィンドウシステム202aに接続されるAPが一つに制限されるものとする。
【0061】
最初、この計算機システムでは、対象AP201aの表示出力が許可されており、対象AP201a、入出力先切替システム200a、および、ウィンドウシステム202aのそれぞれは相互に接続してメッセージ交換を行い、計算機10aで対象AP201aの出力表示を行っている。表示出力の許可は、指示プログラム204aが発行する。
【0062】
途中、対象AP201bの表示許可が発行されると、対象AP201b、入出力先切替システム200b、および、ウィンドウシステム202aのそれぞれが相互に接続し、ウィンドウシステム202aと入出力先切替システム200aは切断される。このとき、対象AP201aと入出力先切替システム200aは切断されない。その後、対象AP201b、入出力先切替システム200b、および、ウィンドウシステム202aの間でメッセージ交換が行われ、計算機10aで対象AP201bの出力表示が行われる。
【0063】
そして再び対象AP201aの表示許可が発行されたとき、ウィンドウシステム202aと入出力先切替システム200bが切断され、入出力先切替システム200aがウィンドウシステム202aと接続する。
【0064】
このように本実施形態によれば、対象APがウィンドウシステムから切り離されても、入出力先切替システムが、切り離された対象APの相手をするため、対象APがウィンドウシステムとの切断の影響で動作を中断するといった問題がない。
【0065】
<第3の実施形態>
第3の実施形態別では、入出力先切替システムが仮想的に入出力システムになるというものである。
【0066】
図2において、計算機#1の入出力システム(ウィンドウシステム202a)への接続は、計算機#1の指示プログラム204aが許可した時点で可能となり、対象AP201は、ウィンドウシステムと接続して初めてその後の処理を行うような仕様の場合、計算機#1の指示プログラム204aが、ウィンドウシステム202aへの接続許可を発行する以前に、本入出力先切替システム200が仮想的に入出力ウィンドウシステムとなって対象APと接続する。そして、計算機#1の指示プログラム204aが接続を許可した時点で、本入出力先切替システム200が計算機#1のウィンドウシステム202aと接続し、対象APの出力をこのウィンドウシステム202aに送信する。
【0067】
図11は、仮接続処理を行う場合の本入出力先切替システム全体の処理を示すフローチャートである。
【0068】
図5に示した第1の実施形態のフローと異なるところは、対象AP201からの接続要求を受信した(ステップ501)あと、入出力先となるウィンドウシステムに対する接続許可が出ているか否かを確認する(ステップ111)点にある。接続許可が出ていれば、通常の接続処理(ステップ502)を行う。接続許可がない場合は、仮接続要求受付処理(ステップ112)を行う。接続後の処理は、図5の全体処理と同様である(ステップ503〜ステップ508)。
【0069】
図12は、仮接続要求受付処理112のフローチャートを示す。
【0070】
対象AP201からのメッセージを待ち(ステップ121)、メッセージを受信すると(ステップ122)、メッセージの種別を判別し(ステップ123)、該メッセージが対象APからの接続に関する初期処理用のメッセージの場合、該メッセージを保管する(ステップ124)。その後、該メッセージに対する応答が必要か否かを判定し(ステップ125)、必要な場合は、本入出力先切替システムで応答メッセージを作成し(ステップ126)、これを対象AP201に送信する(ステップ127)。接続許可メッセージを受信して、入出力先ウィンドウシステムと接続するまで、これらの処理(ステップ121〜ステップ127)を繰り返す。
【0071】
一方、受信したメッセージが接続許可メッセージの場合は、初期処理用メッセージ送信処理(図7の608と同様の処理)を実行し、入出力先ウィドウシステムと接続する。
【0072】
このように、本実施形態の入出力先切替システムは、ウィンドウシステムの代役として機能するため、対象APが実際のウィンドウシステムとの接続を待たずに処理を進めることができるようになる。
【0073】
【発明の効果】
以上説明したように本発明の入出力先切替システムによれば、アプリケーションプログラム(AP)の動作を停止させることなく、APの入出力先を変更できるようになる。
【0074】
また、複数のAPが存在し、かつ、入出力先に接続できるAPが1つに制限されるような場合は、本発明の入出力先切替システムが、入出力先に接続されていない方のAPに接続して応答処理を実行するため、この場合も、APは、入出力先との接続、切断を意識せずに動作を続行することができるようになる。
【0075】
また、入出力先との接続を許可されるまで、入出力先と接続できないような場合は、本発明の入出力先切替システムが、まず、APと接続して接続許可が発行されるまでAPの相手をし、接続許可が発行された時点で、本入出力先切替システムが入出力先と接続するため、この場合も、 APは、入出力先との接続、切断を意識せずに動作を続行することができるようになる。なお、APは、既に動作中であるため、即時表示出力できるという効果もある。
【図面の簡単な説明】
【図1】本発明の第1の実施形態の計算機システムのハードウエア構成を示す構成図である。
【図2】本発明の第1の実施形態の計算機システムのソフトウエア構成を示す構成図である。
【図3】本発明の第1の実施形態の切替システムの機能構成を示す構成図である。
【図4】本発明の第1の実施形態の変換テーブルの構成図である。
【図5】本発明の第1の実施形態における全体処理のフローチャートである。
【図6】本発明の第1の実施形態における入出力先切替処理のフローチャートである。
【図7】本発明の第1の実施形態における初期処理用のメッセージ送信処理のフローチャートである。
【図8】本発明の第1の実施形態における出力メッセージ送信処理のフローチャートである。
【図9】本発明の第1の実施形態における入力メッセージ送信処理のフローチャートである。
【図10】本発明の第2の実施形態の計算機システムのソフトウエア構成を示す構成図である。
【図11】本発明の第3の実施形態における全体処理のフローチャートである。
【図12】本発明の第3の実施形態における仮接続要求受付処理のフローチャートである。
【符号の説明】
10:計算機、11:ディスプレイ装置、12:キーボード、13:マウス、14:プログラムサーバ、15:通信ネットワーク、201:対象AP、202:ウィンドウシステム、203:OS、204:指示プログラム、301:出力メッセージ取得手段、302:出力メッセージ送信手段、303:入力メッセージ送信手段、304:入力メッセージ取得手段、305:切替指示受信手段、306:接続先切替手段、307、308:変換手段、309、310:変換テーッブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an input / output destination switching system capable of switching an input / output control process functioning as a user interface of an application process at any time without affecting the application process side.
[0002]
[Prior art]
As a technique related to switching of the user interface, for example, there is a remote control described in JP-A-2-21354 and application program (AP) sharing described in JP-A-5-274240. With remote control, a computer can be operated from another computer, and the target screen is output to the computer that is the operation source. On the other hand, in AP sharing, the calculation result of an AP operating on a certain computer is output to a plurality of computers, so that collaborative work among a plurality of users is possible.
[0003]
In the switching system of Japanese Patent Application No. 8-229691, the screen display size can be enlarged or reduced and the input contents can be changed in accordance with the output destination computer.
[0004]
[Problems to be solved by the invention]
However, in the conventional switching system, since the input / output destination of the AP is specified when the AP is started, it is necessary to restart the AP when changing the input / output destination computer in the middle.
[0005]
For example, when a plant operation monitoring screen is displayed on a certain computer, when an abnormality occurs in the window system of the computer and the screen cannot be displayed, the operation monitoring AP is normal in the conventional switching system. In spite of the operation, it is necessary to restart the AP in order to display the subsequent operation monitoring screen. In this case, the plant monitoring process by the AP is temporarily interrupted.
[0006]
Also, in a system configuration in which the number of APs that can be output and displayed on a computer is limited to one, when an output display request from another AP is generated during the output display of one AP, It was necessary to temporarily disconnect the AP and the user interface part of the computer and connect another AP to this user interface part. In other words, even though the output destination computer is the same, every time the AP for output display is switched, the connection of the AP has to be performed again.
[0007]
Thus, the conventional switching system has a problem that the input / output destination cannot be changed while the AP is normally operated.
[0008]
In view of such problems, the present invention provides an input / output destination switching system capable of switching an input / output control process functioning as a user interface of an application process at any time without affecting the application process side. It is in.
[0009]
[Means for Solving the Problems]
According to one aspect of the present invention for achieving the above object, at least one application process and at least two input / output control processes (input / output control processes A and B) functioning as a user interface of the application process. In an input / output destination switching system used in a computer system including one or more computers capable of operating
A conversion table;
Means for connecting to both the input / output control process A and the application process to realize message exchange between them;
Means for referring to the message to be exchanged when the message exchange is being performed and determining whether the referenced message includes data specific to the input / output control process A;
Means for reading the data and registering it in the conversion table when it is determined that the referenced message contains data specific to the input / output control process A;
Means for receiving a switching instruction, connecting to both the input / output control process B and the application process, and transmitting a message for initial processing to the input / output control process B;
The response message of the message for initial processing issued from the input / output control process B is acquired, and the data unique to the input / output control process B corresponding to the data specific to the input / output control process A in the acquired message Means for determining whether or not
Means for reading out this data and registering it in the conversion table when it is determined that the acquired message contains data specific to the input / output control process B;
A message is exchanged between the input / output control process B and the application process. At this time, data unique to the input / output control process B is included in a message issued from the input / output control process B to the application process. Is included, the input / output control process A specific data corresponding to the input / output control process B specific data is stored in the message with reference to the conversion table, and the application process When data specific to the input / output control process A is included in the message issued to the input / output control process B, the conversion table is referred to correspond to the data specific to the input / output control process A. I / O control process B specific data is stored in the message The destination switching system is provided.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, some embodiments of the present invention will be described with reference to the drawings.
[0011]
<First Embodiment>
FIG. 1 is a configuration diagram of a computer system to which the input / output destination switching system of the first embodiment is applied.
[0012]
In the figure, a plurality of computers (computer # 1 10a, computer # 2 10b, program server # 1 14a, program server # 2 14b) are connected via a communication network 15. In the following text, the term “computer 10a” refers to the computer 10a itself, and the term “computer 10” refers to both the computers 10a and 10b. This description method is also used in the description of other components.
[0013]
The computer 10 includes a display device 11, a keyboard 12, and a mouse 13 in addition to a main body incorporating a CPU and a memory. The program server 14 may be configured only from the main body.
[0014]
FIG. 2 is a diagram showing a functional configuration of each device constituting the computer system of FIG.
[0015]
The computer 10 and the program server 14 each have an operating system (OS) 203 that performs process control, timer management, communication control, and the like. The input / output destination switching system (input / output destination switching system 200) of this embodiment is placed in the program server 14b. An application program (target AP 201) targeted by the input / output destination switching system 200 is placed in the program server 14a. Input / output of the target AP 201 is performed through the computer 10, and this input / output computer is changed at an arbitrary time. In this embodiment, the instruction program 204 issues this change instruction. There may be a plurality of instruction programs 204. Here, the instruction program 204a is placed in the computer 10a, and the instruction program 204b is placed in the program server 14a. Note that the program is generally called a process when placed under the management of the OS, but in the present embodiment, these are treated as synonymous because it is not necessary to clearly distinguish them. For example, the input / output destination switching system is, in other words, an input / output destination switching process, and a program for realizing this is placed in the program server 14b. A program for realizing the input / output destination switching system can be stored and carried in a storage medium such as a floppy disk in the same manner as a normal program.
[0016]
The computer 10 has an input / output control process. In the present embodiment, as an input / output control process, in accordance with a display command from the target AP 201, a window is displayed on the display device 11 or an input operation using the keyboard 12 or the mouse 13 is accepted for the window generated on the display screen. A window system 202 that transmits this as input data to the target AP 201 is used.
[0017]
The overall configuration of the computer system has been described above with reference to FIGS. 1 and 2, but this computer system limits the number of computers that are the input / output destinations of the target AP 201 to one. Therefore, when the computer 10a is selected as the input / output destination computer of the target AP 201, the computer 10b is put in a standby state or performs a process unrelated to the target AP 201. At this time, the target AP 201 assumes the display device 11a, the keyboard 12a, and the mouse 13a with respect to display screen design and input data.
[0018]
For example, it is assumed that the input / output destination computer of the target AP 201 is desired to be changed from the computer 10a to the computer 10b under such a situation setting. The reason for the change may be anything such as a system management schedule or a window system failure.
[0019]
In such a case, the input / output destination switching system 200 changes the input / output destination computer of the target AP 201 from the computer 10a to the computer 10b using various functions described below.
[0020]
When the input / output destination computer is changed, the output data of the target AP 201 is displayed on the display device 11b, and an input operation using the keyboard 12b and the mouse 13b is performed. This is different from what AP201 originally assumed.
[0021]
Therefore, the input / output destination switching system 200 absorbs the difference in the input / output environment associated with the switching of the input / output destination computer so that the operating AP 201 does not need to recognize that the input / output destination has been changed. Yes.
[0022]
FIG. 3 is a diagram showing the configuration of the input / output destination switching system 200 by function.
[0023]
The input / output destination switching system 200 is logically coupled to both the target AP 201 and the window system 202 and serves as an intermediary between these. Specifically, the output message acquisition unit functions as an interface on the target AP 201 side. 301, an input message transmission unit 303, an output message transmission unit 302 and an input message acquisition unit 304 that function as an interface on the window system 202 side, and a conversion table (output environment data conversion table 309) in which data specific to each window system is registered. And the input environment data conversion table 310), the data conversion means 307 for performing data conversion with reference to the output environment data conversion table 309, and the data conversion with reference to the input environment data conversion table 310. With a chromatography data conversion unit 308, a switching instruction receiving means 305 for receiving a switching instruction output from the instruction program 204, and a connection destination switching means 306 for switching the window system upon receipt of the switching instruction. In the output environment data conversion table 309, information related to windows displayed on the screen is mainly registered. In the input environment data conversion table 310, information related to input devices such as a keyboard and a mouse is mainly registered. The instruction program 204 is a separate program from the target AP 201, but these may be the same program. Further, an input / output destination switching instruction may be issued within the input / output destination switching system 200.
[0024]
When the output message acquisition unit 301 acquires a message (for example, a display command) from the target AP 201, it passes this to the conversion unit 307. If necessary, the conversion unit 307 converts the contents of the display command using the conversion table 309 and passes this to the output message transmission unit 302. The output message transmission unit 302 transmits the passed display command to the window system 202.
[0025]
When the input message acquisition unit 304 acquires a message (for example, input data) from the window system 202, it passes this to the conversion unit 308. If necessary, the conversion unit 308 converts the contents of the input data using the conversion table 310 and passes this to the conversion unit 307. If necessary, the conversion unit 307 converts the contents of the input data passed using the conversion table 309, and passes this to the input message transmission unit 303. The input message transmission unit 303 transmits the passed input data to the target AP 201.
[0026]
There are two types of instruction messages received by the switching instruction receiving unit 305. One is a disconnection instruction message for requesting release of the connection with the current input / output destination window system, and the other is a connection instruction message for requesting connection with the new input / output destination window system. The connection destination switching unit 306 executes processing according to the instruction.
[0027]
FIG. 4 shows a configuration example of the conversion table 309.
[0028]
In the conversion table 309, the data type 401, the window system data (temporary data) 402 to which the target AP first connected, and the window system data (actual data) 403 newly connected by switching the window system are registered. The The data type 401 represents the type of data and includes, for example, a window identifier, a pixel value, a font ID, and the like. The window identifier is an identifier given to a window when the window is created. The pixel value is a value assigned to the color to be drawn. The font ID is an identifier returned when the font is loaded. These values are likely to be different depending on the window system.
[0029]
The provisional data 402 is registered while the target AP makes an initial connection with the window system after activation, and messages are exchanged between the window system and the AP. Registered when connecting to the new window system in response to a switching instruction. These registrations are performed by the connection destination switching means 306. Although not shown, the input environment conversion table 310 has a similar structure. The data type of the input environment conversion table includes, for example, mapping that represents the correspondence between each key of the keyboard and its key code, mapping that represents the correspondence between each button of the mouse button and the generated code, and the like. These are also likely to differ depending on the window system.
[0030]
FIG. 5 is a diagram showing a flow of overall processing of the input / output destination switching system 200.
[0031]
In the target AP 201, one of the window systems 202a and 202b is defined in advance as a data input / output destination. The target AP 201 first outputs a connection request with a window system that is defined in advance as a data input / output destination.
[0032]
When the input / output destination switching system 200 receives a connection request from the target AP 201 (step 501), the input / output destination switching system 200 and the window system for which the connection is requested are issued. Logically connect (step 502). Logical connection means establishment of a connection in a communication protocol (for example, TCP / IP). When the connection is completed, the input / output destination switching system 200 waits for a message from the target AP 201, the instruction program 204, and the window system (step 503).
[0033]
When a message is received (step 504), the type of the received message is determined (step 505). There are three message types: a switching instruction message sent from the instruction program 204, an output message sent from the target AP 201, and an input message sent from the window system. In the input / output destination switching system 200, any of the input / output destination switching processing 506, the output message transmission processing 507, and the input message transmission processing 508 is executed according to the type of message. After performing the processing for the received message, the message reception waiting state is again entered (step 503).
[0034]
The above is the overall processing flow of the input / output destination switching system 200. According to this flow, for example, in step 501, if the target AP 201 in FIG. , The target AP 201, the input / output destination switching system 200, and the window system 202 a are connected. Thereafter, in step 507 and step 508, message exchange between the target AP 201 and the window system 202 a via the input / output destination switching system 200 is performed. Will be performed. At the time of this message exchange, the input / output destination switching system 200 refers to the message to be exchanged, determines whether or not a predetermined type of data is included in the referenced message, and includes the referenced message. If a predetermined type of data is included, this data is read out and registered in the conversion tables 309 and 310 as temporary data. The predetermined type of data is data unique to the window system 202a such as the window identifier, pixel value, font ID, and key code mapping described above, and these are registered in the conversion tables 309 and 310 as temporary data. .
[0035]
FIG. 6 is a flowchart showing details of the input / output destination switching processing 506. In the input / output destination switching process 506, the window system is switched.
[0036]
When the connection destination switching unit 306 receives the switching instruction message received by the switching instruction receiving unit 305 (step 601), the connection destination switching unit 306 determines the instruction content (step 602). If disconnection from the currently connected window system is instructed, it is first determined whether or not a window erase instruction has been issued to this window system (step 603). The window deletion instruction is a message issued by the target AP 201 as necessary. If there is a window deletion instruction, information about the window to be deleted is stored in a window information storage table (not shown) (step 604). When it is necessary to display the display contents of the deleted window again in the window system of the switching destination, the information in this storage table is used. Thereafter, the connection destination switching unit 306 gives a window deletion instruction to the currently connected window system, deletes the window of the window system (step 605), and disconnects the window system and the input / output destination switching system 200. (Step 606).
[0037]
If it is determined in step 603 that there is no window deletion instruction, the window being output is not deleted and the connection with the window system is left as it is. Even if the connection with the window system is maintained, the input / output destination switching system 200 does not accept an input message from the window system and does not perform an output message transmission process for the window system.
[0038]
On the other hand, if a connection instruction with a new window system is received in step 601, this is determined in step 602, and the processing described below is executed. If it is determined in step 603 that there is no window deletion instruction and step 606 is skipped, the connection with the old window system is maintained in this process as well.
[0039]
The connection destination switching unit 306 first determines whether or not the message for initial processing sent from the target AP 201 is stored in a message storage table (not shown) (step 607). When the target AP 201 is connected to the window system via the input / output destination switching system 200, first, the target AP 201 transmits a message for initial processing to the window system. The message for initial processing includes, for example, a window generation instruction, a mapping instruction for making the window actually visible on the screen, and a font load instruction. The connection destination switching unit 306 sequentially stores these messages in the message storage table while transferring the initial processing messages sent from the target AP 201 to the window system. In step 607, the connection destination switching unit 306 stores the messages in the window system before switching. Check whether the message for initial processing sent to the message storage table exists.
[0040]
If the message for initial processing is not stored, the connection destination switching unit 306 generates a message for initial processing using the library and sends it to the window system to be connected this time (step 609). On the other hand, if a message for initial processing is stored, this message is directly or processed and sent to the window system (step 608). In this way, the connection destination switching unit 306 transmits a message for initial processing to the window system to be connected instead of the target AP 201.
[0041]
After performing any of the processing in steps 608 and 609, it is determined whether or not there is a request to display the display contents of the window output by the window system before switching on the screen of the newly connected window system. (Step 610). If there is this request, a message is transmitted to the target AP 201 so as to output a redisplay instruction (step 611).
[0042]
Note that when a specific event occurs and automatic switching of the window system is executed, the switching destination window system is registered in the input / output destination switching system 200 in advance. When a specific event (for example, a timeout when a timer is applied) occurs, connection processing (steps 607 to 611) to the registered output destination is executed after disconnection processing (steps 603 to 606).
[0043]
FIG. 7 is a flowchart showing details of the initial process message transmission process.
[0044]
As described above, the initial processing message stored in the message storage table is a message transmitted when the target AP 201 first connects to the window system, but the initial processing message stored in the message storage table. Most of them are created for a window system to be connected first (that is, a window system defined in advance for the target AP).
[0045]
Therefore, when the newly connected window system has a different environment from the window system assumed by the target AP 201, it is necessary to convert the content of the message for the new window system.
[0046]
Therefore, the connection destination switching unit 306 sequentially reads the initial processing messages stored in the message storage table (step 701), and whether or not the read messages include data to be converted regarding the output environment. (Step 702), if there is data to be converted, the conversion table 309 is referred to (step 703), and the data in the message is overwritten with the actual data in the conversion table 309 (step 704). Is transmitted to the newly connected window system (step 705). It is assumed that the actual data used in step 704 is registered in the conversion table 309 in advance. The processing from step 701 to step 705 is repeated as long as there is a storage message (step 706). If it can be determined on the window system side, in step 704, the actual data of the conversion table 309 may be added to the message instead of being overwritten.
[0047]
After transmitting all the stored messages, the connection destination switching unit 306 waits for a response from the window system to the transmitted messages (step 707). When a response message from the window system is received (step 708), whether or not the response message includes the same type of data (specifically, data specific to the window system 202b) as described above. (Step 709), if data specific to the window system 202b is included, it is registered in the data conversion tables 309 and 310 as actual data (step 710). The received response message is discarded (step 711). Steps 707 to 711 are repeated until all response messages to the message transmitted to the window system are received (step 712).
[0048]
FIG. 8 is a flowchart showing details of the output message transmission processing 507.
[0049]
Here, description will be given by taking as an example a state before switching in which the input / output destination of the target AP 201 is the window system 202a and a state after switching in which the input / output destination is changed from the window system 202a to the window system 202b.
[0050]
First, the state before switching will be described.
[0051]
When receiving the message from the target AP 201 (step 801), the input / output destination switching system 200 determines whether or not the data to be converted is included in the message (step 802). The data to be converted is data specific to the window system 202a that must be converted for the window system 202b, but here, since the input / output destination is still the window system 202a, step 805 follows step 802. Is executed. In step 805, the message received in step 801 is transmitted to the window system 202a as it is. Note that sending a received message as it is means sending without performing data conversion, and in detail, a destination change process or the like is executed.
[0052]
Next, the state after switching will be described.
[0053]
The input / output destination switching system 200 receives the message from the target AP 201 (step 801), and includes the data to be converted (specifically, the same data as the temporary data in the conversion table 309) in the same manner as before. It is discriminated whether or not (step 802). Here, since the input / output destination is the window system 202b, there is a possibility that data to be converted is included in the message. When data to be converted is included in the message, the conversion table 309 is referred to (step 803), the data to be converted in the message is converted into the corresponding actual data (step 804), and this message is displayed in the window. Transmit to the system (step 805). The actual data may be overwritten on the data to be converted, but the actual data may be added to the message as long as the window system can handle it.
[0054]
By executing the output message transmission process as described above, the target AP 201 can perform normal message transmission without being aware of switching of the window system.
[0055]
FIG. 9 is a flowchart showing the input message transmission process 508. Here, conversion in the opposite direction to the conversion process described above is performed.
[0056]
When the input / output destination switching system 200 receives the message transmitted from the window system (step 901), the input / output destination switching system 200 determines whether the message contains data relating to the input environment to be converted (step 902). When data to be converted is included, the conversion table 309 is referred to (step 903), and the data in the message is converted into corresponding temporary data (step 904). Further, it is determined whether or not the received message contains data relating to the output environment to be converted (step 905). When data to be converted is included, the conversion table 310 is referred to (step 906), and the data in the message is converted into corresponding temporary data (step 907). Thereafter, the message subjected to the conversion process or the received message itself is transmitted to the target AP 201 (step 908). Note that sending the received message itself means sending without performing data conversion, and in detail, destination change processing or the like is executed.
[0057]
By executing the input message transmission process as described above, the target AP 201 can perform a normal reception process even if the window system is switched.
[0058]
As described above, according to this input / output destination switching system, the data in the message is converted in accordance with the window system of the switching destination, so that the target AP 201 performs processing without being aware of the change of the input / output destination. You can continue.
[0059]
For example, when the operation monitoring program for the target AP is placed in the program server # 1 and the operation monitoring is performed by the display device of the computer # 1, any of the window system, OS, and other programs of the computer # 1 When a failure occurs, an instruction to switch the input / output destination computer is issued from the instruction program of the program server # 1. When the switching instruction is issued, the input / output destination switching system of the program server # 2 stops the transmission of the display command to the computer # 1, ends the monitoring work on the computer # 1, and outputs it to the computer # 2. Change the destination. At this time, the target AP of the program server # 1 transmits a display command to the computer # 2 without stopping the operation, and a display corresponding to the display command is made on the window system of the computer # 2. Therefore, the user can continue to perform monitoring work on the computer # 2.
[0060]
<Second Embodiment>
A modification of the first embodiment of the present invention is shown in FIG. Here, the target AP 201a, the window system 202a, and the input / output destination switching system 200a, which are arranged in separate computers in FIG. 2, are arranged in the same computer (computer # 1 10a). These perform intra-computer communication without going through a communication network. Further, the target AP 201b and the input / output destination switching system 200b are arranged in the computer # 2 10b. The configuration of the input / output destination switching system is the same as that of the first embodiment. In the present embodiment, the number of APs connected to the window system 202a is limited to one.
[0061]
Initially, in this computer system, display output of the target AP 201a is permitted, and the target AP 201a, the input / output destination switching system 200a, and the window system 202a are mutually connected to exchange messages, and the computer 10a performs the target exchange. The output display of the AP 201a is performed. The permission of display output is issued by the instruction program 204a.
[0062]
In the middle, when the display permission of the target AP 201b is issued, the target AP 201b, the input / output destination switching system 200b, and the window system 202a are connected to each other, and the window system 202a and the input / output destination switching system 200a are disconnected. . At this time, the target AP 201a and the input / output destination switching system 200a are not disconnected. Thereafter, messages are exchanged among the target AP 201b, the input / output destination switching system 200b, and the window system 202a, and the output of the target AP 201b is displayed on the computer 10a.
[0063]
When the display permission of the target AP 201a is issued again, the window system 202a and the input / output destination switching system 200b are disconnected, and the input / output destination switching system 200a is connected to the window system 202a.
[0064]
As described above, according to the present embodiment, even if the target AP is disconnected from the window system, the input / output destination switching system is the counterpart of the disconnected target AP. There is no problem of interrupting operation.
[0065]
<Third Embodiment>
According to the third embodiment, the input / output destination switching system is virtually an input / output system.
[0066]
In FIG. 2, connection of the computer # 1 to the input / output system (window system 202a) becomes possible when the instruction program 204a of the computer # 1 permits, and the target AP 201 is connected to the window system for the subsequent processing. When the specification program 204a of the computer # 1 issues a connection permission to the window system 202a, the input / output destination switching system 200 becomes a virtual input / output window system before the computer # 1 instruction program 204a issues a connection permission to the target AP. Connect with. When the instruction program 204a of the computer # 1 permits the connection, the input / output destination switching system 200 connects to the window system 202a of the computer # 1, and transmits the output of the target AP to the window system 202a.
[0067]
FIG. 11 is a flowchart showing processing of the entire input / output destination switching system when temporary connection processing is performed.
[0068]
The difference from the flow of the first embodiment shown in FIG. 5 is that after receiving a connection request from the target AP 201 (step 501), it is confirmed whether or not connection permission for the window system as the input / output destination has been issued. (Step 111). If the connection is permitted, normal connection processing (step 502) is performed. If connection is not permitted, temporary connection request acceptance processing (step 112) is performed. The process after the connection is the same as the overall process of FIG. 5 (steps 503 to 508).
[0069]
FIG. 12 shows a flowchart of the temporary connection request acceptance process 112.
[0070]
Waiting for a message from the target AP 201 (step 121), receiving the message (step 122), determining the type of the message (step 123), and if the message is a message for initial processing related to the connection from the target AP, The message is stored (step 124). Thereafter, it is determined whether or not a response to the message is necessary (step 125). If necessary, a response message is created by the input / output destination switching system (step 126) and transmitted to the target AP 201 (step 125). 127). These processes (step 121 to step 127) are repeated until the connection permission message is received and connection is established with the input / output destination window system.
[0071]
On the other hand, if the received message is a connection permission message, an initial process message transmission process (a process similar to 608 in FIG. 7) is executed to connect to the input / output destination window system.
[0072]
As described above, since the input / output destination switching system of this embodiment functions as a substitute for the window system, the target AP can proceed without waiting for the connection with the actual window system.
[0073]
【The invention's effect】
As described above, according to the input / output destination switching system of the present invention, the input / output destination of the AP can be changed without stopping the operation of the application program (AP).
[0074]
If there are a plurality of APs and the number of APs that can be connected to the input / output destination is limited to one, the input / output destination switching system of the present invention is not connected to the input / output destination. Since the response process is executed by connecting to the AP, in this case as well, the AP can continue the operation without being aware of the connection and disconnection with the input / output destination.
[0075]
If the connection with the input / output destination is not allowed until the connection with the input / output destination is permitted, the input / output destination switching system of the present invention first connects to the AP until the connection permission is issued. When the connection permission is issued, the I / O destination switching system connects to the I / O destination. In this case, the AP operates without being aware of the connection or disconnection with the I / O destination. Will be able to continue. Since the AP is already in operation, there is an effect that it can be immediately displayed and output.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing a hardware configuration of a computer system according to a first embodiment of this invention.
FIG. 2 is a configuration diagram showing a software configuration of the computer system according to the first embodiment of this invention.
FIG. 3 is a configuration diagram illustrating a functional configuration of the switching system according to the first embodiment of this invention.
FIG. 4 is a configuration diagram of a conversion table according to the first embodiment of this invention.
FIG. 5 is a flowchart of overall processing in the first embodiment of the present invention.
FIG. 6 is a flowchart of input / output destination switching processing according to the first embodiment of the present invention.
FIG. 7 is a flowchart of message transmission processing for initial processing according to the first embodiment of the present invention.
FIG. 8 is a flowchart of output message transmission processing according to the first embodiment of the present invention.
FIG. 9 is a flowchart of an input message transmission process according to the first embodiment of the present invention.
FIG. 10 is a configuration diagram showing a software configuration of a computer system according to a second embodiment of this invention.
FIG. 11 is a flowchart of overall processing in a third embodiment of the present invention.
FIG. 12 is a flowchart of temporary connection request reception processing in the third embodiment of the present invention.
[Explanation of symbols]
10: computer, 11: display device, 12: keyboard, 13: mouse, 14: program server, 15: communication network, 201: target AP, 202: window system, 203: OS, 204: instruction program, 301: output message Acquisition means, 302: Output message transmission means, 303: Input message transmission means, 304: Input message acquisition means, 305: Switching instruction reception means, 306: Connection destination switching means, 307, 308: Conversion means, 309, 310: Conversion Table

Claims (7)

少なくとも一つのアプリケーションプロセスと、該アプリケーションプロセスのユーザインタフェースとして機能する少なくとも二つの入出力制御プロセス(入出力制御プロセスA、Bとする)が動作可能な一又は複数の計算機を備えた計算機システムに用いられる入出力先切替システムにおいて、
変換テーブルと、
前記入出力制御プロセスAと前記アプリケーションプロセスの両者に接続して、これらの間のメッセージ交換を実現する手段と、
前記メッセージ交換が行なわれている際に、交換されるメッセージを参照し、参照したメッセージに入出力制御プロセスA固有のデータが含まれているか否かを判定する手段と、
前記参照したメッセージに入出力制御プロセスA固有のデータが含まれていると判定された場合に、このデータを読み出して前記変換テーブルに登録する手段と、
切替指示を受け付ける手段と、
前記切替指示を受付けた場合に、前記入出力制御プロセスBと前記アプリケーションプロセスの両者に接続し、該入出力制御プロセスBに向けて初期処理用のメッセージを送信する手段と、
前記入出力制御プロセスBから発せられた、前記初期処理用のメッセージの応答メッセージを取得し、取得したメッセージに、前記入出力制御プロセスA固有のデータに対応する、入出力制御プロセスB固有のデータが含まれているか否かを判定する手段と、
前記取得したメッセージに前記入出力制御プロセスB固有のデータが含まれていると判定された場合に、このデータを読み出して、前記変換テーブルに登録する手段と、
前記入出力制御プロセスBと前記アプリケーションプロセスとの間でメッセージ交換を実現すると共に、その際、前記入出力制御プロセスBから前記アプリケーションプロセスに向けて発せられるメッセージに、入出力制御プロセスB固有のデータが含まれている場合には、前記変換テーブルを参照して、該入出力制御プロセスB固有のデータに対応する入出力制御プロセスA固有のデータを該メッセージに格納し、かつ、前記アプリケーションプロセスから前記入出力制御プロセスBに向けて発せられるメッセージに入出力制御プロセスA固有のデータが含まれている場合には、前記変換テーブルを参照して、該入出力制御プロセスA固有のデータに対応する入出力制御プロセスB固有のデータを該メッセージに格納すること
を特徴とする入出力先切替システム。
Used in a computer system including at least one application process and one or more computers capable of operating at least two input / output control processes (input / output control processes A and B) functioning as a user interface of the application process Input / output destination switching system
A conversion table;
Means for connecting to both the input / output control process A and the application process to realize message exchange between them;
Means for referring to the message to be exchanged when the message exchange is being performed and determining whether the referenced message includes data unique to the input / output control process A;
Means for reading out and registering this data in the conversion table when it is determined that the referenced message includes data unique to the input / output control process A;
Means for receiving a switching instruction;
Means for connecting to both the input / output control process B and the application process when receiving the switching instruction, and transmitting a message for initial processing to the input / output control process B;
The response message of the message for initial processing issued from the input / output control process B is acquired, and the data unique to the input / output control process B corresponding to the data specific to the input / output control process A in the acquired message Means for determining whether or not
Means for reading out this data and registering it in the conversion table when it is determined that the acquired message contains data specific to the input / output control process B;
A message is exchanged between the input / output control process B and the application process. At this time, data unique to the input / output control process B is included in a message issued from the input / output control process B to the application process. Is included, the input / output control process A specific data corresponding to the input / output control process B specific data is stored in the message with reference to the conversion table, and the application process When data specific to the input / output control process A is included in the message issued to the input / output control process B, the conversion table is referred to correspond to the data specific to the input / output control process A. I / O control process B specific data is stored in the message Output destination switching system.
請求項1に記載の入出力先切替システムおいて、
前記入出力制御プロセスAと前記アプリケーションプロセスの両者に接続して、これらの間のメッセージ交換を実現する手段は、
前記アプリケーションプロセスに接続したのち、外部から与えられる接続許可を待ち、接続許可を待つ間、前記アプリケーションプロセスから発せられたメッセージに対して応答が必要か否かの判定を行い、該応答が必要であると判定した場合、応答メッセージを作成し、前記アプリケーションプロセスに送信する応答処理を実行する手段と、
前記接続許可を受けたのち、前記入出力制御プロセスAに接続する手段と、を含むこと
を特徴とする入出力先切替システム。
In the input / output destination switching system according to claim 1,
Means for connecting to both the input / output control process A and the application process to realize message exchange between them,
After connecting to the application process, it waits for connection permission given from the outside. While waiting for connection permission, it determines whether or not a response is required for the message issued from the application process, and the response is necessary. If it is determined that there is, means for creating a response message and executing response processing to send to the application process;
And a means for connecting to the input / output control process A after receiving the connection permission.
請求項1に記載の入出力先切替システムおいて、
前記アプリケーションプロセスから前記入出力制御プロセスAに向けて送出されるメッセージには、前記入出力制御プロセスA向けの初期処理用のメッセージが含まれていて、
前記入出力制御プロセスAと前記アプリケーションプロセスの両者に接続して、これらの間のメッセージ交換を実現する手段は、
前記アプリケーションプロセスから前記入出力制御プロセスAに向けて送出されるメッセージのうち前記初期処理用のメッセージを少なくとも保管する手段を含み、
前記初期処理用のメッセージを送信する手段は、保管した前記初期処理用メッセージのうちの一部又は全部のメッセージを、データ部分をそのままの状態で又は該部分に変換処理を施して、前記入出力制御プロセスB向けの初期処理用のメッセージとして前記入出力制御プロセスBに送信すること
を特徴とする入出力先切替システム。
In the input / output destination switching system according to claim 1,
The message sent from the application process toward the input / output control process A includes an initial processing message for the input / output control process A.
Means for connecting to both the input / output control process A and the application process to realize message exchange between them,
Means for storing at least the message for initial processing among messages sent from the application process to the input / output control process A;
The means for transmitting the initial processing message is configured to perform the input / output by converting a part or all of the stored initial processing message in a state where the data part is left as it is or in the part. An input / output destination switching system, wherein the input / output control process B is transmitted to the input / output control process B as an initial processing message for the control process B.
少なくとも一つのアプリケーションプロセスと、該アプリケーションプロセスのユーザインタフェースとして機能する少なくとも二つの入出力制御プロセスが動作可能な一又は複数の計算機を備えた計算機システムに用いられる入出力先切替システムにおいて、
接続要求メッセージを受け付け、前記二つの入出力制御プロセスのうちの一方の入出力制御プロセス、当該入出力先切替システム、および、前記アプリケーションプロセスを論理的に結合する手段と、
変換テーブルと、
前記接続要求メッセージの受け付けによる前記論理的な結合が行なわれたのち、前記一方の入出力制御プロセスと前記アプリケーションプロセスとの間で送受されるメッセージを参照し、参照したメッセージに予め定めた種類のデータが含まれているか否かを判定する手段と、
前記参照したメッセージに予め定めた種類のデータが含まれていると判定された場合に、そのデータを切替前データとして前記変換テーブルに登録する手段と、
切替指示を受け付ける手段と、
前記切替指示を受付けた場合に、前記一方の入出力制御プロセスと当該入出力先切替システムとの論理的な結合を解除するか又はそのままにした状態で、かつ、当該入出力先切替システムと前記アプリケーションプロセスとの論理的な結合はそのままにした状態で、前記二つの入出力制御プロセスのうちの他方の入出力制御プロセスと当該入出力先切替システムとを論理的に結合する手段と、
前記切替要求メッセージによる前記論理的な結合が行なわれたのち、前記他方の入出力制御プロセスから前記アプリケーションプロセスに向けて送出されるメッセージを取得して、それを参照し、参照したメッセージに前記予め定めた種類と同じ種類のデータが含まれているか否かを判定する手段と、
参照したメッセージに前記予め定めた種類と同じ種類のデータが含まれている場合に、そのデータを切替後データとして前記変換テーブルに登録する手段と、
前記切替後データの登録が行われたのち、前記アプリケーションプロセスから前記他方の入出力制御プロセスに向けて送出されるメッセージを取得して、それを参照し、参照したメッセージに前記切替前データと同一データが含まれているか否かを判定する手段と、
参照したメッセージに前記切替前データと同一データが含まれていると判定された場合に、該切替前データに対応する切替後データを前記変換テーブルから読み出し、読み出した切替後データで、取得したメッセージ内の切替前データを上書きするか、又は読み出した切替後データを該メッセージ内に追加して、このメッセージを送り先である前記他方の入出力制御プロセスに送信する手段とを備えること
を特徴とする入出力切り替えシステム。
In an input / output destination switching system used in a computer system including at least one application process and one or more computers capable of operating at least two input / output control processes functioning as a user interface of the application process,
Means for accepting a connection request message, logically combining one of the two input / output control processes, the input / output destination switching system, and the application process;
A conversion table;
After the logical connection is performed by accepting the connection request message, a message transmitted and received between the one input / output control process and the application process is referred to, and a predetermined type of message is referred to. Means for determining whether data is included;
Means for registering the data in the conversion table as pre-switching data when it is determined that the referenced message includes data of a predetermined type;
Means for receiving a switching instruction;
When the switching instruction is received, the logical connection between the one input / output control process and the input / output destination switching system is released or left as it is, and the input / output destination switching system and the input / output destination switching system Means for logically coupling the other input / output control process of the two input / output control processes and the input / output destination switching system, while maintaining a logical connection with the application process;
After the logical combination by the switching request message is performed, a message transmitted from the other input / output control process to the application process is acquired, and the message is referred to. Means for determining whether data of the same type as the determined type is included;
Means for registering the data in the conversion table as post-switching data when the referenced message contains the same type of data as the predetermined type;
After registration of the post-switch data, a message sent from the application process to the other input / output control process is obtained, referenced, and the same message as the pre-switch data is referenced. Means for determining whether data is included;
When it is determined that the same data as the pre-switching data is included in the referenced message, the post-switching data corresponding to the pre-switching data is read from the conversion table, and the acquired message is the read post-switching data. And a means for adding the read post-switching data to the message and transmitting the message to the other input / output control process as the destination. Input / output switching system.
一又は複数のウィンドウを表示画面に表示し、表示画面に表示したウィンドウに対するデータの入出力を制御する入出力制御プロセスを備えた計算機が通信ネットワークを介して複数台接続され、これらの計算機又は該通信ネットワークに接続された別の計算機に搭載されたアプリケーションプロセスと前記複数の計算機のうちの何れかの入出力制御プロセスとの間でメッセージが送受される計算機システムに用いられる入出力先切替システムにおいて、
変換テーブルと、
前記複数の入出力制御プロセスのうちの一の入出力制御プロセス(入出力制御プロセスAとする)と、前記アプリケーションプロセスとの間のメッセージの送受信を行うと共に、前記送受信が行われている際に、送受信されるメッセージを参照し、該参照したメッセージに入出力制御プロセスA固有のデータが含まれているか否かを判定し、前記参照したメッセージに入出力制御プロセスA固有のデータが含まれていると判定された場合に、このデータを前記変換テーブルに登録する第1の処理と、
前記複数の入出力制御プロセスのうちの前記入出力制御プロセスA以外の入出力制御プロセス(入出力制御プロセスBとする)と、前記アプリケーションプロセスとの間のメッセージ交換を実現すると共に、その際、前記入出力制御プロセスBから前記アプリケーションプロセスに向けて発せられるメッセージに、入出力制御プロセスB固有のデータがメッセージに含まれている場合には、このデータを前記変換テーブルに登録すると共に、前記変換テーブルを参照して、該入出力制御プロセスB固有のデータに対応する入出力制御プロセスA固有のデータを該メッセージに格納し、かつ、前記アプリケーションプロセスから前記入出力制御プロセスBに向けて発せられるメッセージに、入出力制御プロセスA固有のデータがメッセージに含まれている場合には、前記変換テーブルを参照して、該入出力制御プロセスA固有のデータに対応する入出力制御プロセスB固有のデータを該メッセージに格納する第2の処理と、を実行可能な手段と、
与えられた指示に応じて、前記第1の処理と前記第2の処理を選択的に実行させる手段とを備えたこと
を特徴とする入出力先切替システム。
One or a plurality of windows are displayed on the display screen, and a plurality of computers having an input / output control process for controlling data input / output with respect to the windows displayed on the display screen are connected via a communication network. In an input / output destination switching system used in a computer system in which a message is transmitted / received between an application process installed in another computer connected to a communication network and an input / output control process of any of the plurality of computers ,
A conversion table;
When transmitting / receiving a message between one input / output control process (input / output control process A) of the plurality of input / output control processes and the application process, and when the transmission / reception is performed The message to be transmitted / received is referred to, and it is determined whether or not the data referred to by the input / output control process A is included in the referred message, and the data referred to by the input / output control process A is included in the referred message. A first process for registering this data in the conversion table when it is determined that
Realizing message exchange between the application process and an input / output control process (referred to as input / output control process B) other than the input / output control process A among the plurality of input / output control processes, When a message issued from the input / output control process B to the application process includes data unique to the input / output control process B, the data is registered in the conversion table and the conversion is performed. Referring to the table, data specific to input / output control process A corresponding to data specific to input / output control process B is stored in the message, and issued from the application process to input / output control process B The message contains data specific to I / O control process A. If it is, the conversion table can be referenced to execute the second process of storing the data specific to the input / output control process B corresponding to the data specific to the input / output control process A in the message Means,
An input / output destination switching system comprising: means for selectively executing the first process and the second process in response to a given instruction.
請求項5に記載の入出力先切替システムにおいて、
前記第1の処理と前記第2の処理を切り替える際に、切り替え前のウィンドウの表示内容と同一の内容を切り替え後のウィンドウに表示する手段をさらに備えること
を特徴とする入出力先切替システム。
In the input / output destination switching system according to claim 5,
An input / output destination switching system further comprising means for displaying the same content as the display content of the window before switching in the window after switching when switching between the first processing and the second processing.
一又は複数のウィンドウを表示画面に表示し、表示画面に表示したウィンドウに対するデータの入出力を制御する入出力制御プロセスを備えた計算機が通信ネットワークを介して複数台接続され、これらの計算機又は該通信ネットワークに接続された別の計算機に搭載されたアプリケーションプロセスと前記複数の計算機のうちの何れかの入出力制御プロセスとの間でメッセージが送受される計算機システムに用いられる入出力先切替プログラムを記録した記録媒体であって、
前記入出力先切替プログラムには、変換テーブルが含まれていて、
前記複数の入出力制御プロセスのうちの一の入出力制御プロセス(入出力制御プロセスAとする)と、前記アプリケーションプロセスとの間のメッセージの送受信を行うと共に、前記送受信が行われている際に、送受信されるメッセージを参照し、該参照したメッセージに入出力制御プロセスA固有のデータが含まれているか否かを判定し、前記参照したメッセージに入出力制御プロセスA固有のデータが含まれていると判定された場合に、このデータを前記変換テーブルに登録する第1の処理と、
前記複数の入出力制御プロセスのうちの前記入出力制御プロセスA以外の入出力制御プロセス(入出力制御プロセスBとする)と、前記アプリケーションプロセスとの間のメッセージ交換を実現すると共に、その際、前記入出力制御プロセスBから前記アプリケーションプロセスに向けて発せられるメッセージに、入出力制御プロセスB固有のデータがメッセージに含まれている場合には、このデータを前記変換テーブルに登録すると共に、前記変換テーブルを参照して、該入出力制御プロセスB固有のデータに対応する入出力制御プロセスA固有のデータを該メッセージに格納し、かつ、前記アプリケーションプロセスから前記入出力制御プロセスBに向けて発せられるメッセージに、入出力制御プロセスA固有のデータがメッセージに含まれている場合には、前記変換テーブルを参照して、該入出力制御プロセスA固有のデータに対応する入出力制御プロセスB固有のデータを該メッセージに格納する第2の処理とを、与えられた指示に応じて選択的に実行するための入出力先切替プログラムを記録した記録媒体。
One or a plurality of windows are displayed on the display screen, and a plurality of computers having an input / output control process for controlling data input / output with respect to the windows displayed on the display screen are connected via a communication network. An input / output destination switching program used in a computer system in which a message is transmitted and received between an application process installed in another computer connected to a communication network and an input / output control process of any of the plurality of computers A recorded recording medium,
The input / output destination switching program includes a conversion table,
When transmitting / receiving a message between one input / output control process (input / output control process A) of the plurality of input / output control processes and the application process, and when the transmission / reception is performed The message to be transmitted / received is referred to, and it is determined whether or not the data referred to by the input / output control process A is included in the referred message, and the data referred to by the input / output control process A is included in the referred message. A first process for registering this data in the conversion table when it is determined that
Realizing message exchange between the application process and an input / output control process (referred to as input / output control process B) other than the input / output control process A among the plurality of input / output control processes, When a message issued from the input / output control process B to the application process includes data unique to the input / output control process B, the data is registered in the conversion table and the conversion is performed. Referring to the table, data specific to input / output control process A corresponding to data specific to input / output control process B is stored in the message, and issued from the application process to input / output control process B The message contains data specific to I / O control process A. The second table for storing the data specific to the input / output control process B corresponding to the data specific to the input / output control process A with reference to the conversion table. Recording medium on which an input / output destination switching program for selectively executing in accordance with the received instruction is recorded.
JP11472597A 1997-05-02 1997-05-02 I / O destination switching system Expired - Fee Related JP3792343B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11472597A JP3792343B2 (en) 1997-05-02 1997-05-02 I / O destination switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11472597A JP3792343B2 (en) 1997-05-02 1997-05-02 I / O destination switching system

Publications (2)

Publication Number Publication Date
JPH10307729A JPH10307729A (en) 1998-11-17
JP3792343B2 true JP3792343B2 (en) 2006-07-05

Family

ID=14645068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11472597A Expired - Fee Related JP3792343B2 (en) 1997-05-02 1997-05-02 I / O destination switching system

Country Status (1)

Country Link
JP (1) JP3792343B2 (en)

Also Published As

Publication number Publication date
JPH10307729A (en) 1998-11-17

Similar Documents

Publication Publication Date Title
US20070130342A1 (en) Allocating management method of computer
US5398329A (en) System for switching between first and second control unit and broadcasting switchover to connecting hosts indicating availability of first and second communication links
US7188149B2 (en) Storage operating data control system
JP3811085B2 (en) Scanner system
JP4592242B2 (en) Server / client system
US6553414B1 (en) System used in plural information processing devices for commonly using peripheral device in network
JP3792343B2 (en) I / O destination switching system
JP5040364B2 (en) Information processing system, transfer server device
JPH06250886A (en) Remote supervisory method for computer system and remote computer managing system
JPH05216737A (en) Application cooperative processing system in file transfer
JP2004166244A (en) System for simultaneously implementing multiple functions
JP3411309B2 (en) Multicast communication system
JP2000181656A (en) Printing data managing device and printing data managing method
KR100304364B1 (en) Method for operation and management data processing in switching system
KR100875033B1 (en) Transaction Control Method in Multi-system One-Way Method Interworking Using Garbage Management
JP2006172385A (en) Computer system, method for calling storage management program and storage system
JPH10320345A (en) Bus controller
JP2778408B2 (en) Management device
JPH0991213A (en) Transfer system and method between different communication protocol files
JP2021086488A (en) Loosely-coupled system
JPH11146173A (en) Image scanner
JPS6295621A (en) Remote control for computer system
JPH0997237A (en) Input telegraphic message guaranteeing method for on-line transaction processing system
JP2001229096A (en) Network system forcible completion device
JPH05165752A (en) Operating method for communication control processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050314

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050926

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050926

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050926

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20051107

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: 20060328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060405

LAPS Cancellation because of no payment of annual fees