JP3715071B2 - Communication line control system - Google Patents

Communication line control system Download PDF

Info

Publication number
JP3715071B2
JP3715071B2 JP11269197A JP11269197A JP3715071B2 JP 3715071 B2 JP3715071 B2 JP 3715071B2 JP 11269197 A JP11269197 A JP 11269197A JP 11269197 A JP11269197 A JP 11269197A JP 3715071 B2 JP3715071 B2 JP 3715071B2
Authority
JP
Japan
Prior art keywords
communication
order
request
channel
line
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 - Lifetime
Application number
JP11269197A
Other languages
Japanese (ja)
Other versions
JPH10301870A (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.)
Nomura Research Institute Ltd
Original Assignee
Nomura Research Institute 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 Nomura Research Institute Ltd filed Critical Nomura Research Institute Ltd
Priority to JP11269197A priority Critical patent/JP3715071B2/en
Publication of JPH10301870A publication Critical patent/JPH10301870A/en
Application granted granted Critical
Publication of JP3715071B2 publication Critical patent/JP3715071B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は一定の数の通信回線と通信手段によって多数の通信を送る通信システムにおいて、通信の要求を各通信手段に分散して要求することにより、全体の通信の効率化を図った通信回線制御システムに関する。
【0002】
なお、本発明が適用可能な上記「一定の数の通信回線と通信手段によって多数の通信を送る通信システム」としては、並列的な複数の通信回線を有する通信システム、クライアントサーバーシステム、複数のファクシミリ等の通信機器を備えた通信システム、光ケーブル等の高速送受信を行うに媒体にバッチ式にデータを送受信するシステム、等がある。
【0003】
【従来の技術】
一定の数の通信回線と通信手段に多数の通信を送る通信システムにおいては、特定の通信回線や通信手段に通信の要求が集中し、その通信回線や通信手段に一旦送られた通信データがなかなか通信相手に送られないことがしばしば発生する。
【0004】
このような現象が発生する通信システムの具体例としては以下のようなものがある。
▲1▼ 並列的な複数の通信回線(電話回線、コンピュータの通信回線等)を有する通信システムにおいて、特定の通信回線に通信が集中する場合がこれに該当する。
この場合には、使用しようとする回線が使用できず、通信ができない、ということが生じる。
▲2▼ 一つのセンターサーバーに複数の分散サーバーが接続され、これらの分散サーバーに多数のクライアントが接続されたクライアントサーバーシステムにおいて、多数のクライアントが特定の分散サーバーにセンターサーバーへの通信リクエストが送った場合がこれに該当する。
この場合には、通信リクエストが集中した分散サーバーはフル稼動の状態にも関わらず、他の分散サーバーはアイドリングの状態になる。クライアント側から見ると、通信リクエストがなかなか処理されず、通信をすることができない、ということが起こる。
▲3▼ 複数のファクシミリを備えた通信システムにおいて、特定のファクシミリに送信データが集中し、他のファクシミリが送信可能にも関わらず、データをなかなか送信できない場合がこれに該当する。
上記▲1▼〜▲3▼の例で説明したような通信の集中による障害を回避する方法として、通信回線や通信手段ごとに特定の種類の通信を担当させることが考えられていた。
【0005】
この従来の方法の一例として、証券会社における株式注文用の通信システムの例を用いて、上記「特定の通信回線や通信手段に特定の通信を担当させる従来の方法」について説明する。
【0006】
図8に特定の通信回線や通信手段に特定の通信を担当させた株式注文用の通信システムの構成を示す。
【0007】
この株式注文用の通信システムでは、取引所50に複数のラインL1〜L4が接続されている。各ラインL1〜L4には通信手段T1〜T4が設けられている。通信手段T1〜T4は、ラインL1〜L4を介して取引所50との間の通信プロトコルを制御し、データを送受信する装置である。
【0008】
各通信手段T1〜T4には専用注文端末TM1〜TM5が接続されている。専用注文端末TM1〜TM5とは、図8に示すように、バスケット注文を行う端末、シングル注文を行う端末、委託注文を行う端末、のように特定の種類の注文を行う注文端末である。なお、バスケット注文とは、複数銘柄の株式を組み合わせて注文する株式注文方法をいい、シングル注文とは、単一銘柄の株式を注文する株式注文方法をいう。委託注文とは、証券会社が顧客の委託を受けて株式を注文する株式注文方法をいう。
【0009】
この株式注文用の通信システムによれば、株式注文の種類に応じて専用注文端末TM1〜TM5を使い分け、取引所50に株式注文を行うことができる。
【0010】
【発明が解決しようとする課題】
しかしながら、上記「特定の通信回線や通信手段に特定の種類の通信を担当させる従来の方法」では、ある通信回線に負荷が集中したときに、他の負荷が低い通信回線を利用することができないため、全体としての通信効率は低かった。
【0011】
また、上記従来の方法では、ある通信回線が通信不能になったときに、その担当している種類の通信は送受信することができなくなった。これでは、データを確実に通信相手に送る信頼性が低かった。
【0012】
また、光ケーブル等の高速送受信を行うに媒体を用いる通信システムのように、実際にデータを送受信する時間より、送受信をするためのプロトコルを成立させるための時間の方が多くかかる通信システムでは、種類ごとに複数の通信データをまとめて送受信をする方が通信効率が高い。
【0013】
ところが従来は、一本の高速回線で、送られてきた通信リクエストを通信の種類によってグループ分けして貯めておき、それぞれの通信種類について一定数の通信リクエストがまとまった段階で送受信するシステムがなかった。
【0014】
そこで、本発明が解決しようとする課題は、通信リクエストの相互の干渉による通信の非効率を避け、かつ、通信回線全体を使用して通信でき、通信障害を他の通信回線によってバックアップすることができる通信回線制御システムを提供することにある。
【0015】
【課題を解決するための手段】
発明に係る通信回線制御システムは、
取引所に接続された複数本のラインと、前記ラインにそれぞれ接続された注文データ送信用の通信手段と、前記通信手段の複数個に接続された負荷分散制御手段と、一つの負荷分散制御手段に複数個接続された注文端末とを有する通信回線制御システムにおいて、
前記通信手段の少なくとも一部は、一つの通信手段に対して、複数の銘柄を組み合わせて注文するバスケット注文のための通信チャネルであるバスケット注文チャネルと、単一の銘柄を注文するシングル注文のための通信チャネルであるシングル注文チャネルとが割り当てられ、
前記各通信手段には、前記取引所とのプロトコル確立を行うプロトコル制御部と、前記通信チャネルを管理し、各通信チャネルに保持された注文データを所定数ブロッキングして前記取引所に送信するラインマネージャーが設けられており、
前記負荷分散制御手段は、前記注文端末からバスケット注文かシングル注文かを識別するための通信IDを付した通信リクエストを受け取り、前記通信リクエストの通信IDと同一の通信IDを通す通信チャネルを予め定められた優先順序で検索し、使用可能な状態の通信チャネルのうち優先順位が最も高い通信チャネルに前記通信リクエストのデータを送信する、ことを特徴とするものである。
【0021】
【発明の実施の形態】
次に、本発明の実施形態について添付の図面を参照して以下に説明する。
最初に、本発明による通信回線制御システムのシステム構成例を図1に示して説明する。
【0022】
図1において、全体を符号1で示す通信回線制御システムは、通信相手2に接続された複数本の通信回線L1〜L4と、通信回線L1〜L4にそれぞれ接続された通信手段T1〜T4と、通信手段T1〜T4に接続された負荷分散制御手段3と、負荷分散制御手段3に接続された通信端末TM1〜TM5とを有する。
【0023】
また通信手段T1〜T4は、通信IDに対応した通信チャネル10〜30,50を有している。ここで、通信IDとは、図1にも示すように「通信ID10」、「通信ID20」、…、というように通信種類によって分類した通信の識別子であって、通信に付すものである。
【0024】
通信IDを分類するための通信の種類は、ユーザーの通信回線制御システムの使用方法によって、ユーザーが自由に定めることができる。たとえば、通信データの内容によって通信IDを付し、通信種類ごとに異なる通信回線を優先的に使用するようにしてもよい。あるいは、通信の優先度によって通信をランク分けして通信IDを付し、優先度の高い通信IDの通信を優先的に通すようにしてもよい。
【0025】
通信相手2は、単一の通信相手でもよいし、複数の通信相手でもよい。人の他、コンピュータ、通信機器であってもよい。
【0026】
通信回線L1〜L4は、有線、無線、搬送電流を問わず、通信を通す通信路をいうものとする。
【0027】
通信手段T1〜T4は、通信回線L1〜L4に対して通信データを入出力する手段であって、後述する通信チャネル10〜30の通信IDを宣言したり、解除したりの処理を行うことができる情報処理機能を有し、通信チャネル10〜30に一定数の通信リクエストのデータを待行列にして保持しておくことができるものである。好ましくは、通信手段T1〜T4はコンピュータからなる。
【0028】
また、通信手段T1〜T4は、同一種類の通信を所定数まとめて送受信することができる。すなわち、通信手段T1〜T4は、送られてきた通信リクエストを通信種類によってグループ分けして貯めておき、それぞれの通信種類について一定数の通信リクエストがまとまったことを条件に通信可能と判断し、送信することができるのである。
【0029】
負荷分散制御手段3は、通信端末TM1〜TM5から通信リクエストを受け取り、通信リクエストに付された通信IDと同一の通信IDを通す通信チャネル10〜30,50を予め定められた優先順序で検索し、使用可能な状態の通信チャネル10〜30,50のうちの優先順位が最も高いものにその通信リクエストのデータを送信する手段である。負荷分散制御手段3は、上記処理を行うための情報処理装置であり、固定的に上記処理を行うように作り込んだ情報処理装置でもよいが、好ましくはソフトウェアによって制御されたコンピュータである。
【0030】
なお、通信回線制御システム1は、応答通信のデータの送信をも行うものであっても、一方的に送信のみを行うものであってもよい。
【0031】
通信回線制御システム1が応答データの送信をも行うものである場合は、負荷分散制御手段3は、リクエスト元の通信端末TM1〜TM5の情報を保持し、応答通信のデータをそのリクエスト元の通信端末に送信する。
【0032】
通信端末TM1〜TM5は、通信のリクエストを入出力する装置であり、電話、専用端末、コンピュータ等である。通信端末TM1〜TM5は、通信リクエストを送るときに、前記通信IDを付して送る。
【0033】
上記構成の通信回線制御システム1による通信は以下のようにして行われる。通信端末TM1〜TM5は通信リクエストに通信IDを付して個別に負荷分散制御手段3に送る。負荷分散制御手段3は、通信端末TM1〜TM5からの通信リクエストを受け取り、通信リクエストに付された通信IDを読み取り、同一通信IDの送受信を行う通信チャネル10〜30,50を有する通信手段T1〜T4を一定優先順序に従ってサーチする。ここで「サーチ」とは、通信手段の通信チャネルにすでに格納されている通信リクエストが一定数に達したか否かをチェックし、一定数に達している場合には次の優先順位の通信手段の通信チャネルをチェックすることをいう。
【0034】
上記サーチの結果、負荷分散制御手段3は、使用可能な状態の通信チャネル10〜30,50のうち優先順位が最も高いものにその通信リクエストのデータを送信する。通信手段T1〜T4は、各通信チャネルの待行列に入っている通信リクエストを逐次通信相手2に送信する。
【0035】
この場合、先に述べたように通信手段T1〜T4は、送られてきた通信リクエストを通信種類によってグループ分けして貯めておき、それぞれの通信種類について一定数の通信リクエストがまとまったことを条件に通信可能と判断し、送信する。これにより、一定量のデータをまとめて送ることができ、通信プロトコルの確立等に費やされる時間を節約して高効率の通信を行うことができる。
【0036】
図1に示した例では、通信手段T1〜T3は、それぞれ通信チャネル10〜30を有し、複数種類の通信を送受信することができる。これに対し、通信手段T4は、通信チャネル50のみの送受信をすることができるので、従来の専用回線と同一のものになっている。
【0037】
これにより、通信ID10の通信リクエストは、通信手段T1〜T3の空いている通信チャネル10に送られる。通信ID20〜30についても同じである。通信ID50は常に通信チャネル50に送られる。
【0038】
これにより、通信リクエストは不特定の空いている通信手段に送られることになり、通信回線制御システム1は全体として効率の高い通信を行うことができる。具体的な通信の負荷分散制御の方法は後にまた説明する。
【0039】
次に、本発明の特徴的な部分である負荷分散制御手段3の構成とその処理について以下に説明する。
図2は、負荷分散制御手段3のクラスオブジェクトの構造を示している。
【0040】
なお、「オブジェクト」とは、ある属性によってクラス分けし、データと手続とを一体化したものである。オブジェクトは、以下の特徴を有している。
(1)同じ属性を有するオブジェクト(クラスオブジェクト)は、基本的に同じメソッド(所定の処理を行う手段)を有している。
(2)あるクラスオブジェクトの属性やメソッドは、他のクラスオブジェクトでも継承できる。
(3)他のオブジェクトにそのオブジェクトが有するメソッドによる処理を依頼することができる。
【0041】
本明細書でいう「オブジェクト」は、上記データと手続を一体化したソフトウェアと、オブジェクトを実行するためのハードウェアとを含むものとする。
【0042】
本実施形態の負荷分散制御手段3の構成手段は、「オブジェクト」からなる。各処理手段を「オブジェクト」とすることにより、本発明のシステムは、種々の処理に柔軟に対応できるようになる。しかし、これは本発明をオブジェクト指向の枠組みに限る意味ではない。つまり、オブジェクトと同一の機能を通常の手続型プログラムによって制御された処理装置によって負荷分散制御手段3を実現するようにしてもよい。
【0043】
図2において、負荷分散制御手段3を構成する各オブジェクトは4角形の線で囲み、上段にオブジェクト名、中段に属性、下段にそのオブジェクトのメソッドを記している。
【0044】
図2に示すように、全体を符号3で示すコアーノードは、主制御部4と、通信手段管理部5と、通信リクエスト管理部6と、リクエスト元通信端末管理部7とを有している。
【0045】
通信手段管理部5は、通信手段インフォメーション管理手段5aと、通信手段マネージメントテーブル管理手段5bとからなる。
【0046】
通信手段インフォメーション管理手段5aは、所定の通信リクエストとその通信リクエストを処理する通信手段との交信を維持する通信経路ごとに、その通信経路に関する情報と、通信手段に関する情報とを管理する手段である。通信経路は、所定の通信リクエストに対して所定の通信手段が送受信の処理を行うが、その情報の流れの交信経路である。通信手段インフォメーション管理手段5aは、通信経路ごとに通信手段の情報(通信手段を特定する情報)や、その他の通信経路に関する情報(たとえば、通信プロトコル等)を管理するのである。
【0047】
通信手段マネージメントテーブル管理手段5bは、全システムで1個存在し、通信手段マネージメントテーブルを有し、前記通信手段インフォメーション管理手段5aを管理する。なおここで、オブジェクト間の「管理」とは、たとえば、通信手段マネージメントテーブル管理手段5bは、通信手段インフォメーション管理手段5aに依頼し、所定の通信手段の情報を検索させ、回答を得る等の制御を行うことをいう。オブジェクト間の「管理」については以下に同じとする。
【0048】
通信手段マネージメントテーブルとは、本発明による通信回線制御システム1に接続される各通信手段の情報を登録したテーブルをいう。ここで、通信手段マネージメントテーブルに登録する通信手段の情報は、各通信手段を特定する情報、通信ID等である。
【0049】
通信リクエスト管理部6は、リプライウォッチャー手段6aと、通信リクエストキュー管理手段6bと、通信リクエストキューマネージャー手段6cとからなる。
【0050】
リプライウォッチャー手段6aは、通信リクエストIDごとに存在し、応答待ちの通信端末の情報を登録し、応答を監視し、応答があった場合にはその応答データを送信する手段である(応答通信のデータを送信するシステム)。通信リクエストIDは、通信リクエストを特定するために通信リクエストごとに付された識別子である。
【0051】
通信リクエストキュー管理手段6bは、通信IDごとに存在し、対応する通信IDの送受信を行う通信手段の情報を管理し、通信リクエストの通信データを保持する。
【0052】
通信リクエストキュー管理手段6bは、通信リクエストがあった場合に、対応する通信IDの通信手段をサーチし、通信リクエストの通信データを転送し、応答があるまで前記通信リクエストを登録しておくものである。
【0053】
通信リクエストキューマネージャー手段6cは、通信IDごとに存在し、前記通信リクエストキュー管理手段6bを管理する。
【0054】
リクエスト元通信端末管理部7は、通信リクエストIDごとに通信リクエスト送信元の通信端末の情報を管理する。
【0055】
以上が負荷分散制御手段3の各構成手段の説明であったが、次ぎに通信における各構成手段の作用について以下に説明する。なお、以下の説明では図2に示した負荷分散制御手段3の構成を参照することにより、構成手段間の関係がより明らかとなる。
【0056】
最初に、本発明の通信回線制御システム1を構成するには、システムに通信手段を接続しなければならない。この通信手段の接続の処理の流れを図3に示す。なお、図3のフローチャートにおいて、各処理ステップの処理を行う処理手段を括弧を付して示す。
【0057】
図3に示すように、本発明の通信回線制御システム1に通信手段T1〜T4を接続するには、接続を要求する通信手段T1〜T4が負荷分散制御手段3の主制御部4に通信手段の接続を要求するイベントを送信する。
【0058】
この接続要求のイベントを受けた主制御部2(ステップS100)は、通信手段接続受付用チャネルに通信手段を接続するためのイベントを発生する(ステップS110)。このイベントは、次のように処理される。
【0059】
まず、接続を要求する通信手段について、新たな通信手段インフォメーション管理手段5aが作成され、通信経路情報やその通信手段に関する情報等が登録される(ステップS120)。
【0060】
次に、この新たな通信手段は、通信手段マネージメントテーブルに登録される(ステップS130)。
【0061】
以上の処理で通信手段がシステムに接続される。次に、接続された通信手段は、どのような通信IDの送受信を行うかの通信ID宣言をしなければならない。通信ID宣言の処理の流れを図4に示す。なお、図4のフローチャートにおいて、各処理ステップの処理を行う処理手段を括弧を付して示す。
【0062】
図4に示すように、通信ID宣言をする通信手段は、通信ID宣言の要求を負荷分散制御手段3の主制御部4に送信する(ステップS200)。
【0063】
主制御部4は上記通信ID宣言のイベントを受け、通信手段マネージメントテーブル管理手段5bにメッセージを送り、通信手段マネージメントテーブル管理手段5bによりその通信手段についての通信手段インフォメーション管理手段5aを作成し、通信ID、通信手段特定情報を通信手段マネージメントテーブルに登録する(ステップS210)。
【0064】
次に、通信リクエスト管理部6に通信手段の登録を行う。
まず、通信手段インフォメーション管理手段5aが、同一の通信IDを有する通信リクエストキューマネージャー手段6cが存在するか否かを検索する(ステップS220)。同一の通信IDの通信リクエストキューマネージャー手段6cがなければ、新たに作成する。
【0065】
次に、通信手段インフォメーション管理手段5aは、前記ステップS220により検索あるいは作成された通信リクエストキューマネージャー手段6cに、通信ID宣言を行っている通信手段の情報を登録する(ステップS230)。
【0066】
最後に、上記通信リクエストキューマネージャー手段6cは、対応する通信リクエストキュー管理手段6bを取得し、通信ID宣言をしている通信手段を送受信可能な通信手段として登録する(ステップS240)。ここで、「取得」とは、所定のオブジェクトを検索し、リンクを介して種々のメッセージを送れる状態にすることをいうものとする。
【0067】
以上が通信ID宣言とその処理についての説明であったが、通信障害によって所定の通信手段が通信不能になったときは、通信手段が通信ID解除の宣言を行う。通信ID解除の宣言は、上記通信ID宣言と同一のオブジェクトを辿り、登録してあった通信手段、通信IDに関する情報を削除することによって達成される。
【0068】
通信手段が接続され、通信手段が通信ID宣言をした通信回線制御システム1は、以下に説明するように通信処理を行う。以下、応答データの送信まで行う通信処理の流れを説明する。
【0069】
上記通信には、通信端末から通信手段への通信リクエストの送信と、通信手段から通信端末への応答通信データの送信とがある。これらの送信は、すべて負荷分散制御手段3を介して行われる。
【0070】
図5に、通信端末から通信手段への通信リクエストの送信の流れを示す。なお、図5のフローチャートにおいて、各処理ステップの処理を行う処理手段を括弧を付して示す。
【0071】
通信リクエストは、通信端末から発せられ、図5の最初に示すように、負荷分散制御手段3の主制御部4に通信リクエストのイベントとして入力される(ステップS300)。
【0072】
上記通信リクエストのイベントを受けた主制御部4は、通信経路ごとに通信手段インフォメーション管理手段5aを生成する(ステップS310)。
【0073】
次に、上記ステップS310によって生成された通信手段インフォメーション管理手段5aは、通信リクエストの通信IDに対応する通信IDの通信リクエストキューマネージャー手段6cを取得する(ステップS320)。
【0074】
上記ステップS320によって取得された通信リクエストキューマネージャー手段6cは、同一の通信IDの通信リクエストキュー管理手段6bを取得する(ステップS330)。通信リクエストキューマネージャー手段6cは、取得した通信リクエストキュー管理手段6bに通信リクエストに関する情報(通信データ)を渡す(ステップS340)。
【0075】
上記通信リクエストキュー管理手段6bは、上記通信リクエストに関する情報をその通信リクエストキュー、つまり通信リクエストの待行列に登録する(ステップS350)。
【0076】
次に、通信リクエストキュー管理手段6bはリプライウォッチャー手段6aを取得し、これに通信リクエスト元の通信端末を応答待ち通信端末として登録する(ステップS360)。
【0077】
上記ステップS360で取得されたリプライウォッチャー手段6aは、その通信リクエストに対して応答待ちタイマを設定し、応答を監視する(ステップS370)。
【0078】
次に、通信リクエストキュー管理手段6bは、所定の優先順位に従って通信を行う通信手段(具体的には通信チャネル)をサーチし、使用可能な状態の通信手段のうち優先順位が最も高い通信チャネルである通信手段インフォメーション管理手段5aを取得する(ステップS380)。
【0079】
次に、上記通信手段インフォメーション管理手段5aが、上記負荷が低い通信手段に対し、通信データを送信する(ステップS390)。これにより、通信リクエストと通信データが所定の通信手段を介して通信相手に送られることになる。
【0080】
以上が通信端末から通信手段への通信リクエストの送信であるが、ステップS380,S390において通信リクエストキュー管理手段6bが通信可能な通信手段のうち優先順位が最も高いものを検索して、それに通信データを送信する処理により、本発明の通信回線制御システム1は通信回線の負荷分散を行うことができるのである。
【0081】
次に、通信相手から通信手段を介して通信端末へ応答通信データを送信する処理について説明する。
【0082】
図6に通信手段から通信端末への応答通信データの送信の流れを示す。図6のフローチャートにおいて、図5と同様に各処理ステップの処理を行う処理手段を括弧を付して示す。
【0083】
応答通信データの送信のイベントは、通信を行った通信手段から送信され、図6の最初に示すように、通信回線制御システム1の主制御部4に入力される(ステップS400)。
【0084】
上記応答送信のイベントを受けた主制御部4は、応答送信を行った通信手段の通信手段インフォメーション管理手段5aを取得する(ステップS410)。
【0085】
次に、上記ステップS410によって取得された通信手段インフォメーション管理手段5aは、対応する通信IDの通信リクエストキューマネージャー手段6cを取得する(ステップS420)。
【0086】
上記ステップS420によって取得された通信リクエストキューマネージャー手段6cは、同一の通信IDの通信リクエストキュー管理手段6bを取得する(ステップS430)。
【0087】
上記ステップS430によって取得された通信リクエストキュー管理手段6bは、通信リクエストをその通信リクエストキューから削除する(ステップS440)。
【0088】
次に、リプライウォッチャー手段6aは、通信リクエスト元の通信端末に関するデータを応答待ち通信端末のデータから削除する(ステップS450)。
【0089】
以上のステップS420〜S450の処理により、通信リクエスト管理部6から通信リクエストが削除される。
【0090】
次に、リプライウォッチャー手段6aは、通信手段マネージメントテーブル管理手段5bにアクセスし、これを取得する(ステップS460)。
【0091】
通信手段マネージメントテーブル管理手段5bは、通信手段の情報から、対応する通信手段インフォメーション管理手段5aを取得し、この通信手段インフォメーション管理手段5aとリクエスト元通信端末管理部7により、リプライウォッチャー手段6aはリクエスト元の通信端末の情報を得ることができる(ステップS470)。
【0092】
最後に、リプライウォッチャー手段6aは、上記のように得られたリクエスト元通信端末に処理結果を送信する(ステップS480)。
【0093】
以上が、通信処理における通信リクエストの送信と応答通信データの返信に関する負荷分散制御手段3の処理の流れである。
【0094】
次に、負荷分散制御手段3による「一定の優先順序に従って通信手段の通信チャネルをサーチし、使用可能な状態の通信チャネルのうち優先順位が最も高いものに通信リクエストのデータを送信する」処理と、「通信障害があったときに通信不能になった通信手段の他の通信手段によって通信をバックアップする」処理について、具体例を用いて以下に説明する。
【0095】
図7は、本発明を適用した株式注文用の通信システムを示している。図7において、取引所8(通信相手2に相当する)には、複数のラインL1〜L4が接続されている。ラインL1〜L4には、注文データを送信する通信手段T1〜T4がそれぞれ接続されている。通信手段T1〜T4には、注文リクエストを送信する負荷分散制御手段3が接続されている。負荷分散制御手段3には、複数の注文端末OTM1〜OTM3(通信端末TM1〜TM5に相当する)が接続されている。
【0096】
この株式注文用の通信システムでは、バスケット注文とシングル注文という注文の種類によって分類した通信ID10,20によって注文リクエストの処理をするものとする。念のために、バスケット注文とは、複数銘柄の株式を組み合わせて注文する方法をいい、シングル注文とは、単一銘柄の株式を注文する方法をいう。なお、通信IDは、このほかに適宜に委託注文と自己注文というように、注文の主体によって分類することもできる。
【0097】
通信手段T1〜T4は、それぞれ取引所8とのプロトコル確立を行うプロトコル制御部と、通信チャネルを管理し、通信チャネルに保持された注文データを適当な数ブロッキングし、取引所8に送信するラインマネージャーLM1〜LM4が設けられている。
【0098】
ラインマネージャーLM1〜LM3は、バスケット注文を受け付けるバスケット注文チャネルと、シングル注文を受け付けるシングル注文チャネルとを有している。ラインマネージャーLM4は、シングル注文チャネルのみを有している。すなわち、ラインL1〜L3は、バスケット注文とシングル注文とを行う複数用途回線であり、ラインL4はシングル注文のみを行う専用回線である。
【0099】
バスケット注文チャネルとシングル注文チャネルは、使用される優先順序を予め付されている。図7のバスケット注文チャネルとシングル注文チャネルの下に記した数字は、それぞれの注文チャネルの優先順序を示している。つまり、バスケット注文であれば、通信手段T1→T2→T3の順で通信手段の使用状態が検索され、シングル注文であれば、通信手段T4→T3→T2→T1の順で検索される。
【0100】
上記構成の株式注文用の通信システムにおいて、注文端末OTM1〜OTM3がバスケット注文やシングル注文のリクエストを発すると、各注文リクエストは以下のように処理される。なお、各注文リクエストには、バスケット注文かシングル注文かを識別する通信ID10,20が付されている。
【0101】
最初に、注文リクエストは負荷分散制御手段3に送られる。負荷分散制御手段3は、注文端末OTM1〜OTM3からの注文リクエストを通信IDによってバスケット注文かシングル注文かを識別する。
【0102】
次に、負荷分散制御手段3は、注文リクエストがバスケット注文であれば、通信手段T1→T2→T3の順でバスケット注文チャネルの使用状態を検索し、シングル注文であれば、通信手段T4→T3→T2→T1の順でシングル注文チャネルの使用状態を検索する。上記各注文チャネルは、予め待行列にして保持しておける注文リクエストの数を宣言している。負荷分散制御手段3は、注文チャネルの待行列の注文リクエストの数が予め宣言した数に達しているときは、その注文チャネルが使用中であるとして次の注文チャネルを検索する。
【0103】
このようにして、負荷分散制御手段3は、使用可能な注文チャネルのうちで最も優先順位が高い注文チャネルに注文リクエストを送信する。全注文チャネルが使用中である場合は、負荷分散制御手段3は注文リクエストを保持したまま、ラインマネージャーLM1〜LM4のいずれかから応答通信データの送信があった時に再度注文チャネルを検索する。
【0104】
通信手段T1〜T4のラインマネージャーLM1〜LM4は、注文チャネルを交互にチェックし、到着した注文リクエストのデータを取り出し、取引所8が規定する数を最大値としてブロッキング処理を行い、取引所8に注文電文を送信する。ラインマネージャーLM1〜LM4は、取引所8から注文受付通知を受信すると、負荷分散制御手段3を介してその応答通信を注文元の注文端末OTM1〜OTM3に送信する。
【0105】
通信手段T1〜T4のいずれかに通信障害が発生したときは、通信手段T1〜T4が負荷分散制御手段3に対して通信ID解除宣言を行う。この通信ID解除宣言は、上述したように、通信可能な通信手段や通信チャネルのリストから通信障害のあった通信手段や通信チャネルの情報を削除することによって実現される。通信IDが解除されると、負荷分散制御手段3は、その通信手段や通信チャネルが無いものとして次の通信手段や通信チャネルをサーチするので、結局通信が他の通信手段によってバックアップされる。
【0106】
上述のようにして本発明による通信回線制御システムは、複数の通信手段を一定の優先順序にしたがって使用し、通信手段が使用中である場合は次の通信手段を使用するので、回線が特定の種類の通信に固定されず、ある種類の通信がその時点で空いている回線を通じて送られる。これにより、ある特定種類の通信回線が過負荷の状態によってその種類の通信のみが送信されない弊害を解消することができる。
【0107】
また、上記例のように、各通信チャネルの優先順序を通信回線に対して順不同に設定することにより、通信回線が全体的に使用されることになり、回線全体としての通信効率を向上させることができる。
【0108】
また、通信チャネルは通信手段の通信ID宣言によって設定されるが、通信チャネルを適当に設定することにより、上記例のラインL4のように特定の回線を適宜に専用回線とすることもできる。
【0109】
さらに、本発明による通信回線制御システムによれば、通信手段のいずれかに通信障害が発生したときは、他の通信回線が使用するので、流動的に通信障害をバックアップすることができる。
【0110】
以上で「一定の優先順序に従って通信手段の通信チャネルをサーチし、使用可能な状態の通信チャネルのうち優先順位が最も高いものに通信リクエストのデータを送信する」処理と、「通信障害があったときに通信不能になった通信手段の他の通信手段によって通信をバックアップする」処理についての説明を終了する。次に、本発明による通信回線制御システムの適用例について説明する。
【0111】
本発明による通信回線制御システムは、要するに「一定の数の通信回線と通信手段によって多数の通信を送る通信システム」であって、広汎な通信システムに適用することができる。このような適用可能な通信システムとしては、▲1▼並列的な複数の通信回線を有する通信システム、▲2▼クライアントサーバーシステム、▲3▼光ケーブル等の高速送受信を行うに媒体にバッチ式にデータを送受信するシステム、等がある。
▲1▼ 並列的な複数の通信回線を有する通信システムについては、既に説明した株式注文用の通信システムや、複数のファクシミリを備えた通信システムにおいて、ファクシミリと通信端末の間に本発明による負荷分散制御手段を介在させ、通信負荷を分散し通信障害でバックアップするようにした通信システム、等が考えられる。
▲2▼ クライアントサーバーシステムでは、たとえば一つのセンターサーバーに複数の分散サーバーが接続され、これらの分散サーバーに多数のクライアントが接続されたクライアントサーバーシステムにおいて、クライアントと分散サーバーの間に本発明による負荷分散制御手段を介在させ、分散サーバーの負荷を分散し、処理に障害が発生したときに他の分散サーバーによってバックアップするようにしたクライアントサーバーシステム、等が考えられる。
▲3▼ 光ケーブル等の高速送受信を行うに媒体にバッチ式にデータを送受信するシステムについては、高速回線にデータを流す複数の通信手段と通信端末とを設け、通信手段と通信端末の間に本発明による負荷分散制御手段を介在させ、1本の高速回線によって多目的の通信を行うようにした高速通信システムが考えられる。
【0112】
この場合、通信手段は同一種類のデータを一定のデータ量をまとめて送るようするのが好ましい。これは、光ケーブル等の高速送受信を行うに媒体については、通信プロトコル確立のための時間を少なくすることができ、高速で大量のデータの送受信を可能にする効果を有する。
【0113】
【発明の効果】
以上の説明から明らかなように、本発明の通信回線制御システムによれば、一定の数の通信回線と通信手段によって多数種類の通信を行う場合に、通信種類によって通信手段の使用の優先順序を定め、使用可能な状態の通信手段であってその時点で最も優先順序が高い通信手段によって送受信を行うので、使用可能な通信手段を用いて流動的に通信を行うことができる。これにより、特定の回線が過負荷の状態になって通信ができない不都合を防止することができる。
【0114】
また、特定の通信手段に通信障害が発生したときは、次の使用優先順序の通信手段によって通信を行うことができるので、円滑に通信障害をバックアップすることができる。
【図面の簡単な説明】
【図1】本発明による通信回線制御システムの一例の構成とその処理の流れを示したブロック図。
【図2】本発明の通信回線制御システムの負荷分散制御手段の構成とその処理の流れを示したブロック図。
【図3】本発明の通信回線制御システムへの通信手段の接続の処理を示したフローチャート。
【図4】本発明の通信回線制御システムにおける通信ID宣言の処理を示したフローチャート。
【図5】本発明の通信回線制御システムにおける通信端末から通信手段への通信リクエストの送信の流れを示したフローチャート。
【図6】本発明の通信回線制御システムにおける通信手段から通信端末への応答通信の送信の流れを示したフローチャート。
【図7】本発明の通信回線制御システムを適用した株式注文用通信システムの構成と処理の流れを示したブロック図。
【図8】従来の株式注文用通信システムの構成と処理の流れを示したブロック図。
【符号の説明】
1 通信回線制御システム
2 通信相手
3 負荷分散制御手段
4 主制御部
5 通信手段管理部
5a 通信手段インフォメーション管理手段
5b 通信手段マネージメントテーブル管理手段
6 通信リクエスト管理部
6a リプライウォッチャー手段
6b 通信リクエストキュー管理手段
6c 通信リクエストキューマネージャー手段
7 リクエスト元通信端末管理部
L1 通信回線
L2 通信回線
L3 通信回線
L4 通信回線
LM1 ラインマネージャー
LM2 ラインマネージャー
LM3 ラインマネージャー
LM4 ラインマネージャー
OTM1 注文端末
OTM2 注文端末
OTM3 注文端末
T1 通信手段
T2 通信手段
T3 通信手段
T4 通信手段
TM1 通信端末
TM2 通信端末
TM3 通信端末
TM4 通信端末
TM5 通信端末
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication line control for improving the efficiency of the entire communication by distributing a request for communication to each communication means in a communication system in which a large number of communication is performed by a certain number of communication lines and communication means. About the system.
[0002]
The above-mentioned “communication system for sending a large number of communications by means of a certain number of communication lines and communication means” to which the present invention can be applied includes a communication system having a plurality of parallel communication lines, a client server system, and a plurality of facsimiles. There are communication systems equipped with communication devices such as systems, systems that transmit and receive data batchwise to media for high-speed transmission and reception of optical cables and the like.
[0003]
[Prior art]
In a communication system that sends a large number of communications to a certain number of communication lines and communication means, communication requests are concentrated on a specific communication line or communication means, and the communication data once sent to the communication line or communication means is not easy. Often it is not sent to the other party.
[0004]
Specific examples of communication systems in which such a phenomenon occurs include the following.
(1) In a communication system having a plurality of parallel communication lines (telephone lines, computer communication lines, etc.), this is the case where communication is concentrated on a specific communication line.
In this case, the line to be used cannot be used and communication cannot be performed.
(2) In a client server system in which a plurality of distributed servers are connected to one center server, and a large number of clients are connected to these distributed servers, a large number of clients send a communication request to the center server to a specific distributed server. This is the case.
In this case, the other distributed servers are in an idling state even though the distributed servers in which communication requests are concentrated are in a full operation state. When viewed from the client side, the communication request is not easily processed, and communication cannot be performed.
(3) In a communication system having a plurality of facsimile machines, transmission data is concentrated on a specific facsimile machine, and data cannot be transmitted easily even though other facsimile machines can transmit the data.
As a method for avoiding a failure due to communication concentration as described in the above examples (1) to (3), it has been considered that a specific type of communication is assigned to each communication line or communication means.
[0005]
As an example of this conventional method, the above-described “conventional method in which a specific communication line or communication means is in charge of specific communication” will be described using a stock order communication system in a securities company.
[0006]
FIG. 8 shows a configuration of a communication system for stock order in which a specific communication line or communication means is in charge of specific communication.
[0007]
In this communication system for ordering stock, a plurality of lines L <b> 1 to L <b> 4 are connected to the exchange 50. Each line L1-L4 is provided with communication means T1-T4. Communication means T1-T4 is an apparatus which controls the communication protocol between the exchanges 50 via the lines L1-L4, and transmits / receives data.
[0008]
Dedicated order terminals TM1 to TM5 are connected to the communication means T1 to T4. As shown in FIG. 8, the dedicated order terminals TM1 to TM5 are order terminals that place specific types of orders, such as a terminal that makes a basket order, a terminal that makes a single order, and a terminal that makes a consignment order. The basket order is a stock ordering method in which a plurality of stocks are combined and ordered, and the single order is a stock ordering method in which a single stock is ordered. The consignment order is a stock ordering method in which a securities company orders a stock under the commission of a customer.
[0009]
According to this communication system for ordering stocks, it is possible to place stock orders on the exchange 50 by using the dedicated order terminals TM1 to TM5 depending on the type of stock order.
[0010]
[Problems to be solved by the invention]
However, in the above-mentioned “conventional method in which a specific communication line or communication means is responsible for a specific type of communication”, when a load is concentrated on a certain communication line, a communication line with a low other load cannot be used. Therefore, the overall communication efficiency was low.
[0011]
Further, in the above conventional method, when a certain communication line becomes incapable of communication, the type of communication in charge of the communication line cannot be transmitted / received. In this case, the reliability of reliably sending data to the communication partner was low.
[0012]
Also, in a communication system that takes more time to establish a protocol for transmission / reception than time to actually transmit / receive data, such as a communication system using a medium for high-speed transmission / reception such as an optical cable, Communication efficiency is higher when a plurality of pieces of communication data are transmitted and received at the same time.
[0013]
However, in the past, there has been no system that sends and receives received communication requests in groups according to the type of communication on a single high-speed line, and transmits and receives a fixed number of communication requests for each communication type. It was.
[0014]
Therefore, the problem to be solved by the present invention is that communication inefficiency due to mutual interference of communication requests is avoided, communication can be performed using the entire communication line, and communication failure is backed up by another communication line. It is to provide a communication line control system that can be used.
[0015]
[Means for Solving the Problems]
  BookinventionThe communication line control system according to
  Connected to exchangeMultiplelineAnd saidlineEach connected toFor order data transmissionA plurality of communication means, a load distribution control means connected to a plurality of the communication means, and a plurality of connection to one load distribution control meansorderIn a communication line control system having a terminal,
  At least part of the communication means;InFor one communication meansThere are a basket order channel, which is a communication channel for ordering baskets in which multiple brands are combined, and a single order channel, which is a communication channel for single orders in which a single brand is ordered.Assigned,
  Each communication means includes a protocol control unit for establishing a protocol with the exchange, a line for managing the communication channel, blocking a predetermined number of order data held in each communication channel, and transmitting the data to the exchange. There is a manager,
The load distribution control means includes theorderFrom terminalFor identifying basket orders or single ordersA communication request with a communication ID is received, a communication channel that passes the same communication ID as the communication ID of the communication request is searched for in a predetermined priority order, and the highest priority among communication channels in a usable state The communication request data is transmitted to a communication channel.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described below with reference to the accompanying drawings.
First, a system configuration example of a communication line control system according to the present invention will be described with reference to FIG.
[0022]
In FIG. 1, a communication line control system denoted as a whole by reference numeral 1 includes a plurality of communication lines L1 to L4 connected to a communication partner 2, and communication means T1 to T4 respectively connected to the communication lines L1 to L4. It has load distribution control means 3 connected to communication means T1 to T4, and communication terminals TM1 to TM5 connected to load distribution control means 3.
[0023]
The communication means T1 to T4 have communication channels 10 to 30 and 50 corresponding to the communication ID. Here, the communication ID is an identifier of communication classified by communication type such as “communication ID 10”, “communication ID 20”,... As shown in FIG.
[0024]
The type of communication for classifying the communication ID can be freely determined by the user depending on how the user uses the communication line control system. For example, a communication ID may be attached depending on the content of communication data, and a different communication line may be used preferentially for each communication type. Alternatively, the communication may be ranked according to the communication priority and assigned with a communication ID, and communication with a communication ID having a high priority may be preferentially passed.
[0025]
The communication partner 2 may be a single communication partner or a plurality of communication partners. In addition to a person, it may be a computer or a communication device.
[0026]
The communication lines L1 to L4 refer to communication paths through which communication is performed regardless of wired, wireless, or carrier current.
[0027]
The communication means T1 to T4 are means for inputting / outputting communication data to / from the communication lines L1 to L4. The communication means T1 to T4 can perform processing of declaring and releasing communication IDs of communication channels 10 to 30 described later. It has an information processing function capable of storing a predetermined number of communication request data in a queue in communication channels 10 to 30. Preferably, the communication means T1 to T4 are computers.
[0028]
Further, the communication means T1 to T4 can transmit and receive a predetermined number of the same type of communication collectively. That is, the communication means T1 to T4 store the communication requests that are sent by grouping according to the communication type, and determine that communication is possible on the condition that a certain number of communication requests are collected for each communication type, It can be sent.
[0029]
The load distribution control means 3 receives a communication request from the communication terminals TM1 to TM5, and searches the communication channels 10 to 30 and 50 that pass the same communication ID as the communication ID attached to the communication request in a predetermined priority order. The communication request data is transmitted to the highest available communication channel 10 to 30 or 50 in the usable state. The load distribution control means 3 is an information processing device for performing the above-described processing, and may be an information processing device built to perform the above-mentioned processing in a fixed manner, but is preferably a computer controlled by software.
[0030]
Note that the communication line control system 1 may perform transmission of response communication data, or may perform transmission only unilaterally.
[0031]
When the communication line control system 1 also transmits response data, the load distribution control means 3 holds information of the request source communication terminals TM1 to TM5, and transmits response communication data to the request source communication. Send to the terminal.
[0032]
The communication terminals TM1 to TM5 are devices that input and output communication requests, and are telephones, dedicated terminals, computers, and the like. When the communication terminals TM1 to TM5 send a communication request, they are sent with the communication ID.
[0033]
Communication by the communication line control system 1 having the above configuration is performed as follows. The communication terminals TM1 to TM5 attach a communication ID to the communication request and send it individually to the load distribution control means 3. The load distribution control means 3 receives communication requests from the communication terminals TM1 to TM5, reads the communication ID attached to the communication request, and has communication means T1 to T1 having communication channels 10 to 30 and 50 for transmitting and receiving the same communication ID. Search for T4 according to a certain priority order. Here, “search” refers to checking whether or not a certain number of communication requests already stored in the communication channel of the communication means has reached a certain number. This means checking the communication channel.
[0034]
As a result of the search, the load distribution control means 3 transmits the data of the communication request to the communication channel 10 to 30 or 50 in the usable state having the highest priority. The communication means T1 to T4 sequentially transmit the communication requests in the queue of each communication channel to the communication partner 2.
[0035]
In this case, as described above, the communication means T1 to T4 store the transmitted communication requests by grouping them according to the communication types, and a condition that a certain number of communication requests are collected for each communication type. It is determined that communication is possible. As a result, a certain amount of data can be sent together, and time spent for establishing a communication protocol can be saved and highly efficient communication can be performed.
[0036]
In the example shown in FIG. 1, the communication means T1 to T3 have communication channels 10 to 30, respectively, and can transmit and receive a plurality of types of communication. On the other hand, since the communication means T4 can transmit and receive only the communication channel 50, it is the same as the conventional dedicated line.
[0037]
Thereby, the communication request of communication ID10 is sent to the communication channel 10 in which communication means T1-T3 is vacant. The same applies to communication IDs 20-30. The communication ID 50 is always sent to the communication channel 50.
[0038]
As a result, the communication request is sent to an unspecified communication means, and the communication line control system 1 can perform highly efficient communication as a whole. A specific communication load distribution control method will be described later.
[0039]
Next, the configuration and processing of the load distribution control means 3 which is a characteristic part of the present invention will be described below.
FIG. 2 shows the structure of the class object of the load distribution control means 3.
[0040]
The “object” is classified according to an attribute, and data and procedure are integrated. The object has the following characteristics.
(1) Objects (class objects) having the same attributes basically have the same method (means for performing predetermined processing).
(2) Attributes and methods of a class object can be inherited by other class objects.
(3) It is possible to request another object to perform processing using a method of the object.
[0041]
The “object” in this specification includes software in which the above data and procedure are integrated, and hardware for executing the object.
[0042]
The constituent means of the load distribution control means 3 of this embodiment is composed of “objects”. By making each processing means an “object”, the system of the present invention can flexibly cope with various processes. However, this does not mean that the present invention is limited to an object-oriented framework. That is, the load distribution control means 3 may be realized by a processing device in which the same function as the object is controlled by a normal procedural program.
[0043]
In FIG. 2, each object constituting the load balancing control means 3 is surrounded by a square line, and an object name is shown in the upper part, an attribute is shown in the middle part, and a method of the object is shown in the lower part.
[0044]
As shown in FIG. 2, the core node generally indicated by reference numeral 3 includes a main control unit 4, a communication means management unit 5, a communication request management unit 6, and a request source communication terminal management unit 7.
[0045]
The communication means management unit 5 includes communication means information management means 5a and communication means management table management means 5b.
[0046]
The communication means information management means 5a is means for managing information on the communication path and information on the communication means for each communication path that maintains communication between a predetermined communication request and the communication means that processes the communication request. . The communication path is a communication path for the flow of information, although a predetermined communication means performs transmission / reception processing for a predetermined communication request. The communication means information management means 5a manages information on communication means (information for specifying the communication means) and information on other communication paths (for example, communication protocol) for each communication path.
[0047]
One communication means management table management means 5b exists in all systems, has a communication means management table, and manages the communication means information management means 5a. Here, “management” between objects refers to, for example, control in which the communication means management table management means 5b requests the communication means information management means 5a to retrieve information on a predetermined communication means and obtain an answer. To do. The same applies to “management” between objects.
[0048]
The communication means management table is a table in which information of each communication means connected to the communication line control system 1 according to the present invention is registered. Here, the information of the communication means registered in the communication means management table is information for identifying each communication means, a communication ID, and the like.
[0049]
The communication request management unit 6 includes reply watcher means 6a, communication request queue management means 6b, and communication request queue manager means 6c.
[0050]
The reply watcher means 6a exists for each communication request ID, registers information of a communication terminal waiting for a response, monitors a response, and transmits a response data when there is a response (response communication Data transmission system). The communication request ID is an identifier assigned to each communication request in order to specify the communication request.
[0051]
The communication request queue management unit 6b exists for each communication ID, manages information on the communication unit that transmits and receives the corresponding communication ID, and holds communication data of the communication request.
[0052]
When there is a communication request, the communication request queue management means 6b searches for the communication means with the corresponding communication ID, transfers the communication data of the communication request, and registers the communication request until there is a response. is there.
[0053]
The communication request queue manager 6c exists for each communication ID and manages the communication request queue manager 6b.
[0054]
The request source communication terminal management unit 7 manages information of a communication terminal that is a communication request transmission source for each communication request ID.
[0055]
The above is the description of each constituent unit of the load distribution control unit 3. Next, the operation of each constituent unit in communication will be described below. In the following description, by referring to the configuration of the load distribution control unit 3 shown in FIG. 2, the relationship between the configuration units becomes clearer.
[0056]
First, in order to configure the communication line control system 1 of the present invention, communication means must be connected to the system. The flow of processing for connecting the communication means is shown in FIG. In the flowchart of FIG. 3, the processing means for performing the processing of each processing step is shown in parentheses.
[0057]
As shown in FIG. 3, in order to connect the communication means T1 to T4 to the communication line control system 1 of the present invention, the communication means T1 to T4 requesting connection are connected to the main control unit 4 of the load distribution control means 3. Send an event requesting connection.
[0058]
Receiving this connection request event, the main controller 2 (step S100) generates an event for connecting the communication means to the communication means connection acceptance channel (step S110). This event is processed as follows.
[0059]
First, a new communication means information management means 5a is created for a communication means that requests connection, and communication path information, information about the communication means, and the like are registered (step S120).
[0060]
Next, this new communication means is registered in the communication means management table (step S130).
[0061]
The communication means is connected to the system through the above processing. Next, the connected communication means must make a communication ID declaration indicating what kind of communication ID is to be transmitted and received. The flow of processing for communication ID declaration is shown in FIG. In the flowchart of FIG. 4, the processing means for performing the processing of each processing step is shown in parentheses.
[0062]
As shown in FIG. 4, the communication means that makes a communication ID declaration transmits a request for the communication ID declaration to the main control unit 4 of the load distribution control means 3 (step S200).
[0063]
The main control unit 4 receives the event of the communication ID declaration, sends a message to the communication means management table management means 5b, creates a communication means information management means 5a for the communication means by the communication means management table management means 5b, and performs communication. ID and communication means specifying information are registered in the communication means management table (step S210).
[0064]
Next, the communication means is registered in the communication request management unit 6.
First, the communication means information management means 5a searches for a communication request queue manager means 6c having the same communication ID (step S220). If there is no communication request queue manager means 6c with the same communication ID, a new one is created.
[0065]
Next, the communication means information management means 5a registers the information of the communication means making the communication ID declaration in the communication request queue manager means 6c retrieved or created in step S220 (step S230).
[0066]
Finally, the communication request queue manager 6c acquires the corresponding communication request queue manager 6b, and registers the communication unit declaring the communication ID as a communication unit capable of transmitting and receiving (step S240). Here, “acquisition” means that a predetermined object is searched and various messages can be sent via a link.
[0067]
The above is the description of the communication ID declaration and its processing. When a predetermined communication means becomes unable to communicate due to a communication failure, the communication means declares the communication ID release. The communication ID cancellation declaration is achieved by tracing the same object as the communication ID declaration and deleting the registered communication means and information related to the communication ID.
[0068]
The communication line control system 1 to which the communication means is connected and the communication means declares the communication ID performs communication processing as described below. Hereinafter, a flow of communication processing performed until transmission of response data will be described.
[0069]
The communication includes transmission of a communication request from the communication terminal to the communication means and transmission of response communication data from the communication means to the communication terminal. All of these transmissions are performed via the load distribution control means 3.
[0070]
FIG. 5 shows a flow of communication request transmission from the communication terminal to the communication means. In the flowchart of FIG. 5, the processing means for performing the processing of each processing step is shown in parentheses.
[0071]
The communication request is issued from the communication terminal and is input as an event of the communication request to the main control unit 4 of the load distribution control unit 3 as shown in the beginning of FIG. 5 (step S300).
[0072]
Receiving the communication request event, the main control unit 4 generates the communication means information management means 5a for each communication path (step S310).
[0073]
Next, the communication means information management means 5a generated in step S310 acquires the communication request queue manager means 6c having a communication ID corresponding to the communication ID of the communication request (step S320).
[0074]
The communication request queue manager 6c acquired in step S320 acquires the communication request queue manager 6b having the same communication ID (step S330). The communication request queue manager 6c passes information (communication data) related to the communication request to the acquired communication request queue manager 6b (step S340).
[0075]
The communication request queue managing means 6b registers information related to the communication request in the communication request queue, that is, the queue of communication requests (step S350).
[0076]
Next, the communication request queue management means 6b acquires the reply watcher means 6a, and registers the communication request source communication terminal as a response waiting communication terminal (step S360).
[0077]
The reply watcher 6a acquired in step S360 sets a response wait timer for the communication request and monitors the response (step S370).
[0078]
Next, the communication request queue management means 6b searches for a communication means (specifically, a communication channel) that performs communication according to a predetermined priority order, and uses the communication channel with the highest priority order among the usable communication means. A certain communication means information management means 5a is acquired (step S380).
[0079]
Next, the communication means information management means 5a transmits communication data to the communication means having a low load (step S390). As a result, the communication request and the communication data are sent to the communication partner via the predetermined communication means.
[0080]
The above is the transmission of the communication request from the communication terminal to the communication means. In steps S380 and S390, the communication means that the communication request queue management means 6b can communicate with is searched for the highest priority, and the communication data The communication line control system 1 of the present invention can perform load distribution of the communication line by the process of transmitting.
[0081]
Next, processing for transmitting response communication data from the communication partner to the communication terminal via the communication means will be described.
[0082]
FIG. 6 shows the flow of transmission of response communication data from the communication means to the communication terminal. In the flowchart of FIG. 6, the processing means for performing the processing of each processing step is shown in parentheses as in FIG.
[0083]
The response communication data transmission event is transmitted from the communication means that has performed communication, and is input to the main control unit 4 of the communication line control system 1 as shown at the beginning of FIG. 6 (step S400).
[0084]
Upon receiving the response transmission event, the main control unit 4 acquires the communication unit information management unit 5a of the communication unit that has transmitted the response (step S410).
[0085]
Next, the communication means information management means 5a acquired in step S410 acquires the communication request queue manager means 6c with the corresponding communication ID (step S420).
[0086]
The communication request queue manager 6c acquired in step S420 acquires the communication request queue manager 6b having the same communication ID (step S430).
[0087]
The communication request queue management means 6b acquired at step S430 deletes the communication request from the communication request queue (step S440).
[0088]
Next, the reply watcher 6a deletes the data related to the communication request source communication terminal from the response waiting communication terminal data (step S450).
[0089]
The communication request is deleted from the communication request management unit 6 through the processes in steps S420 to S450 described above.
[0090]
Next, the reply watcher means 6a accesses and acquires the communication means management table management means 5b (step S460).
[0091]
The communication means management table management means 5b obtains the corresponding communication means information management means 5a from the information of the communication means, and by this communication means information management means 5a and the request source communication terminal management section 7, the reply watcher means 6a Information of the original communication terminal can be obtained (step S470).
[0092]
Finally, the reply watcher 6a transmits the processing result to the request source communication terminal obtained as described above (step S480).
[0093]
The above is the flow of processing of the load distribution control unit 3 related to transmission of a communication request and return of response communication data in communication processing.
[0094]
Next, a process of “searching the communication channel of the communication unit according to a certain priority order and transmitting the communication request data to the highest available communication channel among the available communication channels” by the load distribution control unit 3; The process of “backing up communication by another communication means that has become unable to communicate when there is a communication failure” will be described below using a specific example.
[0095]
FIG. 7 shows a communication system for stock order to which the present invention is applied. In FIG. 7, a plurality of lines L1 to L4 are connected to an exchange 8 (corresponding to the communication partner 2). Communication means T1 to T4 for transmitting order data are connected to the lines L1 to L4, respectively. Load distribution control means 3 for transmitting an order request is connected to the communication means T1 to T4. A plurality of order terminals OTM1 to OTM3 (corresponding to communication terminals TM1 to TM5) are connected to the load distribution control means 3.
[0096]
In this stock order communication system, an order request is processed by communication IDs 10 and 20 categorized according to the order types of basket order and single order. As a precaution, the basket order refers to a method of ordering a combination of a plurality of stocks, and the single order refers to a method of ordering a single stock. Communication IDs can also be classified according to the subject of the order, such as consignment order and self-order, as appropriate.
[0097]
The communication means T1 to T4 are each a protocol control unit that establishes a protocol with the exchange 8, a line that manages the communication channel, blocks an appropriate number of order data held in the communication channel, and transmits the data to the exchange 8. Managers LM1 to LM4 are provided.
[0098]
The line managers LM1 to LM3 have a basket order channel that accepts basket orders and a single order channel that accepts single orders. The line manager LM4 has only a single order channel. That is, the lines L1 to L3 are multi-use lines for performing basket orders and single orders, and the line L4 is a dedicated line for performing single orders only.
[0099]
The basket order channel and the single order channel are pre-assigned a priority order to be used. The numbers below the basket order channel and the single order channel in FIG. 7 indicate the priority order of the respective order channels. In other words, in the case of a basket order, the use state of the communication means is searched in the order of communication means T1 → T2 → T3, and in the case of a single order, the search is performed in the order of communication means T4 → T3 → T2 → T1.
[0100]
In the stock order communication system configured as described above, when the order terminals OTM1 to OTM3 issue a basket order or single order request, each order request is processed as follows. Each order request has a communication ID 10, 20 for identifying whether it is a basket order or a single order.
[0101]
First, the order request is sent to the load distribution control means 3. The load distribution control means 3 identifies whether the order request from the order terminals OTM1 to OTM3 is a basket order or a single order by a communication ID.
[0102]
Next, if the order request is a basket order, the load distribution control means 3 searches the usage status of the basket order channel in the order of communication means T1 → T2 → T3, and if the order request is a single order, the communication means T4 → T3. The usage status of the single order channel is searched in the order of T2 → T1. Each order channel declares the number of order requests that can be held in a queue in advance. When the number of order requests in the queue of the order channel reaches the number declared in advance, the load distribution control means 3 searches for the next order channel assuming that the order channel is in use.
[0103]
In this way, the load distribution control unit 3 transmits an order request to the order channel having the highest priority among the available order channels. When all the order channels are in use, the load distribution control unit 3 searches the order channel again when response communication data is transmitted from any of the line managers LM1 to LM4 while holding the order request.
[0104]
The line managers LM1 to LM4 of the communication means T1 to T4 alternately check the order channel, take out the data of the incoming order request, perform the blocking process with the number specified by the exchange 8 as the maximum value, Send an order message. When the line managers LM1 to LM4 receive the order acceptance notification from the exchange 8, the line managers LM1 to LM4 transmit the response communication to the ordering terminal OTM1 to OTM3 via the load distribution control unit 3.
[0105]
When a communication failure occurs in any of the communication units T1 to T4, the communication units T1 to T4 issue a communication ID release declaration to the load distribution control unit 3. As described above, this communication ID cancellation declaration is realized by deleting information on a communication means or communication channel having a communication failure from a list of communication means or communication channels that can communicate. When the communication ID is canceled, the load distribution control unit 3 searches for the next communication unit or communication channel assuming that there is no communication unit or communication channel, so that the communication is eventually backed up by another communication unit.
[0106]
As described above, the communication line control system according to the present invention uses a plurality of communication means according to a certain priority order, and uses the next communication means when the communication means is in use. Instead of being fixed to the type of communication, a type of communication is sent over the currently available line. As a result, it is possible to solve the problem that only a certain type of communication is not transmitted due to an overload of a certain type of communication line.
[0107]
Also, as in the above example, by setting the priority order of each communication channel out of order with respect to the communication line, the communication line is used as a whole, and the communication efficiency of the entire line is improved. Can do.
[0108]
Further, the communication channel is set by the communication ID declaration of the communication means. However, by appropriately setting the communication channel, a specific line can be appropriately set as a dedicated line like the line L4 in the above example.
[0109]
Furthermore, according to the communication line control system of the present invention, when a communication failure occurs in any of the communication means, other communication lines use it, so that the communication failure can be backed up fluidly.
[0110]
As described above, the process of “searching the communication channel of the communication means according to a certain priority order and transmitting the communication request data to the highest available communication channel” and “there was a communication failure The description of the process of “backing up communication with another communication means that sometimes becomes unable to communicate” ends. Next, an application example of the communication line control system according to the present invention will be described.
[0111]
The communication line control system according to the present invention is, in short, a “communication system that transmits a large number of communications by a certain number of communication lines and communication means” and can be applied to a wide variety of communication systems. As such applicable communication systems, (1) a communication system having a plurality of parallel communication lines, (2) a client-server system, and (3) batch data on a medium for high-speed transmission / reception. System to send and receive.
(1) For a communication system having a plurality of parallel communication lines, the load distribution according to the present invention is performed between the facsimile and the communication terminal in the communication system for ordering stocks already described or a communication system having a plurality of facsimiles. A communication system in which a control unit is interposed to distribute communication load and back up due to a communication failure is conceivable.
(2) In a client server system, for example, in a client server system in which a plurality of distributed servers are connected to one center server and a number of clients are connected to these distributed servers, the load according to the present invention is between the clients and the distributed servers. A client server system in which a distributed control unit is interposed to distribute the load on the distributed server and backup is performed by another distributed server when a failure occurs in processing can be considered.
(3) For a system for batch transmission / reception of data to / from a medium for high-speed transmission / reception such as an optical cable, a plurality of communication means and a communication terminal for sending data to a high-speed line are provided. A high-speed communication system in which multipurpose communication is performed through a single high-speed line through the load balancing control means according to the invention can be considered.
[0112]
In this case, it is preferable that the communication means sends the same type of data in a fixed amount of data. This has the effect of enabling transmission / reception of a large amount of data at high speed by reducing the time required for establishing a communication protocol for a medium for performing high-speed transmission / reception such as an optical cable.
[0113]
【The invention's effect】
As is apparent from the above description, according to the communication line control system of the present invention, when a large number of types of communication are performed by a certain number of communication lines and communication means, the priority order of use of the communication means is set according to the communication type. Since transmission / reception is performed by a communication means that is in a usable state and has the highest priority order at that time, it is possible to perform fluid communication using the usable communication means. As a result, it is possible to prevent inconvenience that a specific line is overloaded and communication is not possible.
[0114]
In addition, when a communication failure occurs in a specific communication means, communication can be performed by the communication means in the next priority order of use, so that the communication failure can be backed up smoothly.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an example of a communication line control system according to the present invention and a flow of processing thereof.
FIG. 2 is a block diagram showing the configuration of the load distribution control means of the communication line control system of the present invention and the flow of its processing.
FIG. 3 is a flowchart showing processing for connecting communication means to the communication line control system of the present invention.
FIG. 4 is a flowchart showing communication ID declaration processing in the communication line control system of the present invention.
FIG. 5 is a flowchart showing a flow of transmission of a communication request from a communication terminal to a communication means in the communication line control system of the present invention.
FIG. 6 is a flowchart showing a flow of response communication transmission from the communication means to the communication terminal in the communication line control system of the present invention.
FIG. 7 is a block diagram showing the configuration and processing flow of a stock order communication system to which the communication line control system of the present invention is applied.
FIG. 8 is a block diagram showing a configuration and processing flow of a conventional stock order communication system.
[Explanation of symbols]
1 Communication line control system
2 Communication partner
3 Load balancing control means
4 Main control unit
5 Communication means manager
5a Communication means Information management means
5b Communication means management table management means
6 Communication Request Management Department
6a Reply watcher means
6b Communication request queue management means
6c Communication request queue manager means
7 Request source communication terminal manager
L1 communication line
L2 communication line
L3 communication line
L4 communication line
LM1 line manager
LM2 line manager
LM3 line manager
LM4 line manager
OTM1 ordering terminal
OTM2 order terminal
OTM3 order terminal
T1 communication means
T2 communication means
T3 communication means
T4 communication means
TM1 communication terminal
TM2 communication terminal
TM3 communication terminal
TM4 communication terminal
TM5 communication terminal

