JPH0159605B2 - - Google Patents

Info

Publication number
JPH0159605B2
JPH0159605B2 JP56023290A JP2329081A JPH0159605B2 JP H0159605 B2 JPH0159605 B2 JP H0159605B2 JP 56023290 A JP56023290 A JP 56023290A JP 2329081 A JP2329081 A JP 2329081A JP H0159605 B2 JPH0159605 B2 JP H0159605B2
Authority
JP
Japan
Prior art keywords
file
data
identification code
stored
devices
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.)
Expired
Application number
JP56023290A
Other languages
Japanese (ja)
Other versions
JPS57137937A (en
Inventor
Yoshikane Sato
Takashi Shibata
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom 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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP56023290A priority Critical patent/JPS57137937A/en
Publication of JPS57137937A publication Critical patent/JPS57137937A/en
Publication of JPH0159605B2 publication Critical patent/JPH0159605B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Description

【発明の詳細な説明】 本発明はフアイルの信頼性を向上する二重化フ
アイルの更新方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a duplex file updating method that improves file reliability.

処理システムにおいて、フアイルの信頼性を高
める一方法として、二重化ボリユーム(volume)
がある。例えばチエツクポイント・リスタート機
能により得られたチエツク情報のように、事故発
生後の処理再開に非要な重要データは、フアイル
を二重化して保護する。この方法は何れか一方の
フアイルが損われても、他方のフアイルのデータ
を使用できる利点がある。しかし、この従来方法
はフアイル装置とかチヤネル装置の故障に対して
は効果を発揮するが、停電事故による電源断に対
しては必ずしも有効ではない。すなわち前記のチ
エツク情報を2台のフアイル装置に同時に書込中
に電源断を生じた場合、チエツク情報のデータフ
アイルが双方共、損なわれることになる。この防
止対策として、停電時用発電機や、電池などの直
流電源を用意してフアイルの損傷を防ぐ方法が採
用されている。周知のように前記の停電時用の電
源設備は高価であり、また設置場所を要する。従
つて中、小型の処理システムや作業現場に設置さ
れる作業管理処理システム等においては、前記の
設備のためにシステム全体が高価となり、また設
置場所の制約を受けるなどの欠点があつた。
In processing systems, one way to increase file reliability is to use dual volumes.
There is. For example, important data that is unnecessary for restarting processing after an accident, such as check information obtained by the checkpoint restart function, is protected by duplicating files. This method has the advantage that even if one of the files is damaged, the data in the other file can be used. However, although this conventional method is effective against a failure of a file device or a channel device, it is not necessarily effective against a power outage due to a power outage accident. That is, if power is cut off while the check information is being written to two file devices at the same time, both data files of the check information will be damaged. As a preventive measure, a method has been adopted to prevent file damage by preparing a DC power source such as a generator or batteries for use during power outages. As is well known, the power supply equipment for power outages is expensive and requires a large installation space. Therefore, in medium to small-sized processing systems, work management processing systems installed at work sites, etc., the above-mentioned equipment makes the entire system expensive and there are drawbacks such as being subject to restrictions on the installation location.

本発明は上記の欠点を解決するためになされた
もので、停電時用の電源設備を伴わずに、重要デ
ータのフアイルの二重化を可能とする二重化フア
イルのフアイル更新方式の提供を目的としてい
る。
The present invention has been made to solve the above-mentioned drawbacks, and aims to provide a file update method for a duplicated file that enables duplication of important data files without requiring power supply equipment for power outages.

本発明は、処理装置と、記憶装置と、2つのフ
アイル装置とを有し、前記記憶装置内の所要デー
タを前記2つのフアイル装置に格納する二重化フ
アイル制御方式において、前記フアイル装置に格
納される所要データの先頭と後尾とに同一の識別
コードを付加する識別コード付加手段と、前記識
別コードの付加された所要データを前記2つのフ
アイル装置の一方のフアイル装置に格納したのち
に他方のフアイル装置に格納せしめる直列格納制
御手段と、前記フアイル装置に格納されたデータ
の先頭に付加された識別コードと後尾に付加され
た識別コードを比較検査する識別コード検査手段
とを備えるよう構成したことを特徴とする二重化
フアイルのフアイル更新方式である。
The present invention provides a duplex file control method that includes a processing device, a storage device, and two file devices, and stores necessary data in the storage device in the two file devices. identification code adding means for adding the same identification code to the beginning and end of the required data; and after storing the required data to which the identification code has been added in one of the two file devices, the data is stored in the other file device. and an identification code inspection means for comparing and inspecting an identification code added to the beginning and an identification code added to the end of the data stored in the file device. This is a file update method for duplicated files.

また本発明は時刻を計時する手段と、前記フア
イル装置に格納される所要データの先頭と後尾と
に前記計時手段による同一の計時データを付加す
る手段とを備えたものである。
Further, the present invention is provided with means for measuring time, and means for adding the same time measurement data by the time measurement means to the beginning and end of the required data stored in the file device.

以下、本発明を図面によつて説明する。図面は
本発明の一実施例を説明するブロツク図であり、
1は入力装置、2は主記憶装置、3は処理装置、
4は制御部、5は処理部、6はチエツク部、7は
計時カウンタ、8,9はフアイル装置、10は出
力装置、A1,A2はフアイル、Dはデータ、T1
T2は計時データ、bは先頭部、Cは後尾部であ
る。図面における計時カウンタ7の出力としては
年、月、日、時、分、秒の計時データが得られる
ものとし、またチエツク部6はチエツクポイン
ト・リスタート機能を有するものとする。図面に
おいて、入力装置1からの入力データは処理装置
3によつて処理され、その結果が出力装置10に
出力されるが、処理の実行中に制御部4はチエツ
ク部6を起動させ、実行過程の所要データを主記
憶装置2に格納する。すなわちチエツク部6は所
定時間毎(t1,t2……)に命令レジスタやアドレ
スレジスタ等のデータを収集し、これを主記憶装
置2に格納する。従つてデータDはチエツク情報
であり、これをフアイル装置8及び9に格納して
置き、例えば時刻t2に処理システムの障害を生じ
たとき、データD内の時刻t1のチエツク情報を用
いることにより時刻t1以降の処理を継続して再開
できる。従来はデータDをフアイル装置8及び9
に格納するときは同時に並行して行つていた。こ
のため格納の途中で停電事故を生じたとき、双方
のフアイルが損われることになる。これを防止す
るには既述のように停電時用の電源設備を必要と
するが本発明は、データDの2つのフアイル装置
への格納を直列的に行うことにより電源設備を不
要とする。例えばデータDをフアイル装置8へ格
納したのちに、同一のデータDをフアイル装置9
に格納する。しかもデータDが格納されるフアイ
ルA1とA2との先頭bと後尾部cとに、データ格
納時の計時カウンタの計時データT1(年、月、
日、時、分、秒)を付加して格納する。このよう
に直列的に格納を行うことにより、例えばデータ
Dをフアイル装置8に格納している途中の時刻t2
に停電事故を生じても、フアイル装置9のデータ
D(時刻t1)が利用できるので時刻t1以降の処理
再開が可能となる。またデータDの格納途中に事
故を生じた場合には、フアイル装置8内フアイル
A1の先頭部bの計時データT2(時刻t2)と、後尾
部cの計時データT1(時刻t1)とを比較・判別す
ることにより、フアイルA1が誤りであることを
容易に検出できる。これに対しフアイル装置・9
内のフアイルA2の先頭部bと後尾部cの計時デ
ータは共にT1であるので、このフアイルA2内の
データDを処理再開のチエツク情報として用いれ
ばよい。なお本発明は、上記の1フアイル=1論
理レコードとしてのみでなく、1フアイル=n論
理レコードのフアイルに対しても適用できるもの
である。
Hereinafter, the present invention will be explained with reference to the drawings. The drawing is a block diagram illustrating an embodiment of the present invention.
1 is an input device, 2 is a main storage device, 3 is a processing device,
4 is a control unit, 5 is a processing unit, 6 is a check unit, 7 is a time counter, 8 and 9 are file devices, 10 is an output device, A 1 and A 2 are files, D is data, T 1 ,
T 2 is time measurement data, b is the leading part, and C is the trailing part. In the drawing, it is assumed that the output of the time counter 7 is time data of year, month, day, hour, minute, and second, and the check section 6 is assumed to have a check point restart function. In the drawing, input data from an input device 1 is processed by a processing device 3, and the result is outputted to an output device 10. During the execution of the processing, the control section 4 activates the check section 6 to check the execution process. The required data is stored in the main storage device 2. That is, the check section 6 collects data from the instruction register, address register, etc. at predetermined time intervals (t 1 , t 2 . . . ) and stores the collected data in the main memory 2 . Therefore, the data D is check information, which is stored in the file devices 8 and 9. For example, when a processing system failure occurs at time t2 , the check information at time t1 in data D can be used. Therefore, the processing after time t 1 can be resumed continuously. Conventionally, data D was stored in file devices 8 and 9.
When storing data, they were done simultaneously and in parallel. Therefore, if a power outage occurs during storage, both files will be damaged. To prevent this, power supply equipment for power outages is required as described above, but the present invention eliminates the need for power supply equipment by storing data D in two file devices in series. For example, after storing data D in the file device 8, the same data D is stored in the file device 9.
Store in. Furthermore, the time data T1 (year , month ,
Day, hour, minute, second) are added and stored. By performing serial storage in this way, for example, at time t 2 while data D is being stored in the file device 8,
Even if a power outage accident occurs, data D (time t 1 ) of the file device 9 can be used, so processing can be resumed after time t 1 . In addition, if an accident occurs during storage of data D, the file in file device 8
By comparing and determining the clock data T 2 (time t 2 ) of the leading part b of A 1 and the clock data T 1 (time t 1 ) of the tail part c of A 1, it is easy to determine that file A 1 is incorrect. can be detected. On the other hand, file device 9
Since the time measurement data of the first part b and the last part c of the file A2 are both T1 , the data D in this file A2 can be used as check information for restarting the process. Note that the present invention is applicable not only to the above-mentioned file where 1 file = 1 logical record, but also to files where 1 file = n logical records.

以上のように本発明は、停電時用電源を備えて
いない処理システムにおいても、二重化フアイル
に対し、停電事故の影響を防止しうる利点を有す
るものである。
As described above, the present invention has the advantage that even in a processing system that is not equipped with a power supply for power outages, it is possible to prevent the effects of power outage accidents on redundant files.

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

図面は本発明の一実施例を説明するブロツク図
であり、図中に用いた符号は次の通りである。 1は入力装置、2は主記憶装置、3は処理装
置、4は制御部、5は処理部、6はチエツク部、
7は計時カウンタ、8,9はフアイル装置、10
は出力装置、A1A2はフアイル、Dはデータ、
T1T2は計時データ、bは先頭部、cは後尾部を
示す。
The drawing is a block diagram illustrating an embodiment of the present invention, and the symbols used in the drawing are as follows. 1 is an input device, 2 is a main storage device, 3 is a processing device, 4 is a control section, 5 is a processing section, 6 is a check section,
7 is a clock counter, 8 and 9 are file devices, 10
is the output device, A 1 A 2 is the file, D is the data,
T 1 T 2 indicates time measurement data, b indicates the leading portion, and c indicates the trailing portion.

Claims (1)

【特許請求の範囲】 1 処理装置と、記憶装置と、2つのフアイル装
置とを有し、前記記憶装置内の所要データを前記
2つのフアイル装置に格納する二重化フアイル制
御方式において、前記フアイル装置に格納される
所要データの先頭と後尾とに同一の識別コードを
付加する識別コード付加手段と、前記識別コード
の付加された所要データを前記2つのフアイル装
置の一方のフアイル装置に格納したのちに他方の
フアイル装置に格納せしめる直列格納制御手段
と、前記フアイル装置に格納されたデータの先頭
に付加された識別コードと後尾に付加された識別
コードを比較検査する識別コード検査手段とを備
えるよう構成したことを特徴とする二重化フアイ
ルのフアイル更新方式。 2 上記処理装置は時刻を計時する計時手段を備
えると共に、上記識別コード付加手段は該計時手
段による計時データを識別コードとして前記フア
イル装置に格納される所要データの先頭と後尾に
付加するよう構成したこを特徴とする特許請求の
範囲第1項記載の二重化フアイルのフアイル更新
方式。
[Scope of Claims] 1. In a duplex file control system comprising a processing device, a storage device, and two file devices, and in which necessary data in the storage device is stored in the two file devices, identification code adding means for adding the same identification code to the beginning and end of the stored required data; and after storing the required data to which the identification code has been added in one of the two file devices, the other is serial storage control means for storing the data in the file device; and identification code inspection means for comparing and inspecting the identification code added to the beginning and the identification code added to the tail of the data stored in the file device. A file update method for a duplicated file, which is characterized by the following. 2. The processing device is equipped with a timer for measuring time, and the identification code adding device is configured to add clock data by the timer as an identification code to the beginning and end of the required data stored in the file device. A file update method for a duplicated file according to claim 1, characterized by this.
JP56023290A 1981-02-19 1981-02-19 File updating system of duplicated file Granted JPS57137937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56023290A JPS57137937A (en) 1981-02-19 1981-02-19 File updating system of duplicated file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56023290A JPS57137937A (en) 1981-02-19 1981-02-19 File updating system of duplicated file

Publications (2)

Publication Number Publication Date
JPS57137937A JPS57137937A (en) 1982-08-25
JPH0159605B2 true JPH0159605B2 (en) 1989-12-19

Family

ID=12106464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56023290A Granted JPS57137937A (en) 1981-02-19 1981-02-19 File updating system of duplicated file

Country Status (1)

Country Link
JP (1) JPS57137937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0563804U (en) * 1991-03-20 1993-08-24 豊田総建株式会社 Formwork for concrete

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0563804U (en) * 1991-03-20 1993-08-24 豊田総建株式会社 Formwork for concrete

Also Published As

Publication number Publication date
JPS57137937A (en) 1982-08-25

Similar Documents

Publication Publication Date Title
US6195761B1 (en) Method and apparatus for identifying and repairing mismatched data
US6233696B1 (en) Data verification and repair in redundant storage systems
US6389511B1 (en) On-line data verification and repair in redundant storage system
JPH046017B2 (en)
US4447887A (en) Method of rewriting data in non-volatile memory, and system therefor
JPH0159605B2 (en)
Brock An analysis of checkpointing
JPS58107976A (en) Protecting method for volume managing information
JPS60122426A (en) Write data check system
JPH03105434A (en) Error logging system
JPS6326406B2 (en)
GB1574104A (en) Data processing apparatus
JPS60171677A (en) Method for processing fault of storing medium
JPS6043265A (en) Reading and writing system of data
JPH10333961A (en) Data base recovery system and computer-readable recording medium recording recovery program
JPH0820933B2 (en) Data writing method and device
SU1587512A1 (en) Device for checking counters
JPS6045853A (en) History diagnosing system
JPS6120161A (en) Protection processing method of data set
JPS622335A (en) Back-up processing system for file device
JPH07113878B2 (en) File backup device test method
Brown et al. Prevention of Propagation of Machine Errors in Long Problems
JPH07248947A (en) Maintenance diagnostic method for file device
SU1453445A1 (en) Domain storage with localization of failed registers
JPS6263337A (en) Computer system