JPS62197818A - Data transfer control system - Google Patents

Data transfer control system

Info

Publication number
JPS62197818A
JPS62197818A JP61039804A JP3980486A JPS62197818A JP S62197818 A JPS62197818 A JP S62197818A JP 61039804 A JP61039804 A JP 61039804A JP 3980486 A JP3980486 A JP 3980486A JP S62197818 A JPS62197818 A JP S62197818A
Authority
JP
Japan
Prior art keywords
instruction
data transfer
data
execution
area
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
JP61039804A
Other languages
Japanese (ja)
Inventor
Katsuaki 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 JP61039804A priority Critical patent/JPS62197818A/en
Publication of JPS62197818A publication Critical patent/JPS62197818A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To attain a data transfer control system that can perform the flexible and effective fault processing and retrial processing, by inhibiting the indication for the next execution at an instruction control part until the end of the transfer of data under execution and the presence or absence of the abnormality produced in a data transfer mode are confirmed in case the contents of a synchronous indication field show a synchronous indication instruction. CONSTITUTION:When a data transfer instruction is confirmed through a fact that an instruction control part 30 decodes an instruction code, an indication for execution is given to a transfer control part 40 by the execution request signal RQ. At the same time, an action code, the addresses to memory devices (1)10 and (2)20, and a synchronous indication instruction SYC for transfer of data are transmitted by a request code signal RQC, an address signal AD and a synchronous indication field SYC' respectively. An interruption report signal INT functions to give a report to the part 30 when the part 40 receives a report on detection of an abnormal state from both memory devices or the part 40 itself detects an abnormal state. The part 30 inhibits the indication for the next instruction by the signal INT and starts an interruption processing sequence.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理システムにおけるデータ転送制御
方式に関し、特に、二つの記憶領域間のデータ転送命令
実行シーケンスのオーバラップに対する制御に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer control method in a data processing system, and particularly to control over overlap of data transfer instruction execution sequences between two storage areas.

〔概 要〕〔overview〕

本発明は、データ処理システムにおいて相異なる二つの
記憶領域間におけるデータの転送を制御するデータ転送
制御方式において、 命令語の中にデータ転送同期合わせを指示する同期指示
フィールドを設定し、命令制御部において上記命令語の
解読の結果によりデータ転送制御部に対しデータ転送実
行指示ととにも上記同期指示フィールドの内容を送出し
、この同期指示フィールドの内容が同期指示の場合に、
実行中のデータを転送の終了およびデータ転送時に発生
した異常事象の有無を確認するまで、上記命令制御部で
の次の実行指示を抑止することにより、柔軟性がありか
つ効率的な障害処理および再試行処理を可能とし、シス
テムの信鯨性およびスループットの向上を図ったもので
ある。
The present invention provides a data transfer control method for controlling data transfer between two different storage areas in a data processing system, in which a synchronization instruction field for instructing data transfer synchronization is set in a command word, and an instruction control unit In accordance with the result of decoding the command word, a data transfer execution instruction and the contents of the synchronization instruction field are sent to the data transfer control unit, and if the contents of the synchronization instruction field are a synchronization instruction,
By suppressing the next execution instruction in the instruction control unit until the data being executed is transferred and the presence or absence of an abnormal event that occurred during data transfer is confirmed, flexible and efficient failure handling and This enables retry processing and improves system reliability and throughput.

[従来の技術) 近年、データ処理装置において、記憶容量の増加が著し
くこれに対処するため、主記憶装置の他に大容量の拡張
記憶装置を付加する方式が採用されている。このような
システムにおいては、主記憶装置内のある記憶領域(以
下、単にエリアという。)のデータを、ディスク装置の
代わりに高速な拡張記憶装置に一時的に待避したり、ま
た拡張記憶装置内のデータを主記憶装置に回復したりす
ることにより、システムスルーブツトの向上を図ってい
る。
[Prior Art] In recent years, the storage capacity of data processing devices has increased significantly, and in order to cope with this increase, a method has been adopted in which a large-capacity expansion storage device is added in addition to the main storage device. In such systems, data in a certain storage area (hereinafter simply referred to as an area) within the main storage device is temporarily saved to a high-speed expanded storage device instead of a disk device, or data stored in an expanded storage device is temporarily saved. The system aims to improve system throughput by restoring data to the main memory.

