JPS6188348A - File back-up system of shared file system - Google Patents

File back-up system of shared file system

Info

Publication number
JPS6188348A
JPS6188348A JP59046935A JP4693584A JPS6188348A JP S6188348 A JPS6188348 A JP S6188348A JP 59046935 A JP59046935 A JP 59046935A JP 4693584 A JP4693584 A JP 4693584A JP S6188348 A JPS6188348 A JP S6188348A
Authority
JP
Japan
Prior art keywords
file
storage area
computer
storing area
state
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
JP59046935A
Other languages
Japanese (ja)
Inventor
Sadao Fukatsu
深津 貞雄
Yoshihiro Nakamura
芳弘 中村
Keiji Sato
恵司 佐藤
Nobuo Watabe
信雄 渡部
Takashi Kimoto
木本 隆
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 JP59046935A priority Critical patent/JPS6188348A/en
Publication of JPS6188348A publication Critical patent/JPS6188348A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To restore a file to the state before starting using even when abnormality occurs while the system is in use by making back-up of a file in renewal automatically just before starting use of a file in common use and just after finishing of use. CONSTITUTION:A main memory 2 stores files being processed by single or plural computers, and an auxiliary memory 6 is provided with a present file storing area, an initial state file storing area and an intermediate state file storing area. A file controlling device 10 provided with a transferring circuit 8 that transfer files stored in the device 2 to the device 6 is provided. When access is made first from a computer to the file, this device 10 transfers the file to a file storing area 5 in the initial state of the device 6. Every time access is made from the computer to the same file, and every time processing of the same file is completed by the computer, the device 10 transfers the file on the device 2 to present file storing area, and transfers the file in the present storing area to the file storing area of intermediate processing state successively.

Description

【発明の詳細な説明】 1)発明の技術分野 本発明はパーソナルコンビエータなと比較的小形の情報
処理装置を複数台接続して成るネットワークシステムに
おいて、該複数の情報処理装置が同一のファイルを撹作
する際の註共通ファイルのバックアップ方式に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION 1) Technical Field of the Invention The present invention relates to a network system in which a plurality of relatively small information processing apparatuses such as personal combinators are connected, in which the plurality of information processing apparatuses use the same file. This is related to the backup method for common files when stirring crops.

2)従来技術の問題点 従来のネットワークシステムにおけるバックアップ方式
は、該システム内で共通に使眉しているファイルの処理
が各情報処理装置で総て終了した時点でバックアップフ
ァイルを作成し、その最新のデータから成るファイルを
元のファイルと交換的に格納していた。
2) Problems with the conventional technology The backup method in conventional network systems is to create a backup file when each information processing device finishes processing files that are commonly used within the system, and then A file consisting of data was stored interchangeably with the original file.

しかしながらこのような方式では、複数の情報処理装置
によって長時間にわたり多数の(Ii正変更が加えられ
ているにも拘わらずその途中で事故がおきたばあいには
、その途中経過はまったくバックアップされていないた
め、総ての情報処理装置において全くの初期状態のファ
イルに戻り、修正変更をやり直さなければならないとい
う欠点があ った。
However, with this type of system, if an accident occurs during the process even though multiple information processing devices have made many (Ii) positive changes over a long period of time, the progress will not be backed up at all. This has the disadvantage that all information processing devices have to go back to the initial state of the file and redo any modifications or changes.

3)発明の目的 本発明の目的は、かかる欠点に鑑み複数の情報処理装置
が同一のファイルを同時に更新する場合にも可能な限り
更新途中の最新データを自動的にバックアップすると共
に、更新中に異常が発生した場合には該情報処理装置の
使用前の状態にファイルを復元でき、最悪の場合にもシ
ステム起動時の元のファイルに復元できるようなバック
アップ方式を提供するものである。
3) Purpose of the Invention In view of the above drawbacks, the purpose of the present invention is to automatically back up the latest data that is being updated as much as possible even when multiple information processing devices update the same file at the same time, and to The present invention provides a backup method that allows files to be restored to the state before use of the information processing apparatus in the event of an abnormality, and even in the worst case, to restore the original files to the original files at the time of system startup.

