JPH08235075A - Arithmetic processor - Google Patents

Arithmetic processor

Info

Publication number
JPH08235075A
JPH08235075A JP7063368A JP6336895A JPH08235075A JP H08235075 A JPH08235075 A JP H08235075A JP 7063368 A JP7063368 A JP 7063368A JP 6336895 A JP6336895 A JP 6336895A JP H08235075 A JPH08235075 A JP H08235075A
Authority
JP
Japan
Prior art keywords
storage means
data
abnormality
contents
arithmetic processing
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
JP7063368A
Other languages
Japanese (ja)
Inventor
Yasuhiko Okada
靖彦 岡田
Takashi Tomita
隆 冨田
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.)
Toyo Electric Manufacturing Ltd
Original Assignee
Toyo Electric Manufacturing 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 Toyo Electric Manufacturing Ltd filed Critical Toyo Electric Manufacturing Ltd
Priority to JP7063368A priority Critical patent/JPH08235075A/en
Publication of JPH08235075A publication Critical patent/JPH08235075A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE: To prevent arithmetic processing from being futilely stopped and to restore a storage device by copying the contents of the storage means on the side decided as a normality to the storage means on the side decided as an abnormality when the abnormality occurs. CONSTITUTION: An arithmetic means 1 executes an arithmetic processing in accordance with the program 4 stored in a program means 2, referring to the data stored in a storage means 3a or 3b as necessary. The storage means 3a and 3b store data and the values of the results that the contents is decided and calculated are stored as check data in the parts of the storage means 3a and 3b. A decision means 4 performs a decision calculation for the contents of the data stored in the storage means 3a and 3b as occasion demands while the arithmetic means 1 executes the arithmetic processing and decides whether abnormalities occur in the data of the storage means 3a and 3b or not by the value of the result and the value of the check data. A copying means 5 copies the contents of the storage means on the side which is not decided as an abnormality to the storage means on the side decided as an abnormality and the restorations of the storage means 3a and 3b are performed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、演算処理を実行する演
算手段、演算処理のプログラムを格納するプログラム手
段、演算処理に必要な定数を含むデータなどを記憶する
記憶手段、記憶手段の異常を判定する判定手段、および
複写手段から構成され、特に記憶手段の異常に対し復旧
機能を持つ演算処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic means for executing arithmetic processing, a program means for storing a program for arithmetic processing, a storage means for storing data including constants necessary for arithmetic processing, and an abnormality of the storage means. The present invention relates to an arithmetic processing unit which is composed of a judging unit for making a judgment and a copying unit, and particularly has a function of recovering from an abnormality in a storage unit.

【0002】[0002]

【従来の技術】図2は従来の演算処理装置で、1は演算
処理を実行する演算手段、2は演算処理のプログラムを
格納するプログラム手段、3は定数を含むデータ(以下
単にデータという)などを記憶する記憶手段である。通
常このような構成の演算処理装置では、記憶手段3のデ
ータが何らかの異常により変化すると場合によっては正
常な演算処理がなされなくなることがある。
2. Description of the Related Art FIG. 2 shows a conventional arithmetic processing apparatus, 1 is arithmetic means for executing arithmetic processing, 2 is program means for storing a program for arithmetic processing, 3 is data including constants (hereinafter simply referred to as data), etc. Is a storage means for storing. Normally, in the arithmetic processing device having such a configuration, if the data in the storage means 3 changes due to some abnormality, normal arithmetic processing may not be performed in some cases.

【0003】この為、あらかじめ前記データに異常が発
生したかどうかを検出するための判定値としてのチェッ
クデータを、記憶手段3のデータを数値データとみなし
全ての値を用いて内容変化の有無を判定する数式を演算
(以下単に判定演算という)して求め、該判定値を記憶
手段3の一部に記憶させておき、演算手段1は演算処理
を実行しながら随時記憶手段3のデータに対して判定演
算を行いその結果と前記判定値より、記憶手段3の異常
発生の有無を判定し、異常がないと判定すれば演算処理
を継続し、また、異常が発生すれば演算処理を停止させ
ていた。
For this reason, the check data as a judgment value for detecting whether an abnormality has occurred in advance in the data is regarded as the numerical data of the storage means 3, and all the values are used to determine whether there is a change in contents. A mathematical expression for determination is obtained by calculation (hereinafter, simply referred to as determination calculation), and the determination value is stored in a part of the storage means 3, and the calculation means 1 executes the calculation processing to the data in the storage means 3 at any time. Then, the presence / absence of an abnormality in the storage means 3 is determined from the result and the determination value. If it is determined that there is no abnormality, the arithmetic processing is continued, and if the abnormality occurs, the arithmetic processing is stopped. Was there.

