JPH06195253A - File management device - Google Patents

File management device

Info

Publication number
JPH06195253A
JPH06195253A JP4343659A JP34365992A JPH06195253A JP H06195253 A JPH06195253 A JP H06195253A JP 4343659 A JP4343659 A JP 4343659A JP 34365992 A JP34365992 A JP 34365992A JP H06195253 A JPH06195253 A JP H06195253A
Authority
JP
Japan
Prior art keywords
file
file name
name
unit
entity
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
JP4343659A
Other languages
Japanese (ja)
Inventor
Naoto Fujiki
直人 藤木
Yoshiaki Seki
良明 関
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP4343659A priority Critical patent/JPH06195253A/en
Publication of JPH06195253A publication Critical patent/JPH06195253A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To precisely manage the entities and the names of files scattered about plural file systems. CONSTITUTION:A first file name giving part 102 gives a first file name which corresponds to the entity of the file by one to one for uniquely identifying the entity of the file, and a second file name giving part 202 gives a second file name which corresponds to the first file name by one to many for identifying the file. A file name management part 302 connects the first file name and the second file name by one to many and a connecting number management part 402 manages the connecting number of one to many. Thus, the plural names are given to the entity of one file on the plural file systems. The first file name giving part 102 gives the first file name which corresponds to the entity of the new file which is corrected by a correction processing part 802 by one to one, and the connecting number of the connecting number management part 402 is reduced by one. The corrected file is stored as a different file.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワーク上に複数
の計算機とファイルシステムが存在し、複数のファイル
システムに点在するファイルの実体とファイルの実体に
付けられた名前を管理するファイル管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management apparatus which has a plurality of computers and file systems on a network and manages the file entities scattered in the plurality of file systems and the names given to the file entities. Regarding

【0002】[0002]

【従来の技術】従来、ファイルの実体に複数のファイル
名を付与する手段として、オペレーティングシステムが
提供するファイル管理機能(例えばアスキー出版局、Br
ian W.Kernighan 他、石田晴久監訳「UNIXプログラ
ミング環境」)のファイル管理(例えばハードリンク)
がある。
2. Description of the Related Art Conventionally, a file management function provided by an operating system (for example, ASCII Publisher, Br.
ian W. Kernighan and others, "UNIX programming environment" translated by Haruhisa Ishida) File management (eg hard link)
There is.

【0003】図4に従来のオペレーティングシステムが
提供するファイル管理機能を実現するファイル管理装置
のブロック図を示す。以下では、前記参考文献で使用し
ている言葉を利用して説明する。
FIG. 4 shows a block diagram of a file management device which realizes a file management function provided by a conventional operating system. Hereinafter, description will be made using the terms used in the above-mentioned references.

【0004】同図において、101はリンク管理部であ
り、1つのファイルシステム内でファイルの実体に唯一
に付与されるi番号(インデックス番号)と主にユーザ
が付与するファイル名を結び付ける(リンクする)もの
である。201はiノード(インデックスノード)管理
部であり、i番号、リンク数及びファイル実体が格納さ
れているアドレス等の管理を行う。301はリンクの数
が1であるか2以上であるかを判定するリンク数判定
部、401はファイルの実体を蓄積する情報蓄積部であ
る。501は通信制御部であり、ファイル管理装置を含
む計算機を通信網601に接続するものである。701
は制御部であり、リンク管理部101、iノード管理部
201、リンク数判定部301、情報蓄積部401及び
通信制御部501を制御する。i番号とファイルの実体
は1対1に対応しているが、i番号とファイル名は1対
多の対応が可能である。
In FIG. 1, reference numeral 101 denotes a link management unit, which links (links) an i number (index number) uniquely assigned to a file entity in one file system and a file name mainly given by a user. ). An i-node (index node) management unit 201 manages an i-number, the number of links, an address where a file entity is stored, and the like. Reference numeral 301 is a link number determination unit that determines whether the number of links is 1 or 2 or more, and 401 is an information storage unit that stores the substance of the file. A communication control unit 501 connects a computer including a file management device to the communication network 601. 701
Is a control unit, which controls the link management unit 101, the inode management unit 201, the link number determination unit 301, the information storage unit 401, and the communication control unit 501. The i-number and the substance of the file have a one-to-one correspondence, but the i-number and the file name can have a one-to-many correspondence.

【0005】図5および図6は、図4の装置の動作を示
すフロー図である。
5 and 6 are flow charts showing the operation of the apparatus of FIG.

