JPH09305494A - Data transfer control circuit for extended storage device - Google Patents

Data transfer control circuit for extended storage device

Info

Publication number
JPH09305494A
JPH09305494A JP8142227A JP14222796A JPH09305494A JP H09305494 A JPH09305494 A JP H09305494A JP 8142227 A JP8142227 A JP 8142227A JP 14222796 A JP14222796 A JP 14222796A JP H09305494 A JPH09305494 A JP H09305494A
Authority
JP
Japan
Prior art keywords
address
extended storage
storage device
data transfer
slave
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
JP8142227A
Other languages
Japanese (ja)
Inventor
Tsuneo Takabayashi
恒夫 高林
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 JP8142227A priority Critical patent/JPH09305494A/en
Publication of JPH09305494A publication Critical patent/JPH09305494A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To make a high-reliability extended storage device duplex by software without awareness and to eliminate the overhead of data transfer even when the extended storage device is made duplex. SOLUTION: A master data transfer mechanism 9 accesses a master extension storage device 11 by using the address obtained by adding the high-order address of an extension storage physical address from a master address converting circuit 7 and the low-order address of an extended storage logical address from a duplex address control unit 3 together to arbitrate data transfer between the master extended storage device 11 and a main storage 2. A slave data transfer mechanism 10 accesses a slave extended storage device 12 by using the address obtained by adding the high-order address of an extended storage physical address from a slave address converting circuit 8 and the low-order address of the extension storage logical address from the doubled address controller 3 to arbitrate data transfer between the slave extended storage device 12 and main storage 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は拡張記憶装置のデー
タ転送制御回路に関し、特にアドレス変換による拡張記
憶装置の二重化制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer control circuit for an extended storage device, and more particularly to dual control of an extended storage device by address conversion.

【0002】[0002]

【従来の技術】従来、拡張記憶装置のデータ転送制御回
路のアドレス制御方式は、例えば特開平3−25614
7号公報に示されるように、拡張記憶論理アドレスから
1つの拡張記憶物理アドレスに変換するアドレス変換テ
ーブルが用いられていた。
2. Description of the Related Art Conventionally, an address control system of a data transfer control circuit of an extended storage device is disclosed in, for example, Japanese Patent Laid-Open No. 3-25614.
As shown in Japanese Patent Publication No. 7, an address conversion table for converting an extended storage logical address into one extended storage physical address has been used.

【0003】図4は、従来の拡張記憶装置のデータ転送
制御回路の一例を示すブロック図である。この拡張記憶
装置のデータ転送制御回路は、CPU(Central
Processing Unit)41と、主記憶4
2と、データ転送回路43と、拡張記憶装置45のアド
レス変換テーブル44と、拡張記憶装置45と、拡張記
憶装置47のアドレス変換テーブル46と、拡張記憶装
置47とから構成されている。
FIG. 4 is a block diagram showing an example of a data transfer control circuit of a conventional expansion storage device. The data transfer control circuit of this extended storage device is a CPU (Central).
Processing Unit) 41 and main memory 4
2, the data transfer circuit 43, the address conversion table 44 of the expansion storage device 45, the expansion storage device 45, the address conversion table 46 of the expansion storage device 47, and the expansion storage device 47.

【0004】拡張記憶装置45には、アドレス変換用に
アドレス変換テーブル44が用意される。ソフトウェア
は、アドレス変換テーブル44に拡張記憶装置45の物
理アドレス(EMUA)毎に拡張記憶論理アドレス(E
AN)を設定しておく。
An address conversion table 44 is prepared in the extended storage device 45 for address conversion. The software stores the extended storage logical address (E) in the address conversion table 44 for each physical address (EMUA) of the extended storage device 45.
AN) is set.

【0005】主記憶42と拡張記憶装置45との間でデ
ータ転送をする場合は、ソフトウェアにより主記憶アド
レス,EANおよび転送レングスが指定される。
When data is transferred between the main memory 42 and the expansion memory device 45, the main memory address, EAN and transfer length are designated by software.

【0006】CPU41は、アドレス変換テーブル44
をサーチして論理アドレスのエントリと指定されたEA
Nとが等しいところを選択して、対応する物理アドレス
のエントリのEMUAを読み出す。CPU41は、この
EMUA,主記憶アドレスおよび転送レングスを用いて
データ転送回路43に主記憶42と拡張記憶装置45と
の間のデータ転送を指示する。
The CPU 41 has an address conversion table 44.
EA specified as a logical address entry
A place where N is equal is selected, and the EMUA of the entry of the corresponding physical address is read. The CPU 41 uses the EMUA, main memory address and transfer length to instruct the data transfer circuit 43 to transfer data between the main memory 42 and the extended memory device 45.

【0007】また、拡張記憶装置の使われ方としては、
オペレーティングシステム(OS)などの制御プログラ
ムが重要なデータを格納することなどであり、高信頼性
のために拡張記憶装置を二重化してデータを管理するこ
とが多かった。
In addition, as a method of using the extended storage device,
A control program such as an operating system (OS) stores important data, etc., and it is often the case that the extended storage device is duplicated to manage data for high reliability.

【0008】拡張記憶装置45の二重化用の拡張記憶装
置47には、そのアドレス変換用にアドレス変換テーブ
ル46が用意される。ソフトウェアは、アドレス変換テ
ーブル46に拡張記憶装置47の物理アドレス(EMU
A)毎にアドレス変換テーブル44とは異なる拡張記憶
論理アドレス(EAN)を設定しておく。
An address conversion table 46 is prepared for the address conversion in the expansion storage device 47 for duplication of the expansion storage device 45. The software uses the address translation table 46 to store the physical address (EMU
An extended storage logical address (EAN) different from the address conversion table 44 is set for each A).

【0009】主記憶42から二重化した拡張記憶装置4
5および47にデータ転送をする場合は、ソフトウェア
により2回転送指示が出され、拡張記憶装置45と拡張
記憶装置47とに同じデータを2度に分けて転送するこ
とにより二重化を実現していた。
Extended storage device 4 duplicated from main storage 42
In the case of transferring the data to 5 and 47, the transfer instruction was issued twice by the software, and the same data was transferred to the extended storage device 45 and the extended storage device 47 in a divided manner to realize the duplication. .

【0010】[0010]

【発明が解決しようとする課題】従来の技術の第1の問
題点は、拡張記憶装置を二重化した場合、主記憶と拡張
記憶装置との間のデータ転送にオーバーヘッドが生じる
ことである。その理由は、主記憶から拡張記憶装置にデ
ータ転送をする場合、CPUがデータ転送指示を2度出
し、主記憶から拡張記憶装置へのデータ転送が2度にわ
けて行われるからである。
The first problem of the prior art is that when the expansion storage device is duplicated, an overhead occurs in data transfer between the main storage and the expansion storage device. The reason is that when data is transferred from the main memory to the extended storage device, the CPU issues a data transfer instruction twice and the data transfer from the main memory to the extended storage device is performed twice.

【0011】第2の問題点は、拡張記憶装置を二重化し
て利用する場合、ソフトウェアは二重化を意識したプロ
グラミングをしなければならなくなることである。その
理由は、2つの異なる拡張記憶領域を1つの拡張記憶領
域に見せるために、アドレスの二重管理やデータ転送の
二重化を常に意識してプログラムを作らなければならな
くなるからである。
The second problem is that when the extended storage device is used in a duplicated manner, the software must be programmed in consideration of the duplicatedness. The reason is that in order to make two different extended storage areas look like one extended storage area, it is necessary to always create a program while paying attention to address double management and data transfer dualization.

【0012】本発明の目的は、ソフトウェアが意識せず
とも高信頼性の拡張記憶装置の二重化を実現し、拡張記
憶装置の二重化に対してもデータ転送のオーバーヘッド
をなくし、特性・性能向上(高速化)を図るようにした
拡張記憶装置のデータ転送制御回路を提供することにあ
る。
An object of the present invention is to realize highly reliable extension of an extended storage device without the software being aware of it, to eliminate the overhead of data transfer even when the extension storage device is duplicated, and to improve characteristics and performance (high speed). To provide a data transfer control circuit for an extended storage device.

【0013】[0013]

【課題を解決するための手段】本発明の拡張記憶装置の
データ転送制御回路は、1つの拡張記憶論理アドレスか
ら2つの拡張記憶物理アドレスに変換する手段と、2つ
の拡張記憶物理アドレスの場所に主記憶からデータを転
送する際に同期をとりながら同時にデータを転送させる
手段とを有する。
A data transfer control circuit of an extended storage device according to the present invention comprises means for converting one extended storage logical address into two extended storage physical addresses and two extended storage physical address locations. And means for simultaneously transferring data while synchronizing with the transfer of data from the main memory.

