JPS63128456A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPS63128456A
JPS63128456A JP27615386A JP27615386A JPS63128456A JP S63128456 A JPS63128456 A JP S63128456A JP 27615386 A JP27615386 A JP 27615386A JP 27615386 A JP27615386 A JP 27615386A JP S63128456 A JPS63128456 A JP S63128456A
Authority
JP
Japan
Prior art keywords
instruction
data transfer
command
data
transfer
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
JP27615386A
Other languages
Japanese (ja)
Inventor
Tatsuo Owada
達男 大和田
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 JP27615386A priority Critical patent/JPS63128456A/en
Publication of JPS63128456A publication Critical patent/JPS63128456A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the processing efficiency with a data transfer system by reading instructions out of an instruction table in the stored order at every end of transfer of data to start the transfer of data when the read-out instruction indicates the transfer of data and to produce an interruption to a data processor with an interruption request order. CONSTITUTION:An instruction detecting means 25 decides whether the instruction read out by an instruction reading means 24 indicates the transfer of data or the request for an interruption. A transfer start means 26 starts the transfer of data between a data processor 1 and a data transfer subject device 3 based on the data transfer instruction when the means 25 decides that the data transfer instruction is read out by the means 24. Then the control is shifted to an instruction reception detecting means 21. While an interruption processing means 27 produces an interruption to inform the processor 1 the end of transfer of data when the means 25 decides that an interruption request instruction is read out by the means 24. Then the control is shifted to the means 21. In such a way, the data processing efficiency is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ転送方式に関し、特にデータ処理システ
ムにおけるデータ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer method, and particularly to a data transfer method in a data processing system.

〔従来の技術〕[Conventional technology]

従来、この種のデータ転送方式では、データ処理装置に
おいてデータ転送の要求が発生すると、入出力装置等の
データ転送対象装置(データ転送を要求しているデータ
処理装置以外のデータ処理装置等の場合もあるが、以下
入出力装置で代表させて説明する)を制御するデータ転
送制御装置(以下、入出力制御装置で代表させて説明す
る)に対してデータ転送命令が発行され、データ転送命
令を受信した入出力制御装置によりそのデータ転送命令
に基づきデータ処理装置と入出力装置との間のデータ転
送が起動され、そのデータ転送が終了すると入出力制御
装置によりデータ処理装置に割込みの発生が行われてい
た。
Conventionally, in this type of data transfer method, when a data transfer request occurs in a data processing device, the data transfer target device such as an input/output device (in the case of a data processing device other than the data processing device requesting the data transfer) A data transfer command is issued to a data transfer control device (hereinafter described as an input/output control device) that controls a data transfer control device (described below as an input/output device). The received input/output control device starts data transfer between the data processing device and the input/output device based on the data transfer command, and when the data transfer is completed, the input/output control device generates an interrupt to the data processing device. I was worried.

第3図は、上述の従来のデータ転送方式の一例の処理を
示す流れ図である。従来のデータ転送方式の一例の処理
は、データ転送命令受信検出ステップ31と、データ転
送起動ステップ32と、データ転送実行検出ステップ3
3と、割込みステップ34とからなる。
FIG. 3 is a flow chart showing an example of the processing of the conventional data transfer method described above. The processing of an example of the conventional data transfer method includes a data transfer command reception detection step 31, a data transfer activation step 32, and a data transfer execution detection step 3.
3 and an interrupt step 34.

次に、第3図を参照して従来のデータ転送方式の一例の
動作を説明する。
Next, the operation of an example of a conventional data transfer system will be described with reference to FIG.

まず、データ処理装置からデータ転送命令が発行され、
入出力制御装置でそのデータ転送命令の受信が検出され
たか否かが判定される(ステ、プ31)。
First, a data transfer command is issued from the data processing device,
It is determined whether reception of the data transfer command is detected by the input/output control device (step 31).

この判定でデータ転送命令の受信が検出されていないと
きには、検出されるまでステップ31の判定が行われる
If reception of a data transfer command is not detected in this determination, the determination in step 31 is performed until reception of a data transfer command is detected.

ステップ31の判定でデータ転送命令の受信が検出され
たときには、そのデータ転送命令に基づいてデータ処理
装置と入出力装置との間のデータ転送が起動される(ス
テップ32)。
When reception of a data transfer command is detected in step 31, data transfer between the data processing device and the input/output device is started based on the data transfer command (step 32).