【0006】図5を用いて、ファイルの実体の連結処理
について説明する。連結処理は、既に存在するファイル
に別の名前を与え、リンクを作成する処理である。連結
処理は、ユーザが通信網601から通信制御部501を
通して、オペレーションを入力することによって開始さ
れる(ステップ11)。入力するオペレーションの内容
は、連結のためのオペレーション名、リンク元のファイ
ル名、リンク先のファイル名である。制御部701の指
示により、iノード管理部201が管理する当該ファイ
ルのiノードを指定する(ステップ21)。制御部70
1の指示により、iノード管理部201中のリンク数を
1増やし(ステップ31)、連結処理を終了する(ステ
ップ41)。
The process of concatenating file entities will be described with reference to FIG. The concatenation process is a process of giving a different name to an already existing file and creating a link. The connection process is started when the user inputs an operation from the communication network 601 through the communication control unit 501 (step 11). The contents of the input operation are an operation name for concatenation, a link source file name, and a link destination file name. The inode of the file managed by the inode management unit 201 is designated by the instruction of the control unit 701 (step 21). Control unit 70
By the instruction of 1, the number of links in the inode management unit 201 is increased by 1 (step 31), and the connection processing is ended (step 41).

【0007】図6を用いて、ファイルの連結解除処理に
ついて説明する。ファイルの連結を解除する場合は、ユ
ーザが通信網601から通信制御部501を通して、フ
ァイルを削除するオペレーションを入力することによっ
て開始される(ステップ12)。入力するオペレーショ
ンの内容は、ファイル削除のためのオペレーション名、
削除するファイル名である。オペレーションが入力され
ると、制御部701の指示により、iノード管理部20
1が管理する当該ファイルのiノードを指定し、リンク
数判定部301へリンク数を出力する(ステップ2
2)。リンク数判定部301はiノードのリンク数が2
以上であるか否かを判断する(ステップ32)。リンク
数が2以上の場合、制御部701の指示により、リンク
数を1減らし(ステップ42)、連結解除処理を終了す
る(ステップ62)。リンク数が1の場合は、制御部7
01の指示により、情報蓄積部401から当該ファイル
の実体を削除し(ステップ52)、連結解除処理を終了
する(ステップ62)。
The file decoupling process will be described with reference to FIG. When disconnecting the files, the user starts by inputting an operation for deleting the files from the communication network 601 through the communication control unit 501 (step 12). The contents of the input operation are the operation name for file deletion,
This is the name of the file to be deleted. When the operation is input, the inode management unit 20 is instructed by the control unit 701.
1 specifies the inode of the file managed by 1 and outputs the number of links to the link number determination unit 301 (step 2
2). The link number determination unit 301 determines that the number of links of the inode is 2
It is determined whether or not the above (step 32). When the number of links is 2 or more, the number of links is decremented by 1 according to an instruction from the control unit 701 (step 42), and the connection releasing process is ended (step 62). When the number of links is 1, the control unit 7
By the instruction 01, the substance of the file is deleted from the information storage unit 401 (step 52), and the connection release processing is ended (step 62).

【0008】[0008]

【発明が解決しようとする課題】従来のオペレーティン
グシステムが提供するファイル管理機能のハードリンク
を用いてファイルの連結処理を行った場合、1つのファ
イルシステム内で唯一に付与されるi番号を用いている
ため、異なる複数のファイルシステム間ではi番号が重
複し、ファイル管理装置が唯一に識別できない問題があ
る。
When the file concatenation process is performed using the hard link of the file management function provided by the conventional operating system, the i number uniquely assigned in one file system is used. Therefore, there is a problem that the i numbers are duplicated among different file systems, and the file management device cannot uniquely identify them.

【0009】また、ファイルの実体とファイルの実体に
付与されたファイル名とが1対多に対応している時、1
つのファイル名を用いてファイルの実体に修正が加えら
れると、他のファイル名もその修正されたファイルの実
体と連結されたままであるため同時に修正されるという
問題がある。
When the substance of the file and the file name given to the substance of the file have a one-to-many correspondence, 1
When a file entity is modified using one file name, another file name is also linked to the modified file entity and is also modified at the same time.