例えば、第2図に示すように、記憶装置(1)内のエリ
アAのデータを記憶装置(2)のエリアXへ、また記憶
装置(1)のエリアBのデータを記憶装置(1)のエリ
アYへ転送するケースが生じる。このような記憶装置間
のデータ転送をソフトウェア命令で実行する場合、一般
には1回のデータ転送命令ではNバイトの固定長のデー
タ転送を行うため、繰り返し連続して実行することにな
る。ところで、第2図に示すようなブロック単位(Nバ
イト)のデータ転送を連続して実行する際、高速化を図
るためデータ転送シーケンスをオーバラップさせる方式
を採るが、ハードウェアで異常状態を検出した場合、ソ
フトウェアに対し割り込みにより異常終了の報告を行い
、異常となった記憶装置内のエリアの切り離し、および
再試行を要求する方式が、システムの高信頬性を図るた
めに採用されている。
For example, as shown in Figure 2, data in area A in storage device (1) is transferred to area X in storage device (2), and data in area B in storage device (1) is transferred to area X in storage device (1). There may be cases where the data is transferred to area Y. When such data transfer between storage devices is executed using software instructions, one data transfer instruction generally transfers data of a fixed length of N bytes, so the transfer is repeated and executed continuously. By the way, when performing continuous data transfer in block units (N bytes) as shown in Figure 2, a method is adopted in which the data transfer sequences overlap in order to increase the speed. In order to ensure high reliability of the system, the system uses an interrupt to report the abnormal termination to the software, and requests that the area in the storage device that has become abnormal be isolated and retried. .

第7図および第8図はかかる従来のデータ転送方式の一
例を示す図で、第7図はそのプログラムを示す説明図、
第8図はそのタイムチャートである。第7図のプログラ
ムは、第2図に示すエリアAからエリアX1エリアBか
らエリアYおよびエリアCからエリアZヘデータの転送
を行う場合のものである。そしてエリア内のブロック間
の転送が1個のデータ転送命令に対応している。したが
って、命令■〜■はエリアAからエリアXへのデータ転
送、命令■〜■はエリアBからエリアYへのデータ転送
、命令■はエリアCからエリアZへのデータ転送を指定
していることになる。
7 and 8 are diagrams showing an example of such a conventional data transfer method, and FIG. 7 is an explanatory diagram showing the program,
FIG. 8 is the time chart. The program shown in FIG. 7 is for transferring data from area A to area X, from area B to area Y, and from area C to area Z shown in FIG. Transfer between blocks within an area corresponds to one data transfer command. Therefore, commands ■ to ■ specify data transfer from area A to area X, commands ■ to ■ specify data transfer from area B to area Y, and instruction ■ specify data transfer from area C to area Z. become.

第8図のタイムチャートは、第7図のプログラムの実行
において、命令■の終了ステータスが異常となったとき
のデータ転送シーケンスの時間関係を示している。命令
■のデータ転送シーケンスC(BSYC)の動作中に、
次の命令■のシーケンスA、Bがオーバラップされて実
行されており、命令■のデータ転送に伴う異常状態が検
出され、割込報告(INT)および割込処理シーケンス
が起動されているときには、すでに命令■のデータ転送
が実行されている。したがってこのようなデータ転送方
式では、ソフトウェアは実際に異常状態時のデータ保証
範囲が正確に把握されないため、エリアX、エリアYお
よびエリアZを切り離し、別のエリアへの割付けを行い
命令■から再試行することが必要である。
The time chart of FIG. 8 shows the time relationship of the data transfer sequence when the end status of the instruction (2) becomes abnormal in the execution of the program of FIG. 7. During the operation of data transfer sequence C (BSYC) of instruction ■,
When sequences A and B of the next instruction ■ are executed in an overlapping manner, an abnormal state accompanying the data transfer of the instruction ■ is detected, and the interrupt reporting (INT) and interrupt processing sequence are activated. The data transfer of instruction ■ has already been executed. Therefore, in this data transfer method, since the software does not accurately grasp the data guarantee range in the event of an actual abnormality, area X, area Y, and area Z are separated, allocated to another area, and restarted from instruction It is necessary to try.

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

