[go: up one dir, main page]

JPH0378659B2 - - Google Patents

Info

Publication number
JPH0378659B2
JPH0378659B2 JP60242055A JP24205585A JPH0378659B2 JP H0378659 B2 JPH0378659 B2 JP H0378659B2 JP 60242055 A JP60242055 A JP 60242055A JP 24205585 A JP24205585 A JP 24205585A JP H0378659 B2 JPH0378659 B2 JP H0378659B2
Authority
JP
Japan
Prior art keywords
terminal
message
host
communication
processing device
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
Application number
JP60242055A
Other languages
Japanese (ja)
Other versions
JPS62100854A (en
Inventor
Yukio Saito
Isao Ishizaki
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.)
NEC Corp
Original Assignee
Nippon 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP60242055A priority Critical patent/JPS62100854A/en
Publication of JPS62100854A publication Critical patent/JPS62100854A/en
Publication of JPH0378659B2 publication Critical patent/JPH0378659B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はホスト・端末間通信方式、特に、仮想
端末が予め設定された中継処理装置を介してホス
トコンピユータ(以下ホストと記す)と複数の端
末装置(以下実端末と記す)との間で行なう通信
の方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a communication system between a host and a terminal. It relates to a method of communication with a terminal device (hereinafter referred to as an actual terminal).

(従来の技術) ホストと複数実端末との間で通信を行なうため
のネツトワークを構築する場合、各ノード間の距
離が長くまた実端末の数、したがつて回線本数が
多いようなときには、一般に、中継処理装置が導
入される。すなわち、ホストと中継処理装置とは
高速回線で接続してホストの処理速度と整合した
速度で通信制御を行ない、また、中継処理装置と
実端末とは低速回線で接続して実端末の処理速度
に対応するようにしている。
(Prior art) When constructing a network for communication between a host and multiple real terminals, when the distance between each node is long and the number of real terminals and therefore the number of lines is large, Generally, a relay processing device is introduced. In other words, the host and the relay processing device are connected via a high-speed line and communication control is performed at a speed that matches the processing speed of the host, and the relay processing device and the actual terminal are connected via a low-speed line to perform communication control at a speed that matches the processing speed of the actual terminal. We are trying to accommodate.

一方、ソフトウエアの機能追加や改革を行なう
場合、母体となるソフトウエアの規模が大きいほ
ど作業が困難であり、またミスを犯しやすいこと
が経験的によく知られている。したがつて、コン
ピユータの適用業務の拡大に伴う実端末の多様化
に対処するためには、実端末の属性を意識しなけ
ればならない部分は、たとえばフロントエンドプ
ロセツサ等のようなホスト側における通信制御処
理専用部で扱い、オペレーテイングシステムは実
端末の属性を意識せずに通信すべき端末のアドレ
スの指定、データの送信/受信などを行なえるよ
うに仮想端末を設定することが望ましい。
On the other hand, it is well known from experience that when adding or reforming software functions, the larger the base software, the more difficult the task is, and the more likely mistakes are to be made. Therefore, in order to deal with the diversification of real terminals that accompany the expansion of computer application operations, it is necessary to be aware of the attributes of real terminals, such as communication on the host side such as front-end processors. It is desirable to set virtual terminals so that they can be handled by a dedicated control processing section and the operating system can specify the address of a terminal to communicate with and send/receive data without being aware of the attributes of the real terminal.

従来のこの種のホスト・端末間通信方式は、実
端末と1対1対応の仮想端末の設定と、仮想端末
とアプリケーシヨンプログラムの結び付けとをシ
ステムジエネレーシヨン(SG)時にホスト上で
行なつておき、ホストと実端末との間の通信はこ
の仮想端末を介して実行するようにしている。
In this type of conventional host-to-terminal communication method, the setting of a virtual terminal in one-to-one correspondence with a real terminal and the linking of the virtual terminal and an application program are performed on the host during system generation (SG). By the way, communication between the host and the real terminal is executed via this virtual terminal.

