JPH06125348A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH06125348A
JPH06125348A JP27437892A JP27437892A JPH06125348A JP H06125348 A JPH06125348 A JP H06125348A JP 27437892 A JP27437892 A JP 27437892A JP 27437892 A JP27437892 A JP 27437892A JP H06125348 A JPH06125348 A JP H06125348A
Authority
JP
Japan
Prior art keywords
communication
line
connection request
line connection
request
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
JP27437892A
Other languages
Japanese (ja)
Inventor
Riyuu Hazama
流 狭間
Hiroki Ito
博樹 伊藤
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP27437892A priority Critical patent/JPH06125348A/en
Publication of JPH06125348A publication Critical patent/JPH06125348A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need for recognition of an address of communication destination by communicating a communication frame representing a connection request return when a logic port number and a line connection request key name are coincident. CONSTITUTION:When line connection is awaited, a service request means 1 makes a request of line connection comprising at least a logic port number, a line connection wait and a key name representing the line connection wait and stores information in a line connection buffer 2. A communication station going to make communication uses a broadcast means 3 to broadcast a communication frame representing a communication connection request on a communication line. The communication station of an opposite party receives a communication frame and a discrimination means 4 discriminates the coincidence between a line connection request key name and a logic port number stored in its own buffer means 2. When they are coincident with each other, a connection request means 5 sends a station address and a broadcast means permits a connection request and the communication is started. Then the line is connected without being conscious of the address of the opposite party.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マルチドロップ方式の
通信回線(ローカルエリアネットワーク:LAN)に接
続された複数の通信ステーションの間で通信を行うため
の通信システムにおいて、通信を行おうとする通信ステ
ーションが相手の通信ステーションのアドレスを意識せ
ずに通信できるようにした通信制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system for communicating between a plurality of communication stations connected to a multi-drop type communication line (local area network: LAN). The present invention relates to a communication control device that enables a station to communicate without being aware of the address of the other communication station.

【0002】[0002]

【従来の技術】従来、マルチドロップ方式の通信回線に
接続された複数の通信ステーションの間で通信を行おう
とする場合、以下の手法があった。 (a)相手の通信先ステーションに割り付けられている
アドレスを指定して送受信を実行する。 (b)2つの通信ステーションの間で、論理回線を確立
して送受信を実行する。
2. Description of the Related Art Conventionally, there have been the following methods for communication between a plurality of communication stations connected to a multi-drop communication line. (A) The transmission / reception is executed by designating the address assigned to the communication destination station of the other party. (B) A logical line is established between two communication stations to execute transmission / reception.

【0003】ここで、論理回線の確立の仕方としては、
相手通信ステーションで、回線結合のためのリッスン
(Listen)を行っておき、もう一方の通信ステーション
からリッスンしている相手通信ステーションに対して、
コネクション(Connection)要求を行うことで実現する
ようにしている。
Here, as a method of establishing a logical line,
At the partner communication station, a listening (Listen) for line connection is performed, and the other communication station is listening to the partner communication station.
It is realized by making a connection request.

【0004】[0004]

【発明が解決しようとする課題】ところで、このような
仕方による通信制御装置は、いずれも相手の通信ステー
ションを意識する必要がある。この為に、通信ステーシ
ョンを分散配置して通信システムを構築する場合におい
て、通信回線に結合する相手の通信ステーションを頻繁
に変更したり、一つに定まらなかったりする場合、柔軟
に対応することができないという課題があった。
By the way, in any communication control device according to such a method, it is necessary to be aware of the communication station of the other party. Therefore, in the case of constructing a communication system by arranging communication stations in a distributed manner, it is possible to flexibly deal with the case where the communication station of the other party to be coupled to the communication line is frequently changed or not determined. There was a problem that I could not do it.

【0005】本発明は、この様な点に鑑みてなされたも
ので、マルチドロップ方式の通信回線に接続された複数
の通信ステーションの間で通信を行う通信システムにお
いて、論理回線を確立するための通信をブロードキャス
トを行って実現できるようにし、通信先のアドレスを意
識せずに通信が行えるようにした通信制御装置を提供す
ることを目的とする。
The present invention has been made in view of the above circumstances, and is for establishing a logical line in a communication system for communicating between a plurality of communication stations connected to a multi-drop type communication line. An object of the present invention is to provide a communication control device that enables communication to be realized by broadcasting and allows communication without being aware of the address of the communication destination.

【0006】[0006]

