JPH0981423A - Dividing type order organized file device - Google Patents

Dividing type order organized file device

Info

Publication number
JPH0981423A
JPH0981423A JP7235098A JP23509895A JPH0981423A JP H0981423 A JPH0981423 A JP H0981423A JP 7235098 A JP7235098 A JP 7235098A JP 23509895 A JP23509895 A JP 23509895A JP H0981423 A JPH0981423 A JP H0981423A
Authority
JP
Japan
Prior art keywords
file
garbage
pam
deletion
section
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.)
Granted
Application number
JP7235098A
Other languages
Japanese (ja)
Other versions
JP3037113B2 (en
Inventor
Fumihisa Onoda
文久 小野田
Kaoru Kobayashi
薫 小林
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP7235098A priority Critical patent/JP3037113B2/en
Publication of JPH0981423A publication Critical patent/JPH0981423A/en
Application granted granted Critical
Publication of JP3037113B2 publication Critical patent/JP3037113B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To eliminate the necessity of consciously deleting garbage and to relieve the burden on a user by periodically performing a garbage deletion processing for a file of garbage existence. SOLUTION: In accordance with the instruction by a user, a PAM file edition processing part 1-1 performs edition processings such as the addition, the update and the deletion of the member in the file of a PAM file part 1-4 storing the file that the user instructs. In the case of the update and deletion of the member, queuings to a garbage file queue part 1-3 are performed for the file names for which these processings are performed. A garbage deletion part 1-2 refers to the garbage file queue part 1-3 for every fixed time interval and performs the deletion processing of garbage for the PAM file part 1-4 corresponding to the file name for which the queuing to the part 1-3 is performed. Thus, the PAM file part 1-4 periodically performs the deletion processing of garbage for only the file for which the queuing is performed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は分割型順編成フアイ
ル装置に関し、特に一定時間毎に効率よくガベージの削
除を行なえる分割型順編成フアイル装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a split type sequential knitting file device, and more particularly to a split type sequential knitting file device capable of efficiently deleting garbage at regular intervals.

【0002】[0002]

【従来の技術】分割型順編成のフアイルは、プログラム
ライブラリのように、比較的少量のフアイルをメンバと
して多数個スペース効率よく収めるのに適しており、よ
く使用されている。
2. Description of the Related Art A divided sequential file is suitable for accommodating a large number of relatively small files as members, such as a program library, and is often used.

【0003】すなわち、分割型順編成のフアイルは、そ
れぞれ順編成フアイルの形式をした複数個のメンバから
構成されており、そのメンバは作成順にメンバ実体部に
収容され、メンバ名をキーとしてメンバの格納位置をデ
イレクトリ部に記録している。
That is, a divided type sequential file is composed of a plurality of members each in the form of a sequential file, and the members are accommodated in the member substance section in the order of creation, and the members are named with the member name as a key. The storage location is recorded in the directory section.

【0004】このような分割型順編成のフアイルに対す
るメンバの追加、更新および削除について説明する。
The addition, update, and deletion of members for such a divided sequential file will be described.

【0005】分割型順編成のフアイルに対する新しいメ
ンバの追加は、デイレクトリ部を参照して、既存のメン
バの中の最後のメンバの次から作成順にメンバ実体部に
収容する。それとともに、追加されたメンバの名称とそ
の格納位置をデイレクトリ部に登録する。
When a new member is added to a divided sequential file, the directory part is referred to and accommodated in the member entity part in the order of creation from the end of the last existing member. At the same time, the name of the added member and its storage location are registered in the directory section.

【0006】既存のメンバの内容を更新する場合には、
先ず、内容が更新されたメンバをデイレクトリ部を参照
して既存のメンバの中の最後のメンバの次からメンバ実
体部に収容し、その収容位置に基ずいて、デイレクトリ
部にある対応するメンバ名に記録してある旧格納位置を
新格納位置に変更する。メンバ名は変更しない。このた
め、メンバ実体部の旧格納位置にある更新前の旧メンバ
実体は、2度と読み出されることがない無効データとな
ったままフアイル内に残存することとなる。
When updating the contents of existing members,
First, the members whose contents have been updated are stored in the member entity part from the end of the existing members by referring to the directory part, and the corresponding member name in the directory part is stored based on the storage position. Change the old storage location recorded in to the new storage location. Do not change the member name. For this reason, the old member entity before the update, which is located in the old storage position of the member entity part, remains in the file as invalid data that is never read.

【0007】既存のメンバの削除に際しては、デイレク
トリ部のメンバ名とその格納位置とを削除するのみで、
メンバ実体部にある削除対象のメンバ実体については、
上述の更新対象となった旧メンバ実体と同様、2度と読
み出されることがない無効データとなったままフアイル
内に残存することとなる。
When deleting an existing member, simply delete the member name and its storage location in the directory section.
For the member entity to be deleted in the member entity section,
Like the old member entity that has been updated, the invalid data that will never be read remains in the file as invalid data.

【0008】このように分割型順編成のフアイルのメン
バの更新および削除に際しては、以前に登録されていた
メンバ実体は無効となり、そのメンバ領域はガベージと
して残存することとなりメモリの有効活用をすることが
できないという問題があった。
As described above, when updating and deleting the members of the divided sequential file, the previously registered member entity becomes invalid, the member area remains as garbage, and the memory is effectively used. There was a problem that I could not do it.

【0009】そこで、従来はメンバの追加、更新の都
度、この分割型順編成のフアイルのガベージをユーザが
意識して不都合が起らないように、必要に応じて削除し
ているのが常であった。
Therefore, conventionally, each time a member is added or updated, the garbage in the divided sequential file is usually deleted as necessary so that the user does not have any inconvenience. there were.

【0010】また、このユーザの負担を解決するため
に、メンバの更新に際しては、更新対象のメンバを先ず
消去し、次いで、フアイルに残存するメンバをコンデン
ス(メンバ実体部の先頭から詰め直す)してガベージを
削除し、その後、これらに内容が更新されたメンバを追
加するという方式が特開昭58−163054号公報に
開示されている。
Further, in order to solve the burden on the user, when updating a member, the member to be updated is first erased, and then the members remaining in the file are condensed (refilling from the head of the member entity portion). Japanese Laid-Open Patent Publication No. 58-163054 discloses a method in which garbage is deleted by adding the members whose contents have been updated.

【0011】[0011]

【発明が解決しようとする課題】上述した従来の分割型
順編成フアイルシステムのユーザが意識して行なうガベ
ージ削除方式では、常にユーザは分割型順編成フアイル
システムのガベージの状態を把握しておかなければなら
ず、ユーザに対して多大の負担を強いるという欠点があ
る。
In the conventional garbage deleting method of the divided sequential file system, the user must always keep track of the garbage state of the divided sequential file system. However, there is a drawback that it imposes a heavy burden on the user.

【0012】また、特開昭58−163054号公報記
載の更新の都度行なう分割型順編成フアイルシステムガ
ベージ削除方式では、メンバ追加時にメンバ削除により
生じたガベージによる不都合は避けられず、このため、
メンバ追加時にも、フアイルメンバのコンデンス作業を
行なわなければならず、メンバ更新、追加時の処理の性
能が劣化するという問題点がある。
Further, in the division type sequential file system garbage deletion method described in Japanese Patent Laid-Open No. 58-163054, which is carried out each time updating is performed, the inconvenience due to the garbage generated by the member deletion at the time of adding members cannot be avoided.
Even when a member is added, the condensation work of the file member has to be performed, and there is a problem that the performance of the processing at the time of member update and addition is deteriorated.

【0013】本発明の目的はメンバの更新および削除処
理を行なったフアイルを記憶しておき、一定時間ごとに
これらのフアイルについてガベージ削除処理を行なうこ
とにより、メモリの効率的活用ができる分割型順編成フ
アイル装置を提供することにある。
The object of the present invention is to store the files that have been subjected to the member update and deletion processing, and to perform the garbage deletion processing for these files at regular intervals so that the memory can be efficiently used in a divided order. It is to provide a knitting file device.

【0014】[0014]

【課題を解決するための手段】第1の発明の分割型順編
成フアイル装置は、分割型順編成フアイルを複数格納す
るフアイル格納手段と、前記フアイル格納手段に格納さ
れている分割型順編成フアイルを構成するメンバの更新
削除および追加を行なうフアイル編集処理手段と、前記
フアイル編集処理手段によりメンバの更新または削除が
行なわれてガベージを有するフアイルの識別子を記憶す
るガベージフアイル記憶手段と、前記ガベージフアイル
記憶手段に記憶されているフアイル識別子に対応するフ
アイルのガベージを定期的に削除するガベージ削除手段
とを含んで構成されている。
According to a first aspect of the present invention, there is provided a split type sequential knitting file device, a file storing means for storing a plurality of split type sequential knitting files, and a split type sequential knitting file stored in the file storing means. A file edit processing means for updating and deleting and adding a member, a garbage file storing means for storing an identifier of a file which is updated or deleted by the file editing processing means and has a garbage, and the garbage file. And a garbage deleting means for periodically deleting the garbage of the file corresponding to the file identifier stored in the storage means.

【0015】第2の発明の分割型順編成フアイル装置
は、第1の発明の分割型順編成フアイル装置において、
ガベージフアイル記憶手段はメンバの更新または削除が
行なわれてガベージを有するフアイルの識別子を待ち行
列として記憶することを特徴としている。
The split type forward knitting file device of the second invention is the split type forward knitting file device of the first invention,
The garbage file storage means is characterized in that the identifier of a file having a garbage which has been updated or deleted is stored as a queue.

【0016】[0016]

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

【0017】図1は本発明の分割型順編成フアイル装置
の一実施の形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a split type sequential knitting file device of the present invention.

【0018】本実施の形態の分割型順編成フアイル装置
は、図1に示すように、分割型順編成フアイル(Par
titioned Access Method Fi
le、以下PAMフアイルと略す)の追加、更新および
削除処理を行なうPAMフアイル編集処理部1−1と、
一定期間ごとに無効になったメンバ、すなわち、ガベー
ジの削除処理を行なうガベージ削除部1−2と、メンバ
の更新および削除処理が行なわれたフアイル、すなわ
ち、ガベージのあるフアイルを記憶するガベージフアイ
ル・キュー部1−3と、複数のPAMフアイル部1−4
とを含んで構成されている。
As shown in FIG. 1, the split type forward knitting file apparatus of the present embodiment has a split type forward knitting file (Par).
Titted Access Method Fi
le, hereinafter abbreviated as PAM file), a PAM file edit processing section 1-1 for adding, updating, and deleting.
A member that is invalidated at regular intervals, that is, a garbage removing unit 1-2 that performs garbage deletion processing, and a file that has been updated and deleted, that is, a garbage file that stores a file with garbage. Queue section 1-3 and a plurality of PAM file sections 1-4
It is comprised including.

