JPS63204348A - System for controlling data input/output of information processing system - Google Patents

System for controlling data input/output of information processing system

Info

Publication number
JPS63204348A
JPS63204348A JP3665887A JP3665887A JPS63204348A JP S63204348 A JPS63204348 A JP S63204348A JP 3665887 A JP3665887 A JP 3665887A JP 3665887 A JP3665887 A JP 3665887A JP S63204348 A JPS63204348 A JP S63204348A
Authority
JP
Japan
Prior art keywords
data
terminal device
input
command
output
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.)
Granted
Application number
JP3665887A
Other languages
Japanese (ja)
Other versions
JPH0752425B2 (en
Inventor
Takashi Hieda
隆 稗田
Toshikazu Yamaguchi
利和 山口
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP3665887A priority Critical patent/JPH0752425B2/en
Publication of JPS63204348A publication Critical patent/JPS63204348A/en
Publication of JPH0752425B2 publication Critical patent/JPH0752425B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program 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)

Abstract

PURPOSE:To reduce overhead due to an input/output interruption processing at a CPU, etc., by storing a data directly on a memory part without generating input/output interruption to a central processing part until when data length arrives at designated data length at the time of generating the input of the data from a terminal equipment. CONSTITUTION:A READ and a START commands are issued from the CPU 10 to a terminal equipment control part (IOC) 40 in advance, and when data input from the terminal equipment 50 is generated, the IOC stores the data from the terminal equipment in a memory 20 directly without issuing the interruption to the CPU. In such a way, no input/output interruption to the CPU, start up of the terminal equipment from the CPU, and input/output interruption of storage completion from the terminal equipment to a main memory are generated, and it is possible to reduce the overhead due to those processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理システムのデータ入出力制御方式に関
り、詳しくは、情報処理システムに接続される端末装置
との間でデータ転送を実行する場合の、該情報処理シス
テム内の端末装置制御部でのデータの入出力制御方式に
関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a data input/output control method for an information processing system, and more specifically, to a method for transferring data between terminal devices connected to the information processing system. The present invention relates to a data input/output control method in a terminal device control unit in the information processing system when the information processing system is used.

〔従来の技術〕[Conventional technology]

第2図は情報処理システムの一般的構成を示したもので
、中央処理部(CPU)10と主メモリ部(MEM)2
0とチャネル部(CH)30が互いに接続されると共に
、チャネル部30に端末装置制御部(IOC)40が接
続され、さらに、工0C40の配下に複数の端末装[5
0が接続される。以下に端末装置50からデータ入力処
理要求が出された場合の従来の動作を説明する。
Figure 2 shows the general configuration of an information processing system, with a central processing unit (CPU) 10 and a main memory unit (MEM) 2.
0C and a channel section (CH) 30 are connected to each other, a terminal device control section (IOC) 40 is connected to the channel section 30, and a plurality of terminal devices [5
0 is connected. The conventional operation when a data input processing request is issued from the terminal device 50 will be described below.

端末装置!50からのデータ入力処理要求は、工0C4
0が端末装v!t50からのデータ&CH30を介して
MEM20に転送する動作(READ動作)あるいはM
EM20からCH30を介してデータを端末装置5.0
へ転送する動作(WRITE動作)のいずれも実行中で
ない場合、l0C40で受付けられ、CH30を介して
CPUl0に入出力割込みとして報告される。CPUl
0は、l0C40からの入出力割込みを受付けると、そ
の割込みの内容を判別し、CH30,l0C40を介し
て1割込みを発生させた端末装置50に対しREAD動
作を指示した起動を行う、l0C40はCPjUloか
らの起動により、端末装置50からの入力データを受取
り、C:H30を介してMEM20に格納後、動作完了
を報告するために再度CPUl0に対し入出力割込みを
発生する。CPUl0は、2回目の入出力割込みにより
端末装置50からの入出力動作を終了する。
Terminal device! Data input processing requests from 50 are sent to Engineering 0C4.
0 is the terminal device v! Data from t50 & operation to transfer to MEM20 via CH30 (READ operation) or M
Data from EM20 to terminal device 5.0 via CH30
If no operation (WRITE operation) to transfer the data to is being executed, it is accepted by l0C40 and reported as an input/output interrupt to CPU l0 via CH30. CPUl
When 0 receives an input/output interrupt from l0C40, it determines the contents of the interrupt and starts the terminal device 50 that generated the 1 interrupt via CH30 and l0C40 by instructing a READ operation.l0C40 is CPjUlo. Upon activation from , it receives input data from the terminal device 50, stores it in the MEM 20 via C:H30, and then generates an input/output interrupt to the CPU10 again to report the completion of the operation. CPU10 ends the input/output operation from the terminal device 50 due to the second input/output interrupt.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術では、端末装置からのデータ入力処理の場
合、端末装置制御部からCPUへの入出力割込みが2回
発生するために、情報処理システムと端末装置間のデー
タ転送時間が長くなってしまうという問題がある。特に
、端末装置から短いデータが頻繁に入力される場合、端
末装置制御部からCPUへの入出力割込みと、CPUか
ら端末装置に対する起動が頻繁に発生することになり、
CPU上で走行するプログラムによるオーバヘッドのた
め端末応答時間が伸びることになる。また。
In the above conventional technology, in the case of data input processing from a terminal device, input/output interrupts from the terminal device control unit to the CPU occur twice, resulting in a long data transfer time between the information processing system and the terminal device. There is a problem. In particular, if short data is frequently input from the terminal device, input/output interrupts from the terminal device control unit to the CPU and activation of the terminal device from the CPU will occur frequently.
The overhead of programs running on the CPU will increase terminal response time. Also.

端末装置からのデータ入力処理要求が、端末装置制御部
において別の端末装置とのREAD動作。
A data input processing request from a terminal device causes the terminal device control unit to perform a READ operation with another terminal device.

あるいはWRITE動作を実行中に発生した場合。Or when it occurs while executing a WRITE operation.

実行中の動作の終了を待って端末装置からのデータ入力
処理要求が受付けられることになり、端末装置制御部に
おける処理受付までの待ち時間により端末応答時間が伸
びることになる。
The data input processing request from the terminal device is accepted after the completion of the operation being executed, and the terminal response time is extended due to the waiting time until the terminal device control unit accepts the processing.

一方、情報処理システムでは、端末装置においてサポー
トされているデータのREAD動作とWRITE動作の
同時動作(全二重動作)機能を有効に活用し、端末応答
時間の短縮を図っている。
On the other hand, in information processing systems, the simultaneous operation (full-duplex operation) function of data READ and WRITE operations supported by terminal devices is effectively utilized to shorten terminal response time.

このために、一つの端末装置に対して二つの論理アドレ
スを付与する方法が採られている。すなわち、端末装置
に対しREAD動作を行うアドレス(n)と、WRIT
E動作を行うアドレス(m)を付与し、アプリケーショ
ン・ソフトに対し仮想的な二つの装置として提供する。
For this purpose, a method has been adopted in which two logical addresses are assigned to one terminal device. In other words, the address (n) for performing the READ operation on the terminal device, and the WRIT
An address (m) for performing the E operation is assigned, and the device is provided as two virtual devices to the application software.

アプリケーション・ソフトはREAD動作を実行する場
合はアドレスnに対してコマンドを実行しデータの読み
込みを行い、WRITE動作を実行する場合はアドレス
mに対してコマンドを実行し、データの入出力を°行う
、端末装置制御部はアドレスを単位に端末装置の制御を
行うため、この二つの動作が同時に実行される。この結
果、端末装置の全二重動作が有効に利用され、READ
/WRITE処理の同時実行により、端末応答時間の短
縮が可能となる。
When the application software executes a READ operation, it executes a command to address n to read data, and when it executes a WRITE operation, it executes a command to address m to input and output data. Since the terminal device control unit controls the terminal device on an address-by-address basis, these two operations are executed simultaneously. As a result, the full-duplex operation of the terminal device is effectively utilized and READ
By simultaneously executing /WRITE processing, terminal response time can be shortened.

しかし、本方式では、実際に一つの端末装置を論理的に
二つの端末装置としてアクセスするため。
However, in this method, one terminal device is actually accessed logically as two terminal devices.

端末装置における障害発生時の異常処理、データに対す
るリカバリ処理等が複雑になる0例えば、アドレスnに
おけるREAD動作と、アドレスmにおけるWRITE
動作を同時に実行中に、WRITE動作で障害が発生し
コマンドの動作が異常終了した場合、別の装置であるア
ドレスnのREAD動作も同時に異常終了し、アドレス
m、nの二つの装置のリカバリ処理が必要になる。この
ため、アプリケーション・ソフトにおいて論理的には二
つの端末装置に関連する特殊なエラーリカバリ用のプロ
グラムが必要になる。
Abnormal processing when a failure occurs in a terminal device, recovery processing for data, etc. become complicated. For example, READ operation at address n and WRITE operation at address m
If a failure occurs in the WRITE operation and the command operation terminates abnormally while operations are being executed simultaneously, the READ operation of another device at address n will also terminate abnormally at the same time, and recovery processing for the two devices at addresses m and n will be completed. is required. Therefore, a special error recovery program logically related to the two terminal devices is required in the application software.

本発明の目的は、端末装置に対し一つのアドレスのみ付
与することにより従来の情報処理システムにおける入出
力制御との互換性を保持しつへ、CPUへの入出力割込
みを発生することなく、端末装置から入力されたデータ
を直接メモリ内に格納し、CPUでの入出力割込み処理
等によるオーバヘッドを削減すると共に、端末装置でサ
ポートされている全二重動作機能を有効に活用し、端末
装置から情報処理システムへのデータの入力動作と、情
報処理システムから端末装置へのデータ出力動作等を同
時に実行可能とすることにより、端末応答時間の短縮を
図ることにある。
It is an object of the present invention to maintain compatibility with input/output control in conventional information processing systems by assigning only one address to a terminal device, and to prevent input/output from occurring on the terminal without causing input/output interruption to the CPU. Data input from the device is stored directly in memory, reducing the overhead caused by input/output interrupt processing in the CPU, etc., and making effective use of the full-duplex operation function supported by the terminal device. The object of the present invention is to shorten terminal response time by making it possible to simultaneously execute data input operations to an information processing system and data output operations from the information processing system to a terminal device.

〔問題点を解決するための手段及び作用〕本発明は、C
PUからIOCに対して前以ってREAD 5TART
コマンドを発行しておき、端末装置からのデータ入力処
理が発生した場合、IOCはCPUへ入出力割込みを発
することなく。
[Means and effects for solving the problems] The present invention is based on C
READ 5TART from PU to IOC in advance
When a command is issued and data input processing from a terminal device occurs, the IOC does not issue an input/output interrupt to the CPU.

端末装置からのデータをメモリへ直接格納するようにし
たものである。
The data from the terminal device is directly stored in the memory.

これにより、CPUに対する入出力割込み、CPUから
の端末装置の起動、端末装置からのデータの主メモリへ
の格納終了の入出力割込みが発生せず、これらの処理に
伴うオーバヘッドが削減される。さらに、READ  
5TARTコマンドを前以って発行しておくことにより
、端末装置でサポートされている全二重動作機能を活用
すると、後から発行されるWRITEコマンドによりメ
モリから端末装置へのデータ出力動作と、端末装置から
メモリへのデータの入力動作が同時に実行され、端末装
置応答時間の短縮が実現される。
As a result, input/output interrupts to the CPU, activation of the terminal device from the CPU, and input/output interrupts for completion of storing data from the terminal device to the main memory do not occur, and the overhead associated with these processes is reduced. Furthermore, READ
By issuing the 5TART command in advance and taking advantage of the full duplex operation function supported by the terminal device, the WRITE command issued later allows data output from the memory to the terminal device and Data input operations from the device to the memory are performed simultaneously, and the response time of the terminal device can be shortened.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明における端末装機制御部の一実施例の構
成図を示したもので、情報処理システムの全体の構成は
第2図に示す通りとする。
FIG. 1 shows a configuration diagram of one embodiment of a terminal equipment control section according to the present invention, and the overall configuration of the information processing system is as shown in FIG. 2.

第1図において、端末装置制御部(IOC)40は、チ
ャネルインタフェース部101、IOC内部の状態管理
部102、パラメータ保持部103、WRITE動作制
御部104、READ動作制御部105、端末装置信号
線制御部106、データバッファ107、信号線のドラ
イバ・レシーバ回路108により構成されている。
In FIG. 1, a terminal device control unit (IOC) 40 includes a channel interface unit 101, an internal state management unit 102, a parameter holding unit 103, a WRITE operation control unit 104, a READ operation control unit 105, and a terminal device signal line control unit. 106, a data buffer 107, and a signal line driver/receiver circuit 108.

チャネルインタフェース部101は、チャネル部(CH
)30を経由して、主メモリ部(MEM)20とl0C
40間の情報転送の実行、及びCPU101とl0C1
04間での起動・終了処理に伴う情報転送を行う。
The channel interface section 101 has a channel section (CH
) 30, the main memory unit (MEM) 20 and l0C
Execution of information transfer between 40 and CPU 101 and 10C1
Transfers information associated with startup and termination processing between 04 and 04.

IOC内部の状態管理部102は、CPUl0の起動に
より指定された端末装置50に関する動作を開始し、C
H30を経由してMEM20からコマンドをフェッチし
、これを解析、実行する。
The state management unit 102 inside the IOC starts the operation related to the terminal device 50 specified by the activation of the CPU10, and
A command is fetched from the MEM20 via the H30, analyzed and executed.

また、IOC内部の状態を管理し、異常状態の検出報告
を行うと共に、前以ってREAD動作の実行が指定され
ている場合、バックグラウンド処理としてのREAD動
作を実行する。
It also manages the internal state of the IOC, reports the detection of abnormal conditions, and executes the READ operation as background processing if execution of the READ operation is specified in advance.

パラメータ保持部103は、端末装機制御の為に必要な
制御情報(主メモリアドレス、転送データ長、端末装置
のデータ転送速度等)の保持、及びバックグラウンド処
理としてのREAD動作が指示されているか否かの状態
を保持する。
Is the parameter holding unit 103 instructed to hold control information necessary for terminal device control (main memory address, transfer data length, data transfer speed of the terminal device, etc.) and to perform a READ operation as background processing? Holds the state of “no”.

WRITE′動作制御部104は、チャネルインタフェ
ース部101によりMEM20から読み出されたデータ
をWRITE用データバッファ107−1に受取り、こ
のバッファから順次データを取り出して端末装置50に
転送するための制御機能を有し、端末袋w、50への転
送データ量の管理、パリティ情報の付加、バイトデータ
のビットデータへの変換等を行い、ドライバ回路10B
−1に送る。また、WRITEバッファ107−1の管
理により、データのアンダーラン等のエラー検出を行う
The WRITE' operation control unit 104 receives the data read out from the MEM 20 by the channel interface unit 101 into the WRITE data buffer 107-1, and has a control function to sequentially extract data from this buffer and transfer it to the terminal device 50. The driver circuit 10B manages the amount of data transferred to the terminal bag w, 50, adds parity information, converts byte data to bit data, etc.
Send to -1. Furthermore, by managing the WRITE buffer 107-1, errors such as data underruns are detected.

READ動作制御部105は、端末装置50から非同期
に転送されてくる情報を受取り、ビットデータからバイ
トデータへの変換、パリティエラーの検出等の受信デー
タの正常性の確認を行い。
The READ operation control unit 105 receives information asynchronously transferred from the terminal device 50, and performs confirmation of the normality of the received data, such as converting bit data to byte data and detecting parity errors.

READ用デー少データバッファ10フ保持する。Holds 10 low data buffers for READ.

また、READデータバッファ107−2の管理を行い
、データオーバラン等のエラー検出を行う共に、状態管
理部102に対してMEM20へのデータの格納を要求
する。
It also manages the READ data buffer 107-2, detects errors such as data overruns, and requests the state management unit 102 to store data in the MEM 20.

端末装置信号線制御部106は、本I OC40と端末
装置50間に必要な信号線の制御を行い、WRITE動
作制御部104、READ動作制御部105に対してデ
ータ転送動作実行の許可・禁止の指示、端末装置50の
状態の検出等を行う。
The terminal device signal line control unit 106 controls the signal lines necessary between the present IOC 40 and the terminal device 50, and instructs the WRITE operation control unit 104 and the READ operation control unit 105 to permit or prohibit execution of data transfer operations. It performs instructions, detects the state of the terminal device 50, etc.

データバッファ107は、MEM20から読み出したデ
ータを保持するWRITE用バッファ107−1、及び
、端末袋[50から受信したデータを保持するREAD
用バッファ107−2を有している。
The data buffer 107 includes a WRITE buffer 107-1 that holds data read from the MEM 20, and a READ buffer 107-1 that holds data received from the terminal bag [50].
buffer 107-2.

信号線のドライバ・レシーバ回路108は、WRITE
動作制御部104から端末袋[50へのデータ転送に必
要なドライバ回路108−1、端末装置[50から送出
されたデータを受け取るためのレシーバ回路108−2
、及び端末装置信号線制御部106と端末袋$150間
の信号線のドライバ・レシーバ回路108−3よりなる
The signal line driver/receiver circuit 108 is a WRITE
A driver circuit 108-1 necessary for data transfer from the operation control unit 104 to the terminal bag [50], a receiver circuit 108-2 for receiving data sent from the terminal device [50]
, and a driver/receiver circuit 108-3 for the signal line between the terminal device signal line control unit 106 and the terminal bag $150.

第3図は情報処理システムが端末装置を制御するために
発行するチャネルプログラムの一例である。第3図では
、まずバックグラウンド処理を開始させるためのREA
D系コマンドを発行し、2回のWRITE動作の実行後
に、バックグランド処理として実行中のREAD動作を
停止させるチャネルプログラムの例を示している。
FIG. 3 is an example of a channel program issued by an information processing system to control a terminal device. In Figure 3, we first use the REA to start background processing.
This shows an example of a channel program that issues a D-type command, executes two WRITE operations, and then stops the READ operation being executed as background processing.

以下、第3図のチャネルコマンドを例に、第1図のIO
Cにおける処理の流れを説明する。
Below, using the channel command in Figure 3 as an example, the IO command in Figure 1 is
The flow of processing in C will be explained.

(1)  CPUl0からの起動をCH30を介して受
け付けると、状態管理部102はチャネルプログラムの
実行を開始する。まず、MEM20からチャネルプログ
ラムの先頭のSET PARAMETERコマンドをフ
ェッチする。SET PARAMETERコマンドは端
末装置の動作環境をプログラムが端末装置制御部に転送
するコマンドである。状態管理部102はSET PA
RAMETERコマンドを検出すると、該コマンドに基
いてMEM20から複数の制御パラメータ(端末装置の
データ転送速度、データ長、データ転送時のバッファ制
御方式等、及びSET PARAMETERコマンドの
最大実行時間など)をフェッチし、パラメータ保持部1
03に保持する。以降のコマンドによる端末装置制御は
、対応する端末装置アドレスのパラメータ保持部103
の内容に従って実行する。
(1) Upon receiving the activation from CPUl0 via CH30, the state management unit 102 starts executing the channel program. First, the SET PARAMETER command at the beginning of the channel program is fetched from the MEM 20. The SET PARAMETER command is a command by which the program transfers the operating environment of the terminal device to the terminal device control unit. The state management unit 102 performs SET PA
When a RAMETER command is detected, multiple control parameters (data transfer rate of the terminal device, data length, buffer control method during data transfer, etc., maximum execution time of the SET PARAMETER command, etc.) are fetched from the MEM 20 based on the command. , parameter holding unit 1
03. Terminal device control by subsequent commands is performed by the parameter holding unit 103 of the corresponding terminal device address.
Execute according to the contents.

(2)SET PARAMETERコマンドを終了する
と、状態管理部202はチェインされている次のLIN
E 0PEN:i?:/ドをMEM20から取り出し、
実行する。LINE 0PENコマンドはIOCと端末
装置間のインタフェースを確立するコマンドである。状
態管理部102はLINE 0PENコマンドを検出す
ると、端末装置信号線制御部106に指示し、指定され
た端末装置とIOC間のデータ転送動作を開始するため
に必要なl0C40と端末装置[500間の信号線の0
N10FFを設定すル、コれ以降1本I 0C40は端
末装置50から転送されるデータを有効データとして、
READ動作制御部205によりREAD用デー少デー
タバッファ10フ格納される。
(2) When the SET PARAMETER command ends, the state management unit 202 updates the next LIN in the chain.
E0PEN:i? Take out :/ from MEM20,
Execute. The LINE 0PEN command is a command that establishes an interface between the IOC and the terminal device. When the state management unit 102 detects the LINE 0PEN command, it instructs the terminal device signal line control unit 106 to transfer data between the 10C40 and the terminal device [500] necessary to start the data transfer operation between the specified terminal device and the IOC. 0 of signal line
After setting N10FF, one I0C40 sets the data transferred from the terminal device 50 as valid data,
The READ operation control unit 205 stores the READ data in the low data buffer 10 .

(3)  LINE  0PENコマンドを終了すると
(3) When you finish the LINE 0PEN command.

状態管理部102はチェインされている次のREAD 
 5TARTコマンドをMEM2Qから取り出し、実行
する。READ 5TARTコマンドはWRITE動作
等のバックグランド処理として、コマンドにより指定さ
れたMEMアドレスに端末装置からの転送された入力デ
ータを格納する動作を状態管理部102に指示するコマ
ンドである。
The state management unit 102 selects the next chained READ
5Fetch the TART command from MEM2Q and execute it. The READ 5TART command is a command that instructs the state management unit 102 to perform an operation of storing input data transferred from the terminal device in the MEM address specified by the command as a background process such as a WRITE operation.

READ  5TARTコマンドを受け取ると、状態管
理部102は本コマンドによりREAD 5TARTコ
マンドを実行中であることを示すパラメータ保持部10
3内のフラグをONとし、端末装置[50から転送され
たデータを格納するMEMアドレスと、MEM20に転
送するデータ長をパラメータ保持部103に保持し、R
EAD動作制御部105に対しREAD動作を指示する
。READ動作制御部105は、状態管理部102のR
EAD  5TARTコマンドの指示により、端末装置
から有効なデータが1バイト以上入方されてバッファ1
07−2に格納されていると、状態管理部102にデー
タ送出を要求し、チャネルインタフェース部101を経
由して直接MEM20内に該データを格納する。この動
作は、パラメータ保持部103に保持している転送デー
タ長が0になるか、READ 5TARTコマンドの実
行時間がSET PARAMETERコマンドで指定さ
れた時間を経過するか、又は、別のREAD系コマンド
あるいは5TOP  READコマンドを検出するまで
他の処理とは独立に実行する。
Upon receiving the READ 5TART command, the state management unit 102 uses this command to set the parameter holding unit 10 indicating that the READ 5TART command is being executed.
3 is set to ON, the MEM address for storing the data transferred from the terminal device [50] and the data length to be transferred to the MEM 20 are held in the parameter holding unit 103, and the R
It instructs the EAD operation control unit 105 to perform a READ operation. The READ operation control unit 105 controls R of the state management unit 102.
According to the EAD 5TART command, one or more bytes of valid data are input from the terminal device and buffer 1 is filled.
07-2, the state management section 102 is requested to send the data, and the data is directly stored in the MEM 20 via the channel interface section 101. This operation occurs when the transfer data length held in the parameter holding unit 103 becomes 0, when the execution time of the READ 5TART command passes the time specified by the SET PARAMETER command, or when another READ command or 5 Execute independently of other processes until a TOP READ command is detected.

(4)状態管理部102は、READ動作制御部105
に対するREAD動作を指示すると、チェインされてい
る次のWRITEコマンドをMEM20から取り出し、
実行する。WRITEコマンドは主メモリの内容を端末
装置に転送するコマンドであり、状態管理部102はM
EM20上のデータアドレスと転送データ長をWRIT
E動作制御部104に設定し、WRITE動作制御部1
04にWRITE動作を起動する。WRITE動作制御
部104は状態管理部102からの起動により、MEM
20から順次データを読み出し、WRITE用バッファ
107−1を介して端末装置50に転送する。指定され
たデータの転送が終了すると、WRITE動作制御部1
04は状態管理部102に対してデータ転送終了を報告
する。状態管理部102はWRITE動作制御部104
からの終了報告を待って1本コマンドの動作を完了する
(4) The state management unit 102 controls the READ operation control unit 105
When a READ operation is instructed for the command, the next chained WRITE command is retrieved from the MEM20, and
Execute. The WRITE command is a command to transfer the contents of the main memory to the terminal device, and the state management unit 102
WRIT the data address and transfer data length on EM20
E operation control unit 104 and WRITE operation control unit 1
Start the WRITE operation in 04. The WRITE operation control unit 104 is activated by the state management unit 102, and the MEM
Data is sequentially read from 20 and transferred to the terminal device 50 via the WRITE buffer 107-1. When the transfer of the specified data is completed, the WRITE operation control unit 1
04 reports the completion of data transfer to the state management unit 102. The state management unit 102 is the WRITE operation control unit 104
The operation of one command is completed by waiting for the completion report from.

(5)  最初のWRITEコマンドを終了すると、状
態管理部102はチェインされている次のWRITEコ
マンドをMEM20から取り出し、再び(4)の処理を
MEM20のアドレスに対して実行する。
(5) When the first WRITE command is finished, the state management unit 102 retrieves the next chained WRITE command from the MEM 20 and executes the process (4) again on the address of the MEM 20.

(6)2番目のWRITEコマンドを終了すると。(6) When the second WRITE command is finished.

状態管理部102はチェインされている次の5TOP 
 READコマンドをMEM20から取り出し、実行す
る。5TOP READコマンドは。
The state management unit 102 selects the next 5 TOPs that are chained.
The READ command is taken out from the MEM 20 and executed. 5TOP READ command.

先に発行されているREAD  5TARTコマンドの
動作を終了させるコマンドであり、状態管理部102は
、本コマンドによりREAD  5TARTコマンドを
実行中であることを示すパラメータ保持部103内のフ
ラグをOFFとし、READ動作制御部105に対しR
EAD動作の終了を指示する。この結果、これ以降端末
装[50から転送されてくるデータはデータバッファ1
07のREAD用バッファ107−2に保持され、ME
M20に転送されない、READ動作制御部105から
のREAD  5TARTコマンド終了報告により、状
態管理部102はREAD 5TARTコマンドにより
正常に転送したデータ長をMEM20内の指定された領
域に格納し、処理を終了する。
This command terminates the operation of the previously issued READ 5TART command. With this command, the state management unit 102 turns off the flag in the parameter holding unit 103 indicating that the READ 5TART command is being executed. R for the operation control unit 105
Instructs to end the EAD operation. As a result, from now on, data transferred from the terminal device [50] will be transferred to the data buffer 1.
It is held in the READ buffer 107-2 of ME
In response to the READ 5TART command completion report from the READ operation control unit 105 that is not transferred to the MEM 20, the state management unit 102 stores the data length that was successfully transferred by the READ 5TART command in the specified area in the MEM 20, and ends the process. .

(7)  5TOP  READコマンドを終了すると
、状態管理部102はチェインされている次のLINE
  CLO5EコマンドをMEM20から取り出し、実
行する。LINE CLO3EコマンドはIOCと端末
装置間のインタフェースを切断するコマンドである。状
態管理部102はLINECLO8Eコマンドにより、
パラメータ保持部103で保持しているデータをクリア
し、また、端末装置信号線制御部106に指示して端末
装置50とl0C40間の信号線をOFFとする。これ
以降端末装[50から転送されるデータの受信は行わな
い。
(7) When the 5TOP READ command ends, the state management unit 102 selects the next LINE in the chain.
The CLO5E command is taken out from the MEM 20 and executed. The LINE CLO3E command is a command that disconnects the interface between the IOC and the terminal device. The state management unit 102 uses the LINECLO8E command to
It clears the data held in the parameter holding unit 103 and also instructs the terminal device signal line control unit 106 to turn off the signal line between the terminal device 50 and the 10C 40. From now on, data transferred from the terminal device [50] will not be received.

(8)LINE CLO8Eコマンドにより、状態管理
部102はチャネルプログラムの終了処理を行い、CP
Ul0に対して終了ステータスの報告を行う。
(8) In response to the LINE CLO8E command, the state management unit 102 performs termination processing of the channel program, and
Reports the completion status to Ul0.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、端末装置から頻
繁にデータの入力が発生する場合、前もってREAD 
 5TARTコマンドを端末装阪制御部に発行しておく
ことにより、入出力割込みを伴わずに端末装置からの入
力データが所定メモリ内に格納され、CPUはメモリ内
の情報をチェックすることにより端末装置からのデータ
を得ることが可能である。この結果、CPUに対する入
出力割込み、CPUからの端末装置の起動、端末装置か
らのデータのメモリへの格納終了等の入出力割込みが発
生せず、これらの処理に伴うオーバヘッドが削減され、
端末装置応答時間が短縮できる。
As explained above, according to the present invention, when data is frequently input from a terminal device, the READ
By issuing the 5TART command to the terminal control unit, the input data from the terminal device is stored in a predetermined memory without input/output interruption, and the CPU checks the information in the memory to control the terminal device. It is possible to obtain data from. As a result, input/output interrupts such as input/output interrupts to the CPU, startup of the terminal device from the CPU, and completion of storing data from the terminal device to memory do not occur, and the overhead associated with these processes is reduced.
Terminal device response time can be shortened.

さらに、端末装置から情報システム内の所定メモリへの
データ格納をWRITEコマンドに先立って発行してお
くことにより、後から発行されるWRITEコマンドに
よるメモリから端末装置へのデータ出力動作と、端末装
置から情報処理システムへのデータの入力動作が同時に
実行され、端末装置応答時間の短縮が実現される。
Furthermore, by issuing a WRITE command to store data from the terminal device to a predetermined memory within the information system, data output operations from the memory to the terminal device by the WRITE command issued later, and data storage from the terminal device Data input operations to the information processing system are performed simultaneously, and the response time of the terminal device can be shortened.

また、端末装置から入力されたデータの内容により、そ
れ以上のデータ入力が不要となった場合や、アプリケー
ション・プログラムがデータ入力を必要としない処理を
開始する場合等に、5TOPREADコマンドを発行す
ることにより、端末装置からの不要なデータの入力を禁
止し、端末装置制御部、CPUにおける入力処理に伴う
オーバヘッドが削減できる。
In addition, the 5TOPREAD command may be issued when the content of the data input from the terminal device makes it unnecessary to input any more data, or when the application program starts processing that does not require data input. As a result, input of unnecessary data from the terminal device is prohibited, and overhead associated with input processing in the terminal device control unit and CPU can be reduced.

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

第1図は本発明による端末装置制御部の一実施例の構成
図、第2図は本発明で対象とする情報処理システムの全
体の構成図、第3図は第1図及び第2図の動作を説明す
るためのチャネルプログラムの一例を示す図である。 10・・・中央処理部(CPU)。 20・・・主メモリ部(MEM)。 20・・・チャネル(CH)、 40・・・端末装置制御部(IOC)。 50・・・端末装置。 101・・・チャネルインタフェース部。 102・・・IOC内部の状態管理部、103・・・パ
ラメータ保持部、 104・・・WRITE動作制御部、 105・・・READ動作制御部、 106・・・端末装置信号線制御部。 107・・・データバッファ、 108・・・信号線のドライバ・レシーバ回路。 第1図 第2図 7隋匈V哉y!システム・ (1ンST:T  PA尺△METERつ (2)LIJE  OF已N ツ (7)LINJE  CLOBE cノずラメータフFトス〕 C C 〔l(EM’7ド°し又、テ”−タカラント〕C [MEけγドシス、テ゛°−タカウント〕C [M日寸了)′° レス、テ゛−タカウント〕O 〔ステータス穆丙MEI’l了ドし又3C
FIG. 1 is a block diagram of an embodiment of a terminal device control unit according to the present invention, FIG. 2 is a block diagram of the entire information processing system targeted by the present invention, and FIG. FIG. 3 is a diagram showing an example of a channel program for explaining the operation. 10...Central processing unit (CPU). 20...Main memory section (MEM). 20... Channel (CH), 40... Terminal device control unit (IOC). 50...Terminal device. 101...Channel interface section. 102... IOC internal state management section, 103... Parameter holding section, 104... WRITE operation control section, 105... READ operation control section, 106... Terminal device signal line control section. 107...Data buffer, 108...Signal line driver/receiver circuit. Figure 1 Figure 2 Figure 7 Sui Xiong Vyay! System ・ (1 ST: T PA shaku △ METER tsu (2) LIJE OF 已 N tsu (7) LINJE CLOBE c nozu la meter tuff F toss) ]C [MEKey dosis, data count]C [M day size completed)'°Response, data count]O

Claims (2)

【特許請求の範囲】[Claims] (1)中央処理部、メモリ部、及び端末装置を制御する
端末装置制御部を有する情報処理システムにおいて、 前記中央処理部は前記端末制御部に対して、端末装置か
らの入力データの前記メモリ部への直接格納と、該格納
するデータ長を前以って指定して、 前記端末装置制御部は、端末装置からデータの入力が発
生すると、前記指定されたデータ長までは、中央処理部
への入出力割込みを発生することなく、前記メモリ部へ
直接格納し、端末装置から前記指定されたデータ長を越
えたデータの入力が発生した場合に中央処理部へ入出力
割込みを発生する、 ことを特徴とする情報処理システムのデータ入出力制御
方式。
(1) In an information processing system having a central processing unit, a memory unit, and a terminal device control unit that controls a terminal device, the central processing unit transmits input data from the terminal device to the memory unit. By specifying in advance the data length to be stored and the data length to be stored, the terminal device control unit stores data up to the specified data length to the central processing unit when data is input from the terminal device. storing the data directly in the memory unit without generating an input/output interrupt, and generating an input/output interrupt to the central processing unit when data exceeding the specified data length is input from the terminal device. A data input/output control method for an information processing system characterized by:
(2)前記端末装置制御部は、前記端末装置からのデー
タのメモリ部への格納処理継続中に、中央処理部から格
納停止の指示を受け取ると、端末装置から入力されるデ
ータのメモリ部への直接格納処理を終了し、停止指示を
受けた時点までにメモリ部に格納したデータ長を中央処
理部に報告し、それ以降の端末装置からデータ入力が発
生した場合、中央処理部に入出力割込みを発生すること
を特徴とする特許請求の範囲第1項記載の情報処理シス
テムのデータ入出力制御方式。
(2) When the terminal device control unit receives an instruction to stop storage from the central processing unit while the data from the terminal device is being stored in the memory unit, the terminal device control unit stores the data input from the terminal device in the memory unit. The data length stored in the memory unit up to the point in time when the stop instruction is received is reported to the central processing unit, and if data input occurs from the terminal device after that, the input/output to the central processing unit is completed. A data input/output control method for an information processing system according to claim 1, characterized in that an interrupt is generated.
JP3665887A 1987-02-19 1987-02-19 Data input / output control method for information processing system Expired - Lifetime JPH0752425B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3665887A JPH0752425B2 (en) 1987-02-19 1987-02-19 Data input / output control method for information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3665887A JPH0752425B2 (en) 1987-02-19 1987-02-19 Data input / output control method for information processing system

Publications (2)

Publication Number Publication Date
JPS63204348A true JPS63204348A (en) 1988-08-24
JPH0752425B2 JPH0752425B2 (en) 1995-06-05

Family

ID=12475956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3665887A Expired - Lifetime JPH0752425B2 (en) 1987-02-19 1987-02-19 Data input / output control method for information processing system

Country Status (1)

Country Link
JP (1) JPH0752425B2 (en)

Also Published As

Publication number Publication date
JPH0752425B2 (en) 1995-06-05

Similar Documents

Publication Publication Date Title
EP0141742A2 (en) Buffer system for input/output portion of digital data processing system
JP2978539B2 (en) Data transfer control device
US5623622A (en) Memory access control system which prohibits a memory access request to allow a central control unit to perform software operations
US5481756A (en) DMA controller mailing auto-initialize halting unit
US5961614A (en) System for data transfer through an I/O device using a memory access controller which receives and stores indication of a data status signal
EP0267974A1 (en) Control interface for transferring data between a data processing unit and input/output devices
JPS63204348A (en) System for controlling data input/output of information processing system
US6134642A (en) Direct memory access (DMA) data transfer requiring no processor DMA support
JPH02129746A (en) Input/output channel equipment
JPS581454B2 (en) Input/output control method
JP2533886B2 (en) Data transfer method
JPS61250758A (en) Communication controller
JPH04316149A (en) Dma processor and information processor
JPS638506B2 (en)
JPS5922462A (en) Communication control system
JPH02135558A (en) Indirect address designating system in input/output channel device
JP2000298639A (en) Transmitting circuit, receiving circuit, interface circuit, system controller, input-output controller and information processor
JPS6252342B2 (en)
JPH1153291A (en) Fast data transfer system
JPS596413B2 (en) channel control device
JPH03266158A (en) Channel device
JPH0314055A (en) Communication controller
JPS61210465A (en) Buffer control device
JPH04192028A (en) Control system for data sent to printer
JPH0460258B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term