4)発明の構成 本発明の前記目的は、ネットワークで接続された複数の
計tG機が同時に同一のファイルを使用し更新する共有
ファイルシステムであって、複数の計算機との入出力手
段と、単数もしくは複数の計lr機が処理中のファイル
を格納する主記憶手段と、現在のファイル格納領域と初
期状態のファイル格納領域と中間処理状態のファイル格
納領域を備えた1lff助記憶手段と、前記計算機が同
一ファイルを処理しているか否かを検出するファイル処
理検出手段と主記憶手段に格納されているファイルを補
助記憶手段に転送する転送手段を備えたファイル制御手
段を有し、前記ファイル制御手段は前記計算機から最初
にファイルにアクセスがあったとき該ファイルを前記補
助記憶手段の゛初期状態のファイル格納領域に転送する
と共に、前記計算機から該同一ファイルにアクセスがあ
る都度及び前記計算機において該同一のファイルの処理
が終了する都度主記憶上のファイルを前記現在のファイ
ル格納領域に、現在の格納領域のファイルを中間処理状
態のファイル格納領域に順次転送することを特徴とする
共有ファイルシステムのファイルバックアップ方式によ
って達成される。
4) Structure of the Invention The object of the present invention is to provide a shared file system in which a plurality of TG machines connected via a network simultaneously use and update the same file, which includes input/output means for the plurality of computers, and a single or main storage means for storing files being processed by a plurality of lr machines, 1lff auxiliary storage means comprising a current file storage area, an initial state file storage area, and an intermediate processing state file storage area, and the computer. The file control means includes a file processing detection means for detecting whether or not the files are processing the same file, and a transfer means for transferring the file stored in the main storage means to the auxiliary storage means, the file control means transfers the file to the initial state file storage area of the auxiliary storage means when the computer first accesses the file, and transfers the file to the initial state file storage area of the auxiliary storage means, and transfers the same file in the computer each time the computer accesses the same file. A file of a shared file system characterized in that each time processing of a file is completed, a file in the main memory is sequentially transferred to the current file storage area, and a file in the current storage area is transferred to the file storage area in an intermediate processing state. This is accomplished through a backup method.

5)発明の実施例 以下本発明を実施例に沿って詳細に説明する。5) Examples of the invention The present invention will be described in detail below with reference to Examples.

第1図は本発明を実施する装置の例を示すブロック図、
第2図は第一図の装置の処理の流れを示す流れ図、第3
図(A)〜(I)はバックアップの状態を示す説明図で
、図中1は入出力部、2は主記憶、3は現在のファイル
格納領域、4は中間処理状態のファイル格納領域、5は
初期状態のファイル格納領域、6は補助記憶、7はファ
イル処理検出部、8は転送部、9は更新検出部、10は
ファイル制御部、11は主装置、12は交換は、13は
複数の情報処理装置である。
FIG. 1 is a block diagram showing an example of an apparatus for implementing the present invention;
Figure 2 is a flowchart showing the processing flow of the device in Figure 1;
Figures (A) to (I) are explanatory diagrams showing the state of backup, in which 1 is the input/output section, 2 is the main memory, 3 is the current file storage area, 4 is the file storage area in the intermediate processing state, 5 is the file storage area in the initial state, 6 is the auxiliary storage, 7 is the file processing detection unit, 8 is the transfer unit, 9 is the update detection unit, 10 is the file control unit, 11 is the main device, 12 is the exchange, and 13 is multiple This is an information processing device.

以上の装置は次のように動作する。まず、第3図(A)
に示すように、情報処理装置13.13において利用者
がいないときには、補助記憶装置6の現在のファイル格
納領域3にファイルAAAが格納されておりその内容を
(あ)で示す6次にft53図CB)に示すように利用
者aがネットワークを通じて主装置11内の該ファイル
AAAをオーブンしその内容を更新しようとすると、第
1図の7アイル処理検出部7は該ファイルAAAの更新
を禁止し、転送部8が該ファイルを補助記憶6の初期状
態のファイル格納領域5に転送しA A A 、 ba
cku p (あ)として保存する。同時に主記t2上
にファイルAAAの内容がロードされる。ファイル更新
の禁止が解除され利用者がデータ(い)を追加した状態
を第3図(C)に示す。ついで利用者すがネットワーク
を通じて前記同様にファイルAAAを更新しようとする
と、前同様ファイルAAAの更新は一時的に禁止され、
転送部8は現在のファイル格納領域3内のファイルAA
A(あ)を中間処理状態のファイル格納領域4に転送し
、主記憶上の記憶内容(あい)を現在のファイル格納領
域3にAAA(あい)として格納する。この状態を第3
図(D)に示す、ファイルAAAの更新禁止が解除され
、利用者a、bが共にファイルAAAを更新し、データ
(う)を追加した状態をvIs図(E)に示す。
The above device operates as follows. First, Figure 3 (A)
As shown in the figure, when there is no user in the information processing device 13.13, the file AAA is stored in the current file storage area 3 of the auxiliary storage device 6, and its contents are shown in (a) in the 6th order ft53 diagram. As shown in CB), when user a attempts to open the file AAA in the main device 11 via the network and update its contents, the 7-isle processing detection unit 7 in FIG. 1 prohibits the update of the file AAA. , the transfer unit 8 transfers the file to the file storage area 5 in the initial state of the auxiliary storage 6, and A A A , ba
Save as cku p (a). At the same time, the contents of the file AAA are loaded onto the main entry t2. FIG. 3C shows a state in which the prohibition on file updates has been lifted and the user has added data (i). Then, when the user attempts to update the file AAA via the network in the same way as above, updating of the file AAA is temporarily prohibited as before.
The transfer unit 8 transfers the file AA in the current file storage area 3.
A (A) is transferred to the file storage area 4 in the intermediate processing state, and the storage content (Ai) on the main memory is stored in the current file storage area 3 as AAA (Ai). This state is the third
vIs diagram (E) shows a state in which the update prohibition of file AAA shown in diagram (D) has been lifted and both users a and b have updated file AAA and added data (c).

