JPH06301606A - Communication route selector and its method - Google Patents

Communication route selector and its method

Info

Publication number
JPH06301606A
JPH06301606A JP5107521A JP10752193A JPH06301606A JP H06301606 A JPH06301606 A JP H06301606A JP 5107521 A JP5107521 A JP 5107521A JP 10752193 A JP10752193 A JP 10752193A JP H06301606 A JPH06301606 A JP H06301606A
Authority
JP
Japan
Prior art keywords
communication
route
data
starting point
communication path
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
JP5107521A
Other languages
Japanese (ja)
Inventor
Tatsuya Sakurai
達也 桜井
Yoshihito Tanaka
吉仁 田中
Kunihiro Morimoto
訓弘 森本
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.)
Kanebo Ltd
Original Assignee
Kanebo 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 Kanebo Ltd filed Critical Kanebo Ltd
Priority to JP5107521A priority Critical patent/JPH06301606A/en
Publication of JPH06301606A publication Critical patent/JPH06301606A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To provide a communication route selector capable of uniforming the using rates of respective communication routes and improving the efficiency of communication. CONSTITUTION:Using status information indicating the using status of corresponding communication routes L1 to Ln is respectively stored in plural route management tables P1 to Pn. Retrieval starting point route numbers indicting the retrieval starting points of respective tables P1 to Pn are stored in a retrieval starting point route storing part 30. A transmission route selecting part 20 successively retrieves the using status information of the tables P1 to Pn based upon the retrieval starting point route numbers stored in the storing part 30 and detects a communication route with free status. The selecting part 20 updates the retrieval starting point route numbers stored in the storing part 30 after the data sending.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、複数の通信経路で接
続された2つのデータ処理装置間のデータ通信において
データを送信すべき通信経路を選択する通信経路選択装
置および通信経路選択方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication route selecting device and a communication route selecting method for selecting a communication route for transmitting data in data communication between two data processing devices connected by a plurality of communication routes.

【0002】[0002]

【従来の技術】従来より、2台のコンピュータ間で大量
のデータを送受信するために、それらのコンピュータ間
に複数の通信経路を設け、同時並行的に2台のコンピュ
ータ間でデータを送受信するデータ通信方法がある。
2. Description of the Related Art Conventionally, in order to send and receive a large amount of data between two computers, a plurality of communication paths are provided between these computers and data is sent and received between the two computers in parallel at the same time. There is a communication method.

【0003】このデータ通信方法においては、データ送
信時に、どの通信経路から送信すべきかを選択する必要
がある。その選択方法として、各通信経路にその通信経
路を使用すべき業務処理を割当て、その業務処理で発生
したデータは必ず割り当てられた通信経路により送信す
るという方法がある。
In this data communication method, when transmitting data, it is necessary to select from which communication path the data should be transmitted. As a selection method, there is a method in which a business process that should use the communication route is assigned to each communication route, and the data generated in the business process is always transmitted through the assigned communication route.

【0004】この選択方法によれば、業務処理の種類ご
とに送受信するデータの量が異なる場合に、通信経路間
でデータ量のばらつきが生じ、通信効率が低下する。
According to this selection method, when the amount of data to be transmitted and received differs depending on the type of business process, the amount of data varies among the communication paths, and the communication efficiency decreases.

【0005】そのため、このような場合には、各通信経
路に業務処理を割り当てず、送信データが発生したとき
にフリー状態(空き状態)となっている通信経路を検出
し、そのフリー状態の通信経路を用いてデータ送信を行
う選択方法が採用される。
Therefore, in such a case, a business process is not assigned to each communication route, a communication route in a free state (empty state) is detected when transmission data is generated, and the communication in the free state is detected. A selection method of transmitting data using a route is adopted.

【0006】この選択方法において、各通信経路のビジ
ー状態(使用中の状態)およびフリー状態の判断は、各
通信経路ごとにビジー状態またはフリー状態を示す情報
を回線管理テーブルに格納し、データ送信時に回線管理
テーブルの各情報を順に検索することにより行われる。
In this selection method, the busy status (in-use status) and the free status of each communication path are determined by storing information indicating the busy status or the free status for each communication path in the line management table and transmitting the data. It is sometimes performed by sequentially searching each information in the line management table.

【0007】図4は、複数のデータ通信経路で接続され
た2台のコンピュータからなる従来のデータ通信システ
ムを示すブロック図である。図4を参照しながら従来の
データ通信システムにおける通信経路選択方法を説明す
る。
FIG. 4 is a block diagram showing a conventional data communication system including two computers connected by a plurality of data communication paths. A communication path selection method in the conventional data communication system will be described with reference to FIG.