上述した従来のデータ転送制御方式では、データ転送時
の異常事象発生に伴い、ソフトウェアがエラー処理およ
び再試行処理を行うとしても、発生時点と次のデータ転
送とが重なって実行されるため、記憶装置内のどのエリ
アまでのデータ転送が保証されているのか、ソフトウェ
アが認識および管理するのは難しく、したがって効率的
かつきめ細かなエラー処理が行えず、システムの信頼性
の低下およびシステムスルーブツトの低下を招く欠点が
あった。
In the conventional data transfer control method described above, even if the software performs error processing and retry processing when an abnormal event occurs during data transfer, the occurrence point and the next data transfer are executed at the same time. It is difficult for software to recognize and manage which areas within the device are guaranteed to have data transferred, thus preventing efficient and fine-grained error handling, reducing system reliability and reducing system throughput. There were drawbacks that led to a decline.

本発明の目的は、上記の欠点を除去することにより、柔
軟性のあるかつ効率的な障害処理および再試行処理がで
き、(i H性およびシステムスループットの向上した
システムを構築できるデータ転送制御方式を堤供するこ
とにある。
An object of the present invention is to provide a data transfer control method that can perform flexible and efficient failure handling and retry processing by eliminating the above-mentioned drawbacks, and can construct a system with improved iH performance and system throughput. The purpose is to provide.

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

本発明は、データ処理システムの相異なる二つの記憶領
域間におけるデータの転送を制御するデータ転送制御方
式において、命令語の中にデータ転送同期合わせを指示
する同期指示フィールドを設定し、命令制御部が上記命
令語の解読の結果によりデータ転送制御部に対しデータ
転送実行指示とともに上記同期指示フィールドの内容を
送出し、この同期指示フィールドの内容が同期指示命令
の場合に実行中のデータ転送の終了およびデータ転送時
に発生した異常事象の有無を確認するまで上記命令制御
部での次の実行指示を抑止することを特徴とする。
The present invention provides a data transfer control method for controlling data transfer between two different storage areas of a data processing system, in which a synchronization instruction field for instructing data transfer synchronization is set in a command word, and an instruction control unit sends the data transfer execution instruction and the contents of the synchronization instruction field to the data transfer control unit based on the result of decoding the command word, and if the contents of the synchronization instruction field is a synchronization instruction command, the data transfer being executed is terminated. The next execution instruction by the instruction control unit is suppressed until the presence or absence of an abnormal event that has occurred during data transfer is checked.

〔作 用〕[For production]

本発明は、命令語の中にデータ転送動作の同期合わせを
指示する同期指示フィールドを設定し、所定の同期指示
命令をプログラムしておく。そして、命令語の解読およ
び実行指示を行う命令制御部において、上記命令語の解
読の結果によりデータ転送制御部に対しデータ転送実行
指示とともに上記同期指示フィールドの内容を送出し、
この同期指示フィールドの内容が同期指示命令の場合に
、実行中のデータ転送の終了およびデータ転送時に発生
した異常事象の有無を確認するまで、上記命令制御部で
の次の実行指示を抑止する。
In the present invention, a synchronization instruction field for instructing synchronization of data transfer operations is set in a command word, and a predetermined synchronization instruction command is programmed. Then, in the command control unit that decodes the command word and instructs execution, based on the result of decoding the command word, sends the data transfer execution command and the contents of the synchronization command field to the data transfer control unit,
If the content of the synchronization instruction field is a synchronization instruction command, the next execution instruction in the instruction control unit is suppressed until the completion of the data transfer being executed and the presence or absence of an abnormal event that occurred during the data transfer are confirmed.

かくして、データ転送時に発生した異常事象により記憶
領域内のデータの破壊の恐れのあるデータ転送に対して
、命令再試行領域をソフトウェアが認識可能となるよう
な同期指示命令を同期指示フィールドに設定し、ソフト
ウェアが再試行したい記憶領域に対するデータ転送命令
の区切りで、この同期指示命令を実行することにより、
記憶領域内でのデータ保証範囲をソフトウェアが認識か
つ管理でき、柔軟性がありかつ効率的な障害処理および
再試行処理が可能となる。
In this way, a synchronization instruction is set in the synchronization instruction field so that the software can recognize the instruction retry area for data transfer where there is a risk of data destruction in the storage area due to an abnormal event that occurs during data transfer. , by executing this synchronization instruction instruction at the end of the data transfer instruction for the storage area that the software wants to retry,
The software can recognize and manage the data guarantee range within the storage area, enabling flexible and efficient failure handling and retry processing.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を適用したデータ処理装置の
構成の要点を示すブロック図である。10および20は
異なる記憶装置(1)および(2)、30は記憶装置(
1)10に格納されたプログラムをパス(1)101を
経由して取り出し、命令語の解読および命令の実行指示
を行う命令制御部、40は命令制御部30からの実行指
示によりパス(2)102およびパス(3)103を介
して、記憶装置(1)10と記憶装置(2)20との間
のデータ転送を実行する転送制御部である。
FIG. 1 is a block diagram showing the main points of the configuration of a data processing device to which an embodiment of the present invention is applied. 10 and 20 are different storage devices (1) and (2), and 30 is a storage device (
1) An instruction control unit that takes out the program stored in 10 via path (1) 101, decodes the instruction word, and instructs the execution of the instruction; This is a transfer control unit that executes data transfer between the storage device (1) 10 and the storage device (2) 20 via the path (3) 102 and the path (3) 103.

第3図は、本実施例で使用される転送系命令語形式を示
す説明図であり、OPは命令コードで動作指示、例えば
WDは記憶装置(1)10から記憶装置(2)20への
データ転送命令、RDは記憶装置(2)20から記憶装
置(1)10へのデータ転送命令を表す。また、SYC
’ は本発明による同期指示フィールドであり「1」の
とき、データ転送を行うとともに同期合わせを行うこと
を意味する。
FIG. 3 is an explanatory diagram showing the format of transfer-related commands used in this embodiment. OP is an instruction code that indicates an operation; for example, WD is a command code that indicates an operation from storage device (1) 10 to storage device (2) 20. A data transfer command, RD, represents a data transfer command from the storage device (2) 20 to the storage device (1) 10. Also, S.Y.C.
' is a synchronization instruction field according to the present invention, and when it is "1", it means that data transfer is performed and synchronization is performed.

AD (1)は記憶装置(1)10に対するアドレス(
1)を規定するフィールド、一方、AD (2)は記憶
装置(2)20に対するアドレス(2)を規定するフィ
ールドである。
AD (1) is the address (
AD (2) is a field that specifies the address (2) for the storage device (2) 20.

第4図は、命令制御部30からの実行指示を受は付けた
ときの転送制御部40の動作の一例を示すフローチャー
トである。また第5図は、第2図に示した記憶装置(1
)10のエリアA、BおよびCの内容を記憶装置(2)
20のエリアX、YおよびZへそれぞれ転送する場合の
命令実行列の一例を示す説明図である。さらに第6図は
第5図の命令列に対する転送制御部40の動作の時間関
係を示すタイムチャートである。
FIG. 4 is a flowchart showing an example of the operation of the transfer control section 40 when an execution instruction from the command control section 30 is accepted. FIG. 5 also shows the storage device (1) shown in FIG.
) 10 areas A, B and C on storage device (2)
20 is an explanatory diagram showing an example of an instruction execution sequence when transferring to areas X, Y, and Z of No. 20, respectively. FIG. Further, FIG. 6 is a time chart showing the time relationship of the operations of the transfer control section 40 with respect to the instruction sequence shown in FIG.

本発明の特徴は、第3図に示す命令語の中に、同期指示
フィールドsyc’を設け、第1図のデータ転送の同期
指示命令SYCを設定し、第4図に示すフローチャート
に従って制御を行うことに。ある。
A feature of the present invention is that a synchronization instruction field syc' is provided in the instruction word shown in FIG. 3, the synchronization instruction command SYC for data transfer shown in FIG. 1 is set, and control is performed according to the flowchart shown in FIG. Especially. be.

次に、本実施例の動作について説明する。まず、命令コ
ードがWDのときは、フィールドAD (1)で示され
たアドレスに対応する記憶装置(1)10のデータが、
フィールドAD (2)で示されたアドレスに対応する
記憶装置(2)20のエリアへ転送され、一方命令コー
ドがRDのときは、逆方向のデータ転送を実行するもの
とする。
Next, the operation of this embodiment will be explained. First, when the instruction code is WD, the data in the storage device (1) 10 corresponding to the address indicated by the field AD (1) is
It is assumed that the data is transferred to the area of the storage device (2) 20 corresponding to the address indicated by the field AD (2), and when the instruction code is RD, data transfer in the opposite direction is executed.

第1図において、命令制御部30が命令コードを解読し
た結果、データ転送命令のときは、実行要求信号RQに
より、転送制御部40に対し実行指示を行う。このとき
同時にリクエストコード信号RQCにより動作コードを
、アドレス信号ADにより記憶装置(1)10および(
2)20に対するアドレスを、また同期指示フィールド
SYC’によりデータ転送の同期指示命令SYCを送出
してくる。
In FIG. 1, when the command control unit 30 decodes the command code and finds that it is a data transfer command, it issues an execution instruction to the transfer control unit 40 using an execution request signal RQ. At the same time, the request code signal RQC sends the operation code, and the address signal AD sends the operation code to the memory devices (1) 10 and (
2) It sends out the address for 20 and a synchronization instruction command SYC for data transfer using the synchronization instruction field SYC'.

リプライ信号RPYは転送制御部40から命令制御部3
0に対して送出される実行要求信号RQに対応する信号
で、命令制御部30は、このリプライ信号RPYを受は
取ると次の命令の実行指示を行う。
The reply signal RPY is sent from the transfer control unit 40 to the command control unit 3.
When the command control section 30 receives this reply signal RPY, which is a signal corresponding to the execution request signal RQ sent to the command RPY, it instructs the execution of the next command.

割込報告信号(NTは、転送制御部40が記憶装置(1
)10および(2)20から異常状態検出報告を受は取
った場合、あるいは、転送制御部40自身で異常状態を
検出したときに、命令制御部30に対して報告する信号
であり、命令制御部30はこの割込報告信号INTによ
り次の命令の実行指示を抑止し、割込処理シーケンスを
起動させる。
The interrupt report signal (NT is the transfer control unit 40's storage device (1
) 10 and (2) 20, or when the transfer control unit 40 itself detects an abnormal state, this signal is reported to the command control unit 30, and the command control unit 30 The unit 30 uses this interrupt report signal INT to suppress the execution instruction of the next instruction and starts the interrupt processing sequence.

次に第4図のフローチャートを説明する。ステップS1
は、命令制御部30からの実行要求信号RQを検出する
ステップであり、実行要求信号RQが「l」 (論理「
1」)のとき、ステップS2でリクエストコード信号R
QCおよびアドレス信号ADおよび同期指示命令SYC
を取り込み、シーケンスAビジーインジケータ(BSY
A)を「1」にセットし、リクエストコード信号RQC
の内容を解読し次のステップS3に移る(シーケンスA
)。
Next, the flowchart shown in FIG. 4 will be explained. Step S1
is a step of detecting the execution request signal RQ from the instruction control unit 30, and the execution request signal RQ is "l" (logical "
1), the request code signal R is sent in step S2.
QC, address signal AD and synchronization instruction command SYC
and sequence A busy indicator (BSY
A) is set to "1", and the request code signal RQC
decipher the contents and move on to the next step S3 (sequence A
).

ステップ3において、シーケンスAビジーインジケータ
(BSYA)を「0」 (論理「0」)にリセットし、
シーケンスBビジーインジケータ(BSYB)を「1」
にセットする。また記憶装置(1)10および(2)2
0に対して、リクエストコード信号RQCの解読結果に
従いデータ転送要求および転送アドレスを送出し、転送
可能な状態をチェックし、これら二つの記憶装置間のデ
ータ転送シーケンス制御の同期をとる。ステップS4に
おいて、同期が完了すると、次のステップS5を  −
起動する(シーケンスB)。
In step 3, reset the sequence A busy indicator (BSYA) to “0” (logic “0”);
Set sequence B busy indicator (BSYB) to “1”
Set to . Also storage devices (1) 10 and (2) 2
0, a data transfer request and a transfer address are sent in accordance with the decoding result of the request code signal RQC, a transferable state is checked, and data transfer sequence control between these two storage devices is synchronized. In step S4, when the synchronization is completed, the next step S5 -
Activate (sequence B).

ステップS5において、シーケンスBビジーインジケー
タ(BSYB)にリセットし、シーケンスCビジーイン
ジケータ(BSYC)を「1」にセットし、記憶装置(
1)10および記憶装置 (2)20との間のデータ転
送を起動させる。このときステップS6により同期指示
命令SYCの値をチェックし、rOJのとき命令制御部
30に対しリプライ信号RPYを送出する(ステップS
7)。次のステップS8においてデータ転送の終了を待
ち合わせる(シーケンスC)。
In step S5, the sequence B busy indicator (BSYB) is reset, the sequence C busy indicator (BSYC) is set to "1", and the storage device (
1) Start data transfer between 10 and the storage device (2) 20. At this time, the value of the synchronization instruction command SYC is checked in step S6, and when rOJ, a reply signal RPY is sent to the command control unit 30 (step S6).
7). In the next step S8, the end of data transfer is awaited (sequence C).

転送終了を検出するとステップS9において、シーケン
スCビジーインジケータ(BSYC)を「0」にリセッ
トし、さらにシーケンスCビジーインジケータ(BSY
D)を「1」にセットして、記憶装置(1)10およ秒
(2)20からの終了ステータス受付シーケンスを起動
させる。終了ステータスを取り込むとステップ310に
おいて内容をチェックし、異常の場合はステップ11で
命令制御部30に対して、割込報告信号INTにより割
込処理シーケンスの起動を指示する。次にステップ31
2において同期指示命令SYCの内容をチェックし「1
」のときは、命令制御部30に対しリプライ信号RPY
を送出する。そして同順指示命令SYCが「0」のとき
は、すでにステップS7においてリプライ信号RPYを
送出しているため、この時点ではリプライ信号RPYは
送出しない。次にステップS14においてシーケンスB
ビジーインジケータ(BSYD)を「0」にセットして
動作を終了させる(シーケンスD)。命令制御部30は
リプライ信号RPYが送出されるまで次の命令の実行指
示を抑止している。
When the end of the transfer is detected, the sequence C busy indicator (BSYC) is reset to "0" in step S9, and the sequence C busy indicator (BSYC) is reset to "0".
D) is set to "1" to start the termination status reception sequence from storage device (1) 10 and second (2) 20. When the end status is fetched, the contents are checked in step 310, and if an abnormality is detected, the instruction control unit 30 is instructed to start an interrupt processing sequence by the interrupt report signal INT in step 11. Next step 31
In step 2, check the contents of the synchronization instruction command SYC and
”, the reply signal RPY is sent to the command control unit 30.
Send out. When the same order instruction command SYC is "0", the reply signal RPY has already been sent out in step S7, so the reply signal RPY is not sent out at this point. Next, in step S14, sequence B
The busy indicator (BSYD) is set to "0" to end the operation (sequence D). The instruction control unit 30 suppresses the instruction to execute the next instruction until the reply signal RPY is sent.

