JPS63245754A - Input/output control system for information processing system - Google Patents

Input/output control system for information processing system

Info

Publication number
JPS63245754A
JPS63245754A JP8155187A JP8155187A JPS63245754A JP S63245754 A JPS63245754 A JP S63245754A JP 8155187 A JP8155187 A JP 8155187A JP 8155187 A JP8155187 A JP 8155187A JP S63245754 A JPS63245754 A JP S63245754A
Authority
JP
Japan
Prior art keywords
command
input
address
request block
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.)
Pending
Application number
JP8155187A
Other languages
Japanese (ja)
Inventor
Masahiro Tajima
田嶋 雅広
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP8155187A priority Critical patent/JPS63245754A/en
Publication of JPS63245754A publication Critical patent/JPS63245754A/en
Pending 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

Abstract

PURPOSE:To allow a master system to execute I/O operation without requiring a table for controlling device numbers and logical channel numbers by storing the addresses of I/O request block storing areas in a command to a slave device. CONSTITUTION:When the master system 100 requires I/O processing to/from the slave system 300, the master system 100 forms a command and a request block in a main storage part 130. The formed command and request block are transferred to a command transfer part 120 and the transfer part 120 stores the address of the requesting source and return information and transfers the command to the slave system 300. The slave system 300 receiving the command stores the command in a command storing part 330 and analyzes a command code by a common execution part 320 to start operation. After ending operation based upon the command code obtained from the command execution part 320, the execution part 320 forms an end result and transfers the formed result to an end result transfer part 310. The transfer part 310 transfers the end result to the master system 100 to end the operation of all commands.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理システムにおける入出力制御方式に
関し、特に入出力要求の待ち合せ管理に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output control method in an information processing system, and particularly relates to queue management of input/output requests.

〔従来の技術〕[Conventional technology]

従来、この種の入出力制御方式は、下位システム内の装
置番号や上位システムと下位システム間でとりきめた論
理チャネル番号を使用しており、使用するにあたりこれ
ら全ての装置番号、論理チャネル番号に対応したエント
リをもつテーブルをもっている。上位システムは下位シ
ステムに指令を発行する時、このテーブルを使用し、装
置番号や論理チャネル番号に対応したテーブル内のエン
トリに指令発行中を示すと共に終了待ちとして要求を登
録する。下位システムが指令を実行し終ると、上位シス
テムは指令を発行した装置番号、又は、論理チャネル番
号を得てテーブルの対応するエントリを検索して、指令
発行中の解除及び指令終了待ちを解除して指令発行要求
元のプログラムに制御をもどすことによって一連の入出
力動作を終了する方法をとっていた。
Conventionally, this type of input/output control method uses device numbers within the lower system and logical channel numbers determined between the higher and lower systems, and when used, it is necessary to support all of these device numbers and logical channel numbers. I have a table with entries. When the higher-level system issues a command to the lower-level system, it uses this table and indicates that the command is being issued in the entry in the table corresponding to the device number or logical channel number, and registers the request as waiting for completion. When the lower system finishes executing the command, the higher system obtains the device number or logical channel number that issued the command, searches for the corresponding entry in the table, and releases the command being issued and the command completion waiting state. The method used was to return control to the program that issued the command issue request, thereby completing the series of input/output operations.

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

上述した従来の入出力制御方式は、発行した指令と、終
了した指令の対応をとるのに装置番号や論理チャネル番
号を使用しているため、全ての装置番号や論理チャネル
番号に対応したテーブルを作成しておき、指令発行中及
び解除、指令実行待ち登録及び解除の入出力制御を行な
わなければならないことから上位システムの負荷が大き
くなるという欠点がある。
The conventional input/output control method described above uses device numbers and logical channel numbers to correspond between issued commands and completed commands, so it is necessary to create a table that corresponds to all device numbers and logical channel numbers. This has the disadvantage that the load on the host system increases because it is necessary to create a command and perform input/output control during command issuance and release, and registration and release of command execution.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の入出力制御方式は、上位システムから下位シス
テムに発行する指令内に、入出力要求パラメータとプロ
セス情報を含む入出力要求プロ・ンクの記憶領域のアド
レスを設定して、前記下位システムに指令を転送する手
段と、下位システムからの指令終了報告受信時に終了報
告内に格納されている入出力要求ブロックの記憶領域の
アドレスを使用して入出力終了処理を行なう手段とをそ
なえ、下位システムは指令を実行し、その実行結果を上
位システムに通知する時に、実行結果のステータスと共
に指令を受けた時のアドレスを上位システムに転送する
手段とを有している。
The input/output control method of the present invention sets the address of a storage area of an input/output request program containing input/output request parameters and process information in a command issued from a higher level system to a lower level system. The lower system is equipped with means for transferring commands, and means for performing input/output completion processing using the address of the storage area of the input/output request block stored in the completion report when receiving a command completion report from the lower system. has means for transmitting the address at the time the command was received together with the status of the execution result to the host system when executing the command and notifying the host system of the execution result.

