JPH0628355B2 - Data communication method - Google Patents

Data communication method

Info

Publication number
JPH0628355B2
JPH0628355B2 JP60233803A JP23380385A JPH0628355B2 JP H0628355 B2 JPH0628355 B2 JP H0628355B2 JP 60233803 A JP60233803 A JP 60233803A JP 23380385 A JP23380385 A JP 23380385A JP H0628355 B2 JPH0628355 B2 JP H0628355B2
Authority
JP
Japan
Prior art keywords
connection
connection relationship
data
request
relationship
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
JP60233803A
Other languages
Japanese (ja)
Other versions
JPS6292639A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP60233803A priority Critical patent/JPH0628355B2/en
Publication of JPS6292639A publication Critical patent/JPS6292639A/en
Publication of JPH0628355B2 publication Critical patent/JPH0628355B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、共通にアクセス可能なデータ伝送路に接続さ
れた任意の機器間のデータ通信方式に関する。
The present invention relates to a data communication system between arbitrary devices connected to a commonly accessible data transmission path.

(ロ) 従来技術 1つのデータ伝送路に、多数の機器が接続されており、
それらのうち、任意の機器間で、データ転送を行なう場
合、一般にそれらの機器間に接続関係を設定し、その関
係を用いて透過的なデータ転送を行ない、接続関係を解
放する、という手順で行なう。ところが、こうしたデー
タ通信方式では機器間でのデータ転送が終了した後、デ
ータの送受信の行なわれないまま接続関係が維持されて
いると、他機器から、現在接続状態にあるいずれか一方
への接続要求があっても接続することができない。そこ
で、従来は送受信の行なわれない状態が一定時間以上続
くと、接続要求の有無に係わらず、接続関係を解放する
ようにしている。
(B) Conventional technology A large number of devices are connected to one data transmission line,
When data transfer is performed between any of these devices, generally, a connection relationship is set between those devices, transparent data transfer is performed using the relationship, and the connection relationship is released. To do. However, in such a data communication method, after the data transfer between the devices is completed, if the connection relationship is maintained without data transmission / reception, the connection from the other device to one of the currently connected devices is established. I cannot connect even if there is a request. Therefore, conventionally, when a state in which transmission / reception is not performed continues for a certain period of time or more, the connection relation is released regardless of the presence or absence of a connection request.

(ハ) 発明が解決しようとする問題点 しかし、このような方式では、他からの接続要求が無い
場合にも現在の接続関係を解放するので、現在の接続関
係を接続しようとすると、新たに接続関係を設定し直す
必要がある。また、接続関係の解放後、その接続関係を
設定する以前の接続状態に復帰するのにも、新たに接続
関係を再設定する必要がある。
(C) Problems to be solved by the invention However, in such a method, the current connection relationship is released even when there is no connection request from others. It is necessary to reset the connection relationship. Further, after the connection relation is released, it is necessary to newly set the connection relation to return to the connection state before the connection relation is set.

本発明は、かかる事情を鑑みてなされたものであり、機
器間の接続関係を簡単な手順により自由に設定するデー
タ通信方式の提供を目的とする。
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a data communication system that freely sets connection relationships between devices by a simple procedure.

(ニ) 問題点を解決するための手段 そこで、本方式では、接続関係が設定されている機器間
で送受信のない状態が一定時間以上続いた後、他からの
接続要求があるときに限り現在の接続関係を解放し、接
続要求がないときは、現在の接続関係を維持することと
した。
(D) Means for solving the problem Therefore, in this method, the current state is only available when there is a connection request from another device after there is no transmission / reception between the devices to which the connection relationship is set for a certain period of time. It releases the connection relation of and maintains the current connection relation when there is no connection request.

(ホ) 実施例 以下、本発明の一実施例を図に沿って説明する。(E) Example An example of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例であるターミナルサーバに
よる、パーソナルコンピュータの接続例である。第1図
において、(11)(12)(13)は端末として用いられるパーソ
ナルコンピュータ、(14)(15)(16)は上記パーソナルコン
ピュータ(11)(12)(13)に結ばれ、これ等のコンピュータ
(11)(12)(13)の通信を制御するターミナルサーバ、(17)
はこれ等のターミナルサーバ(14)(15)(16)を結ぶ限定域
内伝送ラインである。
FIG. 1 is a connection example of a personal computer by a terminal server which is an embodiment of the present invention. In FIG. 1, (11), (12) and (13) are personal computers used as terminals, and (14), (15) and (16) are connected to the personal computers (11), (12) and (13). Computer
(11) (12) A terminal server that controls the communication of (13), (17)
Is a limited area transmission line connecting these terminal servers (14), (15) and (16).