【0014】また、本発明の拡張記憶装置のデータ転送
制御回路は、拡張記憶装置の障害情報を有し、データ転
送の際に正常な拡張記憶装置を選択してデータ転送させ
る手段を有する。
Further, the data transfer control circuit of the extended storage device of the present invention has fault information of the extended storage device, and has means for selecting a normal extended storage device for data transfer at the time of data transfer.

【0015】さらに、本発明の拡張記憶装置のデータ転
送制御回路は、拡張記憶装置を二重化して使うか、2台
の拡張記憶装置として使うかを変更する手段を有する。
Further, the data transfer control circuit of the extended storage device of the present invention has means for changing whether the extended storage device is used in duplicate or as two extended storage devices.

【0016】さらにまた、本発明の拡張記憶装置のデー
タ転送制御回路は、マスタアドレス変換回路およびマス
タデータ転送機構を備えるマスタ拡張記憶装置と、スレ
ーブアドレス変換回路およびスレーブデータ転送機構を
備えるスレーブ拡張記憶装置と、拡張記憶論理アドレス
の上位アドレスから拡張記憶物理アドレスの上位アドレ
スにアドレス変換を行うためのアドレス変換テーブルを
有し、拡張記憶物理アドレスの上位アドレスを前記マス
タデータ転送機構に渡す前記マスタアドレス変換回路
と、拡張記憶論理アドレスの上位アドレスから拡張記憶
物理アドレスの上位アドレスにアドレス変換を行うため
のアドレス変換テーブルを有し、拡張記憶物理アドレス
の上位アドレスを前記スレーブデータ転送機構に渡す前
記スレーブアドレス変換回路と、前記マスタアドレス変
換回路から与えられる拡張記憶物理アドレスの上位アド
レスと二重化アドレス制御装置から与えられる拡張記憶
論理アドレスの下位アドレスとを加算したアドレスを用
いて前記マスタ拡張記憶装置にアクセスし、前記マスタ
拡張記憶装置と主記憶との間のデータ転送を調停するマ
スタデータ転送機構と、前記スレーブアドレス変換回路
から与えられる拡張記憶物理アドレスの上位アドレスと
前記二重化アドレス制御装置から与えられる拡張記憶論
理アドレスの下位アドレスとを加算したアドレスを用い
て前記スレーブ拡張記憶装置にアクセスし、前記スレー
ブ拡張記憶装置と主記憶との間のデータ転送を調停する
スレーブデータ転送機構と、前記マスタアドレス変換回
路および前記スレーブアドレス変換回路に対してアドレ
ス変換指示を出し、前記マスタデータ転送機構および前
記スレーブデータ転送機構に拡張記憶論理アドレスの下
位アドレス,主記憶アドレスおよび転送レングスと、デ
ータ転送指示とを出す前記二重化アドレス制御装置とを
有する。
Furthermore, the data transfer control circuit of the extended storage device of the present invention includes a master extended storage device including a master address conversion circuit and a master data transfer mechanism, and a slave extended storage device including a slave address conversion circuit and a slave data transfer mechanism. A master address having a device and an address conversion table for performing address conversion from an upper address of the extended storage logical address to an upper address of the extended storage physical address, and passing the upper address of the extended storage physical address to the master data transfer mechanism. The slave having a conversion circuit and an address conversion table for performing address conversion from an upper address of the extended storage logical address to an upper address of the extended storage physical address, and passing the upper address of the extended storage physical address to the slave data transfer mechanism. address The master extended storage device is accessed by using a replacement circuit and an address obtained by adding the upper address of the extended storage physical address given by the master address conversion circuit and the lower address of the extended storage logical address given by the dual address control device. A master data transfer mechanism for arbitrating data transfer between the master extended storage device and the main storage, an upper address of an extended storage physical address given from the slave address conversion circuit, and an extended storage given from the dual address control device. A slave data transfer mechanism for accessing the slave extended storage device by using an address obtained by adding a lower address of a logical address to arbitrate data transfer between the slave extended storage device and a main storage; and the master address conversion circuit. And the slave address conversion times To the master data transfer mechanism and the slave data transfer mechanism, the lower address of the extended storage logical address, the main storage address and the transfer length, and the dual address control device for issuing the data transfer instruction. Have.

【0017】また、本発明の拡張記憶装置のデータ転送
制御回路は、前記マスタデータ転送機構が前記マスタ拡
張記憶装置で障害が発生した場合に前記二重化アドレス
制御装置に障害を通知し、前記スレーブデータ転送機構
が前記スレーブ拡張記憶装置で障害が発生した場合に前
記二重化アドレス制御装置に障害を通知し、前記二重化
アドレス制御装置がデータ転送の際に正常な拡張記憶装
置を選択してデータ転送させる。
Further, the data transfer control circuit of the extended storage device according to the present invention notifies the dual address control device of a failure when the master data transfer mechanism fails in the master extended storage device, and the slave data transfer device When a failure occurs in the slave extended storage device, the transfer mechanism notifies the dual address control device of the failure, and the dual address control device selects a normal extended storage device for data transfer and transfers the data.

【0018】さらに、本発明の拡張記憶装置のデータ転
送制御回路は、前記マスタアドレス変換回路および前記
スレーブアドレス変換回路に拡張記憶論理アドレスから
拡張記憶物理アドレスに変換するためのアドレス設定を
行う論理アドレス設定手段と、前記マスタ拡張記憶装置
および前記スレーブ拡張記憶装置を二重化して実質1つ
の拡張記憶装置として使用するかそれぞれ独立した拡張
記憶装置として使用するかを前記論理アドレス設定手段
および前記二重化アドレス制御装置に伝える二重化選択
スイッチとを備える。
Further, the data transfer control circuit of the extended storage device of the present invention is a logical address for setting an address for converting the extended storage logical address to the extended storage physical address in the master address conversion circuit and the slave address conversion circuit. The logical address setting means and the dual address control are used to determine whether the setting means, the master extended storage device and the slave extended storage device are duplicated and used as substantially one extended storage device or as independent extended storage devices. And a duplexing selection switch that communicates with the device.

【0019】[0019]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail with reference to the drawings.

【0020】図1は、本発明の一実施の形態に係る拡張
記憶装置のデータ転送制御回路の構成を示すブロック図
である。本実施の形態の係る拡張記憶装置のデータ転送
制御回路は、CPU1と、主記憶2と、二重化アドレス
制御装置3と、論理アドレス設定手段5と、二重化選択
スイッチ6と、マスタアドレス変換回路7と、スレーブ
アドレス変換回路8と、マスタデータ転送機構9と、ス
レーブデータ転送機構10と、マスタ拡張記憶装置11
と、スレーブ拡張記憶装置12とから、その主要部が構
成されている。
FIG. 1 is a block diagram showing the configuration of a data transfer control circuit of an extended storage device according to an embodiment of the present invention. The data transfer control circuit of the extended storage device according to the present embodiment includes a CPU 1, a main memory 2, a redundant address control device 3, a logical address setting means 5, a redundant selection switch 6, and a master address conversion circuit 7. A slave address conversion circuit 8, a master data transfer mechanism 9, a slave data transfer mechanism 10, and a master extended storage device 11.
And the slave extended storage device 12 constitute a main part thereof.

【0021】マスタ拡張記憶装置11は、マスタアドレ
ス変換回路7と、マスタデータ転送機構9とを備え、ス
レーブ拡張記憶装置12は、スレーブアドレス変換回路
8と、スレーブデータ転送機構10とを備える。
The master extension storage device 11 includes a master address conversion circuit 7 and a master data transfer mechanism 9, and the slave extension storage device 12 includes a slave address conversion circuit 8 and a slave data transfer mechanism 10.

【0022】二重化選択スイッチ6は、マスタ拡張記憶
装置11およびスレーブ拡張記憶装置12を二重化して
実質1つの拡張記憶装置として使用するか、またはそれ
ぞれ独立した拡張記憶装置として使用するかを決め、そ
の情報を論理アドレス設定手段5および二重化アドレス
制御装置3に伝える。
The duplication selection switch 6 determines whether the master extended storage device 11 and the slave extended storage device 12 are duplicated and used as substantially one extended storage device or as independent extended storage devices. Information is transmitted to the logical address setting means 5 and the duplicated address control device 3.

