JP4507227B2 - File storage device and storage medium storing file management program - Google Patents
File storage device and storage medium storing file management program Download PDFInfo
- Publication number
- JP4507227B2 JP4507227B2 JP2000291132A JP2000291132A JP4507227B2 JP 4507227 B2 JP4507227 B2 JP 4507227B2 JP 2000291132 A JP2000291132 A JP 2000291132A JP 2000291132 A JP2000291132 A JP 2000291132A JP 4507227 B2 JP4507227 B2 JP 4507227B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- attribute information
- path
- editing
- storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、文章、図形、表などの各種データファイルを保存するファイル保存装置、及びファイル管理プログラムが記憶された記憶媒体に関する。
【0002】
【従来の技術】
一般にパーソナルコンピュータなどの情報処理装置においては、各種アプリケーションプログラムの実行により、ユーザが作成した文章、図形、表などの各種データを保存するファイルを作成することができる。通常、新規に作成されたファイルは、ファイル保存時にユーザがファイル保存先(保存ドライブ、フォルダ(あるいはディレクトリ))、ファイル名をユーザが指定することにより、指定された保存先に指定されたファイル名よって保存される。また、ユーザが作成したファイルを保存する際には、ファイル管理を容易とするためにファイル保存先を示すパス体系を予め設定しておき、ファイルの内容に応じてそのパス体系の特定のファイル保存先を指定し、ファイル内容を推測できるファイル名を付けてファイル保存する場合が多い。
【0003】
特に、複数のユーザによってファイルを共用する場合には、ファイル保存時あるいはファイル読み出し時の作業を容易にするために、ファイル保存先を示すパス体系、ファイル名の設定ルールなどを各ユーザが把握している必要がある。
【0004】
【発明が解決しようとする課題】
このように従来では、ファイルを保存する場合、ファイルの保存先、ファイル名をユーザが設定していた。このため、多数のファイルを体系的に保存する場合には、ユーザがそれらを十分に把握したうえで、ファイルの保存先、ファイル名を指定しなければならず作業負担が大きかった。
【0005】
特にファイルを複数のユーザで共用する場合には、各ユーザが共用情報としてファイル保存先を示すパス体系とファイル名の設定ルールを把握していなければならなかった。また、ユーザがパス体系とファイル名とを把握していたとしても、ファイル保存時においてファイル保存先の入力操作ミスなどで誤ったパス指定をした場合には、他のユーザが認識できない保存先にファイルが保存されたり、他のユーザがファイル内容を推測できないファイル名により保存されてしまうこともあった。さらに、全く新規の内容のファイルを保存する場合には、他のユーザとの間で、どのようなファイル保存先に、どのようなファイル名を設定して保存するかを予め調整しておかなければならなかった。
【0006】
本発明は、前記のような問題に鑑みなされたもので、ユーザの負担の増大を招くことなく、ファイル保存先、ファイル名を体系的に設定することで、ファイル管理を容易にすることが可能なファイル保存装置、及びファイル管理プログラムが記憶された記憶媒体を提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明は、ファイル保存先を設定してファイルの保存を行なうファイル保存装置において、ファイルに対する複数の属性情報を作成編集する属性情報編集手段と、前記属性情報編集手段によって作成編集された前記複数の属性情報を前記ファイルに対応付けて記憶する記憶手段と、この記憶手段により記憶された前記複数の属性情報をファイル保存先のパス及びファイル名として組み合わせて利用することを設定する設定手段と、前記設定手段による設定に応じて、前記属性情報編集手段によって作成編集された属性情報が示すファイル保存先のパスに前記ファイル名でファイルを保存するファイル保存手段とを具備したことを特徴とする。
更に、コンピュータを上述した請求項1記載の発明に示した主要手段として機能させるためのプログラムを格納する記憶媒体を提供する(請求項4記載の発明)。
【0009】
請求項1記載の本発明において、前記設定手段は、前記属性情報編集手段によって作成編集された複数の属性情報に対して順番を設定することを特徴とする。
また請求項1記載の本発明において、前記属性情報編集手段による属性情報の作成編集を実行させる権限を持つユーザを認識する認識手段を具備し、前記属性情報編集手段は、前記認識手段によって権限を持つユーザからの指示に応じて、属性情報の作成編集を実行することを特徴とする。
【0010】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について説明する。
図1は本発明の実施の形態に係わるファイル保存装置を実現するパーソナルコンピュータ1の構成を示すブロック図である。図1に示すように、パーソナルコンピュータ1は、CPU2、入力部3、表示部4、通信制御部5、RAM6、ROM7、外部記憶装置8がバス9を介して相互に接続されて構成されている。
【0011】
CPU2は、情報処理装置全体の制御を司るもので、入力部3からのキー操作信号に応じて、RAM6あるいはROM7に記憶されている各種プログラムを起動させ、このプログラムに従って各種の機能を実現する。CPU2は、外部記憶装置8の記憶媒体に記録されているプログラムコードを読み込み、RAM6に記憶させて実行することができる。CPU2は、アプリケーションの実行に伴って、RAM6に格納されたファイル管理プログラムを実行することにより、ファイル編集、ファイル保存、ファイルの属性情報であるプロパティ情報の編集などのファイル処理を行なうことができる。
【0012】
入力部3は、パーソナルコンピュータ1の動作を規定する指示やデータを入力するもので、キーボードやマウス等のポインティングデバイスによって構成される。
【0013】
表示部4は、各種処理の実行に応じた画面が表示されるもので、文章や図形などのファイル内容の編集作業用の表示画面、ファイルの属性情報であるプロパティ情報の編集入力画面などを表示する。
【0014】
通信制御部5は、通信回線を介して通信を行なうためのユニットである。
RAM6は、パーソナルコンピュータ1全体の制御を司るシステムプログラム、各種機能に対応した制御処理プログラムの他、各種のデータが必要に応じて記憶される。ファイル管理プログラムが記憶されてCPU2により実行されることでファイル処理が実現される。
ROM7は、制御用のプログラムなどが記憶されている。
【0015】
外部記憶装置8は、記憶媒体8aを有しており、この記憶媒体8aに対してプログラム(OS、アプリケーション)、データ(ファイル)等の保存、読み出し等を実行する。記憶媒体8aは、磁気的、光学的記憶媒体、もしくは半導体メモリで構成される。記憶媒体8aは、外部記憶装置8に固定的に設けたもの、もしくは着脱自在に装着するものである。また、記憶媒体8aに記憶されるプログラム、データ等は、通信制御部5を介して通信回線等を介して接続された他の機器から受信して記憶する構成にしても良く、さらに、通信回線等を介して接続された他の機器側に記憶媒体を備えた記憶装置を設け、この記憶媒体に記憶されているプログラム、データを通信回線を介して使用する構成にしても良い。外部記憶装置8は、記憶媒体8aに記憶されたプログラム、データ等をCPU2からの要求に応じて読み出す。この読み出されたプログラム、データ等はRAM6に記憶される。
【0016】
次に、本実施形態におけるパーソナルコンピュータ1(ファイル保存装置)におけるファイル処理の動作について、図2及び図3に示すフローチャートを参照しながら説明する。ここでは、文章データのファイルを扱う場合を例にして説明する。
【0017】
まず、入力部3からのユーザの指示に応じて、CPU2は、アプリケーションプログラムを起動し、このアプリケーションにより処理対象とするファイルの指定を入力する。ここで、新規ファイル作成の指示が入力された場合(ステップA1)、CPU2は、編集用新規ファイルを読み込み(図3、ステップB1)、表示部4により文章編集用画面中に新規ファイルの内容(ブランク)を表示させて文章編集作業状態とする(ステップB2)。文章編集作業状態では、入力部3からの文字データ入力指示や編集操作指示に応じた処理を実行することで、文章の作成編集が実行される(ステップB2)。
【0018】
一方、文章編集作業状態において作成中の文章に対するプロパティ情報(ファイルの属性情報)の編集を行なうことができる。まず、文章編集用画面においてプロパティ情報の編集実行がコマンドの選択などにより指示された場合(ステップB3)、CPU2は、この編集作業中のファイルのプロパティ情報に対する編集の権限を持ったユーザであることを登録するためのID/パスワード入力用の画面を表示部4により表示させ、ユーザに入力させる(ステップB4)。図4(a)には、表示部4によって表示されるID/パスワード入力用の画面の一例を示している。ここで、ファイルを新規作成したユーザに対してID/パスワードを登録させることによって、プロパティ情報に対する編集権限を与えるようにしている。すなわち、本実施形態によるファイル処理では、プロパティ情報をファイル保存先を示すパスとファイル名とに使用することで体系的にファイル保存し、ファイル管理を容易にできるようにしているため、複数のユーザによりプロパティ情報に対する編集を許すとファイル管理体系が混乱してしまうためである。
【0019】
なお、本実施形態では、ユーザ識別のためのIDは、予めパーソナルコンピュータ1の基本制御プログラム(オペレーティングシステム(OS))、あるいはアプリケーションプログラムによって登録されているものとし、ユーザ固有の識別情報であるものとする。また、パスワードは、ファイル単位でユーザが任意に指定できるものとする。ここで入力されたID/パスワードは、現在作成中のファイルの属性データとして記憶される。
【0020】
ID/パスワードがユーザによって登録されると、CPU2は、編集作業中のファイルのプロパティ情報の編集用画面を表示部4によって表示させる(ステップB5)。
図4(b)には、プロパティ情報編集用画面の一例を示している。図4(b)に示すように、作成中のファイルに対する属性情報として、「タイトル」「サブタイトル」「作成者」「所属」「会社名」「分類」の複数の項目が設けられ、それぞれの項目について任意に入力編集することができる(ステップB6)。本実施形態ではさらに、各項目のそれぞれに対応して、項目に入力された内容をファイル保存先を示すパス名称として使用するか、あるいは項目に入力された内容をファイル名として使用するかを示す「パス/ファイル」指定欄が設けられており、この「パス/ファイル」指定欄によりパス/ファイル名の指定を入力することができる(ステップB7)。また、プロパティ情報を用いてファイルの保存先を指定する場合に「保存ドライブ」の指定を入力するための項目が設けられており、パス/ファイル名の指定が入力された場合には「保存ドライブ」の指定を入力することができる(ステップB8)。
【0021】
図4(b)に示すプロパティ情報編集用画面の例では、ファイルに対するプロパティ情報が各項目のそれぞれに入力され、「パス/ファイル」指定欄に対する入力がされていない状態を示している。
【0022】
パス/ファイル指定欄に対しては、パス名称として使用する項目に対しては「Pn」(n=1,2,…)、ファイル名として使用する項目に対しては「Fn」(n=1,2,…)が入力されるものとする。複数の項目をパス名称として使用する場合には、使用する項目の順番に「P1」「P2」「P3」…と入力し、同様にして複数の項目をファイル名として使用する場合には、使用する項目の順番に「F1」「F2」「F3」…と入力される(図6、図7参照)。なお、全ての項目に対してパス名称あるいはファイル名として使用することを入力する必要はなく、任意の項目を選択して指定することもできる。
【0023】
本実施形態では、1つの項目に対してパスかファイルが何れか一方にのみ使用できるものとする。こうして単一選択にすることによって、同じ項目がパス名称とファイル名に同時に使用されることがないので、プロパティ情報を無駄なく効率よく使用することができる。なお、1つの項目の内容をパス名称とファイル名に同時に使用できるようにすることも可能である。
【0024】
なお、本実施形態では、「パス/ファイル」指定欄によるパス、ファイル名の指定ではなく、プロパティ情報編集用画面において任意にパス、ファイル名を設定することができる。例えば、プロパティ情報編集用画面において「パス/ファイル」指定欄への入力がされていない状態で、「パス/ファイル」の文字列が指示(マウスなどによるクリックなど)された場合、CPU2は、図4(c)に示すようなパス指定用のパス入力画面、あるいは図4(d)に示すようなファイル指定用のファイル名入力画面を表示させる。なお、「パス」の文字列部分が指示された場合にはパス入力画面、「ファイル」の文字列部分が指示された場合にはファイル名入力画面を表示するようにしても良い。また、図4(c)(d)に示すパス入力画面とファイル名入力画面とを同時に表示するようにしても良い。さらに、「パス/ファイル」の文字列に対する指示ではなく、「パス」指定、「ファイル名」指定のボタンを設け、このボタンに対する指示に応じて、図4(c)(d)に示す入力画面を表示するようにしても良い。この入力画面中の入力欄に対して、ユーザの指示により入力部3からパスあるいはファイル名を表す文字列が入力された後、「OK」ボタンが指示されると、パスあるいはファイル名のデータが入力され、プロパティ情報編集用画面に戻る。ここで、入力されたパスとファイル名は、後述するファイル保存処理において、プロパティ情報を利用して指定されたパス名称及びファイル名に代えて利用される。
【0025】
プロパティ情報編集用画面において「OK」ボタンが指示されると、CPU2は、プロパティ情報編集用画面において各項目に対して入力されたプロパティ情報と「パス/ファイル」指定欄に入力された内容を保存し、プロパティ編集処理を終了して文章編集作業状態に戻る。そして、文章編集作業状態において処理終了がユーザから指示されると(ステップB9)、CPU2は、編集処理を終了してファイル保存処理を実行する(ステップA11)。なお、ファイル保存処理の詳細については後述する(図8、図9)。
【0026】
図5には、作成中のファイルに関するデータ構造を示している。1つの文書ファイルに対しては、図5(a)に示すように、通常のファイル作成に関する(1)ヘッダ情報(作成日時データなど)、(2)プロパティ情報と「パス/ファイル」指定欄により入力されたパス/ファイル名情報、(3)ID/パスワード、(4)文章データ(罫線データ、文字データなどを含む)が保存される。図5(b)には記録フォーマットの一例を示している。なお、図5(a)に示すパス/ファイル名情報は、後述する図6に示すようにして「パス/ファイル」指定欄に入力された内容を示している。
【0027】
ところで、アプリケーションプログラムの起動時に、新規ファイル作成の指示ではなく以前に作成したファイル名が指定されると(ステップA1)、CPU2は、指定されたファイルを外部記憶装置8などによって読み込んで表示部4により文章編集用画面中に編集済みファイルの内容を表示させて文章編集作業状態とする(ステップA2)。この文章編集作業状態では、入力部3からの文字データ入力指示や編集操作指示に応じた処理を実行することで、文章の作成編集が実行される(ステップA3)。
【0028】
一方、文章編集作業状態においては、新規ファイルの作成時と同様にして作成中の文章に対するプロパティ情報の編集を行なうことができる。ただし、本実施形態では、現在編集中のファイルを新規作成したユーザに対してのみプロパティ情報に対する編集権限を与える。まず、文章編集用画面においてプロパティ情報の編集実行がコマンドの選択などにより指示された場合(ステップA4)、CPU2は、この編集作業中のファイルのプロパティ情報に対する編集の権限を持ったユーザであることを確認するためのID/パスワード入力用の画面を表示部4により表示させ、ユーザに入力させる(ステップA5)。ID/パスワード入力用画面は、図4(a)に示すパスワード登録に用いたものと同じである。
【0029】
ここで、IDとパスワードが入力されると、CPU2は、この入力されたID/パスワードと、現在編集中のファイルの属性データとして保存されているID/パスワード(図5(a)(3)に示す)と比較する。この結果、ID/パスワードが一致しない場合には、プロパティ情報に対する編集の権限を持ったユーザではないものと認識してプロパティ編集処理に移行しない。
【0030】
これに対し、ID/パスワードが一致した場合には、プロパティ情報に対する編集の権限を持ったユーザ、すなわち現在編集作業中のファイルを新規作成したユーザであるものと認識する。CPU2は、編集作業中のファイルに関するデータとして保存されているプロパティ情報(図5(a)(2))を抽出し(ステップA6)、プロパティ情報の編集用画面において表示させる(ステップA7)。
【0031】
ここでは、新規ファイル作成の場合と同様にして、ファイルに対する属性情報とする各項目に対して編集を行ない(ステップA8)、また「パス/ファイル」指定欄によりプロパティ情報を利用したパス/ファイル名の指定を入力することができる(ステップA9)。
【0032】
こうして、プロパティ情報に対する編集の権限を持ったユーザのみがプロパティ情報に対する編集を行なうので、ファイルを複数のユーザによって共用される場合であっても、他のユーザによってプロパティ情報の内容が変更され、これによってファイル保存先、ファイル名などが変更されてしまうことを回避できる。すなわち、新規ファイルを作成ユーザが「パス/ファイル」指定欄により設定したファイル保存体系に従ってファイル保存が実行されることになる。
【0033】
プロパティ情報編集用画面において「OK」ボタンが指示されると、CPU2は、プロパティ情報編集用画面において各項目に対して入力されたプロパティ情報と「パス/ファイル」指定欄に入力された内容を保存し、プロパティ編集処理を終了して文章編集作業状態に戻る。
【0034】
そして、文章編集作業状態において処理終了がユーザから指示されると(ステップA10)、CPU2は、編集処理を終了してファイル保存処理を実行する(ステップA11)。なお、ファイル保存処理の詳細については後述する(図8、図9)。
【0035】
ここで、プロパティ情報編集用画面において「パス/ファイル」指定欄に対する入力が行われた場合の具体例について、図6及び図7を参照して説明する。 図6に示す設定例は、ファイルを個人で管理する場合に好適な例を示している。図6(a)に示すように、ファイル名としてプロパティ情報の項目「タイトル」「サブタイトル」を使用し、パス名称としてプロパティ情報の項目「会社名」「所属」「作成者」「分類」の順番で使用することが設定されている。図6(b)には、図6(a)に示す設定に応じて、後述するファイル保存処理において作成されるパス(保存場所)とファイル名の例を示している。パス名称として「作成者」の項目を利用しているので、ファイルが作成者ごとのパス(フォルダ、あるいはディレクトリ)に分類されて保存されることを表している。従って、個人の作成したファイル一式を容易に取り出すことができる。
【0036】
図7に示す設定例は、ファイルを書類分類で管理する場合に好適な例を示している。図7(a)に示すように、ファイル名としてプロパティ情報の項目「タイトル」「サブタイトル」「作成者」の順番で使用し、パス名称としてプロパティ情報の項目「会社名」「所属」「分類」の順番で使用することが設定されている。図7(b)には、図7(a)に示す設定に応じて、後述するファイル保存処理において作成されるパス(保存場所)とファイル名の例を示している。パス名称として「分類」の項目を利用しているので、ファイルが書類分類(ファイルの内容)ごとのパス(フォルダ、あるいはディレクトリ)に分類されて保存されることを表している。従って、複数のユーザによって共用されているファイル一式を分類ごとに容易に取り出すことができる。
【0037】
なお、図6(b)及び図7(b)に示すファイル名の例では、ファイル名としてプロパティ情報の複数の項目が使用されているために、ファイル名を見やすくため項目毎に括弧記号により区分しているが、この形態以外にも例えば「−」で連結するなど、他の形態を用いることもできる。また、複数の項目の内容をファイル名として使用する場合に、どのような形態とするかは、固定的に決められていても良いし、ユーザからの指定を別途入力することで決められるようにしても良い。
【0038】
次に、図2のステップA11におけるファイル保存処理について、図8及び図9に示すフローチャートを参照しながら説明する。
まず、CPU2は、編集処理の終了が指示されたファイルに対して設定されているプロパティ情報とパス/ファイル名情報を読み出し(ステップC1)、プロパティ情報を利用してパスを設定するための処理に用いる変数値nを「1」に設定する(ステップC2)。
【0039】
ここで、CPU2は、パス/ファイル名情報を参照して、プロパティ情報をパス名称として使用する指定がされているか、すなわちパス/ファイル名情報に「P1」が設定されているかを判別する(ステップC3)。パス指定がある場合、CPU2は、指定された「P1」に該当するプロパティ情報の項目の内容を抽出し(ステップC4)、この項目の内容が示すディレクトリ(あるいはホルダ)が存在するか確認する(ステップC5)。
【0040】
パス指定に該当するディレクトリが存在する場合には、この既存のディレクトリ、あるいはさらに下位のディレクトリ(他にパス指定がある場合)がファイル保存先となる。一方、パス指定に該当するディレクトリが存在しない場合には、プロパティ情報の項目の内容によるディレクトリをファイル保存先として新規に作成する(ステップC6)。
【0041】
次に、CPU2は、変数値nを更新し(+1)(ステップC7)、パス/ファイル名情報において他にパス指定されているか、すなわち「P2」が設定されているかを判別する(ステップC8)。以下、前述と同様にして、パス指定されたプロパティ情報の項目に該当するディレクトリが存在するかを判別し、存在しなければディレクトリをファイル保存先として新規に作成する。以上の処理をパス/ファイル名情報におけるパス指定の全てについて行なう。
【0042】
一方、パス/ファイル名情報においてパス指定がなかった場合には、CPU2は、プロパティ情報により設定するのではなく、別にファイル保存場所(パス)を入力する。ここでは、例えば、図4(c)に示すパス入力画面によって入力されたパスを入力しても良いし、別途、ユーザからファイル保存先の指定を入力しても良い。
【0043】
次に、CPU2は、プロパティ情報を利用してファイル名を設定するための処理に用いる変数値nを「1」に設定する(ステップC10)。
ここで、CPU2は、パス/ファイル名情報を参照して、プロパティ情報をファイル名として使用する指定がされているか、すなわちパス/ファイル名情報に「F1」が設定されているかを判別する(ステップC11)。ファイル名指定がある場合、CPU2は、指定された「F1」に該当するプロパティ情報の項目の内容を抽出し(ステップC12)、保存ファイル名を作成する(ステップC13)。
【0044】
次に、CPU2は、変数値nを更新し(+1)(ステップC14)、パス/ファイル名情報において他にファイル名指定されているか、すなわち「F2」が設定されているかを判別する(ステップC15)。以下、前述と同様にして、ファイル名指定されていればプロパティ情報の該当する項目を用いてファイル名を作成する。以上の処理をパス/ファイル名情報におけるファイル名指定の全てについて行なう。プロパティ情報の複数の項目に対してファイル名指定されていた場合には、図6(b)、図7(b)に示すように、プロパティ情報の複数の項目の内容を組み合わせてファイル名を作成する。
【0045】
一方、パス/ファイル名情報においてファイル名指定がなかった場合には、CPU2は、プロパティ情報によりファイル名を作成するのではなく、別にファイル名を入力する。ここでは、例えば、図4(d)に示すファイル名入力画面によって入力されたファイル名を入力しても良いし、別途、ユーザからファイル名を入力しても良い。
【0046】
次に、CPU2は、前述のようにして設定されたファイル保存先(パス)に、作成された所定のファイル名によって文章データのファイルを保存する(ステップC17)。また、このファイルに対するヘッダ情報とプロパティ情報についても記録保持する(ステップC18)。
【0047】
例えば、プロパティ情報に対して、図6に示すような設定がされていた場合には、ファイル保存先「B:¥CASINO/システム第一開発部13開発室/小川義隆/特許提案書」のパスで指定されるディレクトリ(あるいはホルダ)に対して、「ファイル保存システム(保存体系管理).doc」のファイル名によって文章データが保存される(「.doc」はアプリケーションプログラムに対応した拡張子)。
【0048】
なお、ファイル保存処理では、新規ファイルに対する編集処理ではなく、文章編集処理中にプロパティ情報に対する編集が実行されなかった場合には、ファイル保存先(パス)とファイル名が変更されていないことになるので、ステップC2〜C16の処理を省略して、ファイル読み出し時のファイル保存先へ同じファイル名で保存するようにしても良い。
【0049】
このようにして、ファイルのプロパティ情報に対する編集の内容をファイル保存先(パス)あるいはファイル名として使用することを、ユーザからの指示により任意に設定することができる。このため、予めプロパティ情報に対する編集処理において、ファイル保存先(パス)あるいはファイル名と使用することを設定しておけば、ユーザが意識せずに自動的にファイル保存先とファイル名が決定されてファイルが保存されるので、ユーザの負担が軽減される。
【0050】
また、ファイルのプロパティ情報に対する編集の内容をファイル保存先(パス)あるいはファイル名として使用することで、体系的にファイル管理することができる。また、プロパティ情報に対する編集は、そのファイルを新規作成したユーザなど、特定のユーザに対してのみ編集権限を与えているので、ファイルを複数のユーザで共用する場合であっても、複数のユーザがプロパティ情報を編集することによるファイル管理の体系を混乱させるおそれがない。さらに、プロパティ情報の複数の項目に対して、ファイル保存先(パス)あるいはファイル名に用いる順番を任意に指定することができるので、個人で管理するあるいは書類分類が管理するなど(図6、図7参照)、ユーザが希望する体系でファイルを管理することができる。
【0051】
なお、前述した説明では、新規ファイル作成時のプロパティ情報に対する編集処理の際にID/パスワードを入力することで、このファイルに対するプロパティ情報の編集権限を新規ファイルを作成したユーザに与えるとして説明しているが、ファイル単位に編集権限をユーザに与えるのではなく、例えば特定の管理者とするユーザのみに対して、全てのファイルのプロパティ情報に対する編集権限を与えるようにしても良い。この場合、ID/パスワードの登録は、新規ファイル作成時のプロパティ情報に対する編集処理の際に行なうのではなく、例えばファイル処理とは別の処理において登録しておくものとする。
また、前述したプロパティ情報の内容は一例であって、他の情報がプロパティ情報として用いられていても良く、例えばファイル作成日時などの情報が含まれていても良い。
【0052】
また、本発明は、前述した実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、前述した実施形態の各機能は可能な限り適宜組み合わせて実施しても良い。前述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜の組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されても、効果が得られるので有れば、この構成要件が削除された構成が発明として抽出され得る。
【0053】
【発明の効果】
以上のように本発明によれば、ファイルに対応付けて記憶されるファイルに対する複数の属性情報を組み合わせてファイル保存先及びファイル名として利用することができるので、ユーザの負担の増大を招くことなく、ファイル保存先、ファイル名を体系的に設定してファイル管理を容易にすることが可能となる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係わるファイル保存装置を実現するパーソナルコンピュータ1の構成を示すブロック図。
【図2】パーソナルコンピュータ1(ファイル保存装置)におけるファイル処理の動作について説明するためのフローチャート。
【図3】パーソナルコンピュータ1(ファイル保存装置)におけるファイル処理の動作について説明するためのフローチャート。
【図4】ファイル処理において表示される画面の一例を示す図。
【図5】作成中のファイルに関するデータ構造を示す図。
【図6】プロパティ情報編集用画面において「パス/ファイル」指定欄に対する入力が行われた場合の具体例を示す図。
【図7】プロパティ情報編集用画面において「パス/ファイル」指定欄に対する入力が行われた場合の具体例を示す図。
【図8】ファイル保存処理の動作について説明するためのフローチャート。
【図9】ファイル保存処理の動作について説明するためのフローチャート。
【符号の説明】
1…パーソナルコンピュータ
2…CPU
3…入力部
4…表示部
5…通信制御部
6…RAM
7…ROM
8…外部記憶装置
8a…記憶媒体
9…バス[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a file storage device that stores various data files such as sentences, graphics, and tables, and a storage medium in which a file management program is stored.
[0002]
[Prior art]
In general, in an information processing apparatus such as a personal computer, a file for storing various data such as text, graphics, and tables created by a user can be created by executing various application programs. Normally, a newly created file has a file name specified for the specified storage location when the user specifies the file storage destination (storage drive, folder (or directory)) and file name when saving the file. Therefore, it is saved. Also, when saving a file created by the user, a path system indicating the file storage destination is set in advance to facilitate file management, and a specific file storage of the path system is performed according to the contents of the file. In many cases, the file is saved with a file name that allows you to specify the destination and guess the file contents.
[0003]
In particular, when sharing a file with multiple users, each user knows the path system that indicates the file storage destination, the file name setting rules, etc., in order to facilitate work when saving or reading the file. Need to be.
[0004]
[Problems to be solved by the invention]
Thus, conventionally, when a file is stored, the user sets the file storage destination and file name. For this reason, when a large number of files are systematically stored, it is necessary for the user to specify the storage destination and file name of the file after fully understanding them, which is a heavy work load.
[0005]
In particular, when a file is shared by a plurality of users, each user must know a path system indicating a file storage destination and a file name setting rule as shared information. Even if the user knows the path system and file name, if a wrong path is specified due to a mistake in the input operation of the file storage destination when saving the file, it will be changed to a storage destination that cannot be recognized by other users. In some cases, the file was saved, or it was saved with a file name that other users could not guess the file contents. In addition, when saving a file with completely new contents, it is necessary to adjust in advance with other users what file save destination, what file name is set and saved. I had to.
[0006]
The present invention has been made in view of the above-described problems, and can easily manage files by systematically setting file storage destinations and file names without increasing the burden on the user. An object of the present invention is to provide a simple file storage device and a storage medium storing a file management program.
[0007]
[Means for Solving the Problems]
The present invention relates to a file storage device that stores a file by setting a file storage destination.pluralAttribute information editing means for creating and editing attribute information, and created and edited by the attribute information editing meansThe plurality ofStorage means for storing attribute information in association with the file, and stored by the storage meansThe plurality ofSave attribute information to filePath and file nameAsIn combinationA setting unit for setting use, and a file storage destination indicated by the attribute information created and edited by the attribute information editing unit according to the setting by the setting unitPathInWith the file nameAnd a file storage unit for storing the file.
Furthermore, a storage medium for storing a program for causing a computer to function as the main means shown in the first aspect of the present invention is provided (the fourth aspect of the present invention).
[0009]
Claim1In the present invention,in frontThe setting means sets an order for a plurality of attribute information created and edited by the attribute information editing means.
AlsoClaim1In the present invention, there is provided recognition means for recognizing a user having authority to execute creation and editing of attribute information by the attribute information editing means, and the attribute information editing means is provided by the recognition means from a user having authority. According to the instruction, creation and editing of attribute information is executed.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a
[0011]
The
[0012]
The
[0013]
The
[0014]
The
The RAM 6 stores various data as necessary in addition to a system program for controlling the entire
The ROM 7 stores a control program and the like.
[0015]
The
[0016]
Next, the file processing operation in the personal computer 1 (file storage device) in this embodiment will be described with reference to the flowcharts shown in FIGS. Here, a case where a text data file is handled will be described as an example.
[0017]
First, in response to a user instruction from the
[0018]
On the other hand, it is possible to edit property information (file attribute information) for a sentence being created in the sentence editing work state. First, when the execution of property information is instructed by selecting a command or the like on the text editing screen (step B3), the
[0019]
In this embodiment, the ID for user identification is registered in advance by a basic control program (operating system (OS)) of the
[0020]
When the ID / password is registered by the user, the
FIG. 4B shows an example of the property information editing screen. As shown in FIG. 4B, a plurality of items of “title”, “subtitle”, “creator”, “affiliation”, “company name”, and “classification” are provided as attribute information for the file being created. Can be arbitrarily input and edited (step B6). Further, in the present embodiment, corresponding to each item, whether the content input to the item is used as a path name indicating a file storage destination or the content input to the item is used as a file name is indicated. A “path / file” designation field is provided, and designation of a path / file name can be input through the “path / file” designation field (step B7). In addition, when specifying the file storage destination using the property information, an item for inputting “storage drive” is provided. When the path / file name specification is input, “storage drive” is provided. "Can be entered (step B8).
[0021]
The example of the property information editing screen shown in FIG. 4B shows a state in which the property information for the file is input to each item, and the “path / file” designation field is not input.
[0022]
For the path / file designation field, “Pn” (n = 1, 2,...) Is used for items used as path names, and “Fn” (n = 1) is used for items used as file names. , 2, ...) are input. When using multiple items as path names, enter “P1”, “P2”, “P3”,... In the order of the items to be used, and when using multiple items as file names, use “F1”, “F2”, “F3”... Are input in the order of items to be performed (see FIGS. 6 and 7). Note that it is not necessary to input use as a path name or file name for all items, and any item can be selected and specified.
[0023]
In this embodiment, it is assumed that a path or a file can be used for only one item. By making a single selection in this way, the same item is not used for the path name and file name at the same time, so that the property information can be used efficiently without waste. It is also possible to use the contents of one item for the path name and the file name at the same time.
[0024]
In the present embodiment, the path and file name can be arbitrarily set on the property information editing screen instead of specifying the path and file name in the “path / file” designation field. For example, when the character string “path / file” is instructed (clicked with a mouse or the like) in the property information editing screen when the “path / file” designation field is not entered, the CPU 2 A path input screen for specifying a path as shown in FIG. 4C or a file name input screen for specifying a file as shown in FIG. 4D is displayed. Note that a path input screen may be displayed when the character string portion of “path” is instructed, and a file name input screen may be displayed when the character string portion of “file” is instructed. Further, the path input screen and the file name input screen shown in FIGS. 4C and 4D may be displayed simultaneously. Furthermore, instead of an instruction for the character string “path / file”, buttons for specifying “path” and “file name” are provided, and an input screen shown in FIGS. May be displayed. When a character string representing a path or file name is input from the
[0025]
When the “OK” button is instructed on the property information editing screen, the
[0026]
FIG. 5 shows a data structure relating to the file being created. For one document file, as shown in FIG. 5A, (1) header information (creation date data, etc.) relating to normal file creation, (2) property information and “path / file” designation field The input path / file name information, (3) ID / password, and (4) text data (including ruled line data, character data, etc.) are saved. FIG. 5B shows an example of a recording format. Note that the path / file name information shown in FIG. 5A indicates the contents input in the “path / file” designation field as shown in FIG.
[0027]
By the way, when a previously created file name is designated instead of an instruction to create a new file when starting the application program (step A1), the
[0028]
On the other hand, in the text editing work state, the property information for the text being created can be edited in the same way as when creating a new file. However, in this embodiment, the editing authority for the property information is given only to the user who newly creates the file currently being edited. First, when editing of property information is instructed by selecting a command or the like on the text editing screen (step A4), the
[0029]
When the ID and password are input, the
[0030]
On the other hand, if the ID / password match, it is recognized that the user has the authority to edit the property information, that is, the user who newly created the file currently being edited. The
[0031]
Here, as in the case of creating a new file, each item as attribute information for the file is edited (step A8), and the path / file name using the property information in the “path / file” designation field. Can be input (step A9).
[0032]
In this way, only the user who has the authority to edit the property information can edit the property information. Therefore, even when the file is shared by multiple users, the content of the property information is changed by other users. Can avoid changing the file storage destination, file name, etc. That is, file saving is executed in accordance with the file saving system set by the user who creates a new file in the “path / file” designation field.
[0033]
When the “OK” button is instructed on the property information editing screen, the
[0034]
When the end of the process is instructed by the user in the text editing work state (step A10), the
[0035]
Here, a specific example in the case where an input to the “path / file” designation field is performed on the property information editing screen will be described with reference to FIGS. The setting example shown in FIG. 6 shows an example suitable for managing files individually. As shown in FIG. 6A, the property information items “title” and “subtitle” are used as file names, and the property information items “company name”, “affiliation”, “creator”, and “classification” are used as path names. It is set to be used in. FIG. 6B shows an example of a path (save location) and a file name created in a file save process to be described later according to the setting shown in FIG. Since the item “creator” is used as the path name, this indicates that the file is classified and stored in a path (folder or directory) for each creator. Therefore, a set of files created by an individual can be easily taken out.
[0036]
The setting example shown in FIG. 7 shows an example suitable for managing files by document classification. As shown in FIG. 7A, the property information items “title”, “subtitle”, and “creator” are used as file names in order, and the property information items “company name”, “affiliation”, and “classification” are used as path names. It is set to be used in the order. FIG. 7B shows an example of a path (save location) and a file name created in a file save process to be described later according to the setting shown in FIG. Since the item “category” is used as the path name, this indicates that the file is classified and stored in a path (folder or directory) for each document classification (file content). Therefore, a set of files shared by a plurality of users can be easily extracted for each classification.
[0037]
In the example of the file name shown in FIG. 6B and FIG. 7B, since a plurality of items of property information are used as the file name, each item is classified by parentheses for easy viewing of the file name. However, in addition to this form, other forms such as connection with “-” can be used. In addition, when the contents of multiple items are used as file names, the form of the file name may be fixedly determined or determined by separately inputting a designation from the user. May be.
[0038]
Next, the file storage process in step A11 of FIG. 2 will be described with reference to the flowcharts shown in FIGS.
First, the
[0039]
Here, the
[0040]
If there is a directory corresponding to the path specification, this existing directory or a lower directory (if there is another path specification) becomes the file storage destination. On the other hand, if the directory corresponding to the path designation does not exist, a directory according to the contents of the property information item is newly created as a file storage destination (step C6).
[0041]
Next, the
[0042]
On the other hand, if no path is specified in the path / file name information, the
[0043]
Next, the
Here, the
[0044]
Next, the
[0045]
On the other hand, when the file name is not specified in the path / file name information, the
[0046]
Next, the
[0047]
For example, when the property information is set as shown in FIG. 6, the path of the file storage destination “B: ¥ CASINO / system first development department 13 development room / Yoshitaka Ogawa / patent proposal” Text data is saved with the file name “file storage system (storage system management) .doc” (“.doc” is an extension corresponding to the application program).
[0048]
In the file saving process, if the editing of the property information is not executed during the text editing process, not the editing process for the new file, the file saving destination (path) and the file name are not changed. Therefore, the processing of steps C2 to C16 may be omitted, and the file may be stored with the same file name in the file storage destination when reading the file.
[0049]
In this way, it is possible to arbitrarily set the use of the editing contents for the file property information as the file storage destination (path) or the file name by an instruction from the user. For this reason, if the file storage destination (path) or file name is set in advance in the editing process for property information, the file storage destination and file name are automatically determined without the user's awareness. Since the file is saved, the burden on the user is reduced.
[0050]
Further, file management can be systematically managed by using the editing contents for the file property information as a file storage destination (path) or file name. In addition, since editing authority is given only to specific users such as the user who newly created the file, even if the file is shared by multiple users, There is no risk of confusing the file management system by editing property information. Furthermore, the file storage destination (path) or the order used for the file name can be arbitrarily designated for a plurality of items of property information, so that it is managed by an individual or the document classification is managed (FIG. 6, FIG. 7), files can be managed in a system desired by the user.
[0051]
In the above description, the ID / password is input when editing the property information at the time of creating the new file, and the property information editing authority for this file is given to the user who created the new file. However, the editing authority may not be given to the user on a file-by-file basis, but may be given only to the user who is a specific administrator, for example, with respect to the property information of all files. In this case, the ID / password registration is not performed during the editing process for the property information at the time of creating a new file, but is registered in a process different from the file process, for example.
Further, the content of the property information described above is an example, and other information may be used as the property information. For example, information such as file creation date and time may be included.
[0052]
Further, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention in the implementation stage. Further, the functions of the above-described embodiments may be combined as appropriate as possible. The embodiments described above include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if several constituent requirements are deleted from all the constituent requirements shown in the embodiment, an effect can be obtained, so that a configuration from which the constituent requirements are deleted can be extracted as an invention.
[0053]
【The invention's effect】
As described above, according to the present invention, a file stored in association with a file is stored.pluralAttribute informationIn combinationFile save destinationas well asSince it can be used as a file name, the file storage destination and the file name can be set systematically to facilitate file management without increasing the burden on the user.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a
FIG. 2 is a flowchart for explaining an operation of file processing in the personal computer 1 (file storage device).
FIG. 3 is a flowchart for explaining an operation of file processing in the personal computer 1 (file storage device).
FIG. 4 is a diagram showing an example of a screen displayed in file processing.
FIG. 5 is a diagram showing a data structure related to a file being created.
FIG. 6 is a diagram showing a specific example when an input to a “path / file” designation field is performed on the property information editing screen.
FIG. 7 is a diagram showing a specific example when an input to a “path / file” designation field is performed on the property information editing screen.
FIG. 8 is a flowchart for explaining an operation of file saving processing;
FIG. 9 is a flowchart for explaining the operation of file saving processing;
[Explanation of symbols]
1 ... Personal computer
2 ... CPU
3 ... Input section
4 ... Display section
5. Communication control unit
6 ... RAM
7 ... ROM
8 ... External storage device
8a ... Storage medium
9 ... Bus
Claims (4)
ファイルに対する複数の属性情報を作成編集する属性情報編集手段と、
前記属性情報編集手段によって作成編集された前記複数の属性情報を前記ファイルに対応付けて記憶する記憶手段と、
この記憶手段により記憶された前記複数の属性情報をファイル保存先のパス及びファイル名として組み合わせて利用することを設定する設定手段と、
前記設定手段による設定に応じて、前記属性情報編集手段によって作成編集された属性情報が示すファイル保存先のパスに前記ファイル名でファイルを保存するファイル保存手段と
を具備したことを特徴とするファイル保存装置。In a file storage device that sets a file storage destination and saves a file,
Attribute information editing means for creating and editing a plurality of attribute information for a file;
Storage means for storing the plurality of attribute information created and edited by the attribute information editing means in association with the file;
Setting means for setting to use a combination of the plurality of attribute information stored by the storage means as a path and file name of the file storage location,
A file storage unit for storing the file with the file name in a file storage destination path indicated by the attribute information created and edited by the attribute information editing unit in accordance with the setting by the setting unit; Storage device.
前記属性情報編集手段によって作成編集された複数の属性情報に対して順番を設定することを特徴とする請求項1記載のファイル保存装置。The setting means includes
2. The file storage device according to claim 1, wherein an order is set for a plurality of attribute information created and edited by the attribute information editing means.
前記属性情報編集手段は、
前記認識手段によって権限を持つユーザからの指示に応じて、属性情報の作成編集を実行することを特徴とする請求項1記載のファイル保存装置。Recognizing means for recognizing a user having authority to execute creation and editing of attribute information by the attribute information editing means,
The attribute information editing means includes
2. The file storage apparatus according to claim 1, wherein creation and editing of attribute information is executed in accordance with an instruction from an authorized user by the recognition means.
コンピュータを、
ファイルに対する複数の属性情報を作成編集する属性情報編集手段、
前記属性情報編集手段によって作成編集された前記複数の属性情報を前記ファイルに対応付けて記憶する記憶手段、
この記憶手段により記憶された前記複数の属性情報をファイル保存先のパス及びファイル名として組み合わせて利用することを設定する設定手段、
前記設定手段による設定に応じて、前記属性情報編集手段によって作成編集された属性情報が示すファイル保存先のパスに前記ファイル名でファイルを保存するファイル保存手段
として機能させるためのファイル管理プログラムが記憶されたコンピュータ読み取り可能な記憶媒体。A storage medium storing a program for saving a file by setting a file saving destination and a file name,
Computer
Attribute information editing means for creating and editing multiple attribute information for files,
Storage means for storing the plurality of attribute information created and edited by the attribute information editing means in association with the file;
A setting unit configured to set the plurality of attribute information stored by the storage unit to be used in combination as a file storage path and a file name ;
A file management program for functioning as a file storage unit for storing a file with the file name in a file storage destination path indicated by the attribute information created and edited by the attribute information editing unit according to the setting by the setting unit is stored. Computer-readable storage medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000291132A JP4507227B2 (en) | 2000-09-25 | 2000-09-25 | File storage device and storage medium storing file management program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000291132A JP4507227B2 (en) | 2000-09-25 | 2000-09-25 | File storage device and storage medium storing file management program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002099455A JP2002099455A (en) | 2002-04-05 |
JP4507227B2 true JP4507227B2 (en) | 2010-07-21 |
Family
ID=18774262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000291132A Expired - Fee Related JP4507227B2 (en) | 2000-09-25 | 2000-09-25 | File storage device and storage medium storing file management program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4507227B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010039966A (en) * | 2008-08-08 | 2010-02-18 | Hitachi Ltd | Data management method |
-
2000
- 2000-09-25 JP JP2000291132A patent/JP4507227B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2002099455A (en) | 2002-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2000035969A (en) | Device for adding linking information to computerized document file | |
JPH07129349A (en) | Method for displaying file list, method and processor for starting program | |
JPWO2008152823A1 (en) | Document management apparatus, method and program | |
JP2009075879A (en) | Image processor, image processing method, and program | |
JP2007048009A (en) | Operation support system, its database server, preparation management device and program | |
JPH1139292A (en) | Document management method and document retrieval method and device | |
JP5892444B2 (en) | Information processing device | |
JP2007115131A (en) | Information processor and its control method, information processing system, computer program, and storage medium | |
JP5201592B2 (en) | Information processing system, information processing method, program, and computer-readable recording medium | |
JP4507227B2 (en) | File storage device and storage medium storing file management program | |
JP2002236679A (en) | Document processor | |
JP7154982B2 (en) | Information processing device, control method, and program | |
JP2000276338A (en) | Method and system for visual programming, and recording medium for visual programming | |
WO2016133153A2 (en) | Information management device, and file management method | |
JPH10240724A (en) | Document managing device and system and method therefor | |
JPH05241765A (en) | Icon display control method | |
JPH11144027A (en) | System and method for file management and record medium | |
JP2024049751A (en) | Document management device and program | |
JP2009003771A (en) | Project construction support program and project construction support system | |
JP2001075998A (en) | Electronic fixing system and file list display method | |
JP2008276573A (en) | Data management device and program therefor | |
JP2008033647A (en) | Document set forming device and document set forming method | |
JP5722485B2 (en) | Information processing system, control method therefor, information processing apparatus, control method therefor, and program | |
JP4770206B2 (en) | File classification display device and file classification display program | |
JP2003150420A (en) | System for recording and displaying data file change process |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040123 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070515 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070613 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070717 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070807 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20070921 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20071109 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100423 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |