[go: up one dir, main page]

JP2005044345A - File management device, file management system and image forming apparatus - Google Patents

File management device, file management system and image forming apparatus Download PDF

Info

Publication number
JP2005044345A
JP2005044345A JP2004189290A JP2004189290A JP2005044345A JP 2005044345 A JP2005044345 A JP 2005044345A JP 2004189290 A JP2004189290 A JP 2004189290A JP 2004189290 A JP2004189290 A JP 2004189290A JP 2005044345 A JP2005044345 A JP 2005044345A
Authority
JP
Japan
Prior art keywords
file
directory
path name
files
subdirectory
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
JP2004189290A
Other languages
Japanese (ja)
Inventor
Hiroyasu Nishimura
泰保 西村
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2004189290A priority Critical patent/JP2005044345A/en
Publication of JP2005044345A publication Critical patent/JP2005044345A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storing Facsimile Image Data (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a drop in access speed due to increased files present on the same path when a file system having a directory system is used. <P>SOLUTION: When files to be present in one directory specified by an externally input pathname exceeds a given number, one or more subdirectories are created under the original directory, and a plurality of files to be present in the original directory are sorted for internal management to the plurality of subdirectories so that files entered in each directory do not exceed the given upper limit number. The entries in the subdirectories are concealed from the outside. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ハードディスク装置などの記憶装置でのファイル管理をディレクトリ構造を用いて行なうファイルシステムにおけるアクセス速度を向上させるファイル管理装置などにかかわり、特に、原稿を読み取って得た画像データを保存する機能を備えた、コピー機やデジタル複合機などの画像形成装置に適したファイル管理装置およびこれを備えた画像形成装置に関する。   The present invention relates to a file management apparatus that improves access speed in a file system that performs file management in a storage device such as a hard disk device using a directory structure, and in particular, a function of storing image data obtained by reading a document. The present invention relates to a file management apparatus suitable for an image forming apparatus such as a copier or a digital multi-function peripheral, and an image forming apparatus including the same.

近年、コピー機能を備えた複写機やこれにスキャナ機能、プリンタ機能、ファクシミリ機能などを付加したデジタル複合機などの画像形成装置では、読み取った原稿画像を電子データ(画像データ)として、ハードディスク装置(HDD)などの大容量の記憶装置に記憶する機能を有している。この機能を利用して、記憶装置に記憶されている画像データを、ユーザーの指示に基づいて、通信回線を通じて外部の装置に送信したり、後で再プリントしたりすることが可能になっている。   2. Description of the Related Art In recent years, in image forming apparatuses such as a copying machine having a copy function and a digital multifunction machine having a scanner function, a printer function, a facsimile function, etc. added thereto, a read original image is converted into electronic data (image data) as a hard disk device ( And a function of storing in a large-capacity storage device such as an HDD). Using this function, image data stored in the storage device can be transmitted to an external device via a communication line or reprinted later based on a user instruction. .

ハードディスク装置など大容量の記憶装置は、半導体メモリなどの記憶媒体に比べてデータのアクセスに長い時間を要するので、画像形成装置としての動作に支障をきたさないように、アクセス時間を短縮するための各種提案がなされている。   A large-capacity storage device such as a hard disk device requires a longer time to access data than a storage medium such as a semiconductor memory, so that the access time is shortened so as not to hinder the operation of the image forming apparatus. Various proposals have been made.

たとえば、アクセスするトラックが内周に近づくにつれてハードディスク装置のデータ転送速度が遅くなることに鑑み、要求される転送速度に応じてデータを分類し、高速転送の要求されるデータを外周のトラックに割り当てるようにした画像形成装置がある(特許文献1および特許文献2参照。)。   For example, in view of the fact that the data transfer speed of the hard disk device becomes slower as the track to be accessed approaches the inner circumference, the data is classified according to the required transfer speed, and the data required for high-speed transfer is assigned to the outer tracks. There is an image forming apparatus configured as described above (see Patent Document 1 and Patent Document 2).

特開平9−321962号公報Japanese Patent Laid-Open No. 9-319662 特開平11−291564号公報JP-A-11-291564

ハードディスク装置など大容量の記憶装置にデータを格納する場合、管理の容易性・拡張性・汎用性などの点から、ファイルシステムを用いてデータをファイル形式で扱うことが一般に行なわれる。ファイルシステムは、ディレクトリシステムを有し、ファイルの所在を、木構造によって階層的に管理している。ファイルを外部から指定するには、木構造におけるそのファイルの位置を表したパス名とファイル名を用いるようになっている。   When data is stored in a large-capacity storage device such as a hard disk device, the data is generally handled in a file format using a file system in terms of ease of management, expandability, and versatility. The file system has a directory system and manages the location of files hierarchically by a tree structure. To specify a file from the outside, a path name and file name representing the position of the file in the tree structure are used.

ファイルシステムは、各ファイルが木構造内部のどのパスに存在するかを表した管理情報を記憶装置自体に保存して管理している。パス名で指定されたディレクトリに存在するファイルの構成情報の取得やファイルのオープンを行なう際には、必要な管理情報をファイルシステムが記憶装置にアクセスして取得したり、書き換えたり、以後のアクセスのために主記憶メモリにコピーしたりするようになっている。したがって、木構造の階層が深くなってパスが長くなるほど記憶装置へのアクセス回数が増えて目的のファイル情報を取得するまでの時間が増大する。一方、同一パスに存在するファイル数が増大した場合にも記憶装置へのアクセス回数が多くなり、ファイルの構成情報などの取得までに長時間を要する場合が生じる。   The file system stores and manages management information indicating in which path each file exists in the tree structure in the storage device itself. When acquiring the configuration information of a file existing in the directory specified by the path name or opening the file, the file system accesses the storage device to acquire necessary management information, rewrites it, or accesses it later Or copy it to main memory. Therefore, the deeper the tree structure and the longer the path, the greater the number of accesses to the storage device and the longer it takes to obtain the desired file information. On the other hand, even when the number of files existing in the same path increases, the number of accesses to the storage device increases, and it may take a long time to acquire file configuration information and the like.

デジタル複合機などの画像形成装置で、原稿毎に1つのディレクトリを割り当て、各原稿の1ページを1ファイルとしてそのディレクトリに保存するような処理を行なうと、ページ数が多くなると1つのディレクトリに多数のファイルが存在するようになる。たとえば、1つのディレクトリに1000や10000を超えるファイルがエントリされると、パス名を指定してそのディレクトリに存するファイルの構成情報を取得したりファイルを削除したりするために数分から数十分かかる場合が生じ、ユーザーを長い間待たせたり、特定のアプリケーションがタイムアウトエラーになったりするなどの問題が生じてしまう。   When an image forming apparatus such as a digital multi-function peripheral allocates one directory for each original and performs processing such that one page of each original is stored in that directory as one file, the number of pages increases in one directory. Files will exist. For example, if more than 1000 or 10,000 files are entered in one directory, it takes several minutes to several tens of minutes to acquire the configuration information of the file existing in the directory by specifying the path name or to delete the file. In some cases, the user may have to wait for a long time, or a specific application may cause a timeout error.

本発明は、このような従来の技術が有する問題点に着目してなされたもので、同一パスに存在するファイル数の増加に伴うアクセス速度の低下を軽減することのできるファイル管理システムおよびこれを適用した画像形成装置を提供することを目的としている。   The present invention has been made paying attention to such problems of the conventional technology, and a file management system capable of reducing a decrease in access speed accompanying an increase in the number of files existing in the same path, An object of the present invention is to provide an applied image forming apparatus.

かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。
請求項1に係る発明は、外部からパス名で指定された1つのディレクトリに存在すべき複数のファイルを、各ディレクトリに存在するファイルが所定の上限数以下になるように複数のサブディレクトリに振り分けて内部管理することを特徴とするファイル管理装置である。
The gist of the present invention for achieving the object lies in the inventions of the following items.
The invention according to claim 1 distributes a plurality of files that should exist in one directory specified by a path name from the outside to a plurality of subdirectories so that the number of files existing in each directory is equal to or less than a predetermined upper limit number. The file management device is characterized by internal management.

上記発明によれば、外部からパス名で指定された1つのディレクトリに存在すべき複数のファイルを、各ディレクトリに存在するファイルが所定の上限数以下になるように複数のサブディレクトリに振り分けて内部管理する。内部管理することにより、サブディレクトリを用いたパスは当該ファイル管理装置のみが管理し、外部には隠蔽される。このように、外部から見て1つのディレクトリに多数のファイルが存在する場合でも、ファイル管理装置の内部では、各ディレクトリに存在するファイルが上限数を超えないように複数のサブディレクトリにファイルを振り分けて格納するので、ファイル数の増加に伴うアクセス速度の低下が防止される。   According to the above invention, a plurality of files that should exist in one directory specified by a path name from the outside are allocated to a plurality of subdirectories so that the number of files existing in each directory is equal to or less than a predetermined upper limit number. to manage. By internal management, the path using the subdirectory is managed only by the file management apparatus and hidden from the outside. In this way, even when a large number of files exist in one directory when viewed from the outside, the files are distributed to a plurality of subdirectories within the file management device so that the number of files existing in each directory does not exceed the upper limit. Therefore, a decrease in access speed due to an increase in the number of files is prevented.

請求項2に係る発明は、外部からパス名で指定された1つのディレクトリに存在すべきファイルが所定数を超える場合に、前記ディレクトリの下に1または2以上のディレクトリをサブディレクトリとして作成し、各ディレクトリに存在するファイルが所定の上限数以下になるように、前記外部からパス名で指定された1つのディレクトリに存在すべき複数のファイルの一部または全部を前記サブディレクトリに振り分けて内部管理することを特徴とするファイル管理装置である。   The invention according to claim 2 creates one or two or more directories as subdirectories under the directory when the number of files that should exist in one directory specified by a path name from the outside exceeds a predetermined number, Internal management by distributing a part or all of a plurality of files that should exist in one directory specified by a path name from the outside to the sub-directory so that the number of files existing in each directory is less than a predetermined upper limit. A file management apparatus characterized by

上記発明によれば、外部からパス名で指定された1つのディレクトリに存在すべき複数のファイルを、元のディレクトリの下に作成した1または2以上のサブディレクトリに振り分けて内部管理する。外部からパス名で指定されたディレクトリの下にサブディレクトリを作成するので、サブディレクトリによる内部管理が容易になる。また元のディレクトリまでのパスが共通なので、パス検索の無駄が生じない。   According to the above invention, a plurality of files that should exist in one directory specified by a path name from the outside are distributed and managed internally in one or more subdirectories created under the original directory. Since a subdirectory is created under a directory specified by a path name from the outside, internal management by the subdirectory becomes easy. In addition, since the path to the original directory is common, path search is not wasted.

請求項3に係る発明は、新たに作成したサブディレクトリに属するファイルが前記上限数に達するごとに、次の新たなサブディレクトリを作成することを特徴とする請求項2に記載のファイル管理装置である。   The invention according to claim 3 is the file management apparatus according to claim 2, wherein each time a file belonging to a newly created subdirectory reaches the upper limit number, the next new subdirectory is created. is there.

上記発明によれば、必要に応じてサブディレクトリが順次作成され増加するので、サブディレクトリの増加に伴うアクセス速度の低下が抑制される。   According to the above invention, since subdirectories are sequentially created and increased as necessary, a decrease in access speed due to an increase in subdirectories is suppressed.

請求項4に係る発明は、外部から指定されたパス名を含むファイル名とそのファイルの属するサブディレクトリ名との対応関係を表すファイルパス分割情報を、当該ディレクトリ構造の元でデータを保存する記憶媒体より高速にアクセス可能な記憶媒体に記憶したことを特徴とする請求項2または3に記載のファイル管理装置である。   The invention according to claim 4 stores file path division information representing a correspondence relationship between a file name including an externally designated path name and a subdirectory name to which the file belongs, in which data is stored under the directory structure. 4. The file management apparatus according to claim 2, wherein the file management apparatus is stored in a storage medium accessible at a higher speed than the medium.

上記発明によれば、外部から指定されたパス名を含むファイル名とそのファイルの属するサブディレクトリ名との対応関係を表すファイルパス分割情報を素早く読み出して取得することができ、サブディレクトリへの変換に伴うオーバーヘッドが少なくなって、高速なアクセスが確保される。   According to the above invention, file path division information indicating the correspondence between a file name including an externally specified path name and a subdirectory name to which the file belongs can be quickly read and acquired, and converted into a subdirectory. Therefore, high-speed access is secured.

請求項5に係る発明は、原稿を読み取って得た画像データを含む各種のデータを保存する記憶装置と、前記記憶装置に保存するデータをファイル形式で管理しかつファイルの指定にパスを用いるファイルシステムと、前記ファイルシステムにアクセスする外部のシステムと前記ファイルシステムとの間に介在する請求項1、2、3または4に記載のファイル管理装置とを有することを特徴とする画像形成装置である。   The invention according to claim 5 is a storage device that stores various data including image data obtained by reading a document, and a file that manages data to be stored in the storage device in a file format and uses a path to specify a file. An image forming apparatus comprising: a system; an external system that accesses the file system; and the file management apparatus according to claim 1, which is interposed between the file system and the file management apparatus. .

上記発明によれば、原稿を読み取って得た画像データなどをファイルシステムで管理される記憶装置に保存する機能を備えた画像形成装置において、ファイルシステムにアクセスする外部のシステムとファイルシステムとの間にファイル管理装置が介在している。これにより、多数のページを有する原稿を保存した場合にも、高速なアクセスが確保される。   According to the above invention, in an image forming apparatus having a function of storing image data obtained by reading a document in a storage device managed by the file system, between the external system accessing the file system and the file system There is a file management device in between. This ensures high-speed access even when a document having a large number of pages is stored.

請求項6に係わる発明は、内部に第1ディレクトリを有し、該第1ディレクトリの内部に、ファイルおよび/またはサブディレクトリを保存する記憶手段と、
前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリのそれぞれに対応し、その名前と保存場所とを示す第1パス名を保存する第1管理テーブルと、
前記ファイルおよび/または前記サブディレクトリを制御する制御部とを有し、
前記第1ディレクトリ内に新規ファイルまたは新規サブディレクトリを作成する場合、前記制御部が前記第1管理テーブルに該新規ファイルまたは該新規サブディレクトリに対応する第1パス名を保存し、
前記第1ディレクトリ内に保存可能なファイルおよび/またはサブディレクトリの上限個数が予め設定されていることを特徴とするファイル管理システムである。
The invention according to claim 6 has a first directory therein, and storage means for storing files and / or subdirectories in the first directory;
A first management table storing a first path name corresponding to each of the files and / or subdirectories stored in the first directory and indicating a name and a storage location thereof;
A control unit for controlling the file and / or the subdirectory,
When creating a new file or a new subdirectory in the first directory, the control unit stores a first path name corresponding to the new file or the new subdirectory in the first management table;
The file management system is characterized in that an upper limit number of files and / or subdirectories that can be stored in the first directory is preset.

請求項7に係わる発明は、前記第1ディレクトリ内に保存されている前記ファイルおよび/または前記サブディレクトリの個数が、前記上限個数と等しい状況で、前記制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、前記制御部は前記第1ディレクトリ内に新規サブディレクトリを作成し、該サブディレクトリの内部に、少なくとも前記新規ファイルならびに前記ファイルおよび/または前記サブディレクトリを移動させることにより、前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリの個数を前記上限個数以下にすることを特徴とする請求項6に記載のファイル管理システムである。   According to a seventh aspect of the present invention, in the situation where the number of the files and / or subdirectories stored in the first directory is equal to the upper limit number, the control unit creates a new file in the first directory. The control unit creates a new subdirectory in the first directory, and moves at least the new file and the file and / or the subdirectory into the subdirectory. 7. The file management system according to claim 6, wherein the number of the files and / or subdirectories stored in the first directory is set to be equal to or less than the upper limit number.

請求項8に係わる発明は、前記第1ディレクトリ内に保存されている前記ファイルおよび/または前記サブディレクトリの個数が、前記上限個数と等しい状況で、前記制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、前記制御部は前記第1ディレクトリ内に新規サブディレクトリを作成し、該サブディレクトリの内部に、少なくとも前記ファイルおよび/または前記サブディレクトリの一部を移動させることにより、前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリの個数を前記上限個数以下にすることを特徴とする請求項6に記載のファイル管理システムである。   According to an eighth aspect of the present invention, in the situation where the number of the files and / or subdirectories stored in the first directory is equal to the upper limit number, the control unit creates a new file in the first directory. The control unit creates a new subdirectory in the first directory, and moves at least a part of the file and / or the subdirectory into the subdirectory. 7. The file management system according to claim 6, wherein the number of the files and / or the subdirectories stored in the first directory is set to be equal to or less than the upper limit number.

請求項9に係わる発明は、前記第1ディレクトリ内に保存されている前記ファイルおよび/または前記サブディレクトリの個数が、前記上限個数と等しい状況で、前記制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、前記制御部は、少なくとも前記新規ファイルならびに前記ファイルおよび/または前記サブディレクトリを移動させることにより、前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリの個数を前記上限個数以下にすることを特徴とする請求項6に記載のファイル管理システムである。   According to a ninth aspect of the present invention, in the situation where the number of the files and / or subdirectories stored in the first directory is equal to the upper limit number, the control unit creates a new file in the first directory. The control unit moves the at least the new file and the file and / or the subdirectory to move the file and / or the subdirectory stored in the first directory. 7. The file management system according to claim 6, wherein the number of files is less than or equal to the upper limit number.

請求項10に係わる発明は、前記第1ディレクトリ内に保存されている前記ファイルおよび/または前記サブディレクトリの個数が、前記上限個数と等しい状況で、前記制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、前記制御部は、少なくとも前記ファイルおよび/または前記サブディレクトリの一部を移動させることにより、前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリの個数を前記上限個数以下にすることを特徴とする請求項6に記載のファイル管理システムである。   According to a tenth aspect of the present invention, in the situation where the number of the files and / or subdirectories stored in the first directory is equal to the upper limit number, the control unit creates a new file in the first directory. The control unit moves at least a part of the file and / or the subdirectory, thereby moving the file and / or the subdirectory stored in the first directory. The file management system according to claim 6, wherein the number is less than or equal to the upper limit number.

請求項11に係わる発明は、前記制御部は、前記移動された前記新規ファイル、前記ファイル、もしくは前記サブディレクトリにつき、移動された先の保存場所を示す第1パス名、および前記第1ディレクトリ内の保存場所を示す第2パス名とを生成し、前記第1パス名と前記第2パス名とを対応付けて記憶する第2管理テーブルを有することを特徴とする請求項7ないし10に記載のファイル管理システムである。   According to an eleventh aspect of the present invention, the control unit includes a first path name indicating a moved storage location for the moved new file, the file, or the subdirectory, and the first directory. 11. A second management table for generating a second path name indicating a storage location of the first path name and storing the first path name and the second path name in association with each other. File management system.

請求項12に係わる発明は、前記制御部は、前記記憶手段に保存された前記ファイルもしくは前記ディレクトリを参照するファイル参照手段と電気的に接続されている場合に、前記ファイル参照手段に対して、前記第2パス名を提供することを特徴とする請求項11に記載のファイル管理システムである。   The invention according to claim 12 is directed to the file reference unit when the control unit is electrically connected to the file reference unit that refers to the file or the directory stored in the storage unit. The file management system according to claim 11, wherein the second path name is provided.

請求項13に係わる発明は、前記ファイル参照手段に提供される前記第2パス名に基づいて前記記憶手段に保存されているファイルを開く指示がなされた場合、前記制御部は、前記第2管理テーブルを参照して、前記第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいて前記ファイルを開くように制御することを特徴とする請求項12に記載のファイル管理システムである。   According to a thirteenth aspect of the present invention, when an instruction to open a file stored in the storage unit is given based on the second path name provided to the file reference unit, the control unit performs the second management. 13. The file according to claim 12, wherein a first path name corresponding to the second path name is read with reference to a table, and the file is controlled to be opened based on the first path name. It is a management system.

請求項14に係わる発明は、前記制御部により開かれた前記ファイルにつき、前記ファイル参照手段に提供される前記第2パス名に基づいて、該ファイルを保存する指示がなされた場合、前記制御部は、前記第2管理テーブルを参照して、前記第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいて前記ファイルを保存するように制御することを特徴とする請求項13に記載のファイル管理システムである。   According to a fourteenth aspect of the present invention, when the file opened by the control unit is instructed to save the file based on the second path name provided to the file reference means, the control unit Refers to the second management table, reads the first path name corresponding to the second path name, and controls to save the file based on the first path name. A file management system according to claim 13.

請求項15に係わる発明は、前記ファイル参照手段に提供される前記第2パス名に基づいて前記記憶手段に保存されているファイルもしくはディレクトリを削除する指示がなされた場合、前記制御部は、前記第2管理テーブルを参照して、前記第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいて前記ファイルもしくは前記ディレクトリを削除するように制御することを特徴とする請求項12に記載のファイル管理システムである。   In the invention according to claim 15, when an instruction to delete a file or directory stored in the storage unit is given based on the second path name provided to the file reference unit, the control unit The second management table is referred to read out the first path name corresponding to the second path name, and control is performed to delete the file or the directory based on the first path name. A file management system according to claim 12.

請求項16に係わる発明は、前記ファイル参照手段に提供される前記第2パス名に基づいて前記記憶手段に保存されているファイルを画像出力する指示がなされた場合、前記制御部は、前記第2管理テーブルを参照して、前記第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいて前記ファイルを画像出力するように制御する請求項12に記載のファイル管理システムである。   In the invention according to claim 16, when an instruction to output an image of a file stored in the storage unit is given based on the second path name provided to the file reference unit, the control unit 13. The file management according to claim 12, wherein the first path name corresponding to the second path name is read with reference to the second management table, and the file is controlled to output an image based on the first path name. System.

請求項17に係わる発明は、前記第1ディレクトリ内に保存可能な前記上限個数は可変であることを特徴とする請求項6ないし16に記載のファイル管理システムである。   The invention according to claim 17 is the file management system according to any one of claims 6 to 16, wherein the upper limit number that can be stored in the first directory is variable.

請求項18に係わる発明は、前記第1管理テーブルは前記記憶手段に記憶されることを特徴とする請求項6ないし17に記載のファイル管理システムである。   The invention according to claim 18 is the file management system according to claim 6, wherein the first management table is stored in the storage means.

請求項19に係わる発明は、前記第2管理テーブルは前記記憶手段に記憶されることを特徴とする請求項8ないし18に記載のファイル管理システムである。   The invention according to claim 19 is the file management system according to any one of claims 8 to 18, wherein the second management table is stored in the storage means.

請求項20に係わる発明は、請求項6ないし18に記載のファイル管理システムを有することを特徴とする画像形成装置である。   An invention according to claim 20 is an image forming apparatus comprising the file management system according to any one of claims 6 to 18.

請求項21に係わる発明は、前記ファイル参照手段を有することを特徴とする請求項20に記載の画像形成装置である。   The invention according to claim 21 is the image forming apparatus according to claim 20, further comprising the file reference means.

本発明に係るファイル管理装置、ファイル管理システムおよびこれを用いた画像形成装置によれば、外部からパス名で指定された1つのディレクトリに存在すべき複数のファイルを、各ディレクトリに存在するファイルが所定の上限数以下になるように複数のサブディレクトリに振り分けて内部管理するので、外部から見て同一のディレクトリに多数のファイルが存在する場合でも、ファイル数の増加に伴うアクセス速度の低下が防止される。   According to the file management apparatus, the file management system, and the image forming apparatus using the file management apparatus according to the present invention, a plurality of files that should exist in one directory specified by a path name from the outside, Since it is distributed and managed internally in multiple subdirectories so that it is less than the predetermined upper limit, even if there are many files in the same directory when viewed from the outside, a decrease in access speed due to an increase in the number of files is prevented Is done.

また外部からパス名で指定された1つのディレクトリに存在すべき複数のファイルを、元のディレクトリの下に作成した1または2以上のサブディレクトリに振り分けて内部管理するものでは、サブディレクトリによる内部管理が容易になる。また元のディレクトリまでのパスが同一なので、無駄なパス検索がなく、アクセスの高速化に貢献する。   In addition, in the case of internally managing multiple files that should exist in one directory specified by the path name to one or more subdirectories created under the original directory, internal management by subdirectories Becomes easier. In addition, since the path to the original directory is the same, there is no useless path search, contributing to speeding up access.

新たに作成したサブディレクトリに属するファイルが上限数に達するごとに、次の新たなサブディレクトリを作成するものでは、必要に応じてサブディレクトリが順次作成され増加するので、サブディレクトリの増加に伴うアクセス速度の低下が抑制される。   Whenever the number of files belonging to the newly created subdirectory reaches the upper limit, the next new subdirectory is created and the subdirectories are created and increased as necessary. The decrease in speed is suppressed.

外部から指定されたパス名を含むファイル名とそのファイルの属するサブディレクトリ名との対応関係を表すファイルパス分割情報を、通常のファイル管理に用いる記憶媒体より高速にアクセス可能な記憶媒体に記憶したものでは、ファイルパス分割情報を素早く取得することができ、サブディレクトリへの変換に伴うオーバーヘッドが少なくなって、高速なアクセスが確保される。   File path division information indicating the correspondence between a file name including an externally specified path name and a subdirectory name to which the file belongs is stored in a storage medium that can be accessed at higher speed than a storage medium used for normal file management. In this case, file path division information can be acquired quickly, overhead associated with conversion to a subdirectory is reduced, and high-speed access is ensured.

上記ファイル管理装置を適用した画像形成装置では、多数のページを有する原稿を保存した場合にも、高速なアクセスが確保される。   In an image forming apparatus to which the file management apparatus is applied, high-speed access is ensured even when a document having a large number of pages is stored.

以下、図面に基づき本発明の一実施の形態を説明する。
図2は、本発明の実施の形態に係るファイル管理装置としてのファイル制御部を含む画像形成装置10の構成を示している。画像形成装置10は、原稿を読み取って対応する画像を記録紙上に形成して出力するコピー機能のほかスキャナ機能、プリンタ機能、ファクシミリ機能などを備えたデジタル複合機として構成されている。また、原稿を読み取って得た画像データを圧縮して保存する機能、保存している画像データを電子メールやFTP(ファイル・トランスファ・プロトコル)を用いて外部の装置に送信する機能、保存している画像を呼び出してプリントする機能などを備えている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 2 shows a configuration of the image forming apparatus 10 including a file control unit as a file management apparatus according to the embodiment of the present invention. The image forming apparatus 10 is configured as a digital multifunction machine having a scanner function, a printer function, a facsimile function, and the like in addition to a copy function for reading a document and forming and outputting a corresponding image on a recording sheet. Also, a function for compressing and storing image data obtained by reading a document, a function for transmitting stored image data to an external device using e-mail or FTP (File Transfer Protocol), It has a function to call out and print the image.

このような機能を実現すべく画像形成装置10は、当該装置全体の動作を統括制御する制御部としてのCPU(中央処理装置)30と、ROM(リード・オンリ・メモリ)11とRAM(ランダム・アクセス・メモリ)12とを主要部とした回路で構成されている。ROM11は、CPU30が実行するプログラムや各種固定データを記憶している。RAM12は、CPU30がプログラムを実行する際に各種データを一時的に格納するワークメモリや、回転処理などを施すために画像データを少なくとも1ページ分格納するページメモリとして機能する。   In order to realize such a function, the image forming apparatus 10 includes a CPU (central processing unit) 30 as a control unit that performs overall control of the operation of the entire apparatus, a ROM (read only memory) 11, and a RAM (random memory). (Access memory) 12 and the main part. The ROM 11 stores programs executed by the CPU 30 and various fixed data. The RAM 12 functions as a work memory that temporarily stores various data when the CPU 30 executes a program, and a page memory that stores at least one page of image data for performing a rotation process.

読取部13は、原稿画像を読み取って対応する画像データを取り込む機能を果たす。読取部13は、原稿を照射する光源と、原稿をその幅方向に1ライン分読み取るラインイメージセンサと、ライン単位の読取位置を原稿の長さ方向に移動させる移動手段と、原稿からの反射光をラインイメージセンサに導いて結像させるレンズやミラーから成る光学経路とを備えている。ラインイメージセンサはCCD(Charge Coupled Device)で構成される。ラインイメージセンサが出力するアナログ画像信号はA/D変換され、さらに誤差拡散処理などによって2値化されてデジタルの画像データとして出力される。   The reading unit 13 has a function of reading a document image and taking in corresponding image data. The reading unit 13 includes a light source that irradiates the document, a line image sensor that reads the document for one line in the width direction thereof, a moving unit that moves the reading position in units of lines in the length direction of the document, and reflected light from the document. And an optical path composed of a lens and a mirror for guiding the light to a line image sensor to form an image. The line image sensor is composed of a CCD (Charge Coupled Device). The analog image signal output from the line image sensor is A / D converted, further binarized by error diffusion processing, etc., and output as digital image data.

印刷部14は、画像データに対応する画像を電子写真プロセスによって記録紙上に形成して出力する機能を果たす。印刷部14は、記録紙の搬送装置と、感光体ドラムと、帯電装置と、レーザーユニットと、現像装置と、転写分離装置と、クリーニング装置と、定着装置とを有する、いわゆるレーザープリンタとして構成されている。ファクシミリ部15は、ファクシミリとしての機能を果たす部分である。画像データをファクシミリに対応した圧縮方式で圧縮・伸張する機能や、ファクシミリ送受信のための各種通信手順を制御する機能を果たす。   The printing unit 14 functions to form and output an image corresponding to image data on a recording sheet by an electrophotographic process. The printing unit 14 is configured as a so-called laser printer having a recording paper transport device, a photosensitive drum, a charging device, a laser unit, a developing device, a transfer separation device, a cleaning device, and a fixing device. ing. The facsimile unit 15 is a part that functions as a facsimile. It fulfills the function of compressing / decompressing image data with a compression method compatible with facsimile and the function of controlling various communication procedures for facsimile transmission / reception.

表示操作部16は、表面にタッチパネルを備えた液晶ディスプレイと各種の操作スイッチから構成され、ユーザーに各種の案内表示や状態表示を行なったり、ユーザーから各種の操作を受け付けたりする機能を有している。通信部17は、電話回線や各種のネットワークと接続して通信する機能を果たす。   The display operation unit 16 includes a liquid crystal display having a touch panel on the surface and various operation switches, and has a function of performing various guidance displays and status displays to the user and receiving various operations from the user. Yes. The communication unit 17 has a function of communicating with a telephone line or various networks.

圧縮手段18は、画像データを圧縮する機能を果たし、伸張手段19は、圧縮データを元の画像データに伸張する機能を果たす。補助記憶装置20は、大容量の記憶装置である。ここではハードディスク装置を使用している。補助記憶装置20は、圧縮された画像データの記憶や各種管理データの記憶に利用される。   The compression means 18 functions to compress the image data, and the expansion means 19 functions to expand the compressed data to the original image data. The auxiliary storage device 20 is a large-capacity storage device. Here, a hard disk device is used. The auxiliary storage device 20 is used for storing compressed image data and various management data.

制御部としてのCPU30は、ファイルシステム31およびファイル制御部32としての機能を果たす。ファイルシステム31は、補助記憶装置20に各種のデータをファイル形式で保存するための管理機能を果たす。ファイルシステム31は、補助記憶装置20にファイルやそのエントリを格納するディレクトリを作成したり、これらの移動や削除を行なったり、ファイルの属性情報を管理したりする役割を果たす。ファイルシステム31におけるファイルやディレクトリの所在は、ルートディレクトリを頂点とする木構造で管理されており、当該木構造に沿って頂点から目的のファイルやディレクトリまでの道筋がパスで、この道筋を記述したものがパス名である。   The CPU 30 as the control unit functions as a file system 31 and a file control unit 32. The file system 31 performs a management function for storing various data in the auxiliary storage device 20 in a file format. The file system 31 plays a role of creating a directory for storing a file and its entry in the auxiliary storage device 20, moving or deleting the file, and managing file attribute information. The location of the file or directory in the file system 31 is managed by a tree structure having the root directory as a vertex, and the path from the vertex to the target file or directory along the tree structure is a path, and this route is described. Things are path names.

パス数はファイル数と等しい。ファイルおよび/またはディレクトリの名前と保存場所とを示す第1パス名は、図11に示す構成の第1管理テーブル80に保存される。たとえば、“パス1”というディレクトリの直下に“サブディレクトリ1”というディレクトリが存在し、その直下に、“ファイル1”というファイルが存在する場合のパス名は、“パス1/サブディレクトリ1/ファイル1”となる。   The number of passes is equal to the number of files. The first path name indicating the name and storage location of the file and / or directory is stored in the first management table 80 having the configuration shown in FIG. For example, when a directory “subdirectory 1” exists immediately under a directory “path 1” and a file “file 1” exists immediately below the directory, the path name is “path 1 / subdirectory 1 / file”. 1 ".

アプリケーションは、新たなファイルをオープンしたり、ファイルの構成情報を取得したりする場合は、パス名を含めたファイル名を指定してファイルシステム31にアクセスする。たとえば、ファイルシステム31は、アプリケーションから既に存在するファイルをオープンする要求を受けると、指定されたパス名に基づいてそのファイルのファイルコントロールブロックを補助記憶装置20から取得してこれを主記憶に移し、当該ファイルコントロールブロックの識別番号(ファイルハンドル)をアプリケーションに返す。以後、アプリケーションは、このファイルハンドルを用いて当該ファイルへのリード・ライトを行なう。ファイルコントロールブロックには、当該ファイルのパス名やファイル名、ファイルの実態が格納されている補助記憶装置20内のアドレス情報および各種の属性情報が登録されている。   When an application opens a new file or acquires file configuration information, the application accesses the file system 31 by specifying a file name including a path name. For example, when the file system 31 receives a request to open a file that already exists from the application, the file system 31 acquires the file control block of the file from the auxiliary storage device 20 based on the specified path name, and moves it to the main memory. Return the identification number (file handle) of the file control block to the application. Thereafter, the application uses this file handle to read / write the file. In the file control block, the path name and file name of the file, address information in the auxiliary storage device 20 storing the actual state of the file, and various attribute information are registered.

ファイル制御部32は、当該発明におけるファイル管理装置としての役割を果たす。図3は、補助記憶装置20に関連するソフトウェアの階層構造を示したものであり、中心ほどハードウェアへの関連性が強くなっている。当該階層構造の中心は、補助記憶装置20に対する入出力命令などを扱うHDDドライバ41であり、その外側にファイルシステム31が存在している。   The file control unit 32 serves as a file management device in the present invention. FIG. 3 shows a hierarchical structure of software related to the auxiliary storage device 20, and the relevance to the hardware becomes stronger toward the center. The center of the hierarchical structure is an HDD driver 41 that handles input / output commands to the auxiliary storage device 20, and a file system 31 exists outside the HDD driver 41.

ファイル制御部32は、ファイルシステム31の外側にあり、アプリケーション42とファイルシステム31との間に介在する。ファイル制御部32は、ファイルシステム31が管理する1つのディレクトリに予め定められる所定の上限数を超えるファイルが存在しないように、サブディレクトリを作成し、これらにファイルの格納場所を振り分けて、ファイルの所在を内部管理する機能を果たす。   The file control unit 32 is outside the file system 31 and is interposed between the application 42 and the file system 31. The file control unit 32 creates subdirectories so that there is no file exceeding a predetermined upper limit number in a single directory managed by the file system 31, and assigns the storage locations of the files to them, It fulfills the function of managing the location internally.

すなわち、外部のアプリケーション42からパス名で指定された1つのディレクトリ(以後、元ディレクトリと呼ぶ)に存在すべきファイルが所定の上限数を超える場合に、すなわち、所定の上限数に等しいファイル数が1つのディレクトリ内に存在している状況下で新規にファイルおよび/またはディレクトリが作成される場合には、元ディレクトリの下に1または2以上のディレクトリをサブディレクトリとして作成し、1つのサブディレクトリに存在するファイルが上限数以下になるように、元ディレクトリに存在すべき複数のファイルをサブディレクトリに振り分けて保存する機能を果たす。ファイルがサブディレクトリに振り分けて保存されていることは外部のアプリケーション42には隠蔽され、外部のアプリケーション42からはファイルが元ディレクトリに存在するように見えるようになっている。   That is, when the number of files that should exist in one directory (hereinafter referred to as the original directory) specified by the path name from the external application 42 exceeds a predetermined upper limit number, that is, the number of files equal to the predetermined upper limit number When a new file and / or directory is created under the condition of existing in one directory, one or more directories are created as subdirectories under the original directory, and one subdirectory is created. It fulfills the function of sorting and saving a plurality of files that should exist in the original directory so that the number of existing files is less than or equal to the upper limit. The fact that the file is sorted and stored in the subdirectory is hidden from the external application 42 so that the external application 42 seems to have the file in the original directory.

図1は、外部のアプリケーション42から見たファイルの格納状態と、ファイル制御部32によって内部管理されたファイルの格納状態とを対比して示したものである。図中右側の枠50の中にアプリケーション42から見たファイルの格納状態を、左側の枠60の中にファイル制御部32によって内部管理されたファイルの格納状態を示してある。外部のアプリケーション42からは、パス1で表される元ディレクトリ51に「1」から「2M」までのファイルや、サブディレクトリKが格納されているように見える。   FIG. 1 shows a comparison between a file storage state viewed from the external application 42 and a file storage state internally managed by the file control unit 32. In the figure, the right side frame 50 shows the storage state of the file as viewed from the application 42, and the left side frame 60 shows the storage state of the file internally managed by the file control unit 32. From the external application 42, it seems that the files from “1” to “2M” and the subdirectory K are stored in the original directory 51 represented by the path 1.

一方、ファイルシステム31上では、元ディレクトリ51の下に「1」から「K」までの複数のサブディレクトリ61が作成され、外部から見ると元ディレクトリ51に格納されている「1」から「2M」までのファイルやサブディレクトリKが、複数のサブディレクトリ61(サブディレクトリ1、サブディレクトリ2)に振り分けて格納されている。図1の例では、1つのサブディレクトリ61に格納するファイルの上限数は「m」個になっている。ここで、M<mとなっており、mは物理的な管理可能数ではなく、前述のようにファイル情報の取得やファイルの表示や保存等の際の、スピード低下を考慮して予め定められる数値である。なお、上記mは、可変である。   On the other hand, on the file system 31, a plurality of subdirectories 61 from “1” to “K” are created under the original directory 51 and viewed from the outside, “1” to “2M” stored in the original directory 51. And the sub-directory K are distributed and stored in a plurality of sub-directories 61 (sub-directory 1 and sub-directory 2). In the example of FIG. 1, the upper limit number of files stored in one subdirectory 61 is “m”. Here, M <m, and m is not a physically manageable number, but is determined in advance in consideration of a decrease in speed when acquiring file information, displaying or saving a file, as described above. It is a numerical value. Note that m is variable.

前述のように1つのディレクトリの中に存在するファイルおよび/またはサブディレクトリの個数がm個以下になるように移動されたファイルおよび/またはサブディレクトリについて、移動後の保存場所(現実の保存場所)を示す第1パス名を第1管理テーブル80に保存するとともに、移動前の元のディレクトリにおける保存場所(仮想の保存場所)を示す第2パス名を生成する。そして、この第1パス名と第2パス名とを対応付けた第2管理テーブルをファイルパス分割情報70としてRAM12に保存する。   As described above, for the files and / or subdirectories that have been moved so that the number of files and / or subdirectories existing in one directory is less than or equal to m, the storage location after the move (actual storage location) Is stored in the first management table 80, and a second path name indicating a storage location (virtual storage location) in the original directory before movement is generated. Then, the second management table in which the first path name and the second path name are associated with each other is stored in the RAM 12 as the file path division information 70.

外部のアプリケーション42(ファイル参照手段)に対しては、ファイルおよび/またはサブディレクトリに関する情報として第2パス名を提供することにより、当該ファイルおよび/またはサブディレクトリが外部アプリケーションに表示される際には、あたかも移動前の保存場所に保存されているかの如く表示されるものである。   For the external application 42 (file reference means), when the second path name is provided as information on the file and / or subdirectory, the file and / or subdirectory is displayed on the external application. It is displayed as if it was stored in the storage location before the movement.

その一方で、実際には、1つのディレクトリの中に存在するファイルおよび/またはサブディレクトリの個数がm個以下になるようになされているため、ファイル情報の取得やファイルの表示や保存等の際に、許容できる範囲以上にスピード低下を来すことがない。   On the other hand, since the number of files and / or subdirectories existing in one directory is set to m or less, it is necessary to obtain file information, display and save files, etc. In addition, the speed is not reduced more than the allowable range.

第1パス名は、現実の保存場所を示すパス名(以降、分割パス名とも呼ぶ)とファイル名とを含んでおり、第2パス名は、仮想の保存場所を示すパス名(以降、オリジナルパス名とも呼ぶ)とファイル名とを含んでいる。   The first path name includes a path name indicating an actual storage location (hereinafter also referred to as a split path name) and a file name, and the second path name is a path name indicating a virtual storage location (hereinafter referred to as an original). Path name) and file name.