Claims (1)

取引所に接続された複数本のラインと、前記ラインにそれぞれ接続された注文データ送信用の通信手段と、前記通信手段の複数個に接続された負荷分散制御手段と、一つの負荷分散制御手段に複数個接続された注文端末とを有する通信回線制御システムにおいて、
前記通信手段の少なくとも一部は、一つの通信手段に対して、複数の銘柄を組み合わせて注文するバスケット注文のための通信チャネルであるバスケット注文チャネルと、単一の銘柄を注文するシングル注文のための通信チャネルであるシングル注文チャネルとが割り当てられ、
前記各通信手段には、前記取引所とのプロトコル確立を行うプロトコル制御部と、前記通信チャネルを管理し、各通信チャネルに保持された注文データを所定数ブロッキングして前記取引所に送信するラインマネージャーが設けられており、
前記負荷分散制御手段は、前記注文端末からバスケット注文かシングル注文かを識別するための通信IDを付した通信リクエストを受け取り、前記通信リクエストの通信IDと同一の通信IDを通す通信チャネルを予め定められた優先順序で検索し、使用可能な状態の通信チャネルのうち優先順位が最も高い通信チャネルに前記通信リクエストのデータを送信する、ことを特徴とする通信回線制御システム。
A plurality of lines connected to the exchange , order data transmission communication means connected to each of the lines , load distribution control means connected to a plurality of the communication means, and one load distribution control means In a communication line control system having a plurality of order terminals connected to
At least a part of the communication means includes a basket order channel which is a communication channel for ordering a basket in which a plurality of brands are ordered in combination with one communication means, and a single order for ordering a single brand. A single order channel, which is a communication channel for
Each communication means includes a protocol control unit for establishing a protocol with the exchange, a line for managing the communication channel, blocking a predetermined number of order data held in each communication channel, and transmitting the data to the exchange. There is a manager,
The load distribution control unit receives a communication request with a communication ID for identifying whether it is a basket order or a single order from the order terminal, and determines a communication channel through which the same communication ID as the communication ID of the communication request is passed. A communication line control system, wherein the communication request data is transmitted to a communication channel having a highest priority among communication channels in a usable state.
JP11269197A 1997-04-30 1997-04-30 Communication line control system Expired - Lifetime JP3715071B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11269197A JP3715071B2 (en) 1997-04-30 1997-04-30 Communication line control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11269197A JP3715071B2 (en) 1997-04-30 1997-04-30 Communication line control system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005003764A Division JP4381990B2 (en) 2005-01-11 2005-01-11 Communication line control system

