JPH01274247A - Preserved data monitoring system - Google Patents

Preserved data monitoring system

Info

Publication number
JPH01274247A
JPH01274247A JP63103608A JP10360888A JPH01274247A JP H01274247 A JPH01274247 A JP H01274247A JP 63103608 A JP63103608 A JP 63103608A JP 10360888 A JP10360888 A JP 10360888A JP H01274247 A JPH01274247 A JP H01274247A
Authority
JP
Japan
Prior art keywords
data
data string
saved
string
updated
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
JP63103608A
Other languages
Japanese (ja)
Inventor
Noriyuki Yogoshi
余越 紀之
Toshio Ikeda
池田 敏男
Noriyuki Suzuki
紀之 鈴木
Kazuyuki Miura
和行 三浦
Hirotomo Miyawaki
宮脇 浩智
Shigeatsu Sagawa
寒川 重厚
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 JP63103608A priority Critical patent/JPH01274247A/en
Publication of JPH01274247A publication Critical patent/JPH01274247A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To recognize the interruption of the update work of a data string by updating the data string starting from a first data string sequentially by changing monitoring data that is the adding value of a preserved data string when the preserved data string is updated. CONSTITUTION:The monitoring data that is the adding value of the preserved data string is updated at step 1, and the preserved data string is updated sequentially starting from first data at step 2. The adding value of an updated data string is calculated after updating is completed at step 3, and a calculated adding value is preserved as the adding value of the data string, that is, the monitoring data at step 4. Even when a CPU is reset due to abnormality generated in the CPU, etc., at a stage that is not the order to update the data to the one with a different value and a state is set at the state to start from an initial state resulting no updating, data abnormality is generated by finding the adding value of the preserved data string since no coincidence between the data and the monitoring data with a changed adding value is obtained.

Description

【発明の詳細な説明】 〔概 要〕 データ列の加算値をデータ列に付加して計算機のメモリ
に記憶保存しておき、保存してあるデータ列の加算値と
保存してあるデータ列の加算値とを比較し、等しければ
保存してあるデータ列は正しいとし、且つ保存してある
データ列を更新する場合は、データ列の最初のデータか
ら順次更新する保存データ監視方式に関し、 保存してあるデータ列の一部を異なる値のデータに更新
する場合、データを異なる値のデータに更新する順番に
きていない段階で、CPUが異常になった等の原因で、
CPUをリセットし、初期状態からスタートする状態に
なっても、更新作業が中断されたことが判る保存データ
監視方式の提供を目的とし、 保存してあるデータ列を更新する時は、保存してあるデ
ータ列の加算値を変更して、保存してあるデータ列の最
初のデータから順次更新し、更新し終われば更新したデ
ータ列の加算値を算出し、該算出した加算値をデータ列
の加算値として保存するように構成する。
[Detailed Description of the Invention] [Summary] The added value of the data string is added to the data string and stored in the memory of the computer, and the added value of the saved data string and the saved data string are combined. The stored data string is compared with the added value, and if they are equal, the stored data string is considered correct, and when updating the stored data string, the stored data monitoring method updates sequentially from the first data in the data string. When updating a part of a data string with a different value, it may happen that the CPU becomes abnormal or something like that before it is the turn to update the data with a different value.
The purpose is to provide a saved data monitoring method that allows you to know that update work has been interrupted even if the CPU is reset and starts from the initial state. Change the added value of a certain data string, update the saved data string sequentially from the first data, and when the update is completed, calculate the added value of the updated data string, and apply the calculated added value to the data string. Configure to save as additive value.

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

本発明は、データ列の加算値をデータ列に付加して計算
機のメモリに記ttl保存しておき、保存してあるデー
タ列の加算値と保存してあるデータ列の加算値とを比較
し、等しければ保存してあるデータ列は正しいとし、且
つ保存してあるデータ列を更新する場合は、データ列の
最初のデータから順次更新する保存データ監視方式の改
良に関する。
The present invention adds an added value of a data string to a data string, stores it in the memory of a computer, and compares the added value of the saved data string with the saved added value of the data string. , the stored data string is considered correct if they are equal, and the stored data string is updated sequentially starting from the first data in the data string when updating the stored data string.

〔従来の技術〕[Conventional technology]

以下従来例を図を用いて説明する。 A conventional example will be explained below using figures.

第3図は従来例の保存データ監視方式のプログラムのフ
ローチャート、第4図は従来例のデータ列更新の状態説
明図である。
FIG. 3 is a flowchart of a program of a conventional saved data monitoring method, and FIG. 4 is a diagram explaining the state of updating a data string in a conventional example.