以上の説明を基にして、第2図に示すエリアAからエリ
アX、エリアBからエリアYおよびエリアCからエリア
Zへのデータ転送を行う場合のプログラムの一例を第5
図に示す。エリア内のブロック間の転送が1個のデータ
転送命令に対応している。したがって、命令■〜■はエ
リアAからエリアXへのデータ転送、命令■〜■はエリ
アBからエリアYへのデータ転送、および命令■はエリ
アCからエリア2へのデータ転送を指定していることに
なる。この第5図は第7図に示した従来例に対応してい
る。第6図は、第5図の命令実行において、命令■の終
了ステータスが異常となったときのデータ転送シーケン
スの時間関係を示したもので、第8図に示した従来例に
対応している。
Based on the above explanation, an example of a program for transferring data from area A to area X, from area B to area Y, and from area C to area Z shown in FIG.
As shown in the figure. Transfer between blocks within an area corresponds to one data transfer command. Therefore, commands ■ to ■ specify data transfer from area A to area X, commands ■ to ■ specify data transfer from area B to area Y, and command ■ specify data transfer from area C to area 2. It turns out. This FIG. 5 corresponds to the conventional example shown in FIG. FIG. 6 shows the time relationship of the data transfer sequence when the end status of instruction (■) becomes abnormal in the instruction execution of FIG. 5, and corresponds to the conventional example shown in FIG. 8. .