【0023】論理アドレス設定手段5は、マスタアドレ
ス変換回路7およびスレーブアドレス変換回路8に拡張
記憶論理アドレスから拡張記憶物理アドレスに変換する
ためのアドレス設定を行う。
The logical address setting means 5 sets an address for converting the extended storage logical address into the extended storage physical address in the master address conversion circuit 7 and the slave address conversion circuit 8.

【0024】CPU1は、主記憶2と拡張記憶装置との
間のデータ転送のとき、二重化アドレス制御装置3に拡
張記憶論理アドレス,主記憶アドレスおよび転送レング
スと、データ転送指示とを伝える。
At the time of data transfer between the main memory 2 and the extended storage device, the CPU 1 informs the dual address control device 3 of the extended storage logical address, the main storage address and the transfer length, and the data transfer instruction.

【0025】二重化アドレス制御装置3には、拡張記憶
装置の障害情報4と、二重化選択スイッチ6の情報であ
る二重化情報13とを有し、その2つの情報と拡張記憶
論理アドレスの上位アドレスとをもとにマスタアドレス
変換回路7およびスレーブアドレス変換回路8に対して
アドレス変換指示を出し、マスタデータ転送機構9およ
びスレーブデータ転送機構10に拡張記憶論理アドレス
の下位アドレス,主記憶アドレスおよび転送レングス
と、データ転送指示とを出す。
The duplicated address control device 3 has fault information 4 of the extended storage device and duplicated information 13 which is the information of the duplicated selection switch 6, and the two pieces of information and the upper address of the extended storage logical address are stored. An address translation instruction is issued to the master address translation circuit 7 and the slave address translation circuit 8, and the lower address of the extended storage logical address, the main storage address and the transfer length are sent to the master data transfer mechanism 9 and the slave data transfer mechanism 10. , Issue data transfer instructions.

【0026】マスタアドレス変換回路7およびスレーブ
アドレス変換回路8は、拡張記憶論理アドレスの上位ア
ドレスから拡張記憶物理アドレスの上位アドレスにアド
レス変換を行うためのアドレス変換テーブルを有し、求
めた拡張記憶物理アドレスの上位アドレスをマスタデー
タ転送機構9およびスレーブデータ転送機構10にそれ
ぞれ渡す。
The master address conversion circuit 7 and the slave address conversion circuit 8 have an address conversion table for performing address conversion from the upper address of the extended storage logical address to the upper address of the extended storage physical address, and the obtained extended storage physical address is obtained. The upper address of the address is passed to the master data transfer mechanism 9 and the slave data transfer mechanism 10, respectively.

【0027】マスタアドレス変換回路7のアドレス変換
テーブルは、拡張記憶論理アドレスの上位アドレスEA
N0に対して拡張記憶物理アドレスの上位アドレスとし
てマスタ拡張記憶装置11内の記憶領域EMUB30の
先頭アドレスEMUA20に変換することを表してお
り、他のアドレスも同様にEAN1はEMUA21に、
EAN2はEMUA22に、EAN3はEMUA23に
変換されることを表している。
The address conversion table of the master address conversion circuit 7 uses the upper address EA of the extended storage logical address.
It is shown that the address is converted to the start address EMUA20 of the storage area EMUB30 in the master extended storage device 11 as a higher address of the extended storage physical address with respect to N0, and EAN1 is changed to EMUA21 for other addresses as well.
EAN2 is converted into EMUA22, and EAN3 is converted into EMUA23.

【0028】スレーブアドレス変換回路8のアドレス変
換テーブルは、拡張記憶論理アドレスの上位アドレスE
AN0に対して拡張記憶物理アドレスの上位アドレスと
してスレーブ拡張記憶装置12内の記憶領域EMUB5
0の先頭アドレスEMUA40に変換されることを示
し、他のアドレスも同様にEAN1はEMUA41に、
EAN2はEMUA42に、EAN3はEMUA43に
変換されることを示す。
The address conversion table of the slave address conversion circuit 8 is the upper address E of the extended storage logical address.
A storage area EMUB5 in the slave extended storage device 12 as an upper address of the extended storage physical address with respect to AN0.
It is shown that the leading address EMUA40 of 0 is converted, and EAN1 becomes EMUA41 for other addresses as well.
EAN2 is converted into EMUA42, and EAN3 is converted into EMUA43.

【0029】マスタデータ転送機構9およびスレーブデ
ータ転送機構10は、それぞれマスタアドレス変換回路
7およびスレーブアドレス変換回路8から与えられる拡
張記憶物理アドレスの上位アドレスと二重化アドレス制
御装置3から与えられる拡張記憶論理アドレスの下位ア
ドレスとを加算したアドレスを用いてマスタ拡張記憶装
置11およびスレーブ拡張記憶装置12にアクセスし、
それぞれの拡張記憶装置と主記憶2との間のデータ転送
を調停する。また、マスタ拡張記憶装置11およびスレ
ーブ拡張記憶装置12で障害が発生した場合、マスタデ
ータ転送機構9およびスレーブデータ転送機構10は、
二重化アドレス制御装置3に障害情報4を通知する。
The master data transfer mechanism 9 and the slave data transfer mechanism 10 respectively have a higher address of the extended storage physical address given from the master address conversion circuit 7 and the slave address conversion circuit 8 and an extended storage logic provided from the duplicated address controller 3. The master extended storage device 11 and the slave extended storage device 12 are accessed using an address obtained by adding the lower address of the address,
It arbitrates the data transfer between each extended storage device and the main storage 2. When a failure occurs in the master extended storage device 11 and the slave extended storage device 12, the master data transfer mechanism 9 and the slave data transfer mechanism 10 are
Failure information 4 is notified to the duplicated address control device 3.

【0030】図2を参照すると、二重化アドレス制御装
置3が主記憶2から拡張記憶装置へのデータ転送をする
ときの制御フローは、二重化選択スイッチオン判定ステ
ップ200と、拡張記憶装置障害判定ステップ201
と、異常終了通知ステップ202と、論理アドレス設定
済み判定ステップ203と、異常終了通知ステップ20
4と、拡張記憶装置片系障害判定ステップ205と、物
理アドレス変換およびデータ転送指示出力ステップ20
6と、物理アドレス変換およびデータ転送指示出力ステ
ップ207と、論理アドレス設定済み判定ステップ20
8と、異常終了通知ステップ209と、論理アドレス設
定拡張記憶装置障害状態判定ステップ210と、異常終
了通知ステップ211と、物理アドレス変換およびデー
タ転送指示出力ステップ212とからなる。
Referring to FIG. 2, the control flow when the duplicated address control device 3 transfers data from the main memory 2 to the extended storage device is the duplicated selection switch-on determination step 200 and the extended storage device failure determination step 201.
An abnormal end notification step 202, a logical address setting completion determination step 203, and an abnormal end notification step 20
4, the extended storage device single system failure determination step 205, the physical address translation and data transfer instruction output step 20
6, a physical address conversion and data transfer instruction output step 207, and a logical address setting completion determination step 20
8, an abnormal end notification step 209, a logical address setting extended storage device failure status determination step 210, an abnormal end notification step 211, and a physical address translation and data transfer instruction output step 212.

【0031】図3を参照すると、二重化アドレス制御装
置3が拡張記憶装置から主記憶2へのデータ転送をする
ときの制御フローは、二重化選択スイッチオン判定ステ
ップ300と、拡張記憶装置障害判定ステップ301
と、異常終了通知ステップ302と、論理アドレス設定
済み判定ステップ303と、異常終了通知ステップ30
4と、拡張記憶装置片系障害判定ステップ305と、物
理アドレス変換およびデータ転送指示出力ステップ30
6と、物理アドレス変換およびデータ転送指示出力ステ
ップ307と、論理アドレス設定済み判定ステップ30
8と、異常終了通知ステップ309と、論理アドレス設
定拡張記憶装置障害状態判定ステップ310と、異常終
了通知ステップ311と、物理アドレス変換およびデー
タ転送指示出力ステップ312とからなる。
Referring to FIG. 3, the control flow when the duplicated address controller 3 transfers data from the extended storage device to the main memory 2 is as follows: a duplicated selection switch-on determination step 300 and an extended storage device failure determination step 301.
Abnormal termination notification step 302, logical address setting completion determination step 303, abnormal termination notification step 30
4, the extended storage device single system failure determination step 305, the physical address translation and data transfer instruction output step 30
6, physical address conversion and data transfer instruction output step 307, and logical address setting completion determination step 30
8, an abnormal end notification step 309, a logical address setting expanded storage device failure status determination step 310, an abnormal end notification step 311, and a physical address translation and data transfer instruction output step 312.