〔実施例〕〔Example〕

次に本発明ついて図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。本
発明の入出力制御方式は、プロセ・ンサ110と、指令
転送部120と、主記憶部130と、終了受信部140
とを含む上位システム100と、終了結果転送部310
と、指令実行部320と、指令記憶部330とを含む下
位システム300と、上位システム100と下位システ
ム300の間でデータ転送を行なうための転送経路20
0とから構成されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. The input/output control method of the present invention includes a processor 110, a command transfer section 120, a main storage section 130, and an end receiving section 140.
a host system 100 including a completion result transfer unit 310;
, a lower system 300 including a command execution unit 320 and a command storage unit 330, and a transfer path 20 for transferring data between the upper system 100 and the lower system 300.
It is composed of 0.

第2図は本発明の詳細な説明するための指令131と要
求フロック132の形式の一例を示す図である。指令1
31内の指令コードは下位システム300になにをさせ
るかの指令コード、指令サイズは指令131の全体の容
量を示ず。アドレス情報は要求ブロック132の主記憶
部130内でのアドレスが格納される。指令情報は指令
コードによって動作を行なうために必要な情報である。
FIG. 2 is a diagram showing an example of the format of a command 131 and a request block 132 for explaining the present invention in detail. Directive 1
The command code in 31 indicates what the lower system 300 should do, and the command size does not indicate the overall capacity of the command 131. As the address information, the address of the request block 132 within the main storage unit 130 is stored. Command information is information necessary to perform an operation according to a command code.

要求ブロック132内の論理資源番号は、上位システム
100に下位システム300が複雑接続される場合に区
別を行なうための番号である。
The logical resource number in the request block 132 is a number for distinguishing when the lower system 300 is connected to the upper system 100 in a complicated manner.

出力データサイズは指令の容量を示す。出力データアド
レスは指令が主記憶部130のと−こにあるかを示すア
ドレスが格納される。入力データサイズは下位システム
300の指令実行結果を格納する領域の容量を示す。入
力データアドレスは実行結果を格納する主記憶部130
のアドレスを示す。要求元アドレスには指令発行要求元
のアドレスが格納される。もどり情報は指令発行要求時
のプロセス制御に必要な情報(たとえばプログラムステ
ータスやレジスタ)が格納される。
The output data size indicates the capacity of the command. As the output data address, an address indicating where the command is located in the main storage section 130 is stored. The input data size indicates the capacity of the area for storing the command execution results of the lower system 300. The input data address is the main memory unit 130 that stores the execution results.
Indicates the address of The address of the command issuing request source is stored in the request source address. The return information stores information (for example, program status and registers) necessary for process control at the time of a command issue request.

第3図は下位システム300が指令131を実行した結
果を上位システム100に通知するための終了結果32
1の形式の一例を示す図である。
FIG. 3 shows a termination result 32 for notifying the upper system 100 of the result of the execution of the command 131 by the lower system 300.
FIG. 1 is a diagram showing an example of format No. 1;

終了コードは指令が正常終了したのか、どの様な異常終
了したのかを示すコードである。データサイズは終了結
果として転送されるデータの容量を示す。アドレス情報
は第2図の指令131によって得たアドレス情報がその
まま格納される。終了情報には指令を実行した結果の情
報が格納される。
The termination code is a code that indicates whether the command terminated normally or what kind of abnormal termination occurred. The data size indicates the amount of data transferred as a result of completion. The address information obtained by the command 131 in FIG. 2 is stored as is. The end information stores information on the result of executing the command.