Publications (2)

Publication Number Publication Date
JPH10301870A JPH10301870A (en) 1998-11-13
JP3715071B2 true JP3715071B2 (en) 2005-11-09

Family

ID=14593079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11269197A Expired - Lifetime JP3715071B2 (en) 1997-04-30 1997-04-30 Communication line control system

Country Status (1)

Country Link
JP (1) JP3715071B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6434637B1 (en) * 1998-12-31 2002-08-13 Emc Corporation Method and apparatus for balancing workloads among paths in a multi-path computer system based on the state of previous I/O operations
US7212999B2 (en) 1999-04-09 2007-05-01 Trading Technologies International, Inc. User interface for an electronic trading system
US6993504B1 (en) 1999-04-09 2006-01-31 Trading Technologies International, Inc. User interface for semi-fungible trading
US6772132B1 (en) 2000-03-02 2004-08-03 Trading Technologies International, Inc. Click based trading with intuitive grid display of market depth
US7447655B2 (en) 2000-03-02 2008-11-04 Trading Technologies International, Inc. System and method for automatic scalping of a tradeable object in an electronic trading environment
US6938011B1 (en) 2000-03-02 2005-08-30 Trading Technologies International, Inc. Click based trading with market depth display
US7389268B1 (en) 2000-03-02 2008-06-17 Trading Technologies International, Inc. Trading tools for electronic trading
US7587357B1 (en) 2003-06-30 2009-09-08 Trading Technologies International Inc. Repositioning of market information on trading screens
PL2204019T3 (en) 2007-10-31 2012-07-31 Ericsson Telefon Ab L M Networks having multiple paths between nodes and nodes for such a network
JP2013048427A (en) * 2012-09-13 2013-03-07 Telefon Ab L M Ericsson Networks having multiple paths between nodes and nodes for such network
JP6162843B1 (en) * 2016-03-28 2017-07-12 株式会社大和総研 Exchange connection system and program

