JPH11259324A - Main storage device copying system - Google Patents

Main storage device copying system

Info

Publication number
JPH11259324A
JPH11259324A JP10063061A JP6306198A JPH11259324A JP H11259324 A JPH11259324 A JP H11259324A JP 10063061 A JP10063061 A JP 10063061A JP 6306198 A JP6306198 A JP 6306198A JP H11259324 A JPH11259324 A JP H11259324A
Authority
JP
Japan
Prior art keywords
main storage
storage device
memory
address
data
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.)
Withdrawn
Application number
JP10063061A
Other languages
Japanese (ja)
Inventor
Atsushi Yoshioka
敦史 吉岡
Shigeaki Kawamata
重明 川俣
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10063061A priority Critical patent/JPH11259324A/en
Publication of JPH11259324A publication Critical patent/JPH11259324A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Bus Control (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the reduction of reliability and the pressure of throughput as little as possible during the copy period of stored contents in a main storage device concerning a main storage device copying system for a duplex controller. SOLUTION: Concerning a duplex controller 10 provided with a duplexed central controller 100, main storage device 200 and channel controller 300, a pseudo input/output device 310 provided for testing the function of each channel controller 300 and equipped with a DMA function is provided with a memory copy command accepting means 320 for receiving/identifying a command to request the copy of stored contents in the main storage device of an active system to the main storage device of the other system. The copying system is also provided with a memory copy action control means 330 for successively extracting unit data stored at the respective addresses of the active system main storage device when the memory copying command is received from the central controller of the active system, continuously executing the data copy action for storing these data at the same addresses of the main storage device of the other system over all the storage areas of the main storage device and reporting the completion of copy to the central controller of the active system later.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は主記憶装置複写方式
に関し、特にそれぞれ二重化された中央制御装置、主記
憶装置およびチャネル制御装置を具備する二重化制御装
置における主記憶装置複写方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a main storage device copying method, and more particularly to a main storage device copying method in a redundant control device having a duplicated central control device, main storage device, and channel control device.

【0002】[0002]

【従来の技術】図6は従来ある二重化制御装置を例示す
る図であり、図7は図6における主記憶装置複写処理を
例示する図である。
2. Description of the Related Art FIG. 6 is a diagram exemplifying a conventional duplex control device, and FIG. 7 is a diagram exemplifying a main storage device copying process in FIG.

【0003】例えば電子交換機等の如く、運転を中断出
来ぬ情報処理システムの制御装置は、図6に示される如
く、それぞれ二重化された中央制御装置(CC)1〔個
々の中央制御装置(CC)を10 および11 と称する、
以下同様〕、主記憶装置(MM)2およびチャネル制御
装置(CHC)3から構成されている。
For example, as shown in FIG. 6, a control unit of an information processing system, such as an electronic exchange, whose operation cannot be interrupted is a dual central control unit (CC) 1 [individual central control unit (CC)]. is referred to as 1 0 and 1 1,
The same applies to the following.), A main memory (MM) 2 and a channel controller (CHC) 3.

【0004】なお各チャネル制御装置(CHC)3に
は、それぞれ擬似入出力装置(PIO)31が、チャネ
ル制御装置(CHC)3の機能を診断する目的で設けら
れているが、従来ある二重化制御装置10における主記
憶装置の複写処理とは無関係である。
A pseudo input / output device (PIO) 31 is provided in each channel control device (CHC) 3 for the purpose of diagnosing the function of the channel control device (CHC) 3. It has nothing to do with the copying process of the main storage device in the device 10.

【0005】中央制御装置(CC)10 は、システムバ
ス110 を経由して各主記憶装置(MM)20 、21
よびチャネル制御装置(CHC)30 、31 に接続さ
れ、また中央制御装置(CC)11 も、システムバス1
1 を経由して各主記憶装置(MM)20 、21 および
チャネル制御装置(CHC)30 、31 に接続されてい
る。
[0005] The central controller (CC) 1 0 are connected via a system bus 11 0 to the main memory (MM) 2 0, 2 1 and channel control unit (CHC) 3 0, 3 1 , also The central control unit (CC) 11 also has a system bus 1
It is connected to the respective main memory (MM) 2 0, 2 1 and channel control unit (CHC) 3 0, 3 1 through 1 1.

【0006】また各チャネル制御装置(CHC)3は、
それぞれCバス12を経由して入出力装置(IO)4と
接続されている。中央制御装置(CC)10 、主記憶装
置(MM)20 およびチャネル制御装置(CHC)30
により構成される制御装置を0系制御装置100 と称
し、また中央制御装置(CC)11 、主記憶装置(M
M)21 およびチャネル制御装置(CHC)31 から構
成される制御装置を1系制御装置101 と称する。
[0006] Each channel control device (CHC) 3
Each is connected to an input / output device (IO) 4 via a C bus 12. The central controller (CC) 1 0, main memory (MM) 2 0 and channel control unit (CHC) 3 0
Referred to configured control unit and 0-based controller 10 0, the addition central controller (CC) 1 1, a main memory (M
M) 2 1 and channel control unit (CHC) 3 refers to a control device composed of one and one system controller 10 1.

【0007】通常、一方〔例えば0系制御装置100
が現用系として稼働し、他方〔1系制御装置101 〕が
予備系として待機しており、0系制御装置100 に異常
が発生して稼働不能となった場合に、直ちに1系制御装
置101 が新たに現用系として稼働を開始して稼働の継
続性を維持し、罹障した0系制御装置100 は現用系か
ら切離して診断・修復を行った後、予備系として待機さ
せる。
[0007] Normally, whereas [e.g. 0-based controller 10 0]
There runs as the working system and the other [1 system controller 10 1] are waiting as a spare system, when an abnormality in the 0-system control unit 10 0 becomes inoperable occurred immediately 1 system controller 10 1 maintains the continuity of the operation to start the operation as new active system, 0-based controller 10 0 was Kakasawa after making diagnosis and repair disconnect from the working, to wait as the standby system.

【0008】稼働中の0系制御装置100 においては、
中央制御装置(CC)10 が自系の主記憶装置(MM)
0 から所要のデータを抽出して所要の処理を実行する
が、処理結果のデータは自系の主記憶装置(MM)20
のみならず、予備系の主記憶装置(MM)21 にも同時
に格納し、両系の主記憶装置(MM)20 および21
格納されているメモリデータ(DMM)を常時一致させて
置くことにより、予備系制御装置101 が現用系として
稼働する際の継続性を保証している。
[0008] In the 0-system control device 10 0 in the running,
The central controller (CC) 1 0 is the main memory of its own system (MM)
Extracts the required data from the 2 0 executes the required processing, the data of the processing result main memory of its own system (MM) 2 0
Not only, also simultaneously stored in the main memory (MM) 2 1 spare system, to match always memory data (D MM) stored in the main memory (MM) 2 0 and 2 1 of both systems by placing Te, the backup system control device 10 1 is to ensure continuity at the time of running as working system.

【0009】また二重化制御装置10は、定期的に〔例
えは一日に一回〕、予備系を現用系から切離し、予備系
の診断を実行することにより、稼働開始前に障害の検出
を行っている。
Further, the redundant control device 10 periodically (for example, once a day) disconnects the standby system from the active system and executes a diagnosis of the standby system, thereby detecting a failure before starting operation. ing.

【0010】現用系から切離され、診断が実行された系
〔例えば1系〕の主記憶装置(MM)21 に格納されて
いたメモリデータ(DMM)は、現用系主記憶装置(M
M)2 0 に格納されているメモリデータ(DMM)とは不
一致となっている為、予備系として運用を開始させるに
先立ち、現用系の主記憶装置(MM)20 のメモリデー
タ(DMM)を、主記憶装置(MM)21 に複写する必要
がある。
A system that has been disconnected from the active system and has been diagnosed
[For example, 1 system] main memory (MM) 21Stored in
Memory data (DMM) Is the active main memory (M
M) 2 0Memory data (DMM) Is not
Because it is the same, start operation as a standby system
Prior to the operation, the main memory (MM) 2 of the active system is used.0Memory Day
(DMM) To the main storage device (MM) 21Need to be copied to
There is.

