[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPS59112498A - Duplex shared memory device - Google Patents

Duplex shared memory device

Info

Publication number
JPS59112498A
JPS59112498A JP57223286A JP22328682A JPS59112498A JP S59112498 A JPS59112498 A JP S59112498A JP 57223286 A JP57223286 A JP 57223286A JP 22328682 A JP22328682 A JP 22328682A JP S59112498 A JPS59112498 A JP S59112498A
Authority
JP
Japan
Prior art keywords
memory
block
shared memory
memory device
duplex
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
JP57223286A
Other languages
Japanese (ja)
Inventor
Akira Naito
内藤 昭
Munetatsu Imamura
今村 宗立
Tadafumi Shirakawa
白川 忠文
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP57223286A priority Critical patent/JPS59112498A/en
Publication of JPS59112498A publication Critical patent/JPS59112498A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To reduce the delay of an access time at a fault by providing a memory for storing a faulty state with the respective shared memories in a memory device and actuating an access to the shared memory basing on said memory. CONSTITUTION:A master side memory block 23 is started when accessed first to clear the contents of a memory in a logical block 25 and to produce a state having no fault. If an error which cannot be restored is generated in the master side memory block 23, a faulty state signal is sent back to the logical block 25, therefore, when the faulty state signal from the master side memory block 23 is received, the logical block 25 stores it in a memory part 22 basing on an address in that case, and simultaneously, starts a slave side memory block 24. Also, if an error which cannot be restored is generated in the slave side memory block 24, too, the faulty state is sent back to the logical block 25. In this way, the delay of the access time when a fault occurs can be reduced.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、たとえば、複数の計算機によってアクセス
(呼出し)される二重化共有メモリ装置などのメモリ装
置におけるアクセス方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an access method in a memory device such as a duplex shared memory device that is accessed (called) by a plurality of computers, for example.

〔従来技術〕[Prior art]

第1図は、従来のこの種二重化共有メモリ装置における
アクセス方法の70−チャートで、この第1図は二重化
共有メモリ装置の内容呼出処理の場合の70−チャート
を示すもので、まず、計算機側から二重化共有メモリ装
置にフェッチ命令(1)が与えられると、二重化共有メ
モリの論理ブロックは、メモリブロック(2)を起動し
、次いでそのフェッチ・データが正しいかどうかのエラ
ーチェック(6a)を行ない、正しい場合には7エツチ
・データを外部に転送(力し、正しくない場合には、ス
レーブ側メモリブロック(5)を起動し、次いでその7
エツチ・データが正しいかどうかのエアーチェック(3
b)を行ない、正しい場合にはフエツチ・データを外部
に転送(力し、正しくない場合には、エラー処理ルーチ
ン(6)に移行するようになされていた。
FIG. 1 is a 70-chart of the access method in a conventional duplex shared memory device of this type. When a fetch instruction (1) is given to the duplexed shared memory device from , if correct, transfer the 7-etch data to the outside; if incorrect, start the slave side memory block (5), and then transfer the 7-etch data to the outside.
Air check to see if the data is correct (3)
b), and if correct, the fetch data is transferred to the outside; if incorrect, the process moves to an error handling routine (6).

従来の二重化共有メモリ装置は以上述べたようなアクセ
ス方法を用いているので、二重化共有メモリ装置に7エ
ツチ命令が与えられた場合には、まずマスク側のメモリ
ブロック(2)を一意的に起動するとともに、このマス
ク側のメモリブロック(2)に修復不可能なエラー、す
なわち故障が発生した場合のみスレーブ側のメモリブロ
ック(5)を起動するように構成していたため、マスク
側のメモリブロック(2)に故障が発生している場合に
は、二重化共有メモリ装置のアクセスOタイムが著しく
遅くなる欠点があった。
Conventional duplex shared memory devices use the access method described above, so when a 7 etch command is given to the duplex shared memory device, the memory block (2) on the mask side is first uniquely activated. At the same time, since the configuration was such that the slave side memory block (5) is activated only when an unrecoverable error, that is, a failure, occurs in the mask side memory block (2), the mask side memory block ( If a failure occurs in 2), there is a drawback that the access time of the duplex shared memory device becomes extremely slow.

〔発明の概要〕[Summary of the invention]

この発明は、かかる点に着目してなされたもので、前回
の7工ツチ時の故障状態信号を論理ブロック内のメモリ
に記憶させておくとともに、再度同じアドレスで7エツ
チ命令が与えられた場合には、共有メモリブロックの起
動に先立ち、上記論理ブロック内のメモリ読出し、前回
の7工ツチ時の故障状態信号を元に、正常状態を示す共
有メモリブロックのみをアクセスすることにより、故障
している共有メモリブロックをアクセスすることす<、
二重化共有メモリ装置のアクセス・タイムの遅れを少な
くすることができる二重化共有メモリ装置を提供しよう
とするものである。
This invention was made with attention to this point, and it stores the fault status signal from the previous 7-etch operation in the memory in the logic block, and when the 7-etch command is given again at the same address. Before starting the shared memory block, read the memory in the above logic block and access only the shared memory block that is in a normal state based on the fault status signal from the previous 7-step operation. To access a shared memory block that is
It is an object of the present invention to provide a duplex shared memory device that can reduce the delay in access time of the duplex shared memory device.

〔発明の実施例〕[Embodiments of the invention]

すなわち、第2図はこの発明の二重化共有メモリ装置に
おけるアクセス方法の一実施例を示すフローチャートで
、計算機側から二重化共有メモリ装置に、フェッチ命令
(1)が与えられると、二重化共有メモリの論理ブロッ
ク内のメモリを読出しOQlそのメモリ内容をチェック
01)することにより、アクセスされたアドレスに対応
するメモリブロックの前回アクセス待の故障情報(12
+が得られる。この故障情報により前回アクセス時に故
障が発生していた場合、二重化共有メモリ装置の相方の
故障かどうか0渇をみて、相方とも故障の場合は、エラ
ー処理ルーチン(6)へ、そして、相方とも故障でない
場合は、正常状態を示すメモリブロックα4を起動し、
次いでエラーチェック(3C)を行ない、エラー(4C
)がない場合には7エツチデータを外部に転送(力し、
エラーが発生しておけば故障状態信号を論理プルツク内
のメモリに書込み(15b)のあと、エラー処理ルーチ
ン(6)に移行させる。そして、論理ブロック内のメモ
リをチェックした結果、エラーが発生していなければ、
マスク側メモリブロック(2)を起動し、エラーチェッ
ク(3a)を行ない、エラー(4a)が発生していなけ
れば7エツチデータを外部へ転送しく7)、またエラー
が発生しておれば故障状態信号を論理ブロックに送出し
、この論理ブロック内のメモリに書込む(15a)とと
もに、スレーブ側メモリブロック(5)を起動してエラ
ーチェック(3b)を行ない、エラーが発生していなけ
ればフェッチデータを外部へ転送しく力、エラーが発生
しておれば、故障状態信号を論理ブロックに送出し、こ
の論理プルツク内のメモリに書込む(15b)とともに
、エラー処理ルーチン(6)に移行するようになされて
いる。
That is, FIG. 2 is a flowchart showing an embodiment of the access method in the duplex shared memory device of the present invention. When a fetch instruction (1) is given to the duplex shared memory device from the computer side, the logical block of the duplex shared memory is By reading the memory in the OQl and checking the memory contents (01), the failure information (12) of the memory block corresponding to the accessed address waiting for the previous access is obtained.
+ is obtained. If a failure occurred during the previous access based on this failure information, check to see if the other side of the duplex shared memory device is out of order, and if both the other side is out of order, the process goes to error handling routine (6) and returns to error handling routine (6). If not, activate memory block α4 indicating the normal state,
Next, an error check (3C) is performed, and an error (4C) is detected.
), if there is no 7
If an error has occurred, a failure state signal is written to the memory in the logic pull (15b), and then the error processing routine (6) is executed. Then, as a result of checking the memory in the logical block, if no error has occurred,
Activate the mask side memory block (2), perform an error check (3a), and if no error (4a) has occurred, transfer the 7-etch data to the outside (7), and if an error has occurred, send a failure status signal. is sent to the logical block and written to the memory in this logical block (15a), and the slave side memory block (5) is activated to perform an error check (3b), and if no error occurs, the fetch data is sent. If an error has occurred that cannot be transferred to the outside, a fault status signal is sent to the logic block and written to the memory within this logic block (15b), and the process proceeds to the error handling routine (6). ing.

次に、第3図はこの発明のアクセス方法を実施するため
の二重化共有メモリ装置の構成を示すブロック図で、二
重化共有メモリ装置は、複数の計算機からアクセスされ
る論理ブロック(ハ)と、これに接続される二重化され
たマスタ側メモリブロック(ハ)と、スレーブ側メモリ
ブロック(財)とによって構成されており、この論理ブ
ロック(ハ)は、更にCPUバスに接続サレルCP U
バスインタフェース部、およびタイミング発生部(イ)
と、共有メモリブロック力接続されるメモリバスインタ
フェース部Hと、故障状態信号を記憶するメモリ部(2
)とによって構成されている。なお、上記マスタ側メモ
リブロックQ:1と、スレーブ側メモリブロックC!(
イ)にはエラーチェック回路が内蔵されている。
Next, FIG. 3 is a block diagram showing the configuration of a duplex shared memory device for implementing the access method of the present invention. It is composed of a duplicated master-side memory block (c) and a slave-side memory block (c) connected to the CPU bus, and this logical block (c) is further connected to the CPU bus.
Bus interface section and timing generation section (a)
, a memory bus interface section H connected to the shared memory block, and a memory section (2) for storing fault status signals.
). Note that the master side memory block Q:1 and the slave side memory block C! (
A) has a built-in error check circuit.