【0019】PAMフアイル部1−4は、このフアイル
に格納されているメンバの実体を格納しているメンバ実
体部1−4−2と、格納されているメンバの名称とそれ
が格納されているメンバ実体部1−4−2の先頭アドレ
スSと最終アドレスEとを格納しているデイレクトリ部
1−4−1とを含んで構成されている。
The PAM file section 1-4 stores a member entity section 1-4-2 that stores the entity of the member stored in this file, the name of the stored member and the name of the member. It is configured to include a directory section 1-4-1 which stores a start address S and a final address E of the member entity section 1-4-2.

【0020】PAMフアイル編集処理部1−1のPAM
フアイル部1−4に対するメンバの追加、更新および削
除について説明する。
PAM of PAM file edit processing section 1-1
The addition, update and deletion of members to the file unit 1-4 will be described.

【0021】PAMフアイル部1−4に対する新しいメ
ンバの追加は、デイレクトリ部1−4−1を参照して、
既存のメンバの中の最後のメンバの次から作成順にメン
バ実体部1−4−2に収容する。それとともに、追加さ
れたメンバの名称とその格納位置を示すSおよびEをデ
イレクトリ部1−4−1に登録する。
For adding a new member to the PAM file section 1-4, refer to the directory section 1-4-1.
The members are accommodated in the member actual part 1-4-2 in the order of creation from the last member of the existing members. At the same time, the names of the added members and S and E indicating their storage positions are registered in the directory unit 1-4-1.