起動されたデータ転送が実行されているか否かの判定が
データ転送の終了を検出するために行われ(ステップ3
3)、データ転送の終了が検出されるとデータ転送の終
了を知らせる割込みの発生が入出力制御装置からデータ
処理装置に行われる(ステップ34)。
A determination is made as to whether the initiated data transfer is being executed to detect the end of the data transfer (step 3).
3) When the end of the data transfer is detected, an interrupt is generated from the input/output control device to the data processing device to notify the end of the data transfer (step 34).

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

上述した従来のデータ転送方式では、データ処理装置で
データ転送命令が発行されてからこのデータ転送命令に
基づくデータ転送の終了を知らせる割込みが発生するま
で、データ処理装置における次の処理の実行または次の
データ転送命令の発行が行えないので、その間の待ち時
間が発生しデータ処理装置におけるデータ処理の効率が
悪くなるという欠点がある。
In the conventional data transfer method described above, the execution of the next process in the data processing device or the Since the data transfer command cannot be issued, there is a waiting time during that time, resulting in a disadvantage that the efficiency of data processing in the data processing device deteriorates.

本発明の目的は、上述の点に鑑み、データ転送命令やデ
ータ転送の終了を知らせる割込みを要求する命令を蓄積
する命令テーブルを設け、データ転送命令を発行してか
らこのデータ転送命令に基づくデータ転送の終了を知ら
せる割込みが発生するまでの間のデータ処理装置におけ
る次の処理の実行または次のデータ転送命令の発行を可
能とするデータ転送方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to provide an instruction table that stores data transfer instructions and instructions that request an interrupt to notify the end of data transfer, and after issuing a data transfer instruction, transfer data based on the data transfer instruction. An object of the present invention is to provide a data transfer method that enables a data processing device to execute the next process or issue the next data transfer command until an interrupt notifying the end of the transfer occurs.

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

本発明のデータ転送方式は、データ処理装置により発行
されるデータ転送命令および割込み要求命令が構成要素
として蓄積される命令テーブルと、前記データ処理装置
により発行されるデータ転送命令および割込み要求命令
の受信を検出する命令受信検出手段と、前記命令受信検
出手段でデータ転送命令および割込み要求命令の受信が
検出されたときに検出されたデータ転送命令および割込
み要求命令を前記命令テーブルに蓄積する命令テーブル
作成手段と、前記データ処理装置とデータ転送対象装置
との間でデータ転送が行われているか否かを検出しデー
タ転送が行われているときには前記命令受信検出手段に
制御を移しデータ転送が行われていないときには命令読
出し手段に制御を移す命令実行検出手段と、前記命令テ
ーブルに読み出されていないデータ転送命令および割込
み要求命令が存在するか否かを検出し存在しないときに
は前記命令受信検出手段に制御を移し存在するときには
前記命令テーブルに蓄積された順に読み出されていない
データ転送命令および割込み要求命令を読み出す前記命
令読出し手段と、この命令読出し手段で読み出された命
令がデータ転送命令であるか割込み要求命令であるかを
判断する命令検出手段と、前記命令読出し手段によりデ
ータ転送命令が読み出されたと前記命令検出手段で判断
されたときにこのデータ転送命令に基づき前記データ処
理装置と前記データ転送対象装置との間のデータ転送を
起動して前記命令受信検出手段に制御を移す転送起動手
段と、前記命令読出し手段により割込み要求命令が読み
出されたと前記命令検出手段で判断されたときに前記デ
ータ処理装置にデータ転送の終了を知らせる割込みを発
生させて前記命令受信検出手段に制御を移す割込み処理
手段とを有する。
The data transfer method of the present invention includes an instruction table in which data transfer instructions and interrupt request instructions issued by a data processing device are accumulated as constituent elements, and a reception of data transfer instructions and interrupt request instructions issued by the data processing device. an instruction reception detection means for detecting the instruction reception detection means; and an instruction table creation for accumulating in the instruction table the data transfer instruction and the interrupt request instruction detected when the reception of the data transfer instruction and the interrupt request instruction is detected by the instruction reception detection means. means detects whether or not data transfer is being performed between the data processing device and the data transfer target device, and when data transfer is being performed, control is transferred to the command reception detection means and the data transfer is performed. an instruction execution detection means that transfers control to the instruction reading means when the command is not read out; and an instruction execution detection means that detects whether or not there are data transfer instructions and interrupt request instructions that have not been read out in the instruction table, and when they do not exist, the instruction reception detection means The instruction reading means transfers control and reads data transfer instructions and interrupt request instructions that have not been read out in the order stored in the instruction table when they exist, and the instructions read by this instruction reading means are data transfer instructions. an instruction detection means for determining whether a data transfer instruction is an interrupt request instruction; Transfer starting means starts data transfer with the data transfer target device and transfers control to the command reception detecting means; and when the command detecting means determines that the interrupt request command has been read by the command reading means. and interrupt processing means for generating an interrupt to notify the data processing device of the end of data transfer and transferring control to the command reception detection means.

