JP3036986B2 - Automatic file playback method - Google Patents

Automatic file playback method

Info

Publication number
JP3036986B2
JP3036986B2 JP4228201A JP22820192A JP3036986B2 JP 3036986 B2 JP3036986 B2 JP 3036986B2 JP 4228201 A JP4228201 A JP 4228201A JP 22820192 A JP22820192 A JP 22820192A JP 3036986 B2 JP3036986 B2 JP 3036986B2
Authority
JP
Japan
Prior art keywords
file
unclosed
subfile
sub
storage device
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 - Fee Related
Application number
JP4228201A
Other languages
Japanese (ja)
Other versions
JPH0675842A (en
Inventor
真枝 高橋
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.)
NEC Software Hokkaido Ltd
Original Assignee
NEC Software Hokkaido 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 NEC Software Hokkaido Ltd filed Critical NEC Software Hokkaido Ltd
Priority to JP4228201A priority Critical patent/JP3036986B2/en
Publication of JPH0675842A publication Critical patent/JPH0675842A/en
Application granted granted Critical
Publication of JP3036986B2 publication Critical patent/JP3036986B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、情報処理システムにお
けるファイル再生制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file reproduction control system in an information processing system.

【0002】[0002]

【従来の技術】一般に、外部記憶装置上のファイル、サ
ブファイルを更新中に何らかの異常でファイルが未クロ
ーズ状態、またはサブファイルが不正な状態になり、そ
のまま利用できなくなった場合、即座にそのファイルを
元に戻し、利用できるようにする必要がある。なお、サ
ブファイルとは、ファイルをさらに区分化したもので、
1種類のデータを格納する器のことである。例えば、領
域確保したファイルをDATA1とし、そこに、人事に
関するレコードと売り上げに関するレコードを格納する
とき、DATA1というファイルに人事というサブファ
イルと売り上げというサブファイルができる。また、不
正な状態のサブファイルとは、異常が発生したときに、
そのサブファイルに対して、トランザクションが確定す
るまでに、更新を行ったサブファイルのことをいい、こ
のようなサブファイルを不正なサブファイルと呼ぶ。
2. Description of the Related Art In general, when a file or subfile on an external storage device is updated and the file becomes unclosed or becomes unusable due to some abnormality, the file cannot be used immediately. Need to be restored and made available. In addition,
A file is a further division of a file,
A device that stores one type of data. For example, territory
The secured file is set to DATA1 and there is human resources
Store records about sales and records about sales
At this time, a sub-file called Personnel
There will be sub-files for sales and sales. In addition,
A subfile in a positive state is defined as
A transaction is confirmed for that subfile.
By the time the subfile is updated,
Are called illegal subfiles.

【0003】従来のファイル自動再生処理の一例を図2
に示す。外部記憶装置上の未クローズ状態のファイルの
再生指示を行うファイル自動再生指示装置1と、データ
をファイル単位に記憶する外部記憶装置2と、外部記憶
装置2上の未クローズ状態ファイルを捜し出す未クロー
ズファイルサーチ手段3と、未クローズファイルサーチ
手段3で未クローズ状態であると判断されたファイルに
ついての情報が順にセットされる未クローズファイルテ
ーブル5と、未クローズ状態ファイルを再生するファイ
ル再生手段7とから構成される。
FIG. 2 shows an example of a conventional file automatic reproduction process.
Shown in Automatic file playback instructing device 1 for instructing playback of an unclosed file on an external storage device, external storage device 2 for storing data in file units, and unclosed for finding an unclosed file on external storage device 2 A file search means 3; an unclosed file table 5 in which information about files determined to be in an unclosed state by the unclosed file search means 3 is sequentially set; and a file reproducing means 7 for reproducing an unclosed state file. Consists of