【0022】既存のメンバの内容を更新する場合には、
先ず、内容が更新されたメンバをデイレクトリ部1−4
−1を参照して既存のメンバの中の最後のメンバの次か
らメンバ実体部1−4−2に収容し、その収容位置に基
ずいて、デイレクトリ部1−4−1にある対応するメン
バ名に記録してある旧格納位置を新格納位置に変更す
る。メンバ名は変更しない。このため、メンバ実体部1
−4−2の旧格納位置にある更新前の旧メンバ実体は、
2度と読み出されることがない無効データとなったまま
フアイル内に残存することとなる。なお、メンバが更新
されたフアイル名はガベージフアイル・キュー部1−3
に送出されキューイングされる。
When updating the contents of existing members,
First, the members whose contents have been updated are searched for in the directory section 1-4.
-1 is stored in the member entity part 1-2-2 from the end of the last member among the existing members with reference to -1, and the corresponding member in the directory part 1-4-1 is based on the storage position. Change the old storage location recorded in the name to the new storage location. Do not change the member name. Therefore, the member entity part 1
-The old member entity before the update in the old storage position of -4-2 is
The invalid data that will never be read remains in the file. The file name for which the member has been updated is the garbage file cue unit 1-3.
Sent to and queued.

【0023】既存のメンバの削除に際しては、デイレク
トリ部1−4−1のメンバ名とその格納位置とを削除す
るのみで、メンバ実体部1−4−2にある削除対象のメ
ンバ実体については、上述の更新対象となった旧メンバ
実体と同様、2度と読み出されることがない無効データ
となったままフアイル内に残存することとなる。なお、
メンバが削除されたフアイル名はガベージフアイル・キ
ュー部1−3に送出されキューイングされる。
When deleting an existing member, only the member name of the directory section 1-4-1 and its storage position are deleted, and the member entity to be deleted in the member entity section 1-4-2 is Like the old member entity that has been updated, the invalid data that will never be read remains in the file as invalid data. In addition,
The file name from which the member has been deleted is sent to the garbage file queue unit 1-3 for queuing.