〔作用〕[Effect]

本発明のデータ転送方式では、命令テーブルがデータ処
理装置により発行されるデータ転送命令および割込み要
求命令を構成要素として蓄積し、命令受信検出手段がデ
ータ処理装置により発行されるデータ転送命令および割
込み要求命令の受信を検出し、命令テーブル作成手段が
命令゛受信検出手段でデータ転送命令および割込み要求
命令の受信が検出されたときに検出されたデータ転送命
令および割込み要求命令を命令テーブルに蓄積し、命令
実行検出手段がデータ処理装置とデータ転送対象装置と
の間でデータ転送が行われているか否かを検出しデータ
転送が行われているときには命令受信検出手段に制御を
移しデータ転送が行われていないときには命令読出し手
段に制御を移し、命令読出し手段が命令テーブルに読み
出されていないデータ転送命令および割込み要求命令が
存在するか否かを検出し存在しないときには命令受信検
出手段に制御を移し存在するときには命令テーブルに蓄
積された順に読み出されていないデータ転送命令および
割込み要求命令を読み出し、命令検出手段が命令読出し
手段で読み出された命令がデータ転送命令であるか割込
み要求命令であるかを判断し、転送起動手段が命令読出
し手段によりデータ転送命令が読み出されたと命令検出
手段で判断されたときにこのデータ転送命令に基づきデ
ータ処理装置とデータ転送対象装置との間のデータ転送
を起動して命令受信検出手段に制御を移し、割込み処理
手段が命令読出し手段により割込み要求命令が読み出さ
れたと命令検出手段で判断されたときにデータ処理装置
にデータ転送の終了を知らせる割込みを発生させて命令
受信検出手段に制御を移す。
In the data transfer method of the present invention, the instruction table stores data transfer instructions and interrupt request instructions issued by the data processing device as constituent elements, and the instruction reception detection means stores the data transfer instructions and interrupt request instructions issued by the data processing device. Detecting reception of the command, the command table creation means stores in the command table the data transfer command and the interrupt request command detected when the command reception detection means detects the reception of the data transfer command and the interrupt request command; The command execution detection means detects whether or not data transfer is being performed between the data processing device and the data transfer target device, and when the data transfer is being performed, control is transferred to the command reception detection means and the data transfer is performed. When there are no data transfer instructions and interrupt request instructions that have not been read out in the instruction table, the instruction reading means transfers control to the instruction reception detection means. When there are data transfer instructions and interrupt request instructions that have not been read out in the order accumulated in the instruction table, the instruction detection means determines whether the instruction read by the instruction reading means is a data transfer instruction or an interrupt request instruction. When the command detecting means determines that the data transfer command has been read by the command reading means, the transfer starting means transfers data between the data processing device and the data transfer target device based on this data transfer command. and transfers control to the instruction reception detection means, and generates an interrupt to notify the data processing device of the end of data transfer when the instruction detection means determines that the interrupt request instruction has been read by the instruction reading means. The command is generated and control is transferred to the command reception detection means.

〔実施例〕〔Example〕

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

第1図は、本発明のデータ転送方式の一実施例の構成を
示すブロック図である0本実施例のデータ転送方式は、
データ転送命令を発行するデータ処理装置1と、データ
処理装置1と入出力装置3との間のデータ転送の制御を
含む入出力装置3の制御を行う入出力制御装置2と、デ
ータ処理装置1との間でデータ転送を行う入出力装置3
とから構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the data transfer method of the present invention.
A data processing device 1 that issues data transfer commands, an input/output control device 2 that controls the input/output device 3 including control of data transfer between the data processing device 1 and the input/output device 3, and the data processing device 1 Input/output device 3 that transfers data between
It is composed of.