【0004】なお、記憶手段の内容を数値データとみな
し全ての値を用いて内容変化の有無を判定する数式を演
算する実際的な方法としては一般に下記のようなものが
良く知られている。第1に、記憶手段の内容を数値デー
タとみなし全ての値を足し合わせた結果をチェックデー
タとし記憶手段の一部に記憶させておき、演算手段が随
時記憶手段の内容を数値データとみなし全ての値を足し
合わせた値と先に演算して求めたチェックデータの値と
を比較する方法。
The following is generally well known as a practical method of calculating the mathematical expression for judging the presence or absence of content change by using the contents of the storage means as numerical data and using all the values. First, the contents of the storage means are regarded as numerical data, and the results obtained by adding all the values are stored as a check data in a part of the storage means. A method of comparing the value obtained by adding the values of and the value of the check data obtained by the previous calculation.

【0005】第2に、記憶手段の内容を数値データとみ
なし全ての値を排他的論理和した結果をチェックデータ
とし記憶手段の一部に記憶させておき、演算手段が随時
記憶手段の内容を数値データとみなし全ての値を排他的
論理和した結果の値と先に演算して求めたチェックデー
タの値とを比較する方法。
Secondly, the contents of the storage means are regarded as numerical data, and the result of exclusive OR of all the values is stored as a check data in a part of the storage means, and the calculation means stores the contents of the storage means at any time. A method of comparing the value of the result of exclusive OR of all the values regarded as numerical data with the value of the check data obtained by the previous calculation.

【0006】第3に、記憶手段の内容を数値データとみ
なしM系列などの数式を作って演算した結果をチェック
データとし記憶手段の一部に記憶させておき、演算手段
が随時記憶手段の内容を数値データとみなしM系列など
の数式を作って演算した結果の値と先に演算して求めた
チェックデータの値とを比較する方法などがある。
Thirdly, the contents of the storage means are regarded as numerical data, and the result of calculation by making a mathematical formula such as M series is stored as a check data in a part of the storage means, and the calculation means stores the contents of the storage means at any time. Is regarded as numerical data, and a value obtained as a result of calculation by making a mathematical expression such as an M series and a value of check data obtained by the previous calculation are compared.

【0007】[0007]

【発明が解決しようとする課題】つまり、このような、
演算処理を停止させるという異常処理を行う演算処理装
置では記憶手段の異常の内容を問わず、すぐに演算処理
を停止してしまうものであり、記憶手段の復旧処理を行
い無用な演算処理の停止を防止するという機能を持たな
いものであった。
SUMMARY OF THE INVENTION That is,
An arithmetic processing unit that performs an abnormal process of stopping the arithmetic process immediately stops the arithmetic process regardless of the content of the abnormality of the storage unit. It did not have the function of preventing.

【0008】[0008]

【課題を解決するための手段】本発明は上述した点に鑑
みてなされたものであり、演算手段、プログラム手段、
および記憶手段から構成された演算処理装置において、
定数を含むデータと該データをチェックするためのチェ
ックデータを有する第1の記憶手段、前記第1の記憶手
段と同一内容を有する第2の記憶手段を有しさらに、前
記データの内容に異常が発生したかどうかを判定する判
定手段を設けるとともに、該判定した結果異常が発生し
ていないときは正常とみなし、異常が発生したときは、
正常と判定した側の記憶手段の内容を異常と判定した側
の記憶手段に複写する複写手段を設けたものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and includes an arithmetic means, a program means,
And an arithmetic processing unit composed of storage means,
It has a first storage means having data including a constant and check data for checking the data, a second storage means having the same content as the first storage means, and further, there is an abnormality in the content of the data. A determination means is provided for determining whether or not an abnormality has occurred, and when the abnormality is not determined as a result of the determination, it is regarded as normal, and when an abnormality occurs,
Copying means for copying the contents of the storage means on the side determined to be normal to the storage means on the side determined to be abnormal is provided.

