JPH04148355A - Memory error detecting method - Google Patents

Memory error detecting method

Info

Publication number
JPH04148355A
JPH04148355A JP2274400A JP27440090A JPH04148355A JP H04148355 A JPH04148355 A JP H04148355A JP 2274400 A JP2274400 A JP 2274400A JP 27440090 A JP27440090 A JP 27440090A JP H04148355 A JPH04148355 A JP H04148355A
Authority
JP
Japan
Prior art keywords
data
checked
memory
address
reference data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2274400A
Other languages
Japanese (ja)
Inventor
Noriyuki Kitaura
北浦 則行
Takashi Ueda
隆司 上田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2274400A priority Critical patent/JPH04148355A/en
Publication of JPH04148355A publication Critical patent/JPH04148355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To detect a memory error such as the entire destruction of a memory and the entire destruction of an address by allowing reference data to have specific relevance to data to be checked. CONSTITUTION:Reference data D1 which are allowed to have the specific relevance to data D0 to be checked stored in a specific address A0 of a memory 1, are stored in another address A1 of the memory 1. Then, the data D0 to be checked are compared with the data obtained after calculating back to the reference data D1 based on the specific relevance at the time of checking the data D0 to be checked. Therefore, the inverse calculation is operated based on the reference data D1 prepared by the entire destruction at the time of the entire destruction of the memory, so that the result can be noncoincident with the data D0 to be checked, and the error can be detected. Thus, the detection of the memory error can be surely attained even at the time of destruction of the memory.

Description

【発明の詳細な説明】 〔概 要〕 メモリエラー検出方法に関し、 メモリ破壊があってもメモリエラーの検出が容易となる
メモリエラー検出方法を提供することを目的とし、 メモリの特定アドレスに記憶されている被チェックデー
タに対して、特定の関連を持たせた参照データをメモリ
の別のアドレスに記憶させておき、被チェックデータに
チェックをかけるに際して、該被チェックデータと上記
参照データを特定の関連に基づいて逆算したデータとを
比較することを特徴とする構成とし、更に、上記被チェ
ックデータと参照データの特定の関係が被チェックデー
タの補数に定数を加える構成とした。
[Detailed Description of the Invention] [Summary] Regarding a memory error detection method, the object of the present invention is to provide a memory error detection method that makes it easy to detect memory errors even if memory is destroyed. Reference data that has a specific relationship with the data to be checked is stored in a different address in the memory, and when checking the data to be checked, the data to be checked and the reference data are The present invention is characterized in that it compares data that is back calculated based on the relationship, and furthermore, the specific relationship between the checked data and the reference data is such that a constant is added to the complement of the checked data.

〔産業上の利用分野〕[Industrial application field]

この発明はメモリエラー検出方法に関し、特に、通信ネ
ットワークの認識番号のメモリエラー検出方法に関する
ものである。
The present invention relates to a memory error detection method, and more particularly to a memory error detection method for communication network identification numbers.

〔従来技術〕[Prior art]

ホストコンピュータと多数の端末機を通信で結ぶLAN
等の通信ネットワークではホストコンピュータ、あるい
は該ホストコンピュータと接続される各端末機固有の認
識番号を有しており、ホストコンピュータから特定の端
末機を呼び出す場合、あるいはある端末機から他の特定
の端末機を呼び出す場合、必ず呼び出そうとする相手方
の認識番号を入力する必要がある。
LAN that connects a host computer and many terminals through communication
In communication networks such as the host computer or each terminal connected to the host computer, each communication network has a unique identification number, and when a host computer calls a specific terminal, or one terminal calls another specific terminal. When calling a machine, you must enter the identification number of the person you are calling.

認識番号は各端末機のメモリの特定のアドレスに記憶さ
れており、例えばホストコンピュータから特定の端末機
が呼び出されるとき、まず、ホストコンピュータより送
信されてくる認識番号と目的とする端末機の認識番号が
一致するか否かが判断され、両者が一致する場合にのみ
、ホストコンピュータとその端末機との通信が開始され
る。従って、上記認識番号が何等かの原因で壊されるよ
うなことがあると、その端末機を呼び出すことができな
い。そこで、認識番号が正常に記憶されているか否かを
チェックすることが行われている。
The identification number is stored at a specific address in the memory of each terminal. For example, when a specific terminal is called from a host computer, the identification number sent from the host computer and the recognition of the target terminal are first checked. It is determined whether the numbers match, and only if they match, communication between the host computer and its terminal is started. Therefore, if the identification number is destroyed for some reason, the terminal cannot be called. Therefore, a check is made to see if the identification number is stored correctly.

