JP2000285033A - Method and device for detecting fault of memory - Google Patents

Method and device for detecting fault of memory

Info

Publication number
JP2000285033A
JP2000285033A JP11092459A JP9245999A JP2000285033A JP 2000285033 A JP2000285033 A JP 2000285033A JP 11092459 A JP11092459 A JP 11092459A JP 9245999 A JP9245999 A JP 9245999A JP 2000285033 A JP2000285033 A JP 2000285033A
Authority
JP
Japan
Prior art keywords
memory
failure
check
data
access
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
JP11092459A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Arai
義幸 荒井
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.)
Kokusai Electric Corp
Original Assignee
Kokusai 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 Kokusai Electric Corp filed Critical Kokusai Electric Corp
Priority to JP11092459A priority Critical patent/JP2000285033A/en
Publication of JP2000285033A publication Critical patent/JP2000285033A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a memory fault detection method capable of reducing the load of a processor by adopting suitable frequency and improving a response to a memory access by solving problems that load is increased due to the execution of memory check in each memory access and a response to a memory access is deteriorated in a conventional memory fault detection method. SOLUTION: In the memory fault detection method and device, a fault detection means 21 in a processor 2 writes check data in a memory 1, reads out the written data, stores the data in a check memory 24, which checks data. Thereby operation for detecting a fault in the memory 1 is executed asynchronously with a memory access by a data processing means 23 and a fault informing means 22 displays a fault message when the means 23 accesses the memory 1.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、メモリ障害検出方
法に係り、特にメモリを備える処理装置におけるメモリ
アクセスのレスポンスを向上できるメモリ障害検出方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting a memory failure, and more particularly to a method for detecting a memory failure capable of improving a response of a memory access in a processing device having a memory.

【0002】[0002]

【従来の技術】従来、ROM(Read Only Memory)、R
AM(Random Access Memory)等のメモリの障害につい
て、ハードウェアでの検出ができない場合には、当該メ
モリから読み出したデータに対して、ソフトウェアでC
RC(Cyclic Redundancy Check )チェック、サム値チ
ェック等のデータチェックを行い、当該メモリの障害を
検出していた。
2. Description of the Related Art Conventionally, ROM (Read Only Memory), R
If a failure of a memory such as an AM (Random Access Memory) cannot be detected by hardware, the data read from the memory is replaced by a software command.
Data check such as RC (Cyclic Redundancy Check) check and sum value check are performed to detect a failure in the memory.

【0003】従来のソフトウェアを用いたメモリチェッ
ク方法を図3を用いて説明する。図3は、従来のメモリ
障害検出方法を示すフローチャート図である。メモリを
備える処理装置が、メモリにアクセスする要求を発生さ
せる(S31)と、当該メモリから必要とするデータを
含むメモリブロックを読み込む(S32)。そして、1
ブロック分のメモリチェックを行う(S33)。
A conventional memory check method using software will be described with reference to FIG. FIG. 3 is a flowchart showing a conventional memory failure detection method. When a processing device having a memory generates a request to access the memory (S31), a memory block including necessary data is read from the memory (S32). And 1
A memory check for blocks is performed (S33).

【0004】処理S33のメモリチェックの結果、メモ
リチェックエラーが有るか否かを判定し(S34)、エ
ラーがなければ(Noの場合)、アクセスしたデータに
対する処理を行う(S35)。また、判定処理S34で
エラーが有れば(Yesの場合)、エラーメッセージを
表示する処理を行い(S36)、そして処理を終了する
(S37)。
[0004] As a result of the memory check in step S33, it is determined whether or not there is a memory check error (S34). If there is no error (No), a process is performed on the accessed data (S35). If there is an error in the determination process S34 (in the case of Yes), a process of displaying an error message is performed (S36), and the process ends (S37).