【課題を解決するための手段】このような目的を達成す
る本発明は、マルチドロップ方式の通信回線に接続され
た複数の通信ステーションの間で通信を行う通信システ
ムにおいて、各通信ステーションに、回線の接続を待つ
場合、少なくとも論理ポート番号と、回線接続待ちを示
すキー名と、回線接続要求を示すキー名とからなる回線
接続待ち要求を出力し、回線接続を能動的に行う場合、
少なくとも論理ポート番号と、回線接続待ちを示すキー
名と、回線接続要求を示すキー名とからなる回線接続要
求を出力するサービス要求手段と、このサービス要求手
段からの要求を受け当該要求に含まれる情報を格納する
回線接続制御バッファ手段と、サービス要求手段からの
回線接続要求に基づき、論理ポート番号と回線接続要求
キー名とを含む回線接続要求を示す通信フレームを通信
回線上にブロードキャストする第1のブロードキャスト
手段と、通信回線を介して送られてくる回線接続要求を
示す通信フレームを受信し、当該通信フレームに含まれ
る論理ポート番号と回線接続要求キー名が前記自身の回
線接続制御バッファ手段に格納されている論理ポート番
号と回線接続要求キー名に一致しているか判断する判断
手段と、この判断手段において論理ポート番号と回線接
続要求キー名が一致していると判断された場合、少なく
とも自分のステーションアドレスと論理ポート番号と回
線接続待ちを示すキー名とを含む接続要求返信を示す通
信フレームを通信回線上に送出する接続要求返信手段
と、通信回線を介して返信された接続要求返信を示す通
信フレームを受信し当該通信フレームに含まれる回線接
続待ちを示すキー名が一致するのを一つ選択し、選択し
た相手ステーションアドレスを含む接続要求許可を示す
通信フレームを通信回線上にブロードキャストする第2
のブロードキャスト手段と、通信回線を介して回線接続
要求許可を示す通信フレームを受信し当該通信フレーム
に含まれる選択ステーションアドレスが自身のステーシ
ョンアドレスである場合、接続許可に対する返信を示す
通信フレームを通信回線上に送出する接続許可返信手段
とを備えて構成される通信制御装置である。
SUMMARY OF THE INVENTION The present invention which achieves such an object is, in a communication system for communicating between a plurality of communication stations connected to a multi-drop type communication line, a line to each communication station. When waiting for connection, the line connection wait request consisting of at least the logical port number, the key name indicating the line connection wait, and the key name indicating the line connection request is output, and the line connection is actively performed.
Service request means for outputting a line connection request consisting of at least a logical port number, a key name indicating a line connection wait, and a key name indicating a line connection request, and a request received from the service request means and included in the request. A line connection control buffer means for storing information and a communication frame showing a line connection request including a logical port number and a line connection request key name based on the line connection request from the service requesting means. And a communication frame indicating a line connection request sent via a communication line, and the logical port number and the line connection request key name included in the communication frame are stored in the own line connection control buffer means. Judgment means to judge whether the stored logical port number matches the line connection request key name, and this judgment When it is determined that the logical port number and the line connection request key name match in the step, a communication frame indicating a connection request reply including at least the station address of itself, the logical port number, and the key name indicating the line connection waiting is displayed. One that matches the connection request replying means that is sent out on the communication line and the key name that indicates the line connection wait included in the communication frame that received the communication frame indicating the connection request reply returned via the communication line Second broadcasting of a communication frame indicating the connection request permission including the selected partner station address selected on the communication line
When the communication frame indicating the line connection request permission is received via the broadcast means and the communication station and the selected station address included in the communication frame is its own station address, the communication frame indicating the response to the connection permission is transmitted. It is a communication control device configured to include a connection permission reply means for sending out on a line.

【0007】[0007]

【作用】通信を行おうとする通信ステーションは、はじ
めに第1のブロードキャスト手段により、通信接続要求
を示す通信フレームを通信回線上にブロードキャストす
る。一方、回線の接続を待つ側の通信ステーションは、
通信回線上にブロードキャストされた通信接続要求を示
す通信フレームを受信し、論理ポート番号と回線接続要
求キー名が一致している場合、少なくとも自分のステー
ションアドレスと論理ポート番号と回線接続待ちを示す
キー名とを含む接続要求返信を示す通信フレームを通信
を行おうとする通信ステーション宛に返信する。
The communication station attempting to communicate first broadcasts the communication frame indicating the communication connection request on the communication line by the first broadcasting means. On the other hand, the communication station waiting for the line connection
When a communication frame showing a communication connection request broadcast on a communication line is received and the logical port number and the line connection request key name match, at least the station address, logical port number, and line connection waiting key. A communication frame indicating a connection request reply including a name and the like is returned to the communication station that is going to communicate.

【0008】通信を行おうとする通信ステーションは、
この様な接続要求返信を示す通信フレームを1以上受信
するが、そのうちでキー名がサービス要求手段より要求
されているキー名と一致するものを一つ選択し、接続す
べきステーションが選択されたことを第2のブロードキ
ャスト手段によりブロードキャストする。選択された通
信ステーションは、ブロードキャストされた接続要求許
可を示す通信フレームを受け、これに対する接続許可返
信を示す通信フレームの送出を行い論理回線の接続を完
了する。
The communication station trying to communicate is
One or more communication frames indicating such a connection request reply are received, and one of them whose key name matches the key name requested by the service request means is selected, and the station to be connected is selected. This is broadcast by the second broadcast means. The selected communication station receives the broadcasted communication frame indicating the connection request permission, sends out the communication frame indicating the connection permission reply, and completes the connection of the logical line.

【0009】これにより、通信を行おうとする通信ステ
ーションは、回線の接続時にはじめに送信先(相手先)
のステーションアドレスを意識する必要がなくなる。
As a result, the communication station attempting to perform communication first receives the transmission destination (destination) when the line is connected.
It becomes unnecessary to be aware of the station address of.

【0010】[0010]

