JPS62197819A - Data transfer control system - Google Patents

Data transfer control system

Info

Publication number
JPS62197819A
JPS62197819A JP61039805A JP3980586A JPS62197819A JP S62197819 A JPS62197819 A JP S62197819A JP 61039805 A JP61039805 A JP 61039805A JP 3980586 A JP3980586 A JP 3980586A JP S62197819 A JPS62197819 A JP S62197819A
Authority
JP
Japan
Prior art keywords
instruction
data transfer
execution
signal
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
JP61039805A
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 JP61039805A priority Critical patent/JPS62197819A/en
Publication of JPS62197819A publication Critical patent/JPS62197819A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain 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 an instruction control part decodes a synchronous indication instruction. CONSTITUTION:When both data transfer and synchronism instructions are confirmed after an instruction control part 30 decoded an instruction code, an indication for execution is given to a transfer control part 40 by an execution request signal RQ. At the same time, an action code and addresses to both memory devices (1)10 and (2)20 are transmitted by the request code signal RQ and an address signal AD respectively. A reply signal RPY corresponds to the signal RQ transmitted to the part 30 from the part 40. Thus the part 30 receives the signal RPY and gives an indication for execution of the next instruction. An interruption report signal INT is used to give a report to the part 30 and the part 30 inhibits the indication for execution of the next instruction by the signal INT to start 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〕

本発明は、データ処理装置において相異なる二つの記憶
領域間におけるデータの転送を制御するデータ転送制御
方式において、 データ転送動作の同期合わせを指示する単独の同期指示
命令を設定し、命令制御部おいて上記転送同期指示命令
を解読した場合この同期指示命令以前に指示されたすべ
てのデータ転送の実行終了およびデータ転送実行時に発
生した異常事象の有無の確認可能な時期まで、上記命令
制御部での次の実行指示を抑止することにより、 柔軟性がありかつ効率的な障害処理および再試行処理を
可能とし、システムの信頼性およびスループットの向上
を図ったものである。
In a data transfer control method for controlling data transfer between two different storage areas in a data processing device, the present invention sets a single synchronization instruction command that instructs synchronization of data transfer operations, and When the above-mentioned transfer synchronization instruction command is decoded, the above-mentioned instruction control unit will continue to execute the above-mentioned transfer synchronization instruction command until the completion of all data transfers instructed before this synchronization instruction instruction and the time when it is possible to confirm whether there is an abnormal event that occurred during data transfer execution. By suppressing the next execution instruction, it enables flexible and efficient failure handling and retry processing, improving system reliability and throughput.

〔従来の技術〕[Conventional technology]

近年、データ処理装置において、記憶容量の増加が著し
くこれに対処するため、主記憶装置の他に大容量の拡張
記憶装置を付加する方式が採用されている。このような
システムにおいては、主記憶装置内のある記憶領域(以
下、単にエリアという。)のデータを、ディスク装置の
代わりに高速な拡張記憶装置に一時的に待避したり、ま
た拡張記憶装置内のデータを主記憶装置に回復したりす
ることにより、システムスループットの向上を図ってい
る。
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 the data to the main memory.

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

第7図および第8図はかかる従来のデータ転送方式の一
例を示す図で、第7図はそのプログラムを示す説明図、
第8図はそのタイムチャートである。第7図のプログラ
ムは、第2図に示すエリアAからエリアX、エリア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. This had the disadvantage of causing a decrease in

本発明の目的は、上記の欠点を除去することにより、柔
軟性のあるかつ効率的な障害処理および再試行処理がで
き、信頼性およびシステムスループットの向上したシス
テムを構築できるデータ転送制御方式を提供することに
ある。
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, and can build a system with improved reliability and system throughput by eliminating the above-mentioned drawbacks. It's about doing.

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