ファイル制御部32は、新たなファイルをサブディレクトリ61に作成するとき、そのファイルの第2パス名とそのファイルの第1パス名とを対応付けてファイルパス分割情報70に登録する。また外部のアプリケーション42から第2パス名を指定して、ファイルのオープンやファイルの構成情報を取得する要求を受けたとき、指定された第2パス名を、ファイルパス分割情報70を参照して第1パス名に変換し、変換後の第1パス名を用いてファイルシステム31にアクセスするようになっている。   When the file control unit 32 creates a new file in the subdirectory 61, the second path name of the file and the first path name of the file are associated with each other and registered in the file path division information 70. When a request for opening a file or acquiring file configuration information is received from the external application 42 by designating the second path name, the designated second path name is referred to the file path division information 70. The file system 31 is converted to the first path name, and the file system 31 is accessed using the converted first path name.

図4は、ファイルパス分割情報70の一例を示している。第2パス名(オリジナルパス名を含むファイル名)ごとにそのファイルの格納された第1パス名(サブディレクトリ名とファイル名)とが対応付けて登録されている。図4に示した例では、外部のアプリケーション42から見て「AAA/BBB」のオリジナルパス名で表されるディレクトリに格納された「file1」〜「file100」までの100個のファイルが、実際には、オリジナルパスの下に作成した「Sub1」というサブディレクトリに格納されていることが登録されている。また、外部のアプリケーション42から見て「AAA/BBB」のオリジナルパス名で表されるディレクトリに格納された「file101」以後のファイルが、実際にはオリジナルパスの下に作成した「Sub2」というサブディレクトリに格納されていることが登録されている。   FIG. 4 shows an example of the file path division information 70. Each second path name (file name including the original path name) is registered in association with the first path name (subdirectory name and file name) in which the file is stored. In the example shown in FIG. 4, 100 files from “file1” to “file100” stored in the directory represented by the original path name “AAA / BBB” as viewed from the external application 42 are actually Are stored in a subdirectory “Sub1” created under the original path. In addition, the file after “file 101” stored in the directory represented by the original path name “AAA / BBB” as viewed from the external application 42 is actually a sub-name “Sub2” created under the original path. It is registered that it is stored in the directory.