利用者すがファイルAAAの更新を終了するとファイル
AAAの更新は再び禁止され、現在のファイル格納領域
3のファイルAAA(あい)は中間処理状態のファイル
格納領域4に転送されAAA、5cratch(あい)
として保存され、主記憶上のデータは現任のファイル格
納領域3に転送されAAA(あいう)として保存される
。この状態を第3図(F)に示す。該処理は13図(E
)の状態から第三の利用者CがファイルA A Aを更
新しようとしたと己も同じであり、これを第3図(I)
に示す。
When the user finishes updating the file AAA, the update of the file AAA is prohibited again, and the file AAA in the current file storage area 3 is transferred to the file storage area 4 in the intermediate processing state and AAA, 5cratch (ai).
The data on the main memory is transferred to the current file storage area 3 and saved as AAA. This state is shown in FIG. 3(F). This process is shown in Figure 13 (E
), a third user C attempts to update file A A A, and the same situation occurs for him as well, and this is shown in Figure 3 (I).
Shown below.

第3図(F)の状態から利用者aがデータ(え)を追加
し1こ状態が同図(G)、ついでファイルの更新を終了
した状態を同図(H)で示−「。
From the state shown in FIG. 3(F), user a adds data (E), and the first state is shown in FIG. 3(G), and the state in which the file update has been completed is shown in FIG.

6)発明の効果 以上詳細に設明したところから明らかなとおり、ネッ!
・ワークで結ばれた複数の情報処理装置の任慧の利用者
が、共用しているファイルの使用を開始す、シ直前と使
用終了直後に更新中のファイルのバックアンプを自動的
に行なうため、利用者はシステム利用中に異常がおきて
もその利用開始前の状態に使用した7γイルを復元でき
、従来のごとく必ず初期状態のファイルから更新作業を
繰り返l゛必要がないので、その効果は大きい。
6) Effects of the invention As is clear from the detailed explanation above, Net!
・To automatically back up files that are being updated immediately before and after users of multiple information processing devices connected by a network start using a shared file and immediately after finishing using it. Even if an error occurs while using the system, the user can restore the 7γ file to the state before the start of use, and there is no need to repeatedly update the file from the initial state as in the past. The effect is great.

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

第1図は本発明を実施する装置の例を示すブロック図、
!@2図は第1図の装置の処理の流れを示す流れ図、第
3図(A)’=(I)はバックアップの状態を示す説明
図である。 に入出力部、2:主記憶、3:現在のファイル格納領域
、4:中間処理状態のファイル格納領域、5:初期状態
のファイル格納領域、6:補助記憶、7:ファイル処理
検出部、8:転送部、S:更新検出部、10:フ アイ
ル制御部、11:主装置、12:交換磯、13:複数の
情報処理装置第1 面 竿 で 回 #3回 ン!2:・“、′・・h AJc陣人弁理士 松田ア四匹−[−費(E) (L/) +i’、 r l−る 古
FIG. 1 is a block diagram showing an example of an apparatus for implementing the present invention;
! Figure 2 is a flowchart showing the processing flow of the apparatus in Figure 1, and Figure 3 (A)'=(I) is an explanatory diagram showing the backup state. Input/output unit, 2: Main memory, 3: Current file storage area, 4: File storage area in intermediate processing state, 5: File storage area in initial state, 6: Auxiliary memory, 7: File processing detection unit, 8 : Transfer unit, S: Update detection unit, 10: File control unit, 11: Main device, 12: Exchange unit, 13: Multiple information processing devices. 2:・“、′・・h AJc Jinto Patent Attorney Four Matsuda A-[-cost (E) (L/) +i', r l-ru old