【0004】上記構成において、ファイル自動再生指示
装置1から接続されているすべての外部記憶装置上の未
クローズ状態のファイルの再生処理が要求される。未ク
ローズファイルサーチ手段3は、外部記憶装置2のファ
イル管理ファイルからファイル管理レコードを読み込
む。サブファイル形式のファイルでなく、かつ未クロー
ズ状態のファイルである場合、ファイル名・記憶装置名
・再生モード(領域確保時にすでに設定されている)を
未クローズファイルテーブル5にセットし、すべてのフ
ァイルについて同様の処理を行う。次に、ファイル再生
手段7は、未クローズファイルテーブル5の順に各ファ
イルの再生モードに従って、ファイルのデータを読み込
み、書き出し、未クローズ状態を解除する処理を行い、
処理を終了する。
In the above configuration, the file automatic reproduction instructing device 1 requests a process of reproducing a file in an unclosed state on all connected external storage devices. The unclosed file search means 3 reads a file management record from the file management file in the external storage device 2. If the file is not in the sub-file format and the file is in the unclosed state, the file name, storage device name, and playback mode (already set when the area is secured) are set in the unclosed file table 5, and all files are set. Perform the same processing. Next, the file reproducing means 7 reads and writes the data of the file according to the reproduction mode of each file in the order of the unclosed file table 5 and performs processing for releasing the unclosed state.
The process ends.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のファイ
ル自動再生方式では、外部記憶装置上のサブファイル形
式のファイルが存在する場合、不正なサブファイルがあ
るかどうかを判断することなく、再生処理対象から除外
されている。そのため、外部記憶装置上のファイルのデ
ータを更新中、何らかの異常で処理か中断した場合、異
常なサブファイル形式のファイルの再生処理が行われな
いという欠点がある。
In the above-mentioned conventional automatic file reproduction system, when a file in a sub-file format exists on an external storage device, the reproduction processing is performed without judging whether or not there is an illegal sub-file. Has been excluded from the subject. For this reason, there is a drawback that if the processing of the file in the external storage device is interrupted due to some abnormality while the data is being updated, the reproduction process of the file in the abnormal sub-file format is not performed.

【0006】[0006]

【課題を解決するための手段】第1の発明は、外部記憶
装置上の異常になったファイル、サブファイルを再生す
る場合のファイル自動再生方式において、前記外部記憶
装置上の不正なサブファイルを含むファイルの再生処理
を指示するファイル自動再生指示装置と、前記外部記憶
装置上の未クローズ状態ファイルを捜し出す未クローズ
ファイルサーチ手段と、前記外部記憶装置上の不正なサ
ブファイルを含むファイルを捜し出す不正サブファイル
サーチ手段と、前記未クローズ状態になったファイルの
情報を記憶する未クローズファイルテーブルと、前記不
正なサブファイルを含むファイルの情報を記憶する不正
サブファイルテーブルと、前記未クローズファイルテー
ブルのデータに従って前記未クローズ状態のファイルを
再生するファイル再生手段と、前記不正サブファイルテ
ーブルのデータに従って前記ファイルから前記不正サブ
ブァイルを削除する不正サブファイル削除手段とから構
成されることを特徴とする。
According to a first aspect of the present invention, there is provided an automatic file reproducing system for reproducing an abnormal file or a sub file on an external storage device. An automatic file playback instructing device for instructing a playback process of a file including the file, an unclosed file search means for searching for an unclosed file on the external storage device, and an unauthorized device for searching for a file including an illegal subfile on the external storage device. A subfile search unit, an unclosed file table storing information on the file in the unclosed state, an unauthorized subfile table storing information on a file including the unauthorized subfile, and an unclosed file table. A file for playing the unclosed file according to the data Raw unit, characterized in that it is composed of a fraudulent subfile deleting section that deletes the incorrect Sabubuairu from the file in accordance with data of the illegal sub-file table.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing one embodiment of the present invention.

【0009】本実施例は、図1に示すように、外部記憶
装置上の不正なサブファイルを含むファイルの再生処理
を指示するファイル自動再生指示装置1と、外部記憶装
置上の未クローズ状態ファイルを捜し出す未クローズフ
ァイルサーチ手段3と、不正なサブファイルを含むファ
イルを捜し出す不正サブファイルサーチ手段と、未クロ
ーズ状態になったファイルの情報を記憶する未クローズ
ファイルテーブル5と、不正なサブファイルを含むファ
イルの情報を記憶する不正サブファイルテーブル6と、
未クローズファイルテーブル5に従って、未クローズ状
態のファイルを再生するファイル再生手段7と、不正サ
ブファイルテーブル6に従って、ファイルから不正サブ
ブァイルを削除する不正サブファイル削除手段8とから
構成されている。
In this embodiment, as shown in FIG. 1, a file automatic reproduction instructing device 1 for instructing a reproduction process of a file including an illegal subfile on an external storage device, and an unclosed file on the external storage device An unclosed file search means 3 for searching for a file including an incorrect subfile, an unclosed file table 5 for storing information on a file in an unclosed state, and an unclosed file An unauthorized sub-file table 6 for storing information of the file including the
It comprises a file reproducing means 7 for reproducing a file in an unclosed state according to the unclosed file table 5 and an unauthorized subfile deleting means 8 for deleting an unauthorized subfile from the file according to the unauthorized subfile table 6.