人出力制御装置2は、データ処理装置lにより発行され
るデータ転送命令および割込み要求命令が構成要素とし
て蓄積される命令テーブル20と、データ処理装置1に
より発行されるデータ転送命令および割込み要求命令の
受信を検出する命令受信検出手段21と、命令受信検出
手段21でデータ転送命令および割込み要求命令の受信
が検出されたときに命令テーブル20に検出された命令
を蓄積する命令テーブル作成手段22と、データ処理装
置1と入出力装置3との間でデータ転送が行われている
か否かを検出しデータ転送が行われているときには命令
受信検出手段21に制御を戻しデータ転送が行われてい
ないときには命令読出し手段24に制御を移す命令実行
検出手段23と、命令テーブル20に読み出されていな
い命令が存在するか否かを検出し存在しないときには命
令受信検出手段21に制御を戻し存在するときには読み
出されていない命令を命令テーブル20に蓄積された順
に読み出す命令読出し手段24と、命令続出し手段24
で読み出された命令がデータ転送命令であるか割込み要
求命令であるかを判断する命令検出手段25と、命令読
出し手段24によりデータ転送命令が読み出されたと命
令検出手段25で判断されたときにこのデータ転送命令
に基づきデータ処理装置1と入出力装置3との間のデー
タ転送を起動して命令受信検出手段21に制御を戻す転
送起動手段26と、命令読出し手段24により割込み要
求命令が読み出されたと命令検出手段25で判断された
ときにデータ処理装置1にデータ転送の終了を知らせる
割込みを発生させて命令受信検出手段21に制御を戻す
割込み処理手段27とを含んで構成されている。
The human output control device 2 has an instruction table 20 in which data transfer commands and interrupt request commands issued by the data processing device 1 are stored as constituent elements, and a command table 20 in which data transfer commands and interrupt request commands issued by the data processing device 1 are stored. a command reception detection means 21 for detecting reception; a command table creation means 22 for storing the detected commands in the command table 20 when the command reception detection means 21 detects reception of a data transfer command and an interrupt request command; It is detected whether or not data is being transferred between the data processing device 1 and the input/output device 3, and when data is being transferred, control is returned to the command reception detection means 21 and when data is not being transferred. An instruction execution detecting means 23 transfers control to the instruction reading means 24, detects whether or not there is an unread instruction in the instruction table 20, and returns control to the instruction reception detecting means 21 when there is no unread instruction. An instruction reading means 24 for reading out unissued instructions in the order stored in the instruction table 20, and an instruction successive issuing means 24.
When the instruction detection means 25 determines whether the read instruction is a data transfer instruction or an interrupt request instruction, and the instruction detection means 25 determines that a data transfer instruction has been read by the instruction reading means 24. Then, based on the data transfer command, the transfer starting means 26 starts data transfer between the data processing device 1 and the input/output device 3 and returns control to the command reception detecting means 21, and the instruction reading means 24 receives the interrupt request command. and an interrupt processing means 27 which generates an interrupt to notify the data processing device 1 of the end of data transfer when the command detection means 25 determines that the data has been read, and returns control to the command reception detection means 21. There is.

命令テーブル20は、データ転送命令または割込み要求
命令を内容とする構成要素201,202,203.・
・・を含んで構成されている。
The instruction table 20 includes components 201, 202, 203 . . . whose content is a data transfer instruction or an interrupt request instruction.・
It is composed of...

第2図を参照すると、本実施例のデータ転送方式の処理
は、命令受信検出ステップ11と、命令テーブル命令蓄
積ステップ12と、データ転送実行検出ステップ13と
、命令テーブル未読出し命令存在判定ステップ14と、
命令テーブル命令読出しステップ15と、命令判定ステ
ップ16と、データ転送起動ステップ17と、割込み発
生ステップ18とからなる。
Referring to FIG. 2, the processing of the data transfer method of this embodiment includes a command reception detection step 11, an instruction table command accumulation step 12, a data transfer execution detection step 13, and an instruction table unread command existence determination step 14. and,
It consists of an instruction table instruction read step 15, an instruction determination step 16, a data transfer activation step 17, and an interrupt generation step 18.

次に、このように構成された本実施例のデーター転送方
式の動作について説明する。
Next, the operation of the data transfer system of this embodiment configured as described above will be explained.