【0032】次に、このように構成された本実施の形態
に係る拡張記憶装置のデータ転送制御回路の動作につい
て説明する。
Next, the operation of the data transfer control circuit of the extended storage device according to the present embodiment configured as described above will be described.

【0033】(1) 二重化選択スイッチ6の設定(1) Setting of the duplex selection switch 6

【0034】立ち上げ時のハードウェアもしくはソフト
ウェアで二重化選択スイッチ6の設定を行い、マスタ拡
張記憶装置11およびスレーブ拡張記憶装置12の制御
方法を決める。二重化選択スイッチ6をオンすれば、マ
スタ拡張記憶装置11とスレーブ拡張記憶装置12とが
二重化され、1つの拡張記憶論理アドレスで2つの拡張
記憶物理アドレスにアクセスできるようになる。二重化
選択スイッチ6がオフの場合は、従来通り1つの拡張記
憶論理アドレスで1つの拡張記憶物理アドレスにアクセ
スできるようになる。
The redundancy selection switch 6 is set by the hardware or software at the time of startup to determine the control method of the master extended storage device 11 and the slave extended storage device 12. When the duplication selection switch 6 is turned on, the master extended storage device 11 and the slave extended storage device 12 are duplicated so that one extended storage logical address can access two extended storage physical addresses. When the duplication selection switch 6 is off, one extended storage logical address can be used to access one extended storage physical address as before.

【0035】(2) アドレス変換回路の設定(2) Setting of address conversion circuit

【0036】ソフトウェアは、拡張記憶装置にデータ転
送を行う前に、拡張記憶装置の記憶領域毎の拡張記憶物
理アドレスの上位アドレスに対して論理的なアドレスの
割り付けを行う。
The software allocates a logical address to a higher address of the extended storage physical address for each storage area of the extended storage device before transferring data to the extended storage device.

【0037】二重化選択スイッチ6がオンの場合、論理
アドレス設定手段5は、ソフトウェアによって与えられ
た1つの拡張記憶論理アドレスの上位アドレスと2つの
拡張記憶物理アドレスの上位アドレスとでマスタアドレ
ス変換回路7およびスレーブアドレス変換回路8に同時
に設定を行う。
When the duplication selection switch 6 is turned on, the logical address setting means 5 uses the upper address of one extended storage logical address and the upper address of two extended storage physical addresses provided by the software as the master address conversion circuit 7 And the slave address conversion circuit 8 is simultaneously set.

【0038】ソフトウェアによってマスタ拡張記憶装置
11の記憶領域EMUB30とスレーブ拡張記憶装置1
2の拡張記憶領域EMUB50とを同じ拡張記憶論理ア
ドレスの上位アドレスEAN0でアドレス割り付けを行
う場合、マスタアドレス変換回路7の論理アドレスのエ
ントリには上位アドレスEAN0が、対応する物理アド
レスエントリには記憶領域EMUB30の先頭アドレス
EMUA20が設定され、スレーブアドレス変換回路8
の論理アドレスのエントリには上位アドレスEAN0
が、対応する物理アドレスのエントリには記憶領域EM
UB50の先頭アドレスEMUA40が設定される。
The storage area EMUB30 of the master extended storage device 11 and the slave extended storage device 1 are controlled by software.
When address allocation is performed with the upper address EAN0 of the same extended storage logical address as the second extended storage area EMUB50, the upper address EAN0 is assigned to the logical address entry of the master address conversion circuit 7, and the storage area is assigned to the corresponding physical address entry. The start address EMUA20 of the EMUB30 is set, and the slave address conversion circuit 8
The upper address EAN0 is included in the logical address entry of
However, the entry of the corresponding physical address has a storage area EM
The start address EMUA40 of the UB50 is set.

【0039】二重化選択スイッチ6がオフの場合、論理
アドレス設定手段5は、ソフトウェアによって与えられ
た1つの拡張記憶論理アドレスの上位アドレスと1つの
拡張記憶物理アドレスの上位アドレスとでマスタアドレ
ス変換回路7およびスレーブアドレス変換回路8に別々
に設定を行う。
When the duplication selection switch 6 is off, the logical address setting means 5 uses the upper address of one extended storage logical address and the upper address of one extended storage physical address provided by the software as the master address conversion circuit 7 And the slave address conversion circuit 8 are set separately.

【0040】ソフトウェアによってマスタ拡張記憶装置
11の記憶領域EMUB30を拡張記憶論理アドレスの
上位アドレスEAN0でアドレス割り付けを行う場合、
マスタアドレス変換回路7の論理アドレスのエントリに
は上位アドレスEAN0が設定され、対応する物理アド
レスエントリには記憶領域EMUB30の先頭アドレス
EMUA20が設定される。
When the storage area EMUB30 of the master extended storage device 11 is assigned by the software at the higher address EAN0 of the extended storage logical address,
The higher address EAN0 is set in the entry of the logical address of the master address conversion circuit 7, and the start address EMUA20 of the storage area EMUB30 is set in the corresponding physical address entry.

【0041】スレーブ拡張記憶装置12の記憶領域EM
UB50を拡張記憶論理アドレスでアドレス割り付けを
行う場合、マスタ拡張記憶装置11の記憶領域EMUB
30とは異なる論理アドレスの上位アドレスで設定しな
ければならない。
Storage area EM of slave extended storage device 12
When addressing the UB 50 with the extended storage logical address, the storage area EMUB of the master extended storage device 11
It must be set at a higher logical address different from 30.

【0042】(3) 主記憶2から拡張記憶装置へのデ
ータ転送
(3) Data transfer from main memory 2 to expansion memory

【0043】ソフトウェアは、主記憶2から拡張記憶装
置にデータ転送を行う場合、CPU1から二重化アドレ
ス制御装置3に対して拡張記憶論理アドレス,主記憶ア
ドレスおよび転送レングスと、主記憶2から拡張記憶装
置へのデータ転送指示とを与える。
When the software transfers data from the main memory 2 to the extended storage device, the CPU 1 sends the extended storage logical address, the main storage address and the transfer length to the duplicated address control device 3, and the main storage 2 to the extended storage device. And give data transfer instructions to.

【0044】二重化アドレス制御装置3は、前述の二重
化選択スイッチ6の状態である二重化情報13と、マス
タデータ転送機構9およびスレーブデータ転送機構10
がデータ転送時に検出した障害の障害情報4とを有し、
これらの情報により、図2のような制御を行う。
The duplicated address control device 3 includes the duplicated information 13, which is the state of the above-mentioned duplicated selection switch 6, the master data transfer mechanism 9 and the slave data transfer mechanism 10.
Has fault information 4 of a fault detected during data transfer,
Based on these information, the control shown in FIG. 2 is performed.

【0045】まず、二重化アドレス制御装置3は、二重
化選択スイッチ6がオンかオフかを二重化情報13で判
定する(ステップ200)。
First, the duplex address control device 3 determines whether the duplex selection switch 6 is on or off based on the duplex information 13 (step 200).

【0046】二重化選択スイッチ6がオンならば、二重
化アドレス制御装置3は、障害情報4をもとにマスタ拡
張記憶装置11およびスレーブ拡張記憶装置12が共に
障害状態かどうかを判定する(ステップ201)。マス
タ拡張記憶装置11およびスレーブ拡張記憶装置12が
共に障害状態の場合、二重化アドレス制御装置3は、デ
ータ転送が不可能なためにCPU1に異常リプライを返
し、ソフトウェアに異常を通知して終了する(ステップ
202)。
If the duplication selection switch 6 is turned on, the duplication address control device 3 determines whether or not both the master extended storage device 11 and the slave extended storage device 12 are in the fault state based on the fault information 4 (step 201). . When both the master extended storage device 11 and the slave extended storage device 12 are in a failure state, the duplicated address control device 3 returns an abnormal reply to the CPU 1 because the data transfer is impossible, notifies the software of the abnormal condition, and terminates ( Step 202).