【実施例】以下図面を用いて本発明の実施例を詳細に説
明する。図1は本発明の一実施例を示す構成概念図であ
る。図において、BSはマルチドロップ方式の通信回線
(ローカルエリアネットワーク;LAN)、ST1,S
T2…は通信バスBSに分散配置するように接続された
複数の通信ステーションで、マルチドロップ方式の通信
回線BSに対するインターフェース機能を果たすバスイ
ンターフェース11を有している。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a conceptual diagram showing the construction of an embodiment of the present invention. In the figure, BS is a multi-drop communication line (local area network; LAN), ST1, S
T2 ... are a plurality of communication stations connected to the communication bus BS so as to be distributed and have a bus interface 11 that functions as an interface to the communication line BS of the multi-drop system.

【0011】各通信ステーションST1,ST2…にお
いて、1は各種のアプリケーションにより通信を必要と
するタスクを総括して示すサービス要求手段で、回線の
接続を待つ場合、少なくとも論理ポート番号と、回線接
続待ちを示すキー名と、回線接続要求を示すキー名とか
らなる回線接続待ち要求を出力し、回線接続を能動的に
行う場合、少なくとも論理ポート番号と、回線接続待ち
を示すキー名と、回線接続要求を示すキー名とからなる
回線接続要求を出力するようになっている。
In each of the communication stations ST1, ST2, ..., 1 is a service requesting means which collectively indicates the tasks requiring communication by various applications. When waiting for line connection, at least the logical port number and line connection wait When a line connection waiting request consisting of a key name indicating the line connection request and a key name indicating the line connection request is output and the line connection is actively performed, at least the logical port number, the key name indicating the line connection wait, and the line connection A line connection request consisting of a key name indicating the request is output.

【0012】2は回線接続制御バッファ手段で、サービ
ス要求手段1からの要求信号を受け、それらの各要求に
含まれる各情報(論理ポート番号と、回線接続待ちを示
すキー名と、回線接続要求を示すキー名等)を格納す
る。3は第1のブロードキャスト手段で、サービス要求
手段1からの回線接続要求に基づき、論理ポート番号と
回線接続要求キー名とを含む回線接続要求を示す通信フ
レームを、通信回線BS上にブロードキャストするよう
に構成してある。
A line connection control buffer means 2 receives a request signal from the service request means 1 and receives each information (logical port number, key name indicating line connection waiting, and line connection request) contained in each request. Key name indicating) is stored. Reference numeral 3 is a first broadcast means for broadcasting a communication frame indicating a line connection request including a logical port number and a line connection request key name on the communication line BS based on the line connection request from the service request means 1. Is configured.

【0013】4は判断手段で、通信回線BSを介して第
1のブロードキャスト手段から送られてくる回線接続要
求を示す通信フレームを受信し、その通信フレームに含
まれる論理ポート番号と回線接続要求キー名が、自身の
回線接続制御バッファ手段2に格納されている論理ポー
ト番号と回線接続要求キー名に一致しているか判断する
ものである。
Reference numeral 4 is a judging means, which receives a communication frame indicating a line connection request sent from the first broadcasting means via the communication line BS, and a logical port number and a line connection request key included in the communication frame. It is to judge whether the name matches the logical port number stored in the line connection control buffer means 2 of itself and the line connection request key name.

【0014】5は接続要求返信手段で、判断手段4にお
いて論理ポート番号と回線接続要求キー名が一致してい
ると判断された場合、少なくとも自分のステーションア
ドレスと論理ポート番号と回線接続待ちを示すキー名と
を含む接続要求返信を示す通信フレームを通信回線BS
上に送出する。6は第2のブロードキャスト手段で、通
信回線BSを介して返信された接続要求返信を示す通信
フレームを受信し、その通信フレームに含まれる回線接
続待ちを示すキー名が一致するのを一つ選択し、選択し
た相手ステーションアドレスを含む接続要求許可を示す
通信フレームを通信回線BS上にブロードキャストする
様に構成してある。
Reference numeral 5 denotes a connection request returning means, which indicates at least its own station address, logical port number, and line connection waiting when the judgment means 4 judges that the logical port number and the line connection request key name match. A communication frame indicating a connection request reply including a key name and a communication line BS
Send to the top. Reference numeral 6 denotes a second broadcasting means, which receives a communication frame indicating a connection request reply returned via the communication line BS, and selects one key name matching the line connection waiting included in the communication frame. Then, the communication frame indicating the connection request permission including the selected partner station address is broadcast on the communication line BS.

【0015】7は接続許可返信手段で、通信回線BSを
介して回線接続要求許可を示す通信フレームを受信し、
その通信フレームに含まれる選択ステーションアドレス
が自身のステーションアドレスである場合、接続許可に
対する返信を示す通信フレームを通信回線BS上に送出
するようになっている。ここで、前述した第1,第2の
ブロードキャスト手段3,6、判断手段4、接続要求返
信手段5、接続許可返信手段7は、論理回線の接続制御
を行うためのプログラム(論理回線制御タスク)8によ
って実現可能である。
Reference numeral 7 is a connection permission reply means, which receives a communication frame indicating permission of a line connection request via the communication line BS,
When the selected station address included in the communication frame is its own station address, a communication frame indicating a reply to the connection permission is sent to the communication line BS. Here, the above-mentioned first and second broadcasting means 3 and 6, the judging means 4, the connection request returning means 5 and the connection permission returning means 7 are programs for controlling the connection of the logical line (logical line control task). It can be realized by 8.