第3図(C)に示す計算機のRAMIIに記憶されたデ
ータ列を保存するのには、このデータ列をファイル13
に転送保存しておき、この保存データ列が正しいかをチ
エツクするのには、ROM12に、第3図(Δ)(B)
に示すプログラムを記憶しておき、CPUl0がこのプ
ログラムを読み出し以下に説明するようにしていた。
To save the data string stored in the RAM II of the computer shown in FIG.
To check whether this saved data string is correct, transfer and save it to the ROM 12 as shown in Figure 3 (Δ) (B).
The program shown in FIG.

第3図(A)のプログラムのステップ1にてRAMII
に記憶されたデータ列をファイル13に転送保存し、ス
テップ2にて、保存データ列を加算し加算値である監視
データを作成し、ステップ3にて監視データを保存した
データ列に付加してファイル13に保存する。
In step 1 of the program in Figure 3 (A), RAMII
The data string stored in is transferred and saved in the file 13, and in step 2, the saved data string is added to create monitoring data which is an added value, and in step 3, the monitoring data is added to the saved data string. Save to file 13.

この保存してあるデータ列が正しいかをチエツクするの
には、(B)の監視プログラムのステップ1にて、保存
データ列を加算して加算値を求め、ステ・ノブ2にて該
加算値と保存してある監視データとを比較し一部すれば
、正常だとし、不一致ならばステップ3にて保存データ
列を異常としている。
To check whether this stored data string is correct, add the stored data strings in step 1 of the monitoring program in (B) to obtain the added value, and use Stereo Knob 2 to check the added value. If a portion of the data is compared with the stored monitoring data, it is determined to be normal, and if they do not match, the stored data string is determined to be abnormal in step 3.

この保存してあるデータ列を更新するのには、以下に説
明する如くしている。
The stored data string is updated as described below.

例えば、第4図(A)に示す如<DI〜DN迄は有効デ
ータで、以下はOであり、加算値の監視データはSであ
る保存データ列の、N+1番目のデータの0を異なった
値のデータD(N+1)に更新しようとすると、更新プ
ログラムにより、1番目のデータD1より順次、値が同
じならば同じ値のデータに、値が異なれば異なる値のデ
ータに更新して第4図の(B)に示す如くし、第3図(
A)のプログラムのステップ2の如く、更新したデータ
列の加算値S゛を求め、第4図(B)に示す如く、これ
を監視データとしている。
For example, as shown in Fig. 4 (A), < DI to DN are valid data, the following are O, and the monitoring data of the added value is S. If the 0 of the N+1st data of the saved data string is different. When you try to update the value data D(N+1), the update program updates the first data D1 sequentially, if the values are the same, it is updated to the same value data, and if the values are different, it is updated to the different value data, and then the fourth data D1 is updated. As shown in Figure (B), Figure 3 (
As in step 2 of the program in A), the added value S' of the updated data string is determined, and this is used as monitoring data as shown in FIG. 4(B).

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

しかしながら、異なった値のデータに更新する前、第4
図(C)に示すDMの所で、第3図(C)のCPU10
が異常になった等の原因で、CPUl0をリセットし、
初期状態からスタートする状態になると、更新作業は行
わなくなる。
However, before updating to data with a different value, the fourth
At the DM shown in Figure (C), the CPU 10 in Figure 3 (C)
If something goes wrong, reset CPU10,
When the state starts from the initial state, no update work is performed.

ここで、保存データ列を、第3図(B)の監視プログラ
ムにてチエツクしても、データ列及び監視データSは変
化していないので、保存してあるデータ列は正しいと判
断され、データが更新されない侭処理が中断されたこと
が検出出来ない問題点がある。
Here, even if the saved data string is checked using the monitoring program shown in FIG. There is a problem that it is not possible to detect that the process is interrupted while the process is not updated.

本発明は、保存してあるデータ列の一部を異なる値のデ
ータに更新する場合、データを異なる値のデータに更新
する順番にきていない段階で、CPUが異常になった等
の原因で、CPUをリセットし、初期状態からスタート
する状態になっても、更新作業が中断されたことが判る
保存データ監視方式の提供を目的としている。
In the present invention, when updating a part of a stored data string to data with a different value, if the data is not updated to the data with a different value, the CPU may become abnormal, etc. The purpose of the present invention is to provide a saved data monitoring method that can detect that an update operation has been interrupted even if the CPU is reset and starts from an initial state.