以下第1図、第2図及び第3図を参照して本発明の動作
について説明する。上位システム100が下位システム
300に対し入出力処理が必要になると、上位システム
100は主記憶部]30内に第2図に示す指令(第2図
131)と要求ブロック(第2図132)を作成する。
The operation of the present invention will be described below with reference to FIGS. 1, 2, and 3. When the higher-level system 100 needs input/output processing for the lower-level system 300, the higher-level system 100 stores the command (131 in FIG. 2) and request block (132 in FIG. 2) shown in FIG. 2 in the main memory 30. create.

作成された指令131と要求ブロック132は指令転送
部120に渡され、要求元アドレスともどり情報を格納
し下位システム300へ指令131を転送する。この転
送は、指令131を下位システム300へ、単に転送す
るだけで指令131を実行するわけではない。転送が済
むと指令転送部120は、次の指令転送要求を待つ。
The created command 131 and request block 132 are passed to the command transfer unit 120, which stores the request source address and return information and transfers the command 131 to the lower system 300. This transfer merely transfers the command 131 to the lower system 300, but does not execute the command 131. Once the transfer is completed, the command transfer unit 120 waits for the next command transfer request.

指令を受けた下位システム300は、指令131を指令
記憶部330に格納し、指令実行部320によって指令
コードを解析して、指令コードに従がっな動作を開始す
る。指令実行部320での指令コードに従かった動作が
終了すると指令実行部320は第3図に示す終了結果を
作成し、終了結果転送部310に渡す。終了結果転送部
310は終了結果を上位システム100に転送して全て
の指令131の動作を終了する。
The lower system 300 that has received the command stores the command 131 in the command storage unit 330, analyzes the command code by the command execution unit 320, and starts an operation according to the command code. When the command execution unit 320 completes the operation according to the command code, the command execution unit 320 creates a completion result shown in FIG. 3 and passes it to the completion result transfer unit 310. The end result transfer unit 310 transfers the end result to the host system 100 and ends the operations of all commands 131.

終了結果を受けた上位システム100の終了受信部14
0は終了結果内に格納されたアドレス情報(第3図)を
得て要求ブロック132を得る。
Termination receiving unit 14 of the host system 100 that received the termination result
0 obtains the request block 132 by obtaining the address information (FIG. 3) stored in the termination result.

終了受信部140は要求ブロック132を元に、もどり
情報を再設定し要求元アドレスで示されるアドレスに制
御を渡すことによって動作を終了する。
The end receiving unit 140 resets the return information based on the request block 132 and ends the operation by passing control to the address indicated by the request source address.

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

以上説明したように本発明は、下位システムへの指令内
に、入出力要求パラメータとプロセス情報を含む入出力
要求ブロックの記憶領域のアドレスを格納して、下位シ
ステムに転送し、下位システムは指令を終了した時に上
位システムから受けたアドレスを送りかえすことにより
、上位システムは装置番号や論理チャネル番号管理用の
テーブルを必要とすることなく入出力動作が行なえる。
As explained above, the present invention stores the address of the storage area of the input/output request block containing the input/output request parameters and process information in the command to the lower system, transfers it to the lower system, and the lower system receives the command. By sending back the address received from the higher-level system when the process is completed, the higher-level system can perform input/output operations without requiring tables for device number or logical channel number management.

これによってテーブルの検索を必要としないため上位シ
ステムの入出力制御処理の簡素化が計れ、負荷が低減で
きる効果がある。
This eliminates the need for table searches, which simplifies the input/output control processing of the host system and has the effect of reducing the load.

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