【0024】ガベージフアイル・キュー部1−3はPA
Mフアイル編集処理部1−1から供給されたメンバが更
新または削除されたフアイル名をキューイングし、ガベ
ージの削除されたフアイル名をキューから外す。
The garbage file cue unit 1-3 is a PA
The member supplied from the M-file edit processing unit 1-1 queues the updated or deleted file name, and removes the deleted file name of garbage from the queue.

【0025】ガベージ削除部1−2は一定期間ごとに起
動され、ガベージフアイル・キュー部1−3を参照して
これに記憶されているフアイル名に対応するPAMフア
イル部1−4のデイレクトリ部1−4−1を参照して、
メンバの詰直しを行ないガベージを削除する。
The garbage removing unit 1-2 is activated at regular intervals, and the garbage file cue unit 1-3 is referred to, and the directory unit 1 of the PAM file unit 1-4 corresponding to the file name stored therein is referred to. -4-1,
Refill members and remove garbage.

【0026】図2はPAMフアイル編集処理部1−1の
編集処理の動作を示す流れ図、図3はガベージ削除部1
−2のガベージ削除処理の動作を示す流れ図である。
FIG. 2 is a flowchart showing the operation of the editing process of the PAM file editing processing section 1-1, and FIG. 3 is the garbage removing section 1
2 is a flowchart showing an operation of a garbage deletion process of -2.

【0027】図1〜図3を参照して本実施の形態の更新
処理動作およびガベージ削除処理動作について説明す
る。
The update processing operation and the garbage deletion processing operation of this embodiment will be described with reference to FIGS.

【0028】図1を参照して、先ず、本実施の形態の概
要動作を説明する。
First, with reference to FIG. 1, a general operation of the present embodiment will be described.

【0029】ユーザの指示に従って、PAMフアイル編
集処理部1−1はユーザが指示したフアイルを格納して
いるPAMフアイル部1−4にあるフアイルへのメンバ
の追加、更新および削除等の編集処理を行ない、メンバ
の更新および削除の場合にはこれらの処理が行なわれた
フアイル名をガベージフアイル・キュー部1−3にキュ
ーイングする。
According to the user's instruction, the PAM file edit processing section 1-1 performs edit processing such as addition, update and deletion of members to the file in the PAM file section 1-4 storing the file instructed by the user. In the case of updating and deleting members, the file names subjected to these processes are queued in the garbage file queue unit 1-3.