【0011】かかる目的の為に、各主記憶装置(MM)
2には、現用系となった中央制御装置(CC)10 に、
図7に示される如き主記憶装置複写処理を実行させるメ
モリ複写プログラム(PMC)が格納されており、主記憶
装置(MM)21 を現用系制御装置100 に接続した
後、中央制御装置(CC)10 に対してメモリ複写指令
を入力すると、中央制御装置(CC)10 は、主記憶装
置(MM)20 に格納済のメモリ複写プログラム(P
MC0 )を実行開始する。
For this purpose, each main memory (MM)
The 2, the central controller (CC) 1 0 became active system,
Memory copy program for executing such main memory copy process shown in FIG. 7 (P MC) is stored, after connecting the main memory (MM) 2 1 to the working system controller 10 0, the central control unit (CC) 1 0 When entering the memory copy instruction to the central controller (CC) 1 0 a main memory device (MM) 2 0 to already stored in the memory copy program (P
MC0 ) starts execution.

【0012】最初に中央制御装置(CC)10 は、図示
されぬ制御レジスタ(R1 )に、主記憶装置(MM)2
0 の先頭アドレス(aB )を蓄積し〔図7、ステップS
1〕、次に図示されぬ制御レジスタ(R2 )に、主記憶
装置(MM)20 の最終アドレス(aE )を格納する
〔ステップS2〕。
[0012] The first central controller (CC) 1 0, the unexpected shown control register (R 1), main memory (MM) 2
The start address (a B ) of 0 is stored [FIG.
1], the next unexpected shown control register (R 2), and stores the main memory (MM) 2 0 of the last address (a E) [Step S2].

【0013】次に中央制御装置(CC)10 は、ロード
命令を実行することにより、主記憶装置(MM)20
参照し、制御レジスタ(R1 )に蓄積済のアドレス(a
1 =aB )対応領域に格納済のデータを複写データ(d
a1)として抽出し、図示されぬ制御レジスタ(R3 )に
蓄積する〔ステップS3〕。
[0013] Then the central controller (CC) 1 0 by executing the load instruction, the main memory (MM) with reference to the 2 0, control register (R 1) to the accumulation already address (a
1 = a B ) Copy the data stored in the corresponding area to the copy data (d
a1 ) and stores it in a control register (R 3 ) (not shown) [step S3].

【0014】次に中央制御装置(CC)10 は、ストア
命令を実行することにより、制御レジスタ(R3 )に蓄
積済の複写データ(da1)を抽出した後、主記憶装置
(MM)20 および21 を参照し、制御レジスタ
(R1 )に蓄積済のアドレス(a1 =aB )対応領域
に、抽出した複写データ(da1)をそれぞれ格納する
〔ステップS4〕。
[0014] Then the central controller (CC) 1 0 by executing a store instruction, after extracting the accumulated already replicated data (d a1) to the control register (R 3), main memory (MM) Referring to 2 0 and 2 1, accumulation already addresses control register (R 1) (a 1 = a B) to the corresponding region, the extracted copy data (d a1) storing each [step S4].

【0015】次に中央制御装置(CC)10 は、制御レ
ジスタ(R1 )に蓄積済のアドレス(a1 =aB )と、
制御レジスタ(R2 )に格納済のアドレス〔a2
E 〕とを比較し〔ステップS5〕、両者不一致〔aB
≠aE 〕であることを確認すると〔ステップS6〕、制
御レジスタ(R1 )に蓄積済のアドレス〔a1 =aB
に一を加算した後〔a1 =aB +1〕〔ステップS
7〕、ステップS3以降を繰返し実行する。
[0015] Then the central controller (CC) 1 0 includes a control register (R 1) to the accumulation already addresses (a 1 = a B),
The address [a 2 = stored in the control register (R 2 )
a E ] [Step S5], and the two do not match [a B
When it is confirmed that ≠ is a E] [step S6], the control register (R 1) to the accumulation already address [a 1 = a B)
[A 1 = a B +1] [Step S
7], step S3 and subsequent steps are repeatedly executed.

【0016】ステップS3乃至S7を繰返し実行する過
程で、中央制御装置(CC)10 が、制御レジスタ(R
1 )に蓄積済のアドレス(a1 )と、制御レジスタ(R
2 )に格納済のアドレス〔a2 =aE )とを比較した結
果〔ステップS5〕、両者一致〔a1 =aE 〕であるこ
とを確認すると〔ステップS6〕、主記憶装置(MM)
0 の先頭アドレス(aB )から最終アドレス(aE
迄に格納済の全複写データ(da1)〔即ちメモリデータ
(DMM)〕が、主記憶装置(MM)21 の同領域にも格
納されたこととなり、複写処理を終了する。
In the course of repeatedly executing steps S3 to S7, the central control unit (CC) 10 sets the control register (R
Accumulation already addresses 1) and (a 1), control registers (R
As a result of comparing the address [a 2 = a E ] stored in 2 ) with the address [a 2 = a E ] [Step S5], if it is confirmed that the two match [a 1 = a E ] [Step S6], the main memory (MM)
2 0 of the start address (a B) from the final address (a E)
Until the already stored the entire replicated data (d a1) [i.e. memory data (D MM)] is also it becomes possible stored in the same area of the main memory (MM) 2 1, and terminates the copy processing.

【0017】以後制御装置101 は、予備系として運用
可能となる。
[0017] Thereafter the control unit 10 1 is enabled operated as the standby system.

【0018】[0018]

【発明が解決しようとする課題】以上の説明から明らか
な如く、従来ある二重化制御装置10においては、修復
後の制御装置101 を予備系として運用開始させる為
に、現用系の中央制御装置(CC)10 がメモリ複写プ
ログラム(PMC)を実行し、主記憶装置(MM)2 0
各アドレス(a)に格納中の複写データ(da1)を、順
次主記憶装置(MM)21 の同一アドレス(a1 )に格
納することにより、主記憶装置(MM)20に格納済の
メモリデータ(DMM)を主記憶装置(MM)21 に複写
していた為、複写処理に多大の時間を費やすこととな
り、その間、二重化制御装置10は一重化構成で運用さ
れることとなり、信頼性が低下すると共に、現用系の中
央制御装置(CC)10 の処理能力がメモリ複写プログ
ラム(PMC)の実行により圧迫される恐れがあった。
It is clear from the above description.
As described above, in the conventional redundant control device 10,
Control device 10 after1To start operation as a standby system
In addition, the active central control unit (CC) 10Is a memory copy
Program (PMC) And the main memory (MM) 2 0of
Copy data (d) stored in each address (a)a1), In order
Secondary main memory (MM) 21The same address (a1)
The main storage device (MM) 20Stored in
Memory data (DMM) To the main memory (MM) 21Copy to
And spend a lot of time in the copying process.
In the meantime, the redundant control device 10 is operated in a single configuration.
And the reliability is reduced, and
Central control unit (CC) 10Processing capacity of memory copy program
Ram (PMC) Could be overwhelmed.

【0019】本発明は、二重化制御装置における主記憶
装置の記憶内容の複写期間中の信頼性の低下、並びに処
理能力の圧迫を極力軽減することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to minimize a decrease in reliability of a storage content of a main storage device in a duplication control device during a copying period and a reduction in processing capacity.

【0020】[0020]

【課題を解決するための手段】図1は本発明の原理図で
ある。図1において、10は本発明の対象となる二重化
制御装置、100は中央制御装置、200は主記憶装
置、300はチャネル制御装置であり、それぞれ二重化
されている。
FIG. 1 is a diagram illustrating the principle of the present invention. In FIG. 1, reference numeral 10 denotes a duplex control device to which the present invention is applied, 100 denotes a central control device, 200 denotes a main storage device, and 300 denotes a channel control device, each of which is duplicated.

【0021】310は、各チャネル制御装置300に機
能試験用として設けられた擬似入出力装置であり、ダイ
レクトメモリアクセス(DMA)機能を具備する。32
0は、本発明により擬似入出力装置310に設けられた
メモリ複写指令受付手段である。
Reference numeral 310 denotes a pseudo input / output device provided for each channel control device 300 for a function test, and has a direct memory access (DMA) function. 32
Numeral 0 is a memory copy command receiving means provided in the pseudo input / output device 310 according to the present invention.

【0022】330は、本発明により擬似入出力装置3
10に設けられた複写動作制御手段である。メモリ複写
指令受付手段320は、現用系の主記憶装置2000
記憶内容を、他系の主記憶装置2001 に複写を要求す
るメモリ複写指令を受信・識別する。
330 is a pseudo input / output device 3 according to the present invention.
10 is a copy operation control means. Memory copy command accepting unit 320, a main storage memory contents of device 200 0 of the active system, receiving and identifying the memory copy command requesting copied to main memory 200 1 of the other system.