(発明が解決しようとする問題点) このような従来方式においては、実端末数だけ
の仮想端末の設定を行なう必要があるため、設定
時間やホストダウン時における再設定時間が長く
なるし仮想端末ごとに設けるバツフアやテーブル
の数も多くなつてホスト上の所要資源が多くな
り、また仮想端末と実端末との結び付けがSG時
において固定化されるため、実端末の増設等のよ
うに実端末の構成に変更があるとSGをやり直す
必要があるし実端末と仮想端末との動的な結び付
けによる多様な実端末の運用形態をとることもで
きないという多くの問題点がある。
(Problems to be Solved by the Invention) In such a conventional method, it is necessary to configure as many virtual terminals as there are real terminals, which increases the configuration time and reconfiguration time when the host goes down, and the number of virtual terminals increases. As the number of buffers and tables created for each virtual terminal increases, the required resources on the host increase.Also, since the connection between virtual terminals and real terminals is fixed at SG time, it is difficult to connect real terminals by increasing the number of real terminals. There are many problems in that if there is a change in the configuration of the SG, it is necessary to redo the SG, and it is not possible to take various operational forms of the real terminal by dynamically linking the real terminal and the virtual terminal.

(問題点を解決するための手段) 本発明の方式は、中継処理装置を介してホスト
と複数の実端末との間で通信を行なうホスト・端
末間通信方式において、 ホストおよびホストで実行されるアプリケーシ
ヨンプログラムと1対1対応の仮想端末を中継処
理装置に予め設定しておき、 実端末はアプリケーシヨンプログラムを指定し
た要求電文およびこの要求電文に対する中継処理
装置からの許諾電文を待つて自実端末名とデータ
とから成る通信電文を送信し、 中継処理装置は要求電文を受信すると該当する
仮想端末の使用状態によつて前述の許諾電文を返
信しまた前述の通信電文を該当する仮想端末を介
して対応するホストに転送しまた通信電文に対す
るホストからの応答電文を該当する仮想端末を介
して実端末に転送し、 ホストは通信電文を受信すると、該当するアプ
リケーシヨンプログラムによる処理を行なつた後
で実端末名を付した応答電文を送信する ようにしたことを特徴とする。
(Means for Solving the Problems) The method of the present invention is executed by a host and a host in a host-terminal communication method in which communication is performed between a host and a plurality of real terminals via a relay processing device. A virtual terminal with a one-to-one correspondence with an application program is set in advance in the relay processing device, and the real terminal waits for a request message specifying the application program and a permission message from the relay processing device in response to this request message. A communication message consisting of a terminal name and data is sent, and when the relay processing device receives the request message, it returns the above-mentioned permission message depending on the usage status of the corresponding virtual terminal, and also sends the above-mentioned communication message to the corresponding virtual terminal. The response message from the host to the communication message is transferred to the real terminal via the corresponding virtual terminal, and when the host receives the communication message, it processes it using the corresponding application program. It is characterized in that a response message with the actual terminal name attached is sent later.

(実施例) 次に本発明の実施例について図面を参照して説
明する。
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロツク図で
ある。
FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図を参照すると本実施例は、アプリケーシ
ヨンプログラムAP1とAP2とを実行するホスト
10と、アプリケーシヨンプログラムAP1とAP
3とを実行するホスト20と、9つの実端末4
1,42,43,44,45,46,47,48
および49と、これらの実端末41〜49とホス
ト10および20とを接続して中継処理を行なう
中継処理装置30とから構成されている。
Referring to FIG. 1, this embodiment includes a host 10 that executes application programs AP1 and AP2, and a host 10 that executes application programs AP1 and AP2.
A host 20 running 3 and 9 real terminals 4
1, 42, 43, 44, 45, 46, 47, 48
and 49, and a relay processing device 30 that connects these real terminals 41 to 49 and the hosts 10 and 20 to perform relay processing.