【0010】上記構成において、ファイル自動再生指示
装置1から接続されているすべての外部記憶装置2上の
未クローズ状態のファイルと不正なサブファイルを含む
ファイルの再生処理が要求される。未クローズファイル
サーチ手段3は、外部記憶装置2のファイル管理ファイ
ルのファイル管理レコードを読み込み、未クローズ状態
のファイルであるかどうかとサブファイル形式のファイ
ルであるかを判断する。未クローズ状態ファイルであ
り、サブファイル形式のファイルでないと判断した場
合、ファイル名・記憶装置名・再生モード(領域確保時
にすでに設定されている)を未クローズファイルテーブ
ル5にセットする。サブファイル形式のファイルである
場合は、制御を不正サブファイルサーチ手段4に渡す。
不正サブファイルサーチ手段4は、外部記憶装置2上の
ファイル内のサブファイルを管理するサブファイル管理
レコードを順次読み込み、レコード内におけるトランザ
クションが確定したときにクリアされる情報を見なが
ら、不正なサブファイルがあるかどうかを判断する。不
正サブファイルがあると判断した場合、ファイル名・記
憶装置名を不正サブファイルテーブル6にセットし、未
クローズファイルサーチ手段3へ制御を戻す。未クロー
ズファイルサーチ手段3は、次のファイル管理レコード
を読み込み、同様の処理を繰り返す。外部記憶装置2上
の全てのファイルについての処理が終了すると、ファイ
ル再生手段7に制御を移す。ファイル再生手段7は、未
クローズファイルテーブル5の順に各ファイルの再生モ
ードに従って、ファイルのデータを読み込み、書き出
し、未クローズ状態を解除する処理を行う。次に、不正
サブファイル削除手段8は、不正サブファイルテーブル
6の順にファイル内の正常なサブファイルのすべてのデ
ータを一時ファイルに退避し、ファイルを初期化し、退
避したサブファイルのデータを復帰し、処理を終了す
る。
In the above configuration, the file automatic reproduction instructing device 1 requires a process of reproducing a file including an unclosed file and an invalid subfile on all the external storage devices 2 connected thereto. The unclosed file search means 3 reads the file management record of the file management file in the external storage device 2 and determines whether the file is in an unclosed state or a sub-file format. If it is determined that the file is an unclosed file and is not a file in the sub-file format, the file name, storage device name, and reproduction mode (already set when the area is secured) are set in the unclosed file table 5. If the file is in the sub-file format, control is passed to the unauthorized sub-file search means 4.
The illegal subfile search means 4 manages subfiles in a file on the external storage device 2 by subfile management.
Records are read sequentially , and the transaction
The information that is cleared when the action is confirmed
Then, determine whether there is an incorrect subfile. If it is determined that there is an invalid subfile, the file name / storage device name is set in the invalid subfile table 6 and control is returned to the unclosed file search means 3. The unclosed file search means 3 reads the next file management record and repeats the same processing. When the processing for all the files on the external storage device 2 is completed, the control is transferred to the file reproducing means 7. The file reproducing means 7 performs processing of reading, writing, and releasing the unclosed state of the file data in the order of the unclosed file table 5 according to the reproduction mode of each file. Next, the illegal subfile deleting means 8 saves all data of the normal subfile in the file in the order of the illegal subfile table 6 to a temporary file, initializes the file, and restores the data of the saved subfile. , And the process ends.

【0011】[0011]

【発明の効果】以上説明したように、本発明のファイル
自動再生方式により、外部記憶装置上のサブファイル形
式のファイルにおける不正なサブファイルが自動的に検
出され、削除され、正常なファイルが再生処理されると
いう効果がある。
As described above, according to the automatic file reproducing method of the present invention, an illegal subfile in a subfile format file on an external storage device is automatically detected and deleted, and a normal file is reproduced. It has the effect of being processed.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】従来例の一実施例を示すブロック図である。FIG. 2 is a block diagram showing one embodiment of a conventional example.

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