【0047】マスタ拡張記憶装置11およびスレーブ拡
張記憶装置12の少なくとも一方が障害状態でなけれ
ば、二重化アドレス制御装置3は、与えられた拡張記憶
論理アドレスの上位アドレスがアドレス変換回路で設定
されているかどうかを判定する(ステップ203)。設
定されていない場合は、二重化アドレス制御装置3は、
拡張記憶物理アドレスに変換不可のためにCPU1に異
常リプライを返し、ソフトウェアに異常を通知して終了
する(ステップ204)。
If at least one of the master extended storage device 11 and the slave extended storage device 12 is not in a failure state, the dual address control device 3 determines whether the upper address of the given extended storage logical address is set by the address conversion circuit. It is determined (step 203). If not set, the redundant address control device 3
Since the extension storage physical address cannot be converted, an abnormal reply is returned to the CPU 1, the software is notified of the abnormality, and the process ends (step 204).

【0048】与えられた拡張記憶論理アドレスの上位ア
ドレスがアドレス変換回路で設定されていれば、二重化
アドレス制御装置3は、片系の拡張記憶装置が障害状態
かどうかの判定を行い(ステップ205)、片系の拡張
記憶装置が障害状態の場合、正常な拡張記憶装置側のア
ドレス変換回路に拡張記憶論理アドレスの上位アドレス
で拡張記憶物理アドレスの上位アドレスへの変換指示を
行い、正常な拡張記憶装置側のデータ転送機構に対して
拡張記憶論理アドレスの下位アドレス,主記憶アドレス
および転送レングスと、主記憶2から拡張記憶装置への
データ転送指示とを出す(ステップ206)。
If the upper address of the given extended storage logical address is set in the address conversion circuit, the duplicated address control device 3 judges whether or not the one-sided extended storage device is in the fault state (step 205). When one of the extended storage devices is in a failure state, the normal address of the extended storage is specified by instructing the address conversion circuit on the normal extended storage device side to convert the extended storage physical address to the upper address of the extended storage logical address. The lower address of the extended storage logical address, the main storage address and the transfer length and the data transfer instruction from the main storage 2 to the extended storage device are issued to the data transfer mechanism on the device side (step 206).

【0049】両系とも正常な場合は、二重化アドレス制
御装置3は、マスタアドレス変換回路7およびスレーブ
アドレス変換回路8に拡張記憶論理アドレスの上位アド
レスで拡張記憶物理アドレスの上位アドレスへの変換指
示を行い、マスタデータ転送機構9およびスレーブデー
タ転送機構10に対して拡張記憶論理アドレスの下位ア
ドレス,主記憶アドレスおよび転送レングスと、主記憶
2から拡張記憶装置への二重データ転送指示とを出す
(ステップ207)。
If both systems are normal, the dual address control device 3 instructs the master address conversion circuit 7 and the slave address conversion circuit 8 to convert the extended storage logical address to the higher address of the extended storage physical address. Then, the lower address of the extended storage logical address, the main storage address and the transfer length, and the dual data transfer instruction from the main storage 2 to the extended storage device are issued to the master data transfer mechanism 9 and the slave data transfer mechanism 10 ( Step 207).

【0050】一方、二重化選択スイッチ6がオフなら
ば、二重化アドレス制御装置3は、与えられた拡張記憶
論理アドレスの上位アドレスがアドレス変換回路で設定
されているかどうかを判定する(ステップ208)。設
定されていない場合は、二重化アドレス制御装置3は、
拡張記憶物理アドレスに変換不可のためにCPU1に異
常リプライを返し、ソフトウェアに異常を通知して終了
する(ステップ209)。
On the other hand, if the duplication selection switch 6 is off, the duplication address control device 3 determines whether or not the upper address of the supplied extended storage logical address is set by the address conversion circuit (step 208). If not set, the redundant address control device 3
Since the extension storage physical address cannot be converted, an abnormal reply is returned to the CPU 1, the software is notified of the abnormality, and the process ends (step 209).

【0051】与えられた拡張記憶論理アドレスの上位ア
ドレスがアドレス変換回路で設定されていれば、二重化
アドレス制御装置3は、与えられた拡張記憶論理アドレ
スの上位アドレスがアドレス変換回路で設定されている
拡張記憶装置が障害状態かどうかの判定を行い(ステッ
プ210)、障害状態の場合にはデータ転送が不可能な
ためにCPU1に異常リプライを返し、ソフトウェアに
異常を通知して終了する(ステップ211)。
If the upper address of the supplied extended storage logical address is set by the address conversion circuit, the dual address control device 3 sets the upper address of the supplied extended storage logical address by the address conversion circuit. It is determined whether or not the extended storage device is in a failure state (step 210). In the case of a failure state, since data transfer is impossible, an abnormal reply is returned to the CPU 1, the software is notified of the abnormality, and the processing ends (step 211). ).

【0052】与えられた拡張記憶論理アドレスの上位ア
ドレスがアドレス変換回路で設定されている拡張記憶装
置が障害状態でなければ、二重化アドレス制御装置3
は、与えられた拡張記憶論理アドレスの上位アドレスが
設定されている拡張記憶装置側のアドレス変換回路に拡
張記憶論理アドレスの上位アドレスで拡張記憶物理アド
レスの上位アドレスへの変換指示を行い、該当する拡張
記憶装置側のデータ転送機構に対して拡張記憶論理アド
レスの下位アドレス,主記憶アドレスおよび転送レング
スと、主記憶2から拡張記憶装置へのデータ転送指示と
を出す(ステップ212)。
If the extended storage device whose upper address of the given extended storage logical address is set in the address conversion circuit is not in the fault state, the dual address control device 3
Indicates to the address conversion circuit on the side of the extended storage device, in which the upper address of the given extended storage logical address is set, the conversion of the extended storage physical address to the upper address with the higher address of the extended storage logical address. The lower address of the extended storage logical address, the main storage address and the transfer length, and the data transfer instruction from the main storage 2 to the extended storage device are issued to the data transfer mechanism on the side of the extended storage device (step 212).

【0053】マスタデータ転送機構9およびスレーブデ
ータ転送機構10は、二重化アドレス制御装置3から拡
張記憶論理アドレスの下位アドレス,主記憶アドレスお
よび転送レングスと、二重データ転送指示とを受け取っ
た場合、それぞれ対応するマスタアドレス変換回路7お
よびスレーブアドレス変換回路8から各々拡張記憶物理
アドレスの上位アドレスを受け取り、各々の拡張記憶物
理アドレスの上位アドレスと拡張記憶論理アドレスの下
位アドレスとを加算したアドレスを拡張記憶アクセス用
のアドレスとして、主記憶2の与えられたアドレスから
与えられた転送レングス分だけ同期を取りながらデータ
転送を同時に行う。
When the master data transfer mechanism 9 and the slave data transfer mechanism 10 receive the lower address of the extended storage logical address, the main storage address and the transfer length, and the dual data transfer instruction from the dual address control device 3, respectively. An upper address of the extended storage physical address is received from each of the corresponding master address conversion circuit 7 and slave address conversion circuit 8, and an address obtained by adding the upper address of each extended storage physical address and the lower address of the extended storage logical address is extended storage As an access address, data transfer is simultaneously performed while synchronizing with a given transfer length from a given address in the main memory 2.

【0054】マスタデータ転送機構9およびスレーブデ
ータ転送機構10は、二重化アドレス制御装置3から拡
張記憶論理アドレスの下位アドレス,主記憶アドレスお
よび転送レングスと、通常のデータ転送指示とを受け取
った場合、それぞれ対応するアドレス変換回路から拡張
記憶物理アドレスの上位アドレスを受け取り、各々の拡
張記憶物理アドレスの上位アドレスと拡張記憶論理アド
レスの下位アドレスとを加算したアドレスを拡張記憶装
置のアクセス用アドレスとして、主記憶2の与えられた
アドレスから与えられた転送レングス分だけデータ転送
を単独で実行する。
When the master data transfer mechanism 9 and the slave data transfer mechanism 10 receive the lower address of the extended storage logical address, the main storage address and the transfer length, and the normal data transfer instruction from the duplicated address control device 3, respectively. An upper address of the extended storage physical address is received from the corresponding address conversion circuit, and an address obtained by adding the upper address of each extended storage physical address and the lower address of the extended storage logical address is used as an access address of the extended storage device as the main storage. Data transfer is independently executed from the given address of 2 by the given transfer length.

【0055】また、データ転送中、マスタ拡張記憶装置
11またはスレーブ拡張記憶装置12に障害が発生した
場合は、マスタデータ転送機構9またはスレーブデータ
転送機構10は、二重化アドレス制御装置3に障害を通
知して障害情報4を更新する。
When a failure occurs in the master extended storage device 11 or the slave extended storage device 12 during data transfer, the master data transfer mechanism 9 or the slave data transfer mechanism 10 notifies the duplicated address control device 3 of the failure. Then, the fault information 4 is updated.