【0016】図2は、回線接続制御バッファ手段2の構
成概念図である。21は回線接続要求時に利用される回
線接続要求制御バッファ、22は回線接続待ち要求時に
利用される回線接続待ち制御バッファで、これらはいず
れも同様の構成となっており、論理回線制御タスク8に
より管理される。なお、ここでは、回線接続要求制御バ
ッファ21側についてのみその構成を示す。
FIG. 2 is a structural conceptual diagram of the line connection control buffer means 2. Reference numeral 21 is a line connection request control buffer used when a line connection request is made, and 22 is a line connection waiting control buffer used when a line connection wait request is made. Managed. Here, the configuration is shown only on the line connection request control buffer 21 side.

【0017】この回線接続要求制御バッファ21の内部
は、論理ポート番号♯1〜♯Nごとに管理される論理ポ
ート制御バッファ20で構成される。さらに、各論理ポ
ート制御バッファ20の中には、回線接続要求ごとに回
線♯1〜♯Nで管理される複数の回線制御バッファ23
が設けられる。図3は、各論理ポート制御バッファ内の
構成概念図である。
The inside of the line connection request control buffer 21 is composed of a logical port control buffer 20 managed for each logical port number # 1 to #N. Further, in each logical port control buffer 20, a plurality of line control buffers 23 managed by the lines # 1 to #N are provided for each line connection request.
Is provided. FIG. 3 is a conceptual diagram of the configuration in each logical port control buffer.

【0018】論理ポート制御バッファ20のヘッダに
は、論理ポート番号、接続処理中の制御バッファリス
ト、接続完了制御バッファリストの格納領域が設けてあ
る。ここで、回線接続要求ごとに作られる回線制御バッ
ファ内には、回線接続要求キー名、回線接続待ちキー
名、相手ステーションアドレスの格納領域が設けてあ
る。図4は、通信回線BS上に送出される通信フレーム
(通信パケット)の構成図(フォーマット)である。こ
の通信フレームは、論理回線制御タスク8からの信号に
基づいて、バスインターフェース11によって作成され
るものとする。
The header of the logical port control buffer 20 is provided with a storage area for a logical port number, a control buffer list during connection processing, and a connection completion control buffer list. Here, a storage area for a line connection request key name, a line connection waiting key name, and a partner station address is provided in the line control buffer created for each line connection request. FIG. 4 is a configuration diagram (format) of a communication frame (communication packet) transmitted on the communication line BS. It is assumed that this communication frame is created by the bus interface 11 based on the signal from the logical line control task 8.

【0019】ここで、31はその通信フレームの種類
(タイプ)をセットするエリア(領域)であり、本発明
において関係している回線接続制御のための通信フレー
ムのタイプとしては、以下のものが用意されている。 接続要求通知;接続要求があったことを全通信ステーシ
ョンに通知するための通信フレームで、第1のブロード
キャスト手段3から送出される。
Reference numeral 31 is an area (area) in which the type of communication frame is set. The types of communication frame for line connection control related to the present invention are as follows. It is prepared. Connection request notification: a communication frame for notifying all communication stations that a connection request has been made, and is sent from the first broadcasting means 3.

【0020】接続要求返信;接続要求に対する接続待ち
があることを返信する通信フレームで、接続要求返信手
段5から送出される。 接続許可通知;接続要求が選択され、許可されたことを
全通信ステーションに通知する通信フレームで、第2の
ブロードキャスト手段6から送出される。
Connection request reply: a communication frame for replying that there is a connection wait for the connection request, which is sent from the connection request reply means 5. Connection permission notification: A communication frame for notifying all communication stations that the connection request has been selected and has been permitted, and is transmitted from the second broadcasting means 6.

【0021】接続許可返信;接続許可に対する確認通知
のための通信フレームで、接続許可返信手段7から送出
される。 32はその通信フレームの宛先を示す相手先ステーショ
ンアドレスをセットするエリアで、全通信ステーション
を宛て先とする場合(ブロードキャストする場合)は、
ここにはその旨を示す例えば「*」がセットされる。3
3はその通信フレームの発信元通信ステーションアドレ
スをセットするエリアである。34は論理ポート番号を
セットするエリア、35は回線接続待ち要求のキー名を
セットするエリア、36は回線接続要求のキー名をセッ
トするエリア、37はその通信フレームに必要な付随情
報をセットするエリアである。
Connection permission reply: A communication frame for confirming the connection permission, which is sent from the connection permission reply means 7. Reference numeral 32 is an area in which the destination station address indicating the destination of the communication frame is set. When all communication stations are addressed (broadcast),
For example, "*" indicating that is set here. Three
Reference numeral 3 is an area in which the source communication station address of the communication frame is set. 34 is an area for setting a logical port number, 35 is an area for setting a key name of a line connection waiting request, 36 is an area for setting a key name of a line connection request, and 37 is a side information necessary for the communication frame. The area.

【0022】この様に構成した装置において、論理回線
結合がどのようにして行われるかの動作を次に説明す
る。図5は、以下の説明で想定する通信システムの構成
概念図である。ここでは説明を簡単にするために、通信
回線BSに3つの通信ステーションA,B,Cが接続さ
れていて、通信ステーションAと通信ステーションBと
の間で通信を行う場合を例にとる。
The operation of how the logical line connection is carried out in the apparatus thus constructed will be described below. FIG. 5 is a conceptual configuration diagram of a communication system assumed in the following description. Here, for simplification of description, a case where three communication stations A, B, and C are connected to the communication line BS and communication is performed between the communication station A and the communication station B will be taken as an example.