【0009】[0009]

【作用】本発明の作用は、同一内容を持つ第1及び第2
の記憶手段を有しているので、第1或いは第2の一方の
記憶手段の内容に異常が発生したときに他の記憶手段の
内容を異常発生した記憶手段に複写し、演算処理を継続
する記憶手段の復旧機能を持ったものである。
The operation of the present invention has the same contents as the first and the second.
When the contents of one of the first or second storage means are abnormal, the contents of the other storage means are copied to the storage means in which the abnormality has occurred, and the arithmetic processing is continued. It has a recovery function of storage means.

【0010】[0010]

【実施例】図1は本発明の実施例でありこれにより本発
明を詳細に説明する。図中1,2は図2の1,2と同一
機能を有する演算手段、プログラム手段である。また、
図中3a,3bは図2の3と同一機能を有する記憶手段
であり、4は判定手段、5は複写手段である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the present invention, which will explain the present invention in detail. In the figure, reference numerals 1 and 2 denote a computing means and a programming means having the same functions as those of 1 and 2 in FIG. Also,
In the figure, 3a and 3b are storage means having the same function as 3 in FIG. 2, 4 is a judging means, and 5 is a copying means.

【0011】演算手段1はプログラム手段2に格納され
ているプログラムに従い記憶手段3aまたは3bに記憶
されているデータを必要に応じて参照しながら演算処理
を実行する。記憶手段3a,3bはデータを記憶してい
ると共にその内容を判定演算した結果の値がチェックデ
ータとして記憶手段3a,3bの一部に記憶する。
The arithmetic means 1 executes arithmetic processing while referring to the data stored in the storage means 3a or 3b according to the program stored in the program means 2 as necessary. The storage means 3a, 3b store data, and the value of the result of judgment and calculation of the content is stored as a check data in a part of the storage means 3a, 3b.

【0012】判定手段4は、演算手段1が演算処理を実
行している間に、随時記憶手段3a,3bが記憶してい
るデータの内容に対し判定演算し、その結果の値とチェ
ックデータの値とにより記憶手段3a,3bのデータに
異常が発生したかどうかを判定する。
The determination means 4 performs a determination calculation on the contents of the data stored in the storage means 3a, 3b at any time while the calculation means 1 is executing the calculation processing, and the value of the result and the check data are checked. Based on the value, it is determined whether or not an abnormality has occurred in the data in the storage means 3a, 3b.

【0013】複写手段5は、この判定の結果、記憶手段
3a,3b双方ともに異常でないと判定されれば演算処
理を継続し、どちらか一方の記憶手段が異常であれば、
異常と判定しなかった側の記憶手段の内容を異常と判定
した側の記憶手段に複写し、記憶手段の復旧をはかるも
のである。このようにすることにより、演算処理の停止
にいたらしめないようにする演算処理装置を構成するこ
とができる。なお、判定手段4、複写手段5はハードウ
ェアで実現可能でもあるし、また、ソフトウェアでも実
現可能である。
As a result of this judgment, the copying means 5 continues the arithmetic processing if it is judged that neither the storage means 3a nor 3b is abnormal, and if either one of the storage means is abnormal,
The contents of the storage means on the side not determined to be abnormal are copied to the storage means on the side determined to be abnormal to restore the storage means. By doing so, it is possible to configure an arithmetic processing unit that prevents the arithmetic processing from being stopped. The determining unit 4 and the copying unit 5 can be realized by hardware or software.

【0014】[0014]

【発明の効果】このように本発明によれば、記憶手段の
内容の異常時に、正常な側の記憶手段の内容を異常な側
の記憶手段に複写して、記憶手段の復旧処理を行い演算
処理を継続させるもので、無用な演算停止を防止し、記
憶装置の復旧機能を有する演算処理装置を構成すること
ができる。
As described above, according to the present invention, when the content of the storage means is abnormal, the content of the storage means on the normal side is copied to the storage means on the abnormal side, and the recovery processing of the storage means is performed. Since the processing is continued, it is possible to prevent an unnecessary calculation stop and configure an arithmetic processing unit having a storage device recovery function.

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