第1図は本発明の入出力制御方式の一実施例を示すブロ
ック図、第2図は第1図の上位システムが入出力要求を
行なうために作成する要求ブロックと指令の内容の一例
を示す図、第3図は指令の実行結果を示す終了結果の内
容の一例を示す図である。 100・・・上位システム、110・・・プロセッサ、
120・・・指令転送部、130・・・主記憶部、14
0・・・終了受信部、200・・・転送経路、300・
・・下位システム、310・・・終了結果転送部、32
0・・・指令実行部、330・・・指令記憶部、132
・・・要求ブロック、131・・・指令、321・・・
終了結果。 一つ − 第1 図
Fig. 1 is a block diagram showing an embodiment of the input/output control method of the present invention, and Fig. 2 shows an example of the contents of a request block and commands created by the upper system of Fig. 1 to make an input/output request. FIG. 3 is a diagram showing an example of the contents of the completion result indicating the execution result of the command. 100... Upper system, 110... Processor,
120... Command transfer unit, 130... Main storage unit, 14
0... End receiving unit, 200... Transfer route, 300...
...lower system, 310...completion result transfer unit, 32
0... Command execution unit, 330... Command storage unit, 132
...Request block, 131...Command, 321...
End result. One - Figure 1

Claims (1)

【特許請求の範囲】[Claims] 上位システムと、該上位システムからの指令を実行する
下位システムとよりなる情報処理システムの入出力制御
方式において、前記上位システムは前記下位システムに
対する指令内に、入出力要求パラメータと指令情報を含
む入出力要求ブロックの記憶領域のアドレスを設定して
、前記下位システムに該指令を転送する手段と、前記下
位システムからの指令終了報告受信時に終了報告内に格
納されている前記入出力要求ブロックの記憶領域のアド
レスを使用して入出力終了処理を行なう手段とをそなえ
、前記下位システムは指令を実行し、該実行結果を前記
上位システムに通知する時に、実行結果のステータスと
共に前記入出力要求ブロックの記憶領域のアドレスを前
記上位システムに転送する手段をそなえてなることを特
徴とする情報処理システムの入出力制御方式。
In an input/output control method for an information processing system consisting of a higher-level system and a lower-level system that executes commands from the higher-level system, the higher-level system includes an input that includes input/output request parameters and command information in a command to the lower-level system. means for setting the address of a storage area of an output request block and transferring the command to the lower system; and storage of the input/output request block stored in the completion report when receiving a command completion report from the lower system. means for performing input/output termination processing using the address of the area, and when the lower system executes a command and notifies the upper system of the execution result, the lower system sends the input/output request block along with the status of the execution result. An input/output control method for an information processing system, comprising means for transferring an address of a storage area to the host system.
JP8155187A 1987-04-01 1987-04-01 Input/output control system for information processing system Pending JPS63245754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8155187A JPS63245754A (en) 1987-04-01 1987-04-01 Input/output control system for information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8155187A JPS63245754A (en) 1987-04-01 1987-04-01 Input/output control system for information processing system

Publications (1)

Publication Number Publication Date
JPS63245754A true JPS63245754A (en) 1988-10-12

Family

ID=13749428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8155187A Pending JPS63245754A (en) 1987-04-01 1987-04-01 Input/output control system for information processing system

Country Status (1)

Country Link
JP (1) JPS63245754A (en)

Similar Documents

Publication Publication Date Title
JPS63245754A (en) Input/output control system for information processing system
JPH0666061B2 (en) Multi CPU communication device
JP2903525B2 (en) Job management method
JPH0219494B2 (en)
JPH01305461A (en) Right of using bus control system
JPS6143369A (en) Multi-processor system
JPS60136853A (en) Data transfer system
JPH0511339B2 (en)
JP2976343B2 (en) Startup acceptance method
JPH04274524A (en) System for controlling inter-process communication
JPH0690698B2 (en) Channel device control method
JPH07111711B2 (en) Processing end interrupt control system
JPH05173926A (en) Peripheral device connection system
JPH0337220B2 (en)
JPH02730B2 (en)
JPS62229350A (en) Command transmission and control system
JPS61240333A (en) Input and output interruption processing system
JPH03246654A (en) Method for controlling data transfer
JPH01134559A (en) Data communication system
JPH0424733B2 (en)
JPS63296155A (en) Peripheral control unit
JPH06250964A (en) Controller
JPS60167058A (en) System for communications between computers
JPS63231532A (en) Interruption detecting system for information processing system
JPH0519174B2 (en)