【0023】複写動作制御手段330は、メモリ複写指
令受付手段320が、現用系の中央制御装置1000
らメモリ複写指令を受信した場合に、現用系の主記憶装
置2000 の各アドレスに格納されている単位データを
順次抽出し、他系の主記憶装置2001 の同一アドレス
に格納するデータ複写動作を、主記憶装置200の全記
憶領域に就いて連続して実行した後、メモリ複写動作の
実行完了を、現用系の中央制御装置1000 に通知す
る。〔以上、本発明(請求項1)関連〕 なお複写動作制御手段330は、現用系の主記憶装置2
00の連続する複数のアドレスに格納済の各単位データ
を連続して抽出し、他系の主記憶装置200のそれぞれ
対応する複数のアドレスに連続して格納することが考慮
される。〔本発明(請求項2)関連〕 また両系のチャネル制御装置3000 および3001
具備する各擬似入出力装置3100 および3101 内の
各複写動作制御手段3300 および3301 は、各主記
憶装置200の全記憶領域を二分して設けられた部分記
憶領域を分担し、現用系の主記憶装置200の各担当す
る部分記憶領域に格納済のデータを、他系の主記憶装置
200のそれぞれ対応する部分記憶領域に、並行して複
写することが考慮される。〔本発明(請求項3)関連〕 更に複写動作制御手段330は、現用系の主記憶装置2
00の各アドレスから抽出した各単位データを、両系の
主記憶装置200の同一アドレスにそれぞれ並行して格
納することが考慮される。〔本発明(請求項4)関連〕 従って、前記二重化制御装置において、主記憶装置の記
憶内容の複写時間が大幅に短縮されることにより一重化
運転時間が短縮されると共に、複写中に中央制御装置の
処理能力が圧迫される恐れも無くなり、当該二重化制御
装置の信頼性および処理能力が大幅に向上可能となる。
The copy operation control unit 330, a memory copy instruction receiving unit 320, if the central controller 100 0 of the primary system receives a memory copy instruction is stored in the main storage device 200 each address 0 of the active system sequentially extracting unit data is, data copying operation to be stored in the main storage device 200 1 at the same address of the other system, after executing continuously concerning the entire storage area of the main memory 200, the memory copying operation the execution completion, notifies the central controller 100 0 of the active system. [The above is related to the present invention (claim 1)] Note that the copy operation control means 330 is the main storage device 2 of the active system.
It is considered that each unit data already stored at a plurality of consecutive addresses of 00 is continuously extracted and stored at a plurality of corresponding addresses of the main storage device 200 of the other system. [Present invention (claim 2) Related] Furthermore each copying operation control unit 330 0 and 330 1 of each pseudo input device 310 0 and 310 1, comprising a channel control unit 300 0 and 300 1 of both systems, each The partial storage area provided by dividing the entire storage area of the main storage apparatus 200 into two parts is shared, and the data stored in each assigned partial storage area of the active main storage apparatus 200 is transferred to another main storage apparatus 200. Is considered in parallel to the corresponding partial storage areas. [Related to the Present Invention (Claim 3)] Further, the copying operation control means 330 is provided in the main storage device 2 of the active system.
It is considered that each unit data extracted from each address of 00 is stored in parallel at the same address of the main storage devices 200 of both systems. [Regarding the Present Invention (Claim 4)] Therefore, in the dual control device, the copy operation time of the contents stored in the main storage device is greatly reduced, so that the single operation time is reduced, and the central control during copying is performed. There is no danger that the processing capacity of the apparatus will be squeezed, and the reliability and processing capacity of the redundant control device can be greatly improved.

【0024】[0024]

【発明の実施の形態】以下、本発明の実施形態を図面に
より説明する。図2は本発明の実施形態による二重化制
御装置を示す図であり、図3は図2における擬似入出力
装置を例示する図であり、図4は図2における主記憶装
置複写シーケンス(単一アドレス毎)を例示する図であ
り、図5は図2における主記憶装置複写シーケンス(複
数アドレス毎)を例示する図である。なお、全図を通じ
て同一符号は同一対象物を示す。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a diagram showing a redundant control device according to an embodiment of the present invention, FIG. 3 is a diagram illustrating a pseudo input / output device in FIG. 2, and FIG. 4 is a main storage device copy sequence (single address) in FIG. FIG. 5 is a diagram exemplifying a main storage device copy sequence (each multiple address) in FIG. The same reference numerals indicate the same objects throughout the drawings.

【0025】図2に示される二重化制御装置10も、従
来ある二重化制御装置10〔図6参照〕と同様に、それ
ぞれ中央制御装置(CC)10 および11 、主記憶装置
(MM)20 および21 、並びにチャネル制御装置(C
HC)30 および31 から構成され、それぞれ0系制御
装置100 および1系制御装置101 を構成している
が、従来ある二重化制御装置10と異なる点は、各チャ
ネル制御装置(CHC)3内に設けられている擬似入出
力装置(PIO)31に、それぞれメモリ複写指令受付
部(CCR)32およびメモリ複写動作制御部(MC
C)33が、図1におけるメモリ複写指令受付手段32
0および複写動作制御手段330として設けられている
と共に、各主記憶装置(MM)2内には、メモリ複写プ
ログラム(P MC)が格納されていないことである。
The redundant control device 10 shown in FIG.
Like the existing redundant control device 10 (see FIG. 6),
Central control unit (CC) 10And 11, Main storage
(MM) 20And 21, And the channel control device (C
HC) 30And 31, Each with 0 system control
Apparatus 100And 1-system control device 101Make up
However, the difference from the conventional redundant control device 10 is that each channel
Pseudo input / output provided in the channel control device (CHC) 3
Memory copy command received by force device (PIO) 31
Section (CCR) 32 and memory copy operation control section (MC
C) 33 is the memory copy command receiving means 32 in FIG.
0 and provided as copy operation control means 330
At the same time, a memory copy program is stored in each main storage device (MM) 2.
Program (P MC) Is not stored.

【0026】各擬似入出力装置(PIO)31は、従来
ある二重化制御装置10においては、それぞれ所属する
チャネル制御装置(CHC)3のCバス12に対するイ
ンタフェースを診断する為に設けられたもので、内部バ
ス34によりチャネル制御装置(CHC)3に接続され
ており、チャネル制御装置(CHC)3からの指令に基
づき、プログラムモードまたはダイレクトメモリアクセ
ス〔以後DMAと略称する〕モードにより、Cバス12
インタフェース、チャネル制御装置(CHC)3、シス
テムバス11を経由して中央制御装置(CC)1との間
でデータを転送し、DMA転送終了時、DMA転送制御
中に、Cバス12インタフェース上の異常、或いはプロ
グラムの異常を検出した場合に、当該異常状態を報告す
る為に、中央制御装置(CC)1に対して割込を行う。
Each pseudo input / output device (PIO) 31 is provided for diagnosing the interface to the C bus 12 of the channel control device (CHC) 3 to which the conventional dual control device 10 belongs. The C bus 12 is connected to the channel control device (CHC) 3 by an internal bus 34 and operates in a program mode or a direct memory access (hereinafter abbreviated as DMA) mode based on a command from the channel control device (CHC) 3.
Data is transferred to / from the central control unit (CC) 1 via the interface, the channel control unit (CHC) 3, and the system bus 11, and when the DMA transfer is completed, the DMA transfer control is performed on the C bus 12 interface. When an abnormality or a program abnormality is detected, an interrupt is made to the central control unit (CC) 1 to report the abnormal state.

【0027】擬似入出力装置(PIO)31は、図3に
示される如き構成を有しており、本発明の実施形態の説
明に関連するもののみを挙げると、制御部(CTL)3
11は、診断モードを制御する回路であり、指令レジス
タ(CMR)312は、DMA転送の起動指令を蓄積す
るレジスタであり、メモリアドレスレジスタ(MAR)
313は、DMA転送を実行する主記憶装置(MM)2
のアドレス〔以後転送アドレス(aT )と称する〕を蓄
積するレジスタであり、転送バイト数レジスタ(BC
R)314は、DMA転送されるデータ量〔以後転送バ
イト数(nT )と称する〕を蓄積するレジスタであり、
データバッファレジスタ(DBR)315は転送データ
を格納するレジスタである。
The simulated input / output device (PIO) 31 has a configuration as shown in FIG. 3, and if only those related to the description of the embodiment of the present invention are mentioned, the control unit (CTL) 3
Reference numeral 11 denotes a circuit for controlling a diagnostic mode. A command register (CMR) 312 is a register for accumulating a DMA transfer start command, and a memory address register (MAR).
313 is a main memory (MM) 2 for executing DMA transfer
Address [hereinafter forwarding address (a T) and referred] a register for storing the transfer byte number register (BC
R) 314 is a register for storing the amount of data to be DMA-transferred [hereinafter referred to as the number of transfer bytes (n T )].
The data buffer register (DBR) 315 is a register for storing transfer data.