【0005】尚、従来のメモリ障害の検出については、
平成7年(1995年)6月23日公開の特開平7−1
62439号の「ATMセル一時蓄積装置におけるメモ
リ障害検出方式」(出願人:日本電気株式会社、発明
者:中川達夫)がある。この技術は、ATMセルを一時
的に蓄積する装置において、無効及び未定義のセルが流
入した場合に、未使用のメモリ領域を用いて試験を行
い、余剰のメモリを用意することなくメモリ障害を検出
するものである。特に、上記公開公報の従来の技術に、
メモリへの書き込み時に、本来のデータにパリティビッ
ト又はCRCを付加し、メモリから読み出す際に、デー
タのパリティビット又はCRCを再計算し、付加したパ
リティビット又はCRCとの一致を検証して、メモリ障
害を検出するとの記載がある。
[0005] Incidentally, regarding the conventional memory fault detection,
JP-A-7-1 published on June 23, 1995
No. 62439, entitled "Memory Failure Detection Method in ATM Cell Temporary Storage Device" (Applicant: NEC Corporation, Inventor: Tatsuo Nakagawa). In this technology, when an invalid and undefined cell flows into a device for temporarily storing ATM cells, a test is performed using an unused memory area, and a memory failure can be performed without preparing an extra memory. It is to detect. In particular, in the prior art of the above publication,
At the time of writing to the memory, a parity bit or CRC is added to the original data, and when the data is read from the memory, the parity bit or CRC of the data is recalculated, and the consistency with the added parity bit or CRC is verified. It states that a failure is detected.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来のメモリ障害検出方法では、メモリへのアクセス毎に
メモリチェックを行うようにしているので、処理装置に
おける負荷が大きくなり、ユーザ操作に対するレスポン
ス時間が長くなり、メモリアクセスのレスポンスが悪い
という問題点があった。
However, in the conventional memory failure detection method, since a memory check is performed every time the memory is accessed, the load on the processing device increases, and the response time to a user operation increases. However, there is a problem that the response time of the memory access is poor.

【0007】また、メモリへのアクセス毎にメモリチェ
ックを行うために、障害発生率とチェック回数との間に
相関関係がなく、必要以上に障害検出を行っていること
が多く、適正なチェック回数となっていないという問題
点があった。
Further, since a memory check is performed every time the memory is accessed, there is no correlation between the failure occurrence rate and the number of checks, and failure detection is often performed more than necessary. There was a problem that was not.

【0008】本発明は上記実情に鑑みて為されたもの
で、適正な頻度で、処理装置の負荷を軽減でき、メモリ
アクセスのレスポンスを向上できるメモリ障害検出方法
を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a memory failure detection method capable of reducing the load on a processing device and improving the response of memory access at an appropriate frequency.

【0009】[0009]

【課題を解決するための手段】上記従来例の問題点を解
決する本発明は、メモリ障害検出方法及び装置におい
て、メモリを備える処理装置の負荷が小さくなる時に、
メモリアクセスとは非同期にメモリに書き込まれたテス
ト用データを読み取ってメモリ障害を検出するものであ
り、メモリアクセス時のレスポンスを向上させることが
できる。
SUMMARY OF THE INVENTION The present invention, which solves the above-mentioned problems of the prior art, provides a method and an apparatus for detecting a memory failure, in which a load on a processing device having a memory is reduced.
The memory access is to detect the memory failure by reading the test data written in the memory asynchronously, and it is possible to improve the response at the time of the memory access.

【0010】本発明は、メモリ障害検出方法及び装置に
おいて、メモリを備える処理装置の負荷が小さくなる時
に、メモリアクセスとは非同期にメモリ障害検出を行う
ものの、メモリ障害の報知はメモリアクセス時に行うよ
うにしたものであり、これにより、メモリアクセス時の
レスポンスを向上させると共に、メモリアクセス時にメ
モリ障害を報知できる。
According to the present invention, in the method and apparatus for detecting a memory failure, when the load on the processing device having the memory is reduced, the memory failure is detected asynchronously with the memory access, but the notification of the memory failure is performed at the time of the memory access. Thereby, the response at the time of memory access can be improved, and a memory failure can be notified at the time of memory access.

【0011】[0011]

【発明の実施の形態】本発明の実施の形態について図面
を参照しながら説明する。尚、以下で説明する機能実現
手段は、当該機能を実現する手段であれば、どのような
回路又は装置であっても構わず、また機能の一部又は全
部をソフトウェアで実現することも可能である。更に、
機能実現手段を複数の回路によって実現してもよく、複
数の機能実現手段を単一の回路で実現してもよい。
Embodiments of the present invention will be described with reference to the drawings. Note that the function realizing means described below may be any circuit or device as long as it realizes the function, and a part or all of the function may be realized by software. is there. Furthermore,
The function realizing means may be realized by a plurality of circuits, or the plurality of function realizing means may be realized by a single circuit.