【0056】二重化アドレス制御装置3は、二重化選択
スイッチ6がオンで片系の拡張記憶装置の故障の場合
は、そのままソフトウェアに対して正常終了したように
みせる。二重化選択スイッチ6がオンでデータ転送時に
両方の拡張記憶装置の故障の場合および二重化選択スイ
ッチ6がオフの場合には、二重化アドレス制御装置3
は、ソフトウェアに異常終了を通知する。
When the duplication selection switch 6 is turned on and the one-sided extended storage device has a failure, the duplication address control device 3 makes the software appear to have normally terminated. If the redundant selection switch 6 is on and both of the extended storage devices have failed during data transfer, and if the redundant selection switch 6 is off, the redundant address control device 3
Notifies the software of the abnormal termination.

【0057】(4) 拡張記憶装置から主記憶2へのデ
ータ転送
(4) Data transfer from the expanded storage device to the main memory 2

【0058】ソフトウェアは、拡張記憶装置から主記憶
2にデータ転送を行う場合、CPU1から二重化アドレ
ス制御装置3に対して拡張記憶論理アドレス,主記憶ア
ドレスおよび転送レングスと、拡張記憶装置から主記憶
2へのデータ転送指示とを与える。
When the software transfers data from the extended storage device to the main memory 2, the CPU 1 sends the extended storage logical address, the main storage address and the transfer length to the duplicated address control device 3, and the extended storage device to the main storage 2. And give data transfer instructions to.

【0059】二重化アドレス制御装置3は、前述の二重
化選択スイッチ6の状態である二重化情報13と、マス
タデータ転送機構9およびスレーブデータ転送機構10
がデータ転送時に検出した障害の障害情報4とを有し、
これらの情報により、図3のような制御を行う。
The duplicated address control device 3 includes the duplicated information 13, which is the state of the duplicated selection switch 6, the master data transfer mechanism 9 and the slave data transfer mechanism 10.
Has fault information 4 of a fault detected during data transfer,
Based on these information, the control shown in FIG. 3 is performed.

【0060】まず、二重化アドレス制御装置3は、二重
化選択スイッチ6がオンかオフかを二重化情報13で判
定する(ステップ300)。
First, the duplicated address control device 3 determines whether the duplicated selection switch 6 is on or off based on the duplicated information 13 (step 300).

【0061】二重化選択スイッチ6がオンならば、二重
化アドレス制御装置3は、障害情報4をもとにマスタ拡
張記憶装置11およびスレーブ拡張記憶装置12が共に
障害状態かどうかを判定する(ステップ301)。マス
タ拡張記憶装置11およびスレーブ拡張記憶装置12が
共に障害状態の場合、二重化アドレス制御装置3は、デ
ータ転送が不可能なためにCPU1に異常リプライを返
し、ソフトウェアに異常を通知して終了する(ステップ
302)。
If the duplication selection switch 6 is turned on, the duplication address control device 3 determines whether or not both the master extended storage device 11 and the slave extended storage device 12 are in the fault state based on the fault information 4 (step 301). . When both the master extended storage device 11 and the slave extended storage device 12 are in a failure state, the duplicated address control device 3 returns an abnormal reply to the CPU 1 because the data transfer is impossible, notifies the software of the abnormal condition, and terminates ( Step 302).

【0062】マスタ拡張記憶装置11およびスレーブ拡
張記憶装置12の少なくとも一方が障害状態でなけれ
ば、二重化アドレス制御装置3は、与えられた拡張記憶
論理アドレスの上位アドレスがアドレス変換回路で設定
されているかどうかを判定する(ステップ303)。設
定されていない場合は、二重化アドレス制御装置3は、
拡張記憶物理アドレスに変換不可のためにCPU1に異
常リプライを返し、ソフトウェアに異常を通知して終了
する(ステップ304)。
If at least one of the master extended storage device 11 and the slave extended storage device 12 is not in a failure state, the dual address control device 3 determines whether the upper address of the given extended storage logical address is set by the address conversion circuit. It is determined (step 303). If not set, the redundant address control device 3
Since the extension storage physical address cannot be converted, an abnormal reply is returned to the CPU 1, the abnormality is notified to the software, and the process ends (step 304).

【0063】与えられた拡張記憶論理アドレスの上位ア
ドレスがアドレス変換回路で設定されていれば、二重化
アドレス制御装置3は、片系の拡張記憶装置が障害状態
かどうかの判定を行い(ステップ305)、片系の拡張
記憶装置が障害状態の場合、正常な拡張記憶装置側のア
ドレス変換回路に拡張記憶論理アドレスの上位アドレス
で拡張記憶物理アドレスの上位アドレスへの変換指示を
行い、正常な拡張記憶装置側のデータ転送機構に対して
拡張記憶論理アドレスの下位アドレス,主記憶アドレス
および転送レングスと、拡張記憶装置から主記憶2への
データ転送指示とを出す(ステップ306)。
If the upper address of the given extended storage logical address is set in the address conversion circuit, the duplicated address control device 3 determines whether or not one of the extended storage devices is in the fault state (step 305). When one of the extended storage devices is in a failure state, the normal address of the extended storage is specified by instructing the address conversion circuit on the normal extended storage device side to convert the extended storage physical address to the upper address of the extended storage logical address. The lower address of the extended storage logical address, the main storage address and the transfer length, and the data transfer instruction from the extended storage device to the main storage 2 are issued to the data transfer mechanism on the device side (step 306).

【0064】両系とも正常な場合は、二重化アドレス制
御装置3は、マスタ拡張記憶装置11またはスレーブ拡
張記憶装置12の内のどちらかのアドレス変換回路に拡
張記憶論理アドレスの上位アドレスで拡張記憶物理アド
レスの上位アドレスへの変換指示を行い、該当するデー
タ転送機構に対して拡張記憶論理アドレスの下位アドレ
ス,主記憶アドレスおよび転送レングスと、拡張記億装
置から主記憶2へのデータ転送指示とを出す(ステップ
307)。
When both systems are normal, the duplicated address control device 3 uses the higher address of the extended storage logical address in the extended storage physical address in the address conversion circuit of either the master extended storage device 11 or the slave extended storage device 12. An address conversion instruction is issued to the corresponding data transfer mechanism, and a lower address of the extended storage logical address, a main storage address and a transfer length, and a data transfer instruction from the extended storage device to the main storage 2 are issued. (Step 307).

【0065】一方、二重化選択スイッチ6がオフなら
ば、二重化アドレス制御装置3は、与えられた拡張記憶
論理アドレスの上位アドレスがアドレス変換回路で設定
されているかどうかを判定する(ステップ308)。設
定されていない場合は、二重化アドレス制御装置3は、
拡張記憶物理アドレスに変換不可のためにCPU1に異
常リプライを返し、ソフトウェアに異常を通知して終了
する(ステップ309)。
On the other hand, if the duplication selection switch 6 is off, the duplication address control device 3 determines whether or not the upper address of the supplied extended storage logical address is set by the address conversion circuit (step 308). If not set, the redundant address control device 3
Since the extension storage physical address cannot be converted, an abnormal reply is returned to the CPU 1, the abnormality is notified to the software, and the process ends (step 309).

【0066】与えられた拡張記憶論理アドレスの上位ア
ドレスがアドレス変換回路で設定されていれば、二重化
アドレス制御装置3は、与えられた拡張記憶論理アドレ
スの上位アドレスがアドレス変換回路で設定されている
拡張記憶装置が障害状態かどうかの判定を行い(ステッ
プ310)、障害状態の場合にはデータ転送が不可能な
ためにCPU1に異常リプライを返し、ソフトウェアに
異常を通知して終了する(ステップ311)。
If the upper address of the supplied extended storage logical address is set by the address conversion circuit, the dual address control device 3 sets the upper address of the supplied extended storage logical address by the address conversion circuit. It is determined whether or not the expansion storage device is in the failure state (step 310). In the case of the failure state, since data transfer is impossible, an abnormal reply is returned to the CPU 1, and the software is notified of the abnormality and the processing ends (step 311). ).