【0028】なおデータバッファレジスタ(DBR)3
150 は、本発明(請求項1)の実施形態においては1
個設けられ、本発明(請求項2)の実施形態においては
複数個〔図2においては4個〕設けられている。
The data buffer register (DBR) 3
150 is 1 in the embodiment of the present invention (claim 1).
In the embodiment of the present invention (claim 2), a plurality (four in FIG. 2) is provided.

【0029】本発明の実施形態においては、制御部(C
TL)311の具備するDMA転送機能を利用して、現
用系主記憶装置(MM)20 のメモリデータ(DMM)を
他系主記憶装置(MM)21 に複写させる様に機能を追
加したもので、制御部(CTL)311内に、前述のメ
モリ複写指令受付部(CCR)32とメモリ複写動作制
御部(MCC)33とが設けられ、またバースト転送制
御部(BTC)316および317が、それぞれメモリ
アドレスレジスタ(MAR)313および転送バイト数
レジスタ(BCR)314に並設されている。
In the embodiment of the present invention, the control unit (C
Using the DMA transfer function which includes the TL) 311, working system main storage (MM) 2 0 other system main storage memory data (D MM) of (MM) add features as to copy the 2 1 In the control unit (CTL) 311, the memory copy command receiving unit (CCR) 32 and the memory copy operation control unit (MCC) 33 are provided, and burst transfer control units (BTC) 316 and 317 are provided. Are arranged in parallel in a memory address register (MAR) 313 and a transfer byte number register (BCR) 314, respectively.

【0030】またメモリアドレスレジスタ(MAR)3
13および転送バイト数レジスタ(BCR)314は、
本発明の実施形態においては、主記憶装置(MM)2の
全記憶領域〔即ち先頭アドレス(aB )から最終アドレ
ス(aE )迄〕のメモリデータ(DMM)を複写可能とす
る為に、それぞれ蓄積可能なアドレスおよび転送量(バ
イト数)の桁数を拡張している。
Memory address register (MAR) 3
13 and the transfer byte number register (BCR) 314
In the embodiment of the present invention, in order to be able to copy the memory data (D MM ) of the entire storage area of the main storage device (MM) 2 (that is, from the start address (a B ) to the end address (a E )). The number of digits of the storable address and the transfer amount (the number of bytes) are expanded.

【0031】かかる状態で、現用系として稼働中の制御
装置100 に、診断終了した制御装置101 の主記憶装
置(MM)21 が接続され、主記憶装置(MM)20
格納中の総てのメモリデータ(DMM)を、主記憶装置
(MM)21 に複写を実行する要求が生起すると、現用
系中央制御装置(CC)10 は、システムバス110
経由してチャネル制御装置(CHC)30 を参照し、内
部バス340 を経由して擬似入出力装置(PIO)31
0 内に設けられているメモリアドレスレジスタ(MA
R)3130 に、主記憶装置(MM)20 の記憶領域の
先頭アドレス(aB)を転送アドレス(aT )として蓄
積し、また擬似入出力装置(PIO)310内に設けら
れている転送バイト数レジスタ(BCR)3140 に、
メモリデータ(DMM)の全記憶容量(nMM)を転送バイ
ト数(nT )として蓄積した後、擬似入出力装置(PI
O)310 内に設けられている指令レジスタ(CMR)
312 0 に、メモリ複写指令(cmMC)を蓄積する。
In this state, the control that is operating as the active system
Apparatus 100The control device 10 that has completed the diagnosis1Main memory
(MM) 21Connected to the main memory (MM) 20To
All the stored memory data (DMM), The main storage
(MM) 21When a request to execute a copy occurs,
System central control unit (CC) 10Is the system bus 110To
Channel control device (CHC) 3 via0See, within
Department bus 340Pseudo input / output device (PIO) 31 via
0Memory address register (MA
R) 3130And a main storage device (MM) 20Of storage space
Start address (aB) To the transfer address (aT)
And a pseudo input / output device (PIO) 310Provided within
Transferred byte count register (BCR) 3140To
Memory data (DMM) Total storage capacity (nMM) Transfer by
Number (nT), And then a pseudo input / output device (PI
O) 310Command register (CMR) provided in
312 0To the memory copy command (cmMC) To accumulate.

【0032】擬似入出力装置(PIO)310 において
は、制御部(CTL)3110 が、指令レジスタ(CM
R)3120 に蓄積された指令(cm)を抽出し、メモ
リ複写指令受付部(CCR)320 に伝達する。
In the simulated input / output device (PIO) 31 0 , the control unit (CTL) 311 0 sends a command register (CM)
R) extracts 312 0 stored command to (cm), and transmits a memory copy command accepting unit (CCR) 32 0.

【0033】メモリ複写指令受付部(CCR)32
0 は、伝達された指令(cm)を分析し、メモリ複写指
令(cmMC)以外であることを識別した場合には、その
儘制御部(CTL)3110 に返送し、従来と同様の動
作を実行させるが、メモリ複写指令(cmMC)であるこ
とを識別すると、メモリ複写動作制御部(MCC)33
0を起動する。
Memory copy command receiving unit (CCR) 32
0 analyzes the transmitted command (cm), when identifying that is other than the memory copy command (cm MC) is returned to its as one likes controller (CTL) 311 0, similar to the conventional operation Is executed, but when it is determined that the command is a memory copy command (cm MC ), the memory copy operation control unit (MCC) 33
Start 0 .

【0034】起動されたメモリ複写動作制御部(MC
C)330 は、図4に示される如き順序で、メモリデー
タ(DMM)の複写動作を実行する。なお図4に示される
各種信号は、図示されぬシステムバスクロックに同期し
て送出・停止される。
The activated memory copy operation control unit (MC
C) 33 0 is in such order as shown in FIG. 4, to perform the copy operation of the memory data (D MM). The various signals shown in FIG. 4 are sent and stopped in synchronization with a system bus clock (not shown).

【0035】先ずメモリ複写動作制御部(MCC)33
0 は、システムバス110 内の制御線31F1 を経由し
て中央制御装置(CC)10 に、システムバス110
使用権を要求する為のバス使用権要求信号(BUSR
Q)を送出する。
First, a memory copy operation control unit (MCC) 33
0, the central controller (CC) 1 0 through the control line 31F 1 of system bus 11 in 0, bus request signal for requesting the right to use the system bus 11 0 (BUSR
Q).

【0036】中央制御装置(CC)10 は、擬似入出力
装置(PIO)310 からシステムバス110 に送出さ
れたバス使用権要求信号(BUSRQ)を受信すると、
システムバス110 の使用状態を分析し、未使用状態に
あることを確認すると、システムバス110 内の制御線
31F2 を経由して擬似入出力装置(PIO)31
0に、システムバス110 の使用権を許容するバス使用
権許容信号(BROK)を返送する。
The central controller (CC) 1 0 receives the pseudo input device (PIO) 31 0 sent to the system bus 11 0 from the bus request signal (BUSRQ),
Analyzing the state of use of the system bus 11 0 confirms that it is in the unused state, the pseudo input device via the control line 31F 2 system bus 11 in the 0 (PIO) 31
0 and returns a bus access permit signal to permit the right to use the system bus 11 0 (BROK).

【0037】擬似入出力装置(PIO)310 において
は、制御部(CTL)3110 内のメモリ複写動作制御
部(MCC)330 が、中央制御装置(CC)10 から
システムバス110 内の制御線31F2 を経由して返送
されたバス使用権許容信号(BROK)を受信すると、
メモリアドレスレジスタ(MAR)3130 に蓄積済の
転送アドレス(aT =aB )を抽出し、読出アドレス
(AR )として、送信バス31EA0および内部バス34
0 を経由してシステムバス110 に送出し、同時に読出
信号(READ)を送出する。
[0037] In the pseudo input device (PIO) 31 0, the control unit memory copying operation controller in the (CTL) 311 0 (MCC) 33 0 is the central controller (CC) 1 0 from the system bus 11 in the 0 Upon receiving the bus access allowable signal sent back via the control line 31F 2 of (brok),
The transfer address (a T = a B ) stored in the memory address register (MAR) 313 0 is extracted, and the transmission bus 31E A0 and the internal bus 34 are read as the read address (A R ).
The signal is transmitted to the system bus 110 via 0, and at the same time, a read signal (READ) is transmitted.