従来のチェック方法は、例えば、上記認識番号を被チェ
ックデータとしてメモリのあるアドレスに記憶しておき
、更に該認識番号と同じ番号を参照データとして上記認
識番号が記憶されているアドレスとは別のアドレスに記
憶させておき、上記のようにホストコンピュータからの
呼び出しがかかったときに双方を読み出して比較し、同
一であればメモリエラーがなく正しい認識番号が記憶さ
れていると判断し、不一致であればメモリエラーがあっ
たものとして何等かの方法でオペレータに知らせるよう
になっている。
In the conventional checking method, for example, the above-mentioned identification number is stored as data to be checked at an address in a memory, and then the same number as the identification number is stored as reference data at an address different from the address where the above-mentioned identification number is stored. address, and when a call is made from the host computer as described above, read and compare both, and if they are the same, it is determined that there is no memory error and the correct identification number is stored, and if there is a mismatch. If so, it is assumed that a memory error has occurred and the operator is notified by some method.

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

上記従来の方法によると、何等かの原因でメモリの全破
壊があったときには、上記2つのデータがオール“1”
あるいはオール“0”となる場合があり、この場合は上
記チェックでもエラーは検出されないことになる。また
、被チェックデータがアドレス“000”に記憶されて
おり、また、参照データがアドレス″100”に記憶さ
れている場合に、アドレスラインの破壊によってアドレ
ス“100”が指定されても“000”しか発生しない
ような場合には、まずアドレス“000”に記憶されて
いる被チェックデータを読み出し、次いで参照データと
しても被チェックデータと同じデータを比較することに
なり、アドレス“000°のデータが正常であるか否か
に関わらずチェックの結果は正常となる。
According to the above conventional method, if the memory is completely destroyed for some reason, the above two data will be all “1”.
Alternatively, it may be all "0", and in this case, no error will be detected by the above check. Furthermore, if the data to be checked is stored at address "000" and the reference data is stored at address "100", even if address "100" is specified due to destruction of the address line, "000" will not be returned. If only the data to be checked occurs, first read the data to be checked stored at address “000” and then compare the same data as the data to be checked as reference data, so that the data at address “000°” is The check result will be normal regardless of whether it is normal or not.

この発明は上記従来の事情に鑑みて提案されたものであ
って、メモリ破壊があってもメモリエラーの検出が確実
となるメモリエラー検出方法を提供することを目的とす
るものである。
The present invention has been proposed in view of the above-mentioned conventional circumstances, and it is an object of the present invention to provide a memory error detection method that can reliably detect memory errors even if memory is destroyed.

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

この発明は上記目的を達成するために以下の手段を採用
している。すなわち、第1図に示すようにメモリ1の特
定アドレスA0に記憶されている被チェックデータD0
に対して特定の関連を持たせた参照データD1をメモリ
1の別のアドレスA1に記憶させておき、被チェックデ
ータD0にチェックをかけるに際して、該被チェックデ
ータD0と上記参照データD1を特定の関連に基づいて
逆算したデータとを比較するものである。
This invention employs the following means to achieve the above object. That is, as shown in FIG. 1, the data to be checked D0 stored at a specific address A0 in the memory 1
Reference data D1 that has a specific relationship with the reference data D1 is stored in another address A1 of the memory 1, and when checking the checked data D0, the checked data D0 and the reference data D1 are stored in a specific address A1. This is to compare data calculated backwards based on relationships.

上記被チェックデータD0と参照データD、の特定の関
係が被チェックデータD0の補数に定数例えば−1を加
える関係とするのが簡単である。
It is easy to set the specific relationship between the data to be checked D0 and the reference data D to be such that a constant, for example, -1 is added to the complement of the data to be checked D0.

〔作 用〕[For production]

参照データは被チェックデータと特定の関係を有してい
るので、参照データから被チェックデータを算出するに
は上記特定の関係から逆算する必要がある。従って、メ
モリの全破壊があったときには(被チェックデータD、
と参照データDIが同じになった状態では)、該全破壊
によって形成された参照データD1に基づいて上記逆算
を行うので、その結果は被チェックデータD0と不一致
となり、エラーが発生したことになる。
Since the reference data has a specific relationship with the data to be checked, in order to calculate the data to be checked from the reference data, it is necessary to calculate backwards from the specific relationship. Therefore, when the memory is completely destroyed (data to be checked D,
and the reference data DI are the same), the above inverse calculation is performed based on the reference data D1 formed by the total destruction, so the result is inconsistent with the data to be checked D0, and an error has occurred. .