【0008】図4において、コンピュータC100,C
200間は複数の通信経路L1,L2,…,Lnにより
接続される。コンピュータC100は、複数の通信経路
L1,L2,…,Lnにそれぞれ接続される複数の回線
制御部101,102,…,10n、回線管理テーブル
300および種々の業務処理を行うアプリケーションプ
ログラム400を含む。回線管理テーブル300には、
複数の通信経路L1,L2,…,Lnの使用状況をそれ
ぞれ示す複数の使用状況情報が格納される。
In FIG. 4, computers C100, C
The 200 are connected by a plurality of communication paths L1, L2, ..., Ln. The computer C100 includes a plurality of line control units 101, 102, ..., 10n respectively connected to the plurality of communication paths L1, L2, ..., Ln, a line management table 300, and an application program 400 for performing various business processes. In the line management table 300,
A plurality of usage status information indicating the usage statuses of the plurality of communication paths L1, L2, ..., Ln are stored.

【0009】コンピュータC200は、複数の通信経路
L1,L2,…,Lnにそれぞれ接続される複数の回線
制御部201,202,…,20nを含む。複数の回線
制御部201,202,…,20nにはそれぞれデータ
チェックプログラム501,502,…,50nが接続
される。
The computer C200 includes a plurality of line control units 201, 202, ..., 20n respectively connected to the plurality of communication paths L1, L2, ..., Ln. , 20n are connected to the plurality of line control units 201, 202, ..., 20n, respectively.

【0010】ここで、コンピュータC100からコンピ
ュータC200へのデータ送信を考える。アプリケーシ
ョンプログラム400は、送信データが発生すると、回
線管理テーブル300に格納された複数の使用状況情報
を先頭から順に検索し、フリー状態の通信経路を検出す
る。
Now, consider data transmission from the computer C100 to the computer C200. When the transmission data is generated, the application program 400 sequentially searches the plurality of pieces of usage status information stored in the line management table 300 from the beginning, and detects the communication path in the free state.

【0011】たとえば、通信経路L1,L2がビジー状
態で、通信経路L3がフリー状態の場合には、アプリケ
ーションプログラム400は回線制御部103に送信デ
ータを与える。回線制御部103は通信経路L3を介し
てコンピュータC200の回線制御部203にデータを
送出する。回線制御部203は受信したデータをデータ
チェックプログラム503に与える。データチェックプ
ログラム503は受け取ったデータをチェックし、それ
を対応するアプリケーションプログラム(図示せず)に
与える。
For example, when the communication paths L1 and L2 are busy and the communication path L3 is free, the application program 400 gives transmission data to the line controller 103. The line control unit 103 sends data to the line control unit 203 of the computer C200 via the communication path L3. The line control unit 203 gives the received data to the data check program 503. The data check program 503 checks the received data and gives it to the corresponding application program (not shown).

【0012】[0012]

【発明が解決しようとする課題】図4を用いて説明した
ように、従来の通信経路選択方法によれば、回線管理テ
ーブル300に格納された複数の使用状況情報が、先頭
に格納された使用状況情報を起点として順に検索され
る。
As described with reference to FIG. 4, according to the conventional communication route selection method, the plurality of pieces of usage status information stored in the line management table 300 are stored at the top. Situation information is used as a starting point to search sequentially.

【0013】そのため、回線管理テーブル300の先頭
に格納された使用状況情報に対応する通信経路の使用頻
度が、他の通信経路の使用頻度に比べて高くなる。その
結果、システム全体の通信効率が低下するという問題が
発生する。
Therefore, the frequency of use of the communication path corresponding to the use status information stored at the head of the line management table 300 becomes higher than the frequency of use of other communication paths. As a result, there arises a problem that the communication efficiency of the entire system is lowered.

【0014】特に、以下に説明するような送信リカバリ
ー処理が行なわれる場合に通信効率の低下は顕著とな
る。
In particular, when the transmission recovery process as described below is performed, the decrease in communication efficiency becomes remarkable.

【0015】ここで、図5を参照しながらデータチェッ
クプログラムに障害が発生した場合の送信リカバリー処
理を説明する。図5において、データチェックプログラ
ム50iに障害が発生したものとする。iは1〜nの任
意の整数を表す。
Here, the transmission recovery process when a failure occurs in the data check program will be described with reference to FIG. In FIG. 5, it is assumed that the data check program 50i has failed. i represents an arbitrary integer of 1 to n.