【0010】さらに、ネットワーク上に複数の計算機が
存在し、複数のファイルシステムに点在してファイルの
実体が蓄積されている場合、ファイルシステムに属する
1つのファイルが、ネットワーク上の他のファイルシス
テムと連結できず、ファイルの実体とファイル名を1対
多に対応させることができない問題がある。
Further, when a plurality of computers exist on the network and the substance of the file is accumulated in a plurality of file systems, one file belonging to the file system is stored in another file system on the network. However, there is a problem that the substance of the file and the file name cannot be associated one-to-many.

【0011】本発明は、上記に鑑みてなされたもので、
その目的とするところは、複数のファイルシステムに点
在するファイルの実体と該ファイルの実体に付けられた
名前を適確に対応して管理するファイル管理装置を提供
することにある。
The present invention has been made in view of the above,
An object of the present invention is to provide a file management device that manages the substance of a file scattered in a plurality of file systems and the name given to the substance of the file in a corresponding manner.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するた
め、本発明のファイル管理装置は、ネットワーク上に複
数のファイルシステムが存在し、複数のファイルシステ
ムのいずれかに存在するファイルの実体と当該ファイル
の実体に付けられた名前を管理するファイル管理装置で
あって、複数のファイルシステム上でファイルの実体を
ファイル管理装置が唯一に識別するためにファイルの実
体と1対1に対応する第1ファイル名を当該ファイルの
実体に付与する第1ファイル名付与部と、アプリケーシ
ョンおよびユーザ等がファイルを識別するために前記第
1ファイル名と1対多に対応する第2ファイル名を付与
する第2ファイル名付与部と、前記第1ファイル名と前
記第2ファイル名とを連結し、前記第1ファイル名と前
記第2ファイル名を1対多に対応させる機能を有するフ
ァイル名管理部と、前記第1ファイル名と第2ファイル
名が連結している数を管理する連結数管理部と、ファイ
ル作成/削除時に前記第1ファイル名に前記第2ファイ
ル名を複数個連結するか連結を解除するかを判定する連
結実行/解除判定部と、ファイルの実体を読み出すとき
に前記第1ファイル名が前記第2ファイル名に複数個連
結しているか否かを判定する連結数判定部と、前記第1
ファイル名と前記第2ファイル名と読み出されたファイ
ルの実体を一時的に格納する一時記憶部と、前記一時記
憶部に格納されたファイルに対して修正を加えた後、フ
ァイルシステムに格納する際に前記連結数管理部からの
情報から前記第1ファイル名に連結された第2ファイル
名が2以上のとき、新たなファイルとして格納する処理
を前記第1ファイル名付与部と連動して行う修正処理部
とを有することを要旨とする。
In order to achieve the above object, a file management apparatus of the present invention has a plurality of file systems on a network, and the substance of a file existing in any one of the plurality of file systems and A first file management device that manages the name given to a file entity, and that has a one-to-one correspondence with the file entity so that the file management apparatus uniquely identifies the file entity on a plurality of file systems. A first file name assigning unit that assigns a file name to the entity of the file, and a second file name that assigns a second file name that has a one-to-many correspondence with the first file name so that an application and a user can identify the file. A file name assigning unit is connected to the first file name and the second file name to obtain the first file name and the second file name. A file name management unit having a function of making correspondence to many, a concatenation number management unit managing the number of concatenations of the first file name and the second file name, and a first file name at the time of file creation / deletion. A concatenation execution / cancellation determination unit that determines whether to concatenate a plurality of the second file names or release the concatenation, and a plurality of the first file names are concatenated to the second file names when reading the substance of the file. A connection number determination unit that determines whether or not
A temporary storage unit that temporarily stores the file name, the second file name, and the substance of the read file; and the file stored in the temporary storage unit is modified and then stored in the file system. At this time, when the second file name connected to the first file name is 2 or more from the information from the connection number management unit, the process of storing as a new file is performed in cooperation with the first file name assigning unit. The gist is to have a correction processing unit.

【0013】[0013]