中継処理装置30のうちには、ホスト10で実
行されるアプリケーシヨンプログラムAP1およ
びAP2と、ホスト20で実行されるアプリケー
シヨンプログラムAP1およびAP3の合計4つの
アプリケーシヨンプログラムに対応して4つの仮
想端末31,32,33および34がSG時に設
定され、これらの仮想端末は切替手段35によつ
て、9つの実端末41〜49と動的に対応付けら
れる。ホスト10および20と中継処理装置30
における○印はそれぞれの装置内における仮想端
末または実端末の映像を表わす。
In the relay processing device 30, there are four virtual terminals corresponding to a total of four application programs: application programs AP1 and AP2 executed on the host 10 and application programs AP1 and AP3 executed on the host 20. 31, 32, 33, and 34 are set at the time of SG, and these virtual terminals are dynamically associated with nine real terminals 41 to 49 by the switching means 35. Hosts 10 and 20 and relay processing device 30
The ○ mark in indicates an image of a virtual terminal or a real terminal within each device.

次に、中継処理装置30の詳細を実端末および
電文と共に示す第2図を参照すると、第2図は図
面の繁雑化を回避するために、2つのアプリケー
シヨンプログラムAP1およびAP2が4つの実端
末A,B,CおよびDを使用するようなオンライ
ンコンピユータシステムを想定して示されてい
る。
Next, referring to FIG. 2, which shows details of the relay processing device 30 together with real terminals and messages, in order to avoid complication of the drawing, in FIG. The illustration assumes an online computer system using A, B, C, and D.

中継処理装置30には、アプリケーシヨンプロ
グラムAP1およびAP2に1対1対応の2つのテ
ーブル51および52と、実端末A,B,Cおよ
びDに1対1対応の4つのテーブル53,54,
55および56が設けられている。
The relay processing device 30 includes two tables 51 and 52 in one-to-one correspondence with the application programs AP1 and AP2, and four tables 53, 54, in one-to-one correspondence with the real terminals A, B, C, and D.
55 and 56 are provided.

テーブル51および52はホスト管理用の情
報、たとえばそのテーブルが複数の実端末に共用
されるものであるか1つのホストに専用されるも
のであるか等を示すデータがSG時に書込まれる。
また、テーブル53,54,55および56は端
末管理用の情報が実端末A,B,CおよびDから
の電文によつて書込まれ、この書込まれた情報に
基づいて切替手段35がテーブル53〜56をテ
ーブル51と52のいずれかに接続する。
In the tables 51 and 52, information for host management, such as data indicating whether the table is shared by a plurality of real terminals or dedicated to one host, is written at the time of SG.
In addition, information for terminal management is written in the tables 53, 54, 55, and 56 by telegrams from the real terminals A, B, C, and D, and the switching means 35 changes the table based on this written information. 53 to 56 are connected to either table 51 or 52.

テーブル53,54,55および56はそれぞ
れ実端末A,B,CおよびDと固定的に対応付け
られる。一方、テーブル51および52は、SG
時にホスト側のアプリケーシヨンプログラム対応
のテーブル(図示省略)にテーブル51と52の
うちのいずれかを書込むことによつて、アプリケ
ーシヨンプログラムAP1とAP2のいずれとも対
応付けることができる。
Tables 53, 54, 55 and 56 are fixedly associated with real terminals A, B, C and D, respectively. On the other hand, tables 51 and 52 are SG
By writing either one of tables 51 and 52 into an application program correspondence table (not shown) on the host side, it is possible to associate the program with either application program AP1 or AP2.

さて、実端末Aとアプリケーシヨンプログラム
AP2との間の通信を例にとつて本実施例の動作
を説明する。
Now, the actual terminal A and the application program
The operation of this embodiment will be explained using communication with the AP 2 as an example.