【0016】コンピュータC100内のアプリケーショ
ンプログラム400がデータD1を回線制御部10iに
与えると、回線制御部10iはコンピュータC200内
の回線制御部20iに問合せENQを送出する。回線制
御部20iから回線制御部10iに肯定応答ACK0が
与えられると、回線制御部10iはデータD1を回線制
御部20iに送出する。そして、回線制御部20iから
回線制御部10iに肯定応答ACK1が与えられると、
回線制御部10iは回線制御部20iに伝送終了EOT
を通知する。
When the application program 400 in the computer C100 gives the data D1 to the line controller 10i, the line controller 10i sends an inquiry ENQ to the line controller 20i in the computer C200. When the line control unit 20i gives a positive response ACK0 to the line control unit 10i, the line control unit 10i sends data D1 to the line control unit 20i. Then, when the line control unit 20i gives a positive response ACK1 to the line control unit 10i,
The line controller 10i informs the line controller 20i of the end of transmission EOT
To notify.

【0017】その後、回線制御部20iは受け取ったデ
ータD1をデータチェックプログラム50iに与える。
データチェックプログラム50iにおいて障害が発生し
ているので、データチェックプログラム50iから回線
制御部20iに不良応答NGが与えられる。
Thereafter, the line controller 20i gives the received data D1 to the data check program 50i.
Since a failure has occurred in the data check program 50i, the data check program 50i gives a failure response NG to the line controller 20i.

【0018】この場合、回線制御部20iは回線制御部
10iに問合せENQを与える。回線制御部10iから
回線制御部20iに肯定応答ACK0が与えられると、
回線制御部20iは回線制御部10iに不良応答NGを
送出する。回線制御部10iから回線制御部20iに肯
定応答ACK1が与えられると、回線制御部20iは回
線制御部10iに伝送終了EOTを通知する。
In this case, the line control unit 20i gives an inquiry ENQ to the line control unit 10i. When the line control unit 10i gives a positive response ACK0 to the line control unit 20i,
The line control unit 20i sends a failure response NG to the line control unit 10i. When the line control unit 10i gives an affirmative response ACK1 to the line control unit 20i, the line control unit 20i notifies the line control unit 10i of a transmission end EOT.

【0019】それにより、回線制御部10iはデータD
1をアプリケーションプログラム400に返送する。そ
こで、アプリケーションプログラム400は、データD
1を他の通信経路に迂回させる。他の通信経路に対応す
るデータチェックプログラムが正常であるならば、その
迂回処理によりデータD1がコンピュータC100から
コンピュータ200へ送信されることになる。
As a result, the line controller 10i causes the data D
1 is returned to the application program 400. Therefore, the application program 400 uses the data D
1 is diverted to another communication path. If the data check program corresponding to another communication path is normal, the data D1 is transmitted from the computer C100 to the computer 200 by the bypass processing.

【0020】上記の場合、データチェックプログラム5
0iに対応する通信経路Liは正常であるので、データ
D1は一旦回線制御部10iから通信経路Liを介して
回線制御部20iに送信され、回線制御部20iから回
線制御部10iに不良応答NGが返送された後、他の通
信経路に迂回される。そのため、データD1の送出から
不良応答NGの受信までの期間T1の間は、通信経路L
1はビジー状態となっている。そして、データD1がア
プリケーションプログラム400に返された後、通信経
路L1はフリー状態となる。
In the above case, the data check program 5
Since the communication path Li corresponding to 0i is normal, the data D1 is once transmitted from the line control unit 10i to the line control unit 20i via the communication path Li, and the line control unit 20i sends a bad response NG to the line control unit 10i. After being returned, it is diverted to another communication route. Therefore, during the period T1 from the transmission of the data D1 to the reception of the defective response NG, the communication path L
1 is busy. Then, after the data D1 is returned to the application program 400, the communication path L1 becomes free.

【0021】そして、次のデータD2もデータD1と同
様にして一旦回線制御部10iから回線制御部20iに
送出され、不良応答NGが返送された後、他の通信経路
に迂回される。このように、通信処理上は正常に終了す
るが業務処理上は異常となるような障害が発生した場合
には、図5に示したような送信リカバリー処理が行われ
る。
Then, the next data D2 is also sent from the line control unit 10i to the line control unit 20i in the same manner as the data D1. After the defective response NG is returned, it is diverted to another communication path. In this way, when a failure occurs that normally ends in communication processing but becomes abnormal in business processing, the transmission recovery processing as shown in FIG. 5 is performed.

【0022】特に、回線管理テーブル300の先頭に格
納される使用状況情報に対応する通信経路に関して、図
5に示したような業務処理上の異常が発生した場合に
は、送信リカバリー処理が頻発することになる。その結
果、通信システム全体の通信効率が非常に低くなるとい
う問題が発生する。
In particular, when an abnormality in business processing as shown in FIG. 5 occurs in the communication path corresponding to the usage status information stored at the head of the line management table 300, the transmission recovery processing frequently occurs. It will be. As a result, there arises a problem that the communication efficiency of the entire communication system becomes extremely low.