【0067】与えられた拡張記憶論理アドレスの上位ア
ドレスがアドレス変換回路で設定されている拡張記憶装
置が障害状態でなければ、二重化アドレス制御装置3
は、与えられた拡張記憶論理アドレスの上位アドレスが
設定されている拡張記憶装置側のアドレス変換回路に拡
張記憶論理アドレスの上位アドレスで拡張記憶物理アド
レスの上位アドレスへの変換指示を行い、該当する拡張
記憶装置側のデータ転送機構に対して拡張記憶論理アド
レスの下位アドレス,主記憶アドレスおよび転送レング
スと、拡張記憶装置から主記憶2へのデータ転送指示と
を出す(ステップ312)。
If the extended storage device in which the higher address of the given extended storage logical address is set in the address conversion circuit is not in the fault state, the dual address control device 3
Indicates to the address conversion circuit on the side of the extended storage device, in which the upper address of the given extended storage logical address is set, the conversion of the extended storage physical address to the upper address with the higher address of the extended storage logical address. The lower address of the extended storage logical address, the main storage address and the transfer length, and the data transfer instruction from the extended storage to the main storage 2 are issued to the data transfer mechanism on the side of the extended storage (step 312).

【0068】マスタデータ転送機構9およびスレーブデ
ータ転送機構10は、二重化アドレス制御装置3から拡
張記憶論理アドレスの下位アドレス,主記憶アドレスお
よび転送レングスと、通常のデータ転送指示とを受け取
った場合、それぞれ対応するアドレス変換回路から拡張
記憶物理アドレスの上位アドレスを受け取り、各々の拡
張記憶物理アドレスの上位アドレスと拡張記憶論理アド
レスの下位アドレスとを加算したアドレスを拡張記憶装
置のアクセス用アドレスとして、主記憶2の与えられた
アドレスから与えられた転送レングス分だけデータ転送
を単独で実行する。
When the master data transfer mechanism 9 and the slave data transfer mechanism 10 receive the lower address of the extended storage logical address, the main storage address and the transfer length, and the normal data transfer instruction from the dual address control device 3, respectively. An upper address of the extended storage physical address is received from the corresponding address conversion circuit, and an address obtained by adding the upper address of each extended storage physical address and the lower address of the extended storage logical address is used as an access address of the extended storage device as the main storage. Data transfer is independently executed from the given address of 2 by the given transfer length.

【0069】また、データ転送中、マスタ拡張記憶装置
11またはスレーブ拡張記憶装置12に障害が発生した
場合は、マスタデータ転送機構9およびスレーブデータ
転送機構10は、二重化アドレス制御装置3に障害を通
知して障害情報4を更新する。
When a failure occurs in the master extended storage device 11 or the slave extended storage device 12 during data transfer, the master data transfer mechanism 9 and the slave data transfer mechanism 10 notify the duplicated address control device 3 of the failure. Then, the fault information 4 is updated.

【0070】その後、二重化アドレス制御装置3は、二
重化選択スイッチ6がオンで片系の拡張記憶装置の故障
の場合は、他の正常な拡張記憶装置で動作するように障
害が起きていない方のアドレス変換回路およびデータ転
送機構にリトライさせる。二重化選択スイッチ6がオン
で両方の拡張記憶装置の故障になった場合および二重化
選択スイッチ6がオフの場合には、二重化アドレス制御
装置3は、ソフトウェアに異常終了を通知する。
After that, when the duplication selection switch 6 is turned on and the one-sided extended storage device fails, the duplicated address control device 3 operates in the other normal extended storage device, so that the faulty one does not occur. Retry the address conversion circuit and the data transfer mechanism. When the duplication selection switch 6 is on and both expansion storage devices have failed, and when the duplication selection switch 6 is off, the duplication address control device 3 notifies the software of abnormal termination.

【0071】[0071]

【発明の効果】以上説明したように本発明の第1の効果
は、拡張記憶装置を二重化した場合の主記憶から拡張記
憶装置へのデータ転送を高速に実現することである。そ
の理由は、1つの拡張記憶論理アドレスから2つの拡張
記憶物理アドレスに変換する手段をもつことと、2つの
拡張記憶物理アドレスの場所に主記憶からデータを転送
する際に同期をとりながら同時にデータを転送させる手
段とをもつことにより、データ転送の際に2度のデータ
転送が1度のデータ転送ですむようになり転送時間を短
縮できるからである。
As described above, the first effect of the present invention is to realize high-speed data transfer from the main memory to the extended storage device when the extended storage device is duplicated. The reason is to have a means for converting one extended storage logical address into two extended storage physical addresses, and to simultaneously transfer data while transferring data from the main storage to two extended storage physical address locations. By having a means for transferring the data, it is possible to shorten the transfer time because the data transfer need only be performed twice for the data transfer.

【0072】第2の効果は、高信頼性の拡張記憶装置を
簡単に利用できるようになることである。その理由は、
2つの異なる拡張記憶領域を1つの拡張記憶領域に見せ
るため、従来はアドレスの二重管理や二重のデータ転送
や片方の拡張記憶装置の障害時の処理などを意識してプ
ログラミングしなければならなかったが、本発明により
二重化を意識せずにあたかも1台の拡張記憶装置をアク
セスすればよくなり、簡単に高信頼性の二重化拡張記憶
装置を実現できるからである。
The second effect is that a highly reliable extended storage device can be easily used. The reason is,
In order to make two different extended storage areas look like one extended storage area, conventionally, programming must be performed with consideration of address double management, double data transfer, and processing when one of the extended storage devices fails. This is because, according to the present invention, it is only necessary to access one extended storage device without being aware of duplication, and a highly reliable duplicated extension storage device can be easily realized.

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

【図1】本発明の一実施の形態に係る拡張記憶装置のデ
ータ転送回路の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a data transfer circuit of an extension storage device according to an embodiment of the present invention.

【図2】図1中の二重化アドレス制御装置が主記憶から
拡張記憶装置へのデータ転送をするときの制御フローで
ある。
FIG. 2 is a control flow when the dual address control device in FIG. 1 transfers data from a main memory to an extended storage device.

【図3】図1中の二重化アドレス制御装置が拡張記憶装
置から主記憶へのデータ転送をするときの制御フローで
ある。
FIG. 3 is a control flow when the dual address control device in FIG. 1 transfers data from an extended storage device to a main memory.

【図4】従来の拡張記憶装置のデータ転送制御回路の一
例を示すブロック図である。
FIG. 4 is a block diagram showing an example of a data transfer control circuit of a conventional extended storage device.

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