Also Published As

Publication number Publication date
JPH10301870A (en) 1998-11-13

Similar Documents

Publication Publication Date Title
US6195682B1 (en) Concurrent server and method of operation having client-server affinity using exchanged client and server keys
JP3573386B2 (en) Large-scale client-server system for load control
JP2962203B2 (en) Load balancing method for online information processing system
US20020143953A1 (en) Automatic affinity within networks performing workload balancing
JPS6156538A (en) Local area network for processing digital data
JP3715071B2 (en) Communication line control system
CN101076978B (en) Method for distributing loads among servers
US7864703B2 (en) Packet communication device
US20020143965A1 (en) Server application initiated affinity within networks performing workload balancing
JPH10307783A (en) Site access control system and recording medium
CN112202918B (en) Load scheduling method, device, equipment and storage medium for long connection communication
CN116319732A (en) Message queue centralized configuration management system and method based on RabbitMQ
JP2001022714A (en) Server computer, load decentralization system, telephone exchange system, and load decentralizing method
JP4381990B2 (en) Communication line control system
JP2006209465A (en) Load distribution system, load distribution device, server, load distribution program and load distribution method
CN101060487B (en) A data forwarding system and method
CN113098792B (en) Interface data communication method and system based on token binding
JP2002049602A (en) Retrieval system
JP3950752B2 (en) apparatus
CN115460291B (en) Inter-group scheduling method based on center configuration, center server and system
CN114268615B (en) Service processing method and system based on TCP connection
CN208971544U (en) A kind of communication system of communications platform integration
JPH0677997A (en) Load distributing method for packet exchange
CN115658164A (en) Distributed serial arrangement service execution method and system
JPH11355341A (en) Selecting method and device for communication path

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040330

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050111

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050510

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050824

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080902

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100902

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110902

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110902

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120902

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120902

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130902

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term