JPH04130917A - Electronic disk device - Google Patents

Electronic disk device

Info

Publication number
JPH04130917A
JPH04130917A JP2253359A JP25335990A JPH04130917A JP H04130917 A JPH04130917 A JP H04130917A JP 2253359 A JP2253359 A JP 2253359A JP 25335990 A JP25335990 A JP 25335990A JP H04130917 A JPH04130917 A JP H04130917A
Authority
JP
Japan
Prior art keywords
data
storage
disk device
signal
electronic disk
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
JP2253359A
Other languages
Japanese (ja)
Inventor
Tetsuo Fujitake
藤武 哲郎
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 JP2253359A priority Critical patent/JPH04130917A/en
Publication of JPH04130917A publication Critical patent/JPH04130917A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To confirm the storage of the same data in both of duplicated storage parts by reading out data stored in both the duplicated storage parts and mutually comparing the read data. CONSTITUTION:When a write instruction is generated from a CPU, a control part 100 simultaneously selects both the storage parts 200, 300 through respective lines 201, 301 and stores data sent from the CPU in both the storage parts 200, 300 through a line 101. When a signal is sent from a timer 400 to the control part 100, the control part 100 selects the storage part 200, reads out and stores a certain fixed volume of data stored in the storage part 200, reads out the fixed volume of data stored in the storage part 300 from the same address as the storage part 200, and compares the read data with the data read out from the storage part 200. When both the data coincide with each other as the result of comparison, a certain fixed volume of data read out from the succeeding address are compared based upon a signal outputted from the timer 400. When the compared data are mutually different as the result of comparison, the control part 100 informs discrepancy of data to the CPU.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子ディスク装置に関し、半導体メモリで構成
の記憶部が2重化された電子ディスク装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to an electronic disk device, and more particularly, to an electronic disk device in which a storage section composed of semiconductor memories is duplicated.

〔従来の技術〕[Conventional technology]

従来、この種の電子ディスク装置は、記憶部の二重化を
行う場合、データを記憶部に書込む時には、二重化され
た第1と第2の記憶部にデータを書込み、データを記憶
部から読出す場合、第1または第2記憶部から読出して
いた。
Conventionally, when this kind of electronic disk device performs dual storage, when writing data to the storage, the data is written to the dual storage, first and second, and the data is read from the storage. In this case, the data was read from the first or second storage unit.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の電子ディスク装置は、記憶部の二重化を
行う場合、データを書込む時には二重化された第1と第
2の記憶部にデータを書込み、データを記憶部から読出
す時には第1または第2の記憶部からのみ読出している
ので、二重化された第1と第2の記憶部に誤ったデータ
が記憶されても確認できないという欠点がある。
When the above-mentioned conventional electronic disk device performs duplex storage, data is written to the first and second duplex storage units when writing data, and data is written to the first and second duplex storage units when data is read from the first or second storage unit. Since the data is read only from the second storage section, there is a drawback that even if erroneous data is stored in the duplicated first and second storage sections, it cannot be confirmed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の電子ディスク装置は、書込命令により入力のデ
ータを同時に2重化された第1と第2の記憶部に記憶さ
せ読出命令により第1または第2の記憶部に記憶のデー
タを出力する制御部を有する電子ディスク装置において
、所定時間毎に信号を出力するタイマと、前記信号によ
り前記第1と第2の記憶部の同じアドレスのデータを所
定量だけ順次に読み出して比較し比較結果が不一致のと
き上位装置に通知することを特徴とする。
The electronic disk device of the present invention stores input data simultaneously in the duplicated first and second storage units in response to a write command, and outputs the stored data in the first or second storage unit in response to a read command. In an electronic disk device, the electronic disk device has a control unit that outputs a signal at predetermined time intervals, and a timer that outputs a signal at predetermined time intervals, and a predetermined amount of data at the same address in the first and second storage units is sequentially read out by the signal and compared. It is characterized by notifying the higher-level device when there is a mismatch.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。第1図
は本発明の一実施例を示すブロック図である。
Next, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention.

本実施例は、中央処理装置からのライト命令により入力
のデータを同時に2重化された第1と第2の記憶部20
0,300に記憶させ、中央処理装置からのリード命令
により第1または第2の記憶部200,300に記憶の
データを出力する制御部100と、所定時間毎に信号を
出力するタイマ400と、タイマ400からの信号によ
り第1と第2の記憶部200,300の同じアドレスの
データを所定量だけ順次に読み出して比較し比較結果が
不一致のとき中央処理装置に通知するように構成される
In this embodiment, input data is simultaneously duplicated in first and second storage units 20 based on a write command from a central processing unit.
0,300 and outputs the stored data to the first or second storage unit 200, 300 in response to a read command from the central processing unit; and a timer 400 that outputs a signal at predetermined time intervals; A predetermined amount of data at the same address in the first and second storage units 200 and 300 is sequentially read out and compared based on a signal from the timer 400, and when the comparison results do not match, the central processing unit is notified.

次に動作について説明する。Next, the operation will be explained.

中央処理装置からライト命令が発行されたとき制御部1
00は、線201.線301を通して第1と第2の記憶
部200,300を同時に選択し、線101を通して中
央処理装置から送られるデータを第1と第2の記憶部2
00,300に記憶させる。
When a write command is issued from the central processing unit, the control unit 1
00 is the line 201. The first and second storage units 200 and 300 are simultaneously selected through the line 301, and the data sent from the central processing unit through the line 101 is transferred to the first and second storage units 2.
00,300.