次に、ファイル制御部32の動作の流れを説明する。上述したように、ファイルをオープンした後は、ファイルハンドルによってファイル操作が行なわれるので、ファイル制御部32が関連するのは、ファイルをオープンする場合とファイルの構成情報を取得する場合のみになる。   Next, the operation flow of the file control unit 32 will be described. As described above, since the file operation is performed by the file handle after the file is opened, the file control unit 32 is related only when the file is opened and when the file configuration information is acquired.

図5は、外部のアプリケーション42からファイルの保存命令(ライト・オープン命令)を受けた場合におけるファイル制御部32の動作の流れを示している。アプリケーション42から指定されたオリジナルパス名でファイルパス分割情報70を検索し、該当するオリジナルパスが分割(オリジナルパスの下にサブディレクトリが作成、もしくは、第1パス名と第2パス名とが対応付けて管理)されているか否かを調べる(ステップS101)。   FIG. 5 shows an operation flow of the file control unit 32 when a file save command (write / open command) is received from the external application 42. The file path division information 70 is searched with the original path name specified by the application 42, and the corresponding original path is divided (a subdirectory is created under the original path, or the first path name and the second path name correspond to each other). It is checked whether it has been managed) (step S101).

分割されている場合は(ステップS102;Y)、オリジナルパス名を分割パス名に変換するファイルパス変換処理を実行する(ステップS103)。そして分割パス名とファイル名で特定されるファイルに、アプリケーション42から要求されたデータを書き込む(ステップS106)。オリジナルパスが分割されていない場合は(ステップS102;N)、当該オリジナルパスに存在するファイル数が所定の上限数に達しているか否かを判定する(ステップS104)。たとえば、上限数は「100」に設定される。   If it is divided (step S102; Y), a file path conversion process for converting the original path name into the divided path name is executed (step S103). Then, the data requested by the application 42 is written in the file specified by the division path name and the file name (step S106). When the original path is not divided (step S102; N), it is determined whether the number of files existing in the original path has reached a predetermined upper limit number (step S104). For example, the upper limit number is set to “100”.