【0038】主記憶装置(MM)20 は、擬似入出力装
置(PIO)310 からシステムバス110 に送出され
たバス使用権許容信号(BROK)を受信すると、擬似
入出力装置(PIO)310 からシステムバス110
送出済の読出アドレス(AR=aT =aB )を受信し、
受信した読出アドレス(AR =aT =aB )に格納済の
単位データ(daT)を読出し、読出データ(DR )とし
てシステムバス110上に送出し、同時に肯定信号(M
OK)と応答信号(ASW)とを送出する。
The main memory (MM) 2 0 receives the pseudo input device (PIO) 31 0 sent to the system bus 11 0 from the bus access permitted signal (brok), the pseudo input device (PIO) receiving a delivery completion of the read address (a R = a T = a B) from 31 0 to the system bus 11 0,
Received read address (A R = a T = a B) to read out the unit data already stored (d aT), sent as read data (D R) on the system bus 11 0, at the same time acknowledge signal (M
OK) and a response signal (ASW).

【0039】送出された読出データ(DR =daT)は、
チャネル制御装置(CHC)30 および内部バス340
を経由して擬似入出力装置(PIO)310 に到着す
る。擬似入出力装置(PIO)310 においては、メモ
リ複写動作制御部(MCC)330 が、中央制御装置
(CC)10 のバス使用権許容信号(BROK)送出停
止により、応答信号(ASW)、読出データ(DR =d
aT)の取得タイミングを作成し、内部バス340 から到
着する読出データ(DR =daT)を、受信バス31DA0
を経由してデータバッファレジスタ(DBR)3150
に格納する。
The transmitted read data (D R = d aT )
Channel control unit (CHC) 3 0 and the internal bus 34 0
By way of arriving at the pseudo input-output device (PIO) 31 0. Pseudo output device (PIO) in 31 0, the memory copy operation control unit (MCC) 33 0 is the central controller (CC) by sending Stop 1 0 bus access permit signal (brok), the response signal (ASW) , Read data (D R = d
Create an acquisition timing of the aT), the read data arriving from the internal bus 34 0 (D R = d aT ), receiving bus 31D A0
Via the data buffer register (DBR) 315 0
To be stored.

【0040】なお中央制御装置(CC)10 は、システ
ムバス110 にバス使用権許容信号(BROK)を送出
した後、システムバス110 に肯定信号(MOK)が送
出されたことを検出すると、システムバス110 に送出
中のバス使用権許容信号(BROK)を送出停止する。
It should be noted the central controller (CC) 1 0 After issuing the system bus 11 0 to the bus use right acceptable signal (brok), detects that the acknowledge signal (MOK) is sent to the system bus 11 0 sends stop bus access permit signal during transmission to the system bus 11 0 (bROK).

【0041】擬似入出力装置(PIO)310 において
は、メモリ複写動作制御部(MCC)330 が、中央制
御装置(CC)10 からシステムバス110 を経由して
返送中のバス使用権許容信号(BROK)の返送停止を
検出すると、システムバス110 に送出中の読出アドレ
ス(AR )と読出信号(READ)とを送出停止し、主
記憶装置(MM)20 の先頭アドレス(aB )からの単
位データ(daT)の抽出処理を終了する。
[0041] In the pseudo input device (PIO) 31 0, the memory copy operation control unit (MCC) 33 0 is the central controller (CC) 1 0 from the system bus 11 0 bus use right in the back via Upon detecting the return stop allowable signal (brok), a system bus 11 0 to the read address during transmission and (a R) and a read signal (rEAD) sends stop, main memory (MM) 2 0 in the start address ( It ends the extraction processing of the unit data (d aT) from a B).

【0042】なおメモリ複写動作制御部(MCC)33
0 は、バースト転送制御部(BTC)3160 および3
170 を制御し、メモリアドレスレジスタ(MAR)3
13 0 内に蓄積中の転送アドレス(aT =aB )は歩進
させること無く、並びに転送バイト数レジスタ(BC
R)3140 に蓄積中の転送バイト数(nT =nMM)は
減算すること無く、その儘の値を保持させる。
The memory copy operation control unit (MCC) 33
0Is a burst transfer control unit (BTC) 3160And 3
170And a memory address register (MAR) 3
13 0The transfer address (aT= AB) Is a step
And the transfer byte number register (BC
R) 3140The number of transfer bytes stored in (nT= NMM) Is
The value is kept as it is without subtraction.

【0043】続いてメモリ複写動作制御部(MCC)3
0 は、システムバス110 内の制御線31F1 を経由
して中央制御装置(CC)10 に、システムバス110
の使用権を要求する為のバス使用権要求信号(BUSR
Q)を送出する。
Subsequently, a memory copy operation control unit (MCC) 3
3 0, the central controller (CC) 1 0 through the control line 31F 1 of system bus 11 within 0, the system bus 11 0
Bus use request signal (BUSR) for requesting the use right of
Q).

【0044】中央制御装置(CC)10 は、前述と同様
に、擬似入出力装置(PIO)31 0 から送出されたバ
ス使用権要求信号(BUSRQ)を受信すると、システ
ムバス110 の使用状態を分析し、未使用状態にあるこ
とを確認すると、システムバス110 内の制御線31F
2 を経由して擬似入出力装置(PIO)310 に、シス
テムバス110 の使用権を許容するバス使用権許容信号
(BROK)を返送する。
Central control unit (CC) 10Is the same as above
And a pseudo input / output device (PIO) 31 0The bus sent from
System request signal (BUSRQ), the system
Mbus 110Analyze the usage status of the
Is confirmed, the system bus 110Inside control line 31F
TwoPseudo input / output device (PIO) 31 via0To the cis
Tembus 110Bus use permission signal that grants the right to use
(BROK) is returned.

【0045】擬似入出力装置(PIO)310 において
は、メモリ複写動作制御部(MCC)330 が、中央制
御装置(CC)10 からシステムバス110 内の制御線
31F2 を経由して返送されたバス使用権許容信号(B
ROK)を受信すると、メモリアドレスレジスタ(MA
R)3130 に蓄積済の転送アドレス(aT =aB )を
抽出し、書込アドレス(AW )として、送信バス31E
A0および内部バス34 0 を経由してシステムバス110
に送出する。
Pseudo input / output device (PIO) 310At
Is a memory copy operation control unit (MCC) 330But central system
Control device (CC) 10From system bus 110Control line inside
31FTwoBus use right permission signal (B
ROK), the memory address register (MA)
R) 3130The transfer address (aT= AB)
Extract and write address (AW), The transmission bus 31E
A0And internal bus 34 0Via the system bus 110
To send to.

【0046】同時にメモリ複写動作制御部(MCC)3
0 は、データバッファレジスタ(DBR)3150
格納中の単位データ(daT)を抽出し、送信バス31E
D0および内部バス340 を経由してシステムバス110
に、書込データ(DW )として送出すると共に、システ
ムバス110 内の制御線31F1 を経由して主記憶装置
(MM)20 に、書込信号(WRITE)を送出する。
At the same time, the memory copy operation control unit (MCC) 3
3 0 extracts unit data in stored in the data buffer register (DBR) 315 0 (d aT ), transmit bus 31E
The system bus 11 via the D0 and the internal bus 34 0 0
The sends out a write data (D W), via the control line 31F 1 of system bus 11 within 0 to a main memory (MM) 2 0, and sends a write signal (WRITE).

【0047】主記憶装置(MM)20 および21 は、中
央制御装置(CC)10 からシステムバス110 に送出
されたバス使用権許容信号(BROK)を受信すると、
擬似入出力装置(PIO)310 からシステムバス11
0 に送出済の書込アドレス(AW =aT =aB )と、書
込データ(DW =daT)とを受信し、受信した単位デー
タ(daT)を書込アドレス(AW =aT =aB )に格納
し、肯定信号(MOK)と応答信号(ASW)とを送出
する。
The main memory (MM) 2 0 and 2 1 receives the central controller (CC) 1 0 sent to the system bus 11 0 from the bus access permitted signal (brok),
Pseudo output device (PIO) 31 0 from the system bus 11
The write address (A W = a T = a B ) and the write data (D W = d aT ) that have been transmitted to 0 are received, and the received unit data (d aT ) is written into the write address (A W). = A T = a B ), and sends an acknowledge signal (MOK) and a response signal (ASW).