【0012】上位概念的に説明すると、本発明のメモリ
障害検出方法は、メモリアクセスとは非同期にメモリ障
害の検出を行うものであり、特に処理装置における負荷
が小さくなる時にメモリ障害検出を行うようにしたもの
であり、これにより、メモリアクセス時のレスポンスを
向上できる。
[0012] Explaining the concept of the general concept, the memory failure detection method of the present invention detects a memory failure asynchronously with a memory access. In particular, the memory failure detection is performed when the load on the processing device is reduced. Thus, the response at the time of memory access can be improved.

【0013】本発明の実施の形態に係るメモリ障害検出
方法(本方法)は、障害検出対象のメモリにチェック用
データを書き込み、そのデータを読み出してチェック用
メモリに格納し、当該チェック用メモリ上でデータのチ
ェックを行うことでメモリ障害を検出する動作をデータ
処理のためのメモリアクセスに非同期で行い、検出され
た障害についての報知動作を障害検出動作とは非同期に
行うものであり、メモリ障害検出をメモリアクセス時に
行わないことで、メモリアクセスのレスポンスを向上さ
せることができるものである。また、障害報知動作をメ
モリアクセスと同期して行うことで、メモリアクセスの
レスポンスは向上しつつ、あたかもアクセス時に障害を
検出したかのような動作を可能とするものである。
A memory failure detection method according to an embodiment of the present invention (this method) is to write check data into a failure detection target memory, read the data, store the data in the check memory, and store the check data in the check memory. The operation for detecting a memory failure is performed asynchronously to the memory access for data processing by checking the data in the memory, and the operation for reporting the detected failure is performed asynchronously with the failure detection operation. By not performing the detection at the time of memory access, the response of memory access can be improved. Further, by performing the failure notification operation in synchronization with the memory access, the response of the memory access is improved, and an operation as if a failure was detected at the time of access is enabled.

【0014】本発明の実施の形態に係るメモリ障害検出
方法を実現する構成について図1を用いて説明する。図
1は、本発明の実施の形態に係るメモリ障害検出方法を
実現する構成ブロック図である。本発明のメモリ障害検
出方法を実現する装置(本装置)は、図1に示すよう
に、障害検出対象のメモリ1と、メモリ1にアクセスし
てデータ処理を行うと共にメモリ1の障害を検出する処
理装置2とから基本的に構成され、処理装置2は、メモ
リ1の障害を検出する障害検出手段21と、検出された
障害を報知する障害報知手段22と、メモリ1へのデー
タ処理を行うデータ処理手段23と、メモリ1から読み
出された障害検出対象のデータブロックを格納するチェ
ック用メモリ24とから構成されている。
A configuration for realizing the memory failure detection method according to the embodiment of the present invention will be described with reference to FIG. FIG. 1 is a configuration block diagram for realizing a memory failure detection method according to an embodiment of the present invention. As shown in FIG. 1, an apparatus for realizing a memory failure detection method of the present invention (the present apparatus) detects a failure in the memory 1 while accessing the memory 1 and performing data processing while accessing the memory 1. The processing device 2 is basically composed of a processing device 2, and the processing device 2 performs a fault detection unit 21 for detecting a fault in the memory 1, a fault notification unit 22 for notifying the detected fault, and performs data processing on the memory 1. It comprises a data processing means 23 and a check memory 24 for storing a data block of a failure detection target read from the memory 1.

【0015】次に、本装置の各部の具体的構成を説明す
る。メモリ1は、データの読み出し又は書き込み等のデ
ータ処理が為され、更にメモリチェック対象のメモリで
ある。メモリ1は、ROM、RAM等が考えられ、特に
DRAM(Dynamic RAM )、フラッシュROM等が想定
される。
Next, a specific configuration of each section of the apparatus will be described. The memory 1 is a memory on which data processing such as reading or writing of data is performed, and is subjected to a memory check. The memory 1 may be a ROM, a RAM, or the like, and in particular, a DRAM (Dynamic RAM), a flash ROM, or the like.

【0016】処理装置2は、メモリ1にアクセスすると
共にメモリ1の障害を検出する。尚、図1の例では、処
理装置2の外にメモリ1を設けた例としているが、処理
装置2がメモリ1を内蔵していても構わない。また、チ
ェック用メモリ24を処理装置2内に設けているが、外
部にチェック用メモリ24を設けても構わない。但し、
チェック処理の高速化を図るためには内蔵メモリの方が
効率がよい。
The processing device 2 accesses the memory 1 and detects a failure in the memory 1. In the example of FIG. 1, the memory 1 is provided outside the processing device 2. However, the processing device 2 may include the memory 1. Although the check memory 24 is provided in the processing device 2, the check memory 24 may be provided outside. However,
In order to speed up the checking process, the built-in memory is more efficient.