【0023】この発明の目的は、通信経路の使用率を均
等化し、通信効率を高めることができる通信経路選択装
置および通信経路選択方法を提供することである。
An object of the present invention is to provide a communication path selection device and a communication path selection method which can equalize the usage rate of communication paths and improve communication efficiency.

【0024】[0024]

【課題を解決するための手段】[Means for Solving the Problems]

(1) 第1の発明 第1の発明に係る通信経路選択装置は、使用状況格納手
段、検索起点格納手段、送信経路選択手段、および更新
手段を備える。
(1) First Invention A communication path selection device according to the first invention comprises a usage status storage means, a search start point storage means, a transmission path selection means, and an update means.

【0025】使用状況格納手段は、複数の通信経路の使
用状況をそれぞれ示す複数の使用状況情報を格納する。
検索起点格納手段は、使用状況格納手段に格納された複
数の使用状況情報の検索起点に関する情報を検索起点情
報として格納する。
The usage status storage means stores a plurality of usage status information respectively indicating usage statuses of a plurality of communication paths.
The search starting point storage means stores, as search starting point information, information regarding a search starting point of the plurality of usage status information stored in the usage status storage means.

【0026】送信経路選択手段は、データ送信時に、検
索起点格納手段に格納された検索起点情報に基づいて使
用状況格納手段に格納された各使用状況情報を順次検索
して使用可能な通信経路を検出し、最初に検出された通
信経路をデータを送信すべき通信経路として選択する。
更新手段は、各データ送信ごとに、検索起点格納手段に
格納される検索起点情報を更新する。
The transmission path selecting means sequentially searches the respective usage status information stored in the usage status storage means based on the search starting point information stored in the search starting point storage means during data transmission to find a usable communication path. The communication path detected and the first detected communication path is selected as the communication path to which the data should be transmitted.
The updating means updates the search starting point information stored in the search starting point storing means for each data transmission.

【0027】(2) 第2の発明 第2の発明に係る通信経路選択方法では、データ送信時
に、複数の通信経路のいずれかを起点として各通信経路
の使用状況を順次調査して使用可能な通信経路を検出す
る。そして、最初に検出された通信経路をデータを送信
すべき通信経路として選択する。各データ送信ごとに調
査の起点を更新する。
(2) Second Invention In the communication path selection method according to the second invention, it is possible to sequentially investigate the usage status of each communication path from any of the plurality of communication paths as a starting point when transmitting data. Detect the communication path. Then, the first detected communication path is selected as the communication path to which the data should be transmitted. The starting point of the survey is updated for each data transmission.

【0028】[0028]

【作用】[Action]

(1) 第1の発明 第1の発明に係る通信経路選択装置においては、データ
送信時に、検索起点格納手段内の検索起点情報に基づい
て使用状況格納手段内の各使用状況情報が順次検索さ
れ、使用可能な通信経路が検出される。そして、最初に
検出された通信経路によりデータ送信が行われる。
(1) First Invention In the communication route selection device according to the first invention, each usage status information in the usage status storage means is sequentially searched based on the search starting point information in the search starting point storage means at the time of data transmission. , Available communication paths are detected. Then, data transmission is performed through the communication path detected first.

【0029】検索起点情報が次回のデータ送信時の検索
起点を示す場合には、次回のデータ送信時にその検索起
点情報により示される検索起点から各使用状況情報が順
次検索され、データ送信後に、検索起点情報が更新され
る。
When the search starting point information indicates the search starting point at the time of the next data transmission, each usage status information is sequentially searched from the search starting point indicated by the search starting point information at the next data transmission, and the search is performed after the data transmission. The starting point information is updated.

【0030】検索起点情報が前回のデータ送信時の検索
起点を示す場合には、次回のデータ送信時には、その検
索起点情報を更新した後、更新された検索起点から各使
用状況情報が順次検索される。
When the search start point information indicates the search start point at the time of the previous data transmission, the next time the data is transmitted, the search start point information is updated, and then each usage status information is sequentially searched from the updated search start point. It

【0031】このように、検索起点格納手段に格納され
る検索起点情報が各データ送信ごとに更新されるので、
各通信経路の使用率が均等化され、通信効率が上昇す
る。
In this way, since the search starting point information stored in the search starting point storage means is updated for each data transmission,
The usage rate of each communication path is equalized, and the communication efficiency is increased.

【0032】(2) 第2の発明 第2の発明に係る通信経路選択方法においては、データ
送信時に、複数の通信経路のいずれかを起点として各通
信経路の使用状況情報が順次調査され、使用可能な通信
経路が検出される。そして、最初に検出された通信経路
によりデータが送信される。各データ送信ごとに調査の
起点が更新されるので、各通信経路の使用率が均等化さ
れ、通信効率が上昇する。
(2) Second Invention In the communication route selection method according to the second invention, the usage status information of each communication route is sequentially investigated from one of the plurality of communication routes as a starting point at the time of data transmission. Possible communication paths are detected. Then, the data is transmitted through the first detected communication path. Since the starting point of the survey is updated for each data transmission, the usage rates of the communication paths are equalized and the communication efficiency is increased.