先ず、実端末Aは第1の電文「$CON,AP
2」を送信する。この第1の電文はアプリケーシ
ヨンプログラムAP2との通信を要求するもので
あり、中継処理装置30の制御部(図示省略)は
アプリケーシヨンプログラムAP2対応のテーブ
ル52の使用状態をみて、もし空いていれば実端
末Aに許諾電文を返信し、切替手段35がテーブ
ル53とテーブル52とを接続するように制御す
る。
First, real terminal A sends the first message “$CON,AP
2” is sent. This first message requests communication with the application program AP2, and the control unit (not shown) of the relay processing device 30 checks the usage status of the table 52 corresponding to the application program AP2 and determines if it is empty. For example, a permission message is sent back to the actual terminal A, and the switching means 35 is controlled to connect the table 53 and the table 52.

このようにして実端末Aとアプリケーシヨンプ
ログラムAP2との間の通信パスが設定されたこ
とになるので、実端末Aは上述の許諾電文を受信
すると第2の電文「A、データ」を送信する。こ
の第2の電文は送信元の実端末名を付した通信デ
ータであり、第1の電文に基づいて設定された通
信パスを通つてアプリケーシヨンプログラムAP
2に届けられ処理される。
In this way, the communication path between the real terminal A and the application program AP2 is set up, so when the real terminal A receives the above-mentioned permission message, it sends the second message "A, data". . This second message is communication data attached with the real terminal name of the sender, and is sent to the application program AP through the communication path set based on the first message.
2 for processing.

このとき、ホスト上のアプリケーシヨンプログ
ラムAP2は電文中の実端末名を基にその処理を
行ない、この処理が終了すると、ホストは第3の
電文「A、応答」を、第2の電文「A、データ」
を受信した仮想端末に対して送信し、上述の通信
路を通つて実端末Aに届けられる。この第3の電
文は第2の電文に対するアプリケーシヨンプログ
ラムAP2による処理結果を通知するものであり、
実端末Aは第3の電文を受信すると応答内容によ
つて第4の電文「$DIS」または第2の電文
「A、データ」を送信する。
At this time, the application program AP2 on the host performs the process based on the actual terminal name in the message, and when this process is completed, the host sends the third message "A, response" to the second message "A. ,data"
is transmitted to the virtual terminal that received it, and delivered to the real terminal A through the above-mentioned communication path. This third message notifies the processing result of the application program AP2 for the second message,
When the real terminal A receives the third message, it transmits the fourth message "$DIS" or the second message "A, data" depending on the response content.

第2の電文「A、データ」の再送信は、ホスト
側の処理が正常に行なわれなかつたことによるも
のであるが、第4の電文「$DIS」は通信の終了
を告げるものである。中継処理装置30は、第4
の電文を受信すると切替手段35がテーブル53
とテーブル52との接続を解除するよう制御し、
これによつて通信が終了する。
The retransmission of the second message "A, data" is due to malfunction of processing on the host side, but the fourth message "$DIS" announces the end of communication. The relay processing device 30
When receiving the message, the switching means 35 switches to the table 53.
and the table 52,
This ends the communication.

なお、以上に述べた実施例は説明を単純化する
ために、中継処理装置は1つのみの比較的小規模
なシステムであるが、それぞれが多数の実端末を
ホストに中継処理する複数個の中継処理装置を有
するような実施例も容易に実現できる。
In order to simplify the explanation, the embodiment described above is a relatively small-scale system with only one relay processing device, but it is a relatively small-scale system with only one relay processing device. An embodiment including a relay processing device can also be easily implemented.

(発明の効果) 本発明によれば、以上に説明したように、SG
時に設定する仮想端末数は各ホストで実行される
アプリケーシヨンプログラムの合計数と同数でよ
くこの数は一般に実端末数より相当小ないため、
仮想端末の設定時間やホストダウン時における再
設定時間が短縮化できさらに仮想端末の設定に要
するホスト上の所要資源も小なくできる。
(Effect of the invention) According to the present invention, as explained above, the SG
The number of virtual terminals configured at the time should be the same as the total number of application programs running on each host, since this number is generally much smaller than the number of real terminals.
The time for setting up a virtual terminal and the time for resetting when a host goes down can be shortened, and the resources required on the host for setting up a virtual terminal can also be reduced.