【0023】図6は、この場合において、通信回線BS
に順次送出される通信フレームの様子を示す説明図であ
る。はじめに、通信を行おうとする通信ステーションA
の第1のブロードキャスト手段3は、サービス要求手段
1からの回線接続要求信号に基づき、図6の(a)に示
すようなフォーマットの接続要求通知を示す通信フレー
ムを通信回線BS上にブロードキャストする。この通信
フレームは、エリア31には、その通信フレームの種類
を示す「接続要求通知」、エリア32には、ブロードキ
ャストを示す「*」、エリア33には発信元である自分
の通信ステーションアドレスを示す「A」、エリア34
には論理ポート番号「100」、エリア35には接続待
ちキー名「LISTEN」、エリア36には接続要求キ
ー名「CONNECT」が設定される。従って、通信に
先立って、通信相手先の通信ステーションアドレスを何
ら意識していない。
FIG. 6 shows the communication line BS in this case.
It is an explanatory view showing a situation of a communication frame sequentially transmitted to. First, communication station A trying to communicate
The first broadcast means 3 of 1 broadcasts a communication frame indicating a connection request notification in the format as shown in FIG. 6A on the communication line BS based on the line connection request signal from the service request means 1. In this communication frame, the area 31 indicates “connection request notification” indicating the type of the communication frame, the area 32 indicates “*” indicating broadcast, and the area 33 indicates the address of the communication station of the sender. "A", area 34
Is set to the logical port number "100", the area 35 is set to the connection waiting key name "LISTEN", and the area 36 is set to the connection request key name "CONNECT". Therefore, prior to the communication, no consideration is given to the communication station address of the communication partner.

【0024】通信回線BS上にブロードキャストされ
た、(a)に示すフォーマットの通信フレームは、通信
回線BSに接続されている他の全通信ステーションB,
Cで共に受信される。回線の接続を待つ側の通信ステー
ションBにおいて、通信回線BS上にブロードキャスト
された前述の回線接続要求を示す通信フレームを受信す
ると、判断手段4は、その通信フレームに含まれる論理
ポート番号「100」と回線接続要求キー名「CONN
ECT」が、自身の回線接続制御バッファ手段2に格納
されている論理ポート番号と回線接続要求キー名に一致
しているか判断する。
The communication frame of the format shown in (a), broadcast on the communication line BS, is transmitted to all the other communication stations B connected to the communication line BS.
Received together at C. When the communication station B on the side waiting for the connection of the line receives the communication frame indicating the above-mentioned line connection request broadcast on the communication line BS, the judging means 4 determines the logical port number "100" included in the communication frame. And the line connection request key name "CONN
ECT "determines whether the logical port number stored in its own line connection control buffer means 2 matches the line connection request key name.

【0025】そして、これらが一致している場合、接続
要求返信手段5は、(b)に示すようなフォーマットの
接続要求返信を示す通信フレームを、宛先通信ステーシ
ョンとして「A」を指定し、通信回線BS上に送出す
る。同様に、回線の接続を待つ側の通信ステーションC
からも、(c)に示すようなフォーマットの通信フレー
ムが宛先通信ステーションとして「A」を指定して、通
信回線BS上に送出される。ここで、通信ステーション
A宛に送出される接続要求返信を示す通信フレームに
は、(b)または(c)に示すように、自分のステーシ
ョンアドレス(BあるいはC)と、論理ポート番号「1
00」と、回線接続待ちを示すキー名「LISTEN」
とを含んでいる。
If they match, the connection request returning means 5 designates "A" as the destination communication station for the communication frame indicating the connection request reply in the format shown in FIG. Send on the line BS. Similarly, communication station C on the side waiting for line connection
Also, a communication frame having a format as shown in (c) is sent to the communication line BS by designating "A" as the destination communication station. Here, in the communication frame indicating the connection request reply sent to the communication station A, as shown in (b) or (c), the station address (B or C) of the user and the logical port number "1" are set.
00 "and the key name" LISTEN "that indicates line connection waiting
Includes and.

【0026】通信ステーションAは、通信回線BS上に
送出された(b)および(c)に示す通信フレームをそ
れぞれ受信する。これらの通信フレームを受信すると、
第2のブロードキャスト手段6は、それらの通信フレー
ムに含まれる回線接続待ちを示すキー名「LISTE
N」が一致するのを確認し、その一つ、例えば先に接続
要求返信を示す通信フレームを受信した側の通信ステー
ション「B」を選択し、選択した相手ステーションアド
レス「B」を含む接続要求許可を示す、(d)に示すよ
うなフォーマットの通信フレームを、通信回線BS上に
ブロードキャストする。
The communication station A respectively receives the communication frames shown in (b) and (c) sent on the communication line BS. When receiving these communication frames,
The second broadcasting means 6 includes the key name “LISTE”, which is included in those communication frames and indicates the line connection waiting.
N "is confirmed to match, one of them, for example, the communication station" B "on the side that has received the communication frame indicating the connection request reply is selected, and the connection request including the selected partner station address" B "is selected. A communication frame having a format as shown in (d) indicating permission is broadcast on the communication line BS.