データ列の加算値をデータ列に付加して保存しておき、
保存してあるデータ列の加算値と保存してあるデータ列
の加算値とを比較し、等しければ保存してあるデータ列
は正しいとし、且つ保存してあるデータ列を更新する場
合は、データ列の最初のデータから順次更新する保存デ
ータ監視方式において、 保存してあるデータ列を更新する時は、第1図に示す如
く行うようにする。
Add the added value of the data string to the data string and save it.
Compare the added value of the saved data string with the added value of the saved data string, and if they are equal, the saved data string is correct, and when updating the saved data string, the data In the saved data monitoring method, which updates data sequentially starting from the first data in a column, when updating a saved data column, do so as shown in Figure 1.

即ち、ステップ1にて保存してあるデータ列の加算値で
ある監視データを変更して、ステップ2にて保存してあ
るデータ列の最初のデータから順次更新し、ステップ3
にて更新が終われば更新したデータ列の加算値を算出し
、ステップ4にて該算出した加算値をデータ列の加算値
即ち監視データとして保存するようにする。
That is, the monitoring data, which is the sum of the data strings saved in step 1, is changed, the data strings saved in step 2 are updated sequentially starting from the first data, and step 3
When the update is completed in step 4, the added value of the updated data string is calculated, and in step 4, the calculated added value is saved as the added value of the data string, that is, as monitoring data.

〔作 用〕[For production]

本発明によれば、保存してあるデータ列を更新する場合
は、第1図の、ステップ1にて保存してあるデータ列の
加算値である監視データを変更して、ステップ2にて保
存してあるデータ列の最初のデータから順次更新するよ
うにしているので、保存してあるデータ列の一部を異な
る値のデータに更新する場合、データを異なる値のデー
タに更新する順番にきていない段階で、CPUが異常に
なった等の原因で、CPUをリセソl−L、初期状態か
らスタートする状態になり更新がされなくなっても、こ
こで、保存してあるデータ列の加算値を求めると、変更
した加算値の監視データとは一部しないので、データ異
常となり、更新が中断されたことが判る。
According to the present invention, when updating a stored data string, the monitoring data, which is the sum of the data strings saved in step 1 in FIG. 1, is changed and saved in step 2. Since data is updated sequentially starting from the first data in a saved data column, when updating part of a saved data column to data with a different value, the order in which the data is updated to data with a different value is Even if the CPU is reset and starts from the initial state due to a problem such as an abnormality in the CPU before it is updated, the added value of the saved data string can be updated. When , it is found that the data is not part of the monitored data of the changed addition value, so it is found that the data is abnormal and the update has been interrupted.

尚、全部でなく一部が異なる値のデータに更新された段
階で、上記の更新がされない状態になった場合も、保存
してあるデータ列の加算値を求めると、従来の場合と同
様に、変更した加算値の監視データとは一部しないので
、データ異常となり、更新が中断されたことが判る。
In addition, even if some of the data has been updated to a different value, and the above update is not performed, when calculating the added value of the saved data string, it will be the same as in the previous case. , it is not part of the monitoring data of the changed additional value, so it is clear that the data is abnormal and the update has been interrupted.

尚又、更新が順調に最後迄行われれば、第1図のステッ
プ3にて更新したデータ列の加算値を算出し、ステップ
4にて、該算出した加算値を、データ列の加算値の監視
データとして保存するようにするので、保存してあるデ
ータ列を従来と同じ方法でチエツクすると、更新が中断
されていないので、保存してあるデータ列が正しければ
正常と判断される。
Furthermore, if the update is carried out smoothly to the end, the added value of the updated data string is calculated in step 3 of FIG. 1, and the calculated added value is added to the added value of the data string in step 4. Since it is saved as monitoring data, if you check the saved data string in the same way as before, it will be determined that the saved data string is normal if it is correct because the update has not been interrupted.

〔実施例〕〔Example〕

以下本発明の1実施例に付き図に従って説明する。 An embodiment of the present invention will be described below with reference to the accompanying drawings.

第2図は本発明の実施例の保存データ監視方式のプログ
ラムのフローチャートである。
FIG. 2 is a flowchart of a program for the saved data monitoring method according to the embodiment of the present invention.