1 CPU 2 主記憶 3 二重化アドレス制御装置 4 障害情報 5 論理アドレス設定手段 6 二重化選択スイッチ 7 マスタアドレス変換回路 8 スレーブアドレス変換回路 9 マスタデータ転送機構 10 スレーブデータ転送機構 11 マスタ拡張記憶装置 12 スレーブ拡張記憶装置 13 二重化情報 DESCRIPTION OF SYMBOLS 1 CPU 2 Main memory 3 Duplication address control device 4 Fault information 5 Logical address setting means 6 Duplication selection switch 7 Master address conversion circuit 8 Slave address conversion circuit 9 Master data transfer mechanism 10 Slave data transfer mechanism 11 Master expansion storage device 12 Slave expansion Storage device 13 Redundant information

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 1つの拡張記憶論理アドレスから2つの
拡張記憶物理アドレスに変換する手段と、 2つの拡張記憶物理アドレスの場所に主記憶からデータ
を転送する際に同期をとりながら同時にデータを転送さ
せる手段とを有することを特徴とする拡張記憶装置のデ
ータ転送制御回路。
1. A means for converting from one extended storage logical address into two extended storage physical addresses, and simultaneously transferring data in synchronization with the transfer of data from the main storage to the two extended storage physical address locations. And a data transfer control circuit for an extension storage device.
【請求項2】 拡張記憶装置の障害情報を有し、データ
転送の際に正常な拡張記憶装置を選択してデータ転送さ
せる手段を有することを特徴とする請求項1記載の拡張
記憶装置のデータ転送制御回路。
2. The data of the extended storage device according to claim 1, further comprising means for holding fault information of the extended storage device and selecting a normal extended storage device for data transfer at the time of data transfer. Transfer control circuit.
【請求項3】 拡張記憶装置を二重化して使うか、2台
の拡張記憶装置として使うかを変更する手段を有するこ
とを特徴とする請求項1または2記載の拡張記憶装置の
データ転送制御回路。
3. A data transfer control circuit for an extended storage device according to claim 1, further comprising means for changing whether to use the extended storage device in a duplicated manner or as two extended storage devices. .
【請求項4】 マスタアドレス変換回路およびマスタデ
ータ転送機構を備えるマスタ拡張記憶装置と、 スレーブアドレス変換回路およびスレーブデータ転送機
構を備えるスレーブ拡張記憶装置と、 拡張記憶論理アドレスの上位アドレスから拡張記憶物理
アドレスの上位アドレスにアドレス変換を行うためのア
ドレス変換テーブルを有し、拡張記憶物理アドレスの上
位アドレスを前記マスタデータ転送機構に渡す前記マス
タアドレス変換回路と、 拡張記憶論理アドレスの上位アドレスから拡張記憶物理
アドレスの上位アドレスにアドレス変換を行うためのア
ドレス変換テーブルを有し、拡張記憶物理アドレスの上
位アドレスを前記スレーブデータ転送機構に渡す前記ス
レーブアドレス変換回路と、 前記マスタアドレス変換回路から与えられる拡張記憶物
理アドレスの上位アドレスと二重化アドレス制御装置か
ら与えられる拡張記憶論理アドレスの下位アドレスとを
加算したアドレスを用いて前記マスタ拡張記憶装置にア
クセスし、前記マスタ拡張記憶装置と主記憶との間のデ
ータ転送を調停するマスタデータ転送機構と、 前記スレーブアドレス変換回路から与えられる拡張記憶
物理アドレスの上位アドレスと前記二重化アドレス制御
装置から与えられる拡張記憶論理アドレスの下位アドレ
スとを加算したアドレスを用いて前記スレーブ拡張記憶
装置にアクセスし、前記スレーブ拡張記憶装置と主記憶
との間のデータ転送を調停するスレーブデータ転送機構
と、 前記マスタアドレス変換回路および前記スレーブアドレ
ス変換回路に対してアドレス変換指示を出し、前記マス
タデータ転送機構および前記スレーブデータ転送機構に
拡張記憶論理アドレスの下位アドレス,主記憶アドレス
および転送レングスと、データ転送指示とを出す前記二
重化アドレス制御装置とを有することを特徴とする拡張
記憶装置のデータ転送制御回路。
4. A master extended storage device including a master address conversion circuit and a master data transfer mechanism, a slave extended storage device including a slave address conversion circuit and a slave data transfer mechanism, and an extended storage physical address from an upper address of an extended storage logical address. An address conversion table for performing address conversion to an upper address of an address, the master address conversion circuit that transfers the upper address of an extended storage physical address to the master data transfer mechanism, and an extended storage from an upper address of an extended storage logical address It is provided from the slave address conversion circuit that has an address conversion table for performing address conversion to the higher address of the physical address, and passes the higher address of the extended storage physical address to the slave data transfer mechanism, and the master address conversion circuit. Between the master extended storage device and the main storage by accessing the master extended storage device using an address obtained by adding the upper address of the extended storage physical address and the lower address of the extended storage logical address given from the dual address control device. A master data transfer mechanism that arbitrates the data transfer, and an address obtained by adding the upper address of the extended storage physical address given by the slave address conversion circuit and the lower address of the extended storage logical address given by the dual address controller. A slave data transfer mechanism for accessing the slave extended storage device to arbitrate data transfer between the slave extended storage device and the main memory; and an address translation instruction to the master address translation circuit and the slave address translation circuit. The master data transfer Mechanism and the slave data transfer mechanism having a lower address of an extended storage logical address, a main storage address and a transfer length, and the dual address control device for issuing a data transfer instruction. circuit.
【請求項5】 前記マスタデータ転送機構が前記マスタ
拡張記憶装置で障害が発生した場合に前記二重化アドレ
ス制御装置に障害を通知し、前記スレーブデータ転送機
構が前記スレーブ拡張記憶装置で障害が発生した場合に
前記二重化アドレス制御装置に障害を通知し、前記二重
化アドレス制御装置がデータ転送の際に正常な拡張記憶
装置を選択してデータ転送させる請求項4記載の拡張記
憶装置のデータ転送制御回路。
5. The master data transfer mechanism notifies the dual address control device of a failure when a failure occurs in the master extended storage device, and the slave data transfer mechanism fails in the slave extended storage device. 5. The data transfer control circuit for an extended storage device according to claim 4, wherein a notification is given to the dual address control device of a failure, and the dual address control device selects a normal extended storage device for data transfer when data is transferred.
【請求項6】 前記マスタアドレス変換回路および前記
スレーブアドレス変換回路に拡張記憶論理アドレスから
拡張記憶物理アドレスに変換するためのアドレス設定を
行う論理アドレス設定手段と、前記マスタ拡張記憶装置
および前記スレーブ拡張記憶装置を二重化して実質1つ
の拡張記憶装置として使用するかそれぞれ独立した拡張
記憶装置として使用するかを前記論理アドレス設定手段
および前記二重化アドレス制御装置に伝える二重化選択
スイッチとを備える請求項4記載の拡張記憶装置のデー
タ転送制御回路。
6. A logical address setting means for setting an address for converting an extended storage logical address to an extended storage physical address in the master address conversion circuit and the slave address conversion circuit, the master extension storage device and the slave extension. 5. A duplication selection switch for transmitting to the logical address setting means and the duplication address control device whether the storage device is duplicated and used as substantially one extension storage device or each independent extension storage device. Transfer control circuit of the extended storage device.
JP8142227A 1996-05-13 1996-05-13 Data transfer control circuit for extended storage device Pending JPH09305494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8142227A JPH09305494A (en) 1996-05-13 1996-05-13 Data transfer control circuit for extended storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8142227A JPH09305494A (en) 1996-05-13 1996-05-13 Data transfer control circuit for extended storage device

Publications (1)

Publication Number Publication Date
JPH09305494A true JPH09305494A (en) 1997-11-28

Family

ID=15310380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8142227A Pending JPH09305494A (en) 1996-05-13 1996-05-13 Data transfer control circuit for extended storage device

Country Status (1)

Country Link
JP (1) JPH09305494A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009110162A (en) * 2007-10-29 2009-05-21 Buffalo Inc Disk array device
JP2012507100A (en) * 2008-10-28 2012-03-22 マイクロン テクノロジー, インク. Logical unit operation
WO2014002193A1 (en) * 2012-06-26 2014-01-03 三菱電機株式会社 Data processing system and program change device
JP2014219882A (en) * 2013-05-09 2014-11-20 株式会社東芝 Medical image storage device
JP2016514327A (en) * 2013-03-11 2016-05-19 インテル・コーポレーション Reduce uncorrectable memory errors

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009110162A (en) * 2007-10-29 2009-05-21 Buffalo Inc Disk array device
JP2012507100A (en) * 2008-10-28 2012-03-22 マイクロン テクノロジー, インク. Logical unit operation
WO2014002193A1 (en) * 2012-06-26 2014-01-03 三菱電機株式会社 Data processing system and program change device
JP2016514327A (en) * 2013-03-11 2016-05-19 インテル・コーポレーション Reduce uncorrectable memory errors
JP2017117480A (en) * 2013-03-11 2017-06-29 インテル・コーポレーション Reduced uncorrectable memory errors
JP2014219882A (en) * 2013-05-09 2014-11-20 株式会社東芝 Medical image storage device

Similar Documents

Publication Publication Date Title
JP3655683B2 (en) Fault detection system and method for mirrored memory
EP0528538B1 (en) Mirrored memory multi processor system
US5963976A (en) System for configuring a duplex shared storage
JP3657428B2 (en) Storage controller
JP3987241B2 (en) Inter-system information communication system
KR100258079B1 (en) The duplicated device by extention of memory bus in a tightly coupled fault tolerance system
JP4182948B2 (en) Fault tolerant computer system and interrupt control method therefor
US6356985B1 (en) Computer in multi-cluster system
JPH09305494A (en) Data transfer control circuit for extended storage device
JPH07244634A (en) External storage control unit and bus switching control method
JP3080552B2 (en) Memory device for multi-computer system
JPH06259343A (en) Multiple bus control method and system using the same
JP4679178B2 (en) Communication device and memory device
JPS6327741B2 (en)
JPS60173602A (en) Decetralized type process controller
JP2000148523A (en) Duplex memory device and method for switching memory
KR100439149B1 (en) Dual Architecture And Method For System Board Of System Over Compact PCI Bus
JP3348704B2 (en) Duplexing apparatus and state matching control method used therefor
JP2024060523A (en) Storage Systems
JP3112280B2 (en) Computer system
JP2004185640A (en) Storage device system
JPH03268007A (en) Sequence controller
JP2001142730A (en) Control system for cpu access space
JP2000148671A (en) Bus control system and bus controller
KR20030068663A (en) Apparatus and method for synchronization of non-volatile memory information between duplexing board