【作用】本発明のファイル管理装置では、ネットワーク
上に複数点在するファイルシステム間でファイル管理装
置がファイルの実体を唯一に識別するためにファイルの
実体に1対1に対応する第1ファイル名を付与し、アプ
リケーションおよびユーザがファイルを識別するために
第1ファイル名と1対多に対応する第2ファイル名を付
与し、第1ファイル名と第2ファイル名とを1対多に連
結させ、この1対多の連結数を管理し、これにより複数
のファイルシステム上で1つのファイルの実体に複数の
名前を付与している。また、修正が加えられたファイル
を新たなファイルとしてファイルシステムに格納し、こ
の新たなファイルの実体に1対1に対応する第1ファイ
ル名を付与し、修正前のファイルの実体に付与されてい
る第1ファイル名と第2ファイル名が1対多に対応して
いるとき、連結数を1減らし、修正が加えられたファイ
ルを別ファイルとして格納する。
In the file management device of the present invention, the file management device uniquely identifies the substance of the file among a plurality of file systems scattered over the network, and the first file name corresponds to the substance of the file one-to-one. And a second file name corresponding to the first file name and one-to-many to identify the file to the application and the user, and the first file name and the second file name are connected to one-to-many. The one-to-many concatenation number is managed, whereby a plurality of names are given to one file entity on a plurality of file systems. Also, the modified file is stored in the file system as a new file, and the new file entity is given a first file name corresponding to one-to-one, and is added to the file entity before modification. When the first file name and the second file name are in a one-to-many relationship, the number of connections is reduced by one and the modified file is stored as a separate file.

【0014】[0014]

【実施例】以下、図面を用いて本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1は、本発明の一実施例に係わるファイ
ル管理装置の構成を示すブロック図である。同図におい
て、リンク管理部101、iノード管理部201、リン
ク数判定部301、情報蓄積部401、通信制御部50
1及び通信網601は図4に示したものと同じであるの
で、説明を割愛する。102は第1ファイル名付与部で
あり、複数ファイルシステム上でファイルの実体をファ
イル管理装置が唯一に識別するために、ファイルの実体
に対し、唯一の第1ファイル名を付与する。202は第
2ファイル名付与部であり、アプリケーション及びユー
ザ等がファイルを識別するために前記第1ファイル名と
1対多に対応する第2ファイル名を付与する。302は
ファイル名管理部であり、前記第1ファイル名と第2フ
ァイル名とを連結(リンク)し、第1ファイル名と第2
ファイル名を1対多に対応させる機能を有する。402
は連結数管理部であり、前記第1ファイル名と第2ファ
イル名が連結している数の管理を行う。
FIG. 1 is a block diagram showing the configuration of a file management apparatus according to an embodiment of the present invention. In the figure, a link management unit 101, an inode management unit 201, a link number determination unit 301, an information storage unit 401, and a communication control unit 50.
1 and the communication network 601 are the same as those shown in FIG. 4, and the description thereof will be omitted. A first file name assigning unit 102 assigns a unique first file name to the file entity so that the file management apparatus uniquely identifies the file entity on the multiple file system. A second file name assigning unit 202 assigns a second file name that has a one-to-many correspondence with the first file name so that an application, a user or the like can identify the file. Reference numeral 302 denotes a file name management unit that connects (links) the first file name and the second file name to each other, and links the first file name and the second file name.
It has a function to associate one-to-many file names. 402
Is a concatenation number management unit, which manages the number of concatenated first file names and second file names.

【0016】502は連結実行/解除判定部であり、フ
ァイル作成/削除時に第1ファイル名に第2ファイル名
を複数個連結するか連結を解除するかを判定する。60
2は連結数判定部であり、ファイルの実体を読み出すと
きに第1ファイル名が第2ファイル名に複数個連結して
いるか否かを判定する。702は一時記憶部であり、第
1ファイル名と第2ファイル名と読み出されたファイル
の実体を一時的に格納する。802は修正処理部であ
り、前記一時記憶部702に格納されたファイルに対し
て修正が加えられた後、ファイルシステムに格納する際
に新たなファイルとして格納する処理を行う。902は
制御部であり、リンク管理部101、iノード管理部2
01、リンク数判定部301、情報蓄積部401、通信
制御部501、第1ファイル名付与部102、第2ファ
イル名付与部202、ファイル名管理部302、連結数
管理部402、連結実行/解除判定部502、連結数判
定部602、一時記憶部702及び修正処理部802を
制御する。
Reference numeral 502 denotes a concatenation execution / cancellation determining unit that discriminates whether to concatenate a plurality of second file names with the first file name or uncoupling the files at the time of file creation / deletion. 60
Reference numeral 2 is a concatenation number determination unit that determines whether or not a plurality of first file names are concatenated with second file names when reading the substance of a file. A temporary storage unit 702 temporarily stores the first file name, the second file name, and the substance of the read file. A correction processing unit 802 performs a process of storing a new file when storing the file in the file system after the file stored in the temporary storage unit 702 is corrected. A control unit 902 includes a link management unit 101 and an inode management unit 2
01, link number determination unit 301, information storage unit 401, communication control unit 501, first file name assignment unit 102, second file name assignment unit 202, file name management unit 302, link number management unit 402, link execution / release The determination unit 502, the connection number determination unit 602, the temporary storage unit 702, and the correction processing unit 802 are controlled.