【0017】また、処理装置2内の障害検出手段21、
障害報知手段22、データ処理手段23は基本的にソフ
トウェアで実現され、処理装置2内部のプログラム格納
エリアから該当するプログラムが読み出されて各手段に
おける処理を実行する。
The failure detecting means 21 in the processing device 2
The failure notifying unit 22 and the data processing unit 23 are basically realized by software, and a corresponding program is read from a program storage area inside the processing device 2 to execute processing in each unit.

【0018】障害検出手段21は、メモリ1の障害検出
対象のエリアに数バイトのチェック用データを書き込
み、書き込んだチェック用データをメモリ1から読み出
してチェック用メモリ24に格納させ、当該チェック用
メモリ24内のデータに対してメモリチェックを行い、
メモリ1上の障害を検出する。尚、メモリチェックの方
法としては、水平/垂直パリティチェック、CRCチェ
ック、サム値チェック等の方法を用いる。障害検出のタ
イミングについては後述する。
The failure detecting means 21 writes several bytes of check data in the failure detection target area of the memory 1, reads out the written check data from the memory 1 and stores it in the check memory 24. Perform a memory check on the data in 24,
A failure on the memory 1 is detected. As a memory check method, a method such as a horizontal / vertical parity check, a CRC check, and a sum value check is used. The timing of failure detection will be described later.

【0019】障害報知手段22は、障害検出手段21で
検出された障害を報知するもので、例えば、処理装置2
が表示装置に接続されていると、その画面上に障害のメ
ッセージを表示する。具体的には、障害検出手段21で
検出された障害をフラグ情報としてセットしておき、処
理装置2がメモリ1にアクセスする時に、障害報知手段
22が起動し、当該フラグを参照して、メモリアクセス
時に障害を検出したかのようにメッセージを表示させ
る。また、障害報知手段22は、障害メッセージの表示
だけでなく、その後の対応として、障害メッセージを表
示した後に、CPUを停止する処理をしたり、また、障
害メッセージ表示後に、エラーファイル上に必要な情報
をロギングし、処理を再開する処理をしたりする。
The fault notifying means 22 is for notifying the fault detected by the fault detecting means 21.
Is connected to the display device, a failure message is displayed on the screen. Specifically, the fault detected by the fault detecting means 21 is set as flag information, and when the processing device 2 accesses the memory 1, the fault notifying means 22 is activated, and the memory is referenced by referring to the flag. Display a message as if a failure was detected during access. Further, the failure notification unit 22 not only displays the failure message, but also performs a process of stopping the CPU after displaying the failure message as a subsequent response, and also displays a necessary message on the error file after the failure message is displayed. It logs information and performs processing to resume processing.

【0020】データ処理手段23は、メモリ1に対する
データの読み出し又は書き込み等のアクセス処理を行
う。尚、データ処理手段23の機能として、データの加
工編集、演算等の処理を含めるようにしてもよい。ま
た、従来の方法では、データ処理手段23が行うアクセ
ス毎にメモリチェックを行うものであったが、本発明で
は、アクセス処理とメモリ障害検出の処理、メモリ障害
報知の処理とを別個独立のもの(非同期)にし、動作タ
イミングを異ならせるようにしている。
The data processing means 23 performs access processing such as reading or writing of data to the memory 1. The functions of the data processing means 23 may include processing such as data processing and editing and calculation. In the conventional method, a memory check is performed for each access performed by the data processing unit 23. However, in the present invention, the access processing, the processing for detecting a memory failure, and the processing for reporting a memory failure are separately and independently performed. (Asynchronous) and different operation timings.

【0021】チェック用メモリ(チェック用記憶部)2
4は、メモリ1に書き込まれたチェック用データのデー
タブロックがメモリ1から読み出され、そのデータブロ
ックが書き込まれるメモリである。このチェック用メモ
リ24は、障害がないことが分かっているメモリ、若し
くはハード的に障害検出が可能なメモリとなっている。
そうでないと、チェック用メモリ24に障害が発生した
場合に、メモリ1の障害か、チェック用メモリ24の障
害かの区別がつかなくなるからである。
Check memory (check storage unit) 2
Reference numeral 4 denotes a memory in which a data block of check data written in the memory 1 is read from the memory 1 and the data block is written. The check memory 24 is a memory known to have no failure or a memory capable of detecting a failure in hardware.
Otherwise, if a failure occurs in the check memory 24, it becomes impossible to distinguish between a failure in the memory 1 and a failure in the check memory 24.