上限数に達していない場合は(ステップS104;N)、指定されたオリジナルパス名とファイル名で特定されるファイルに、アプリケーション42から要求されたデータを書き込む(ステップS106)。ファイル数が上限数に達している場合は(ステップS104;Y)、オリジナルパス名が表すディレクトリの下にサブディレクトリを作成し、そのサブディレクトリ名を付加してオリジナルパス名を分割パス名に変換する(ステップS105)。その後、分割パス名とファイル名で特定されるファイルに、アプリケーション42から要求されたデータを書き込む(ステップS106)。   If the upper limit number has not been reached (step S104; N), the data requested by the application 42 is written to the file specified by the designated original path name and file name (step S106). If the number of files has reached the upper limit (step S104; Y), create a subdirectory under the directory indicated by the original path name, add the subdirectory name, and convert the original path name to a split path name. (Step S105). Thereafter, the data requested by the application 42 is written in the file specified by the division path name and the file name (step S106).

いずれにしても、1つのディレクトリ内において、予め設定された上限数を超えるようなファイルが生成される場合に、上述のような制御を行なうことにより、1つのディレクトリ内のファイルおよび/またはサブディレクトリの数が上限数以下になるようにするものである。既に保存されているファイル数の把握については、書き込みのタイミングで行なったが、初期段階で行なってもよい。   In any case, when a file exceeding a preset upper limit number is generated in one directory, the file and / or subdirectory in one directory is controlled by performing the above-described control. Is set to be less than or equal to the upper limit. Although the number of files already stored is determined at the timing of writing, it may be performed at an initial stage.