合筆2図(C)に示す如き、保存してあるデータ列がD
1〜D256で監視データがSの場合、データDI00
〜D256を(D)に示す如く異なる値のD’lOO〜
D’256に更新する場合を例にとり以下説明する。
As shown in Figure 2 (C), the saved data string is D.
If the monitoring data is S in 1 to D256, data DI00
~ D256 has different values of D'lOO as shown in (D) ~
The case of updating to D'256 will be explained below as an example.

保存してあるデータ列を更新する場合は、(A)に示す
プログラムにて行つ。
When updating the stored data string, use the program shown in (A).

即ち、ステップ1にて監視データSを変更する為に、S
−1=S″を求め、ステップ2にて監視データ領域にS
″を保存し、ステップ3にて1番目のデータDiより順
次D99迄は同じ値のデータD1〜D99に更新し、D
I00〜D256迄は異なる値のデータD′ 100〜
D” 256に更新し、ステップ4にて新しいデータ列
を加算した加算値S゛を求める。
That is, in order to change the monitoring data S in step 1, S
-1=S'', and in step 2 save S to the monitoring data area.
'', and in step 3, sequentially update data D1 to D99 from the first data Di to D99 with the same value, and
Data from I00 to D256 have different values D' from 100 to
D'' is updated to 256, and in step 4, an additional value S' is obtained by adding the new data string.

そして、ステップ5にてS゛を新しい監視データとして
監視データ領域に保存する。
Then, in step 5, S' is saved as new monitoring data in the monitoring data area.

この場合、例えばデータD99を同じ値のデータD99
に更新した段階即ち、異なる値のデータに更新する順番
にきていない段階で、CPUが異常になった等の原因で
、CPUをリセットシ、初期状態からスタートする状態
になり更新がされなくなったとする。
In this case, for example, data D99 is replaced with data D99 of the same value.
Suppose that at the stage where the data has been updated, that is, when it is not the turn to update the data to a different value, the CPU becomes abnormal, etc., and the CPU is reset and starts from the initial state, and the update is no longer performed. .

ここで(B)に示す、従来と同し監視プログラムの、ス
テップ1にて保存してあるデータ列を加算して加算値S
”°を求め、ステ・ノブ2にて加算値S”と監視データ
とを比較する。
Here, the data strings saved in step 1 of the conventional monitoring program shown in (B) are added together to obtain an additional value S.
Determine "°, and compare the added value S" with the monitoring data using the steering knob 2.

すると、全部更新し終わっていれば、加算値S”は監視
データS゛ と一致するので正常と判断されるも、異な
る値のデータに更新されない前に更新が中断され更新さ
れなくなった場合は、加算値S”″はSとなり、S−1
=S”の値と比較すると、一致しないので、ステップ3
にて保存してあるデータ列は異常と判断され、保存して
あるデータ列が更新されず更新が中断されたことが判る
Then, if all the updates have been completed, the added value S'' will match the monitoring data S' and will be judged as normal, but if the update is interrupted and no longer updated before the data is updated to a different value, then The added value S"" becomes S, and S-1
If you compare it with the value of “=S”, there is no match, so step 3
The stored data string is determined to be abnormal, indicating that the stored data string was not updated and the update was interrupted.

尚、全部でなく一部が異なる値のデータに更新された段
階で、上記の更新がされない状態になった場合も、保存
してあるデータ列の加算値を求めると、従来の場合と同
様に、変更した加ゴγ値の監視データとは一致しないの
で、データ異常となり、更新が中断されたこkが判る。
In addition, even if some of the data has been updated to a different value, and the above update is not performed, when calculating the added value of the saved data string, it will be the same as in the previous case. , it does not match the monitoring data of the changed additive γ value, so it can be seen that the data is abnormal and the update is interrupted.

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

以上詳細に説明せる如く本発明によれば、保存データの
一部を異なる値のデータに更新する場合、異なる値のデ
ータに更新する順番にきていない段階で、CP Uが異
常になった等の原因で、CI’Uをリセフトし、初期状
態からスタートする状態になり更新がされなくなっても
、更新が中断されたことが判る効果がある。
As explained in detail above, according to the present invention, when updating a part of saved data to data with a different value, the CPU becomes abnormal, etc. when it is not the turn to update the data with a different value. Even if the CI'U is reset and the update is no longer performed because of the initial state, it is possible to know that the update has been interrupted.

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

