JP2004260581A - Method and device for automatically degenerating line in communication line failure and communication control program - Google Patents

Method and device for automatically degenerating line in communication line failure and communication control program Download PDF

Info

Publication number
JP2004260581A
JP2004260581A JP2003049392A JP2003049392A JP2004260581A JP 2004260581 A JP2004260581 A JP 2004260581A JP 2003049392 A JP2003049392 A JP 2003049392A JP 2003049392 A JP2003049392 A JP 2003049392A JP 2004260581 A JP2004260581 A JP 2004260581A
Authority
JP
Japan
Prior art keywords
communication
line
attribute
communication line
failure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003049392A
Other languages
Japanese (ja)
Inventor
Yoshinori Takahashi
禎範 高橋
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.)
Seiko Precision Inc
Original Assignee
Seiko Precision Inc
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 Seiko Precision Inc filed Critical Seiko Precision Inc
Priority to JP2003049392A priority Critical patent/JP2004260581A/en
Publication of JP2004260581A publication Critical patent/JP2004260581A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an automatic line degenerating method in a communication line failure for switching the communication attribute of a normal line to the communication attribute of a communication line where a failure occurs for substitution in the case that the failure occurs in one of communication lines and to provide its device and a communication control program in a system for allocating a communication attribute to each of a plurality of communication lines and performing data communication on the basis of the allocated attribute. <P>SOLUTION: This automatic line degenerating method in a communication line failure has the steps for: automatically selecting one normal communication line among the plurality of communication lines when the occurrence of a failure (7) is detected in one communication line among the plurality of communication lines (3a and 3b); changing the attribute of the selected normal communication line to use the changed attribute as a substitution for the communication line where the failure has occurred; and replacing the communication line where the failure has occurred with the selected normal communication line to perform data communication used in a dedicated manner. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、一般に、データ通信方法とその装置及び通信制御プログラムに関し、より詳細には、通信回線障害時の自動回線縮退方法とその装置及び通信制御プログラムに関する。
【0002】
【従来の技術】
従来技術として、特許文献1に複数の通信回線を用いてデータ通信を行なうシステムにおいていずれかの通信回線に障害が発生した場合、通信回線の切替え制御を行う装置および方法が開示されている。特許文献1では、障害が発生した通信回線を除く残りの正常な通信回線の負荷分散を考慮しつつ通信負荷の少ない迂回先回線を選択して切替えを行ない、障害が回復した後にデータ通信を元の通信回線に自動的に戻すことができるように、迂回中回線情報と迂回先回線情報を含む構成が開示されている。
【0003】
【特許文献1】
特許第2732775号(段落〔0008〕乃至〔0013〕)
【0004】
【発明が解決しようとする課題】
しかし、複数の通信回線を用いてデータ通信を行なう場合、通信回線に送信専用(又はデータ要求回線)及び受信専用(又はデータ回答回線)などの所定の属性が予め割り当てられていることがある。このような場合、特許文献1に開示される従来技術では、障害回線の同じ属性を持った迂回先回線が必要であり、もし、障害回線と同じ属性の代替用の迂回先回線がないと、選択と切替えができないという問題点がある。
【0005】
本願発明は、かかる従来技術の問題点を解決することを目的とする。
【0006】
【課題を解決するための手段】
請求項1に記載の本発明によれば、複数の通信回線を使用してデータ通信を行なう方法であって、複数の通信回線の各々に属性を割り当て、属性に基づいて前記各通信回線を専用的に所定のデータ通信のために使用するステップと、複数の通信回線内の1つの通信回線の障害の発生を検出したときに自動的に複数の通信回線内の1つの正常な通信回線を選択し、選択された正常な通信回線の属性を障害を発生した通信回線の代替として使用するために変更するステップと、変更された属性に基づいて、障害を発生した通信回線を専用的に使用するデータ通信を選択された正常な通信回線で代替して行なうステップとを有することを特徴とする通信回線障害時の自動回線縮退方法が提供される。
【0007】
請求項1に記載された方法によれば、予め各通信回線に属性が割り当てられている場合、正常回線の属性を障害回線の属性に変更することにより、障害回線の代替として使用することができる。従って、障害回線と同じ属性を持った正常回線が無い場合でも、正常回線の属性を変更することで代替回線を確保することが可能となる。
【0008】
請求項2に記載の本発明によれば、請求項1に記載の自動回線縮退方法において、属性が、データ通信のデータ要求用又はデータ回答用のいずれか一方を表わすことを特徴とする自動回線縮退方法が提供される。
【0009】
請求項2に記載された方法によれば、各通信回線に割り当てられた属性が、データ通信のデータ要求用又はデータ回答用のいずれかを表わす。すなわち、データ通信によりデータセンター(データサーバー)から情報データ提供サービスを受けるクライアントから見ると、データ要求用の属性の回線はデータセンターへの送信専用の回線を表わし、データ回答用の属性の回線はデータセンターからの受信専用の回線を表わす。このように、複数の通信回線を送信専用と受信専用とに分けることにより、データ通信の効率を高めることができる。
【0010】
請求項3に記載の本発明によれば、請求項1に記載の自動回線縮退方法において、変更するステップが、障害の発生を検出したら障害を発生した通信回線を専用的に使用するデータ通信を一時的に保留し、選択された正常な通信回線を一時的に閉じて行なわれることを特徴とする自動回線縮退方法が提供される。
【0011】
請求項3に記載された方法によれば、障害の発生を検出したら障害回線を専用的に使用するデータ通信を一時的に保留して、代替の通信回線が確保されるまで待つ。一方、代替回線として選択された正常な通信回線はその属性を障害回線と同じく変更するために一時的に閉じられて属性変更の操作が行なわれる。このように属性変更を行なうことで、障害時のデータ通信の回復を円滑に行なうことができる。
【0012】
請求項4に記載の本発明によれば、複数の通信回線を使用してデータ通信を行なう装置であって、複数の通信回線の各々に属性を割り当て、属性に基づいて、各通信回線を専用的に所定のデータ通信のために使用する手段と、複数の通信回線内の1つの通信回線の障害の発生を検出したときに自動的に複数の通信回線内の1つの正常な通信回線を選択し、選択された正常な通信回線の属性を障害を発生した通信回線の代替として使用するために変更する手段と、変更された属性に基づいて、障害を発生した通信回線を専用的に使用するデータ通信を、選択された正常な通信回線を代替として使用して行なう手段と、を有することを特徴とする通信回線障害時の自動回線縮退装置が提供される。
【0013】
請求項4に記載の装置によれば、予め各通信回線に属性が割り当てられている場合、正常回線の属性を障害回線の属性に変更することにより、障害回線の代替として使用することができる。従って、障害回線と同じ属性を持った正常回線が無い場合でも、正常回線の属性を変更することで代替回線を確保することが可能となる。
【0014】
請求項5に記載の本発明によれば、請求項4に記載の自動回線縮退装置において、変更する手段が、障害の発生を検出したら障害の発生した通信回線を専用的に使用するデータ通信を一時的に保留するメモリ手段と、選択された正常な通信回線を一時的に閉じる手段とを含むことを特徴とする自動回線縮退装置が提供される。
【0015】
請求項5に記載の装置によれば、障害の発生を検出したら障害回線を専用的に使用するデータ通信を一時的に保留して、代替の通信回線が確保されるまで待つ。一方、代替回線として選択された正常な通信回線はその属性を障害回線と同じく変更するために一時的に閉じられて属性変更の操作が行なわれる。このように属性変更を行なうことで、障害時のデータ通信の回復を円滑に行なうことができる。
【0016】
請求項6に記載の本発明によれば、複数の通信回線を使用したデータ通信の制御をコンピュータ上で実現せしめる通信制御プログラムであって、複数の通信回線の各々に属性を割り当て、前記属性に基づいて、各通信回線を専用的に所定のデータ通信のために使用する処理と、前記複数の通信回線内の1つの通信回線の障害の発生を検出したときに自動的に前記複数の通信回線内の1つの正常な通信回線を選択し、該選択された正常な通信回線の属性を前記障害を発生した通信回線の代替として使用するために変更する処理と、変更された属性に基づいて、前記障害を発生した通信回線を専用的に使用するデータ通信を、前記選択された正常な通信回線を代替として使用して行なう処理とを有し、通信回線障害時の自動回線縮退をせしめる通信制御プログラムが提供される。
【0017】
請求項6に記載のプログラムによれば、予め各通信回線に属性が割り当てられている場合、正常回線の属性を障害回線の属性に変更することにより、障害回線の代替として使用することができる。従って、障害回線と同じ属性を持った正常回線が無い場合でも、正常回線の属性を変更することで代替回線を確保することが可能となる。
【0018】
請求項7に記載の本発明によれば、請求項6に記載の通信制御プログラムにおいて、前記変更する処理が、前記障害の発生を検出したら障害の発生した通信回線を専用的に使用するデータ通信を一時的に保留する処理と、前記選択された正常な通信回線を一時的に閉じる処理とを含むことを特徴とする通信制御プログラムが提供される。
【0019】
請求項7に記載のプログラムによれば、障害の発生を検出したら障害回線を専用的に使用するデータ通信を一時的に保留して、代替の通信回線が確保されるまで待つ。一方、代替回線として選択された正常な通信回線はその属性を障害回線と同じく変更するために一時的に閉じられて属性変更の操作が行なわれる。このように属性変更を行なうことで、障害時のデータ通信の回復を円滑に行なうことができる。
【0020】
【発明の実施の形態】
以下、添付図面を参照して、本発明の実施の形態について詳細に説明する。
【0021】
図1は、本発明の装置と方法及びそのプログラムが使用される情報システムの全体の概略図である。図1においては、データサービスを受けるクライアント情報システム1がゲートウェイ・サーバー4を介してデータサービスを提供するデータサーバー情報システム2に複数の通信回線3により接続されている。クライアント情報システム1には、例えば、業務アプリケーション・サーバー等が接続されていて、データサーバー情報システム2に置かれた情報センターA乃至Dへ照会要求のためのデータ要求を送信し、そして情報センターA乃至Dからの照会回答としてのデータ回答を受信するようになっている。情報センターA乃至Dは、同じデータサーバー情報システム2内に設けられて良いし、異なるデータサーバー情報システム2内に設けられても良い。
【0022】
本発明の実施の形態による装置と方法及びそのプログラムは、複数の通信回線3を介してデータサーバ情報システム2に接続されるゲートウェイ・サーバー4内に組み込まれて使用される。なお、データサービスを受けるクライアント情報システム1及びデータサービスを提供するデータサーバー情報システム2は、さまざまな情報の要求とそれに対する回答をオンライン方式にて行なうものが含まれる。例えば、クライアント情報システム2としては、クレジットカードやデビットカードなどの使用の際の顧客信用情報の照会を要求するものが考えられ、データサーバー情報システム2としては、照会要求に応じて顧客信用情報を回答をするものが考えられる。
【0023】
図2は、図1の情報システムの一部を詳細に示すものである。図2において、クライアント情報システム1には、複数の業務アプリケーション・サーバーを構成する情報端末1a及び1bが接続されていて、それぞれがゲートウェイ・サーバー4、プロトコル変換機5及び複数の通信回線3を介して、サーバー情報システム2に接続されていて、サーバー情報システム2内の情報センターA乃至Dに対して照会要求(又はデータ要求)を送信し、そして、サーバー情報システム2内の情報センターA乃至Dから照会回答(又はデータ回答)を受信するようになっている。
【0024】
ゲートウェイ・サーバー4は、複数の情報端末1a又は1bからの照会要求を受けて、プロトコル変換機5でプロトコル変換した後、照会要求の送信専用の回線3aを介してサーバー情報システム2内の情報センターA乃至Dのいずれかに送信する。そして、照会要求を受けた情報センターA乃至Dのいずれかは照会回答を照会回答専用の回線3bを介してプロトコル変換機5、ゲートウェイ・サーバー4に送る。ゲートウェイ・サーバー4は照会回答を受信した後、照会要求をした端末1a又は1bに照会回答を送る。なお、図2においては、データ要求専用の照会要求回線3aは1つのみが示されているが、実際は複数の照会要求回線3aが存在し得る。同様にデータ回答専用の照会回答回線3bは1つのみが示されているが、実際は複数の照会回答回線3bが存在し得る。
【0025】
図3は、図2の情報システムの一部を詳細に示すものである。図3に示すように、ゲートウェイ・サーバー4(図3では簡略化のために、プロトコル変換機5を省略している)とデータサーバー情報システム2内の情報センターA乃至Dとの間には、複数、例えば4つ、の専用の通信回線3が設けられていて、ゲートウェイ・サーバー4の初期化、例えば、電源投入時による初期化により、ゲートウェイ・サーバー4(クライアント情報システム1)から照会要求、すなわち、データ要求を送信するための要求専用回線3a及び照会回答、すなわち、データ回答を受信するための回答専用回線3bとに割り当てられる。つまり、ゲートウェイ・サーバー4による初期設定時に、照会要求専用の要求回線3aとしての属性が2つの通信回線3に割り当てられ、照会回答専用の回答回線3bとしての属性が残りの2つの通信回線3に割り当てられ、ソケット通信によるデータの送受信を行う。ゲートウェイ・サーバー4により、照会要求の機能と照会回答の機能は別々にコールされて非同期に処理される。
【0026】
図4は、本発明の1つの実施の形態によるゲートウェイ・サーバー4及びそれと関連した構成のブロック図である。ゲートウェイ・サーバー4の本体40は、メモリ4aを含み、このメモリ4a内に上述した初期設定による各通信回線3についての照会要求送信専用の属性3a又は照会回答受信専用の属性3bのいずれかが割振られて記憶されている。また、ゲートウェイ・サーバー4の本体40は、TCP/IPソケット41を介してクライアント情報システム1内の各情報端末1a又は1b内のアプリケーション・インターフェイスAPI内のTCP/IPソケット11と接続されている。
【0027】
各情報端末1a及び1bとゲートウェイ・サーバー40との間の送受信は、TCP/IPソケット41に接続されたTCP/IPソケット42、43、44及びTCP/IPソケット45、46、47により行われる。本発明による照会要求(データ要求)と照会回答(データ回答)の送信及び受信は、それぞれTCP/IPソケット43、44及びTCP/IPソケット46、47を介して、バッファメモリ49及びプロトコル変換機5に接続して行なわれる。前述したように、プロトコル変換機5とデータサーバ情報システム2との間には、例えば、4つの専用線の通信回線3が接続されていて、ゲートウェイ・サーバー本体40の初期化の際に、通信回線3の照会要求送信専用3a若しくは照会回答受信専用3bの属性が割り当てられてる。すなわち、2つの照会要求送信専用の回線3a及び2つの照会回答受信専用の回線3bが設定される。
【0028】
一方、TCP/IPソケット45は、TCP/IP48を経てインターネット等の公衆回線6を介してデータサーバー情報システム2に接続されていて、本発明以外によるデータ通信を行なう。
【0029】
図5は、本発明の1つの実施の形態による通信回線障害時の自動回線縮退方法を簡潔に示す。図5においては、データサーバ情報システム2内の情報センターA乃至Dとゲートウェイ・サーバー4との間に3つの通信回線があり、ゲートウェイ・サーバー4の初期時設定により、1つ通信回線3aが照会要求送信用に通信回線属性が設定され、2つの通信回線3bが照会回答受信用に通信回線属性が設定されて、ゲートウェイ・サーバー4中のメモリ(図4中の4a)内に記憶している。
【0030】
もし、1つの要求送信回線3aに障害7が発生した場合、要求送信回線3aが存在しなくなる。この場合、ゲートウェイ・サーバー4は障害7を検知したときに要求送信回線3aを介してのデータ送信を一時的にバッファメモリ(図4中の49)内に保留し、2つの回答受信回線3bの内の1つを閉じ、その通信回線属性の設定を照会回答受信用から照会要求送信用に変更し、ゲートウェイ・サーバー4中のメモリ(図4中の4a)内の属性を更新する。そして、通信回線属性の変更が実施された後に、属性が変更された要求送信回線3aを介して一時的にバッファメモリ(図4中の49)内に保留されたデータ送信を再開する。
【0031】
図6乃至図10は、図5で説明した本発明の1つの実施の形態による通信回線障害時の自動回線縮退方法をより詳細に示す。図6に示すように、通信回路構成は3つの通信回線3を含み、照会要求用(データ要求用)の送信回線が1回線、照会回答用(データ回答用)の受信回線が2つを有する。ゲートウェイ・サーバー4の本体40中のメモリ4aに記憶されたテーブル内には、初期設定時に、回線名00001、00002、00003にそれぞれ回線属性として、照会要求回線(図5中の要求送信回線3aに対応する)、照会回答回線(図5中の回答受信回線3bに対応する)、照会回答回線(図5中の回答受信回線3bに対応する)が割り当てられて記憶される。そして、ゲートウェイ・サーバー4は動作中の回線状況を監視して正常ならば「正常」の情報をメモリ4a内のテーブルの回線状況の欄内に入れる。
【0032】
正常時においては、クライアント情報システム1中のユーザ・アプリケーション・インターフエイスAPIからの照会要求電文1はゲートウェイ・サーバー4の本体40中のバッファメモリ49を経由して照会要求回線00001を介してデータサーバー情報システム2内の情報センターA乃至Dのいずれかに送られる。この照会要求電文1に対する照会回答電文1が照会要求電文1を受信した情報センターA乃至Dのいずれかで作成されて、照会回答回線00002を介してゲートウェイ・サーバー4へ返答される。ゲートウェイ・サーバー4は照会回答電文1を照会回答回線00002を介して受信して本体40内のバッファメモリ49を経由して、クライアント情報システム1中のユーザ・アプリケーション・インターフエイスAPIへ送る。
【0033】
次に、図7を参照すると、照会要求回線00001に障害が発生した状況が示されている。ゲートウェイ・サーバー4は照会要求回線00001の障害の発生を検知すると、クライアント情報システム1中のユーザ・アプリケーション・インターフエイスAPIからの照会要求電文1をバッフアメモリ49上に一時的に保留する。そして、メモリ4aのテーブル内の回線名00001の回線状況の欄の情報を「異常」の情報に更新する。
【0034】
次に、図8を参照すると、ゲートウェイ・サーバー4の本体40は、回線名00003についての回線属性を照会要求回線に変更するために、回線名00003の閉局要求送信をデータサーバー情報システム2内の情報センターA乃至Dに送り、閉局要求に対する回答をデータサーバー情報システム2内の情報センターA乃至Dから受信する。そして、ゲートウェイ・サーバー4の本体40はメモリ4a内のテーブルの回線名00003内の回線状況の欄の情報を閉局に更新する。
【0035】
次に、図9を参照すると、ゲートウェイ・サーバー4の本体40は、回線名00003について回線属性を照会要求回線に更新して、回線名00003の開局要求送信をデータサーバー情報システム2内の情報センターA乃至Dに送り、開局要求に対する回答をデータサーバー情報システム2内の情報センターA乃至Dから受信する。そして、ゲートウェイ・サーバー4の本体40はメモリ4a内のテーブルの回線名00003内の回線属性の欄を要求回線に更新しそして回線状況の欄の情報を開局に更新する。
【0036】
次に、図10を参照すると、ゲートウェイ・サーバー4が障害を上記の通りに自動的に復旧した後の状態が示されている。メモリ4a内のテーブルに示されるように、回線名00003の回線属性の欄が要求回線に変更され、そして回線状況の欄が正常に変更される。そして、バッファメモリ49内に一時的に保留されていた、クライアント情報システム1からの照会要求電文1が要求回線として回線属性が変更された回線00003を介してデータサーバー情報システム2内の情報センターA乃至Dに送信する。そして、この照会要求電文1に対するデータサーバー情報システム2内の情報センターA乃至Dからの照会回答電文1が回答回線00002を介してゲートウェイ・サーバー4に送られる。ゲートウェイ・サーバー4は回答回線00002を介して照会回答電文1を受信して、バッフアメモリ49を介してクライアント情報システム1へ送る。
【0037】
【発明の効果】
以上説明したように、本発明によれば、予め各通信回線に属性が割り当てられている場合、正常回線の属性を障害回線の属性に変更することにより、障害回線の代替として使用することができる。従って、障害回線と同じ属性を持った正常回線が無い場合でも、正常回線の属性を変更することで代替回線を確保することが可能となる。
【図面の簡単な説明】
【図1】本発明の装置及び方法が使用される情報システム全体の概略図。
【図2】図1の情報システムの一部を詳細に示す概略図。
【図3】図2の情報システムの一部を詳細に示す概略図。
【図4】本発明の実施の形態による通信回線障害時の自動回線縮退装置のゲートウェイ・サーバーの構成を示すブロック図。
【図5】本発明の1つの実施の形態による通信回線障害時の自動回線縮退方法を簡潔に示す図。
【図6】本発明の1つの実施の形態による通信回線障害時の自動回線縮退方法を詳細に示す図。
【図7】本発明の1つの実施の形態による通信回線障害時の自動回線縮退方法を詳細に示す図。
【図8】本発明の1つの実施の形態による通信回線障害時の自動回線縮退方法を詳細に示す図。
【図9】本発明の1つの実施の形態による通信回線障害時の自動回線縮退方法を詳細に示す図。
【図10】本発明の1つの実施の形態による通信回線障害時の自動回線縮退方法を詳細に示す図。
【符号の説明】
1 クライアント情報システム
2 データサーバー情報システム
3 通信回線
3a データ要求送信回線
3b データ回答受信回線
4 ゲートウェイ・サーバー
4a メモリ
5 プロトコル変換機
7 障害
49 バッフアメモリ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention generally relates to a data communication method, a device thereof, and a communication control program, and more particularly, to an automatic line degeneration method, a device, and a communication control program when a communication line fails.
[0002]
[Prior art]
As a prior art, Patent Literature 1 discloses an apparatus and a method for controlling switching of a communication line when a failure occurs in any communication line in a system for performing data communication using a plurality of communication lines. In Patent Literature 1, a detour destination line having a small communication load is selected and switched while considering the load distribution of the remaining normal communication lines except for the communication line in which the failure has occurred, and the data communication is resumed after the failure is recovered. In order to be able to automatically return to the communication line, a configuration including the detouring line information and the detour destination line information is disclosed.
[0003]
[Patent Document 1]
Patent No. 2732775 (paragraphs [0008] to [0013])
[0004]
[Problems to be solved by the invention]
However, when performing data communication using a plurality of communication lines, predetermined attributes such as transmission-only (or data request line) and reception-only (or data response line) may be assigned to the communication line in advance. In such a case, in the related art disclosed in Patent Document 1, a detour line having the same attribute as the failed line is required. If there is no alternative detour line having the same attribute as the failed line, There is a problem that selection and switching cannot be performed.
[0005]
An object of the present invention is to solve the problems of the related art.
[0006]
[Means for Solving the Problems]
According to the first aspect of the present invention, there is provided a method for performing data communication using a plurality of communication lines, wherein an attribute is assigned to each of the plurality of communication lines, and each of the communication lines is dedicated based on the attribute. And a step of automatically selecting one normal communication line among the plurality of communication lines when the occurrence of a failure in one of the plurality of communication lines is detected. Changing the attribute of the selected normal communication line to be used as a substitute for the failed communication line, and exclusively using the failed communication line based on the changed attribute. Performing a data communication by using a selected normal communication line instead of the normal communication line.
[0007]
According to the method described in claim 1, when an attribute is assigned to each communication line in advance, by changing the attribute of the normal line to the attribute of the failed line, it can be used as a substitute for the failed line. . Therefore, even when there is no normal line having the same attribute as the failed line, it is possible to secure an alternative line by changing the attribute of the normal line.
[0008]
According to the second aspect of the present invention, in the automatic line degeneration method according to the first aspect, the attribute represents one of a data request for data communication and a data response. A degeneration method is provided.
[0009]
According to the method described in claim 2, the attribute assigned to each communication line represents either a data request for data communication or a data response. That is, from the viewpoint of a client receiving an information data providing service from a data center (data server) through data communication, a line with a data request attribute indicates a line dedicated to transmission to the data center, and a line with an attribute for data response indicates a line. Indicates a line exclusively used for receiving data from the data center. As described above, the efficiency of data communication can be increased by dividing the plurality of communication lines into transmission only lines and reception only lines.
[0010]
According to the third aspect of the present invention, in the automatic line degeneration method according to the first aspect, the step of changing includes, when the occurrence of a failure is detected, the data communication exclusively using the failed communication line. There is provided an automatic line degeneration method characterized by temporarily suspending a call and temporarily closing a selected normal communication line.
[0011]
According to the method described in claim 3, when the occurrence of the failure is detected, the data communication using the failed line exclusively is temporarily suspended, and the process waits until an alternative communication line is secured. On the other hand, the normal communication line selected as the substitute line is temporarily closed in order to change its attribute in the same way as the faulty line, and the attribute change operation is performed. By performing the attribute change in this way, it is possible to smoothly recover data communication at the time of failure.
[0012]
According to the fourth aspect of the present invention, there is provided an apparatus for performing data communication using a plurality of communication lines, wherein an attribute is assigned to each of the plurality of communication lines, and each communication line is dedicated based on the attribute. Means used for predetermined data communication, and automatically selects one normal communication line among the plurality of communication lines when a failure of one communication line among the plurality of communication lines is detected. Means for changing the attribute of the selected normal communication line to be used as a substitute for the failed communication line, and exclusively using the failed communication line based on the changed attribute. Means for performing data communication by using a selected normal communication line as an alternative. An automatic line degeneration device in the event of a communication line failure is provided.
[0013]
According to the device of the fourth aspect, when an attribute is previously assigned to each communication line, the attribute of the normal line is changed to the attribute of the failed line, so that it can be used as a substitute for the failed line. Therefore, even when there is no normal line having the same attribute as the failed line, it is possible to secure an alternative line by changing the attribute of the normal line.
[0014]
According to the fifth aspect of the present invention, in the automatic line degeneration device according to the fourth aspect, when the change unit detects the occurrence of the failure, the change unit performs the data communication exclusively using the failed communication line. There is provided an automatic line degeneration device including a memory unit for temporarily holding and a unit for temporarily closing a selected normal communication line.
[0015]
According to the fifth aspect of the present invention, when the occurrence of a failure is detected, the data communication exclusively using the failed line is temporarily suspended, and the process waits until an alternative communication line is secured. On the other hand, the normal communication line selected as the substitute line is temporarily closed in order to change its attribute in the same way as the faulty line, and the attribute change operation is performed. By performing the attribute change in this way, it is possible to smoothly recover data communication at the time of failure.
[0016]
According to the sixth aspect of the present invention, there is provided a communication control program for realizing control of data communication using a plurality of communication lines on a computer, wherein an attribute is assigned to each of the plurality of communication lines, and the attribute is assigned to the attribute. A process for exclusively using each communication line for predetermined data communication, and automatically detecting the occurrence of a failure in one of the plurality of communication lines when the plurality of communication lines are detected. Selecting one of the normal communication lines, and changing the attribute of the selected normal communication line to be used as a substitute for the failed communication line; and Performing data communication exclusively using the failed communication line by using the selected normal communication line as a substitute, and performing automatic line degeneration in the event of a communication line failure. Control program is provided.
[0017]
According to the program described in claim 6, when an attribute is assigned to each communication line in advance, by changing the attribute of the normal line to the attribute of the failed line, it can be used as a substitute for the failed line. Therefore, even when there is no normal line having the same attribute as the failed line, it is possible to secure an alternative line by changing the attribute of the normal line.
[0018]
According to a seventh aspect of the present invention, in the communication control program according to the sixth aspect, when the change processing detects the occurrence of the failure, the data communication exclusively uses the failed communication line. And a process for temporarily closing the selected normal communication line.
[0019]
According to the program described above, when the occurrence of a failure is detected, the data communication using the failed line exclusively is temporarily suspended, and the process waits until an alternative communication line is secured. On the other hand, the normal communication line selected as the substitute line is temporarily closed in order to change its attribute in the same way as the faulty line, and the attribute change operation is performed. By performing the attribute change in this way, it is possible to smoothly recover data communication at the time of failure.
[0020]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0021]
FIG. 1 is an overall schematic diagram of an information system in which the apparatus and method of the present invention and the program thereof are used. In FIG. 1, a client information system 1 for receiving a data service is connected via a gateway server 4 to a data server information system 2 for providing a data service via a plurality of communication lines 3. For example, a business application server or the like is connected to the client information system 1 and transmits a data request for an inquiry request to the information centers A to D provided in the data server information system 2. Through D to receive a data response as an inquiry response. The information centers A to D may be provided in the same data server information system 2 or may be provided in different data server information systems 2.
[0022]
The apparatus, the method and the program according to the embodiment of the present invention are used by being incorporated in a gateway server 4 connected to the data server information system 2 via a plurality of communication lines 3. The client information system 1 for receiving the data service and the data server information system 2 for providing the data service include those for requesting various information and responding to it in an online manner. For example, as the client information system 2, a system that requests an inquiry of customer credit information when using a credit card, a debit card, or the like can be considered. As the data server information system 2, the customer credit information is transmitted in response to the inquiry request. Something to answer is possible.
[0023]
FIG. 2 shows a part of the information system of FIG. 1 in detail. In FIG. 2, information terminals 1 a and 1 b constituting a plurality of business application servers are connected to a client information system 1, each of which is connected via a gateway server 4, a protocol converter 5 and a plurality of communication lines 3. Connected to the server information system 2 to send inquiry requests (or data requests) to the information centers A to D in the server information system 2; , An inquiry response (or a data response) is received.
[0024]
The gateway server 4 receives the inquiry request from the plurality of information terminals 1a or 1b, converts the protocol by the protocol converter 5, and then transmits the inquiry request through the line 3a dedicated to transmission of the inquiry request. A is transmitted to any of A to D. Then, any of the information centers A to D receiving the inquiry request sends the inquiry response to the protocol converter 5 and the gateway server 4 via the line 3b dedicated to the inquiry response. After receiving the inquiry response, the gateway server 4 sends the inquiry response to the terminal 1a or 1b that made the inquiry request. Although only one inquiry request line 3a dedicated to data request is shown in FIG. 2, a plurality of inquiry request lines 3a may actually exist. Similarly, only one inquiry response line 3b dedicated to data response is shown, but a plurality of inquiry response lines 3b may actually exist.
[0025]
FIG. 3 shows a part of the information system of FIG. 2 in detail. As shown in FIG. 3, between the gateway server 4 (the protocol converter 5 is omitted in FIG. 3 for simplicity) and information centers A to D in the data server information system 2, A plurality of, for example, four, dedicated communication lines 3 are provided, and initialization of the gateway server 4, for example, initialization at power-on, causes a query request from the gateway server 4 (client information system 1), That is, it is assigned to the request dedicated line 3a for transmitting the data request and the inquiry reply, that is, the answer dedicated line 3b for receiving the data reply. That is, at the time of initial setting by the gateway server 4, the attribute as the request line 3a dedicated to the inquiry request is assigned to the two communication lines 3, and the attribute as the answer line 3b dedicated to the inquiry response is assigned to the remaining two communication lines 3. It is assigned and sends and receives data by socket communication. The query request function and the query reply function are separately called by the gateway server 4 and processed asynchronously.
[0026]
FIG. 4 is a block diagram of a gateway server 4 and a configuration related thereto according to an embodiment of the present invention. The main body 40 of the gateway server 4 includes a memory 4a in which either the attribute 3a dedicated to sending an inquiry request or the attribute 3b dedicated to receiving an inquiry response for each communication line 3 according to the above-described initialization is allocated. It has been memorized. The main body 40 of the gateway server 4 is connected to the TCP / IP socket 11 in the application interface API in each information terminal 1a or 1b in the client information system 1 via the TCP / IP socket 41.
[0027]
Transmission and reception between each of the information terminals 1 a and 1 b and the gateway server 40 are performed by TCP / IP sockets 42, 43, 44 and TCP / IP sockets 45, 46, 47 connected to the TCP / IP socket 41. The transmission and reception of the inquiry request (data request) and the inquiry response (data response) according to the present invention are performed via the buffer memory 49 and the protocol converter 5 via the TCP / IP sockets 43 and 44 and the TCP / IP sockets 46 and 47, respectively. The connection is made. As described above, for example, four dedicated communication lines 3 are connected between the protocol converter 5 and the data server information system 2, and when the gateway server main body 40 is initialized, communication is performed. The attribute of the inquiry request transmission only 3a or the inquiry response reception only 3b of the line 3 is assigned. That is, two lines 3a dedicated to sending inquiry requests and two lines 3b dedicated to receiving inquiry responses are set.
[0028]
On the other hand, the TCP / IP socket 45 is connected to the data server information system 2 via the public line 6 such as the Internet via the TCP / IP 48, and performs data communication other than the present invention.
[0029]
FIG. 5 briefly shows an automatic line degeneration method in the event of a communication line failure according to one embodiment of the present invention. In FIG. 5, there are three communication lines between the information centers A to D in the data server information system 2 and the gateway server 4, and one communication line 3a is referred by the initial setting of the gateway server 4. Communication line attributes are set for request transmission, and communication line attributes for two communication lines 3b are set for reception of an inquiry response, and are stored in the memory (4a in FIG. 4) in the gateway server 4. .
[0030]
If a failure 7 occurs in one request transmission line 3a, the request transmission line 3a does not exist. In this case, when the gateway server 4 detects the failure 7, the data transmission via the request transmission line 3a is temporarily suspended in the buffer memory (49 in FIG. 4), and the two response reception lines 3b Is closed, the setting of the communication line attribute is changed from receiving the inquiry response to transmitting the inquiry request, and the attribute in the memory (4a in FIG. 4) in the gateway server 4 is updated. Then, after the communication line attribute is changed, the data transmission temporarily suspended in the buffer memory (49 in FIG. 4) is resumed via the request transmission line 3a whose attribute has been changed.
[0031]
6 to 10 show in more detail the automatic line degeneration method in the event of a communication line failure according to one embodiment of the present invention described in FIG. As shown in FIG. 6, the communication circuit configuration includes three communication lines 3, one transmission line for inquiry request (for data request), and two reception lines for inquiry response (for data response). . In the table stored in the memory 4a in the main body 40 of the gateway server 4, at the time of initialization, line names 00001, 00002, and 00003 are set as line attributes, respectively, as an inquiry request line (the request transmission line 3a in FIG. (Corresponding to), an inquiry reply line (corresponding to the answer receiving line 3b in FIG. 5), and an inquiry reply line (corresponding to the answer receiving line 3b in FIG. 5). Then, the gateway server 4 monitors the operating line status, and if it is normal, puts information of "normal" in the line status column of the table in the memory 4a.
[0032]
In a normal state, the inquiry request message 1 from the user application interface API in the client information system 1 is transmitted through the buffer memory 49 in the main body 40 of the gateway server 4 via the inquiry request line 00001 to the data server. It is sent to any of the information centers A to D in the information system 2. An inquiry response message 1 for the inquiry request message 1 is created in any of the information centers A to D that have received the inquiry request message 1, and is returned to the gateway server 4 via the inquiry response line 00002. The gateway server 4 receives the inquiry response message 1 via the inquiry response line 00002 and sends it to the user application interface API in the client information system 1 via the buffer memory 49 in the main unit 40.
[0033]
Next, referring to FIG. 7, a situation where a failure has occurred in the inquiry request line 00001 is shown. When detecting the occurrence of the failure of the inquiry request line 00001, the gateway server 4 temporarily holds the inquiry request message 1 from the user application interface API in the client information system 1 on the buffer memory 49. Then, the information in the line status column of the line name 00001 in the table of the memory 4a is updated to the information of “abnormal”.
[0034]
Next, referring to FIG. 8, the main body 40 of the gateway server 4 sends a closing request transmission of the line name 00003 in the data server information system 2 in order to change the line attribute of the line name 00003 to the inquiry request line. The information is sent to the information centers A to D, and a response to the closing request is received from the information centers A to D in the data server information system 2. Then, the main body 40 of the gateway server 4 updates the information in the line status column in the line name 00003 of the table in the memory 4a to closed.
[0035]
Next, referring to FIG. 9, the main body 40 of the gateway server 4 updates the line attribute of the line name 00003 to the inquiry request line, and transmits the start request of the line name 00003 to the information center in the data server information system 2. A to D, and receives a response to the station opening request from the information centers A to D in the data server information system 2. Then, the main body 40 of the gateway server 4 updates the line attribute column in the line name 00003 of the table in the memory 4a to the requested line, and updates the information in the line status column to open.
[0036]
Next, referring to FIG. 10, there is shown a state after the gateway server 4 has automatically recovered from the failure as described above. As shown in the table in the memory 4a, the line attribute column of the line name 00003 is changed to the required line, and the line status column is changed normally. Then, the inquiry request message 1 from the client information system 1 temporarily held in the buffer memory 49 is changed to the information center A in the data server information system 2 via the line 00003 whose line attribute has been changed as the request line. To D. Then, the inquiry response message 1 for the inquiry request message 1 from the information centers A to D in the data server information system 2 is sent to the gateway server 4 via the answer line 00002. The gateway server 4 receives the inquiry response message 1 via the response line 00002 and sends it to the client information system 1 via the buffer memory 49.
[0037]
【The invention's effect】
As described above, according to the present invention, when an attribute is assigned to each communication line in advance, by changing the attribute of the normal line to the attribute of the faulty line, it can be used as a substitute for the faulty line. . Therefore, even when there is no normal line having the same attribute as the failed line, it is possible to secure an alternative line by changing the attribute of the normal line.
[Brief description of the drawings]
FIG. 1 is a schematic diagram of an entire information system in which an apparatus and a method of the present invention are used.
FIG. 2 is a schematic diagram showing a part of the information system of FIG. 1 in detail;
FIG. 3 is a schematic diagram showing a part of the information system of FIG. 2 in detail;
FIG. 4 is a block diagram showing a configuration of a gateway server of the automatic line degeneration device at the time of a communication line failure according to the embodiment of the present invention.
FIG. 5 is a diagram briefly showing an automatic line degeneration method at the time of a communication line failure according to one embodiment of the present invention.
FIG. 6 is a diagram showing in detail an automatic line degeneration method at the time of a communication line failure according to one embodiment of the present invention.
FIG. 7 is a diagram showing in detail an automatic line degeneration method at the time of a communication line failure according to one embodiment of the present invention.
FIG. 8 is a diagram showing in detail an automatic line degeneration method at the time of a communication line failure according to one embodiment of the present invention.
FIG. 9 is a diagram showing in detail an automatic line degeneration method at the time of a communication line failure according to one embodiment of the present invention.
FIG. 10 is a diagram showing in detail an automatic line degeneration method at the time of a communication line failure according to one embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Client information system 2 Data server information system 3 Communication line 3a Data request transmission line 3b Data response reception line 4 Gateway server 4a Memory 5 Protocol converter 7 Failure 49 Buffer memory

Claims (7)

複数の通信回線を使用してデータ通信を行なう方法であって、
複数の通信回線の各々に属性を割り当て、前記属性に基づいて前記各通信回線を専用的に所定のデータ通信のために使用するステップと、
前記複数の通信回線内の1つの通信回線の障害の発生を検出したときに自動的に前記複数の通信回線内の1つの正常な通信回線を選択し、該選択された正常な通信回線の属性を前記障害を発生した通信回線の代替として使用するために変更するステップと、
変更された属性に基づいて、前記障害を発生した通信回線を専用的に使用するデータ通信を前記選択された正常な通信回線で代替して行なうステップと
を有することを特徴とする通信回線障害時の自動回線縮退方法。
A method for performing data communication using a plurality of communication lines,
Assigning an attribute to each of the plurality of communication lines, and using each of the communication lines exclusively for predetermined data communication based on the attribute;
Automatically detecting one faulty communication line in the plurality of communication lines upon detecting occurrence of a failure in one communication line in the plurality of communication lines, and selecting an attribute of the selected normal communication line; Changing to use as a substitute for the failed communication line,
Performing data communication exclusively using the failed communication line based on the changed attribute with the selected normal communication line based on the changed attribute. Automatic line degeneration method.
請求項1に記載の自動回線縮退方法において、前記属性が、前記データ通信のデータ要求用又はデータ回答用のいずれか一方を表わすことを特徴とする自動回線縮退方法。2. The automatic line degeneration method according to claim 1, wherein the attribute represents one of a data request and a data response for the data communication. 請求項1に記載の自動回線縮退方法において、前記変更するステップが、前記障害の発生を検出したら障害を発生した通信回線を専用的に使用するデータ通信を一時的に保留し、前記選択された正常な通信回線を一時的に閉じて行なわれることを特徴とする自動回線縮退方法。2. The automatic line degeneration method according to claim 1, wherein, when the occurrence of the failure is detected, the step of changing temporarily suspends data communication exclusively using the failed communication line, and An automatic line degeneration method characterized by temporarily closing a normal communication line. 複数の通信回線を使用してデータ通信を行なう装置であって、
複数の通信回線の各々に属性を割り当て、前記属性に基づいて、各通信回線を専用的に所定のデータ通信のために使用する手段と、
前記複数の通信回線内の1つの通信回線の障害の発生を検出したときに自動的に前記複数の通信回線内の1つの正常な通信回線を選択し、該選択された正常な通信回線の属性を前記障害を発生した通信回線の代替として使用するために変更する手段と、
変更された属性に基づいて、前記障害を発生した通信回線を専用的に使用するデータ通信を、前記選択された正常な通信回線を代替として使用して行なう手段と
を有することを特徴とする通信回線障害時の自動回線縮退装置。
An apparatus for performing data communication using a plurality of communication lines,
Means for assigning an attribute to each of the plurality of communication lines and using each communication line exclusively for predetermined data communication based on the attribute;
Automatically detecting one faulty communication line in the plurality of communication lines upon detecting occurrence of a failure in one communication line in the plurality of communication lines, and selecting an attribute of the selected normal communication line; Means for changing to use as a substitute for the failed communication line,
Means for performing data communication exclusively using the failed communication line based on the changed attribute by using the selected normal communication line as an alternative. Automatic line degeneration device in case of line failure.
請求項4に記載の自動回線縮退装置において、前記変更する手段が、前記障害の発生を検出したら障害の発生した通信回線を専用的に使用するデータ通信を一時的に保留するメモリ手段と、前記選択された正常な通信回線を一時的に閉じる手段とを含むことを特徴とする自動回線縮退装置。5. The automatic line degeneration device according to claim 4, wherein said changing unit temporarily suspends data communication for exclusive use of the failed communication line when the occurrence of the failure is detected; Means for temporarily closing a selected normal communication line. 複数の通信回線を使用したデータ通信の制御をコンピュータ上で実現せしめる通信制御プログラムであって、
複数の通信回線の各々に属性を割り当て、前記属性に基づいて、各通信回線を専用的に所定のデータ通信のために使用する処理と、
前記複数の通信回線内の1つの通信回線の障害の発生を検出したときに自動的に前記複数の通信回線内の1つの正常な通信回線を選択し、該選択された正常な通信回線の属性を前記障害を発生した通信回線の代替として使用するために変更する処理と、
変更された属性に基づいて、前記障害を発生した通信回線を専用的に使用するデータ通信を、前記選択された正常な通信回線を代替として使用して行なう処理と
を有し、通信回線障害時の自動回線縮退をせしめる通信制御プログラム。
A communication control program for realizing control of data communication using a plurality of communication lines on a computer,
Assigning an attribute to each of the plurality of communication lines, based on the attribute, using each communication line exclusively for predetermined data communication;
Automatically detecting one faulty communication line in the plurality of communication lines upon detecting occurrence of a failure in one communication line in the plurality of communication lines, and selecting an attribute of the selected normal communication line; Processing to be used as a substitute for the failed communication line,
Performing data communication exclusively using the failed communication line based on the changed attribute by using the selected normal communication line as an alternative. A communication control program that causes automatic line degeneration.
請求項6に記載の通信制御プログラムにおいて、前記変更する処理が、前記障害の発生を検出したら障害の発生した通信回線を専用的に使用するデータ通信を一時的に保留する処理と、前記選択された正常な通信回線を一時的に閉じる処理とを含むことを特徴とする通信制御プログラム。7. The communication control program according to claim 6, wherein, when the occurrence of the failure is detected, the change processing temporarily suspends data communication exclusively used for the failed communication line. Temporarily closing a normal communication line.
JP2003049392A 2003-02-26 2003-02-26 Method and device for automatically degenerating line in communication line failure and communication control program Pending JP2004260581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003049392A JP2004260581A (en) 2003-02-26 2003-02-26 Method and device for automatically degenerating line in communication line failure and communication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003049392A JP2004260581A (en) 2003-02-26 2003-02-26 Method and device for automatically degenerating line in communication line failure and communication control program

Publications (1)

Publication Number Publication Date
JP2004260581A true JP2004260581A (en) 2004-09-16

Family

ID=33115121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003049392A Pending JP2004260581A (en) 2003-02-26 2003-02-26 Method and device for automatically degenerating line in communication line failure and communication control program

Country Status (1)

Country Link
JP (1) JP2004260581A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014217028A (en) * 2013-04-30 2014-11-17 日本電信電話株式会社 Communication system management device and communication system management method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014217028A (en) * 2013-04-30 2014-11-17 日本電信電話株式会社 Communication system management device and communication system management method

Similar Documents

Publication Publication Date Title
JP4616159B2 (en) Cluster system, load balancer, node transfer method, and node transfer program
US6928576B2 (en) Backup gateway apparatus and home network system
US8850056B2 (en) Method and system for managing client-server affinity
US20060256801A1 (en) Gateway system
US20060206611A1 (en) Method and system for managing programs with network address
JP2004032224A (en) Server takeover system and method thereof
CN108075971A (en) A kind of main/standby switching method and device
JP2008225644A (en) Gateway device, load balancing method for gateway device and load balancing program of gateway device
CN110633175A (en) Multi-computer-room data processing method based on micro-service, electronic equipment and storage medium
CN111787079A (en) Communication method, device, server, system and medium based on communication group
CN100563263C (en) In network storage service, realize the method and system of system high-available
JP5039975B2 (en) Gateway device
TW200417261A (en) An apparatus and method for coupling a network data device to a digital network
US5894547A (en) Virtual route synchronization
JP4806382B2 (en) Redundant system
JP4757670B2 (en) System switching method, computer system and program thereof
US9491132B2 (en) System and method for providing push service for reducing network loads
JP2004260581A (en) Method and device for automatically degenerating line in communication line failure and communication control program
JP2009217765A (en) Synchronous transmitting method to multiple destination, its implementation system and processing program
JP2000200245A (en) System and method for information utilization
JP2738362B2 (en) Network connection device
CN110166506B (en) Method for connecting hypertext transfer protocol Http and node equipment
CN111416851A (en) Method for session synchronization among multiple load balancers and load balancer
CN110890989A (en) Channel connection method and device
JP5034110B2 (en) Electronic conference system, communication terminal, data communication method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071126

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080602