図6は、ファイルパス変換処理の流れを示している。アプリケーション42から指定されたファイルパス名をファイル名とパス名(オリジナルパス名)とに分け(ステップS201)、オリジナルパス名が表すディレクトリの下に作成されているサブディレクトリの中で、エントリされているファイルが上限数に達していないものを探し出す(ステップS202)。   FIG. 6 shows the flow of the file path conversion process. The file path name designated by the application 42 is divided into a file name and a path name (original path name) (step S201), and an entry is made in a subdirectory created under the directory represented by the original path name. A file whose number has not reached the upper limit is searched (step S202).

エントリに空きのあるサブディレクトリが無い場合は(ステップS203;N)、新たにサブディレクトリを作成するためにサブディレクトリ作成処理を実行する(ステップS204)。こうして作成したサブディレクトリあるいは空きのあるサブディレクトリを見つけた場合はそのサブディレクトリにエントリされるように元のファイルパスを分割パスに変換する(ステップS205)。たとえば、オリジナルパス名が「AAA/BBB」でファイル名が「file101」でサブディレクトリ名が「Sub1」の場合は、変換後の分割パス名は「AAA/BBB/Sub1/file101」になる。   If there is no empty subdirectory in the entry (step S203; N), a subdirectory creation process is executed to create a new subdirectory (step S204). When a subdirectory created in this way or an empty subdirectory is found, the original file path is converted into a divided path so that entry is made in that subdirectory (step S205). For example, when the original path name is “AAA / BBB”, the file name is “file101”, and the subdirectory name is “Sub1”, the divided path name after conversion is “AAA / BBB / Sub1 / file101”.

図7は、サブディレクトリ作成処理の流れを示している。まず、ファイルパス分割情報70を参照して今回作成するサブディレクトリの親ディレクトリにおけるエントリ情報を取得する(ステップS301)。そして、すでに存在するサブディレクトリ名と重ならない名前のサブディレクトリを作成する(ステップS302)。たとえば、作成したサブディレクトリ数をサブディレクトリ名に用いれば処理が簡単化される。   FIG. 7 shows the flow of subdirectory creation processing. First, the entry information in the parent directory of the subdirectory created this time is acquired with reference to the file path division information 70 (step S301). Then, a subdirectory having a name that does not overlap with an existing subdirectory name is created (step S302). For example, if the number of created subdirectories is used as the subdirectory name, the processing is simplified.

図8は、図5のステップS105で呼び出されるサブディレクトリ作成・ファイルパス変換処理の流れを示している。ファイルパス分割情報70を参照して今回作成するサブディレクトリの親ディレクトリにおけるエントリ情報を取得し(ステップS401)、すでに存在するサブディレクトリ名と重ならない名前のサブディレクトリを作成する(ステップS402)。そして、図6に示したファイルパス変換処理を実行し、処理を終了する。すなわち、新たなサブディレクトリを作成し、当該サブディレクトリにエントリされるようにファイルパスの変換を行なうようになっている。   FIG. 8 shows the flow of the subdirectory creation / file path conversion process called in step S105 of FIG. The entry information in the parent directory of the subdirectory to be created this time is acquired with reference to the file path division information 70 (step S401), and a subdirectory having a name that does not overlap with the existing subdirectory name is created (step S402). Then, the file path conversion process shown in FIG. 6 is executed, and the process ends. That is, a new subdirectory is created, and the file path is converted so as to be entered in the subdirectory.

図9は、外部のアプリケーション42からファイルの構成情報を取得する命令を受けた場合におけるファイル制御部32の動作の流れを示している。アプリケーション42から指定されたオリジナルパス名でファイルパス分割情報70を検索し、当該オリジナルパスが分割されているか否かを調べる(ステップS501)。分割されている場合は(ステップS502;Y)、オリジナルパス名を分割パス名に変換するファイルパス変換処理を実行し(ステップS503)、ファイル構成作成処理を実行する(ステップS504)。   FIG. 9 shows a flow of operations of the file control unit 32 when receiving an instruction to acquire file configuration information from the external application 42. The file path division information 70 is searched with the original path name designated by the application 42, and it is checked whether or not the original path is divided (step S501). If it is divided (step S502; Y), a file path conversion process for converting the original path name into a divided path name is executed (step S503), and a file structure creation process is executed (step S504).