【0017】図2は、図1における第1ファイル名と第
2ファイル名との連結/解除処理を説明するフロー図で
ある。連結/解除処理は、ユーザが通信網601から通
信制御部501を通して、入力するオペレーション等に
より開始される(ステップ13)。入力するオペレーシ
ョンの内容は、連結または解除のためのオペレーション
名、連結元となる第2ファイル名である。以下、ファイ
ルの実体とファイル名との連結/解除をシステムが自動
的に行う動作を説明する。制御部902の指示により、
連結/解除処理を行うため、第2ファイル名を一時記憶
部702に記憶する(ステップ23)。ファイル名管理
部302は、制御部902の指示により、一時記憶され
た第2ファイルに連結している第1ファイル名を検索し
(ステップ33)、検索された第1ファイル名を一時記
憶部702に記憶する(ステップ43)。
FIG. 2 is a flow chart for explaining the connection / release processing of the first file name and the second file name in FIG. The connection / disconnection processing is started by an operation input by the user from the communication network 601 through the communication control unit 501 (step 13). The contents of the operation to be input are an operation name for connecting or disconnecting, and a second file name as a connecting source. The operation of the system to automatically connect / disconnect the substance of the file and the file name will be described below. By the instruction of the control unit 902,
The second file name is stored in the temporary storage unit 702 in order to perform the connection / disconnection processing (step 23). The file name management unit 302 searches the first file name linked to the temporarily stored second file according to an instruction from the control unit 902 (step 33), and stores the searched first file name in the temporary storage unit 702. (Step 43).

【0018】連結数管理部402は制御部902の指示
により、一時記憶された第1ファイル名と第2ファイル
名が連結している数(連結数)を連結数判定部に出力し
(ステップ53)、連結実行/解除判定部502は第1
ファイル名と第2ファイル名を連結するか連結を解除す
るかを判定する(ステップ63)。連結実行処理の場合
は、制御部902の指示により連結数管理部402にお
いて当該第1ファイル名の連結数を1増やし(ステップ
73)、連結実行処理を終了する(ステップ24)。連
結解除処理の場合は、制御部902の指示により連結数
判定部602が当該第1ファイル名の連結数について2
以上であるか否かを判定する(ステップ83)。連結数
が2以上である場合は、制御部902の指示により連結
数管理部402において当該第1ファイル名の連結数を
1減らし(ステップ93)、連結解除処理を終了する
(ステップ24)。連結数が1の場合は、制御部902
の指示により当該第1ファイル名と当該第2ファイル名
とファイルの実体を削除し(ステップ14)、連結解除
処理を終了する(ステップ24)。
In accordance with an instruction from the control unit 902, the concatenated number management unit 402 outputs the number of concatenated temporarily stored first and second file names (concatenated number) to the concatenated number determination unit (step 53). ), The connection execution / release determination unit 502 is the first
It is determined whether the file name and the second file name are connected or released (step 63). In the case of the concatenation execution process, the concatenation number management unit 402 increments the concatenation number of the first file name by 1 in accordance with an instruction from the control unit 902 (step 73), and the concatenation execution process ends (step 24). In the case of the connection release processing, the connection number determination unit 602 sets the connection number of the first file name to 2 according to an instruction from the control unit 902.
It is determined whether or not the above (step 83). If the concatenation number is 2 or more, the concatenation number management unit 402 decrements the concatenation number of the first file name by 1 according to an instruction from the control unit 902 (step 93), and terminates the concatenation releasing process (step 24). When the number of connections is 1, the control unit 902
The first file name, the second file name, and the substance of the file are deleted by the instruction (step 14), and the connection release processing is ended (step 24).