Claims (1)

【特許請求の範囲】[Claims] ネットワークで接続された複数の計算機が同時に同一の
ファイルを使用し更新する共有ファイルシステムであっ
て、複数の計算機との入出力手段と、単数もしくは複数
の計算機が処理中のファイルを格納する主記憶手段と、
現在のファイル格納領域と初期状態のファイル格納領域
と中間処理状態のファイル格納領域を備えた補助記憶手
段と、前記計算機が同一ファイルを処理しているか否か
を検出するファイル処理検出手段と主記憶手段に格納さ
れているファイルを補助記憶手段に転送する転送手段を
備えたファイル制御手段を有し、前記ファイル制御手段
は前記計算機から最初にファイルにアクセスがあったと
き該ファイルを前記補助記憶手段の初期状態のファイル
格納領域に転送すると共に、前記計算機から該同一ファ
イルにアクセスがある都度及び前記計算機において該同
一のファイルの処理が終了する都度主記憶上のファイル
を前記現在のファイル格納領域に、現在の格納領域のフ
ァイルを中間処理状態のファイル格納領域に順次転送す
ることを特徴とする共有ファイルシステムのファイルバ
ックアップ方式。
A shared file system in which multiple computers connected via a network use and update the same file at the same time, and includes an input/output means for the multiple computers and a main memory that stores files being processed by one or more computers. means and
Auxiliary storage means having a current file storage area, an initial state file storage area, and an intermediate processing state file storage area, a file processing detection means for detecting whether the computer is processing the same file, and a main memory. The file control means includes a transfer means for transferring a file stored in the means to the auxiliary storage means, and the file control means transfers the file to the auxiliary storage means when the file is first accessed from the computer. At the same time, each time the computer accesses the same file and each time the computer finishes processing the same file, the file in the main memory is transferred to the current file storage area. , a file backup method for a shared file system characterized by sequentially transferring files in a current storage area to a file storage area in an intermediate processing state.
JP59046935A 1984-03-12 1984-03-12 File back-up system of shared file system Pending JPS6188348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59046935A JPS6188348A (en) 1984-03-12 1984-03-12 File back-up system of shared file system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59046935A JPS6188348A (en) 1984-03-12 1984-03-12 File back-up system of shared file system

Publications (1)

Publication Number Publication Date
JPS6188348A true JPS6188348A (en) 1986-05-06

Family

ID=12761173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59046935A Pending JPS6188348A (en) 1984-03-12 1984-03-12 File back-up system of shared file system

Country Status (1)

Country Link
JP (1) JPS6188348A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0371752A (en) * 1989-08-11 1991-03-27 Nec Corp Method for countermeasuring and processing occurrence of power interruption

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0371752A (en) * 1989-08-11 1991-03-27 Nec Corp Method for countermeasuring and processing occurrence of power interruption

Similar Documents

Publication Publication Date Title
US5327551A (en) System using copy of current pointer saved before changing a selectively restoring original data based upon status of updating flag
KR930008684B1 (en) Data base backup method
US6230246B1 (en) Non-intrusive crash consistent copying in distributed storage systems without client cooperation
US6209001B1 (en) Back-up system capable of performing back-up operation at optional time
JPS6188348A (en) File back-up system of shared file system
JPH04373026A (en) Program interrupting method
US5761403A (en) Failure recovery system and failure recovery method in loosely coupled multi-computer system, and medium for storing failure recovery program
JPS625759A (en) Information remedy system
JP2666426B2 (en) Duplex auxiliary storage device
IE911094A1 (en) A Data Processing Method
JPS6349817B2 (en)
GB2030331A (en) Real-time Data Processing System for Processing Time Period Commands
JPS6113328A (en) Accessing system of data file
JP3463696B2 (en) Online garbage collection processing method
JP2585577B2 (en) Current station management data takeover processing method
JP2968756B2 (en) Internal resource matching method and apparatus in multiprocessor system
JP2907102B2 (en) File loading method
JP2973724B2 (en) Interrupt control method
JP2000339183A (en) Data set management system for work area
JPH04250539A (en) Journal acquisition system
JPS62173559A (en) File control system between loose coupled computer systems
JPH0247990A (en) Virtual multi-processor system
JPH02212965A (en) Program loading system
JPH02144726A (en) Operating system for general-purpose computer
JPH04165545A (en) Data fault recovering system