本発明は、データ処理システムの相異なる二つの記憶領
域間におけるデータの転送を制御するデータ転送制御方
式において、データ転送動作の同期合わせを指示する単
独の同期指示命令を設定し、命令制御部が上記同期指示
命令を解読した場合に、実行中のデータ転送の終了およ
びデータ転送実行時に発生した異常事象の有無を確認す
るまで上記命令制御部での次の実行指示を抑止すること
を特徴とする。
In a data transfer control method for controlling data transfer between two different storage areas of a data processing system, the present invention sets a single synchronization instruction command to instruct synchronization of data transfer operations, and the instruction control unit When the synchronization instruction instruction is decoded, 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 execution of the data transfer are confirmed. .

〔作 用〕[For production]

本発明は、命令の中にデータ転送動作の同期合わせを指
示する単独の同期指示命令を設定し、主要な動作命令を
挟んで動作プログラムを組んでおく。そして、命令語の
解読および実行指示を行う命令制御部において、上記同
期指示命令を解読した場合、それ以前に指示されたすべ
てのデータ転送の実行終了およびデータ転送実行時に発
生した異常事象の有無の確認ができるまで、上記命令制
御部での次の実行指示を抑止する。
In the present invention, a single synchronization instruction instruction for instructing synchronization of data transfer operations is set in the instruction, and an operation program is assembled with main operation instructions sandwiched therebetween. When the instruction control unit that decodes command words and instructs execution decodes the synchronization instruction command, it determines whether or not all previously instructed data transfers have been completed and whether any abnormal events occurred during data transfer execution. The next execution instruction by the instruction control unit is suppressed until confirmation is made.

かくして、データ転送時に発生した異常事象により記憶
領域内のデータ破壊の恐れのあるデータ転送に対して、
命令再試行領域をソフトウェアが認識可能となるような
同期指示命令を設定し、ソフトウェアがあらかじめ再試
行したい記憶領域に対するデータ転送命令の区切りで、
この同期指示命令を実行することにより、記憶領域内の
データ保証範囲をソフトウェアが認識かつ管理でき、柔
軟性がありかつ効率的な障害処理および再試行処理が可
能となる。
In this way, data transfer that may cause data destruction in the storage area due to an abnormal event that occurs during data transfer,
A synchronization instruction command is set so that the software can recognize the instruction retry area, and the software delimits the data transfer command for the storage area that it wants to retry in advance.
By executing this synchronization instruction command, the software can recognize and manage the guaranteed data range within the storage area, allowing 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), 30 is a storage value! (
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は本
発明によるデータ転送の同期指示命令等を表す。AD 
(1)は記憶装置(1)10に対するアドレス(1)を
規定するフィールド、一方、AD (2)は記憶装置(
2)20に対するアドレス(2)を規定するフィールド
である。ただし、命令コードが同期指示命令SYCのと
きは、フィールドAD (1)およびフィールドAD 
(2)は意味を持たない。
FIG. 3 is an explanatory diagram showing the format of the transfer-related command word used in this embodiment. RD represents a data transfer command from the storage device (2) 20 to the storage device (1) 10, and SYC represents a data transfer synchronization instruction command according to the present invention. A.D.
(1) is a field that specifies the address (1) for the storage device (1) 10, while AD (2) is a field that specifies the address (1) for the storage device (1) 10.
2) This is a field that defines the address (2) for 20. However, when the instruction code is synchronization instruction command SYC, field AD (1) and field AD
(2) has no meaning.

第4図は、命令制御部30からの実行指示を受は付けた
ときの転送制御部40の動作の一例を示すフローチャー
トである。また第5図は第2図に示した記憶装置(1)
10のエリアA、BおよびCの内容を記憶値!(2)2
0のエリア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. Also, Figure 5 shows the storage device (1) shown in Figure 2.
The contents of areas A, B, and C in 10 are memorized values! (2)2
FIG. 3 is an explanatory diagram showing an example of an instruction execution sequence when transferring to areas X, Y, and Z of 0; 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図に示す命令語の命令コードOP
の中に、同期指示命令SYCを後で示す第5図のように
設定し、第1図の構成において、第4図に従って制御を
行うことにある。
The feature of the present invention is that the instruction code OP of the instruction word shown in FIG.
The synchronization instruction command SYC is set as shown in FIG. 5, which will be shown later, in the configuration shown in FIG. 1, and control is performed according to FIG. 4.

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