【0019】図3は、図1におけるファイル修正処理を
説明するフロー図である。ファイル修正処理は、ユーザ
が通信網601から通信制御部501を通して、入力す
るオペレーションにより開始される(ステップ15)。
入力するオペレーションの内容は、修正のためのオペレ
ーション名、修正するファイルの第2ファイル名であ
る。以下、ファイルの修正処理をシステムが自動的に行
う動作を説明する。制御部902の指示により、ファイ
ル修正処理を行うため、当該第2ファイル名を一時記憶
部702に記憶する(ステップ25)。制御部902の
指示により、ファイル名管理部302が一時記憶された
第2ファイル名に連結している第1ファイル名を検索し
(ステップ35)、検索された第1ファイル名を一時記
憶部702に記憶する(ステップ45)。制御部902
の指示により、修正処理部802が当該第1ファイル名
の実体を情報蓄積部401から読み出し(ステップ5
5)、一時記憶部702に格納する(ステップ65)。
FIG. 3 is a flow chart for explaining the file correction process in FIG. The file modification process is started by an operation input by the user from the communication network 601 through the communication control unit 501 (step 15).
The contents of the input operation are the operation name for modification and the second file name of the file to be modified. The operation of the system for automatically correcting a file will be described below. The second file name is stored in the temporary storage unit 702 in order to perform the file correction process according to the instruction from the control unit 902 (step 25). In accordance with an instruction from the control unit 902, the file name management unit 302 searches for the first file name linked to the temporarily stored second file name (step 35), and the found first file name is temporarily stored in the temporary storage unit 702. (Step 45). Control unit 902
In response to this instruction, the correction processing unit 802 reads the substance of the first file name from the information storage unit 401 (step 5
5) and stores it in the temporary storage unit 702 (step 65).

【0020】格納されたファイルがユーザ等により修正
された場合(ステップ75)は連結数管理部402が当
該第1ファイル名の連結数を連結数判定部602へ出力
する(ステップ85)。連結数が2以上である場合は、
制御部902の指示により、修正処理部802が当該第
1ファイル名の連結数を1減らし(ステップ95,1
6)、一時記憶部702に格納されている修正済みのフ
ァイルに第1ファイル名付与部102が新規ファイル名
を付与する(ステップ26)。制御部902の指示によ
り、修正処理部802はファイルを情報蓄積部401に
書き込み(ステップ36)、ファイル修正処理を終了す
る(ステップ46)。また、当該第1ファイルの連結数
が1の場合(ステップ95)は、新規ファイル名を付与
せず、ファイル名の変更を行わず、当該第1ファイル名
で、修正処理部802がファイルを情報蓄積部401に
書き込み(ステップ36)、ファイル修正処理を終了す
る(ステップ46)。
When the stored file is modified by the user or the like (step 75), the concatenation number management unit 402 outputs the concatenation number of the first file name to the concatenation number determination unit 602 (step 85). When the number of connections is 2 or more,
In response to an instruction from the control unit 902, the correction processing unit 802 reduces the number of concatenations of the first file name by 1 (steps 95, 1
6) The first file name assigning unit 102 assigns a new file name to the corrected file stored in the temporary storage unit 702 (step 26). In response to the instruction from the control unit 902, the modification processing unit 802 writes the file in the information storage unit 401 (step 36), and the file modification process ends (step 46). If the number of concatenated first files is 1 (step 95), a new file name is not given, the file name is not changed, and the correction processing unit 802 updates the file with the first file name. The file is written in the storage unit 401 (step 36), and the file modification process is terminated (step 46).

【0021】[0021]

【発明の効果】以上説明したように、本発明によれば、
異なる複数のファイルシステム間において、ファイルシ
ステムに属する1つのファイルが、ネットワーク上の他
のファイルシステムとも連結させることができ、ファイ
ルの実体とファイル名を1対多に対応させることができ
る。
As described above, according to the present invention,
In a plurality of different file systems, one file belonging to the file system can be linked to another file system on the network, and the substance of the file and the file name can be associated one-to-many.

【0022】また、従来、ファイルの実体とファイルの
実体に付与されたファイル名が1対多に対応していると
き、1つのファイル名を用いてファイルの実体に修正を
加えると、他のファイル名もその修正されたファイルの
実体と連結されたままであるため、同時に修正された
が、本発明のファイル管理装置は、修正が加えられたフ
ァイルだけを別ファイルとして格納し、ファイル内容と
連結構造を持続することができる。
Further, conventionally, when a file entity and a file name given to the file entity have a one-to-many correspondence, if one file name is used to modify the file entity, another file is modified. The name is also linked with the entity of the modified file, so it was modified at the same time, but the file management device of the present invention stores only the modified file as a separate file, and the file content and the concatenation structure. Can last.