被チェックデータDo(あるいは参照データD0)のア
ドレスにエラーが生じて、前記従来例のように参照デー
タDIとして被チェックデータD0と同じデータを読み
出した場合であっても参照データD+に対して、上記特
定の関係の逆算がなされるので不一致となり、メモリエ
ラーが検出されたことになる。
Even if an error occurs in the address of the checked data Do (or reference data D0) and the same data as the checked data D0 is read out as the reference data DI as in the conventional example, the reference data D+ Since the above-mentioned specific relationship is inversely calculated, a mismatch occurs, which means that a memory error has been detected.

〔実施例) 第2図はこの発明の一実施例構成図を示すものである。〔Example) FIG. 2 shows a configuration diagram of an embodiment of the present invention.

メモリ1のアドレスA。”0OOOH”には、例えば端
末機の認識番号“0IOIH”が被チェックデータD0
として記憶されている。−方、同じメモリ1のアドレス
A+  “5A5AH″には上記被チェックデータD0
 “0IOIH”を反転して−1を加えた値1FBFD
H″が参照データD、として書き込まれている。ここで
、ホストコンピュータが認識番号“0IOLH”を有す
る端末機と通信するために上記アドレスA0 “000
0H”のアクセスを行ったとき、該アドレスA0の被チ
ェックデータD0 “0LOLH”とアドレスAI  
”5A5AH″の参照データD1 “FEFDH”より
定数(−1)を減じた値“FEFEH”の補数をとった
値“0LOLH”と比較する。この場合はメモリエラー
がない場合を想定しているので、双方一致することにな
る。
Address A of memory 1. For example, in “0OOOH”, the terminal device identification number “0IOIH” is the data to be checked D0.
is remembered as. - On the other hand, the address A+ “5A5AH” of the same memory 1 has the above checked data D0.
1FBFD, which is the value obtained by inverting “0IOIH” and adding -1
H" is written as reference data D. Here, in order for the host computer to communicate with the terminal having the identification number "0IOLH", the above address A0 "000" is written.
0H”, the data to be checked D0 at the address A0 “0LOLH” and the address AI
Reference data D1 of "5A5AH" is compared with "0LOLH", which is the complement of "FEFEH", which is a value obtained by subtracting a constant (-1) from "FEFDH". In this case, it is assumed that there is no memory error, so both will match.

一方、例えばメモリの全破壊が生じて被チェックデータ
D0及び参照データD1の双方とも“0000H”とな
った場合、参照データD、より定数(−1)を滅じた値
は“0OOIH”となり、これらの補数は“FFFEH
″となるので、双方不一致となりメモリエラーが発生し
たことになる。
On the other hand, for example, if the memory is completely destroyed and both the checked data D0 and the reference data D1 become "0000H", the value obtained by removing the constant (-1) from the reference data D becomes "0OOIH", Their complements are “FFFEH
'', so there is a mismatch between the two and a memory error has occurred.

更に、例えば参照データDI側のアドレス破壊が生じて
、参照データD1としてアドレスA、  “5A5AH
”からの読み出しを行わず、被チェックデータのアドレ
スA0 “0OOOH”から被チェックデータ“0LO
LH”を読み出したときも定数(−1)を減じた値は、
“0102H”となり、これの補数は“FEFDH”と
なり、被チェックデータ″0IOLH”と一致しないの
でエラーとされる。
Furthermore, for example, address destruction on the reference data DI side occurs, and address A, “5A5AH
”, and the data to be checked is “0LO” from the address A0 “0OOOH” of the data to be checked.
When reading “LH”, the value after subtracting the constant (-1) is
The result is "0102H", and its complement is "FEFDH", which does not match the data to be checked "0IOLH", so it is determined as an error.

上記説明において、被チェックデータと参照データの特
定の関係が被チェックデータの補数に定数を加える関係
である場合についてのみ説明したが、他の関係を用いる
ことももちろん可能である。
In the above description, only the case where the specific relationship between the data to be checked and the reference data is a relationship in which a constant is added to the complement of the data to be checked has been described, but it is of course possible to use other relationships.

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