【0048】なお中央制御装置(CC)10 は、システ
ムバス110 にバス使用権許容信号(BROK)を送出
した後、システムバス110 に肯定信号(MOK)が送
出されたことを検出すると、システムバス110 に送出
中のバス使用権許容信号(BROK)を送出停止する。
[0048] Note that the central controller (CC) 1 0 After issuing the system bus 11 0 to the bus use right acceptable signal (brok), detects that the acknowledge signal (MOK) is sent to the system bus 11 0 sends stop bus access permit signal during transmission to the system bus 11 0 (bROK).

【0049】擬似入出力装置(PIO)310 において
は、メモリ複写動作制御部(MCC)330 が、中央制
御装置(CC)10 からシステムバス110 を経由して
返送中のバス使用権許容信号(BROK)の返送停止を
検出すると、システムバス110 に送出中の書込アドレ
ス(AW )と書込信号(WRITE)とを送出停止し、
応答信号(ASW)を取得し、主記憶装置(MM)20
および21 のアドレス(a=aB )への単位データ(d
aT)の格納処理を終了した後、バースト転送制御部(B
TC)3160 および3170 を制御し、メモリアドレ
スレジスタ(MAR)3130 内に蓄積中の転送アドレ
ス(aT =aB )を一歩進させる〔aT=aT +1=a
B +1〕と共に、転送バイト数レジスタ(BCR)31
0 に蓄積中の転送バイト数(nT )を一減算する〔n
T =nT −1=nMM−1〕。
[0049] In the pseudo input device (PIO) 31 0, the memory copy operation control unit (MCC) 33 0 is the central controller (CC) 1 0 from the system bus 11 0 bus use right in the back via Upon detecting the return stop allowable signal (brok), it sends stops a write address during transmission to the system bus 11 0 (a W) and write signal (wRITE),
Get the response signal (ASW), main memory (MM) 2 0
And the unit data (d) to the address 1 (a = a B )
aT ), the burst transfer control unit (B
TC) 316 0 and 317 0 to advance the transfer address (a T = a B ) stored in the memory address register (MAR) 313 0 by one step [a T = a T + 1 = a
B + 1] and the transfer byte number register (BCR) 31
4 0 to the number of bytes transferred during the accumulation of the (n T) to one subtracted [n
T = n T -1 = n MM -1 ].

【0050】以上で擬似入出力装置(PIO)31
0 は、主記憶装置(MM)20 内の先頭アドレス
(aB )に格納済の単位データ(daT)を、主記憶装置
(MM)21 内の同一アドレス(aB )に複写したこと
となり、また擬似入出力装置(PIO)310 内のメモ
リアドレスレジスタ(MAR)3130 には転送アドレ
ス(aT)として、主記憶装置(MM)20 の記憶領域
の先頭から二番目のアドレス(a B +1)が蓄積され、
また転送バイト数レジスタ(BCR)3140 には転送
バイト数(nT )として、主記憶装置(MM)20 の全
記憶容量(nMM)から一(バイト)減少したバイト数
(nMM−1)が蓄積される。
Thus, the pseudo input / output device (PIO) 31
0Is the main storage device (MM) 20Start address in
(AB) Is stored in the unit data (daT), The main storage
(MM) 21Within the same address (aB)
And a pseudo input / output device (PIO) 310Notes in
Readdress register (MAR) 3130Is the transfer address
Su (aT), The main memory (MM) 20Storage area
The second address from the beginning (a B+1) is accumulated,
The transfer byte number register (BCR) 3140Forward to
Number of bytes (nT), The main memory (MM) 20All of
Storage capacity (nMM) Minus one (byte) less bytes
(NMM-1) is accumulated.