一般に、こうした限定域内伝送システムにおいては、第
2図に示すようなバケットを交換することにより、機器
間の接続/切断を行ない、また、データの転送を行な
う。
Generally, in such a limited area transmission system, the buckets as shown in FIG. 2 are exchanged to connect / disconnect the devices and transfer the data.

第2図において、設定された接続関係は、接続識別番号
(21)と呼ばれるある番号により管理される。交換される
パケットは識別子(22)により識別され、接続要求パケッ
ト,接続応答パケット,拒否応答パケット,切断要求パ
ケット,切断応答パケット,割り込み接続要求パケッ
ト,データパケットなどに、分類される。
In Fig. 2, the set connection relationship is the connection identification number.
It is managed by a certain number called (21). The exchanged packets are identified by the identifier (22) and classified into connection request packets, connection response packets, rejection response packets, disconnection request packets, disconnection response packets, interrupt connection request packets, data packets, and the like.

機器間の接続関係を設定するには、まず、接続関係を持
ちたい機器に対して接続要求パケットを送信する。接続
要求を受けた機器は、既に他機器との間に接続関係が設
定されていれば拒否応答パケットを応答する。接続関係
が設定された後は、データパケットでデータの送受信を
行ない、データの送受信が終わった後、こうした接続関
係の切断の必要に応じて切断要求,切断応答パケットに
より接続関係を解放する。
To set the connection relationship between the devices, first, a connection request packet is transmitted to the device that wants to have the connection relationship. The device that has received the connection request responds with a rejection response packet if the connection relationship with another device has already been set. After the connection relation is set, data is transmitted / received by a data packet, and after the data transmission / reception is completed, the connection relation is released by a disconnection request / disconnection response packet according to the necessity of disconnecting the connection relation.

第3図は、ターミナルサーバの構成図である。(31)およ
び(32)は、RS−232C等の汎用インタフェースによ
り、端末装置やパーソナルコンピュータ等との入出力を
行なう入力部及び出力部である。(33)及び(34)は、限定
域内伝送システムで他のターミナルサーバとの間で第1
図に示したようなパケットの送受信を行なうパケット送
信部及びパケット受信部である。(35)は現在の接続状態
に関する情報例えば接続関係にある相手方のターミナル
サーバのアドレスや上記接続識別番号等を記憶する接続
情報記憶部、(36)はある一定時間内にパケットの送受信
が行なわれるかどうかを監視する無通話監視タイマであ
る。(37)は、入力部、パケット受信部からのコマンド及
び無通話監視タイマ(36)からの割り込みにより上記接続
情報記憶部(35)内の接続情報を書き替え、また、入力部
(31)、パケット受信部(34)からのデータを接続情報によ
り、パケット送信部(33)、出力部(32)に受け渡しする送
受信処理部である。次に、動作例を説明する。
FIG. 3 is a block diagram of the terminal server. Reference numerals (31) and (32) denote an input unit and an output unit that perform input / output with a terminal device, a personal computer, or the like by a general-purpose interface such as RS-232C. (33) and (34) are limited area transmission systems, and are the first between other terminal servers.
A packet transmitting unit and a packet receiving unit that transmit and receive packets as shown in the figure. (35) is a connection information storage unit that stores information about the current connection state, for example, the address of the other terminal server in the connection relationship, the connection identification number, and the like, and (36) packets are transmitted and received within a certain period of time. It is a no-call monitoring timer that monitors whether or not. (37) rewrites the connection information in the connection information storage section (35) by an input section, a command from the packet receiving section and an interrupt from the silent call monitoring timer (36), and the input section
(31) is a transmission / reception processing unit that delivers data from the packet reception unit (34) to the packet transmission unit (33) and the output unit (32) according to the connection information. Next, an operation example will be described.