【0027】この通信フレームを通信回線BSを介して
受信した通信ステーションBの接続許可返信手段7は、
通信フレーム内のエリア37にセットされている情報に
より自分の通信ステーションが選択されたことを知り、
接続許可の確認のために通信ステーションAに対して、
接続許可返信を示す、(e)に示すようなフォーマット
の通信フレームを、通信ステーションAを宛先にして通
信回線BS上に送出する。
The connection permission reply means 7 of the communication station B, which has received this communication frame via the communication line BS,
Knowing that your communication station has been selected by the information set in area 37 in the communication frame,
To confirm the connection permission to communication station A,
A communication frame having a format as shown in (e) indicating a connection permission reply is sent to the communication line BS with the communication station A as the destination.

【0028】以上のような手順により、通信ステーショ
ンAと通信ステーションBとの間での回線接続が完了す
ることとなる。また、この時、選択されなかった通信ス
テーションCは、次の回線接続要求に備えることにな
る。図7は、上で述べた手順の各時点における関連の通
信ステーション内で、サービス要求手段1からの要求信
号に基づいて作成される論理ポート制御バッファ20の
状態を示す図である。(a)は、通信ステーションAに
おいて、接続要求通知を示す通信フレームを送出するに
先立って形成される制御バッファの様子を示している。
By the above procedure, the line connection between the communication station A and the communication station B is completed. At this time, the communication station C that has not been selected prepares for the next line connection request. FIG. 7 is a diagram showing the state of the logical port control buffer 20 created on the basis of the request signal from the service request means 1 in the associated communication station at each point in the procedure described above. (A) shows the state of the control buffer formed in the communication station A prior to sending the communication frame indicating the connection request notification.

【0029】サービス要求手段1からの回線接続要求が
出力されると、これに従って、論理ポート番号♯「10
0」の接続処理中リスト(領域)に、新たに、接続要求
キー名「CONNECT」、接続待ちキー名「LIST
EN」の情報が格納され、制御バッファが形成されてい
る。この時、相手通信ステーションのアドレスは、何ら
意識されていない。(b)は、通信回線BS上にブロー
ドキャストされた接続要求通知を示す通信フレームを受
信した各通信ステーションB,Cにおける制御バッファ
の様子を示している。接続要求通知を示す通信フレーム
を受信した各通信ステーションは、その通信フレームか
ら、論理ポート番号♯「100」と接続要求キー名「C
ONNECT」と接続待ちキー名「LISTEN」とを
それぞれ取り出す。そして、論理ポート番号♯「10
0」に対応する自分の論理ポート制御バッファから、接
続待ち処理中リストを抽出し、接続要求キー名「CON
NECT」でサーチする。
When the line connection request from the service request means 1 is output, the logical port number # "10
The connection request key name "CONNECT" and the connection waiting key name "LIST" are newly added to the connection processing list (area) of "0".
Information of "EN" is stored and a control buffer is formed. At this time, the address of the partner communication station is not recognized at all. (B) shows the state of the control buffer in each of the communication stations B and C that has received the communication frame indicating the connection request notification broadcast on the communication line BS. Each communication station that has received the communication frame indicating the connection request notification receives the logical port number # "100" and the connection request key name "C" from the communication frame.
"CONNECT" and the connection waiting key name "LISTEN" are extracted. Then, the logical port number # “10
The connection waiting processing list is extracted from the own logical port control buffer corresponding to "0", and the connection request key name "CON
Search for "NECT".

【0030】その結果、接続待ちリスト内に一致する接
続要求キー名「CONNECT」が見つかると、発信元
の通信ステーションAに宛てに、接続要求返信を示す通
信フレーム(そのフォーマツトは、図6の(b)に示
す)を返信する。接続待ちリスト内に一致する接続要求
キー名「CONNECT」が見つからなければ、何もし
ない。(c)は、この接続要求返信を示す通信フレーム
を受けた通信ステーションAで形成される制御バッファ
の様子を示している。接続要求返信を示す通信フレーム
を受信した通信ステーションAは、その通信フレームか
ら、論理ポート番号♯「100」と接続要求キー名「C
ONNECT」と接続待ちキー名「LISTEN」とを
それぞれ取り出す。そして、論理ポート番号♯「10
0」に対応する自分の論理ポート制御バッファから、接
続要求処理中リストを抽出し、接続待ちキー名「LIS
TEN」でサーチする。
As a result, when a matching connection request key name "CONNECT" is found in the connection waiting list, a communication frame indicating the connection request reply is sent to the communication station A which is the transmission source (the format of which is shown in FIG. b)) is returned. If no matching connection request key name "CONNECT" is found in the connection waiting list, nothing is done. (C) shows the state of the control buffer formed in the communication station A which has received the communication frame indicating this connection request reply. Upon receiving the communication frame indicating the connection request reply, the communication station A receives the logical port number # “100” and the connection request key name “C” from the communication frame.
"CONNECT" and the connection waiting key name "LISTEN" are extracted. Then, the logical port number # “10
The connection request processing list is extracted from the own logical port control buffer corresponding to "0", and the connection waiting key name "LIS
Search for "TEN".