データ処理装置lで入出力装置3との間におけるデータ
転送の要求が発生し、データ転送命令が人出力制御装置
2に発行されたとする。
Assume that a request for data transfer between the data processing device 1 and the input/output device 3 occurs, and a data transfer command is issued to the human output control device 2.

入出力側′4′n装置2の命令受信検出手段21では、
データ転送命令または割込み要求命令の受信が検出され
ているか否かが判定される(ステップ11)。
In the command reception detection means 21 of the input/output side '4'n device 2,
It is determined whether reception of a data transfer command or an interrupt request command is detected (step 11).

この判定でデータ処理装置lから発行されたデータ転送
命令の受信が検出されているので、命令テーブル作成手
段22に制御が移りこのデータ転送命令が命令テーブル
20に構成要素201 として蓄えられる(ステップ1
2)。
Since reception of the data transfer command issued from the data processing device l is detected in this judgment, control is transferred to the command table creation means 22, and this data transfer command is stored in the command table 20 as a component 201 (step 1).
2).

次に、命令実行検出手段23に制御が移り、入出力装置
3に対してデータ処理装置1との間でデータ転送が行わ
れている状態であるか否かの検出が行われる(ステップ
13)。
Next, control is transferred to the instruction execution detection means 23, which detects whether data is being transferred between the input/output device 3 and the data processing device 1 (step 13). .

この判定でデータ転送は実行されていない(まだ起動さ
れていない)ので、命令読出し手段24に制御が移る。
As a result of this determination, data transfer has not been executed (has not been activated yet), so control is transferred to the instruction reading means 24.

命令読出し手段24では、命令テーブル20にまだ読み
出されていない命令が存在するか否かの判定が行われる
(ステップ14)。
The instruction reading means 24 determines whether there is an instruction that has not been read out yet in the instruction table 20 (step 14).

この判定で構成要素201(データ転送命令)が存在す
るので、このデータ転送命令が命令テーブル20から読
み出される(命令テーブル20に複数の読み出されてい
ない命令が存在するときには蓄えられた順に読み出され
る) (ステップ15)。
As a result of this determination, the component 201 (data transfer instruction) is present, so this data transfer instruction is read from the instruction table 20 (if there are multiple unread instructions in the instruction table 20, they are read in the order in which they were stored). ) (Step 15).

読み出された構成要素201は、命令検出手段25によ
りデータ転送命令であるか割込み要求命令であるかが判
定される(ステップ16)。
The instruction detection means 25 determines whether the read component 201 is a data transfer instruction or an interrupt request instruction (step 16).

この判定で構成要素201はデータ転送命令であるので
、転送起動手段26に制御が移り入出力装置3における
データ処理装置1との間でのデータ転送が起動され(ス
テップ17)、命令受信検出手段21によるステップ1
1の判定に制御が戻る。
In this determination, since the component 201 is a data transfer command, control is transferred to the transfer starting means 26, and data transfer between the input/output device 3 and the data processing device 1 is started (step 17), and the command reception detecting means Step 1 according to 21
Control returns to determination 1.

このステップ11の判定でデータ転送命令または割込み
要求命令が受信されていないとき(データ処理装置Iか
らの新たな命令の発行が行われていないとき)には、命
令実行検出手段23に制御が移りデータ転送が行われて
いるか否かが判定される(ステップ13)。
If it is determined in step 11 that no data transfer command or interrupt request command has been received (no new command has been issued from the data processing device I), control is transferred to the command execution detection means 23. It is determined whether data transfer is being performed (step 13).

この判定で構成要素201のデータ転送命令で起動され
たデータ転送の実行が終了せず実行されているときには
、命令受信検出手段21によるステップ11の判定に制
御が戻る。
If this determination indicates that the execution of the data transfer started by the data transfer command of the component 201 is not completed but is still being executed, control returns to the determination in step 11 by the command reception detection means 21.

ここで、データ処理装置1で再びデータ転送の要求が発
生し、データ転送命令が入出力制御装置2に発行された
とする。
Now, assume that a request for data transfer occurs again in the data processing device 1, and a data transfer command is issued to the input/output control device 2.

このときには、ステップ11の判定でデータ転送命令の
受信が検出されるので、このデータ転送命令が命令テー
ブル作成手段22により命令テーブル20に構成要素2
02として蓄えられ(ステップ12)、命令実行検出手
段23によるステップ13の判定に制御が移る。
At this time, reception of a data transfer command is detected in the determination in step 11, so that the command table creation means 22 stores the data transfer command in the component 2 in the command table 20.
02 (step 12), and control shifts to the determination in step 13 by the instruction execution detection means 23.

