JPH05120109A - File checking system - Google Patents
File checking systemInfo
- Publication number
- JPH05120109A JPH05120109A JP3308333A JP30833391A JPH05120109A JP H05120109 A JPH05120109 A JP H05120109A JP 3308333 A JP3308333 A JP 3308333A JP 30833391 A JP30833391 A JP 30833391A JP H05120109 A JPH05120109 A JP H05120109A
- Authority
- JP
- Japan
- Prior art keywords
- file
- read
- stored
- identification code
- database
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、複数のファイルをデー
タベースとして蓄積する情報処理装置において、同一フ
ァイルの二重蓄積を阻止するためのファイルチェック方
式に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file check method for preventing double storage of the same file in an information processing apparatus which stores a plurality of files as a database.
【0002】[0002]
【従来の技術】複数かつ大量のファイルを読み込み、こ
れらをデータベースとして蓄積する場合、入力すべきフ
ァイルがすでに入力済か否かのチェックを行なわず、与
えられたファイルをそのまま入力しており、情報処理装
置側では、これに応じて入力すべきファイルを単純に読
み込み、そのままデータベースとして蓄積するものとな
っている。2. Description of the Related Art When reading a large number of files and accumulating them as a database, the specified file is input as it is without checking whether the file to be input has already been input. On the side of the processing device, the file to be input is simply read in accordance with this and is stored as it is as a database.
【0003】[0003]
【発明が解決しようとする課題】しかし、与えられたフ
ァイルをそのまま蓄積していると、操作者のミス等によ
り同一ファイルが反復して入力される場合があり、この
場合は同一ファイルがデータベース中に複数存在し、デ
ータベースの容量を不必要に占有するのみならず、検索
上の支障となるため、これを排除しなければならない
が、これには多大の手間を要する欠点を生じている。し
たがって、本発明は、同一ファイルの二重蓄積を阻止す
ることのできるファイルチェック方式の提供を目的とす
るものである。However, if a given file is stored as it is, the same file may be repeatedly input due to an operator error or the like. In this case, the same file is stored in the database. In addition to unnecessarily occupying the capacity of the database, it hinders the search and must be eliminated. However, this has a drawback that it requires a lot of trouble. Therefore, an object of the present invention is to provide a file check method capable of preventing double accumulation of the same file.
【0004】[0004]
【課題を解決するための手段】本発明は、前述の目的を
達成するため、上述の情報処理装置において、読み込ん
だファイルをこのファイルの識別コードと対応した済フ
ラグのセットにより記憶するファイル情報記憶手段と、
新らたに読み込むファイルの識別コードに応じてファイ
ル情報記憶手段の内容をチェックし当該識別コードと対
応する済フラグがセットされているとき当該ファイルの
読み込みを中止させるファイル情報管理手段とを設けた
ものである。In order to achieve the above-mentioned object, the present invention, in the above-mentioned information processing apparatus, stores the read file by the set of the done flag corresponding to the identification code of this file. Means and
A file information management means for checking the contents of the file information storage means according to the identification code of the newly read file and stopping the reading of the file when the completion flag corresponding to the identification code is set is provided. It is a thing.
【0005】[0005]
【作用】したがって、操作ミスにより同一ファイルが反
復して入力されれば、ファイル情報管理手段のチェック
により読み込み済が発見され、自動的に当該ファイルの
再読み込みを阻止する。Therefore, if the same file is repeatedly input due to an operation error, the file information management means checks to find that the file has been read and automatically prevents the file from being reloaded.
【0006】[0006]
【実施例】以下、実施例を示す図1のブロック図により
本発明の詳細を説明する。同図においては、データのフ
ァイルを記憶した磁気テープ(以下、MT)1および磁
気デイスク(以下、MD)2の内容をデータベースとし
て蓄積するものとなっており、MT1またはMD2のデ
ータをデータ読み込み部(以下、DRD)3が読み込み
を行なうと、ファイルを構成する第1レコードおよび最
終レコードがファイル情報管理部(以下、FIC)4へ
転送され、これに応じてファイル情報ファイル(以下、
FIF)5へ当該ファイルの識別コードおよび済フラグ
が互いに対応して格納されると共に、済フラグのセット
がなされる一方、他のレコードはデータベース更新部
(以下、DBR)6へ送出され、DBR6によりデータ
の編集が行なわれたうえ、データベース(以下、DT
B)7へ蓄積され、または、これの更新が行なわれる。DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be described below with reference to the block diagram of FIG. In the figure, the contents of a magnetic tape (hereinafter referred to as MT) 1 and a magnetic disk (hereinafter referred to as MD) 2 in which data files are stored are accumulated as a database, and the data of MT1 or MD2 is read by a data reading unit. When the (hereinafter, DRD) 3 reads, the first record and the last record that make up the file are transferred to the file information management unit (hereinafter, FIC) 4, and the file information file (hereinafter,
The identification code of the file and the completion flag are stored in the FIF) 5 in association with each other, and the completion flag is set, while other records are sent to the database updating unit (hereinafter, DBR) 6 and The data was edited and the database (hereinafter DT
B) Stored in 7 or updated.
【0007】次表はFIF5の内容を示し、ファイルI
Dとしてファイルの識別コードが格納されると共に、チ
ェック欄に済フラグが格納され、蓄積すべきファイルの
最終レコードにより当該ファイルの蓄積または更新が完
了したものと判断され、済フラグが「1」へセットされ
るものとなっている。The following table shows the contents of FIFO5, file I
The identification code of the file is stored as D, the completion flag is stored in the check box, and it is determined that the accumulation or update of the file is completed according to the last record of the file to be accumulated, and the completion flag is set to “1”. It is supposed to be set.
【0008】[0008]
【表1】 [Table 1]
【0009】したがって、新規にDRD3を介して読み
込まれ、DTB7へ蓄積され、または、更新されたファ
イルは、これの識別コードの格納および済フラグのセッ
トによりFIF5中へこの旨が互いに対応して記憶され
る。Therefore, the file newly read through the DRD 3, accumulated in the DTB 7, or updated is stored in the FIFO 5 in correspondence with each other by storing the identification code of the file and setting the completed flag. To be done.
【0010】また、MT1またはMD2の内容をDRD
3が読み込む際は、第1レコードがFIC4へ与えられ
るのに応じてFIC4がFIF5の内容を検索し、当該
ファイルの識別コードと対応する済フラグがセットされ
ているか否かをチェックのうえ、これがセットされてい
るときはDRD3へ指令を送出し、当該ファイルの読み
込みを中止させるものとなっている。Further, the contents of MT1 or MD2 are DRD
When the third record is read, the FIC4 searches the contents of the FIF5 in response to the first record being given to the FIC4, checks whether the identification flag of the file and the corresponding flag are set, and When it is set, a command is sent to the DRD 3 to stop reading the file.
【0011】このため、誤操作により同一ファイルを再
度入力すると、DRD3による再読み込みが自動的に中
止されるものとなり、DBR6を介するDTB7への再
蓄積または再更新が阻止される。Therefore, if the same file is input again due to an erroneous operation, the reloading by the DRD 3 is automatically stopped, and the re-accumulation or re-update in the DTB 7 via the DBR 6 is prevented.
【0012】[0012]
【発明の効果】以上の説明により明らかなとおり本発明
によれば、読み込んだファイルをこれの識別コードと対
応した済フラグのセットにより記憶し、これの内容を新
らたに読み込むファイルの識別コードに応じてチェック
し、当該識別コードと対応する済フラグがセットされて
いるとき当該ファイルの読み込みを中止させるものとし
たことにより、同一ファイルの再蓄積が自動的に阻止さ
れ、操作ミスによる同一ファイルの再蓄積が完全に排除
されるため、情報処理装置のファイルチェックにおいて
顕著な効果が得られる。As is apparent from the above description, according to the present invention, the read file is stored by the set of the completed flag corresponding to the identification code of the file, and the content of the file is newly read. Check that the file has been read, and the reading of the file is stopped when the corresponding flag corresponding to the identification code is set. Since the re-accumulation is completely eliminated, a remarkable effect can be obtained in the file check of the information processing device.
【図1】本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
3 データ読み込み部 4 ファイル情報管理部 5 ファイル情報ファイル 7 データベース 3 Data reading section 4 File information management section 5 File information file 7 Database
Claims (1)
として蓄積する情報処理装置において、読み込んだファ
イルをこのファイルの識別コードと対応した済フラグの
セットにより記憶するファイル情報記憶手段と、新らた
に読み込むファイルの識別コードに応じて前記ファイル
情報記憶手段の内容をチェックし当該識別コードと対応
する済フラグがセットされているとき当該ファイルの読
み込みを中止させるファイル情報管理手段とを設けたこ
とを特徴とするファイルチェック方式。1. An information processing apparatus for reading a plurality of files and accumulating them as a database, and a file information storage means for storing the read files by a set of a completion flag corresponding to the identification code of the files, and a newly read file. File information management means for checking the contents of the file information storage means in accordance with the identification code and stopping reading of the file when the done flag corresponding to the identification code is set. File check method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3308333A JPH05120109A (en) | 1991-10-29 | 1991-10-29 | File checking system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3308333A JPH05120109A (en) | 1991-10-29 | 1991-10-29 | File checking system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05120109A true JPH05120109A (en) | 1993-05-18 |
Family
ID=17979796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3308333A Pending JPH05120109A (en) | 1991-10-29 | 1991-10-29 | File checking system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05120109A (en) |
-
1991
- 1991-10-29 JP JP3308333A patent/JPH05120109A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0487331B1 (en) | Directory management system | |
US20060155987A1 (en) | Method for processing information parts of recorded data | |
JPH0543135B2 (en) | ||
EP0461046A2 (en) | File access processing system | |
JP2750230B2 (en) | Electronic file device | |
US6045041A (en) | Cassette managing system | |
JPH10312396A (en) | Data base system and computer-readable record medium where data base retrieval program is recorded | |
JPH05120109A (en) | File checking system | |
US20040141723A1 (en) | Editing apparatus | |
JPH04181583A (en) | Recording medium and recording management system and data processing device | |
JP3120493B2 (en) | Data processing device | |
JPH11120054A (en) | Device and method for managing electronic document, and recording medium recorded with electronic document managing program | |
JPH05151056A (en) | Data controller | |
JP2733478B2 (en) | Loading media management method for collective equipment | |
JPH05274201A (en) | File controller | |
JPH1165634A (en) | Nc program management system and record medium used for the same | |
JP3186045B2 (en) | Magnetic tape device embedded control method in multi-host system | |
JPS62256170A (en) | Picture information memory processor | |
JP2546404B2 (en) | Magnetic tape media maintenance management method | |
JPH0736747A (en) | Method for managing information stored in different kinds of storage media | |
JPH06168255A (en) | Image data managing system | |
JPH0566976A (en) | Master file managing system | |
JPH064844U (en) | Editor with history function | |
JPH04250563A (en) | Document creation and control system | |
JPH02304646A (en) | Version managing system |