【0031】その結果、接続要求処理中リスト内に一致
する接続待ちキー名「LISTEN」が見つかると、選
択した通信ステーション「B」を示した接続要求許可を
示す通信フレーム(そのフォーマツトは、図6の(d)
に示す)をブロードキャストする。接続要求処理中リス
ト内に一致する接続待ちキー名「LISTEN」が見つ
からなければ、何もしない。(d)は、接続要求許可を
示す通信フレームにより選択された通信ステーションB
で形成される制御バッファの様子を示している。接続要
求許可を示す通信フレームの受信により、自分が選択さ
れたことを知った通信ステーションBは、接続待ち処理
中リストにある回線制御バッファを接続完了リストへ入
れ換える。その後、接続許可返信を示す通信フレーム
(そのフォーマツトは、図6の(e)に示す)を、相手
の通信ステーションA宛に送出する。(e)は、通信ス
テーションAにおいて、この接続許可返信を示す通信フ
レームを受信した後の制御バッファの様子を示してい
る。接続許可返信を示す通信フレームを受信した通信ス
テーションAでは、接続要求処理中リストにある回線制
御バッファを接続完了リストへ入れ換える。
As a result, when a matching connection waiting key name "LISTEN" is found in the connection request processing list, a communication frame indicating connection request permission indicating the selected communication station "B" (its format is as shown in FIG. 6). (D)
Broadcast). If no matching connection waiting key name “LISTEN” is found in the connection request processing list, nothing is done. (D) is the communication station B selected by the communication frame indicating the connection request permission.
3 shows the state of the control buffer formed by. Upon receiving the communication frame indicating the connection request permission, the communication station B, having learned that it has been selected, replaces the line control buffer in the connection waiting processing list with the connection completion list. After that, the communication frame (the format of which is shown in (e) of FIG. 6) indicating the connection permission reply is transmitted to the communication station A of the partner. (E) shows the state of the control buffer in the communication station A after receiving the communication frame indicating the connection permission reply. Upon receiving the communication frame indicating the connection permission reply, the communication station A replaces the line control buffer in the connection request processing list with the connection completion list.

【0032】以上の様な動作により、通信ステーション
Aと通信ステーションBとの間での論理回線が接続さ
れ、両通信ステーションの間での1:1の通信が可能と
なる。
By the above operation, a logical line is connected between the communication station A and the communication station B, and 1: 1 communication is possible between both communication stations.

【0033】[0033]

【発明の効果】以上詳細に説明したように、本発明によ
れば、はじめに回線接続のためのに相手通信ステーショ
ンのアドレスを意識する必要がなくなるという効果があ
る。従って、同一の通信回線に接続される複数の通信ス
テーションの間で、1:1の関係で通信が必要となるア
プリケーションに対して、該当する通信ステーションを
お互いに任意に移動することができる。また、同一の通
信回線上で、あるサービスを実行するサーバとしての通
信ステーションが複数存在するような場合に、相手を特
定しなくとも論理回線を確立することができ、一つのサ
ーバがダウンしたような場合にも、他のサーバへの切替
えを容易に行うことができる。
As described in detail above, according to the present invention, there is an effect that it is not necessary to be aware of the address of the partner communication station for connecting the line first. Therefore, the corresponding communication stations can be arbitrarily moved to each other for an application that requires communication in a 1: 1 relationship between a plurality of communication stations connected to the same communication line. In addition, when there are multiple communication stations as servers that execute a certain service on the same communication line, a logical line can be established without specifying the other party, and it seems that one server goes down. In any case, it is possible to easily switch to another server.

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

【図1】本発明一実施例を示す構成概念図である。FIG. 1 is a structural conceptual diagram showing an embodiment of the present invention.

【図2】回線接続制御バッファ手段の構成概念図であ
る。
FIG. 2 is a conceptual diagram showing the configuration of line connection control buffer means.

【図3】各論理ポート制御バッファ内の構成概念図であ
る。
FIG. 3 is a conceptual diagram of the configuration within each logical port control buffer.

【図4】通信回線BS上に送出される通信フレーム(通
信パケット)の構成図(フォーマット)である。
FIG. 4 is a configuration diagram (format) of a communication frame (communication packet) transmitted on a communication line BS.

【図5】説明で想定する通信システムの構成概念図であ
る。
FIG. 5 is a conceptual diagram of a configuration of a communication system assumed in the description.

【図6】通信回線BSに順次送出される通信フレームの
様子を示す説明図である。
FIG. 6 is an explanatory diagram showing a state of communication frames sequentially transmitted to a communication line BS.

【図7】回線接続の各時点における関連の通信ステーシ
ョン内で作成される論理ポート制御バッファの状態を示
す図である。
FIG. 7 is a diagram showing a state of a logical port control buffer created in an associated communication station at each time point of line connection.

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