【0033】[0033]

【実施例】図1は、この発明の一実施例による通信経路
選択装置の構成を示すブロック図である。
1 is a block diagram showing the structure of a communication path selecting apparatus according to an embodiment of the present invention.

【0034】図1において、コンピュータC1,C2間
は複数の通信回線L1,L2,…,Lnにより接続され
る。各通信経路は通信回線からなる。コンピュータC1
は、複数の経路制御部11,12,…,1n、複数の経
路管理テーブルP1,P2,…,Pn、送信経路選択部
20、検索起点経路格納部30、データ送信指示部40
およびアプリケーションプログラム50を含む。
In FIG. 1, the computers C1 and C2 are connected by a plurality of communication lines L1, L2, ..., Ln. Each communication path is composed of a communication line. Computer C1
, 1n, a plurality of route management tables P1, P2, ..., Pn, a transmission route selection unit 20, a search origin route storage unit 30, a data transmission instruction unit 40.
And an application program 50.

【0035】複数の経路制御部11,12,…,1nは
複数の通信経路L1,L2,…,Lnにそれぞれ対応し
て設けられる。同様に、複数の経路管理テーブルP1,
P2,…,Pnは複数の通信経路L1,L2,…,Ln
にそれぞれ対応して設けられる。
, 1n are provided corresponding to the respective communication routes L1, L2, ..., Ln. Similarly, a plurality of route management tables P1,
, Pn are plural communication paths L1, L2, ..., Ln
It is provided corresponding to each.

【0036】各経路管理テーブルには対応する通信経路
の使用状況を示す使用状況情報が格納される。使用状況
情報は、対応する通信経路がフリー状態(空き状態)で
あるかビジー状態(使用中の状態)であるかを示してい
る。たとえば、経路管理テーブルP1には通信経路L1
の使用状況情報が格納され、経路管理テーブルP2には
通信経路L2の使用状況情報が格納される。
Usage information indicating the usage status of the corresponding communication path is stored in each path management table. The usage status information indicates whether the corresponding communication path is free (empty) or busy (in use). For example, the route management table P1 has a communication route L1.
Of the communication route L2 is stored in the route management table P2.

【0037】検索起点経路格納部30には経路管理テー
ブルP1〜Pnの検索起点を示す検索起点経路番号が格
納される。送信経路選択部20は、検索起点経路格納部
30に格納される検索起点経路番号に対応する経路管理
テーブルを起点として、経路管理テーブルP1〜Pnに
格納される使用状況情報を順次検索し、データ送信に使
用すべき通信経路を選択する。また、送信経路選択部2
0は、各データ送信ごとに検索起点経路格納部30に格
納される検索起点経路番号を更新する。
The search starting point route storage unit 30 stores the search starting point route number indicating the search starting point of the route management tables P1 to Pn. The transmission route selection unit 20 sequentially searches the usage status information stored in the route management tables P1 to Pn starting from the route management table corresponding to the search origin route number stored in the search origin route storage unit 30 to obtain the data. Select the communication path to be used for transmission. Also, the transmission path selection unit 2
0 updates the search origin route number stored in the search origin route storage unit 30 for each data transmission.

【0038】データ送信指示部40はそれぞれバッファ
B1,B2,…,Bnを介して経路制御部11,12,
…,1nに接続される。データ送信指示部40は、アプ
リケーションプログラム50で発生した送信データを、
送信経路選択部20により選択された経路制御部に与え
る。
The data transmission instructing section 40 passes through the buffers B1, B2, ...
..., connected to 1n. The data transmission instructing unit 40 sends the transmission data generated by the application program 50 to
It is given to the route control unit selected by the transmission route selection unit 20.

【0039】各経路制御部は、対応する通信経路に関す
るデータ送信を制御し、データ送信指示部40から与え
られた送信データを対応する通信経路に送出し、かつ対
応する通信経路の使用状況に応じて対応する経路管理テ
ーブルの使用状況情報を更新する。
Each path control unit controls data transmission relating to the corresponding communication path, sends the transmission data given from the data transmission instructing section 40 to the corresponding communication path, and depending on the usage status of the corresponding communication path. And updates the usage information of the corresponding route management table.