以上述べた二重化共有メモリ装置において、電源投入時
には、論理ブロック(ハ)のメモリ内容をクリアして、
二重化共有メモリ装置は、アクセス待ちの状態となり、
最初にアクセスがあった場合、論理ブロック(ハ)内の
メモリの内容はクリアされていて故障なしの状態である
から、マスク側メモリブロック123)が起動される。
In the duplex shared memory device described above, when the power is turned on, the memory contents of the logical block (c) are cleared,
The duplex shared memory device is in a state of waiting for access.
When there is an access for the first time, the contents of the memory in the logical block (c) are cleared and there is no failure, so the mask side memory block 123) is activated.

そして、このマスク側メモリブロックC(資)において
修復不可能なエラーが発生すると、故障状態信号を論理
ブロツクシ51に返送するので、この論理ブロック(ハ
)は、マスク側メモリブロックe3)から故障状態信号
を受けると、そのときのアドレスを元に、メモリ部(2
2に記憶するとInにスレーブ側メモリブロックCaを
起動スる。
When an unrecoverable error occurs in this mask-side memory block C (capital), a fault state signal is sent back to the logic block 51, so that this logic block (c) is transferred from the mask-side memory block e3) to a fault state signal. When a signal is received, the memory section (2
When stored in 2, the slave side memory block Ca is activated in In.

そして、このスレーブ側メモリブロックeaにおいても
修復不可能なエラーが発生すると、故障状態信号を論理
ブロック(251に返送する。次に、この論理ブロック
(25)は、マスク側メモリブロック0国の場合と同様
の処理をして、エラー処理ルーチンに移行するようにな
されている。
When an unrecoverable error occurs in this slave side memory block ea, a failure state signal is returned to the logic block (251).Next, this logic block (25) The system performs the same processing as above and moves to the error handling routine.

以上述べた要領によってメモリブロックの故障状態が、
論理ブロックQつ内のメモリ部e2に記憶され、前回の
アクセスで故障が発生していたアドレスが再度アクセス
された場合、メモリブロックの起動に先立って論理ブロ
ック内のメモリ読出し、故障が発生していたか、その故
障はマスク側か、スレーブ側か、あるいはその相方かど
うかを判断して、相方の故障でなければ、正常状態のメ
モリブロックを起動し、相方とも故障の場合は、エラー
処理ルーチンに移行するようになされているため、故障
発生時のアクセス・タイムの遅れを少すくすることがで
きるものである。
The failure state of the memory block can be determined by the above-mentioned procedure.
When an address stored in memory section e2 in a logical block Q and where a failure occurred in the previous access is accessed again, the memory in the logical block is read and the failure occurs before the memory block is started. If the failure is on the mask side, slave side, or its partner, it is determined whether the failure is on the mask side, the slave side, or its partner. If the failure is not in the partner, the memory block in the normal state is activated, and if both the partner is in failure, the error processing routine is executed. Since the access time is shifted, the delay in access time when a failure occurs can be reduced.

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

この発明の二重化共有メモリ装置は上述したように、メ
モリ装置内に共有メモリのそれぞれについて故障状態を
記憶するメモリを設け、これにもとづいて共有メモリへ
アクセスの起動を行なうようにしたので、故障発生時の
アクセス・タイムの遅れを少なくすることができる優れ
た効果を有するものである。
As described above, in the duplex shared memory device of the present invention, a memory is provided in the memory device to store the failure status of each shared memory, and access to the shared memory is activated based on this memory, so that when a failure occurs This has the excellent effect of reducing the delay in access time.

なお、上述した一実施例においては、論理ブ四ツク内の
メモリの読出しは、二重化共有メモリ装置が、アクセス
された場合について述べたが、CPUバスを経由して計
算機側からも読み出せるようにすれば、メモリブロック
の故障状態を示すマツプが得られ、保守が容易になる効
果がある。また、二重化共有メモリ装置の容量が大きい
場合には、論理ブロック内のメモリの容量も大きくなる
ので、適度のアドレス単位、たとえば、二重化共有メモ
リ装置に使用している記憶素子の容量単位に故障状態信
号を記憶させるようにしても同様の効果が得られること
はいうまでもない。
In the above-mentioned embodiment, the memory in the logical block is read out when the duplex shared memory device is accessed, but it is also possible to read out the memory from the computer side via the CPU bus. By doing so, a map indicating the failure state of the memory block can be obtained, which has the effect of facilitating maintenance. In addition, if the capacity of the duplex shared memory device is large, the capacity of the memory in the logical block will also be large, so failure conditions can be detected in appropriate address units, for example, in units of the capacity of the storage elements used in the duplex shared memory device. It goes without saying that a similar effect can be obtained by storing the signal.

【図面の簡単な説明】 第1図は二重化共有メモリ装置における従来のアクセス
方法のフローチャート、第2図はこの発明の二重化共有
メモリ装置におけるアクセス方法の70−チャート、第
3図はこの発明の二重化共有メモリ装置を示すプ四ツク
図である。 図面中、(20はCPUバスインタフェース部、および
タイミング発生部、(21)はメモリバスインタフェー
ス、(2ツはメモリ部、(ハ)はマスタ側メモリブロッ
ク、C(イ)はスレーブ側メモリブロック、Q51は論
理ブロックである。なお、図中同一符号は同一または相
当部分を示す。 代理人 葛 野 信 − 手続補正書 特許庁長官殿 1、事件の表示    特願昭57−223286号2
、発明の名称 二重化共有メモリ装置 3、補正をする者 事件との関係   特許出願人 代表者片山仁へ部 4、代理人 5、補正の対象 明細書の「発明の詳細な説明」の欄。 6、補正の内容 1)明細書第2頁第8行の「この種」を「この種の」と
補正する。 以上 (2)
[Brief Description of the Drawings] Fig. 1 is a flowchart of a conventional access method in a duplex shared memory device, Fig. 2 is a 70-chart of an access method in a duplex shared memory device of the present invention, and Fig. 3 is a flowchart of a conventional access method in a duplex shared memory device of the present invention. FIG. 2 is a four-dimensional diagram illustrating a shared memory device. In the drawing, (20 is a CPU bus interface section and a timing generation section, (21) is a memory bus interface, (2 is a memory section, (c) is a master side memory block, C (a) is a slave side memory block, Q51 is a logic block. Note that the same reference numerals in the figure indicate the same or equivalent parts. Agent Shin Kuzuno - Procedural amendment to the Commissioner of the Japan Patent Office 1, Indication of case Patent Application No. 1986-223286 2
, Name of the invention Duplicated shared memory device 3, Relationship with the case of the person making the amendment Hitoshi Katayama, representative of the patent applicant, Department 4, Agent 5, ``Detailed description of the invention'' column of the specification to be amended. 6. Contents of the amendment 1) "This kind" on page 2, line 8 of the specification is amended to "this kind". Above (2)

Claims (2)

【特許請求の範囲】[Claims] (1)二重化されたそれぞれの共有メモリブロックから
、故障しているかどうかの故障状態信号を論理ブロック
に入力して、この論理ブロック内のメモリに記憶させ、
二重化共有メモリ装置がアクセスされたとき、上記共有
メモリブロックの起動に先立ち、アクセスされたアドレ
スに対応する論理ブロック内のメモリからそれぞれのメ
モリブロックの故障状態信号を読出し、この内容から正
常状態の共有メモリブロックのみをアクセスさせるよう
にしたことを特徴とする二重化共有メモリ装置。
(1) Input a fault status signal indicating whether or not there is a fault from each duplexed shared memory block to the logic block and store it in the memory within this logic block,
When the duplex shared memory device is accessed, prior to activation of the shared memory block, the failure status signal of each memory block is read from the memory in the logical block corresponding to the accessed address, and based on this content, the normal status is shared. A duplex shared memory device characterized in that only memory blocks are accessed.
(2)二重化されたマスク側メモリブロックと、スレー
ブ側メモリブロックと、CPUバスインタフェース部、
タイミング発生部、メモリバスインタフェース部、メモ
リ部からなる論理ブロックとによって構成された特許請
求の範凹第1項記載の二重化共有メモリ装置。
(2) Duplicated mask side memory block, slave side memory block, CPU bus interface section,
2. A duplex shared memory device according to claim 1, comprising a timing generator, a memory bus interface, and a logic block comprising a memory section.
JP57223286A 1982-12-20 1982-12-20 Duplex shared memory device Pending JPS59112498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57223286A JPS59112498A (en) 1982-12-20 1982-12-20 Duplex shared memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57223286A JPS59112498A (en) 1982-12-20 1982-12-20 Duplex shared memory device

Publications (1)

Publication Number Publication Date
JPS59112498A true JPS59112498A (en) 1984-06-28

Family

ID=16795747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57223286A Pending JPS59112498A (en) 1982-12-20 1982-12-20 Duplex shared memory device

Country Status (1)

Country Link
JP (1) JPS59112498A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60225264A (en) * 1984-04-24 1985-11-09 Hitachi Ltd Control system of shared dual memory

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51138339A (en) * 1975-05-26 1976-11-29 Hitachi Ltd Memory device
JPS57189396A (en) * 1981-05-14 1982-11-20 Nec Corp Controller for plural storage parts in data processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51138339A (en) * 1975-05-26 1976-11-29 Hitachi Ltd Memory device
JPS57189396A (en) * 1981-05-14 1982-11-20 Nec Corp Controller for plural storage parts in data processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60225264A (en) * 1984-04-24 1985-11-09 Hitachi Ltd Control system of shared dual memory
JPH0315214B2 (en) * 1984-04-24 1991-02-28 Hitachi Ltd

Similar Documents

Publication Publication Date Title
CN104798059A (en) Multiple computer system processing write data outside of checkpointing
JPS59112498A (en) Duplex shared memory device
JPS5831651A (en) Restart processing system for electronic exchanger
JPH0122653B2 (en)
JPS63231652A (en) Memory copy system for control system
JPS6159557A (en) Virtual memory controlling device
JP2600376B2 (en) Memory controller
JP2527964B2 (en) Backup system initial startup control method
JPH0315214B2 (en)
JPS59135684A (en) Data bypass system between buffer memories
JPH0523254U (en) Memory circuit
JPH06124242A (en) Duplex shared memory equivalency guarantee system
JPS5994160A (en) Data equalizing system of composite electronic computer system
JPH0519743B2 (en)
JPS6118061A (en) Shared memory control system
JPS6388659A (en) Cache memory controller
JPS6231386B2 (en)
JPH04211841A (en) Duplex processor
JPS61296471A (en) Vector processor
JPS58192123A (en) Device for transferring and controlling input and output data
JPS6059611B2 (en) information processing equipment
JPH02199562A (en) Duplicated memory copy system
JPS63254555A (en) Shared dual memory control system
JPH02257247A (en) Multi-processor system
JPH0421058A (en) Subprocessor program loading system