1 ファイル自動再生指示装置 2 外部記憶装置 3 未クローズファイルサーチ手段 4 不正サブファイルサーチ手段 5 未クローズファイルテーブル 6 不正サブファイルテーブル 7 ファイル再生手段 8 不正サブファイル削除手段 DESCRIPTION OF SYMBOLS 1 File automatic reproduction instruction apparatus 2 External storage device 3 Unclosed file search means 4 Unauthorized subfile search means 5 Unclosed file table 6 Unauthorized subfile table 7 File reproduction means 8 Unauthorized subfile deletion means

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−22159(JP,A) 特開 平4−195559(JP,A) 特開 平4−243443(JP,A) 特開 平4−373039(JP,A) 特開 平5−94354(JP,A) 特開 平5−94355(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-62-22159 (JP, A) JP-A-4-195559 (JP, A) JP-A-4-243443 (JP, A) JP-A-4-243 373039 (JP, A) JP-A-5-94354 (JP, A) JP-A-5-94355 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 12/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】外部記憶装置上の異常になったファイル、
サブファイルを再生する場合のファイル自動再生方式に
おいて、前記外部記憶装置上の不正なサブファイルを含
むファイルの再生処理を指示するファイル自動再生指示
装置と、前記外部記憶装置上の未クローズ状態ファイル
を捜し出す未クローズファイルサーチ手段と、前記外部
記憶装置上の不正なサブファイルを含むファイルを捜し
出す不正サブファイルサーチ手段と、前記未クローズ状
態になったファイルの情報を記憶する未クローズファイ
ルテーブルと、前記不正なサブファイルを含むファイル
の情報を記憶する不正サブファイルテーブルと、前記未
クローズファイルテーブルのデータに従って前記未クロ
ーズ状態のファイルを再生するファイル再生手段と、前
記不正サブファイルテーブルのデータに従って前記ファ
イルから前記不正サブブァイルを削除する不正サブファ
イル削除手段とから構成されることを特徴とするファイ
ル自動再生方式。
1. An abnormal file on an external storage device,
In a file automatic reproduction method for reproducing a sub file, an automatic file reproduction instruction device for instructing a reproduction process of a file including an illegal sub file on the external storage device, and an unclosed state file on the external storage device An unclosed file search means for searching, an unauthorized subfile search means for searching for a file including an unauthorized subfile on the external storage device, an unclosed file table for storing information on the file in the unclosed state, An unauthorized sub-file table for storing information of a file including an unauthorized sub-file; file playback means for playing back the unclosed file according to the data of the unclosed file table; and the file according to the data of the unauthorized sub-file table. From the fraud Automatic file playback method, characterized in that they are composed of illegal sub file deletion means for deleting Bubuairu.
JP4228201A 1992-08-27 1992-08-27 Automatic file playback method Expired - Fee Related JP3036986B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4228201A JP3036986B2 (en) 1992-08-27 1992-08-27 Automatic file playback method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4228201A JP3036986B2 (en) 1992-08-27 1992-08-27 Automatic file playback method

Publications (2)

Publication Number Publication Date
JPH0675842A JPH0675842A (en) 1994-03-18
JP3036986B2 true JP3036986B2 (en) 2000-04-24

Family

ID=16872786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4228201A Expired - Fee Related JP3036986B2 (en) 1992-08-27 1992-08-27 Automatic file playback method

Country Status (1)

Country Link
JP (1) JP3036986B2 (en)

Also Published As

Publication number Publication date
JPH0675842A (en) 1994-03-18

Similar Documents

Publication Publication Date Title
JPH0543135B2 (en)
JP3036986B2 (en) Automatic file playback method
US20040141723A1 (en) Editing apparatus
JPH0475544B2 (en)
JPH04315232A (en) Disk device and file managing method therefor
JP2742162B2 (en) Data backup method for direct organization files
JPH07226062A (en) Device for reproducing multi-media data
JPH04303245A (en) File processing system
JP2849487B2 (en) Staging method
JPS6379287A (en) Copying method for recording medium
JP2956083B2 (en) Magnetic card device
JPH0731903B2 (en) Data recording method
JP2872249B2 (en) Recording / reproducing method of optical card management information
JPH1049412A (en) Data recording method
JPH0194581A (en) Information recording and reproducing device
JP2670451B2 (en) Recording / reproducing method for record carrier
JP2003263857A (en) Information recorder
JP2650504B2 (en) File reconstruction device
JP2733192B2 (en) Disc copying method
JPS6314391A (en) Memory medium copying method
JPS58223858A (en) Integrated backup restorage processing system
JPS63255889A (en) Data file device
JPS6387680A (en) Data recording system
JPH07234813A (en) Information recording method
JPH02185717A (en) Optical disk and optical disk device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000201

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080225

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees