JPS607305B2 - Terminal control method - Google Patents
Terminal control methodInfo
- Publication number
- JPS607305B2 JPS607305B2 JP55043597A JP4359780A JPS607305B2 JP S607305 B2 JPS607305 B2 JP S607305B2 JP 55043597 A JP55043597 A JP 55043597A JP 4359780 A JP4359780 A JP 4359780A JP S607305 B2 JPS607305 B2 JP S607305B2
- Authority
- JP
- Japan
- Prior art keywords
- message
- register
- terminal
- transmission
- reception
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Description
【発明の詳細な説明】
本発明は、端末を中央装置に接続して成るオンライン・
システムに関し、特に問い合わせ回答処理を基本とする
システムにおいて、センタから問い合わせとは非同期に
発生する一方受信データを処理するときの制御方式に関
するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention provides an online system that connects terminals to a central device.
The present invention relates to a system, and particularly to a system based on inquiry/answer processing, and relates to a control method when processing received data that is generated asynchronously with inquiries from a center.
中央装置と多数の端末装置が端末装置のデータ転送を制
御する端末制御装置を介して接続されたシステムにおい
て、端末装置からキーィンによって中央装置にデータの
転送を要求する問い合わせ〆ッセージを発生させ、これ
を端末制御装置のレジスタに格納し、これを端末制御装
置は中央装置へ送り、中央装置はこのメッセージに従っ
てデータを送出するというデータ転送制御手順がとられ
る。また、これとは別に、端末装置の問い合わせに関係
なく一方的に中央装置から端末装置にデータを転送する
こともある。In a system in which a central device and a number of terminal devices are connected via a terminal control device that controls data transfer of the terminal devices, the terminal device generates an inquiry message requesting data transfer to the central device by key-in, and A data transfer control procedure is adopted in which the message is stored in the register of the terminal control device, the terminal control device sends it to the central device, and the central device sends out the data in accordance with this message. Additionally, data may be unilaterally transferred from the central device to the terminal device regardless of the terminal device's inquiry.
(一方送信という)このときは中央装置から一方送信メ
ッセージが発行され、これを受けつけることが要求され
る。これが受けつけられると中央装置からデータの転送
があり、端末装置の出力機能(プリンタ等)に出力され
る。(referred to as one-way transmission) In this case, a one-way transmission message is issued from the central device, and acceptance of the message is requested. When this is accepted, the data is transferred from the central device and output to the output function (printer, etc.) of the terminal device.
このようなメッセージは情報の転送開始の仲介として端
末制御装置に格納されることが必要である。従来、端末
装置からの問い合わせ〆ツセージとは非同期に発生する
中央装置からの一方送信メッセージの受信要求があるオ
ンライン・システムにおいては、端末制御装置内部のレ
ジス夕を端末装置ごとに送信用と受信用に2面設ける方
法をとるか、または、端末制御装置内のレジスタを、送
信用と受信用と兼用した場合は、入出力装置からの問い
合わせ〆ッセージが、送受信レジスタにある状態で、中
央装置より一方送信メッセージの要求を受けたとき、問
い合わせ内容を破壊して、一方送信メッセージを受信し
、端末装置へ出力するとともに、前記問い合わせ内容の
再送起動を行なう方法をとるか、または一方送信メッセ
ージ要求を受けたとき、送受信レジスタが使用中である
ことを、中央装置へ知らせて、一方送信メッセージ要求
を却下する方法をとっていた。Such a message needs to be stored in the terminal control device as an intermediary for starting the transfer of information. Conventionally, in online systems where there is a request to receive a one-way message from the central device that occurs asynchronously with the inquiry message from the terminal device, registers inside the terminal control device are set up for sending and receiving messages for each terminal device. If the register in the terminal control unit is used for both transmission and reception, the inquiry message from the input/output device is sent from the central unit while it is in the transmission/reception register. When receiving a request for a one-sided transmission message, either destroys the inquiry contents, receives the one-sided transmission message, outputs it to the terminal device, and starts retransmission of the inquiry contents, or one-sided transmission message request is performed. When a message is received, the central device is informed that the sending/receiving register is in use, and the sending message request is rejected.
まず、端末装置ごとに、送信レジスタと受信レジス夕を
各々談けた場合は、端末制御装置内に、多くのレジスタ
が必要となり、メモリ容量がふえるという問題があり、
また送信用、受信用を兼用した場合で、問い合わせ〆ッ
セージを破壊して〜一方送信メッセージを端末へ出力す
る場合には、問い合わせメッセージの再起動のための、
操作者の介入が必要となるし、送受信レジスタが使用中
である旨を中央装置へ知らせる方法をとるにしても、そ
れを知らせる方法が中央との伝送制御手順上、定義され
ているものではならないし、新しく、その手順を定義す
るとすれば、中央装置まで手を加えなくてはならなかっ
た。First, if each terminal device were to be able to set its own transmitting register and receiving register, a large number of registers would be required within the terminal control device, which would increase the memory capacity.
Also, when used for both sending and receiving, if the inquiry message is destroyed and the sent message is output to the terminal, the following steps are required to restart the inquiry message.
Operator intervention is required, and even if a method is used to notify the central device that the transmitting/receiving register is in use, the method of notifying the central device must not be defined in the transmission control procedure with the central device. However, if we were to define a new procedure, we would have to modify the central equipment.
本発明の目的は、中央装置と端末装置間の伝送制御手順
を変えることなく、また、端末制御装置内のレジスタの
数を、端末の個数ごとにふやすことなく、1つまたは複
数の退避レジスタを追加するだけで、端末装置からの問
い合わせとは非同期に発生する中央装置よりの一方の送
信メッセージを、自動的に処理するものである。An object of the present invention is to save one or more save registers without changing the transmission control procedure between the central device and the terminal devices, and without increasing the number of registers in the terminal control device for each number of terminals. By simply adding this, messages sent from the central device that occur asynchronously with inquiries from terminal devices can be automatically processed.
本発明の特徴とする点は、端末制御装置が、入出力装置
からの問い合わせメッセージを送受信レジス夕に保有し
ている場合に、中央装置より一方送信メッセージの受信
要求を受けたとき、各入出力装置で共有する退避レジス
夕に、一時、問い合わせ〆ッセージを、退避して、一方
送信メッセ−ジを送受信用レジスタに受け、そのメッセ
ージを入出力装置へ出力処理終了後、問い合わせ〆ッセ
ージを送受信用レジス外こ回復することにより、すみや
かに一方送信メッセージを入出力装置へ出力するととも
に、自動的に問い合わせ〆ッセージを送信要求状態に復
帰するものである。A feature of the present invention is that when a terminal control device holds an inquiry message from an input/output device in its sending/receiving register, when it receives a request to receive a unilaterally sent message from the central device, each input/output device Temporarily save the inquiry message in the save register shared by the device, receive the sent message in the sending/receiving register, output the message to the input/output device, and then send the inquiry message for sending/receiving. By recovering the register, the one-way transmission message is promptly output to the input/output device, and the inquiry message is automatically returned to the transmission request state.
次に本発明の具体例につき、図面を用いて詳細に説明す
る。Next, specific examples of the present invention will be explained in detail using the drawings.
第1図に中央装置1と回線4を介して接続される端末シ
ステムを示す。端末システムは端末制御装置2と、それ
に接続される端末装置3から構成され、1台の端末制御
装置で複数のチャネル5を有し、チャネル対応に複数台
の端末装置をサポートする。第2図は第1図の端末制御
装置の機能ブロックを説明するもので、入出力装置およ
び中央装置のメッセージ処理用の送受信レジスタ6と各
送受信レジスタ共通の退避エリアとして、1つの退避レ
ジスタ7とそれを制御する送受信制御回路8とそのとき
必要な情報がセットされている制御情報部9と、中央装
置への送信及び受信処理を行なう送受信回路10からな
る。FIG. 1 shows a terminal system connected to a central device 1 via a line 4. As shown in FIG. The terminal system is composed of a terminal control device 2 and a terminal device 3 connected thereto.One terminal control device has a plurality of channels 5, and supports a plurality of terminal devices corresponding to the channels. FIG. 2 explains the functional blocks of the terminal control device shown in FIG. 1, in which one save register 7 is used as a save area common to the transmitting/receiving register 6 for message processing of the input/output device and the central unit, and each transmitting/receiving register. It consists of a transmission and reception control circuit 8 that controls it, a control information section 9 in which information necessary at that time is set, and a transmission and reception circuit 10 that performs transmission and reception processing to the central unit.
第3図は、送受信制御回路8の動作を示すフローチャ−
トである。第4図は、本端末装置の動作を示すタイムチ
ャートである。FIG. 3 is a flowchart showing the operation of the transmission/reception control circuit 8.
It is. FIG. 4 is a time chart showing the operation of this terminal device.
中央装置との伝送上の監視手順には、端末装置にある問
い合わせ〆ツセージを中央装置へ送信するための中央装
置からの要求(以下これをボーリングと呼ぶ)、中央装
置が入出力装置へメッセージを出力するための中央装置
からの要求(以下これをセレクションと呼ぶ)、ボーリ
ングを受けたときに端末装置に問い合わせ〆ッセージが
ないことを知らせる応答(以下これをEOTと呼ぶ)、
セレクションを受けたときに端末装置が受信許可状態で
あることを知らせる応答(以下これをACKと呼ぶ)お
よびセレクションを受けたときに端末装置が受信拒否状
態であることを知らせる応答(以下これをNAKと呼ぶ
)があり、この手順により端末装置の動作を説明する。
はじめに、ボーリングを受けたときの処理についてのべ
る。送受信回路1川まボーリングを受けると、それを送
受信制御回路8へ知らせる。送受信制御回路8は制御情
報部9を調べ、該当する入出力装置3に対応する送受信
レジスタ6に中央装置1への問い合わせ〆ッセージの送
信要求があれば、送受信回路1川こ問い合わせ〆ツセー
ジを送信する起動を行ない、送信要求がなければ、送受
信回路1川こEOTを送信する起動を行なう。次にセレ
クションを受けたときの処理についてのべる。送受信回
路10は、セレクションを受けるとそれを送受信制御回
路8へ知らせる。The monitoring procedure for transmission with the central device includes a request from the central device to send an inquiry message from the terminal device to the central device (hereinafter referred to as "boring"), and a request from the central device to send a message to the input/output device from the central device. A request from the central device for output (hereinafter referred to as selection), a response to the terminal device when receiving bowling and informing that there is no closing message (hereinafter referred to as EOT),
A response informing that the terminal device is in a receiving permission state when receiving a selection (hereinafter referred to as ACK), and a response informing that the terminal device is in a reception refusing state when receiving a selection (hereinafter referred to as NAK) ), and the operation of the terminal device will be explained using this procedure.
First, I will talk about what happens when you are bowled. When the transmitting/receiving circuit 1 receives the boring, it notifies the transmitting/receiving control circuit 8 of the boring. The transmission/reception control circuit 8 checks the control information section 9, and if there is a request to send an inquiry closing message to the central unit 1 in the transmission/reception register 6 corresponding to the corresponding input/output device 3, the transmission/reception circuit 1 transmits the inquiry closing message. If there is no transmission request, the transmitter/receiver circuit 1 is activated to transmit EOT. Next, I will explain what happens when a selection is received. Upon receiving the selection, the transmitting/receiving circuit 10 notifies the transmitting/receiving control circuit 8 of the selection.
送受信制御回路8は制御情報部9を調べ、該当する端末
装置3に対応する送受信レジスタ6が空いていない状態
であれば、退避レジスタ7が空いている(使用中でない
)かチェックし、空いていなければ、送受信回路101
こNAKを送信する起動を行なう。退避レジスタ7が空
いているならば、送受信用レジスタ6の内容を退避レジ
スタ7に転送し、送受信レジスタ6を空けた後、送受信
回路10にACKを送信する起動を行なう。なお、セレ
クションを受けたとき送受信レジスタ6が空いているな
らば、送受信回路10にACKを送信する起動を行なう
。送受信回路10は、送受信制御回路8より送信起動を
受けると対応する送信動作を行なった後、ボーリングま
たはセレクション受信待ち状態となるが、ACK送信後
については、中央装置1からのメッセージ受信態勢には
いり、中央装置1より送受信レジス夕にメッセージを受
信すると送受信制御回路8へ受信を知らせる。The transmission/reception control circuit 8 checks the control information section 9, and if the transmission/reception register 6 corresponding to the corresponding terminal device 3 is not empty, it checks whether the save register 7 is empty (not in use) and checks whether the save register 7 is empty (not in use). If not, the transmitter/receiver circuit 101
Activation is performed to send this NAK. If the save register 7 is empty, the contents of the transmit/receive register 6 are transferred to the save register 7, the transmit/receive register 6 is emptied, and then the transmit/receive circuit 10 is activated to transmit an ACK. Note that if the transmission/reception register 6 is empty when receiving the selection, the transmission/reception circuit 10 is activated to transmit an ACK. When the transmitting/receiving circuit 10 receives a transmission activation from the transmitting/receiving control circuit 8, it performs a corresponding transmitting operation and then enters a waiting state for receiving a bowling or selection. However, after transmitting an ACK, it is not ready to receive a message from the central device 1. , when a message is received from the central device 1 at the sending/receiving register, it notifies the sending/receiving control circuit 8 of the reception.
送受信制御回路8は受信メッセージを端末装置3へ出力
する様、チャネル5へ指示する。チャネル5が入出力装
置3へ受信メッセージを出力したならば送受信レジスタ
6を空きにする。このとき退避レジスタ7に問い合わせ
〆ッセージが退避されているならば、退避されている問
い合わせ〆ツセージを退避レジスタ7から送受信レジス
タ6へ回復し送信要求状態にするとともに、退避レジス
タ7を空ける。以上により、端末装置3からの問い合わ
せ〆ツセージが送受信レジスタ6にあるときに、それと
は非同期に中央装置1より送信される一方送信メッセー
ジを、退避レジスタ7を設けることにより、いちはやく
端末装置3へ出力することができ、また先にセットされ
ていた問い合わせ〆ツセージについても、自動的に回復
し送信要求状態に戻ることができる。The transmission/reception control circuit 8 instructs the channel 5 to output the received message to the terminal device 3. When the channel 5 outputs the received message to the input/output device 3, the transmission/reception register 6 is made empty. At this time, if the inquiry message has been saved in the save register 7, the saved inquiry message is restored from the save register 7 to the transmission/reception register 6 and put into a transmission request state, and the save register 7 is vacated. As described above, when the inquiry message from the terminal device 3 is in the sending/receiving register 6, the sending message, which is sent from the central device 1 asynchronously, is quickly output to the terminal device 3 by providing the save register 7. In addition, the previously set inquiry closing message can be automatically recovered and returned to the transmission request state.
第1図は、中央装置と端末装置からなるオンライン・シ
ステムの構成図である。
第2図は、端末制御装置のブロック構成図である。第3
図は、送受信制御回路の動作フローチャートである。第
4図は、各種動作を示すタイミングチャートである。1
:中央装置、2:端末制御装置、3:入出力装置、4:
回線、5:チャネル、6:送受信レジスタ、7:退避レ
ジスタ、8:送受信制御回路、9:制御情報部、10:
送受信回路。
才’図
才2図
才4図
才3図FIG. 1 is a block diagram of an online system consisting of a central device and terminal devices. FIG. 2 is a block diagram of the terminal control device. Third
The figure is an operation flowchart of the transmission/reception control circuit. FIG. 4 is a timing chart showing various operations. 1
: Central device, 2: Terminal control device, 3: Input/output device, 4:
line, 5: channel, 6: transmission/reception register, 7: save register, 8: transmission/reception control circuit, 9: control information section, 10:
Transmission/reception circuit. Sai' Figure Sai 2 Figure Sai 4 Figure Sai 3 Figure
Claims (1)
接続され、前記中央装置と端末装置間で情報の転送が行
なわれるものであって、前記端末装置は中央からの情報
の転送を要求する問い合わせメツセージを発行し、前記
中央装置は前記問い合わせメツセージに関係なく前記端
末装置へ情報を転送することを要求する一方送信メツセ
ージを発行するシステムにおいて、前記端末制御装置は
各端末装置に対応して設けられ、前記問い合わせメツセ
ージまたは一方送信メツセージを格納する送受信レジス
タと、少なくとも1個の退避レジスタとを有し、前記問
い合わせメツセージ、一方送信メツセージが発行される
と前記送受信レジスタに格納して転送制御を行ない、前
記問い合わせメツセージが前記送受信レジスタに格納さ
れている場合に前記一方送信メツセージがあったときは
前記退避レジスタの状態をチエツクし、もし空いていな
ければ前記中央装置に受信拒否の応答を行ないもし空い
ていれば前記問い合わせメツセージを前記退避レジスタ
に移し、前記一方送信メツセージを送受信レジスタに格
納して情報の転送をを行ない、その後で前記退避レジス
タの内容を前記送受信レジスタに戻すことを特徴とする
端末制御方式。1 A central device and a plurality of terminal devices are connected via a terminal control device, information is transferred between the central device and the terminal devices, and the terminal device requests information transfer from the center. In a system in which an inquiry message is issued, and the central device issues a transmission message while requesting that information be transferred to the terminal device regardless of the inquiry message, the terminal control device is provided corresponding to each terminal device. and has a transmission/reception register for storing the inquiry message or the one-way transmission message, and at least one save register, and when the inquiry message or one-way transmission message is issued, it is stored in the transmission/reception register and transfer control is performed. When the inquiry message is stored in the sending/receiving register and there is a one-way sending message, the status of the save register is checked, and if it is not empty, a reception rejection response is sent to the central device. If so, the terminal moves the inquiry message to the save register, stores the one-way message in the send/receive register to transfer information, and then returns the contents of the save register to the send/receive register. control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55043597A JPS607305B2 (en) | 1980-04-04 | 1980-04-04 | Terminal control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55043597A JPS607305B2 (en) | 1980-04-04 | 1980-04-04 | Terminal control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56143046A JPS56143046A (en) | 1981-11-07 |
| JPS607305B2 true JPS607305B2 (en) | 1985-02-23 |
Family
ID=12668208
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55043597A Expired JPS607305B2 (en) | 1980-04-04 | 1980-04-04 | Terminal control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS607305B2 (en) |
-
1980
- 1980-04-04 JP JP55043597A patent/JPS607305B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56143046A (en) | 1981-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4106104A (en) | Data transferring system with priority control and common bus | |
| JPS607305B2 (en) | Terminal control method | |
| JPH0473178B2 (en) | ||
| JPS6113262B2 (en) | ||
| US5557613A (en) | Simultaneous broadcasting method and apparatus for interrupting communication units in an exclusive mode | |
| KR910008425B1 (en) | Apparatus and method for exchanging information between various terminals | |
| JPH054040Y2 (en) | ||
| JP2541471B2 (en) | Communication control method | |
| JPH0423533A (en) | Resending control processing method | |
| JPH0234518B2 (en) | ||
| JPS6258579B2 (en) | ||
| JPH0418652A (en) | data communication system | |
| JPH02244831A (en) | Radio communication system | |
| JPS59153352A (en) | Bus access system | |
| JPH0661072B2 (en) | Reception trigger control method | |
| JPH0267830A (en) | Switching system for mobile communication system | |
| JPH04111561A (en) | Communication system | |
| JPS6380359A (en) | Common resource managing method | |
| JPS5968062A (en) | Process abnormality detection system | |
| JPH01137847A (en) | Data transmission control method | |
| JPH01110585U (en) | ||
| JPH02114739A (en) | Data transmission/reception system between terminal equipment and host computer | |
| JPS6212235A (en) | transmission control device | |
| JPS61260350A (en) | Parallel processing control system | |
| JPS5824254A (en) | Packet buffer-free system |