本実施例においては、第5図に示すように、本発明によ
る同期指示フィールドSYC’ により、ソフトウェア
がエリア管理したい単位にデータ転送命令語の中で同時
にデータ転送同期の指示をしておくことにより、第6図
に示すように命令■で異常を検出しても、割込処理シー
ケンスが起動されるまでリプライ信号を送出するのを待
ち合わせて同期を合わせるため、次の命令■の実行指示
が抑止され、命令■によるデータ転送は実行されない。
In this embodiment, as shown in FIG. 5, the synchronization instruction field SYC' according to the present invention allows the software to simultaneously instruct the data transfer synchronization in the data transfer command for the unit in which the area is to be managed. As shown in Figure 6, even if an abnormality is detected in the instruction ■, the instruction to execute the next instruction ■ is suppressed because synchronization is achieved by waiting to send a reply signal until the interrupt processing sequence is activated. Therefore, data transfer by instruction ■ is not executed.

したがって、エリアZの内容も保証される。Therefore, the contents of area Z are also guaranteed.

すなわち、ソフトウェアはエリアYだけに対しエラー処
理および再試行処理を行えばよいことになる。
In other words, the software only needs to perform error processing and retry processing for area Y.

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

以上説明したように、本発明は、異なる記憶領域間でデ
ータ転送を行う場合、データ転送時に発生した異常事象
により、記憶領域内のデータ破壊の恐れのあるデータ転
送に対して、命令再試行領域をソフトウェアが認識可能
となるようなデータ転送の同期を指示する同期指示フィ
ールドを命令語の中に設定し、ソフトウェアがあらかじ
め再試行したい領域の最後のデータ転送命令の中で、同
期指示命令を設定しておくことにより、比較的簡単な手
段で、記憶領域内のデータ保証範囲をソフトウェアが認
識かつ管理でき、柔軟性のあるかつ効率的な障害処理お
よび再試行処理が可能となる効果がある。
As explained above, when data is transferred between different storage areas, the present invention provides an instruction retry area for data transfer in which there is a risk of data destruction in the storage area due to an abnormal event that occurs during data transfer. Set a synchronization instruction field in the instruction word to instruct synchronization of data transfer so that the software can recognize it, and set the synchronization instruction command in the last data transfer instruction of the area that the software wants to retry in advance By doing so, the software can recognize and manage the guaranteed data range within the storage area using relatively simple means, and has the effect of enabling flexible and efficient failure handling and retry processing.