【0040】たとえば、経路制御部11は、データ送信
指示部40から送信データを受け取ると、通信経路L1
にそのデータを送出し、経路管理テーブルP1に格納さ
れる使用状況情報を「ビジー状態」に設定する。そし
て、データ送信が終了すると、経路管理テーブルP1に
格納される使用状況情報を「フリー状態」に設定する。
For example, when the route control unit 11 receives the transmission data from the data transmission instructing unit 40, the communication route L1
Then, the data is sent to and the use status information stored in the route management table P1 is set to the "busy state". When the data transmission is completed, the usage status information stored in the path management table P1 is set to the "free state".

【0041】次に、図2のフローチャートを参照しなが
ら図1の通信経路選択装置の動作を説明する。ここで、
通信経路L1〜Lnの経路番号をそれぞれ1〜nとす
る。この場合、最大経路番号はnである。
Next, the operation of the communication path selection device of FIG. 1 will be described with reference to the flowchart of FIG. here,
The path numbers of the communication paths L1 to Ln are set to 1 to n, respectively. In this case, the maximum route number is n.

【0042】送信データ発生待ちの状態(ステップS
1)で、アプリケーションプログラム50において送信
データが発生すると、送信経路選択部20は、検索起点
経路格納部30から検索起点経路番号を取り込む(ステ
ップS2)。
Waiting for transmission data generation (step S
In 1), when transmission data is generated in the application program 50, the transmission route selection unit 20 fetches the search origin route number from the search origin route storage unit 30 (step S2).

【0043】そして、送信経路選択部20はその経路番
号に対応する経路管理テーブルの使用状況情報を検索
し、その経路番号に対応する通信経路がビジー状態であ
るかフリー状態であるかを検出する(ステップS3)。
Then, the transmission route selection unit 20 searches the usage information of the route management table corresponding to the route number and detects whether the communication route corresponding to the route number is busy or free. (Step S3).

【0044】その通信経路がビジー状態の場合には、経
路番号を1増分する(ステップS4)。増分された経路
番号が最大経路番号n以下の場合にはステップS3に戻
る(ステップS5)。また、増分された経路番号が最大
経路番号nよりも大きい場合には、経路番号を1として
ステップS3に戻る(ステップS5,S6)。
If the communication route is busy, the route number is incremented by 1 (step S4). If the incremented route number is less than or equal to the maximum route number n, the process returns to step S3 (step S5). If the incremented route number is larger than the maximum route number n, the route number is set to 1 and the process returns to step S3 (steps S5 and S6).

【0045】ステップS3において、その経路番号に対
応する通信経路がフリー状態の場合には、送信経路選択
部20はその通信経路をデータ送信経路と決定し、その
通信経路に対応する経路制御部にデータを与えるように
データ送信指示部40に指示する(ステップS7)。デ
ータ送信指示部40は該当する経路制御部に送信データ
を与え、その経路制御部は対応する通信経路に送信デー
タを送出する。このようにして、データが送信される。
In step S3, when the communication route corresponding to the route number is in the free state, the transmission route selection unit 20 determines the communication route as the data transmission route, and the route control unit corresponding to the communication route is determined. The data transmission instructing unit 40 is instructed to give the data (step S7). The data transmission instruction unit 40 gives the transmission data to the corresponding route control unit, and the route control unit sends the transmission data to the corresponding communication route. In this way, the data is transmitted.

【0046】その後、送信経路選択部20は、検索起点
経路格納部30に格納される検索起点経路番号を1増分
する(ステップS8)。そして、検索起点経路番号が最
大経路番号n以下の場合には、ステップS1に戻る(ス
テップS9)。また、検索起点経路番号が最大経路番号
nよりも大きい場合には、検索起点経路番号を1として
ステップS1に戻る(ステップS9,S10)。
Thereafter, the transmission route selection unit 20 increments the search starting route number stored in the search starting route storage unit 1 by 1 (step S8). If the search start route number is less than or equal to the maximum route number n, the process returns to step S1 (step S9). If the search start route number is larger than the maximum route number n, the search start route number is set to 1 and the process returns to step S1 (steps S9 and S10).

【0047】図3は、経路管理テーブルの検索順序を示
す図である。1回目のデータ送信前には、検索起点経路
格納部30に格納される検索起点経路番号は1に設定さ
れている。したがって、1回目のデータ送信時には、経
路管理テーブルP1を起点として、フリー状態の通信経
路が検出されるまで、経路管理テーブルP1〜Pnの使
用状況情報が順に検索される。そして、1回目のデータ
送信後に、検索起点経路格納部30に格納される検索起
点経路番号が2に更新される。
FIG. 3 is a diagram showing the search order of the route management table. Before the first data transmission, the search start route number stored in the search start route storage unit 30 is set to 1. Therefore, at the time of the first data transmission, the use status information of the route management tables P1 to Pn is sequentially searched from the route management table P1 as a starting point until a free communication route is detected. Then, after the first data transmission, the search origin route number stored in the search origin route storage unit 30 is updated to 2.

【0048】2回目のデータ送信時には、検索起点経路
番号が2となっているので、経路管理テーブルP2を起
点として経路管理テーブルP2〜Pnの使用状況情報が
順に検索され、最後に経路管理テーブルP1の使用状況
情報が検索される。2回目のデータ送信後に、検索起点
経路格納部30に格納される検索起点経路番号が3に更
新される。
At the time of the second data transmission, since the search starting route number is 2, the use status information of the route management tables P2 to Pn is sequentially searched from the route management table P2 as a starting point, and finally the route management table P1. The usage information of is retrieved. After the second data transmission, the search start route number stored in the search start route storage unit 30 is updated to 3.

【0049】3回目のデータ送信時には、検索起点経路
番号が3となっているので、経路管理テーブルP3を起
点として経路管理テーブルP3〜Pnの使用状況情報が
順に検索され、さらに経路管理テーブルP1,P2の使
用状況情報が順に検索される。3回目のデータ送信後
に、検索起点経路格納部30に格納される検索起点経路
番号が4に更新される。
At the time of the third data transmission, the search starting route number is 3, so that the use status information of the route management tables P3 to Pn is sequentially searched from the route management table P3 as a starting point, and the route management table P1, The usage status information of P2 is sequentially searched. After the third data transmission, the search start route number stored in the search start route storage unit 30 is updated to 4.

【0050】以下同様にしてn回目のデータ送信時に
は、検索起点経路番号がnとなっているので、経路管理
テーブルPnの使用状況情報が最初に検索され、さらに
経路管理テーブルP1に戻って使用状況情報が順に検索
される。
Similarly, at the time of the nth data transmission, since the search starting route number is n, the usage status information of the routing management table Pn is searched first, and then the usage status information is returned to the routing management table P1. The information is retrieved in order.

【0051】このように、上記実施例では、検索起点経
路格納部30に格納される検索起点経路番号により示さ
れる通信経路を起点として、フリー状態となっている通
信経路が検出されるまで、経路管理テーブルに格納され
る使用状況情報が順次検索される。そして、最初に検出
されたフリー状態の通信経路によりデータが送信され、
データの送信後に、検索起点経路格納部30に格納され
る検索起点経路番号が更新される。
As described above, in the above embodiment, the route starting from the communication route indicated by the search starting route number stored in the search starting route storing unit 30 is used until the communication route in the free state is detected. The usage information stored in the management table is sequentially searched. Then, the data is transmitted by the first detected free communication path,
After the data is transmitted, the search starting point route number stored in the search starting point route storage unit 30 is updated.

【0052】なお、上記実施例では、検索起点経路格納
部30に格納される検索起点経路番号が次のデータ送信
時に検索起点となる通信経路の番号を示しているが、検
索起点経路格納部30に格納される検索起点経路番号が
前のデータ送信時に検索起点となった通信経路を示して
いる場合には、次のデータ送信前に検索起点経路番号を
更新する必要がある。
In the above embodiment, the search origin route number stored in the search origin route storage unit 30 indicates the number of the communication route serving as the search origin when the next data is transmitted. If the search origin route number stored in the above indicates the communication route that was the search origin at the time of the previous data transmission, the search origin route number must be updated before the next data transmission.

【0053】[0053]

【発明の効果】以上のようにこの発明によれば、各デー
タ送信ごとに検索または調査の起点が更新されるので、
通信経路の使用率が均等されて通信効率が高くなる。
As described above, according to the present invention, the starting point of the search or survey is updated for each data transmission.
The usage rates of the communication paths are equalized and the communication efficiency is improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の一実施例による通信経路選択装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a communication path selection device according to an embodiment of the present invention.

【図2】図1の通信経路選択装置の動作を説明するため
のフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the communication route selection device in FIG.

【図3】図1の通信経路選択装置における経路管理テー
ブルの検索順序を示す図である。
3 is a diagram showing a search order of a route management table in the communication route selection device of FIG.

【図4】従来のデータ通信システムの構成を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a configuration of a conventional data communication system.

【図5】送信リカバリー処理を説明するための図であ
る。
FIG. 5 is a diagram for explaining a transmission recovery process.

【符号の説明】[Explanation of symbols]