【0030】一定時間間隔ごとに、ガベージ削除部1−
2はガベージフアイル・キュー部1−3を参照してこれ
にキューイングされているフアイル名に対応するPAM
フアイル部1−4に対し、ガベージの削除処理を行な
う。このようにして、PAMフアイル部1−4は定期的
にかつ、キューイングされているフアイルについてのみ
ガベージの削除処理を行なうことにより、ユーザに負担
を強いることなく、かつ、従来よりも短時間でガベージ
の削除処理を行なうことができ、PAMフアイル部1−
4を格納するメモリの効率的活用ができることとなる。
The garbage removing unit 1-at regular time intervals
2 refers to the garbage file cue section 1-3, and the PAM corresponding to the file name queued to this
Garbage deletion processing is performed on the file units 1-4. In this way, the PAM file unit 1-4 performs the garbage deletion processing only for the queued files at regular intervals, without imposing a burden on the user and in a shorter time than before. Garbage can be deleted, and PAM file section 1-
Therefore, the memory for storing 4 can be efficiently used.

【0031】PAMフアイル部1−4は当初、図2に示
すように、メンバ実体部1−4−2にはメンバ名がメン
バ1からメンバnのn個のメンバ実体をガベージ領域が
存在しないように詰めて格納しており、それぞれの格納
位置は、それぞれのメンバ名に対応してその格納位置の
先頭アドレスSと最終アドレスEとが格納されているデ
イレクトリ部1−4−1により知ることができる。
Initially, as shown in FIG. 2, the PAM file unit 1-4 does not have a garbage area for n member entities having member names 1 to n in the member entity unit 1-4-2. , And each storage position can be known by the directory unit 1-4-1 in which the start address S and the end address E of the storage position are stored corresponding to each member name. it can.

【0032】次に、PAMフアイル編集処理部1−1の
編集処理動作中のメンバの更新処理動作について図2を
参照して詳述する。
Next, the member update processing operation during the edit processing operation of the PAM file edit processing section 1-1 will be described in detail with reference to FIG.

【0033】PAMフアイル編集処理部1−1はユーザ
の指示したフアイルを格納するPAMフアイル部1−4
の更新依頼により起動される(ステップ1)。更新依頼
の例としてフアイルaのメンバ3をその内容を更新した
新メンバ3に更新する依頼について説明する。
The PAM file edit processing section 1-1 stores the file specified by the user in the PAM file section 1-4.
Is activated by the update request (step 1). As an example of the update request, a request to update the member 3 of the file a to the new member 3 whose content has been updated will be described.

【0034】次いで、PAMフアイル編集処理部1−1
はデイレクトリ部1−4−1の各メンバの最終アドレス
を参照してその最も大きいアドレス値を有するメンバ
(この場合はメンバn)の次から更新された内容の新メ
ンバ3をメンバ実体部1−4−2の2重枠の位置に格納
する(ステップ2)。
Next, the PAM file edit processing section 1-1
Refers to the final address of each member of the directory portion 1-4-1, and sets a new member 3 having the updated content from the member having the largest address value (in this case, the member n). It is stored in the position of the double frame 4-2 (step 2).

【0035】次に、デイレクトリ部1−4−1にあるメ
ンバ3に対応する格納位置をステップ2で格納した新メ
ンバ3の格納位置である先頭アドレスSおよび最終アド
レスEに書き換える(旧アドレスに対応する位置は点線
矢印で、新アドレスに対応する位置は太線矢印で示され
ている)(ステップ3)。
Next, the storage position corresponding to the member 3 in the directory section 1-4-1 is rewritten to the start address S and the final address E which are the storage positions of the new member 3 stored in step 2 (corresponding to the old address). The position indicated by the dotted arrow is shown, and the position corresponding to the new address is shown by the thick arrow) (step 3).