【0022】本装置の動作を簡単に説明する。処理装置
2の障害検出手段21が起動されると、障害検出手段2
1は、チェック用データをメモリ1の該当エリアに書き
込み、そしてそのエリアからデータブロックを読み出し
てチェック用メモリ24に格納する。更に、障害検出手
段21は、チェック用メモリ24に格納されたデータに
対して、CRCチェック等のチェックを行い、チェック
結果をフラグにセットする。
The operation of the present apparatus will be briefly described. When the failure detection means 21 of the processing device 2 is activated, the failure detection means 2
1 writes the check data in a corresponding area of the memory 1, reads a data block from the area, and stores it in the check memory 24. Further, the failure detecting means 21 performs a check such as a CRC check on the data stored in the check memory 24 and sets the check result in a flag.

【0023】また、処理装置2の障害報知手段22が起
動されると、障害報知手段22は、障害検出結果を示す
フラグを参照し、障害があれば表示装置の画面上に障害
メッセージを表示する。更に、障害報知手段22は、障
害メッセージの表示後にCPUの停止処理又はロギング
を行って再開処理を実行する。
When the fault notifying means 22 of the processing device 2 is activated, the fault notifying means 22 refers to the flag indicating the fault detection result, and displays a fault message on the screen of the display device if there is a fault. . Further, the failure notifying unit 22 performs the stop processing or the logging of the CPU after the display of the failure message, and executes the restart processing.

【0024】次に、障害検出手段21における検出のタ
イミングと障害報知手段22における報知のタイミング
について説明する。検出タイミングは、メモリの信頼性
を基に障害検出のタイミングを求め、それに従って障害
検出を行う。具体的には、定時刻に障害検出する場合
と、特定の条件に合致した場合に障害検出する場合があ
る。
Next, the timing of detection by the failure detection means 21 and the timing of notification by the failure notification means 22 will be described. As for the detection timing, a failure detection timing is obtained based on the reliability of the memory, and the failure is detected in accordance therewith. Specifically, there are a case where a failure is detected at a fixed time and a case where a failure is detected when a specific condition is met.

【0025】定時刻に障害検出を行う場合について説明
する。装置の稼働時間と検出タイミングから検出時刻を
定める。定時刻に行うため、タイマ割り込み処理、常時
起動処理等でチェック時刻の判断を行う。例えば、8時
から17時まで稼働する装置では、検出タイミングを1
日10回とすると、1時間置きに(8時、9時、…、1
7時)に障害検出を行う。また、例えば、24時間稼働
している装置では、検出タイミングを1日150回とす
ると、10分毎に障害検出を行う(1日144回とな
る)。
A case where a failure is detected at a fixed time will be described. The detection time is determined from the operation time of the device and the detection timing. Since the check is performed at a fixed time, the check time is determined by a timer interrupt process, a constant activation process, or the like. For example, in a device operating from 8:00 to 17:00, the detection timing is set to 1
Assuming 10 times a day, every other hour (8:00, 9:00, ... 1,
At 7:00), a fault is detected. Further, for example, in a device operating for 24 hours, if the detection timing is set to 150 times a day, failure detection is performed every 10 minutes (144 times a day).

【0026】特定条件で障害検出を行う場合について説
明する。例えば、スケジューラによって振り分けられる
特定のタスク処理において、タスクが100回起動され
る毎に1回、256バイトずつチェックを行う。また、
毎日起動と停止を行う装置において、起動時に1回障害
検出を行う。また、通信終了を示す電文受信時に障害検
出を行う。また、1日の終了処理の中で障害検出を行
う。
A case where a failure is detected under a specific condition will be described. For example, in a specific task process assigned by the scheduler, a check is performed once every 100 times the task is started, 256 bytes each. Also,
In a device that starts and stops every day, fault detection is performed once at the time of startup. In addition, failure detection is performed when a message indicating the end of communication is received. In addition, failure detection is performed during the end processing of the day.

【0027】更に、処理の負荷が大きい時を避け、処理
の負荷が小さき時に障害検出を行うようにもできる。例
えば、24時間稼働の情報表示装置において、情報が全
く送信されてこない夜中に、全メモリのチェックを1回
ずつ行う。
Further, when the processing load is small, a failure can be detected when the processing load is small. For example, in a 24-hour information display device, all memories are checked once each time during the night when no information is transmitted.