第1図において、命令制御部30が命令コードを解読し
た結果、データ転送命令および同期用命令のときは、実
行要求信号RQにより転送制御部40に対し実行指示を
行う。このとき同時にリクエストコード信号RQCによ
り動作コードを、また、アドレス信号ADにより記憶装
置(1)10および(2)20に対するアドレスを送出
してくる。リプライ信号RPYは、転送制御部40から
命令制御部30に対して送出される実行要求信号RQに
対応する信号で、命令制御部30は、このリプライ信号
RPYを受は取ると、次の命令の実行指示を行う。
In FIG. 1, when the instruction control section 30 decodes the instruction code and finds that it is a data transfer instruction or a synchronization instruction, an execution instruction is given to the transfer control section 40 using an execution request signal RQ. At the same time, the request code signal RQC sends an operation code, and the address signal AD sends addresses for the storage devices (1) 10 and (2) 20. The reply signal RPY is a signal corresponding to the execution request signal RQ sent from the transfer control unit 40 to the instruction control unit 30. When the instruction control unit 30 receives this reply signal RPY, it executes the next instruction. Give execution instructions.

割込報告信号INTは、転送制御部40が記憶装置(1
)10および(2)20から異常状態検出報告を受は取
った場合、あるいは、転送制御部40自身で異常状態を
検出したときに、命令制御部30に対して報告する信号
であり、命令制御部30はこの割込報告信号INTによ
り次の命令の実行指示を抑止し、割込処理シーケンスを
起動させる。
The interrupt report signal INT is transmitted by the transfer control unit 40 to the 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図の制御フローチャートを説明する。Next, the control flowchart shown in FIG. 4 will be explained.

ステップS1は、命令制御部30からの実行要求信号R
Qを検出するステップであり、実行要求信号RQが「1
」 (論理「l」)のとき、ステップS2でリクエスト
コード信号RQCおよびアドレス信号ADを取り込み、
シーケンスAビジーインジケータ(BSYA)を「1」
にセットする。次のステップS3においてリクエストコ
ード信号RQCをデコードし、データ転送系である場合
ステップS4以降の動作を行う(シーケンスA)。
Step S1 is an execution request signal R from the instruction control unit 30.
This is the step of detecting Q, and when the execution request signal RQ is "1",
” (logic “L”), the request code signal RQC and address signal AD are taken in in step S2,
Set sequence A busy indicator (BSYA) to "1"
Set to . In the next step S3, the request code signal RQC is decoded, and if it is a data transfer system, the operations from step S4 onwards are performed (sequence A).

ステップS4において、シーケンスAビジーインジケー
タ(BSYA)を「O」 (論理「0」)にリセットし
、シーケンスBビジーインジケータ(BSYB)を「1
」にセットする。また記憶装置(1)10および(2)
20に対して、データ転送要求および転送アドレスを送
出し、転送可能な状態をチェックし、これら二つの記憶
装置(1)10および(2)20間のデータ転送および
シーケンス制御の同期をとる。ステップS5において同
期が完了すると、次のステップS6を起動する(シーケ
ンスB)。
In step S4, the sequence A busy indicator (BSYA) is reset to "O" (logic "0"), and the sequence B busy indicator (BSYB) is reset to "1".
”. Also storage devices (1) 10 and (2)
A data transfer request and a transfer address are sent to 20, a transferable state is checked, and data transfer and sequence control between these two storage devices (1) 10 and (2) 20 are synchronized. When the synchronization is completed in step S5, the next step S6 is activated (sequence B).

ステップS6において、シーケンスBビジーインジケー
タ(BSYB)を「0」にリセットし、シーケンスCビ
ジーインジケータ(BSYC)を「1」にセットし、命
令制御部30に対しリプライRPY信号を送出し、同時
にデータ転送を起動させ、ステップS7で転送終了を待
ち合わせる(シーケンスC)。
In step S6, the sequence B busy indicator (BSYB) is reset to "0", the sequence C busy indicator (BSYC) is set to "1", a reply RPY signal is sent to the instruction control unit 30, and data is transferred at the same time. and waits for the end of the transfer in step S7 (sequence C).