ここで、構成要素201のデータ転送命令で起動された
データ転送が終了したものとする。
Here, it is assumed that the data transfer started by the data transfer command of the component 201 has finished.

このときには、ステップ13の判定でデータ転送が実行
中でないことが検出されるので、命令テーブル20にま
だ読み出されていない命令が存在するか否かが命令読出
し手段24により判定され(ステップ14)、この判定
で構成要素202(データ転送命令)が存在するのでこ
のデータ転送命令が読み出される(ステップ15)。
At this time, since it is detected in step 13 that data transfer is not in progress, the instruction reading means 24 determines whether or not there is an instruction that has not been read out yet in the instruction table 20 (step 14). As a result of this determination, the component 202 (data transfer instruction) is present, so this data transfer instruction is read out (step 15).

次に、構成要素201のデータ転送命令の場合と同様に
命令検出手段25によるステップ16の判定および転送
起動手段26によるステップ17の処理が行われ、デー
タ処理装置1と入出力装置3との間のデータ転送が起動
され、命令受信検出手段2Iによるステップ11の判定
に制御が戻る。
Next, as in the case of the data transfer command of the component 201, the determination in step 16 by the command detection means 25 and the processing in step 17 by the transfer starting means 26 are performed, and the The data transfer is started, and control returns to the determination in step 11 by the command reception detection means 2I.

ここで、これまでに発行されたデータ転送命令に基づく
データ転送が終了しているか否かの確認のために割込み
要求命令(データ転送が終了している場合に入出力制御
装置2からデータ処理装置lに対して割込みを発生させ
るための命令)がデータ処理装置ffにより発行された
とする。
Here, in order to confirm whether or not the data transfer based on the data transfer commands issued so far has been completed, an interrupt request command (if the data transfer has been completed, the input/output control device 2 sends an interrupt request command to the data processing device Assume that a command (instruction for generating an interrupt for l) is issued by data processing device ff.

このときには、ステップ11の判定で割込み要求命令の
受信が検出されているので、この割込み要求命令が命令
テーブル作成手段22により命令テーブル20に構成要
素203として蓄えられ(ステップ12)、命令実行検
出手段23によるステップ13の判定に制御が移る。
At this time, since reception of an interrupt request command has been detected in the determination in step 11, this interrupt request command is stored as a component 203 in the command table 20 by the command table creation means 22 (step 12), and the command execution detection means Control moves to the determination in step 13 by step 23.

この判定で構成要素202のデータ転送命令により起動
されたデータ転送が終了していないときにはステップ1
1の判定に制御が戻り割込みの発生は行われないが、デ
ータ転送が終了しているときには命令読出し手段24に
よるステップ14の判定およびステップ15の処理によ
り構成要素203(割込み要求命令)が読み出され、命
令検出手段25によりこの構成要素203がデータ転送
命令であるか割込み要求命令であるかの判定が行われる
(ステップ16)。
In this judgment, if the data transfer started by the data transfer command of the component 202 has not been completed, step 1 is executed.
Control returns to the determination in step 1 and no interrupt is generated, but when the data transfer has ended, the component 203 (interrupt request instruction) is read by the instruction reading means 24 through the determination in step 14 and the processing in step 15. Then, the instruction detection means 25 determines whether this component 203 is a data transfer instruction or an interrupt request instruction (step 16).

この判定で割込み要求命令であることが検出されるので
、割込み処理手段27によりデータ処理装置1に対して
データ転送の終了を知らせるv1込みの発生が行われ(
ステップ18)、命令受信検出手段21によるステップ
11の判定に制御が戻る。
Since this judgment detects that it is an interrupt request command, the interrupt processing means 27 generates a v1 interrupt to notify the data processing device 1 of the end of data transfer (
In step 18), control returns to the determination in step 11 by the command reception detection means 21.

ここで、データ処理装置tから新たな命令が発行されて
おらずステップ11の判定で命令の受信が゛検出されて
いないときには、ステップ13の判定に制御が移り、こ
の判定でデータ転送は実行されていないので、命令読出
し手段24によるステップ14の判定に制御が移る。
Here, if no new command has been issued from the data processing device t and the reception of the command is not detected in the determination in step 11, control shifts to the determination in step 13, and in this determination, data transfer is not executed. Since the instruction reading means 24 does not have the instruction, control moves to the determination in step 14 by the instruction reading means 24.

ステップ14の判定でまだ読み出されていない命令は命
令テーブル20に存在しないので、命令受信検出手段2
1におけるステップ11の判定に制御が戻り、新たな命
令の受信が検出されれば上述のような処理が繰り返され
る。
Since there are no instructions in the instruction table 20 that have not yet been read out in step 14, the instruction reception detection means 2
Control returns to the determination at step 11 in step 1, and if reception of a new command is detected, the above-described processing is repeated.

なお、本実施例ではデータ転送対象装置が入出力装置3
である場合について述べたが、データ処理装置1以外の
データ処理装置等の他のデータ転送対象装置とデータ処
理装置1との間のデータ転送にも、データ転送制御装置
に命令テーブル20および符号21〜27の各手段が実
現されて本発明が適用できることはいうまでもない。
In this embodiment, the data transfer target device is the input/output device 3.
Although we have described the case in which the command table 20 and the code 21 are used in the data transfer control device for data transfer between the data processing device 1 and other data transfer target devices such as data processing devices other than the data processing device 1, It goes without saying that the present invention can be applied by implementing each of the means of 27 to 27.

〔発明の効果〕   ′ 以上説明したように本発明では、データ転送が実行され
ているときにもデータ処理装置で発行された命令が命令
テーブルに蓄えられ、データ転送が終了する毎に命令テ
ーブルから蓄えられた順に命令が読み出されその命令が
データ転送命令であるときにはデータ転送が起動され割
込み要求命令であるときにはデータ転送の終了を知らせ
る割込みの発生がデータ処理装置に対して行われること
により、データ処理装置ではデータ転送の終了の報告を
待つことなくデータ転送命令の発行後ただちに次の処理
または次のデータ転送命令の発行を行うことができ、デ
ータ処理装置における処理の効率を向上することができ
るという効果がある。
[Effects of the Invention] ′ As explained above, in the present invention, instructions issued by the data processing device are stored in the instruction table even when data transfer is being executed, and are read from the instruction table every time data transfer is completed. Instructions are read out in the order in which they were stored, and when the instruction is a data transfer instruction, data transfer is activated, and when it is an interrupt request instruction, an interrupt is generated to the data processing device to notify the end of data transfer. The data processing device can perform the next process or issue the next data transfer command immediately after issuing a data transfer command without waiting for a report of the end of data transfer, which improves processing efficiency in the data processing device. There is an effect that it can be done.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は第1図に示す本実施例のデータ転送方式の処理
を示す流れ図、 第3図は従来のデータ転送方式の一例の処理を示す流れ
図である。 図において、 1・・・データ処理装置、 2・・・入出力制御装置、 3・・・入出力装置、 20・・・命令テーブル、 21・・・命令受信検出手段、 22・・・命令テーブル作成手段、 23・・・命令実行検出手段、 24・・・命令続出し手段、 25・・・命令検出手段、 26・・・転送起動手段、 27・・・割込み処理手段、 201.202,203  ・・・構成要素である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a flowchart showing the processing of the data transfer method of this embodiment shown in FIG. 1, and FIG. 3 is an example of a conventional data transfer method. 2 is a flow chart showing the processing of FIG. In the figure, 1... data processing device, 2... input/output control device, 3... input/output device, 20... instruction table, 21... instruction reception detection means, 22... instruction table Creating means, 23... Instruction execution detecting means, 24... Instruction successive issuing means, 25... Instruction detecting means, 26... Transfer starting means, 27... Interrupt processing means, 201, 202, 203 ...It is a constituent element.

Claims (1)

【特許請求の範囲】 データ処理装置により発行されるデータ転送命令および
割込み要求命令が構成要素として蓄積される命令テーブ
ルと、 前記データ処理装置により発行されるデータ転送命令お
よび割込み要求命令の受信を検出する命令受信検出手段
と、 前記命令受信検出手段でデータ転送命令および割込み要
求命令の受信が検出されたときに検出されたデータ転送
命令および割込み要求命令を前記命令テーブルに蓄積す
る命令テーブル作成手段と、前記データ処理装置とデー
タ転送対象装置との間でデータ転送が行われているか否
かを検出しデータ転送が行われているときには前記命令
受信検出手段に制御を移しデータ転送が行われていない
ときには命令読出し手段に制御を移す命令実行検出手段
と、 前記命令テーブルに読み出されていないデータ転送命令
および割込み要求命令が存在するか否かを検出し存在し
ないときには前記命令受信検出手段に制御を移し存在す
るときには前記命令テーブルに蓄積された順に読み出さ
れていないデータ転送命令および割込み要求命令を読み
出す前記命令読出し手段と、 この命令読出し手段で読み出された命令がデータ転送命
令であるか割込み要求命令であるかを判断する命令検出
手段と、 前記命令読出し手段によりデータ転送命令が読み出され
たと前記命令検出手段で判断されたときにこのデータ転
送命令に基づき前記データ処理装置と前記データ転送対
象装置との間のデータ転送を起動して前記命令受信検出
手段に制御を移す転送起動手段と、 前記命令読出し手段により割込み要求命令が読み出され
たと前記命令検出手段で判断されたときに前記データ処
理装置にデータ転送の終了を知らせる割込みを発生させ
て前記命令受信検出手段に制御を移す割込み処理手段と
、 を有することを特徴とするデータ転送方式。
[Scope of Claims] An instruction table in which data transfer commands and interrupt request commands issued by a data processing device are stored as constituent elements; and detection of reception of data transfer commands and interrupt request commands issued by the data processing device. command reception detection means for detecting a data transfer command and an interrupt request command; and command table creation means for storing detected data transfer commands and interrupt request commands in the command table when the command reception detection means detects reception of a data transfer command and an interrupt request command. , detecting whether or not data transfer is being performed between the data processing device and the data transfer target device, and when data transfer is being performed, transfers control to the command reception detection means to determine that data transfer is not being performed. an instruction execution detecting means that sometimes transfers control to the instruction reading means; and detecting whether or not there are data transfer instructions and interrupt request instructions that have not been read out in the instruction table, and when they do not exist, controlling the instruction reception detecting means. the instruction reading means for reading out data transfer instructions and interrupt request instructions that have not been read out in the order accumulated in the instruction table; and determining whether the instruction read by the instruction reading means is a data transfer instruction or not; an instruction detection means for determining whether the instruction is a request instruction; and when the instruction detection means determines that the data transfer instruction has been read by the instruction reading means, the data transfer instruction is executed between the data processing device and the data transfer instruction based on the data transfer instruction. transfer starting means that starts data transfer with the target device and transfers control to the command reception detecting means; A data transfer method comprising: interrupt processing means that generates an interrupt to notify a data processing device of the end of data transfer and transfers control to the command reception detection means.
JP27615386A 1986-11-18 1986-11-18 Data transfer system Pending JPS63128456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27615386A JPS63128456A (en) 1986-11-18 1986-11-18 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27615386A JPS63128456A (en) 1986-11-18 1986-11-18 Data transfer system

Publications (1)

Publication Number Publication Date
JPS63128456A true JPS63128456A (en) 1988-06-01

Family

ID=17565496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27615386A Pending JPS63128456A (en) 1986-11-18 1986-11-18 Data transfer system

Country Status (1)

Country Link
JP (1) JPS63128456A (en)

Similar Documents

Publication Publication Date Title
JPS63128456A (en) Data transfer system
JP2002259143A (en) Device and method for automatically controlling number of task, on-like transaction processing system and program
JPH08137703A (en) Task switching device
JP2985299B2 (en) Exclusive control unit
JPH04273356A (en) Input/output controller
JPS6220584B2 (en)
JPS6146532A (en) Microprogram control circuit
JP2549410B2 (en) Main memory reference order control method
JPH0740231B2 (en) Asynchronous exception catching method
JPH04117049A (en) Input output device control system
JPH0433127A (en) Check point control system
JPH04195649A (en) Data processor
JPS63245713A (en) Data processing system
JPS60250459A (en) Synchronizing control system
JPH0115902B2 (en)
JPH0132540B2 (en)
JPH09325892A (en) Job parallel execution control method
JPH01112461A (en) System for controlling input and output
JPH0221322A (en) Parallel input/output control system
JPH04105123A (en) Control system for execution of program
JPH06259380A (en) Remote procedure calling device
JPS59107498A (en) Data reading method of memory
JPH08212085A (en) Information processor and communication processor
JPH0750465B2 (en) Communication control method
JPH04139555A (en) Bus repeating device