【0028】次に、本発明の実施の形態に係るメモリ障
害検出方法の処理を図2を用いて説明する。図2は、本
発明の実施の形態に係るメモリ障害検出方法の処理を示
すフローチャート図である。障害検出手段21が起動さ
れて、メモリ障害検出(メモリ障害チェック)が開始さ
れる(S11)と、チェック用メモリ24に書き込まれ
たチェック用データについて、1メモリブロックに相当
するデータの障害チェックを行う(S12)。そして、
メモリチェックの結果、エラーが有るかどうか判定され
る(S13)。
Next, the processing of the memory failure detection method according to the embodiment of the present invention will be described with reference to FIG. FIG. 2 is a flowchart illustrating processing of the memory failure detection method according to the embodiment of the present invention. When the failure detecting means 21 is started and the memory failure detection (memory failure check) is started (S11), the failure check of the data corresponding to one memory block is performed on the check data written in the check memory 24. Perform (S12). And
As a result of the memory check, it is determined whether there is an error (S13).

【0029】判定処理S13において、エラーがなけれ
ば(Noの場合)、チェック処理を終了する(S1
5)。また、エラーが有れば(Yesの場合)、チェッ
ク対象ブロックに対応するフラグをONにする(S1
4)。このフラグは、メモリにおける障害検出を示すフ
ラグ(メモリ障害フラグ)となる。尚、複数のメモリブ
ロックについて障害チェックを行う場合には、複数メモ
リブロックに対応する複数のメモリ障害フラグが必要と
なり、メモリブロックとフラグとの対応関係が分かるよ
うになっている。
If there is no error in the judgment processing S13 (No), the check processing is terminated (S1).
5). If there is an error (in the case of Yes), the flag corresponding to the check target block is turned ON (S1).
4). This flag is a flag indicating a failure detection in the memory (memory failure flag). When a failure check is performed on a plurality of memory blocks, a plurality of memory failure flags corresponding to the plurality of memory blocks are required, and the correspondence between the memory blocks and the flags can be understood.

【0030】次に、本発明の実施の形態に係るメモリ障
害報知方法の処理を図3を用いて説明する。図3は、本
発明の実施の形態に係るメモリ障害報知方法の処理を示
すフローチャート図である。この報知方法は、予め検出
しておいたメモリ障害をあたかもメモリアクセス時に検
出したかのように報知する例である。
Next, the processing of the memory fault notification method according to the embodiment of the present invention will be described with reference to FIG. FIG. 3 is a flowchart illustrating a process of the memory failure notification method according to the embodiment of the present invention. This notification method is an example in which a previously detected memory failure is reported as if it had been detected at the time of memory access.

【0031】本装置において、データ処理手段23が起
動されて、メモリ1に対するアクセスの要求が発生する
(S21)と、図2の処理において用いられたメモリ障
害フラグを参照し、アクセス対象メモリに障害が有るか
どうか判定する(S22)。この判定処理S22におい
て、メモリ障害があれば(Yesの場合)、エラーメッ
セージを表示装置の画面上に表示し(S23)、処理を
終了する(S26)。
In the present apparatus, when the data processing means 23 is activated and a request for access to the memory 1 is generated (S21), the memory failure flag used in the processing of FIG. Is determined (S22). If there is a memory failure in this determination processing S22 (in the case of Yes), an error message is displayed on the screen of the display device (S23), and the processing ends (S26).

【0032】また、判定処理S22でメモリ障害がなけ
れば(Noの場合)、必要とするデータを含むメモリブ
ロックを読み込み(S24)、続いてアクセスしたデー
タに対する処理を行い(S25)、処理を終了する(S
26)。
If there is no memory failure in the judgment processing S22 (No), a memory block containing necessary data is read (S24), and processing for the accessed data is performed (S25), and the processing is terminated. Do (S
26).

【0033】本発明の実施の形態に係るメモリ障害検出
方法によれば、メモリアクセスとは非同期にメモリ障害
を検出しているので、処理装置2の負荷を軽減し、ユー
ザ操作に対するレスポンス時間への影響を少なくし、メ
モリアクセスの高速化を図ることができる効果がある。
According to the memory failure detection method according to the embodiment of the present invention, since the memory failure is detected asynchronously with respect to the memory access, the load on the processing device 2 is reduced, and the response time to the user operation is reduced. There is an effect that the influence can be reduced and memory access can be speeded up.