転送終了を検出すると、ステップS8において、シーケ
ンスCビジーインジケータ(BSYC)を「0」にリセ
ットし、さらにシーケンスDビジーインジケータ(BS
YD)を「1」にセットして、記憶装置f(1)10お
よび(2)20からの終了ステータス受付シーケンスを
起動させる。終了ステータスを取り込むと内容をチェッ
クし、正常な場合はステップ311でシーケンスDビジ
ーインジケータ(BSYD)を「0」にリセットして終
了するが、異常の場合はステップSIOで命令制御部3
0に対して、割込報告信号INTにより割込処理シーケ
ンスの起動を指示し、シーケンスDビジーインジケータ
(BSYD)を「0」にリセットする(シーケンスD)
When the end of the transfer is detected, in step S8, the sequence C busy indicator (BSYC) is reset to "0", and the sequence D busy indicator (BSYC) is reset to "0".
YD) is set to "1" to start the termination status reception sequence from the storage devices f(1) 10 and (2) 20. When the completion status is fetched, the contents are checked, and if the status is normal, the sequence D busy indicator (BSYD) is reset to "0" in step 311 and the process ends; however, if the status is abnormal, the instruction control unit 3 is sent to step SIO.
0, the interrupt processing sequence is instructed to start using the interrupt report signal INT, and the sequence D busy indicator (BSYD) is reset to "0" (sequence D).
.

一方、ステップS3でリクエストコード信号RQCの解
読結果、同期指示命令SYCの場合は、データ転送は制
御させずステップS12.313およびS14により、
転送制御シーケンスB、CおよびDが動作中であるか否
かを、シーケンスBビジーインジケータ(BSYB)、
シーケンスCビジーインジケータ(B S Y C)お
よびシーケンスDビジーインジケータ(B S Y D
)の値でチェックし、すべてのインジケータがrQJに
なるのを待ち合わせる。すべての転送動作が完了した時
点でステップS15によりシーケンスAビジーインジケ
ータ(BSYA)を「0」にリセットし、同時に命令制
御部30に対し、リプライ信号RPYを送出し、次の命
令実行指示を要求する。命令制御部30はリプライ信号
RPYが送出されるまでは、次の命令の実行指示を抑止
している。
On the other hand, if the decoding result of the request code signal RQC is a synchronization instruction command SYC in step S3, data transfer is not controlled and steps S12, 313 and S14 are executed.
A sequence B busy indicator (BSYB) indicates whether transfer control sequences B, C and D are in operation.
Sequence C busy indicator (B S Y C) and sequence D busy indicator (B S Y D
) and wait until all indicators become rQJ. When all transfer operations are completed, the sequence A busy indicator (BSYA) is reset to "0" in step S15, and at the same time, a reply signal RPY is sent to the command control unit 30 to request the next command execution instruction. . The command control unit 30 inhibits execution of the next command until the reply signal RPY is sent.

以上の説明を基にして、第2図に示すエリアAからエリ
アX、エリアBからエリアYおよびエリアCからエリア
Zへのデータ転送を行う場合のプログラムの一例を第5
図に示す。エリア内のブロック間の転送が1個のデータ
転送命令に対応している。したがって、命令■〜■はエ
リア八からエリアXへのデータ転送、命令■〜■はエリ
アBからエリアYへのデータ転送、および命令■はエリ
アCからエリアZへのデータ転送を指定していることに
なる。そして、命令■′、■′および■′は同期指示命
令SYCである。この第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 8 to area X, commands ■ to ■ specify data transfer from area B to area Y, and command ■ specify data transfer from area C to area Z. It turns out. The commands ■', ■' and ■' are synchronization instruction commands SYC. This FIG. 5 corresponds to the conventional example shown in FIG. FIG. 6 shows that in the instruction execution of FIG.
This figure shows the time relationship of the data transfer sequence when the end status of the instruction (2) becomes abnormal, and corresponds to the conventional example shown in FIG.