以上説明したようにこの発明は、被チェックデータと参
照データに特定の関連を持たせているので、参照データ
から被チェックデータを求めるときは、上記特定の関連
に基づいて逆算する必要があり、メモリの全破壊、アド
レスの全破壊等のメモリエラーが検出できる。更に、こ
の方法はメモリエラーが確実・に防止できるので、LA
N等の通信ネットワークの認識番号を記憶するメモリに
対して通用すると有効である。
As explained above, in this invention, the data to be checked and the reference data have a specific relationship, so when finding the data to be checked from the reference data, it is necessary to perform a backward calculation based on the specific relationship. Memory errors such as complete memory destruction and address destruction can be detected. Furthermore, since this method can reliably prevent memory errors, LA
It is effective if it is applicable to a memory that stores the identification number of a communication network such as N.

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

第1図はこの発明の原理図、第2図はこの発明の実施例
を示すものである。 図中、1・・・メモリ、Do・・・被チェックデータ、
Dl・・・参照データ、A o 、 A +・・・アド
レス。 原理説明図 第 図 一実施例構成図 第 図
FIG. 1 shows the principle of the invention, and FIG. 2 shows an embodiment of the invention. In the figure, 1...memory, Do...data to be checked,
Dl...Reference data, Ao, A+...Address. Principle explanatory diagram (Fig. 1) Example configuration diagram (Fig. 1)

Claims (1)

【特許請求の範囲】 〔1〕メモリ(1)の特定アドレス(A_0)に記憶さ
れている被チェックデータ(D_0)に対して、特定の
関連を持たせた参照データ(D_1)をメモリ(1)の
別のアドレス(A_1)に記憶させておき、被チェック
データ(D_0)にチェックをかけるに際して、該被チ
ェックデータ(D_0)と上記参照データ(D_1)を
特定の関連に基づいて逆算したデータとを比較すること
を特徴とするメモリエラー検出方法。 〔2〕上記被チェックデータ(D_0)と参照データ(
D_1)の特定の関係が被チェックデータ(D_0)の
補数に定数を加える関係である特許請求の範囲第1項記
載のメモリエラー検出方法。
[Scope of Claims] [1] Reference data (D_1) having a specific relationship with the data to be checked (D_0) stored at a specific address (A_0) of memory (1) is stored in memory (1). ), and when checking the checked data (D_0), data is obtained by back calculating the checked data (D_0) and the reference data (D_1) based on a specific relationship. A memory error detection method characterized by comparing. [2] The above checked data (D_0) and reference data (
2. The memory error detection method according to claim 1, wherein the specific relationship of D_1) is a relationship of adding a constant to the complement of the data to be checked (D_0).
JP2274400A 1990-10-11 1990-10-11 Memory error detecting method Pending JPH04148355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2274400A JPH04148355A (en) 1990-10-11 1990-10-11 Memory error detecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2274400A JPH04148355A (en) 1990-10-11 1990-10-11 Memory error detecting method

Publications (1)

Publication Number Publication Date
JPH04148355A true JPH04148355A (en) 1992-05-21

Family

ID=17541141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2274400A Pending JPH04148355A (en) 1990-10-11 1990-10-11 Memory error detecting method

Country Status (1)

Country Link
JP (1) JPH04148355A (en)

Similar Documents

Publication Publication Date Title
JPS61141056A (en) Intermittent error detection for volatile memory
JPS63221445A (en) Memory system, related erroneous detection and corrector
JPH0820978B2 (en) Failure analysis information edit output method
EP0709782A2 (en) Error detection system for mirrored memory between dual disk storage controllers
JPH04148355A (en) Memory error detecting method
AU576853B2 (en) Arrangement for supervising a data processing system
JPH06175901A (en) Processor for managing file
JP2943926B2 (en) Error recovery control device
JP2984126B2 (en) Memory card contact failure detection device
JPH1124953A (en) Method and device for testing microcomputer
JP3190694B2 (en) Diagnostic method for local memory
JPH04362757A (en) Bus fault detection system
JPH052254U (en) Microprocessor device
JPH04195235A (en) Read-only memory circuit
JPH0348346A (en) Memory checking device
JPS5868299A (en) Detecting circuit for address fault
JPS62202237A (en) Interruption control system
JPS59124097A (en) Memory checking method
JPS62224833A (en) Suitability inspecting system of data form
JPH0296855A (en) Trouble detecting system for memory control circuit
JP2000040036A (en) Memory checking circuit
JPS63311457A (en) Data reading circuit for memory
JPH04109302A (en) Arithmetic processing system
JPH06348672A (en) Monitoring method for shared memory
JPS5816556B2 (en) Error detection method