【0034】また、本方法によれば、処理の負荷等を考
慮して、装置の余裕のある時にメモリ障害検出を行え
る。また、本方法によれば、メモリ障害発生頻度に応じ
た、適正な回数にてメモリの障害検出を行える。また、
本方法によれば、メモリ容量が大きい場合でも、小さい
データブロックの単位に分けてメモリの障害検出を行う
ので、処理装置の性能に影響を与えることなく、メモリ
障害の検出ができる。また、本方法では、ソフトウェア
でメモリ障害検出を行うものであるから、ハードウェア
機能が不要となり、装置全体を安価にできる効果があ
る。
Further, according to the present method, a memory fault can be detected when there is room for the apparatus, taking into account the processing load and the like. Further, according to the present method, a memory failure can be detected at an appropriate number of times according to the frequency of occurrence of a memory failure. Also,
According to this method, even when the memory capacity is large, the memory failure is detected in units of small data blocks, so that the memory failure can be detected without affecting the performance of the processing device. In addition, in the present method, since the memory failure detection is performed by software, hardware functions are not required, and there is an effect that the entire apparatus can be made inexpensive.

【0035】[0035]

【発明の効果】本発明によれば、メモリアクセス時では
なく、処理装置の負荷が小さい時に、メモリアクセスと
は非同期にメモリ障害検出を行うメモリ障害検出方法及
び装置としているので、メモリアクセス時のレスポンス
を向上させることができる効果がある。
According to the present invention, a memory failure detection method and apparatus for detecting a memory failure asynchronously with the memory access when the load on the processing device is small, not at the time of the memory access. There is an effect that the response can be improved.

【0036】本発明によれば、処理装置の負荷が小さき
時に、メモリアクセスとは非同期にメモリ障害の検出を
行うものの、メモリ障害報知をメモリアクセス時に行う
メモリ障害検出方法及び装置としているので、メモリア
クセス時のレスポンスを向上させると共に、メモリアク
セス時にメモリ障害を報知できる効果がある。
According to the present invention, the memory failure is detected asynchronously with the memory access when the load on the processing device is light, but the memory failure detection method and the device perform the memory failure notification at the time of the memory access. This has the effect of improving the response at the time of access and notifying a memory failure at the time of memory access.

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

【図1】本発明の実施の形態に係るメモリ障害検出方法
を実現する装置の構成ブロック図でる。
FIG. 1 is a configuration block diagram of an apparatus for implementing a memory failure detection method according to an embodiment of the present invention.

【図2】本発明の実施の形態に係るメモリ障害検出方法
の処理を示すフローチャート図である。
FIG. 2 is a flowchart illustrating processing of a memory failure detection method according to the embodiment of the present invention.

【図3】本発明の実施の形態に係るメモリ障害報知方法
の処理を示すフローチャート図である。
FIG. 3 is a flowchart illustrating a process of a memory failure notification method according to the embodiment of the present invention;

【図4】従来のメモリ障害検出方法を示すフローチャー
ト図である。
FIG. 4 is a flowchart illustrating a conventional memory failure detection method.

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