図10は、ファイル構成作成処理の流れを示している。まず、実際のファイルパス構成をファイルシステム31より取得する(ステップS601)。すなわち、先に実行したファイルパス変換処理により、オリジナルパスの下に作成されているすべてのサブディレクトリ名を認識し、これらのサブディレクトリにエントリされているすべてのファイル名を抽出する。   FIG. 10 shows the flow of the file structure creation process. First, an actual file path configuration is acquired from the file system 31 (step S601). That is, all the subdirectory names created under the original path are recognized by the previously executed file path conversion process, and all the file names entered in these subdirectories are extracted.

次に、取得した実際のファイルパス名からサブディレクトリ名の部分を削除してファイルパス名を変更する(ステップS602)。そして変更したファイルパス名を用いてファイルパス構成を変更する(ステップS603)。たとえば分割パス名が「AAA/BBB/Sub1/file1」の場合に、サブディレクトリ名である「Sub1」の部分を削除して「AAA/BBB/file1」というファイルパスに変更する。   Next, the subdirectory name portion is deleted from the acquired actual file path name to change the file path name (step S602). Then, the file path configuration is changed using the changed file path name (step S603). For example, when the split path name is “AAA / BBB / Sub1 / file1”, the sub-directory name “Sub1” is deleted and the file path is changed to “AAA / BBB / file1”.

図9のステップS502においてオリジナルパスが分割されていない場合は(N)、オリジナルパス名を用いて画いる構成情報を取得する(ステップS505)。   If the original path is not divided in step S502 of FIG. 9 (N), the composition information drawn using the original path name is acquired (step S505).

以上、本発明の実施形態を図面によって説明してきたが、具体的な構成は実施の形態に限られるものではなく、本発明の要旨を逸脱しない範囲における変更や追加があっても本発明に含まれる。例えば、実施の形態では、アプリケーション42から指定されたオリジナルパスの下にサブディレクトリを作成するように構成したが、別の場所にサブディレクトリを作成してもよい。   Although the embodiments of the present invention have been described with reference to the drawings, the specific configuration is not limited to the embodiments, and modifications and additions within the scope not departing from the gist of the present invention are included in the present invention. It is. For example, in the embodiment, the subdirectory is created under the original path designated by the application 42, but the subdirectory may be created in another location.

第1ディレクトリ内に保存されているファイルおよび/またはサブディレクトリの個数が、予め設定されている個数と等しい状況で、制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、以下のようにすることが可能である。   When the control unit gives an instruction to create a new file in the first directory in a situation where the number of files and / or subdirectories stored in the first directory is equal to the preset number, It is possible to do the following.

(1)制御部は第1ディレクトリ内に新規サブディレクトリを作成し、該サブディレクトリの内部に、少なくとも新規ファイルならびに既に保存されているファイルおよび/またはサブディレクトリを移動させることにより、第1ディレクトリ内に保存されるファイルおよび/またはサブディレクトリの個数を予め定められた上限個数以下にするようにしてもよい。   (1) The control unit creates a new subdirectory in the first directory, and moves at least the new file and the files and / or subdirectories already stored in the subdirectory to move the first directory. The number of files and / or subdirectories stored in the file may be set to a predetermined upper limit or less.

(2)制御部は第1ディレクトリ内に新規サブディレクトリを作成し、該サブディレクトリの内部に、少なくとも既に保存されているファイルおよび/またはサブディレクトリの一部を移動させることにより、第1ディレクトリ内に保存されるファイルおよび/またはサブディレクトリの個数を前記予め定められた上限個数以下にするようにしてもよい。   (2) The control unit creates a new subdirectory in the first directory, and moves at least a part of the already stored files and / or subdirectories into the subdirectory. The number of files and / or subdirectories stored in the file may be set equal to or less than the predetermined upper limit number.

(3)制御部は、少なくとも新規ファイルならびに既に保存されているファイルおよび/またはサブディレクトリを移動させることにより、第1ディレクトリ内に保存されるファイルおよび/またはサブディレクトリの個数を予め定められた上限個数以下にするようにしてもよい。   (3) The control unit moves at least new files and files and / or subdirectories that are already stored, thereby limiting the number of files and / or subdirectories stored in the first directory in advance. The number may be less than the number.

(4)制御部は、少なくとも既に保存されているファイルおよび/またはサブディレクトリの一部を移動させることにより、第1ディレクトリ内に保存されるファイル/およびサブディレクトリの個数を予め定められた上限個数以下にするようにしてもよい。   (4) The control unit moves at least a part of the already stored files and / or subdirectories to thereby set a predetermined upper limit number of files / and subdirectories stored in the first directory. The following may be used.

さらに、ファイル参照手段に提供される第2パス名に基づいて記憶手段に保存されているファイルもしくはディレクトリを削除する指示がなされた場合、制御部は、第2管理テーブルを参照して、第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいてファイルもしくはディレクトリを削除するようにしてもよい。   Furthermore, when an instruction to delete a file or directory stored in the storage unit is given based on the second path name provided to the file reference unit, the control unit refers to the second management table and performs the second operation. The first path name corresponding to the path name may be read, and the file or directory may be deleted based on the first path name.

ファイル参照手段に提供される第2パス名に基づいて記憶手段に保存されているファイルを画像出力する指示がなされた場合、制御部は、第2管理テーブルを参照して、第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいてファイルを画像出力するようにしてもよい。   When an instruction to output an image of a file stored in the storage unit is given based on the second path name provided to the file reference unit, the control unit refers to the second management table and sets the second path name. A corresponding first path name may be read out, and a file may be output as an image based on the first path name.

画像出力とは、画像形成装置により記憶手段に保存されているファイルを印字する行為や、該ファイルを転送もしくは送信する行為のことである。   Image output refers to an act of printing a file stored in a storage unit by the image forming apparatus and an act of transferring or transmitting the file.

また、第1管理テーブルおよび第2管理テーブル(ファイルパス分割情報70)をRAM12上に記憶し、電源オン時の初期処理でファイルパス分割情報70を再構築するように構成したが、ファイルパス分割情報70を補助記憶装置20に保存するように構成してもよい。また、第1管理テーブルおよび第2管理テーブルは、別の記憶手段に保存してもよいし、第1管理テーブルと第2管理テーブルとを各々別々の記憶手段に保存するようにしてもよい。さらに、実施の形態では、サブディレクトリを作成した場合には、オリジナルパス名が示す元のディレクトリにエントリされたすべてのファイルをサブディレクトリに移すようにしたが、一部のファイルだけをサブディレクトリに移すように構成してもよい。   In addition, the first management table and the second management table (file path division information 70) are stored in the RAM 12, and the file path division information 70 is reconstructed by the initial process when the power is turned on. The information 70 may be stored in the auxiliary storage device 20. Further, the first management table and the second management table may be stored in different storage means, or the first management table and the second management table may be stored in separate storage means. Furthermore, in the embodiment, when a subdirectory is created, all the files entered in the original directory indicated by the original path name are moved to the subdirectory. You may comprise so that it may move.

このほか実施の形態では、ファイル管理装置を画像形成装置10に適用した場合を例に説明したが、ファイル管理装置を単独で構成したり、他の装置に適用したりすることができる。   In the other embodiments, the case where the file management apparatus is applied to the image forming apparatus 10 has been described as an example. However, the file management apparatus can be configured independently or applied to another apparatus.

なお、上述の実施の形態においては、ファイルシステム31およびファイル制御部32とを有する制御部30は、画像形成装置10の内部に設けられ、アプリケーション42は外部のパーソナルコンピュータ等の内部に設けられ、画像形成装置10と電気的に接続された状態にて、補助記憶装置20内のファイルの情報を取得したり、表示させたり、選択したファイルを印刷させたりする例を述べたが、本発明はこれに限られるものではない。   In the above-described embodiment, the control unit 30 having the file system 31 and the file control unit 32 is provided in the image forming apparatus 10, and the application 42 is provided in an external personal computer or the like. An example has been described in which information on a file in the auxiliary storage device 20 is acquired, displayed, or a selected file is printed while being electrically connected to the image forming apparatus 10. It is not limited to this.

アプリケーシヨン42を画像形成装置10の内部に設け、画像形成装置10に設けられた表示装置に、補助記憶装置20内のファイルを表示させたり、選択したファイルを印刷させたりするようにしてもよい。   The application 42 may be provided inside the image forming apparatus 10, and a file in the auxiliary storage device 20 may be displayed on a display device provided in the image forming apparatus 10 or a selected file may be printed. .

また、各ファイルおよび/または各ディレクトリを保存する補助記憶装置20や、第1管理テーブルや第2管理テーブルを保存する保存手段は、画像形成装置10の内部に設けられていてもよいし、ファイルシステム31およびファイル制御部32から取り扱い可能に接続されていればよい。   In addition, the auxiliary storage device 20 that stores each file and / or each directory, and a storage unit that stores the first management table and the second management table may be provided inside the image forming apparatus 10, or What is necessary is just to be connected from the system 31 and the file control part 32 so that handling is possible.

すなわち、ファイルシステム31およびファイル制御部32を含む制御部30、補助記憶装置20、保存手段およびアプリケーション42とを有するファイル管理システムが、画像形成装置10の内部に設けられていてもよいし、制御部30、補助記憶装置20および保存手段が画像形成装置10の内部に設けられ、アプリケーション42は画像形成装置10と接続可能に外部に設けられることによりファイル管理システムを構成していてもよいし、制御部30およびアプリケーション42が画像形成装置10の内部に設けられ、補助記憶装置20および保存手段は画像形成装置10と接続可能に外部に設けられていてもよいし、制御部30が画像形成装置10の内部に設けられ、補助記憶装置20、保存手段およびアプリケーション42は画像形成装置10と接続可能に外部に設けられていてもよい。   That is, a file management system having the control unit 30 including the file system 31 and the file control unit 32, the auxiliary storage device 20, the storage unit, and the application 42 may be provided inside the image forming apparatus 10, or may be controlled. The unit 30, the auxiliary storage device 20, and the storage unit may be provided inside the image forming apparatus 10, and the application 42 may be provided externally so as to be connectable to the image forming apparatus 10, thereby constituting a file management system. The control unit 30 and the application 42 may be provided inside the image forming apparatus 10, and the auxiliary storage device 20 and the storage unit may be provided outside so as to be connectable to the image forming apparatus 10, or the control unit 30 may be provided in the image forming apparatus. 10, the auxiliary storage device 20, the storage means and the application 42 are It may be provided externally to be connectable to the image forming apparatus 10.