【0023】また、ネットワーク上に点在するファイル
を幾つか関連付けて取り扱うシステムに本発明のファイ
ル管理装置を用いることにより、ユーザは当該ファイル
の名前と実体を意識することなくファイルの連結がで
き、同一ファイルの実体を複写して複数所有することに
よる記憶量の増大を抑制することができる。
Further, by using the file management device of the present invention in a system that handles a number of files scattered on the network in association with each other, the user can connect the files without being aware of the name and substance of the file. It is possible to suppress an increase in the storage amount due to copying the same file entity and owning a plurality of files.

【0024】さらに、既存のファイルシステムとは独立
に、最適な記憶装置に最適なファイルを格納することが
でき、記憶装置等のハードウェアに依存した物理構造、
ファイルシステムに依存した論理構造とは独立に、アプ
リケーション対応にファイルの実体と名前の連結機能を
持った記憶システムを構築できる。
Furthermore, the optimum file can be stored in the optimum storage device independently of the existing file system, and the physical structure depending on the hardware of the storage device,
It is possible to construct a storage system that has a function of linking file entities and names, corresponding to the application, independent of the logical structure that depends on the file system.

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

【図1】本発明の一実施例に係わるファイル管理装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a file management device according to an embodiment of the present invention.

【図2】図1に示すファイル管理装置における連結実行
/解除処理の動作を示すフロー図である。
FIG. 2 is a flowchart showing an operation of connection execution / release processing in the file management device shown in FIG.

【図3】図1に示すファイル管理装置におけるファイル
修正処理の動作を示すフロー図である。
FIG. 3 is a flowchart showing an operation of file correction processing in the file management device shown in FIG.

【図4】従来のファイル管理装置の構成図である。FIG. 4 is a configuration diagram of a conventional file management device.

【図5】図4に示す従来のファイル管理装置における連
結処理を示すフロー図である。
FIG. 5 is a flowchart showing a concatenation process in the conventional file management device shown in FIG.

【図6】図4に示す従来のファイル管理装置における連
結解除処理を示すフロー図である。
FIG. 6 is a flowchart showing a connection release process in the conventional file management device shown in FIG.

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

101 リンク管理部 102 第1ファイル名付与部 201 iノード管理部 202 第2ファイル名付与部 301 リンク数判定部 302 ファイル名管理部 401 情報蓄積部 402 連結数管理部 501 通信制御部 502 連結実行/解除判定部 601 通信網 602 連結数判定部 702 一時記憶部 802 修正処理部 101 link management unit 102 first file name assignment unit 201 inode management unit 202 second file name assignment unit 301 link number determination unit 302 file name management unit 401 information storage unit 402 connection number management unit 501 communication control unit 502 connection execution / Release determination unit 601 Communication network 602 Connection number determination unit 702 Temporary storage unit 802 Correction processing unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上に複数のファイルシステ
ムが存在し、複数のファイルシステムのいずれかに存在
するファイルの実体と当該ファイルの実体に付けられた
名前を管理するファイル管理装置であって、複数のファ
イルシステム上でファイルの実体をファイル管理装置が
唯一に識別するためにファイルの実体と1対1に対応す
る第1ファイル名を当該ファイルの実体に付与する第1
ファイル名付与部と、アプリケーションおよびユーザ等
がファイルを識別するために前記第1ファイル名と1対
多に対応する第2ファイル名を付与する第2ファイル名
付与部と、前記第1ファイル名と前記第2ファイル名と
を連結し、前記第1ファイル名と前記第2ファイル名を
1対多に対応させる機能を有するファイル名管理部と、
前記第1ファイル名と第2ファイル名が連結している数
を管理する連結数管理部と、ファイル作成/削除時に前
記第1ファイル名に前記第2ファイル名を複数個連結す
るか連結を解除するかを判定する連結実行/解除判定部
と、ファイルの実体を読み出すときに前記第1ファイル
名が前記第2ファイル名に複数個連結しているか否かを
判定する連結数判定部と、前記第1ファイル名と前記第
2ファイル名と読み出されたファイルの実体を一時的に
格納する一時記憶部と、前記一時記憶部に格納されたフ
ァイルに対して修正を加えた後、ファイルシステムに格
納する際に前記連結数管理部からの情報から前記第1フ
ァイル名に連結された第2ファイル名が2以上のとき、
新たなファイルとして格納する処理を前記第1ファイル
名付与部と連動して行う修正処理部とを有することを特
徴とするファイル管理装置。
1. A file management device for managing a file entity existing in any one of a plurality of file systems and a name given to the file entity, the file management apparatus comprising a plurality of file systems on a network. A first file name corresponding to the entity of the file on a one-to-one basis in order to uniquely identify the entity of the file on the file system of
A file name assigning section, a second file name assigning section that assigns a second file name corresponding to the first file name in a one-to-many manner for applications and users to identify the file, and the first file name A file name management unit having a function of connecting the second file name and making the first file name correspond to the second file name one-to-many;
A concatenation number management unit that manages the number of concatenations of the first file name and the second file name, and concatenates or releases the second file name with the first file name when creating / deleting a file. A concatenation execution / cancellation determination unit that determines whether or not to connect, a concatenation number determination unit that determines whether or not a plurality of the first file names are concatenated with the second file name when reading the substance of the file, A temporary storage unit that temporarily stores the first file name, the second file name, and the substance of the read file; and a file system after making corrections to the files stored in the temporary storage unit. When the second file name connected to the first file name is 2 or more from the information from the connection number management unit when storing,
A file management device comprising: a correction processing unit that performs a process of storing as a new file in conjunction with the first file name assigning unit.
JP4343659A 1992-12-24 1992-12-24 File management device Pending JPH06195253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4343659A JPH06195253A (en) 1992-12-24 1992-12-24 File management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4343659A JPH06195253A (en) 1992-12-24 1992-12-24 File management device