【0036】かくすることにより以前に格納されていた
メンバ3の実体は2度と読み出されることがない無効デ
ータ、すなわち、ガベージとなってフアイルaに残存す
ることとなる(このことをその領域をハッチングするこ
とにより示している)。
By doing so, the entity of the member 3 previously stored is invalid data which is never read out, that is, it remains as garbage in the file a (this area is stored in the area a). It is shown by hatching).

【0037】次いで、PAMフアイル編集処理部1−1
は、更新処理を行なったフアイル名aをガベージフアイ
ル・キュー部1−3にキューイングしてガベージ削除処
理の対象フアイルになったことを記憶してメンバの更新
処理動作を終了する(ステップ4)。このとき、同一フ
アイル名が既にキューイングされている場合にはそのフ
アイル名のキューイングは行なわない。
Next, the PAM file edit processing section 1-1
Stores the file name a for which the update processing has been performed in the garbage file queue unit 1-3 and stores that it has become the target file for the garbage deletion processing, and ends the update processing operation of the member (step 4). . At this time, if the same file name has already been queued, that file name is not queued.

【0038】次に、ガベージ削除部1−2のガベージ削
除処理動作について図3を参照して詳述する。
Next, the garbage deletion processing operation of the garbage deletion unit 1-2 will be described in detail with reference to FIG.

【0039】ガベージ削除処理動作の例として、前述の
フアイルaのメンバ3が更新されて生じたガベージを削
除する場合について説明する。削除処理前のPAMフア
イル部1−4を図3の下部左側に(ガベージ領域をハッ
チングにより示す)、削除処理後のPAMフアイル部1
−4を図3の下部右側に示す。
As an example of the garbage deletion processing operation, the case of deleting the garbage generated by updating the member 3 of the file a will be described. The PAM file part 1-4 before the deletion process is shown on the lower left side of FIG. 3 (the garbage area is shown by hatching), and the PAM file part 1 after the deletion process is shown.
-4 is shown on the lower right side of FIG.

【0040】ガベージ削除部1−2は内蔵するタイマに
より定期的に起動されて以下に述べるガベージ削除処理
動作を行ない、このガベージ削除処理動作終了に応じて
タイマを始動する。
The garbage removing section 1-2 is periodically activated by a built-in timer to perform the garbage removing processing operation described below, and the timer is started in response to the end of the garbage removing processing operation.

【0041】タイマは始動後一定時間経過後にガベージ
削除部1−2のガベージ削除処理動作の起動が行なわれ
る(ステップ21)。
The timer starts the garbage removing processing operation of the garbage removing unit 1-2 after a lapse of a certain time after starting (step 21).

【0042】ガベージ削除部1−2はガベージフアイル
・キュー部1−3にキューイングされているフアイル
(メンバの更新または削除処理がおこなわれたフアイ
ル)名を次々と読み出し(ステップ22)、以下に述べ
るガベージ削除処理動作を行なう。
The garbage deleting unit 1-2 reads the file names (files whose members have been updated or deleted) queued in the garbage file cue unit 1-3 one after another (step 22). The garbage deletion processing operation described below is performed.

【0043】ガベージ削除部1−2はPAMフアイル部
1−4のデイレクトリ部1−4−1を調べ、ガベージ領
域の先頭アドレス、すなわち、図3のメンバ2の最終ア
ドレスEより得て、ガベージ領域より後のメンバ実体
(2重枠の領域、メンバ4〜n、およびメンバ3の実
体)をガベージ領域の先頭アドレスからコピーする(ス
テップ23)。
The garbage removing section 1-2 checks the directory section 1-4-1 of the PAM file section 1-4 and obtains it from the start address of the garbage area, that is, the final address E of the member 2 in FIG. Subsequent member entities (double frame area, members 4 to n, and entity of member 3) are copied from the start address of the garbage area (step 23).

【0044】次に、デイレクトリ部1−4−1の各メン
バの先頭アドレスSと最終アドレスEとをステップ23
で行なったコピー結果の各メンバの実体の先頭アドレス
Sと最終アドレスEとに書き換える(ステップ24)。
Next, the start address S and the end address E of each member of the directory section 1-4-1 are set in step 23.
The start address S and the final address E of the entity of each member obtained as a result of the copying performed in step S are rewritten (step 24).