第1図は本発明の原理フローチャート、第2図は本発明
の実施例の保存データ監視方式のプログラムのフローチ
ャート、 第3図は従来例の保存データ監視方式のプログラムのフ
ローチャー1−1 第4図は従来例のデータ列更新の状態説明図である。 図において、 10はプロセッサ、 11はRAM、 12はROM、 13はファイルを示す。
Fig. 1 is a flowchart of the principle of the present invention, Fig. 2 is a flowchart of a program of a saved data monitoring method according to an embodiment of the present invention, and Fig. 3 is a flowchart of a program of a saved data monitoring method of a conventional example. The figure is an explanatory diagram of the state of updating a data string in a conventional example. In the figure, 10 is a processor, 11 is a RAM, 12 is a ROM, and 13 is a file.

Claims (1)

【特許請求の範囲】 データ列の加算値をデータ列に付加して保存しておき、
保存してあるデータ列の加算値と保存してあるデータ列
の加算値とを比較し、等しければ保存してあるデータ列
は正しいとし、且つ保存してあるデータ列を更新する場
合は、データ列の最初のデータから順次更新する保存デ
ータ監視方式において、 保存してあるデータ列を更新する時は、保存してあるデ
ータ列の加算値を変更して(1)、保存してあるデータ
列の最初のデータから順次更新し(2)、更新し終われ
ば更新したデータ列の加算値を算出し(3)、該算出し
た加算値をデータ列の加算値として保存する(4)よう
にしたことを特徴とする保存データ監視方式。
[Claims] A summation value of a data string is added to the data string and saved,
Compare the added value of the saved data string with the added value of the saved data string, and if they are equal, the saved data string is correct, and when updating the saved data string, the data In the saved data monitoring method that sequentially updates data from the first data in a column, when updating a saved data column, change the added value of the saved data column (1) and update the saved data column. The data is updated sequentially from the first data (2), and when the update is completed, the added value of the updated data string is calculated (3), and the calculated added value is saved as the added value of the data string (4). A stored data monitoring method characterized by:
JP63103608A 1988-04-26 1988-04-26 Preserved data monitoring system Pending JPH01274247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63103608A JPH01274247A (en) 1988-04-26 1988-04-26 Preserved data monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63103608A JPH01274247A (en) 1988-04-26 1988-04-26 Preserved data monitoring system

Publications (1)

Publication Number Publication Date
JPH01274247A true JPH01274247A (en) 1989-11-02

Family

ID=14358489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63103608A Pending JPH01274247A (en) 1988-04-26 1988-04-26 Preserved data monitoring system

Country Status (1)

Country Link
JP (1) JPH01274247A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5769598A (en) * 1980-10-17 1982-04-28 Fujitsu Ltd Contents updating system of file storage device
JPS58199497A (en) * 1982-05-17 1983-11-19 Ricoh Co Ltd Memory checking system
JPS5962957A (en) * 1982-08-25 1984-04-10 Fujitsu Ltd Data updating system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5769598A (en) * 1980-10-17 1982-04-28 Fujitsu Ltd Contents updating system of file storage device
JPS58199497A (en) * 1982-05-17 1983-11-19 Ricoh Co Ltd Memory checking system
JPS5962957A (en) * 1982-08-25 1984-04-10 Fujitsu Ltd Data updating system

Similar Documents

Publication Publication Date Title
US8271416B2 (en) Method for dynamically determining a predetermined previous condition of a rule-based system
US20030004978A1 (en) Method of automatically correcting broken links to files stored on a computer
JP2019144671A (en) Vehicle electronic control unit, program update method and program
JPH0565892B2 (en)
JPH01274247A (en) Preserved data monitoring system
JP2019169136A (en) Method and device for calculating data in safety critical system
JP2725490B2 (en) Software Bug Cause Inference Expert System
JPH1040177A (en) Program check system
JP2817773B2 (en) Method for detecting program loops across transactions
JPH05165545A (en) System time managing device
JPH06290033A (en) Method for managing updating of software
JPH01251142A (en) Program trace system
JPH035886A (en) Relational data base computing system
JP3304363B2 (en) Job separator output method
JPH0381836A (en) Method for detecting abnormality of program
CN111767070A (en) API document management method and device, computer equipment and storage medium
JPS62266637A (en) Error detection method for fixed memory device
JPH09146807A (en) File editing system
JPS63106860A (en) Common information comparing system
JPH02226350A (en) Data control method for computer system
JP2003058373A (en) Software tool for supporting program creation
JP2002157121A (en) Automatic installation method of difference module and automatic installation system of difference module
JPH038026A (en) Check-out system for difference of function between systems
JPH02287621A (en) System processing system
JPH04130923A (en) Electronic computer system generation system