第1図において、パーソナルコンピュータ(11)と(12)の
間でデータ転送を行なう場合、ターミナルサーバ(14)と
(15)の接続関係を設定する。そのため、パーソナルコン
ピュータ(11)からのコマンドにより、ターミナルサーバ
(14)はターミナルサーバ(15)にパケット識別子として接
続要求コマンドが付された接続要求パケットを送信す
る。接続要求パケットを受信したターミナルサーバ(15)
の送受信処理部(37)は、接続情報記憶部(35)を調べて現
在接続状態にないことを知り、ターミナルサーバ(14)と
の間に新たな接続関係を設定する。即ち、受信処理部(3
7)で乱数的に接続識別番号を発生させ、こうした接続識
別番号に対応して上記ターミナルサーバ(14)のアドレス
を接続情報記憶部(35)内で記憶させる。その後、接続識
別番号に対応づけ、接続応答パケットをターミナルサー
バ(14)へ送信する。ターミナルサーバ(14)は、接続応答
パケットを受信すると、接続要求が受け入れられたこと
を知り、上記ターミナルサーバ(15)のアドレスを接続識
別番号に対応づけて接続情報記憶部(35)に記憶する。こ
れによりターミナルサーバ(14)と(15)の間に接続関係が
設定され、パーソナルコンピュータ(11)(12)からデータ
を入力するだけでこれ等の間のデータ転送を行なうこと
ができる。
In FIG. 1, when data is transferred between the personal computers (11) and (12), the terminal server (14) and
Set the connection relation of (15). Therefore, the command from the personal computer (11) can be used to
(14) sends a connection request packet with a connection request command as a packet identifier to the terminal server (15). Terminal server that received the connection request packet (15)
The transmission / reception processing unit (37) checks the connection information storage unit (35) to find that it is not currently connected, and establishes a new connection relationship with the terminal server (14). That is, the reception processing unit (3
At 7), a connection identification number is randomly generated, and the address of the terminal server (14) is stored in the connection information storage section (35) in correspondence with the connection identification number. After that, the connection response packet is transmitted to the terminal server (14) in association with the connection identification number. Upon receiving the connection response packet, the terminal server (14) knows that the connection request has been accepted, and stores the address of the terminal server (15) in the connection information storage unit (35) in association with the connection identification number. . As a result, a connection relationship is set between the terminal servers (14) and (15), and data can be transferred between these by simply inputting data from the personal computers (11) and (12).

本実施例の特徴は、送受信のない状態が一定時間以上続
いたときの接続関係の変更にあり、以下に、動作を説明
する。
The feature of this embodiment resides in the change of the connection relation when there is no transmission / reception for a certain period of time or more.

