JPH0293837A - File control system - Google Patents
File control systemInfo
- Publication number
- JPH0293837A JPH0293837A JP63246522A JP24652288A JPH0293837A JP H0293837 A JPH0293837 A JP H0293837A JP 63246522 A JP63246522 A JP 63246522A JP 24652288 A JP24652288 A JP 24652288A JP H0293837 A JPH0293837 A JP H0293837A
- Authority
- JP
- Japan
- Prior art keywords
- basic data
- file
- data file
- record
- business
- 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
- 238000007726 management method Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 4
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はファイル管理方式に関し、特に基本データファ
イルに基づいて業務ファイル(実際の業務で使用される
ファイル)内のレコードの作成/更新が行われ、かつ基
本データファイルの変更が行われる計算機システムにお
けるファイル管理方式に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a file management method, and in particular, a method for creating/updating records in a business file (a file used in actual business) based on a basic data file. This invention relates to a file management method in a computer system in which basic data files are changed.
従来、この種のファイル管理方式では、基本データファ
イルを変更した際に業務ファイル内にすでに登録(作成
)されているレコードと新基本データファイル(変更後
の新しい基本データファイル)との間に矛盾が生じると
いう事象が発生していた。Conventionally, with this type of file management method, when a basic data file is changed, there is a discrepancy between records that have already been registered (created) in the business file and the new basic data file (new basic data file after the change). There was an event that occurred.
したがって、このような事象を避けるために、基本デー
タファイルの変更時には新基本データファイルに基づい
て業務ファイル内の全てのレコードが作り直されていた
。Therefore, in order to avoid such an event, when the basic data file is changed, all records in the business file are re-created based on the new basic data file.
上述した従来のファイル管理方式では、基本デ−タフア
イルを変更した際に業務ファイル内にすでに登録されて
いるレコードと新基本データファイルとの間に矛盾が生
じるという事象が発生するので、業務ファイル内のレコ
ードの正しい更新ができなくなり、業務ファイル内のレ
コードが使用できなくなるという欠点がある。In the conventional file management method described above, when the basic data file is changed, a discrepancy occurs between records already registered in the business file and the new basic data file. The disadvantage is that the records in the business file cannot be updated correctly, making the records in the business file unusable.
また、上述の欠点を解決するためには、基本データファ
イルの変更時に新基本データファイルに基づいて業務フ
ァイル内の全てのレコードを作り直す作業が必要となる
ので、基本データファイルの変更時における付加作業が
増加するという欠点がある。In addition, in order to solve the above-mentioned drawbacks, it is necessary to recreate all records in the business file based on the new basic data file when changing the basic data file, so additional work is required when changing the basic data file. The disadvantage is that it increases.
本発明の目的は、上述の点に鑑み、基本データファイル
の世代管理を適切に行うことにより、基本データファイ
ルの変更時に業務ファイル内にすでに登録されているレ
コードと新基本データファイルとの間に矛盾が生じると
いう事象の発生を防ぐことができ、業務ファイル内のレ
コードの正しい更新を保証することができるファイル管
理方式を提供することにある。In view of the above-mentioned points, an object of the present invention is to properly perform generation management of basic data files so that when the basic data file is changed, there is a gap between records already registered in the business file and the new basic data file. An object of the present invention is to provide a file management method that can prevent the occurrence of inconsistencies and ensure correct updating of records in business files.
本発明のファイル管理方式は、複数の世代の基本データ
ファイルを保持している基本データファイル保持手段と
、業務ファイル内のレコードを更新する際に当該レコー
ド中の世代情報に基づいて当該レコードがどの世代の基
本データファイルに基づいて作成されたかを判定する世
代情報判定手段と、この世代情報判定手段により判定さ
れた世代の基本データファイルを前記基本データファイ
ル保持手段から作業ファイルに展開する基本データファ
イル展開手段と、この基本データファイル展開手段によ
り作業ファイルに展開された基本データファイルに基づ
いて当該レコードの更新を行う業務ファイルレコード作
成/更新手段とを有する。The file management method of the present invention includes a basic data file holding means that holds basic data files of multiple generations, and when a record in a business file is updated, the record is updated based on the generation information in the record. a generation information determining means for determining whether the generation basic data file has been created based on the generation basic data file; and a basic data file for expanding the generation basic data file determined by the generation information determining means from the basic data file holding means into a work file. It has an expansion means, and a business file record creation/update means for updating the record based on the basic data file expanded into a work file by the basic data file expansion means.
本発明のファイル管理方式では、基本データファイル保
持手段が複数の世代の基本データファイルを保持し、世
代情報判定手段が業務ファイル内のレコードを更新する
際に当該レコード中の世代情報に基づいて当該レコード
がどの世代の基本データファイルに基づいて作成された
かを判定し、基本データファイル展開手段が世代情報判
定手段により判定された世代の基本データファイルを基
本データファイル保持手段から作業ファイルに展開し、
業務ファイルレコード作成/更新手段が基本データファ
イル展開手段により作業ファイルに展開された基本デー
タファイルに基づいて当該レコードの更新を行う。In the file management method of the present invention, the basic data file holding means holds basic data files of a plurality of generations, and when the generation information determining means updates a record in the business file, it updates the record in the business file based on the generation information in the record. determining which generation of basic data file the record was created based on, the basic data file expansion means expanding the basic data file of the generation determined by the generation information determination means from the basic data file holding means into a work file;
The business file record creation/update means updates the record based on the basic data file developed into a work file by the basic data file development means.
(実施例〕 次に、本発明について図面を参照して説明する。(Example〕 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明のファイル管理方式の一実施例の構成
を示すブロック図である0本実施例のファイル管理方式
は、複数の世代(本実施例では新基本データファイル1
1および旧基本データファイル(基本データファイルの
変更が行われる際の変更前の旧い基本データファイル)
12の2つの世代)の基本データファイルを保持してい
る基本データファイル保持手段1と、基本データファイ
ル保持手段1内のいずれかの世代の基本データファイル
が展開される作業ファイル2と、世代情報30(本実施
例では新基本データファイル11および旧基本データフ
ァイル12に対応する「新」および「旧」のいずれかを
示す情報)を有するレコードを格納している業務ファイ
ル3と、業務ファイル3内のレコードを更新する際に当
該レコード中の世代情報30に基づいて当該レコードが
どの世代の基本データファイルに基づいて作成されたか
を判定する世代情報判定手段4と、世代情報判定手段4
により判定された世代の基本データファイルを基本デー
タファイル保持手段1から作業ファイル2に展開する(
所定の世代の基本データファイルがすでに作業ファイル
2に存在する場合にその状態を保持する処理を含む)基
本データファイル展開手段5と、基本データファイル展
開手段5により作業ファイル2に展開された基本データ
ファイルに基づいて当該レコード(世代情報判定手段4
により世代情報30に基づく判定が行われたレコード)
の更新を行う業務ファイルレコード作成/更新手段6(
最新の基本データファイルに基づく新規なレコードの作
成も行う)とを含んで構成されている。FIG. 1 is a block diagram showing the configuration of one embodiment of the file management method of the present invention.
1 and the old basic data file (the old basic data file before the change when the basic data file is changed)
A basic data file holding means 1 holding basic data files of two generations (12 generations), a work file 2 in which a basic data file of any generation in the basic data file holding means 1 is expanded, and generation information 30 (in this embodiment, information indicating either "new" or "old" corresponding to the new basic data file 11 and old basic data file 12); generation information determining means 4 for determining which generation of basic data file the record was created based on based on generation information 30 in the record when updating the record; and generation information determining means 4.
The basic data file of the generation determined by is expanded from the basic data file holding means 1 to the work file 2 (
basic data file expansion means 5 (including processing for maintaining the state of a basic data file of a predetermined generation when it already exists in the work file 2), and the basic data expanded into the work file 2 by the basic data file expansion means 5; Based on the file, the record (generation information determination means 4)
Records for which judgment was made based on generation information 30)
Business file record creation/update means 6 (
It also creates new records based on the latest basic data file).
第2図は、本実施例のファイル管理方式により。FIG. 2 is based on the file management method of this embodiment.
業務ファイル3内に新規なレコードが作成される場合の
動作を説明するための図である。3 is a diagram for explaining the operation when a new record is created in the business file 3. FIG.
第3図は、本実施例のファイル管理方式により基本デー
タファイル保持手段1内の新基本データファイル11が
用いられて業務ファイル3内のレコードの更新が行われ
る場合の動作を説明するための図である。FIG. 3 is a diagram for explaining the operation when records in the business file 3 are updated using the new basic data file 11 in the basic data file holding means 1 according to the file management method of this embodiment. It is.
第4図(a)〜(C1は、本実施例のファイル管理方式
により基本データファイル保持手段1内の旧基本データ
ファイル12が用いられて業務ファイル3内のレコード
の更新が行われる場合の動作を説明するための図である
。FIGS. 4(a) to (C1) show operations when records in the business file 3 are updated using the old basic data file 12 in the basic data file holding means 1 according to the file management method of this embodiment. FIG.
次に、このように構成され・た本実施例のファイル管理
方式の動作について説明する。Next, the operation of the file management system of this embodiment configured as described above will be explained.
初めに、本実施例のファイル管理方式を含む計算機シス
テム(オンラインリアルタイムシステム等を想定するこ
とができる)に対する入力情弗により新規に業務ファイ
ル3内にレコードが作成される場合の動作について説明
する(第2図参照)。First, the operation when a new record is created in the business file 3 by input information to a computer system (an online real-time system etc. can be assumed) including the file management method of this embodiment will be explained ( (See Figure 2).
業務ファイル3内に新規なレコードが作成される場合に
は、常に基本データファイル保持手段l内の最新の基本
データファイルに基づいて処理が行われる。そこで、す
でに作業ファイル2内に展開されている新基本データフ
ァイル11 (作業ファイル2には定常状FLi(初期
状態を含む)として新基本データファイル11が展開さ
れている)が用いられて、業務ファイルレコード作成/
更新手段6により業務ファイル3内にレコード(第2図
中で斜線により識別されるレコード)が作成される。When a new record is created in the business file 3, processing is always performed based on the latest basic data file in the basic data file holding means 1. Therefore, the new basic data file 11 that has already been developed in the work file 2 (the new basic data file 11 has been developed as the steady state FLi (including the initial state) in the work file 2) is used to File record creation/
A record (record identified by diagonal lines in FIG. 2) is created in the business file 3 by the updating means 6.
この場合に、新規に作成されたレコードが新基本データ
ファイル11に基づいて作成されたことを示す情報(第
2図中の「新」)が、当該レコード中の世代情報30に
業務ファイルレコード作成/更新手段6により格納され
る。In this case, information indicating that the newly created record was created based on the new basic data file 11 ("new" in Figure 2) is added to the generation information 30 in the record when the business file record is created. /Stored by the update means 6.
続いて、本実施例のファイル管理方式を含む計算機シス
テムに対する入力情報により新基本データファイル11
に基づいて作成された業務ファイル3内のレコードが更
新される場合(基本デークツアイル保持手段l内の新基
本データファイル11が用いられてレコードの更新処理
が行われる場合)の動作について説明する(第3図参照
)。Subsequently, a new basic data file 11 is created based on input information to the computer system including the file management method of this embodiment.
The operation when a record in the business file 3 created based on is updated (when the record update process is performed using the new basic data file 11 in the basic data archive holding means l) will be explained (Chapter 1). (See Figure 3).
この場合には、まず更新処理の対象となるレコード中の
世代情報30に基づいて、当該レコードが新基本データ
ファイル11に基づいて作成されたことが世代情報判定
手段4により判定される。In this case, first, based on the generation information 30 in the record to be updated, the generation information determining means 4 determines that the record has been created based on the new basic data file 11.
この判定に基づいて、作業ファイル2内に展開されてい
る新基本データファイル11が用いられて当該レコード
の更新処理が業務ファイルレコード作成/更新手段6に
より行われる(「当該レコードが新基本データファイル
11に基づいて作成されたjという判定に基づき、基本
データファイル展開手段5は作業ファイル2に新基本デ
ータファイル11が展開されている状態を保持する)。Based on this determination, the new basic data file 11 expanded in the work file 2 is used to update the record by the business file record creation/update means 6 (“The record is in the new basic data file”). 11, the basic data file expansion means 5 maintains the state in which the new basic data file 11 is expanded in the work file 2).
最後に、本実施例のファイル管理方式を含む計′JX機
システムに対する入力情報により旧基本データファイル
12に基づいて作成された業務ファイル3内のレコード
が更新される場合(基本データファイル保持手段l内の
旧基本データファイル12が用いられてレコードの更新
処理が行われる場合)の動作について説明する(第4図
(al〜(C1参照)。Finally, when a record in the business file 3 created based on the old basic data file 12 is updated by input information to the total JX machine system including the file management method of this embodiment (basic data file holding means l The operation in the case where record update processing is performed using the old basic data file 12 in FIG. 4 (al to (see C1)) will be described.
ごの場合には、更新処理の対象となるレコード中の世代
情報30に基づいて、当該レコードが旧基本データファ
イル12に基づいて作成されたことが世代情報判定手段
4により判定される。In this case, based on the generation information 30 in the record to be updated, the generation information determining means 4 determines that the record was created based on the old basic data file 12.
この判定に基づいて、基本データファイル展開手段5に
より基本データファイル保持手段1から作業ファイル2
内に旧基本データファイル12が展開される(第4図(
al参照)。Based on this determination, the basic data file expansion means 5 converts the basic data file holding means 1 to the work file 2.
The old basic data file 12 is expanded within (Figure 4 (
al).
次に、世代情報判定手段4の判定に基づいて上述のよう
に作業ファイル2内に展開された旧基本データファイル
12が用いられ、当該レコードの更新処理が業務ファイ
ルレコード作成/更新手段6により行われる(第4図t
b+参照)。Next, the old basic data file 12 expanded into the work file 2 as described above based on the determination by the generation information determination means 4 is used, and the update process of the record is performed by the business file record creation/update means 6. (Fig. 4 t)
(see b+).
旧基本データファイル12が用いられたレコードの更新
処理が終了すると、再び作業ファイル2内に存在する旧
基本データファイル12が新基本データファイルIIT
装置き換えられて(新基本データフアイル11が基本デ
ータファイル保持手段1から作業ファイル2内に展開さ
れて)、作業ファイル2が定常状態に戻される(第4図
(C)参照)。When the update process for the record that used the old basic data file 12 is completed, the old basic data file 12 existing in the work file 2 is used as the new basic data file IIT again.
The new basic data file 11 is expanded from the basic data file holding means 1 into the work file 2, and the work file 2 is returned to a steady state (see FIG. 4(C)).
なお、基本データファイルの変更が行われると、新基本
データファイル11および旧基本データファイル12に
加えて当該変更に係る最新の基本データファイルが基本
データファイル保持手段1に保持され、業務ファイル3
内のレコード中の世代情報30に設定される情報にその
最新の基本データファイルに対応する情報が追加される
(さらに、業務ファイル3に関する業務が進展して旧基
本データファイル12に基づいて作成/更新が行われた
レコードが業務ファイル3内に存在しなくなると旧基本
データファイル12は削除される)。Note that when the basic data file is changed, in addition to the new basic data file 11 and the old basic data file 12, the latest basic data file related to the change is held in the basic data file holding means 1, and the business file 3
Information corresponding to the latest basic data file is added to the information set in the generation information 30 in the record in the file (Furthermore, as the work related to the work file 3 progresses, it is created/created based on the old basic data file 12. When the updated record no longer exists in the business file 3, the old basic data file 12 is deleted).
以上説明したように本発明は、基本データファイル保持
手段内に複数の世代の基本データファイルを保持し、業
務ファイル内の各レコードが複数の基本データファイル
中のどの基本データに基づいて作成されたかを示す世代
情報を各レコードに設けること等により、基本データフ
ァイルの変更に起因して業務ファイル内にすでに登録さ
れているレコードと新基本データファイルとの間に矛盾
が生じるという事象の発生を防ぐことができ、業務ファ
イル内のレコ”−ドの正しい更新を保証することができ
るという効果がある。As explained above, the present invention maintains multiple generations of basic data files in the basic data file holding means, and determines which basic data among the multiple basic data files each record in the business file was created based on. By providing generation information indicating this in each record, it is possible to prevent the occurrence of inconsistencies between records already registered in the business file and the new basic data file due to changes in the basic data file. This has the effect of ensuring that records in business files are updated correctly.
第1図は本発明の一実施例の構成を示すブロック図、
第2図は第1図に示すファイル管理方式により業務ファ
イル内に新規なレコードが作成される場合の動作を説明
するための図、
第3図は第1図に示すファイル管理方式により基本デー
タファイル保持手段内の新基本データファイルが用いら
れて業務ファイル内のレコードの更新が行われる場合の
動作を説明するための図、第4図+al〜telは第1
図に示すファイル管理方式により基本データファイル保
持手段内の旧基本データファイルが用いられて業務ファ
イル内のレコードの更新が行われる場合の動作を説明す
るための図である。
図において、
l・・・基本データファイル保持手段、2・・・作業フ
ァイル、
3・・・業務ファイル、
4・・・世代情報判定手段、
5・・・基本データファイル展開手段、6・・・業務フ
ァイルレコード作成/更新手段、11・・・新基本デー
タファイル、
12・・・旧基本データファイル、
30・・・世代情報である。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a diagram for explaining the operation when a new record is created in a business file using the file management method shown in FIG. 1. , FIG. 3 is a diagram for explaining the operation when a new basic data file in the basic data file holding means is used to update a record in a business file according to the file management method shown in FIG. 1. Figure 4 + al ~ tel is the first
FIG. 3 is a diagram for explaining an operation when a record in a business file is updated using an old basic data file in a basic data file holding means according to the file management method shown in the figure. In the figure, l... Basic data file holding means, 2... Work file, 3... Business file, 4... Generation information determination means, 5... Basic data file expansion means, 6... Business file record creation/update means, 11... New basic data file, 12... Old basic data file, 30... Generation information.
Claims (1)
ータファイル保持手段と、 業務ファイル内のレコードを更新する際に当該レコード
中の世代情報に基づいて当該レコードがどの世代の基本
データファイルに基づいて作成されたかを判定する世代
情報判定手段と、 この世代情報判定手段により判定された世代の基本デー
タファイルを前記基本データファイル保持手段から作業
ファイルに展開する基本データファイル展開手段と、 この基本データファイル展開手段により作業ファイルに
展開された基本データファイルに基づいて当該レコード
の更新を行う業務ファイルレコード作成/更新手段と を有することを特徴とするファイル管理方式。[Claims] Basic data file holding means that holds basic data files of multiple generations; generation information determining means for determining whether the basic data file has been created based on the basic data file; and basic data file expanding means for expanding the basic data file of the generation determined by the generation information determining means from the basic data file holding means into a work file. and business file record creation/update means for updating the record based on the basic data file developed into a work file by the basic data file development means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63246522A JPH0293837A (en) | 1988-09-30 | 1988-09-30 | File control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63246522A JPH0293837A (en) | 1988-09-30 | 1988-09-30 | File control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0293837A true JPH0293837A (en) | 1990-04-04 |
Family
ID=17149652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63246522A Pending JPH0293837A (en) | 1988-09-30 | 1988-09-30 | File control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0293837A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5894045A (en) * | 1981-11-30 | 1983-06-04 | Fujitsu Ltd | Data processing system |
JPS59125439A (en) * | 1982-12-30 | 1984-07-19 | Fujitsu Ltd | Securing system for compatibility between new and old libraries |
-
1988
- 1988-09-30 JP JP63246522A patent/JPH0293837A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5894045A (en) * | 1981-11-30 | 1983-06-04 | Fujitsu Ltd | Data processing system |
JPS59125439A (en) * | 1982-12-30 | 1984-07-19 | Fujitsu Ltd | Securing system for compatibility between new and old libraries |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6341308B1 (en) | Input/output device information management system for multi-computer system | |
JPH04342025A (en) | Text managing and restoring system | |
JPH0293837A (en) | File control system | |
JP3112785B2 (en) | File management system | |
JPWO2004090726A1 (en) | Database replication program and database replication apparatus | |
JPH0256666A (en) | System for dynamically updating job network unitary control system generating information | |
JPH05298173A (en) | Distributed file synchronizing and updating system | |
JPH0512087A (en) | System for outputting pre-updating journal | |
JPH05242176A (en) | Generation control system for drawing | |
JPH10320256A (en) | Data update control method and device for distributed database system | |
JP2647044B2 (en) | History management method | |
JPH01140353A (en) | System for maintaining data in data base | |
KR100298168B1 (en) | Method for processing and editing of phone number update data | |
JPH0438548A (en) | Network constitution control system | |
JP2818538B2 (en) | Journal file division management method and journal file division management method | |
JP4667966B2 (en) | Graphic information management system | |
CN117093592A (en) | Data updating method, device and medium | |
JP3331600B2 (en) | Production plan management device | |
JPH02211557A (en) | Data base saving system | |
JPH04351147A (en) | Additional service execution program management system | |
JPS63178325A (en) | System level up method | |
JPH03269648A (en) | Data offer system | |
JPH07325708A (en) | System constitution management system | |
JP2003050720A (en) | Method and program for acquiring information in online system, and computer readable recording medium in which the same program is recorded | |
JPH02249026A (en) | High speed patch executing method |