C1,C2 コンピュータ 11,12,1n 経路制御部 20 送信経路選択部 30 検索起点経路格納部 40 データ送信指示部 50 アプリケーションプログラム L1,L2,Ln 通信経路 P1,P2,Pn 経路管理テーブル B1,B2,Bn バッファ なお、各図中同一符号は同一または相当部分を示す。 C1, C2 Computers 11, 12, 1n Route control unit 20 Transmission route selection unit 30 Search origin route storage unit 40 Data transmission instruction unit 50 Application program L1, L2, Ln Communication route P1, P2, Pn Route management table B1, B2 Bn buffer In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数の通信経路で接続された2つデータ処
理装置間のデータ通信においてデータを送信すべき通信
経路を選択する通信経路選択装置であって、 前記複数の通信経路の使用状況をそれぞれ示す複数の使
用状況情報を格納する使用状況格納手段と、 前記使用状況格納手段に格納された前記複数の使用状況
情報の検索起点に関する情報を検索起点情報として格納
する検索起点格納手段と、 データ送信時に、前記検索起点格納手段に格納された前
記検索起点情報に基づいて前記使用状況格納手段に格納
された各使用状況情報を順次検索して使用可能な通信経
路を検出し、最初に検出された通信経路を前記データを
送信すべき通信経路として選択する送信経路選択手段
と、 各データ送信ごとに、前記検索起点格納手段に格納され
る前記検索起点情報を更新する更新手段とを備えた、通
信経路選択装置。
1. A communication path selection device for selecting a communication path to which data is to be transmitted in data communication between two data processing devices connected by a plurality of communication paths, the usage status of the plurality of communication paths being determined. A usage status storage unit that stores a plurality of usage status information items, respectively, a search starting point storage unit that stores information related to a search starting point of the plurality of usage status information stored in the usage status storage unit as search starting point information, and data. At the time of transmission, based on the search starting point information stored in the search starting point storage means, each usage status information stored in the usage status storage means is sequentially searched to detect a usable communication path, and first detected. Transmission path selecting means for selecting a communication path as the communication path to which the data is to be transmitted, and the detection path stored in the search starting point storage means for each data transmission. A communication path selecting device, comprising: an updating unit that updates the search origin information.
【請求項2】複数の通信経路で接続された2つのデータ
処理装置間のデータ通信においてデータを送信すべき通
信経路を選択する通信経路選択方法であって、 データ送信時に、前記複数の通信経路のいずれかを起点
として各通信経路の使用状況を順次調査して使用可能な
通信経路を検出し、 最初に検出された通信経路を前記データを送信すべき通
信経路として選択し、 各データ送信ごとに前記調査の起点を更新する、通信経
路選択方法。
2. A communication path selecting method for selecting a communication path to which data should be transmitted in data communication between two data processing devices connected by a plurality of communication paths, wherein the plurality of communication paths are selected at the time of data transmission. Starting from either of the above, the usage status of each communication route is sequentially investigated to detect available communication routes, and the first detected communication route is selected as the communication route to which the data should be transmitted. A method for selecting a communication path, wherein the starting point of the investigation is updated.
JP5107521A 1993-04-09 1993-04-09 Communication route selector and its method Pending JPH06301606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5107521A JPH06301606A (en) 1993-04-09 1993-04-09 Communication route selector and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5107521A JPH06301606A (en) 1993-04-09 1993-04-09 Communication route selector and its method

Publications (1)

Publication Number Publication Date
JPH06301606A true JPH06301606A (en) 1994-10-28

Family

ID=14461307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5107521A Pending JPH06301606A (en) 1993-04-09 1993-04-09 Communication route selector and its method

Country Status (1)

Country Link
JP (1) JPH06301606A (en)

Similar Documents

Publication Publication Date Title
US5655075A (en) Protocol method for validating an input protocol specification
JPH07183898A (en) Method for recovering predetermined order for cell style of asymmetric order in atm exchange technology
JPH07162443A (en) Data distribution method with data train
CN104604191B (en) Communication equipment, communication system, the method for determining path
JPH06301606A (en) Communication route selector and its method
JP5310735B2 (en) Packet transfer device, inter-processor communication system, parallel processor system, and packet transfer method
JPH05143242A (en) Magnetic disk system
JP2001008366A (en) Monitoring control system
JP3291328B2 (en) Monitoring device
CN114124790B (en) Data transmission method and device based on directed acyclic graph and electronic equipment
US6801498B1 (en) Asynchronous transfer mode communication equipment and method for switching virtual path of same
JPH05136825A (en) Bypass route search device and bypass route search system
JPH0697940A (en) Lan connection processor
JP2732775B2 (en) Communication line switching control device and communication line switching control method
JP2000183997A (en) System and method for transmitting and receiving data and recording medium
JPH07202943A (en) Network interface selecting system
JPH03175844A (en) Packet switching system
JP2978648B2 (en) Optimal route determination method for network system
JP2755998B2 (en) Data transfer device
JPH06332753A (en) Classification change detection system for mounted package
JPH0115237B2 (en)
JPH056284A (en) Error control system
JPH01159740A (en) Duplex computer system
JPH11194978A (en) Priority control system for transmission data
JP2001197112A (en) Information transmitter and route updating method to be used therefor