1…メモリ、 2…処理装置、 21…障害検出手段、
22…障害報知手段、 23…データ処理手段、 2
4…チェック用メモリ
DESCRIPTION OF SYMBOLS 1 ... Memory, 2 ... Processing device, 21 ... Fault detection means,
22: fault notification means, 23: data processing means, 2
4 ... Check memory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 メモリを備える処理装置の負荷が小さく
なるよう特定時刻又は特定条件に合致した時に、メモリ
アクセスとは非同期にメモリに書き込まれたテスト用デ
ータを読み取ってメモリ障害を検出することを特徴とす
るメモリ障害検出方法。
1. A method for detecting a memory failure by reading test data written in a memory asynchronously with a memory access when a specific time or a specific condition is met so that a load on a processing device having a memory is reduced. Characteristic memory failure detection method.
【請求項2】 メモリを備える処理装置の負荷が小さく
なるよう特定時刻又は特定条件に合致した時に、メモリ
アクセスとは非同期にメモリに書き込まれたテスト用デ
ータを読み取ってメモリ障害を検出し、メモリ障害が検
出されるとメモリアクセス時にメモリ障害を報知するこ
とを特徴とするメモリ障害検出方法。
2. When a specific time or a specific condition is met so that a load on a processing device having a memory is reduced, test data written to the memory is read asynchronously with memory access, and a memory failure is detected. A memory failure detection method, wherein when a failure is detected, a memory failure is reported at the time of memory access.
【請求項3】 障害検出対象のメモリと、前記メモリか
ら読み出されたデータを格納するチェック用記憶部と、
前記メモリにチェック用データを書き込み、書き込んだ
データを前記メモリから前記チェック用記憶部に格納さ
せ、前記チェック用記憶部内のデータに対してメモリチ
ェックを行い、前記メモリ上の障害を検出する障害検出
手段と、前記障害検知手段の動作とは非同期に動作し、
前記障害検出の結果に基づいて障害メッセージを表示す
る障害報知手段とを有することを特徴とする装置。
3. A memory for failure detection, a check storage unit for storing data read from the memory,
Failure detection for writing check data in the memory, storing the written data from the memory in the check storage unit, performing a memory check on the data in the check storage unit, and detecting a failure in the memory Means, the operation of the failure detection means operates asynchronously,
A failure notification unit that displays a failure message based on the result of the failure detection.
【請求項4】 障害検出手段がメモリアクセス時以外の
時に動作し、障害報知手段がメモリアクセス時に動作す
ることを特徴とする請求項3記載の装置。
4. The apparatus according to claim 3, wherein the failure detection means operates at times other than the time of memory access, and the failure notification means operates at the time of memory access.
JP11092459A 1999-03-31 1999-03-31 Method and device for detecting fault of memory Pending JP2000285033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11092459A JP2000285033A (en) 1999-03-31 1999-03-31 Method and device for detecting fault of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11092459A JP2000285033A (en) 1999-03-31 1999-03-31 Method and device for detecting fault of memory

Publications (1)

Publication Number Publication Date
JP2000285033A true JP2000285033A (en) 2000-10-13

Family

ID=14054963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11092459A Pending JP2000285033A (en) 1999-03-31 1999-03-31 Method and device for detecting fault of memory

Country Status (1)

Country Link
JP (1) JP2000285033A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012111135A1 (en) * 2011-02-18 2012-08-23 三菱電機株式会社 Memory diagnostic device, memory diagnostic method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012111135A1 (en) * 2011-02-18 2012-08-23 三菱電機株式会社 Memory diagnostic device, memory diagnostic method, and program
CN103282892A (en) * 2011-02-18 2013-09-04 三菱电机株式会社 Memory diagnostic device, memory diagnostic method, and program
JP5409936B2 (en) * 2011-02-18 2014-02-05 三菱電機株式会社 MEMORY DIAGNOSIS DEVICE, MEMORY DIAGNOSIS METHOD, AND PROGRAM
US9009549B2 (en) 2011-02-18 2015-04-14 Mitsubishi Electric Corporation Memory diagnostic apparatus and memory diagnostic method and program
CN103282892B (en) * 2011-02-18 2016-01-20 三菱电机株式会社 Memory diagnosis device and memory diagnostic method

Similar Documents

Publication Publication Date Title
US7356744B2 (en) Method and system for optimizing testing of memory stores
JP2004537787A (en) Method and apparatus for analyzing power failures in a computer system
CN102024502B (en) Flash device testing method and device as well as board and network equipment
JPH10333990A (en) Method for inspecting cache memory
US9250920B2 (en) Initializing processor cores in a multiprocessor system
US20100312981A1 (en) Memory access timing adjustment device and memory access timing adjustment method
CN116521429A (en) Asset information reporting method and device, storage medium and electronic equipment
JP4409681B2 (en) Information processing apparatus and memory control method for information processing apparatus
JP2000285033A (en) Method and device for detecting fault of memory
JP3104685B2 (en) System log recording device, system log recording method, and recording medium
CN113821387B (en) KVM function keep-alive test method, device, equipment and medium
JPH04165548A (en) Memory address control system
KR20080037210A (en) Computer system and control method thereof
JP2002244934A (en) Memory monitoring device and method
CN117170217A (en) Redundancy control method, system, equipment and medium for fan operation system
JP2000259496A (en) Storage device
JPH0341538A (en) Main storage device
JP3262094B2 (en) Memory control device and memory control method
JP3196094B2 (en) Memory monitoring device
JP2000267986A (en) Device and method for controlling memory
JPH05210597A (en) Patrol circuit for storage device
JPH086864A (en) Diagnostic system for address bus for memory control
JPS6158063A (en) Data processing device
JPH0235547A (en) Test system for static ram block
JPH04237352A (en) Fault processing system for memory device