中央処理装置からリード命令が発行されたとき制御部1
00は、線201を通して第1の記憶部200を選択し
、線101を通して第1の記憶部200に記憶されてい
るデータを読出し中央処理装置に転送する。
When a read command is issued from the central processing unit, the control unit 1
00 selects the first storage unit 200 through the line 201, reads data stored in the first storage unit 200 through the line 101, and transfers it to the central processing unit.

また、中央処理装置から命令が発行されていないときタ
イマ400から制御部100に線401を通して信号が
送られると、制御部100は線201を通して第1の記
憶部200を選択し、線101に記憶されているデータ
をある一定量読出して保持し、次に線301を通して第
2の記憶部300を選択し、線101を通して、第2の
記憶部300に記憶されているデータを第1の記憶部2
00と同一アドレスからある一定量読出し、第1の記憶
部200から読出したデータと比較する。
Further, when a signal is sent from the timer 400 to the control section 100 through the line 401 when no command is issued from the central processing unit, the control section 100 selects the first storage section 200 through the line 201 and stores it on the line 101. A certain amount of data is read out and held, then the second storage unit 300 is selected through line 301, and the data stored in the second storage unit 300 is transferred through line 101 to the first storage unit. 2
A certain amount of data is read from the same address as 00 and compared with the data read from the first storage unit 200.

比較の結果が一致しているときは、次にタイマ400か
らの信号により次のアドレスからある一定量のデータの
比較を行う。
If the comparison results match, then a certain amount of data from the next address is compared in response to a signal from the timer 400.

比較の結果が不一致のとき制御部100は中央処理装置
にデータが不一致である旨を通知する。
When the comparison result is a mismatch, the control unit 100 notifies the central processing unit that the data do not match.

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

以上説明したように本発明は、二重化された記憶部に記
憶されたデータを読み出して比較することにより、二重
化された記憶部の両方に同一のデータが記憶されている
ことの確認が行えるという効果がある。
As explained above, the present invention has the advantage that by reading and comparing the data stored in the duplicated storage units, it is possible to confirm that the same data is stored in both of the duplicated storage units. There is.

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

第1図は本発明の一実施例を示すブロック図である。 0・・・制御部、 200・・・第1の記憶部、 O・・・第2の記憶部、 400・・・タイマ。 FIG. 1 is a block diagram showing one embodiment of the present invention. 0...control unit, 200...first storage section, O... second storage section, 400...Timer.

Claims (1)

【特許請求の範囲】 1、書込命令により入力のデータを同時に2重化された
第1と第2の記憶部に記憶させ読出命令により第1また
は第2の記憶部に記憶のデータを出力する制御部を有す
る電子ディスク装置において、所定時間毎に信号を出力
するタイマと、前記信号により前記第1と第2の記憶部
の同じアドレスのデータを所定量だけ順次に読み出して
比較し比較結果が不一致のとき上位装置に通知すること
を特徴とする電子ディスク装置。 2、前記上位装置とデータの転送が行われていないとき
に前記比較動作を行うことを特徴とする請求項1記載の
電子ディスク装置。
[Claims] 1. Input data is simultaneously stored in the duplicated first and second storage units by a write command, and the stored data is outputted to the first or second storage unit by a read command. In an electronic disk device, the electronic disk device has a control unit that outputs a signal at predetermined time intervals, and a timer that outputs a signal at predetermined time intervals, and a predetermined amount of data at the same address in the first and second storage units is sequentially read out by the signal and compared. An electronic disk device characterized by notifying a host device when there is a mismatch. 2. The electronic disk device according to claim 1, wherein the comparison operation is performed when data is not transferred to the host device.
JP2253359A 1990-09-21 1990-09-21 Electronic disk device Pending JPH04130917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2253359A JPH04130917A (en) 1990-09-21 1990-09-21 Electronic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2253359A JPH04130917A (en) 1990-09-21 1990-09-21 Electronic disk device

Publications (1)

Publication Number Publication Date
JPH04130917A true JPH04130917A (en) 1992-05-01

Family

ID=17250247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2253359A Pending JPH04130917A (en) 1990-09-21 1990-09-21 Electronic disk device

Country Status (1)

Country Link
JP (1) JPH04130917A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8675120B2 (en) 2009-07-02 2014-03-18 Ricoh Imaging Company, Ltd. Manual focusing mechanism of imaging apparatus and imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8675120B2 (en) 2009-07-02 2014-03-18 Ricoh Imaging Company, Ltd. Manual focusing mechanism of imaging apparatus and imaging apparatus

Similar Documents

Publication Publication Date Title
JPH04130917A (en) Electronic disk device
JP2888062B2 (en) Information processing device
JPS61127026A (en) Optical disk controller
JPH0227596A (en) Semiconductor memory
JPH0194455A (en) System for accessing storage device
JPH0512222A (en) Information processor
JPS6327795B2 (en)
JPH0273420A (en) Semiconductor disk device
JPH04263333A (en) Memory duplication system
JPH01246647A (en) Memory cycle selecting system
JPS6011969A (en) Memory device with logical arithmetic means
JPS6136854A (en) Memory switching device
JPH05165731A (en) Duplex storage device
JPS6121541A (en) Storage circuit
JPH04299754A (en) Memory check system
KR890015139A (en) Pseudo-scramble system of computer
JPH0355645A (en) Check system for control storage
JPH01283635A (en) Buffer control circuit
JPH05298178A (en) Semiconductor integrated circuit
JPS63196968A (en) Input/output controller
JPS63317857A (en) Memory access circuit
JPH04359312A (en) Electronic disk subsystem
JPS6222165A (en) Control system for access to main storage device
JPH03283188A (en) Memory system
JPS635460A (en) Parallel computer