したがって、本発明によれば、信頼性およびスルーブツ
トの向上したデータ処理装置が得られその効果は大きい
Therefore, according to the present invention, a data processing device with improved reliability and throughput can be obtained, and its effects are significant.

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

第1図は本発明の一実施例を適用したデータ処理装置の
構成の要点を示すブロック図。 第2図は記憶装置間のデータ転送の説明図。 第3図は本発明の一実施例による命令語形式の一例を示
す説明図。 第4図は本発明の一実施例による転送制御部の制御手順
を示すフローチャート。 第5図は本発明の一実施例によるプログラムの一例を示
す説明図。 第6図は第5図に対応するタイムチャート。 第7図は従来例によるプログラムの一例を示す説明図。 第8図は第7図に対応するタイムチャート。 10・・・記憶装置(1)、20・・・記憶装置(2)
、30・・・命令制御部、40・・・転送制御部、10
1・・・バス(1)、102・・・バス(2)、103
・・・バス(3) 、AD・・・アドレス信号、AD 
(1) 、AD (2)・・・フィールド、OP・・・
命令コード、INT・・・割込報告信号、RPY・・・
リプライ信号、RQ・・・実行要求信号、RQC・・・
リクエストコード信号、SYC・・・同期指示命令、S
YC’・・・同期指示フィールド、WD・・・データ転
送命令。
FIG. 1 is a block diagram showing the main points of the configuration of a data processing device to which an embodiment of the present invention is applied. FIG. 2 is an explanatory diagram of data transfer between storage devices. FIG. 3 is an explanatory diagram showing an example of a command word format according to an embodiment of the present invention. FIG. 4 is a flowchart showing a control procedure of a transfer control unit according to an embodiment of the present invention. FIG. 5 is an explanatory diagram showing an example of a program according to an embodiment of the present invention. FIG. 6 is a time chart corresponding to FIG. FIG. 7 is an explanatory diagram showing an example of a conventional program. FIG. 8 is a time chart corresponding to FIG. 7. 10...Storage device (1), 20...Storage device (2)
, 30... instruction control unit, 40... transfer control unit, 10
1... Bus (1), 102... Bus (2), 103
...Bus (3), AD...Address signal, AD
(1), AD (2)...Field, OP...
Instruction code, INT...interrupt report signal, RPY...
Reply signal, RQ...Execution request signal, RQC...
Request code signal, SYC...Synchronization instruction command, S
YC'...Synchronization instruction field, WD...Data transfer command.