【0045】これで、ガベージは削除されたので、ガベ
ージ削除処理動作を終了して、タイマを始動し、次のガ
ベージ削除処理動作に備える(ステップ25)。
Now that the garbage has been deleted, the garbage deletion processing operation is terminated and the timer is started to prepare for the next garbage deletion processing operation (step 25).

【0046】ここで、ガベージ領域が数個所、アドレス
が連続しないで存在したときには、ステップ23と24
のガベージ削除処理を当該数個所のガベージ領域毎に繰
り返して行なう。
If there are several garbage areas and the addresses are not continuous, steps 23 and 24 are performed.
The garbage removal process of is repeatedly performed for each of the several garbage areas.

【0047】以上説明したように、本実施の形態の分割
型順編成フアイル装置は、定期的にガベージのあるフア
イルのガベージ削除処理を行なうことにより、ユーザは
意識してガベージを削除する必要がなくなりユーザの負
担を格段に軽減できる。
As described above, the divided sequential knitting file device of the present embodiment does not need to consciously delete the garbage by the user by regularly performing the garbage deleting process of the file having the garbage. The burden on the user can be significantly reduced.

【0048】更に、メンバの更新および削除が行なわれ
たフアイルのフアイル名を記憶し、これを参照してこれ
らのフアイルに対してのみガベージ削除処理を行なうこ
とにより、ガベージ削除処理が効率的に短時間で行なえ
る。
Further, by storing the file names of the files in which the members have been updated and deleted, and referring to this and performing the garbage deleting process only for these files, the garbage deleting process can be efficiently and shortly performed. You can do it in time.

【0049】また、定期的にガベージ削除処理を行なっ
ているので、通常動作であるフアイルの更新処理等の性
能に影響を与えることはない。
Further, since the garbage deleting process is carried out periodically, there is no influence on the performance of the normal file updating process and the like.

【0050】[0050]

【発明の効果】以上説明したように、本発明の分割型順
編成フアイル装置は、定期的にガベージのあるフアイル
のガベージ削除処理を行なうことにより、ユーザは意識
してガベージを削除する必要がなくなりユーザの負担を
格段に軽減できるという効果を有している。
As described above, the divided sequential knitting file device of the present invention eliminates the need for the user to consciously delete the garbage by regularly performing the garbage deleting process of the file having the garbage. This has the effect of significantly reducing the burden on the user.

【0051】更に、メンバの更新および削除が行なわれ
たフアイルのフアイル名を記憶し、これを参照してこれ
らのフアイルに対してのみガベージ削除処理を行なうこ
とにより、ガベージ削除処理が効率的に短時間で行なえ
るという効果を有する。
Further, by storing the file names of the files in which the members have been updated and deleted, and referring to this and performing the garbage deleting process only for these files, the garbage deleting process can be efficiently performed. It has the effect that it can be done in time.

【0052】また、定期的にガベージ削除処理を行なっ
ているので、通常動作であるフアイルの更新処理等の性
能に影響を与えることはないという効果を有している。
Further, since the garbage deleting process is carried out periodically, there is an effect that it does not affect the performance of the file updating process which is a normal operation.

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

【図1】本発明の分割型順編成フアイル装置の一実施の
形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a split type sequential knitting file device of the present invention.

【図2】本実施の形態の分割型順編成フアイル装置にお
けるPAMフアイル編集処理部1−1の動作の一例を示
す流れ図である。
FIG. 2 is a flowchart showing an example of an operation of a PAM file edit processing section 1-1 in the split type sequential file system of the present embodiment.

【図3】本実施の形態の分割型順編成フアイル装置にお
けるガベージ削除部1−2の動作の一例を示す流れ図で
ある。
FIG. 3 is a flowchart showing an example of the operation of the garbage removing unit 1-2 in the split type sequential knitting file device according to the present embodiment.

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