また、仮想端末と実端末との結び付けは、実端
末からの電文によつて動的に行なわれるため、実
端末の構成に変更があつてもSGをやり直す必要
がなく、1つの仮想端末を複数個の実端末と同時
に結び付けたり逆に1つの実端末を複数個の仮想
端末に結び付けたり、実端末の多様な運用形態を
動的に採ることができる。
In addition, since the connection between the virtual terminal and the real terminal is done dynamically using a message from the real terminal, there is no need to redo the SG even if the configuration of the real terminal changes, and one virtual terminal can be connected to multiple It is possible to dynamically adopt a variety of operational modes for real terminals, such as connecting multiple real terminals at the same time, or conversely, linking one real terminal to multiple virtual terminals.

また、ホストでは実端末からの電文がどのよう
な通信経路で来たかを意識する必要がないため、
複数個の中継処理装置を有するシステムでは中継
処理装置の障害時には実端末と別の中継処理装置
とを交換回線で接続するだけで迂回処理が容易に
行なえるし、ホストと中継処理装置間の回線障害
時には中継処理装置と他の中継処理装置間を交換
回線で接続するだけで迂回処理が可能となる。
In addition, since the host does not need to be aware of the communication route through which the message from the actual terminal came,
In a system with multiple relay processing devices, when a relay processing device fails, detour processing can be easily performed by simply connecting the actual terminal and another relay processing device with a switched line, and the line between the host and the relay processing device can be easily bypassed. In the event of a failure, bypass processing can be performed simply by connecting the relay processing device and another relay processing device using a switched line.

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

第1図は本発明の一実施例、また第2図は本実
施例の詳細図をそれぞれ示す。 10,20……ホストコンピユータ(ホスト)、
30……中継処理装置、31,32,33,34
……仮想端末、35……切替手段、41,42,
43,44,45,46,47,48,49,
A,B,C,D……端末装置(実端末)、51,
52,53,54,55,56……テーブル。
FIG. 1 shows an embodiment of the present invention, and FIG. 2 shows a detailed diagram of this embodiment. 10, 20... host computer (host),
30... Relay processing device, 31, 32, 33, 34
...Virtual terminal, 35...Switching means, 41, 42,
43, 44, 45, 46, 47, 48, 49,
A, B, C, D...terminal device (actual terminal), 51,
52, 53, 54, 55, 56...table.

Claims (1)

【特許請求の範囲】 1 中継処理装置を介してホストコンピユータと
複数の端末装置との間で通信を行なうホスト・端
末間通信方式にいて、 前記ホストコンピユータで実行されるアプリケ
ーシヨンプログラムに1対1に対応する仮想端末
を前記中継処理装置に設定する手段と、 前記端末装置に配置され前記アプリケーシヨン
プログラムを指定した要求電文および前記要求電
文に対する前記中継処理装置からの許諾電文を待
つて前記端末装置の名称とデータとを含む通信電
文を送信する手段と、 前記中継処理装置に配置され前記要求電文を受
信するとき前記仮想端末の使用状態によつて前記
許諾電文を返信する手段および前記通信電文を前
記仮想端末を介して対応する前記ホストコンピユ
ータに転送する手段および前記通信電文に対する
前記ホストコンピユータからの応答電文を前記仮
想端末を介して前記端末装置に転送する手段と、 前記ホストコンピユータに配置され前記通信電
文を受信するとき前記アプリケーシヨンプログラ
ムによる処理を行なつた後に前記端末装置の名称
を付した前記応答電文を送信する手段と を備えることを特徴とするホスト・端末間通信方
式。
[Scope of Claims] 1. In a host-terminal communication method in which communication is performed between a host computer and a plurality of terminal devices via a relay processing device, there is a one-to-one communication with an application program executed on the host computer. means for setting a virtual terminal corresponding to the relay processing device in the relay processing device; and a means for setting a virtual terminal corresponding to the application program in the terminal device and waiting for a request message specifying the application program and a permission message from the relay processing device in response to the request message; means for transmitting a communication message including a name and data; a means arranged in the relay processing device for replying the permission message according to the usage state of the virtual terminal when receiving the request message; means for transferring a response message from the host computer to the communication message to the corresponding host computer via the virtual terminal; and means for transferring a response message from the host computer to the communication message to the terminal device via the virtual terminal; A communication system between a host and a terminal, comprising means for transmitting the response message with the name of the terminal device after performing processing by the application program when receiving a communication message.
JP60242055A 1985-10-28 1985-10-28 Communication system between host and terminal Granted JPS62100854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60242055A JPS62100854A (en) 1985-10-28 1985-10-28 Communication system between host and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60242055A JPS62100854A (en) 1985-10-28 1985-10-28 Communication system between host and terminal