Claims (1)

【特許請求の範囲】[Claims] (1)データ処理システムの相異なる二つの記憶領域間
におけるデータの転送を制御するデータ転送制御方式に
おいて、 命令語の中にデータ転送同期合わせを指示する同期指示
フィールドを設定し、 命令制御部が上記命令語の解読の結果によりデータ転送
制御部に対しデータ転送実行指示とともに上記同期指示
フィールドの内容を送出し、この同期指示フィールドの
内容が同期指示命令の場合に実行中のデータ転送の終了
およびデータ転送時に発生した異常事象の有無を確認す
るまで上記命令制御部での次の実行指示を抑止すること
を特徴とするデータ転送制御方式。
(1) In a data transfer control method that controls data transfer between two different storage areas of a data processing system, a synchronization instruction field that instructs data transfer synchronization is set in the instruction word, and the instruction control unit Based on the result of decoding the command word, the data transfer execution instruction and the contents of the synchronization instruction field are sent to the data transfer control unit, and if the contents of the synchronization instruction field are a synchronization instruction command, the data transfer being executed is terminated and A data transfer control method characterized in that the next execution instruction in the instruction control unit is suppressed until the presence or absence of an abnormal event that has occurred during data transfer is checked.
JP61039804A 1986-02-25 1986-02-25 Data transfer control system Pending JPS62197818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61039804A JPS62197818A (en) 1986-02-25 1986-02-25 Data transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61039804A JPS62197818A (en) 1986-02-25 1986-02-25 Data transfer control system