1−1 PAMフアイル編集処理部 1−2 ガベージ削除部 1−3 ガベージフアイル・キュー部 1−4 PAMフアイル部 1−4−1 デイレクトリ部 1−4−2 メンバ実体部 1-1 PAM file editing processing section 1-2 Garbage deleting section 1-3 Garbage file cue section 1-4 PAM file section 1-4-1 Directory section 1-4-2 Member entity section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 分割型順編成フアイルを複数格納するフ
アイル格納手段と、前記フアイル格納手段に格納されて
いる分割型順編成フアイルを構成するメンバの更新削除
および追加を行なうフアイル編集処理手段と、前記フア
イル編集処理手段によりメンバの更新または削除が行な
われてガベージを有するフアイルの識別子を記憶するガ
ベージフアイル記憶手段と、前記ガベージフアイル記憶
手段に記憶されているフアイル識別子に対応するフアイ
ルのガベージを定期的に削除するガベージ削除手段とを
含むことを特徴とする分割型順編成フアイル装置。
1. A file storage means for storing a plurality of division type sequential files, and a file editing processing means for updating, deleting and adding members constituting the division type sequential files stored in the file storage means. The file edit processing means updates or deletes members to store a file identifier of a file having a garbage, and a garbage file storing means for periodically storing the file identifier corresponding to the file identifier stored in the garbage file storing means. A divided type forward knitting file device including a garbage removing means for selectively deleting.
【請求項2】 ガベージフアイル記憶手段はメンバの更
新または削除が行なわれてガベージを有するフアイルの
識別子を待ち行列として記憶することを特徴とする請求
項1記載の分割型順編成フアイル装置。
2. The divided sequential file apparatus according to claim 1, wherein the garbage file storage means stores, as a queue, identifiers of files which have been updated or deleted and which have garbage.
JP7235098A 1995-09-13 1995-09-13 Split type sequential knitting file device Expired - Fee Related JP3037113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7235098A JP3037113B2 (en) 1995-09-13 1995-09-13 Split type sequential knitting file device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7235098A JP3037113B2 (en) 1995-09-13 1995-09-13 Split type sequential knitting file device

Publications (2)

Publication Number Publication Date
JPH0981423A true JPH0981423A (en) 1997-03-28
JP3037113B2 JP3037113B2 (en) 2000-04-24

Family

ID=16981034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7235098A Expired - Fee Related JP3037113B2 (en) 1995-09-13 1995-09-13 Split type sequential knitting file device

Country Status (1)

Country Link
JP (1) JP3037113B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01226049A (en) * 1988-03-04 1989-09-08 Nec Corp Garbage system for disk volume
JPH04148247A (en) * 1990-10-08 1992-05-21 Nec Corp Automatic file optimization processing system for random-accessible storage device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01226049A (en) * 1988-03-04 1989-09-08 Nec Corp Garbage system for disk volume
JPH04148247A (en) * 1990-10-08 1992-05-21 Nec Corp Automatic file optimization processing system for random-accessible storage device

Also Published As

Publication number Publication date
JP3037113B2 (en) 2000-04-24

Similar Documents

Publication Publication Date Title
JP4237354B2 (en) Transaction processing method and transaction processing system
JP3543661B2 (en) Buffer cache method and apparatus in exchange file system
JPH0981423A (en) Dividing type order organized file device
JP2570969B2 (en) Memory management system and method
JPH0394377A (en) Map file updating system
JP4057480B2 (en) Event management method and event management apparatus
JP2523499B2 (en) Access control method
JPH0398110A (en) Multiplex data reading system
JPH05151037A (en) Reorganization processing system for database in business processing
JP2901543B2 (en) Magnetic disk file relocation method
JP2743849B2 (en) Update buffer management device
JPH06332777A (en) Transaction processing system
JP3858648B2 (en) Data storage area management method and apparatus
JPH11212838A (en) System and method for change record history management by table split
JPH09251409A (en) File system
JP3092663B2 (en) Main memory swapping method
JP2003076593A (en) Database management method and system
JPH11338751A (en) Multi-file multi-volume managing device
JPH06119219A (en) File data precedence read-in system
JPH0793192A (en) File managing method
JPS63239540A (en) Data management system in memory medium
JPH06259293A (en) Useless document batch deleting device
JPH1011341A (en) Automatic update system for cad library
JP2000099383A (en) System and method for managing database and storage medium
JPH08320862A (en) System and method for document management

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: 20000208

LAPS Cancellation because of no payment of annual fees