本実施例において、は、第5図に示すように、本発明に
よるデータ転送の同期指示命令■′および■′をソフト
ウェアがエリア管理したい単位にデ−タ転送命令間に挿
入しておくことにより、第6図に示すように命令■で異
常を検出しても、割込処理シーケンスが起動されるまで
、同期指示命令■′の実行によりシーケンスAで命令■
の動作がすべて完了するまで待ってから、リプライ信号
RPを送出するため、次の命令■の実行指示が抑止され
、命令■によるデータ転送は実行されず、したがってエ
リアZの内容も保証されることになる。
In this embodiment, as shown in FIG. 5, data transfer synchronization instruction commands ■' and ■' according to the present invention are inserted between data transfer commands in units where software wants to manage areas. , as shown in FIG. 6, even if an abnormality is detected in the instruction ■, the instruction ■ in the sequence A is executed by executing the synchronization instruction command ■' until the interrupt processing sequence is started.
Since the reply signal RP is sent after waiting until all the operations in area Z are completed, the instruction to execute the next instruction ■ is suppressed, and the data transfer by instruction ■ is not executed, so the contents of area Z are also guaranteed. become.

すなわち、ソフトウェアはエリア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. By setting a synchronization instruction command for data transfer so that the software can recognize it, and executing this synchronization instruction command at the break of the data transfer command for the area that the software wants to retry in advance, it can be stored in a relatively simple way. The software can recognize and manage the data guarantee range within the area, 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・・・同期指示命令、W
D・・・データ転送命令。 特許出願人 日本電気株式会社 − 代理人  弁理士 井 出 直 孝 尖施例 篤 1 図 夫鞄例 第 6 図 従来例 @、J父 ンー六 凪埋 “ン又 ′L釆例 菟 8 図
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...Path (1), 102...Pass (2), 103
...Path (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, W
D...Data transfer command. Patent Applicant NEC Corporation - Agent Patent Attorney Nao Ide Kyoto Example Atsushi 1 Figure 6 Conventional Example @, J Father - Rokunagi Burial "Nmata'L Button Example 8 Figure 8

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 single synchronization instruction command that instructs synchronization of data transfer operations is set, and the instruction control unit performs the above Data characterized in that, when the synchronization instruction instruction is decoded, 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 execution are confirmed. Transfer control method.
JP61039805A 1986-02-25 1986-02-25 Data transfer control system Pending JPS62197819A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=12563171

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS62197819A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53109453A (en) * 1977-03-07 1978-09-25 Nec Corp Instruction control unit
JPS5696367A (en) * 1979-12-29 1981-08-04 Fujitsu Ltd Information processing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53109453A (en) * 1977-03-07 1978-09-25 Nec Corp Instruction control unit
JPS5696367A (en) * 1979-12-29 1981-08-04 Fujitsu Ltd Information processing device

Similar Documents

Publication Publication Date Title
US5579220A (en) Method of updating a supplementary automation system
JP4315016B2 (en) System switching method for computer system
JPS6364144A (en) Inter-memory data transfer system
JPS62197819A (en) Data transfer control system
JPS62197818A (en) Data transfer control system
JP3545772B2 (en) Operating time monitoring method
JPH0452981B2 (en)
JPH0588933A (en) Parallel processing system with debugging function
JP4193754B2 (en) Data duplication method and program
JP2642768B2 (en) I / O device control method
JPS597971B2 (en) I/O device control method
JP2595697B2 (en) Message processing system
JP2557538B2 (en) Duplex system
JPS6243224B2 (en)
JP3664139B2 (en) Retry processing method of SCSI interface controller
JP3153977B2 (en) Information processing device
JPH01147636A (en) Process retrial system for occurrence of fault
JPH01118902A (en) Control system for pc data transfer
JPS6275859A (en) Input and output control system
JPH02130625A (en) Interface control system
JPS61202259A (en) Input and output control system
JPS62117054A (en) Confirmation system for state of input and output device
JP2008046731A (en) Controller and duplex control program
JPS60238901A (en) System switching system
JPH0418743B2 (en)