Publications (2)

Publication Number Publication Date
JPS62100854A JPS62100854A (en) 1987-05-11
JPH0378659B2 true JPH0378659B2 (en) 1991-12-16

Family

ID=17083605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60242055A Granted JPS62100854A (en) 1985-10-28 1985-10-28 Communication system between host and terminal

Country Status (1)

Country Link
JP (1) JPS62100854A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0740133Y2 (en) * 1987-06-30 1995-09-13 東京瓦斯株式会社 Solenoid shutoff valve
JPH01255342A (en) * 1988-04-05 1989-10-12 Fujitsu Ltd Communication control system
JP2641806B2 (en) * 1991-02-26 1997-08-20 富士通株式会社 Data transfer method and data transfer device
US5283888A (en) * 1991-08-27 1994-02-01 International Business Machines Corporation Voice processing interface unit employing virtual screen communications for accessing a plurality of primed applications
EP0644483B1 (en) * 1993-09-14 1999-01-20 International Business Machines Corporation Computer system and method for performing multiple tasks
JP2000148647A (en) 1998-11-17 2000-05-30 Fujitsu Ltd Information processing method and information processing apparatus and recording medium

Also Published As

Publication number Publication date
JPS62100854A (en) 1987-05-11

Similar Documents

Publication Publication Date Title
EP2047370B1 (en) Method and apparatus for distributing usb hub functions across a network
US8200880B2 (en) Shared system of I/O equipment, shared system of information processing apparatus, and method used thereto
CN114253740A (en) Protocol stack data transmission method and device based on Linux kernel
JPH0331027B2 (en)
CN101102305A (en) System and method for managing network information processing
JPH114279A (en) Advanced intersystem transmission method and mechanism
JPH0378659B2 (en)
JPH0213158A (en) Message transmission method
Hobgood The role of the network control program in systems network architecture
JP2005050298A (en) Computer system, computer, data communication method and program
JP3217086B2 (en) Message Communication Method between Standby Controller and Message Device in Redundant System
JPH0697857A (en) Resource sharing system by power-line carrier
JPH0650488B2 (en) Communication controller
JP2600017B2 (en) Communication line sharing method between virtual machines
JPS61267859A (en) Decentralized processing system
JPS5961337A (en) Electronic mail system
CN115733748A (en) Plug-and-play high-determinism configuration-free design method for airborne FC network
JPS62118656A (en) Full duplex communication control system
JPH0530109A (en) Lan distributer
JPH022760A (en) Network relay route determination method
JPH04267659A (en) Interactive communication system
Walden Note on Interprocess Communication in a Resource Sharing Computer Network
JPH03234140A (en) Selection system for computer network path
JPS6159022B2 (en)
JPH01131945A (en) Communication control equipment