【0051】次に、メモリ複写動作制御部(MCC)3
0 は、前述と同様の過程を実行することにより、中央
制御装置(CC)10 からシステムバス110 の使用権
を獲得した後、読出アドレス(AR =aT =aB +1)
と読出信号(READ)とをシステムバス110 に送出
し、主記憶装置(MM)20 の転送アドレス(aT =a
B +1)に格納済の単位データ(daT)を抽出し、デー
タバッファレジスタ(DBR)3150 に蓄積した後、
再び中央制御装置(CC)10 からシステムバス110
の使用権を獲得した後、書込アドレス(AW =aT =a
B +1)と、書込データ(DW =daT)と、書込信号
(WRITE)とをシステムバス110 に送出し、主記
憶装置(MM)20 および他系主記憶装置(MM)21
の転送アドレス(aT =aB +1)に格納済の単位デー
タ(daT)を格納することにより、主記憶装置(MM)
0 内の先頭から二番目のアドレス(aB +1)に格納
済の単位データ(daT)を、主記憶装置(MM)21
の同一アドレス(aB +1)に複写したこととなり、ま
た擬似入出力装置(PIO)310 内のメモリアドレス
レジスタ(MAR)3130 には転送アドレス(aT
として、主記憶装置(MM)20 の記憶領域の先頭から
三番目のアドレス(aB +2)が蓄積され、また転送バ
イト数レジスタ(BCR)3140 には転送バイト数
(nT )として、主記憶装置(MM)20 の全記憶容量
(nMM)から二(バイト)減少したバイト数(nMM
2)が蓄積される。
Next, a memory copy operation control unit (MCC) 3
3 0 executes the process similar to that described above, the central controller (CC) 1 0 after acquiring the right to use the system bus 11 from 0, the read address (A R = a T = a B +1)
And sends a read signal (READ) to the system bus 11 0, main memory (MM) 2 0 forwarding addresses (a T = a
B +1) to extract the unit data already stored (d aT), after storing the data buffer register (DBR) 315 0,
The system bus 11 from the central controller (CC) 1 0 again 0
After obtaining the right to use, the write address (A W = a T = a
And B +1), and write data (D W = d aT), sends a write signal (WRITE) to the system bus 11 0, main memory (MM) 2 0 and other system main storage (MM) 2 1
By storing the stored unit data (d aT ) at the transfer address (a T = a B +1) of the main storage device (MM)
The second address (a B +1) to store already unit data from the beginning of the 2 0 (d aT), becomes that copied to main memory (MM) the same address 2 in 1 (a B +1), the pseudo input device memory address register (PIO) 31 in the 0 (MAR) 313 0 the transfer address (a T)
As, as a main memory device (MM) 2 0 from the beginning third address of the storage area of (a B +2) is stored, also the transfer byte number register (BCR) 314 number of transfer bytes to 0 (n T), main memory (MM) 2 0 in the total storage capacity (n MM) from the secondary (bytes) reduced the number of bytes (n MM -
2) is accumulated.

【0052】以下同様にして、主記憶装置(MM)20
の転送アドレス(aT )に格納済の単位データ(daT
を、主記憶装置(MM)21 に複写する度に、メモリア
ドレスレジスタ(MAR)3130 内の転送アドレス
(aT )を一歩進〔aT =aT+1〕させると共に、転
送バイト数レジスタ(BCR)3140 内の転送バイト
数(nT )を一減算〔nT =nT −1〕させ、転送アド
レス(aT )が最終アドレス(aE )に達し、転送バイ
ト数(nT )が一バイトとなった状態で、主記憶装置
(MM)20 の最終アドレス(aE )に格納済の単位デ
ータ(daT)を主記憶装置(MM)21 に複写終了した
後、転送バイト数レジスタ(BCR)314 0 内の転送
バイト数(nT )を一減算した結果、転送バイト数(n
T )が零バイトに達すると、メモリ複写動作制御部(M
CC)330 は、主記憶装置(MM)20 の全記憶容量
(nMM)分のメモリデータ(DMM)を、主記憶装置(M
M)2 1 に複写終了したと判定し、制御部(CTL)3
110 にその旨を通知する。
Similarly, the main memory (MM) 20
Transfer address (aT) Is stored in the unit data (daT)
To the main memory (MM) 21Each time you copy
Dress register (MAR) 3130Forwarding address within
(AT) By one step [aT= AT+1]
Transmission byte number register (BCR) 3140Transfer bytes in
Number (nT) Minus one [nT= NT-1]
Less (aT) Is the last address (aEReached), transfer by
Number (nT) Becomes one byte, and the main storage device
(MM) 20Last address (aEUnit data stored in)
Data (daT) To the main memory (MM) 21Finished copying on
After that, the transfer byte number register (BCR) 314 0Transfer within
Number of bytes (nT) Is subtracted by one, and the number of transfer bytes (n
T) Reaches zero bytes, the memory copy operation control unit (M
CC) 330Is the main storage device (MM) 20Total storage capacity of
(NMM) Memory data (DMM) To the main storage device (M
M) 2 1It is determined that the copying has been completed, and the control unit (CTL) 3
110To that effect.

【0053】制御部(CTL)3110 は、割込原因と
してメモリ複写指令(cmMC)の実行完了を示す割込信
号を作成し、システムバス110 内の制御線31F1
経由して中央制御装置(CC)10 に送出する。
The control unit (CTL) 311 0 is center creates an interrupt signal indicating completion of execution of a memory copy command (cm MC) as an interrupt cause, via the control line 31F 1 of system bus 11 within 0 controller (CC) is sent to the 1 0.

【0054】中央制御装置(CC)10 は、擬似入出力
装置(PIO)310 からシステムバス110 に送出さ
れた割込信号を受信・分析し、メモリ複写指令(c
MC)の実行完了通知と識別すると、制御装置101
予備系として待機させる。
The central control unit (CC) 1 0 is a pseudo output device (PIO) 31 0 receives and analyzes the interrupt signals sent to the system bus 11 from 0, the memory copy command (c
Having identified the execution completion notification m MC), to wait for the control unit 10 1 as a standby system.

【0055】以上の説明から明らかな如く、本発明の実
施形態によれば、チャネル制御装置(CHC)30 内の
擬似入出力装置(PIO)310 に、従来から保有して
いたチャネル制御装置(CHC)30 診断用のDMA転
送機能にメモリ複写機能を付加した後、現用系の中央制
御装置(CC)10 が、擬似入出力装置(PIO)31
0 にメモリ複写指令(cmMC)を伝達すると、擬似入出
力装置(PIO)31 0 は、主記憶装置(MM)20
全記憶容量(nMM)に格納済のメモリデータ(DMM
を、主記憶装置(MM)21 に複写処理を実行し、その
間中央制御装置(CC)10 は他の処理を実行し乍ら、
複写終了通知用の割込信号の受信を待機することとな
る。
As is apparent from the above description, the present invention is implemented.
According to the embodiment, the channel control device (CHC) 30Inside
Pseudo input / output device (PIO) 310In the past,
Channel controller (CHC) 30DMA transfer for diagnosis
After adding the memory copy function to the transfer function,
Control device (CC) 10Is a pseudo input / output device (PIO) 31
0Memory copy command (cmMC), Pseudo-in / out
Force device (PIO) 31 0Is the main storage device (MM) 20of
Total storage capacity (nMM) Stored in memory data (DMM)
To the main memory (MM) 21Execute the copying process
Central control unit (CC) 10Performs other processing,
Waiting for the reception of an interrupt signal for copying completion notification
You.

【0056】なお擬似入出力装置(PIO)310 によ
る複写実行時間は、従来ある二重化制御装置10におい
て、中央制御装置(CC)10 がメモリ複写プログラム
(P MC0 )を実行した場合に比し、短縮されている。
The pseudo input / output device (PIO) 310By
The copying execution time is the same as that of the conventional duplex control device 10.
And the central control unit (CC) 10Is a memory copy program
(P MC0) Has been shortened compared to the case of executing

【0057】なお、図2乃至図4はあく迄本発明の一実
施形態に過ぎず、他に幾多の変形が考慮される。例えば
本発明(請求項2)の実施形態においては、図5に示さ
れる如く、メモリ複写動作制御部(MCC)330 が主
記憶装置(MM)20 から読出データ(DR )を抽出す
る場合に、読出アドレス(AR )を、転送アドレス(a
T )乃至(aT +3)に順次歩進させることにより、転
送アドレス(aT )乃至(aT +3)に格納済の四つの
単位データ(daT)を連続して抽出し、複数設けられて
いるデータバッファレジスタ(DBR)3150 に蓄積
した後、主記憶装置(MM)20 および21 に格納する
場合に、書込アドレス(AW )を、再び転送アドレス
(aT )乃至(aT +3)に順次歩進させることによ
り、抽出済の四つの単位データ(daT)を、同一の転送
アドレス(aT )乃至(aT +3)に連続して格納する
ことにより、複写実行時間を更に短縮可能となる。
FIGS. 2 to 4 are merely an embodiment of the present invention, and various other modifications are considered. For example, in an embodiment of the present invention (Claim 2), as shown in FIG. 5, to extract the memory copy operation control unit (MCC) 33 0 is main memory (MM) read data from the 2 0 (D R) In this case, the read address (A R ) is changed to the transfer address (a
T ) to (a T +3) are sequentially advanced to continuously extract four unit data (d aT ) stored in the transfer addresses (a T ) to (a T +3), and a plurality of data are provided. after storing in the data buffer register (DBR) 315 0 and, when stored in the main memory (MM) 2 0 and 2 1, the write address (a W), the transfer address (a T) to again ( by sequentially incremented in a T +3), four unit data extraction already (d aT), by storing in succession to the same transfer address (a T) to (a T +3), copying execution The time can be further reduced.

【0058】また本発明(請求項3)の実施形態におい
ては、主記憶装置(MM)20 の全記憶領域〔先頭アド
レス(aB )から最終アドレス(aE )迄〕を二分し、
チャネル制御装置(CHC)30 内の擬似入出力装置
(PIO)310 に一方の半領域〔例えは先頭アドレス
(aB )から中間アドレス(aM )迄の複写を担当さ
せ、チャネル制御装置(CHC)31 内の擬似入出力装
置(PIO)311 に他方の半領域〔例えは中間アドレ
ス(aM )から最終アドレス(aE )迄の複写を担当さ
せ、両擬似入出力装置(PIO)310 および311
システムバス11の使用権を競合して獲得し乍ら、それ
ぞれ担当した領域に格納済のメモリデータ(DMM)をそ
れぞれ複写させることにより、所要複写時間を更に短縮
可能となる。更に本発明の対象となる二重化制御装置は
図示されるものに限定されず、他に幾多の変形が考慮さ
れるが、何れの場合にも本発明の効果は変わらない。
[0058] In an embodiment of the present invention (claim 3) also bisects the main memory (MM) 2 0 in the entire storage area [start address (a B) from the final address (a E) up],
Channel control unit (CHC) pseudo input device 3 in the 0 (PIO) 31 0 to one half region [for example causes the charge of the copying from the start address (a B) until the intermediate address (a M), the channel controller (CHC) 3 pseudo input device in 1 (PIO) 31 1 in the other half region [for example causes the charge of the copying from the intermediate address (a M) to a final address (a E), both the pseudo input device ( The PIOs 31 0 and 31 1 copy the stored memory data (D MM ) in their respective areas while competing for the right to use the system bus 11, thereby further reducing the required copying time. It becomes possible. Further, the duplexing control device to which the present invention is applied is not limited to the illustrated one, and various other modifications may be considered, but the effect of the present invention does not change in any case.

【0059】[0059]

【発明の効果】以上、本発明によれば、前記二重化制御
装置において、主記憶装置の記憶内容の複写時間が大幅
に短縮されることにより一重化運転時間が短縮されると
共に、複写中に中央制御装置の処理能力が圧迫される恐
れも無くなり、当該二重化制御装置の信頼性および処理
能力が大幅に向上可能となる。
As described above, according to the present invention, in the redundant control device, the copying operation time of the contents stored in the main storage device is greatly shortened, so that the single operation time is shortened, and the central processing unit is operated during copying. There is no danger that the processing capacity of the control device will be squeezed, and the reliability and the processing capacity of the redundant control device can be greatly improved.

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

【図1】 本発明の原理図FIG. 1 is a principle diagram of the present invention.

【図2】 本発明の実施形態による二重化制御装置FIG. 2 is a redundant control device according to an embodiment of the present invention.

【図3】 図2における擬似入出力装置FIG. 3 is a pseudo input / output device in FIG. 2;

【図4】 図2における主記憶装置複写シーケンス(単
一アドレス毎)を例示する図
FIG. 4 is a diagram illustrating a main storage device copy sequence (for each single address) in FIG. 2;

【図5】 図2における主記憶装置複写シーケンス(複
数アドレス毎)を例示する図
FIG. 5 is a diagram exemplifying a main storage device copy sequence (each multiple address) in FIG. 2;

【図6】 従来ある二重化制御装置FIG. 6 shows a conventional dual control device.

【図7】 図6における主記憶装置の複写処理7 is a process of copying a main storage device in FIG. 6;

【符号の説明】[Explanation of symbols]

1、100 中央制御装置(CC) 2、200 主記憶装置(MM) 3、300 チャネル制御装置(CHC) 4 入出力装置(IO) 10 二重化制御装置 11 システムバス 12 Cバス 31、310 擬似入出力装置(PIO) 32 メモリ複写指令受付部(CCR) 33 メモリ複写動作制御部(MCC) 34 内部バス 311 制御部(CTL) 312 指令レジスタ(CMR) 313 メモリアドレスレジスタ(MAR) 314 転送バイト数レジスタ(BCR) 315 データバッファレジスタ(DBR) 316、317 バースト転送制御部(BTC) 31DA 、31DD 受信バス 31EA 、31ED 送信バス 31F1 、31F2 制御線 320 メモリ複写指令受付手段 330 複写動作制御手段1, 100 Central control unit (CC) 2, 200 Main storage unit (MM) 3, 300 Channel control unit (CHC) 4 Input / output unit (IO) 10 Duplex control unit 11 System bus 12 C bus 31, 310 Pseudo input / output Device (PIO) 32 Memory copy command receiving unit (CCR) 33 Memory copy operation control unit (MCC) 34 Internal bus 311 Control unit (CTL) 312 Command register (CMR) 313 Memory address register (MAR) 314 Transfer byte number register ( BCR) 315 data buffer register (DBR) 316, 317 burst transfer controller (BTC) 31D A, 31D D receive bus 31E A, 31E D transmit bus 31F 1, 31F 2 control lines 320 a memory copy instruction accepting unit 330 copying operation control means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 それぞれ二重化された中央制御装置、主
記憶装置およびチャネル制御装置を具備する二重化制御
装置において、 前記各チャネル制御装置の機能試験用に設けられ、ダイ
レクトメモリアクセス(DMA)機能を具備する擬似入
出力装置に、 現用系の主記憶装置の記憶内容を、他系の主記憶装置に
複写を要求するメモリ複写指令を受信・識別するメモリ
複写指令受付手段と、 前記メモリ複写指令受付手段が、現用系の中央制御装置
から前記メモリ複写指令を受信した場合に、前記現用系
の主記憶装置の各アドレスに格納されている単位データ
を順次抽出し、前記他系の主記憶装置の同一アドレスに
格納するデータ複写動作を、前記主記憶装置の全記憶領
域に就いて連続して実行した後、前記メモリ複写動作の
実行完了を、前記現用系の中央制御装置に通知するメモ
リ複写動作制御手段とを設けることを特徴とする主記憶
装置複写方式。
1. A duplicate control device comprising a duplicated central control device, a main storage device and a channel control device, each of which is provided for a function test of each of the channel control devices and has a direct memory access (DMA) function. Memory copy command receiving means for receiving / identifying a memory copy command requesting copying of the storage contents of the active main storage device to another system main storage device; and the memory copy command receiving means When the memory copy command is received from the active system central control device, the unit data stored in each address of the active system main storage device is sequentially extracted, and the same unit data as the other system main storage device is extracted. After the data copy operation to be stored at the address is continuously performed on all the storage areas of the main storage device, the completion of the memory copy operation is determined by the current And a memory copying operation control means for notifying a central control device of the system.
【請求項2】 前記複写動作制御手段は、前記現用系の
主記憶装置の連続する複数のアドレスに格納済の各単位
データを連続して抽出し、前記他系の主記憶装置のそれ
ぞれ対応する複数のアドレスに連続して格納することを
特徴とする請求項1記載の主記憶装置複写方式。
2. The copying operation control means continuously extracts each unit data stored at a plurality of continuous addresses of the active main storage device and corresponds to each of the other main storage devices. 2. The main storage device copying method according to claim 1, wherein the data is stored continuously at a plurality of addresses.
【請求項3】 前記両系のチャネル制御装置の具備する
各擬似入出力装置内の各複写動作制御手段は、前記各主
記憶装置の全記憶領域を二分して設けられた部分記憶領
域を分担し、前記現用系の主記憶装置の各担当する部分
記憶領域に格納済のデータを、前記他系の主記憶装置の
それぞれ対応する部分記憶領域に、並行して複写するこ
とを特徴とする請求項1記載の主記憶装置複写方式。
3. The copying operation control means in each of the pseudo input / output devices provided in the channel control devices of the two systems shares a partial storage area provided by dividing the entire storage area of each of the main storage devices into two. The data stored in each assigned partial storage area of the active main storage device is copied in parallel to each corresponding partial storage area of the other main storage device. Item 2. The main storage device copying method according to Item 1.
【請求項4】 前記複写動作制御手段は、前記現用系の
主記憶装置の各アドレスから抽出した各単位データを、
前記両系の主記憶装置の同一アドレスにそれぞれ並行し
て格納することを特徴とする請求項1記載の主記憶装置
複写方式。
4. The copying operation control means according to claim 1, wherein each of the unit data extracted from each address of the active main storage device is
2. The main storage device copying method according to claim 1, wherein the data is stored in parallel at the same address of the main storage devices of the two systems.
JP10063061A 1998-03-13 1998-03-13 Main storage device copying system Withdrawn JPH11259324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10063061A JPH11259324A (en) 1998-03-13 1998-03-13 Main storage device copying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10063061A JPH11259324A (en) 1998-03-13 1998-03-13 Main storage device copying system

Publications (1)

Publication Number Publication Date
JPH11259324A true JPH11259324A (en) 1999-09-24

Family

ID=13218461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10063061A Withdrawn JPH11259324A (en) 1998-03-13 1998-03-13 Main storage device copying system

Country Status (1)

Country Link
JP (1) JPH11259324A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100337296B1 (en) * 1999-12-20 2002-05-17 서평원 Apparatus and Method for Data Copy between Duplicated Circuit Board
KR100441712B1 (en) * 2001-12-29 2004-07-27 엘지전자 주식회사 Extensible Multi-processing System and Method of Replicating Memory thereof
CN100412809C (en) * 2004-12-21 2008-08-20 日本电气株式会社 Duplicate synchronization system and method of operating duplicate synchronization system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100337296B1 (en) * 1999-12-20 2002-05-17 서평원 Apparatus and Method for Data Copy between Duplicated Circuit Board
KR100441712B1 (en) * 2001-12-29 2004-07-27 엘지전자 주식회사 Extensible Multi-processing System and Method of Replicating Memory thereof
CN100412809C (en) * 2004-12-21 2008-08-20 日本电气株式会社 Duplicate synchronization system and method of operating duplicate synchronization system

Similar Documents

Publication Publication Date Title
JP3655683B2 (en) Fault detection system and method for mirrored memory
JP2532317B2 (en) Backup method of general-purpose I / O redundancy method in process control system
US7437598B2 (en) System, method and circuit for mirroring data
US7793060B2 (en) System method and circuit for differential mirroring of data
JP2537054B2 (en) Information transmission method
EP0514075A2 (en) Fault tolerant processing section with dynamically reconfigurable voting
US7797571B2 (en) System, method and circuit for mirroring data
JPH086910A (en) Cluster type computer system
JPH11259324A (en) Main storage device copying system
JPH05224964A (en) Bus abnormality information system
JPS5845116B2 (en) Duplex storage device
JP3363579B2 (en) Monitoring device and monitoring system
JPS5836382B2 (en) Shared bus control method
JP2000148523A (en) Duplex memory device and method for switching memory
JPS5911455A (en) Redundancy system of central operation processing unit
JPS634210B2 (en)
JP2869971B2 (en) Failure detection device
EP0860777A2 (en) Fault tolerant data processing system and method therefor
JPH0887425A (en) Computer system
KR19990050415A (en) Redundancy control device by comparing input / output operation
CN114816896A (en) AXI bus monitor and electronic system thereof
CN111475440A (en) Communication control method and device based on asynchronous transmission protocol and electronic equipment
JPS60134352A (en) Duplex bus control device
JP2513120B2 (en) Non-stop type information processing device
JPH0543243U (en) Redundant device switching circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050607