本発明の実施の形態に係るファイル管理装置を適用した場合における外部のアプリケーションから見たファイルの格納状態と、内部管理されたファイルの格納状態とを対比して表した説明図である。It is explanatory drawing which represented the storage state of the file seen from the external application at the time of applying the file management apparatus which concerns on embodiment of this invention, and the storage state of the file managed internally. 本発明の実施の形態に係るファイル管理装置としてのファイル制御部を含む画像形成装置の構成を示すブロック図である。1 is a block diagram showing a configuration of an image forming apparatus including a file control unit as a file management apparatus according to an embodiment of the present invention. 本発明の実施の形態に係るファイル管理装置としてのファイル制御部を含む画像形成装置におけるソフトウェアの階層構造を示す説明図である。It is explanatory drawing which shows the hierarchical structure of the software in the image forming apparatus containing the file control part as a file management apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るファイル管理装置が作成し参照するファイルパス分割情報の一例を示す説明図である。It is explanatory drawing which shows an example of the file path division | segmentation information which the file management apparatus which concerns on embodiment of this invention produces and refers. 本発明の実施の形態に係るファイル管理装置としてのファイル制御部が外部のアプリケーションからファイルの保存命令を受けた場合の動作を示す流れ図である。It is a flowchart which shows operation | movement when the file control part as a file management apparatus concerning embodiment of this invention receives the preservation | save command of a file from an external application. 本発明の実施の形態に係るファイル管理装置としてのファイル制御部が実行するファイルパス変換処理を示す流れ図である。It is a flowchart which shows the file path conversion process which the file control part as a file management apparatus concerning embodiment of this invention performs. 本発明の実施の形態に係るファイル管理装置としてのファイル制御部が実行するサブディレクトリ作成処理を示す流れ図である。It is a flowchart which shows the subdirectory creation process which the file control part as a file management apparatus concerning embodiment of this invention performs. 本発明の実施の形態に係るファイル管理装置としてのファイル制御部が実行するサブディレクトリ作成・ファイルパス変換処理を示す流れ図である。It is a flowchart which shows the subdirectory creation / file path conversion process which the file control part as a file management apparatus concerning embodiment of this invention performs. 本発明の実施の形態に係るファイル管理装置としてのファイル制御部が外部のアプリケーションからファイルの構成情報を取得する命令を受けた場合の動作を示す流れ図である。It is a flowchart which shows operation | movement when the file control part as a file management apparatus concerning embodiment of this invention receives the command which acquires the structure information of a file from an external application. 本発明の実施の形態に係るファイル管理装置としてのファイル制御部が実行するファイル構成作成処理を示す流れ図である。It is a flowchart which shows the file structure creation process which the file control part as a file management apparatus concerning embodiment of this invention performs. 本発明の実施の形態に係るファイル管理装置が作成し参照する第1管理テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the 1st management table which the file management apparatus which concerns on embodiment of this invention produces and refers to.

符号の説明Explanation of symbols

10…画像形成装置
11…ROM
12…RAM
13…読取部
14…印刷部
15…ファクシミリ部
16…表示操作部
17…通信部
18…圧縮手段
19…伸張手段
20…補助記憶装置
30…CPU
31…ファイルシステム
32…ファイル制御部
41…HDDドライバ
42…アプリケーション
50…外部から見たディレクトリ構造を示す領域
51…元ディレクトリ
60…内部管理されたディレクトリ構造を示す領域
61…サブディレクトリ
70…ファイルパス分割情報(第2管理テーブル)
80…第1管理テーブル
DESCRIPTION OF SYMBOLS 10 ... Image forming apparatus 11 ... ROM
12 ... RAM
DESCRIPTION OF SYMBOLS 13 ... Reading part 14 ... Printing part 15 ... Facsimile part 16 ... Display operation part 17 ... Communication part 18 ... Compression means 19 ... Expansion means 20 ... Auxiliary storage device 30 ... CPU
DESCRIPTION OF SYMBOLS 31 ... File system 32 ... File control part 41 ... HDD driver 42 ... Application 50 ... Area | region which shows directory structure seen from the outside 51 ... Original directory 60 ... Area | region which shows directory structure managed internally 61 ... Subdirectory 70 ... File path Division information (second management table)
80: First management table

Claims (21)