Publications (1)

Publication Number Publication Date
JPS62197818A true JPS62197818A (en) 1987-09-01

Family

ID=12563142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61039804A Pending JPS62197818A (en) 1986-02-25 1986-02-25 Data transfer control system

Country Status (1)

Country Link
JP (1) JPS62197818A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53108254A (en) * 1977-03-02 1978-09-20 Nec Corp Information processor
JPS5696367A (en) * 1979-12-29 1981-08-04 Fujitsu Ltd Information processing device
JPS58169636A (en) * 1982-03-31 1983-10-06 Toshiba Corp Information processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53108254A (en) * 1977-03-02 1978-09-20 Nec Corp Information processor
JPS5696367A (en) * 1979-12-29 1981-08-04 Fujitsu Ltd Information processing device
JPS58169636A (en) * 1982-03-31 1983-10-06 Toshiba Corp Information processor

Similar Documents

Publication Publication Date Title
US7882277B2 (en) Processor, data transfer unit, multicore processor system
JPH0268639A (en) Disk cache control system and information processing system
JPS62197818A (en) Data transfer control system
EP3428799B1 (en) Data access device and access error notification method
JPS6146543A (en) Fault processing system of transfer device
JPS62197819A (en) Data transfer control system
JP3033586B2 (en) Information processing system
EP0609083A1 (en) Information transfer in a data processing system
JPH0346034A (en) Information processing system
JPH06202879A (en) Interrupt processing method
JPS59201110A (en) Programmable controller
JPS62130442A (en) File subsystem
JPS58114152A (en) Back up device for magnetic disc
JPS5896326A (en) Input and output control method
JPH0452981B2 (en)
JPS5829062A (en) Microcomputer system
JPH02730B2 (en)
JPH02141830A (en) Information processor
JPS5918733B2 (en) Data transmission/reception control device
JPS63147249A (en) Input/output processor
JPS63291148A (en) Re-tryal control system for input/output controller
JPS63157239A (en) Data processor
JPH02220160A (en) Information processing system
JPS62117054A (en) Confirmation system for state of input and output device
JPS63145562A (en) Channel command word readout system for input and output processor