今、第1図において、パーソナルコンピュータ(11)とパ
ーソナルコンピュータ(12)の間に接続関係が設定されて
いてパーソナルコンピュータ(11)(12)でデータが与えら
れると、ターミナルサーバ(14)(15)で相手先のアドレス
が付されてパーソナルコンピュータ(12)(11)にそのデー
タが伝えられる。パーソナルコンピュータ(11)とパーソ
ナルコンピュータ(12)の間のデータ転送が中断すると、
その度にターミナルサーバ(14)(15)の無通話監視タイマ
(36)が働き、データ転送の再開をもってこれ等無通話監
視タイマ(36)が再びセットされる。データ転送が終了す
ると、無通話監視タイマ(36)が再度働き、所定のカウン
ト後、このタイマ(36)がタイムアウトし、無通話監視状
態となったことを接続情報記憶部(35)に記憶する(第4
図A、C)。この状態は、現在の接続関係は解放してい
ないが、他からの接続要求があると、現在の接続関係を
解放して新たな接続関係を設定できる。
Now, in FIG. 1, when the connection relation is set between the personal computer (11) and the personal computer (12) and data is given by the personal computer (11) (12), the terminal server (14) (15) In (), the address of the other party is added and the data is transmitted to the personal computer (12) (11). If the data transfer between the personal computer (11) and the personal computer (12) is interrupted,
Each time the terminal server (14) (15) idle call monitoring timer
(36) is activated, and upon restarting the data transfer, these silent call monitoring timers (36) are set again. When the data transfer is completed, the silent call monitoring timer (36) works again, and after a predetermined count, the timer (36) times out, and it is stored in the connection information storage unit (35) that the silent call monitoring state is set. (4th
(Figures A, C). In this state, the current connection relationship is not released, but when there is a connection request from another, the current connection relationship can be released and a new connection relationship can be set.

無通話監視状態でパーソナルコンピュータ(11)と(12)の
間のデータ転送が再開すると、両ターミナルサーバ(14)
(15)の接続情報記憶部(35)内を接続状態に復帰する(第
4図B)。一方、パーソナルコンピュータ(13)からパー
ソナルコンピュータ(11)への接続の必要が生じると、パ
ーソナルコンピュータ(13)からのコマンドにより、ター
ミナルサーバ(14)へ接続要求バケットが送られると、サ
ーバ(14)はターミナルサーバ(15)との間の接続関係を解
放し、新たにターミナルサーバ(16)との間の接続関係を
設定する(第4図D)。また、このパーソナルコンピュー
タ(13)からの接続要求が割り込み接続要求であった場合
には、パーソナルコンピュータ(11)と(13)の間の接続関
係が解放された後、再びパーソナルコンピュータ(11)と
(12)の間の接続関係が復帰する(第5図)。
When the data transfer between the personal computers (11) and (12) is restarted in the no call monitoring state, both terminal servers (14)
The inside of the connection information storage unit (35) of (15) is returned to the connected state (FIG. 4B). On the other hand, when it becomes necessary to connect from the personal computer (13) to the personal computer (11), a command from the personal computer (13) sends a connection request bucket to the terminal server (14), and the server (14) Releases the connection relationship with the terminal server (15) and newly establishes the connection relationship with the terminal server (16) (Fig. 4D). If the connection request from the personal computer (13) is an interrupt connection request, the connection relationship between the personal computers (11) and (13) is released, and then the personal computer (11) is connected again.
The connection relationship between (12) is restored (Fig. 5).

即ち、各ターミナルサーバ(14)(15)(16)の接続情報記憶
部(35)には通常の接続相手先アドレスを記憶する接続ア
ドレス領域以外に割り込み要求があった相手先のアドレ
スを記憶する割り込みアドレス領域があり、割り込み要
求があったとき、この割り込み相手先のアドレスを割り
込み要求アドレスに記憶しておいて、割り込み相手先と
のデータの伝送を行い、割り込み処理が終了すると割り
込みアドレス領域内のアドレスを消去する。
That is, in the connection information storage unit (35) of each terminal server (14) (15) (16), the address of the destination of the interrupt request is stored in addition to the connection address area that stores the normal connection destination address. When there is an interrupt address area and there is an interrupt request, the address of this interrupt destination is stored in the interrupt request address, data is transmitted to the interrupt destination, and when the interrupt processing is completed Erase the address of.

(ヘ) 発明の効果 以上述べた如く、本発明通信方式では、機器間で接続関
係が設定されており、一定時間データの送受信がない状
態が続いた後、他機器からの接続関係があったときに限
り、新たな接続関係を設定するようにし、他からの接続
要求がない間は現在の接続関係を維持するようにしたの
で、データの送受信が行なわれないのに不当に接続関係
を占有するようなことがなく、また、不当に接続関係を
解放してしまうようなこともない。
(F) Effects of the Invention As described above, in the communication method of the present invention, the connection relationship is set between the devices, and after a state where no data is transmitted / received for a certain period of time, there is a connection relationship from another device. Only when necessary, a new connection relationship is set, and the current connection relationship is maintained while there is no connection request from others, so the connection relationship is unduly occupied even if data is not sent or received. There is no such thing, and there is no case that the connection relationship is unreasonably released.

また、本発明の通信方式では、割り込み接続要求によ
り、接続状態にある機器との間に一時的に接続関係を設
定することができ、データ転送の終了後、その接続関係
に復帰することができるので、日常業務などで使用する
機器が他の機器との間に接続関係を設定していても、一
時的にその機器を借用することができ、日常業務を円滑
に行なうことができる。
Further, in the communication system of the present invention, an interrupt connection request can temporarily set a connection relationship with a device in a connected state, and after the data transfer is completed, the connection relationship can be restored. Therefore, even if a device used in daily work has a connection relationship with another device, the device can be temporarily borrowed, and daily work can be smoothly performed.

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

第1図は、本発明のデータ通信方式が実施される限定域
内伝送システムのブロック図、第2図は、本発明限定内
伝送システムにおいて交換されるパケットの形態を示す
形態模式図、第3図は、ターミナルサーバのブロック
図、第4図は、無通話監視タイマによる接続関係の変更
動作を説明するための動作説明図であり、第5図は、割
り込み接続要求による接続関係の変更動作を説明するた
めの動作説明図である。 (11)(12)(13)……パーソナルコンピュータ、(14)(15)(1
6)……ターミナルサーバ、(17)……伝送ライン、(35)…
…接続情報記憶部、(36)……無通話監視タイマ、(37)…
…送受信処理部。
FIG. 1 is a block diagram of a limited area transmission system in which the data communication system of the present invention is implemented, and FIG. 2 is a schematic diagram showing a form of a packet exchanged in the limited area transmission system of the present invention, and FIG. FIG. 4 is a block diagram of the terminal server, FIG. 4 is an operation explanatory diagram for explaining a connection relation changing operation by the no-call monitoring timer, and FIG. 5 is a connection relation changing operation by an interrupt connection request. FIG. 8 is an explanatory diagram of an operation for doing so. (11) (12) (13) …… Personal computer, (14) (15) (1
6) …… Terminal server, (17) …… Transmission line, (35)…
… Connection information storage, (36) …… No call monitoring timer, (37)…
… Transmit / receive processor.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】共通にアクセス可能なデータ伝送路に接続
された機器間の通信で、任意の2機器間で予め設定され
た接続関係を用いてデータの透過的な転送を行なう方式
に於て、接続関係が設定された機器間で一定時間データ
の送受信の行なわれない状態が続いた後に、他機器から
の接続要求があった場合に、自動的に新たな接続関係の
設定を行なうことを特徴とするデータ通信方式。
1. A method of transparently transferring data in a communication between devices connected to a commonly accessible data transmission path by using a preset connection relationship between arbitrary two devices. , If a connection request is made from another device after a state in which data is not sent and received for a certain period of time between the devices to which the connection relationship has been set, a new connection relationship is automatically set. Characteristic data communication method.
【請求項2】特許請求の範囲第1項記載の上記データ通
信方式に於て、接続関係が設定されている機器に他の機
器からの割り込み接続要求があった場合、要求された機
器は要求を行った機器との間に接続関係を設定し、その
接続関係の終了をもって、割り込み接続要求のあった以
前の接続関係に復帰すること特徴とするデータ通信方
式。
2. In the above data communication system according to claim 1, when a device to which a connection relationship is set has an interrupt connection request from another device, the requested device makes a request. A data communication method characterized in that a connection relationship is set with the device that performed the operation, and when the connection relationship ends, the connection relationship before the interrupt connection request was made is restored.
JP60233803A 1985-10-18 1985-10-18 Data communication method Expired - Lifetime JPH0628355B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60233803A JPH0628355B2 (en) 1985-10-18 1985-10-18 Data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60233803A JPH0628355B2 (en) 1985-10-18 1985-10-18 Data communication method

Publications (2)

Publication Number Publication Date
JPS6292639A JPS6292639A (en) 1987-04-28
JPH0628355B2 true JPH0628355B2 (en) 1994-04-13

Family

ID=16960827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60233803A Expired - Lifetime JPH0628355B2 (en) 1985-10-18 1985-10-18 Data communication method

Country Status (1)

Country Link
JP (1) JPH0628355B2 (en)

Also Published As

Publication number Publication date
JPS6292639A (en) 1987-04-28

Similar Documents

Publication Publication Date Title
EP0308485A1 (en) Terminal device session management protocol
JPH0331027B2 (en)
JPH01233949A (en) Quasi-reservation communication service processing system
JPH0618371B2 (en) Communication terminal
JPH03273352A (en) On-line information processor
US5455950A (en) Universal device for coupling a computer bus to a specific link of a network and operating system therefor
US5892432A (en) Personal computer control and activation device utilizing a paging message
JPH0628355B2 (en) Data communication method
JP3307337B2 (en) WWW gateway and WWW communication system
GB2251358A (en) Data processing network
JPH0473178B2 (en)
JPS63292850A (en) Data communication system
JPH054040Y2 (en)
JP2524601B2 (en) Communication control device
JPS6282762A (en) Broadcast communication method
JP2656977B2 (en) Connection switching method between data processing program and terminal
JPH0646731B2 (en) Data communication device
KR19990042270A (en) How to handle port control protocol in V5.2 interface
KR100953965B1 (en) Line connection method of branch processor
JP2925215B2 (en) Line control system and line control device used in the line control system
JPH05282225A (en) Intra-terminal data communication equipment
JPH10145358A (en) Data processing method in isdn terminal server
JPS60196867A (en) Distributed processing method
JPH06103202A (en) Computer network
JPH05143498A (en) Method for coping with communication fault in distributed system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term