外部からパス名で指定された1つのディレクトリに存在すべき複数のファイルを、各ディレクトリに存在するファイルが所定の上限数以下になるように複数のサブディレクトリに振り分けて内部管理する
ことを特徴とするファイル管理装置。
It is characterized in that a plurality of files that should exist in one directory specified by a path name from the outside are internally managed by distributing them to a plurality of subdirectories so that the number of files existing in each directory is less than a predetermined upper limit. File management device.
外部からパス名で指定された1つのディレクトリに存在すべきファイルが所定数を超える場合に、前記ディレクトリの下に1または2以上のディレクトリをサブディレクトリとして作成し、各ディレクトリに存在するファイルが所定の上限数以下になるように、前記外部からパス名で指定された1つのディレクトリに存在すべき複数のファイルの一部または全部を前記サブディレクトリに振り分けて内部管理する
ことを特徴とするファイル管理装置。
When the number of files that should exist in one directory specified by a path name from the outside exceeds a predetermined number, one or more directories are created as subdirectories under the directory, and the files existing in each directory are predetermined. The file management is characterized in that part or all of a plurality of files that should exist in one directory specified by a path name from the outside is distributed to the sub-directory and managed internally so that the number is less than the upper limit apparatus.
新たに作成したサブディレクトリに属するファイルが前記上限数に達するごとに、次の新たなサブディレクトリを作成する
ことを特徴とする請求項2に記載のファイル管理装置。
The file management apparatus according to claim 2, wherein a new new subdirectory is created each time a file belonging to a newly created subdirectory reaches the upper limit number.
外部から指定されたパス名を含むファイル名とそのファイルの属するサブディレクトリ名との対応関係を表すファイルパス分割情報を、当該ディレクトリ構造の元でデータを保存する記憶媒体より高速にアクセス可能な記憶媒体に記憶した
ことを特徴とする請求項2または3に記載のファイル管理装置。
File path division information indicating the correspondence between the file name including the path name specified from the outside and the subdirectory name to which the file belongs can be accessed at higher speed than the storage medium storing the data under the directory structure. The file management apparatus according to claim 2 or 3, wherein the file management apparatus is stored in a medium.
原稿を読み取って得た画像データを含む各種のデータを保存する記憶装置と、
前記記憶装置に保存するデータをファイル形式で管理しかつファイルの指定にパスを用いるファイルシステムと、
前記ファイルシステムにアクセスする外部のシステムと前記ファイルシステムとの間に介在する請求項1、2、3または4に記載のファイル管理装置と
を有する
ことを特徴とする画像形成装置。
A storage device for storing various data including image data obtained by reading a document;
A file system that manages data to be stored in the storage device in a file format and uses a path to specify a file;
An image forming apparatus comprising: the file management apparatus according to claim 1, wherein the file management apparatus is interposed between an external system that accesses the file system and the file system.
内部に第1ディレクトリを有し、該第1ディレクトリの内部に、ファイルおよび/またはサブディレクトリを保存する記憶手段と、
前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリのそれぞれに対応し、その名前と保存場所とを示す第1パス名を保存する第1管理テーブルと、
前記ファイルおよび/または前記サブディレクトリを制御する制御部とを有し、
前記第1ディレクトリ内に新規ファイルまたは新規サブディレクトリを作成する場合、前記制御部が前記第1管理テーブルに該新規ファイルまたは該新規サブディレクトリに対応する第1パス名を保存し、
前記第1ディレクトリ内に保存可能なファイルおよび/またはサブディレクトリの上限個数が予め設定されていることを特徴とするファイル管理システム。
A storage means having a first directory therein and storing files and / or subdirectories in the first directory;
A first management table storing a first path name corresponding to each of the files and / or subdirectories stored in the first directory and indicating a name and a storage location thereof;
A control unit for controlling the file and / or the subdirectory,
When creating a new file or a new subdirectory in the first directory, the control unit stores a first path name corresponding to the new file or the new subdirectory in the first management table;
An upper limit number of files and / or subdirectories that can be stored in the first directory is set in advance.
前記第1ディレクトリ内に保存されている前記ファイルおよび/または前記サブディレクトリの個数が、前記上限個数と等しい状況で、前記制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、前記制御部は前記第1ディレクトリ内に新規サブディレクトリを作成し、該サブディレクトリの内部に、少なくとも前記新規ファイルならびに前記ファイルおよび/または前記サブディレクトリを移動させることにより、前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリの個数を前記上限個数以下にすることを特徴とする請求項6に記載のファイル管理システム。   When the control unit gives an instruction to create a new file in the first directory in a situation where the number of the files and / or subdirectories stored in the first directory is equal to the upper limit number The control unit creates a new subdirectory in the first directory, and moves at least the new file and the file and / or the subdirectory into the subdirectory. The file management system according to claim 6, wherein the number of the stored files and / or the subdirectories is set to the upper limit number or less. 前記第1ディレクトリ内に保存されている前記ファイルおよび/または前記サブディレクトリの個数が、前記上限個数と等しい状況で、前記制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、前記制御部は前記第1ディレクトリ内に新規サブディレクトリを作成し、該サブディレクトリの内部に、少なくとも前記ファイルおよび/または前記サブディレクトリの一部を移動させることにより、前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリの個数を前記上限個数以下にすることを特徴とする請求項6に記載のファイル管理システム。   When the control unit gives an instruction to create a new file in the first directory in a situation where the number of the files and / or subdirectories stored in the first directory is equal to the upper limit number The control unit creates a new subdirectory in the first directory, and moves the file and / or a part of the subdirectory into the subdirectory, thereby storing the subdirectory in the first directory. 7. The file management system according to claim 6, wherein the number of the files and / or the subdirectories to be set is equal to or less than the upper limit number. 前記第1ディレクトリ内に保存されている前記ファイルおよび/または前記サブディレクトリの個数が、前記上限個数と等しい状況で、前記制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、前記制御部は、少なくとも前記新規ファイルならびに前記ファイルおよび/または前記サブディレクトリを移動させることにより、前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリの個数を前記上限個数以下にすることを特徴とする請求項6に記載のファイル管理システム。   When the control unit gives an instruction to create a new file in the first directory in a situation where the number of the files and / or subdirectories stored in the first directory is equal to the upper limit number The control unit moves at least the new file and the file and / or the subdirectory so that the number of the file and / or the subdirectory stored in the first directory is less than or equal to the upper limit number. The file management system according to claim 6. 前記第1ディレクトリ内に保存されている前記ファイルおよび/または前記サブディレクトリの個数が、前記上限個数と等しい状況で、前記制御部が前記第1ディレクトリ内に新規ファイルを作成する指示を与えた場合、前記制御部は、少なくとも前記ファイルおよび/または前記サブディレクトリの一部を移動させることにより、前記第1ディレクトリ内に保存される前記ファイルおよび/または前記サブディレクトリの個数を前記上限個数以下にすることを特徴とする請求項6に記載のファイル管理システム。   When the control unit gives an instruction to create a new file in the first directory in a situation where the number of the files and / or subdirectories stored in the first directory is equal to the upper limit number The control unit moves at least a part of the files and / or the subdirectories so that the number of the files and / or the subdirectories stored in the first directory is equal to or less than the upper limit number. The file management system according to claim 6. 前記制御部は、前記移動された前記新規ファイル、前記ファイル、もしくは前記サブディレクトリにつき、移動された先の保存場所を示す第1パス名、および前記第1ディレクトリ内の保存場所を示す第2パス名とを生成し、前記第1パス名と前記第2パス名とを対応付けて記憶する第2管理テーブルを有することを特徴とする請求項7ないし10に記載のファイル管理システム。   The control unit includes, for the moved new file, the file, or the subdirectory, a first path name indicating a destination storage location that has been moved, and a second path indicating a storage location in the first directory. 11. The file management system according to claim 7, further comprising: a second management table that generates a name and stores the first path name and the second path name in association with each other. 前記制御部は、前記記憶手段に保存された前記ファイルもしくは前記ディレクトリを参照するファイル参照手段と電気的に接続されている場合に、前記ファイル参照手段に対して、前記第2パス名を提供することを特徴とする請求項11に記載のファイル管理システム。   The control unit provides the second path name to the file reference unit when electrically connected to the file reference unit that refers to the file or the directory stored in the storage unit. The file management system according to claim 11, wherein: 前記ファイル参照手段に提供される前記第2パス名に基づいて前記記憶手段に保存されているファイルを開く指示がなされた場合、前記制御部は、前記第2管理テーブルを参照して、前記第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいて前記ファイルを開くように制御することを特徴とする請求項12に記載のファイル管理システム。   When an instruction to open a file stored in the storage unit is given based on the second path name provided to the file reference unit, the control unit refers to the second management table, and 13. The file management system according to claim 12, wherein a first path name corresponding to the two path names is read and the file is controlled to be opened based on the first path name. 前記制御部により開かれた前記ファイルにつき、前記ファイル参照手段に提供される前記第2パス名に基づいて、該ファイルを保存する指示がなされた場合、前記制御部は、前記第2管理テーブルを参照して、前記第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいて前記ファイルを保存するように制御することを特徴とする請求項13に記載のファイル管理システム。   When the file opened by the control unit is instructed to save the file based on the second path name provided to the file reference means, the control unit displays the second management table. 14. The file management according to claim 13, wherein a reference is made to read out a first path name corresponding to the second path name and to store the file based on the first path name. system. 前記ファイル参照手段に提供される前記第2パス名に基づいて前記記憶手段に保存されているファイルもしくはディレクトリを削除する指示がなされた場合、前記制御部は、前記第2管理テーブルを参照して、前記第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいて前記ファイルもしくは前記ディレクトリを削除するように制御することを特徴とする請求項12に記載のファイル管理システム。   When an instruction is given to delete a file or directory stored in the storage unit based on the second path name provided to the file reference unit, the control unit refers to the second management table. 13. The file management according to claim 12, wherein the first path name corresponding to the second path name is read and the file or the directory is controlled to be deleted based on the first path name. system. 前記ファイル参照手段に提供される前記第2パス名に基づいて前記記憶手段に保存されているファイルを画像出力する指示がなされた場合、前記制御部は、前記第2管理テーブルを参照して、前記第2パス名に対応する第1パス名を読み出すとともに、該第1パス名に基づいて前記ファイルを画像出力するように制御する請求項12に記載のファイル管理システム。   When an instruction to output an image of a file stored in the storage unit is given based on the second path name provided to the file reference unit, the control unit refers to the second management table, 13. The file management system according to claim 12, wherein a first path name corresponding to the second path name is read out, and the file is controlled to be output as an image based on the first path name. 前記第1ディレクトリ内に保存可能な前記上限個数は可変であることを特徴とする請求項6ないし16に記載のファイル管理システム。   17. The file management system according to claim 6, wherein the upper limit number that can be stored in the first directory is variable. 前記第1管理テーブルは前記記憶手段に記憶されることを特徴とする請求項6ないし17に記載のファイル管理システム。   18. The file management system according to claim 6, wherein the first management table is stored in the storage unit. 前記第2管理テーブルは前記記憶手段に記憶されることを特徴とする請求項8ないし18に記載のファイル管理システム。   19. The file management system according to claim 8, wherein the second management table is stored in the storage unit. 請求項6ないし18に記載のファイル管理システムを有することを特徴とする画像形成装置。   An image forming apparatus comprising the file management system according to claim 6. 前記ファイル参照手段を有することを特徴とする請求項20に記載の画像形成装置。
21. The image forming apparatus according to claim 20, further comprising the file reference unit.
JP2004189290A 2003-07-08 2004-06-28 File management device, file management system and image forming apparatus Pending JP2005044345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004189290A JP2005044345A (en) 2003-07-08 2004-06-28 File management device, file management system and image forming apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003193299 2003-07-08
JP2004189290A JP2005044345A (en) 2003-07-08 2004-06-28 File management device, file management system and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2005044345A true JP2005044345A (en) 2005-02-17

Family

ID=34277211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004189290A Pending JP2005044345A (en) 2003-07-08 2004-06-28 File management device, file management system and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2005044345A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100694111B1 (en) * 2005-05-21 2007-03-12 삼성전자주식회사 Method and device for creating folder of image forming apparatus with storage unit and method and device for data storage using
JP2007334397A (en) * 2006-06-12 2007-12-27 Yokogawa Electric Corp Data management device
JP2010092118A (en) * 2008-10-03 2010-04-22 Canon Inc Content management method, content management device, and program
US8081330B2 (en) 2005-04-08 2011-12-20 Konica Minolta Business Technologies, Inc. Data outputting apparatus, and recording medium in which data outputting program is recorded
JP2017211816A (en) * 2016-05-25 2017-11-30 ヤフー株式会社 Storage system and file writing method
US11108931B2 (en) 2019-06-05 2021-08-31 Fujifilm Business Innovation Corp. Information processing apparatus for retransferring fax documents that were unsuccessfully transmitted

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8081330B2 (en) 2005-04-08 2011-12-20 Konica Minolta Business Technologies, Inc. Data outputting apparatus, and recording medium in which data outputting program is recorded
KR100694111B1 (en) * 2005-05-21 2007-03-12 삼성전자주식회사 Method and device for creating folder of image forming apparatus with storage unit and method and device for data storage using
US7815380B2 (en) 2005-05-21 2010-10-19 Samsung Electronics Co., Ltd. Method and apparatus for creating new folder in built-in storage of image forming apparatus, and method and apparatus for storing data using the same
JP2007334397A (en) * 2006-06-12 2007-12-27 Yokogawa Electric Corp Data management device
JP2010092118A (en) * 2008-10-03 2010-04-22 Canon Inc Content management method, content management device, and program
JP2017211816A (en) * 2016-05-25 2017-11-30 ヤフー株式会社 Storage system and file writing method
US10175907B2 (en) 2016-05-25 2019-01-08 Yahoo Japan Corporation Storage device, file writing method, and non-transitory computer readable storage medium
US11108931B2 (en) 2019-06-05 2021-08-31 Fujifilm Business Innovation Corp. Information processing apparatus for retransferring fax documents that were unsuccessfully transmitted

Similar Documents

Publication Publication Date Title
JP5268274B2 (en) Search device, method, and program
KR101383326B1 (en) Method for viewing thumbnail, and image forming apparatus
EP1530359B1 (en) Document processing method and apparatus
EP1513079A2 (en) File management system
JP2008070975A (en) Data storage device and data storage method
US20060055965A1 (en) Image processing apparatus, program and recording medium
CN103581485A (en) Image forming apparatus and method of controlling same
JP2005044345A (en) File management device, file management system and image forming apparatus
JP2014022825A (en) Image processing apparatus, image processing apparatus control method, and program
JP5279516B2 (en) Information processing apparatus, display control method, and program
JP6881920B2 (en) Information processing equipment, control methods, and programs
JP2003319103A (en) Image reading apparatus and image reading record apparatus
JP6091144B2 (en) Image processing apparatus, control method therefor, and program
JP5132393B2 (en) Information processing apparatus, information management method, and program
EP0361454B1 (en) Data storage device
JP2009266026A (en) Data processor, storage device and computer program
EP0361453A2 (en) Data storage device
JP6070359B2 (en) Information transmitter
JP2010237986A (en) Electronic album editing apparatus, electronic album editing apparatus control method, program, and storage medium
JP2004118509A (en) Data management system and data management program
US8023146B2 (en) Print control device, information processing device, method of print control device, method of information processing device and computer program
JP5714084B2 (en) Image processing apparatus, control method, and program
JP2763113B2 (en) Information storage processor
JPH1016346A (en) Document management method and apparatus
JP2005346584A (en) Document management method and apparatus, program, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080410

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080731