BS 通信回線 ST1,ST2…通信ステーション 11 バスインターフェース 1 サービス要求手段 2 回線接続制御バッファ手段 3 第1のブロードキャスト手段 4 判断手段 5 接続要求返信手段 6 第2のブロードキャスト手段 7 接続許可返信手段 BS communication line ST1, ST2 ... Communication station 11 Bus interface 1 Service request means 2 Line connection control buffer means 3 First broadcast means 4 Judgment means 5 Connection request reply means 6 Second broadcast means 7 Connection permission reply means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】マルチドロップ方式の通信回線に接続され
た複数の通信ステーションの間で通信を行う通信システ
ムにおいて、 各通信ステーションに、 回線の接続を待つ場合、少なくとも論理ポート番号と、
回線接続待ちを示すキー名と、回線接続要求を示すキー
名とからなる回線接続待ち要求を出力し、回線接続を能
動的に行う場合、少なくとも論理ポート番号と、回線接
続待ちを示すキー名と、回線接続要求を示すキー名とか
らなる回線接続要求を出力するサービス要求手段と、 このサービス要求手段からの要求を受け当該要求に含ま
れる情報を格納する回線接続制御バッファ手段と、 サービス要求手段からの回線接続要求に基づき、論理ポ
ート番号と回線接続要求キー名とを含む回線接続要求を
示す通信フレームを通信回線上にブロードキャストする
第1のブロードキャスト手段と、 通信回線を介して送られてくる回線接続要求を示す通信
フレームを受信し、当該通信フレームに含まれる論理ポ
ート番号と回線接続要求キー名が前記自身の回線接続制
御バッファ手段に格納されている論理ポート番号と回線
接続要求キー名に一致しているか判断する判断手段と、 この判断手段において論理ポート番号と回線接続要求キ
ー名が一致していると判断された場合、少なくとも自分
のステーションアドレスと論理ポート番号と回線接続待
ちを示すキー名とを含む接続要求返信を示す通信フレー
ムを通信回線上に送出する接続要求返信手段と、 通信回線を介して返信された接続要求返信を示す通信フ
レームを受信し当該通信フレームに含まれる回線接続待
ちを示すキー名が一致するのを一つ選択し、選択した相
手ステーションアドレスを含む接続要求許可を示す通信
フレームを通信回線上にブロードキャストする第2のブ
ロードキャスト手段と、 通信回線を介して回線接続要求許可を示す通信フレーム
を受信し当該通信フレームに含まれる選択ステーション
アドレスが自身のステーションアドレスである場合、接
続許可に対する返信を示す通信フレームを通信回線上に
送出する接続許可返信手段とを備えて構成される通信制
御装置。
1. In a communication system for communicating between a plurality of communication stations connected to a multi-drop communication line, each communication station waits for connection of the line, and at least a logical port number,
When a line connection wait request consisting of a key name indicating line connection wait and a key name indicating line connection request is output and the line connection is actively performed, at least the logical port number and the key name indicating line connection wait Service request means for outputting a line connection request consisting of a key name indicating a line connection request, a line connection control buffer means for receiving a request from the service request means and storing information included in the request, and a service request means A first broadcast means for broadcasting a communication frame indicating a circuit connection request including a logical port number and a circuit connection request key name on the basis of the circuit connection request from the communication line, and the communication frame is sent via the communication line. The communication frame indicating the line connection request is received, and the logical port number and line connection request key name included in the communication frame are Judgment means for judging whether the logical port number stored in the line connection control buffer means matches the line connection request key name, and this judgment means judges that the logical port number matches the line connection request key name. Connection request response means for sending out a communication frame indicating a connection request reply including at least its own station address, logical port number, and key name indicating line connection waiting to the communication line, and a reply via the communication line Received a communication frame indicating a connection request reply, select one of the key names in the communication frame that indicate the line connection wait, and select the communication frame that includes the selected partner station address and indicates the connection request permission. The second broadcasting means for broadcasting on the communication line and the permission of the line connection request through the communication line are shown. A communication including a connection permission reply means for transmitting a communication frame indicating a reply to the connection permission to the communication line when the selected station address included in the communication frame is the own station address. Control device.
JP27437892A 1992-10-13 1992-10-13 Communication controller Pending JPH06125348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27437892A JPH06125348A (en) 1992-10-13 1992-10-13 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27437892A JPH06125348A (en) 1992-10-13 1992-10-13 Communication controller

Publications (1)

Publication Number Publication Date
JPH06125348A true JPH06125348A (en) 1994-05-06

Family

ID=17540829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27437892A Pending JPH06125348A (en) 1992-10-13 1992-10-13 Communication controller

Country Status (1)

Country Link
JP (1) JPH06125348A (en)

Similar Documents

Publication Publication Date Title
US6330238B1 (en) Multicast transmission method
JPH0248841A (en) Transmission right control system in bus type lan
JPS5992654A (en) Electronic document distributing system
JPH0879827A (en) Communication controller
JP3386590B2 (en) Communication control device and communication control method
CN116846959A (en) Message receiving and transmitting method and device based on MQTT protocol
JPH06125348A (en) Communication controller
JPH06120952A (en) Communication controller
JP2969827B2 (en) Network number automatic setting device
CN106453093A (en) Port isolation method and apparatus
JP2624161B2 (en) Network address dynamic management device
JPH0730573A (en) Down-load system
JPS63299627A (en) Multiple address communicating method
JP2001156775A (en) Group control method and its system, and medium recording its program
JPH0575618A (en) Network system
JPH09321802A (en) Relay type file transfer system
JPH022246A (en) Communication network control method
JPS62212762A (en) Processing system for function decentralized information
JPH0575623A (en) Network system
JPH0424849A (en) Local area network system
JPS63252039A (en) Network server
JPH1056453A (en) Message transfer method and its device for logic ring distribution system
JPH07111698B2 (en) Session management processing method
JPH05110569A (en) Protocol processing method
JPH05160855A (en) Transmission association control system