Publications (1)

Publication Number Publication Date
JPH06195253A true JPH06195253A (en) 1994-07-15

Family

ID=18363247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4343659A Pending JPH06195253A (en) 1992-12-24 1992-12-24 File management device

Country Status (1)

Country Link
JP (1) JPH06195253A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009237979A (en) * 2008-03-27 2009-10-15 Hitachi Software Eng Co Ltd Information processing device and method, and program
JP2012531675A (en) * 2009-06-26 2012-12-10 シンプリヴィティ・コーポレーション File system
JP2013037639A (en) * 2011-08-10 2013-02-21 Mega Chips Corp File system, file management method, semiconductor storage device, information processor and program
JP2013097441A (en) * 2011-10-28 2013-05-20 Hitachi Ltd Distribution id management method and distribution id management system
US10474631B2 (en) 2009-06-26 2019-11-12 Hewlett Packard Enterprise Company Method and apparatus for content derived data placement in memory

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009237979A (en) * 2008-03-27 2009-10-15 Hitachi Software Eng Co Ltd Information processing device and method, and program
JP2012531675A (en) * 2009-06-26 2012-12-10 シンプリヴィティ・コーポレーション File system
US10474631B2 (en) 2009-06-26 2019-11-12 Hewlett Packard Enterprise Company Method and apparatus for content derived data placement in memory
JP2013037639A (en) * 2011-08-10 2013-02-21 Mega Chips Corp File system, file management method, semiconductor storage device, information processor and program
JP2013097441A (en) * 2011-10-28 2013-05-20 Hitachi Ltd Distribution id management method and distribution id management system

Similar Documents

Publication Publication Date Title
JP5082310B2 (en) Data migration apparatus and program
JP4250914B2 (en) Storage system
US7383286B2 (en) File management system with parent directory search functions
US8909753B2 (en) Root node for file level virtualization
JPH06318168A (en) Hierarchical data storage management device, method and its network
US20090063556A1 (en) Root node for carrying out file level virtualization and migration
JPH04246742A (en) Storage control extending over plurality of file-system
JPH05233628A (en) Method for preparing and maintaining plural version documents of one document and data processing system
JP3727076B2 (en) Program management method and apparatus
JPH05100939A (en) File system
US10387043B2 (en) Writing target file including determination of whether to apply duplication elimination
JP2000252986A (en) Communication apparatus and communication method
JPH06195253A (en) File management device
JPH05241923A (en) File converting device
JPH0695859A (en) Software assets management system
JP2830826B2 (en) Distributed file synchronization system and method
JP2972548B2 (en) File management method
US20030097437A1 (en) File server program
JPH0256666A (en) System for dynamically updating job network unitary control system generating information
JPS62163154A (en) Virtual logic volume system
JPH0454634A (en) Software resources distribution management system
JPH09204326A (en) Image data storage controller
JP2861791B2 (en) SCSI basic input / output system
JPH1198448A (en) Video server system and access processing method therefor
JP2596213B2 (en) File allocation management method