【図1】本発明の一実施例を示す演算処理装置の構成図
である。
FIG. 1 is a configuration diagram of an arithmetic processing unit showing an embodiment of the present invention.

【図2】従来の演算処理装置の構成図である。FIG. 2 is a configuration diagram of a conventional arithmetic processing device.

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

1 演算手段 2 プログラム手段。 3 記憶手段 3a 記憶手段 3b 記憶手段 4 判定手段 5 複写手段 1 computing means 2 programming means. 3 Storage Means 3a Storage Means 3b Storage Means 4 Judging Means 5 Copying Means

Claims (1)

【特許請求の範囲】[Claims] 演算手段、プログラム手段、および記憶手段から構成さ
れた演算処理装置において、定数を含むデータと該デー
タをチェックするためのチェックデータを有する第1の
記憶手段と、前記第1の記憶手段と同一内容を有する第
2の記憶手段と、前記定数を含むデータの内容に異常が
発生したかどうかを判定する判定手段を設けるととも
に、該判定した結果異常が発生していないときは正常と
みなし、異常が発生したときは、正常と判定した側の記
憶手段の内容を異常と判定した側の記憶手段に複写する
複写手段を設けたことを特徴とする演算処理装置。
In an arithmetic processing device comprising an arithmetic means, a program means, and a storage means, a first storage means having data including a constant and check data for checking the data, and the same contents as the first storage means. And a determination means for determining whether or not an abnormality has occurred in the contents of the data including the constant, and when the determination result indicates that no abnormality has occurred, it is regarded as normal and an abnormality is detected. An arithmetic processing unit comprising a copying means for copying the contents of the storage means on the side determined to be normal to the storage means on the side determined to be abnormal when they occur.
JP7063368A 1995-02-27 1995-02-27 Arithmetic processor Pending JPH08235075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7063368A JPH08235075A (en) 1995-02-27 1995-02-27 Arithmetic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7063368A JPH08235075A (en) 1995-02-27 1995-02-27 Arithmetic processor

Publications (1)

Publication Number Publication Date
JPH08235075A true JPH08235075A (en) 1996-09-13

Family

ID=13227276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7063368A Pending JPH08235075A (en) 1995-02-27 1995-02-27 Arithmetic processor

Country Status (1)

Country Link
JP (1) JPH08235075A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012522309A (en) * 2009-03-31 2012-09-20 ゼネラル・エレクトリック・カンパニイ System and method for obtaining data viability

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012522309A (en) * 2009-03-31 2012-09-20 ゼネラル・エレクトリック・カンパニイ System and method for obtaining data viability

Similar Documents

Publication Publication Date Title
JPS6280733A (en) Information processor
JPH08235075A (en) Arithmetic processor
JPH04332055A (en) Method for detecting program runaway
JPH03192431A (en) Interruption processing system
JP2870202B2 (en) Method and apparatus for mutual monitoring between processors
JPS6111853A (en) Information processor
JPH06274468A (en) Abnormality detecting method for computer
JP2604881B2 (en) Control devices for industrial machines
JPH05189255A (en) Program runaway detection method
JPH064336A (en) Information processor
JPH04175838A (en) Dumping system at the time of autorebooting
JP2506199B2 (en) Electronics
JPH064356A (en) Abnormal operation detecting system for software
JPH02159643A (en) Cpu monitoring circuit
JP2541216B2 (en) Method of detecting abnormal operation in signal processor
JPS5860499A (en) Memory device
JPH0644145A (en) Memory error saving system
JPH03252735A (en) Detecting method for runaway of program
JPS63228232A (en) Abnormality of program detection system
JPH01134632A (en) Detecting circuit for abnormality in computer
JPH11338542A (en) Motor drive device
JPH02285427A (en) Information processor
JP2004021527A (en) Method for detecting erroneous data of nonvolatile memory
JP2001166952A (en) Information processor
JPH0477826A (en) Microprocessor