JP4888350B2 - Image forming apparatus - Google Patents
Image forming apparatus Download PDFInfo
- Publication number
- JP4888350B2 JP4888350B2 JP2007294765A JP2007294765A JP4888350B2 JP 4888350 B2 JP4888350 B2 JP 4888350B2 JP 2007294765 A JP2007294765 A JP 2007294765A JP 2007294765 A JP2007294765 A JP 2007294765A JP 4888350 B2 JP4888350 B2 JP 4888350B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- name
- image
- list
- pointer
- 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
- 238000007726 management method Methods 0.000 claims description 55
- 230000015572 biosynthetic process Effects 0.000 claims description 16
- 230000001174 ascending effect Effects 0.000 claims description 13
- 230000006870 function Effects 0.000 claims description 11
- 238000000034 method Methods 0.000 description 41
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Facsimiles In General (AREA)
- Storing Facsimile Image Data (AREA)
Description
本発明は、データを記憶可能な記憶手段を有し、記憶手段に、外部記憶媒体に格納された画像ファイルに関するファイル情報を管理するファイルリストを生成し、当該ファイルリストに基づいて画像ファイルの画像形成に関する処理を実行する画像形成装置等に関する。 The present invention has storage means capable of storing data, generates a file list for managing file information relating to image files stored in an external storage medium in the storage means, and generates an image file based on the file list. The present invention relates to an image forming apparatus that executes processing relating to formation.
従来、プリンタにおいては、メモリカード等の外部記憶媒体が接続可能になっており、外部記憶媒体に格納された画像ファイルを用いて画像形成が行われている。 Conventionally, in a printer, an external storage medium such as a memory card can be connected, and an image is formed using an image file stored in the external storage medium.
このようなプリンタにおいては、外部記憶媒体が接続されたことを検出すると、外部記憶媒体に格納された画像ファイルに関する例えば、フルパスファイル名、ファイル作成日時等のファイル情報を含むファイルリストを作成して、プリンタ内のメモリに格納している(例えば、特許文献1参照)。ファイルリストにおいては、例えば、フルパスファイル名のASCII(American Standard Code for Information Interchange)コードの順番(昇順又は降順)に従ってファイル情報が並べられてメモリに格納される。 In such a printer, when it is detected that an external storage medium is connected, a file list including file information such as a full path file name and a file creation date is created for the image file stored in the external storage medium. Are stored in a memory in the printer (see, for example, Patent Document 1). In the file list, for example, file information is arranged in accordance with the ASCII (American Standard Code for Information Interchange) code order (ascending order or descending order) of the full path file name and stored in the memory.
プリンタにおいては、ファイルリストに格納されたファイル情報の並べられた順番に従って、各画像を表示装置に表示等するようにしている。 In the printer, each image is displayed on a display device in accordance with the order in which the file information stored in the file list is arranged.
また、プリンタによっては、各画像ファイルのフルパスファイル名をファイルツリーとして構成し、ファイルリストにファイルツリーのファイル名に対応する構造体へのポインタを格納するようにしているものもある。 In some printers, the full path file name of each image file is configured as a file tree, and a pointer to a structure corresponding to the file name of the file tree is stored in the file list.
例えば、ファイルリストのファイル情報をASCIIコードの順番に並べるためには、ファイル情報中のフルパスファイル名を用いてソートして、各ファイル情報を並べ替える必要があり、処理負荷がかかり、処理に長時間かかるという問題が生じる。 For example, in order to arrange the file information in the file list in the order of the ASCII code, it is necessary to sort using the full path file name in the file information, and to rearrange each file information. The problem is that it takes time.
さらに、フルパスファイル名をファイルツリーとして管理し、ファイルリストにおいては、ファイルツリーにおけるファイル名の構造体へのポインタを格納するようにしている場合にあっては、ファイルリストのファイル情報をASCIIコードの順番にソートするためには、ファイル情報中のポインタを利用してファイルツリーからフルパスファイル名を取得しなければならず、処理負荷がより重くなり、処理により長時間かかるという問題が生じる。 Further, when the full path file name is managed as a file tree and a pointer to the structure of the file name in the file tree is stored in the file list, the file information of the file list is stored in the ASCII code. In order to sort in order, the full path file name must be acquired from the file tree using the pointer in the file information, which causes a problem that the processing load becomes heavier and the processing takes a long time.
本発明は、上記課題に鑑みなされたものであり、その目的は、ファイルリストのファイル情報を迅速に所定の順序で利用できるようにする技術を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique for making it possible to quickly use file information in a file list in a predetermined order.
上記目的達成のため、本発明の第1の態様に係る画像形成装置は、データを記憶可能な記憶手段を有し、前記記憶手段に、外部記憶媒体に格納された画像ファイルに関するファイル情報を管理するファイルリストを生成し、当該ファイルリストに基づいて前記画像ファイルの画像形成に関する処理を実行する画像形成装置であって、前記外部記憶媒体から複数の画像ファイルのファイル名及びパス名を含む第1ファイル情報を取得する第1ファイル情報取得手段と、前記パス名及び前記ファイル名をASCIIコードの順番に従って取得可能に管理するファイルツリーを前記記憶手段に生成するファイルツリー生成手段と、前記第1ファイル情報における前記ファイル名及び前記パス名を、対応する前記画像ファイルのファイル名を示す前記ファイルツリーにおけるポインタに置換した第2ファイル情報を生成し、前記第2ファイル情報を含むファイルリストを前記記憶手段に格納するファイルリスト生成手段と、前記パス名及び前記ファイル名のASCIIコードの順番に従って、前記ファイルツリーから前記ファイル名を示す前記ポインタを取得するファイル名ポインタ取得手段と、取得された前記ポインタを所定の順番で特定し、前記ファイルリストから当該ポインタに対応付けられている前記第2ファイル情報を示す識別番号を取得する第1識別番号取得手段と、前記識別番号を取得した順に並べた管理リストを生成する管理リスト生成手段とを有する。 To achieve the above object, the image forming apparatus according to the first aspect of the present invention has storage means capable of storing data, and manages file information related to image files stored in an external storage medium in the storage means. An image forming apparatus that generates a file list to be executed and executes processing relating to image formation of the image file based on the file list, wherein the first file name includes a plurality of image file names and path names from the external storage medium. A first file information acquisition unit for acquiring file information; a file tree generation unit for generating a file tree in the storage unit for managing the path name and the file name so as to be acquired according to an ASCII code order; and the first file. The file name and the path name in the information indicate the file name of the corresponding image file Generating second file information replaced with a pointer in the file tree, storing a file list including the second file information in the storage unit, and the path name and the order of the ASCII code of the file name, File name pointer acquisition means for acquiring the pointer indicating the file name from the file tree, the acquired pointer is specified in a predetermined order, and the second file associated with the pointer from the file list First identification number acquisition means for acquiring an identification number indicating information, and management list generation means for generating a management list arranged in the order in which the identification numbers are acquired.
上記画像形成装置において、前記管理リストに格納された前記識別番号を所定の順番で取得する第2識別番号取得手段と、前記ファイルリストから前記識別番号に対応する前記第2ファイル情報を取得する第2ファイル情報取得手段と、前記第2ファイル情報に基づいて、前記ファイル名及び前記パス名を取得するパス名・ファイル名取得手段と、取得した前記ファイル名及び前記パス名に基づいて、前記外部記憶媒体から前記画像ファイルを取得する画像ファイル取得手段と、取得した前記画像ファイルに対応する画像を取得した順番に表示出力する表示手段とを有するようにしてもよい。 In the image forming apparatus, second identification number acquisition means for acquiring the identification numbers stored in the management list in a predetermined order, and second information for acquiring the second file information corresponding to the identification number from the file list. 2 file information acquisition means; path name / file name acquisition means for acquiring the file name and path name based on the second file information; and the external name based on the acquired file name and path name. You may make it have an image file acquisition means which acquires the said image file from a storage medium, and a display means which displays and outputs the image corresponding to the acquired said image file in the order acquired.
また、上記画像形成装置において、前記ファイルツリー生成手段は、前記画像ファイルの種類に応じて複数の前記ファイルツリーを生成し、前記ファイルリスト生成手段は、前記画像ファイルの種類に応じて複数の前記ファイルリストを格納し、前記管理リスト作成手段は、前記画像ファイルの種類に応じて複数の前記管理リストを作成するようにしてもよい。 In the image forming apparatus, the file tree generation unit generates a plurality of the file trees according to the type of the image file, and the file list generation unit includes a plurality of the file trees according to the type of the image file. A file list may be stored, and the management list creation means may create a plurality of the management lists according to the type of the image file.
また、上記画像形成装置において、前記ファイルツリー生成手段は、前記パス名及び前記ファイル名をASCIIコードの降順に従って取得可能に管理するファイルツリーを生成するようにしてもよい。 In the image forming apparatus, the file tree generation unit may generate a file tree that manages the path name and the file name so that they can be acquired in descending order of ASCII codes.
また、上記画像形成装置において、前記ファイル名ポインタ取得手段は、前記取得したポインタを取得した順番でポインタリストに格納し、前記第2識別番号取得手段は、前記ポインタリストに格納されている順番に基づいて前記ポインタを特定し、前記識別番号を取得するようにしてもよい。 In the image forming apparatus, the file name pointer acquisition unit stores the acquired pointers in the pointer list in the order of acquisition, and the second identification number acquisition unit stores the pointers in the order stored in the pointer list. The pointer may be specified based on the identification number, and the identification number may be acquired.
また、上記画像形成装置において、前記第2識別番号取得手段は、前記ポインタを、対応する前記パス名及び前記ファイル名のASCIIコードの昇順となる順番で特定して前記識別番号を取得するようにしてもよい。 In the image forming apparatus, the second identification number acquisition unit may acquire the identification number by specifying the pointer in an ascending order of the ASCII code of the corresponding path name and the file name. May be.
また、上記目的達成のため、本発明の第2の態様に係るファイル管理方法は、データを記憶可能な記憶手段を有し、前記記憶手段に、外部記憶媒体に格納された画像ファイルに関するファイル情報を管理するファイルリストを作成し、当該ファイルリストに基づいて前記画像ファイルの画像形成に関する処理を実行する画像形成装置によるファイル管理方法であって、前記画像形成装置のファイル情報取得手段が、前記外部記憶媒体から複数の画像ファイルのファイル名及びパス名を含む第1ファイル情報を取得するファイル情報取得ステップと、前記画像形成装置のファイルツリー生成手段が、前記パス名及び前記ファイル名をASCIIコードの順番に従って取得可能に管理するファイルツリーを前記記憶手段に生成するファイルツリー生成ステップと、前記画像形成装置のファイルリスト生成手段が、前記第1ファイル情報における前記ファイル名及び前記パス名を、対応する前記画像ファイルのファイル名を示す前記ファイルツリーにおけるポインタに置換した第2ファイル情報を生成し、前記第2ファイル情報を含むファイルリストを前記記憶手段に格納するファイルリスト生成ステップと、前記画像形成装置のファイル名ポインタ取得手段が、前記パス名及び前記ファイル名のASCIIコードの順番に従って、前記ファイルツリーから前記ファイル名を示す前記ポインタを取得するファイル名ポインタ取得ステップと、前記画像形成装置の第1識別番号取得手段が、取得された前記ポインタを所定の順番で特定し、前記ファイルリストから当該ポインタに対応付けられている前記第2ファイル情報を示す識別番号を取得する識別番号取得ステップと、前記画像形成装置の管理リスト生成手段が、前記識別番号を取得した順に並べた管理リストを生成する管理リスト生成ステップとを有する。 In order to achieve the above object, a file management method according to the second aspect of the present invention includes a storage unit capable of storing data, and the storage unit stores file information relating to an image file stored in an external storage medium. A file management method by an image forming apparatus that creates a file list for managing the image file and executes processing related to image formation of the image file based on the file list, wherein the file information acquisition unit of the image forming apparatus includes the external information A file information acquisition step of acquiring first file information including file names and path names of a plurality of image files from a storage medium; and a file tree generation means of the image forming apparatus, wherein the path names and the file names are converted into ASCII codes. A file tree that generates a file tree in the storage means that is managed so as to be obtainable in order. And a file list generation unit of the image forming apparatus replaces the file name and the path name in the first file information with a pointer in the file tree indicating the file name of the corresponding image file. A file list generation step of generating file information and storing a file list including the second file information in the storage unit; and a file name pointer acquisition unit of the image forming apparatus, the path name and the ASCII code of the file name The file name pointer acquisition step for acquiring the pointer indicating the file name from the file tree in accordance with the order of the first identification number acquisition means of the image forming apparatus specifies the acquired pointer in a predetermined order. , Associated with the pointer from the file list. An identification number acquisition step of acquiring an identification number indicating the second file information, and a management list generation step of generating a management list in which the management list generation means of the image forming apparatus is arranged in the order in which the identification numbers are acquired; Have
また、上記目的達成のため、本発明の第3の態様に係るファイル管理プログラムは、データを記憶可能な記憶手段を有し、前記記憶手段に、外部記憶媒体に格納された画像ファイルに関するファイル情報を管理するファイルリストを生成し、当該ファイルリストに基づいて前記画像ファイルの画像形成に関する処理を実行する画像形成装置に備えられたコンピュータに実行させるファイル管理プログラムであって、前記コンピュータを、前記外部記憶媒体から複数の画像ファイルのファイル名及びパス名を含む第1ファイル情報を取得するファイル情報取得手段と、前記パス名及び前記ファイル名をASCIIコードの順番に従って取得可能に管理するファイルツリーを前記記憶手段に生成するファイルツリー生成手段と、前記第1ファイル情報における前記ファイル名及び前記パス名を、対応する前記画像ファイルのファイル名を示す前記ファイルツリーにおけるポインタに置換した第2ファイル情報を生成し、前記第2ファイル情報を含むファイルリストを前記記憶手段に格納するファイルリスト生成手段と、前記パス名及び前記ファイル名のASCIIコードの順番に従って、前記ファイルツリーから前記ファイル名を示す前記ポインタを取得するファイル名ポインタ取得手段と、取得された前記ポインタを所定の順番で特定し、前記ファイルリストから当該ポインタに対応付けられている前記第2ファイル情報を示す識別番号を取得する第1識別番号取得手段と、前記識別番号を取得した順に並べた管理リストを生成する管理リスト生成手段として機能させる。 In order to achieve the above object, a file management program according to the third aspect of the present invention has a storage unit capable of storing data, and the storage unit stores file information relating to an image file stored in an external storage medium. Is a file management program that is executed by a computer provided in an image forming apparatus that generates a file list for managing the image file and executes processing related to image formation of the image file based on the file list, A file information acquisition unit that acquires first file information including file names and path names of a plurality of image files from a storage medium, and a file tree that manages the path names and the file names so that they can be acquired according to the order of ASCII codes. File tree generation means for generating in the storage means, and the first file; Generating the second file information by replacing the file name and the path name in the information with a pointer in the file tree indicating the file name of the corresponding image file, and storing the file list including the second file information in the storage means A file list generating means for storing the file name, a file name pointer acquiring means for acquiring the pointer indicating the file name from the file tree in accordance with an ASCII code order of the path name and the file name, and the acquired pointer First identification number acquisition means for acquiring an identification number indicating the second file information associated with the pointer from the file list specified in a predetermined order, and a management list arranged in the order in which the identification numbers are acquired It is made to function as a management list generating means for generating.
本発明の実施形態について、図面を参照して説明する。なお、以下に説明する実施形態は特許請求の範囲にかかる発明を限定するものではなく、また実施形態の中で説明されている諸要素及びその組み合わせの全てが発明の解決手段に必須であるとは限らない。 Embodiments of the present invention will be described with reference to the drawings. The embodiments described below do not limit the invention according to the claims, and all the elements and combinations described in the embodiments are essential for the solution of the invention. Is not limited.
まず、本発明の一実施形態に係る画像形成装置の一例としてのプリンタについて説明する。 First, a printer as an example of an image forming apparatus according to an embodiment of the present disclosure will be described.
図1は、本発明の一実施形態に係るプリンタの機能構成図である。 FIG. 1 is a functional configuration diagram of a printer according to an embodiment of the present invention.
複合機1において、CPU(Central Processing Unit)10と、ROM(Read Only Memory)11と、RAM(Random Access Memory)12と、EEPROM(Electrically Erasable Programmable Read-Only Memory)13と、入力インターフェース部(入力I/F部)14と、表示インターフェース部(表示I/F部)15と、スキャナ機能部16と、プリンタ機能部17と、メモリカードインターフェース部(メモリカードI/F部)18と、通信インターフェース部(通信I/F部)19とがバス20を介して接続されている。ここで、CPU10、ROM11、及びRAM12等が、コンピュータに相当する。
In the
ROM11は、ブートプログラム等のプログラムを記憶する。本実施形態では、ROM11は、後述するファイル管理処理及び画像形成処理のプログラムを記憶する。
The
RAM12は、プログラムやデータを記憶する領域として、或いは、CPU10による処理に使用しているデータを格納する作業領域として利用される。本実施形態では、RAM12は、複数のファイル管理情報12aを記憶することができる。ファイル管理情報12aは、ファイルのファイル情報を格納するファイルリストFL(ファイルリスト)と、ファイル名及びパス名の階層構造を示すファイルツリーFT(ファイルツリー)と、管理リストの一例としてのファイル番号管理リストFMLとを記憶する。本実施形態では、画像ファイルの種類に応じてファイル管理情報12aを異ならせており、例えば、PIF(PRINT Image Framer)ファイルと、PIF以外のプリンタ1で画像形成可能な種類(例えば、JPEG形式、TIFF形式等)の画像ファイル(所定画像ファイル)とを別のファイル管理情報12aにより管理するようにしている。ここで、PIFファイルとは、所定画像ファイルと一緒に画像形成可能なフレーム画像のファイルである。
The
図2は、本発明の一実施形態に係るファイル情報の一例を示す図である。図2Aは、第1種類画像ファイルのファイル情報の一例を示し、図2Bは、PIFファイルのファイル情報の一例を示す。 FIG. 2 is a diagram showing an example of file information according to an embodiment of the present invention. FIG. 2A shows an example of file information of the first type image file, and FIG. 2B shows an example of file information of the PIF file.
所定画像ファイルのファイル情報FIは、フルパスファイル名フィールド31と、ファイル作成日付フィールド32と、ファイル作成時刻フィールド33と、PIF関連付けフラグフィールド34と、画像チェック情報フィールド35とを有する。
The file information FI of the predetermined image file has a full path
フルパスファイル名フィールド31には、対応する所定画像ファイルのフルパスファイル名(すなわち、ルートディレクトリからのすべてのパス名とファイル名)又は、フルパスファイル名を取得することのできる記憶領域を示すポインタが格納される。ファイル情報FIは、状況に応じて、フルパスファイル名フィールド31に格納されている情報が異なっており、例えば、メモリカード2から取り出されたファイル情報FIであれば、フルパスファイル名が格納され、ファイルリストFL中のファイル情報FIであれば、ファイルツリーFTのファイル名のアイテム情報構造体IS(図3B参照)へのポインタが格納される。ここで、フルパスファイル名中のパス名に含まれる階層のディレクトリと、ファイルとのそれぞれをアイテムといい、その名称をアイテム名という。例えば、”a:¥b¥c.jpg”というフルパスファイル名の画像ファイルがある場合には、”a:”、”b”、”c.jpg”のそれぞれがアイテム名である。
The full path
ファイル作成日付フィールド32には、対応する所定画像ファイルを作成した日付が格納される。ファイル作成時刻フィールド33には、対応する所定画像ファイルを作成した時刻が格納される。PIF関連付けフラグフィールド34には、対応する所定画像ファイルに関連付けされているPIFファイルがあるか否かを示すフラグが格納される。画像チェック情報フィールド35には、所定画像ファイルの画像の状態を示す情報、例えば、画像チェック済みか、正常な画像か、異常な画像か等の判定結果についての情報が格納される。
The file
PIFファイルのファイル情報FIは、フルパスファイル名フィールド41と、ファイル作成日付フィールド42と、ファイル作成時刻フィールド43と、PIF種別フィールド44と、サポート用紙サイズ(専用紙)フィールド45と、サポート用紙サイズ(普通紙)フィールド46と、UUIDフィールド47と、写真枠数フィールド48と、流し込み画像数フィールド49とを有する。
The file information FI of the PIF file includes a full path
フルパスファイル名フィールド41には、対応するPIFファイルのフルパスファイル名(すなわち、ルートディレクトリからのすべてのパス名とファイル名)又は、フルパスファイル名を取得することのできる記憶領域を示すポインタが格納される。ファイル情報FIは、状況に応じて、フルパスファイル名フィールド41に格納されている情報が異なっており、例えば、メモリカード2から取り出されたファイル情報FIであれば、フルパスファイル名が格納され、ファイルリストFL中のファイル情報FIであれば、ファイルツリーFTのファイル名のアイテム情報構造体IS(図3B参照)へのポインタが格納される。
The full path
ファイル作成日付フィールド42には、対応するPIFファイルを作成した日付が格納される。ファイル作成時刻フィールド43には、対応するPIFファイルを作成した時刻が格納される。PIF種別フィールド44には、PIFファイルのタイプが格納される。サポート用紙サイズ(専用紙)フィールド45には、対応するPIFファイルがサポートする専用紙(普通紙以外)の用紙サイズが格納される。サポート用紙サイズ(普通紙)フィールド46には、対応するPIFファイルがサポートする普通紙の用紙サイズが格納される。UUIDフィールド47には、PIFファイルを一意に識別するためのIDであるUUIDが格納される。なお、UUIDは、PIFファイルと一緒に印刷する画像の画像ファイルと関連付けするために用いられる。PIFファイルと関連付けされている画像ファイルのヘッダには、関連するPIFファイルのUUIDが格納されている。
The file
写真枠数フィールド48には、対応するPIFファイルにおいて画像を印刷することのできるフレームの数が格納される。流し込み画像数フィールド49には、1つのPIFファイルで選択することのできる画像の数が格納される。なお、流し込み画像数は、必ずしもフレーム数と一致しておらず、異なるフレームに対して同じ画像が割り当てられている場合には、フレーム数よりも少ない。例えば、画像を印刷できるフレームが3つあり、3つの枠のうちの2つのフレームに同じ画像を割り当てている場合には、流し込み画像数が2となる。
The photo
次に、ファイルツリーFTの構造について説明する。 Next, the structure of the file tree FT will be described.
図3は、本発明の一実施形態に係るファイルツリーを説明する図である。なお、所定画像ファイルを例に説明するが、PIFファイルのファイルツリーについても同様である。 FIG. 3 is a diagram illustrating a file tree according to an embodiment of the present invention. The predetermined image file will be described as an example, but the same applies to the file tree of the PIF file.
”a:¥b¥c.jpg”、”a:¥b¥d.jpg”、”a:¥b¥e.jpg”の3つの所定画像ファイルが存在する場合には、ファイルツリーFLは、図3Aに示すような構造として生成される。すなわち、ディレクトリ”a:”の下位にディレクトリ”b”が繋がり、その下位にファイル”e.jpg”、”d.jpg”、”c.jpg”が繋げられる。本実施形態では、親を同じにする同一階層のアイテムについては、ASCIIコードの降順に並べられて構成されている。従って、ファイルツリーFTを辿ることにより、フルパスファイル名をASCIIコードの降順で取得することができる。 When three predetermined image files “a: ¥ b ¥ c.jpg”, “a: ¥ b ¥ d.jpg”, and “a: ¥ b ¥ e.jpg” exist, the file tree FL becomes It is generated as a structure as shown in FIG. 3A. That is, the directory “b” is connected to the lower side of the directory “a:”, and the files “e.jpg”, “d.jpg”, and “c.jpg” are connected to the lower side thereof. In the present embodiment, items in the same hierarchy having the same parent are arranged in descending order of ASCII codes. Therefore, the full path file name can be acquired in descending order of the ASCII code by tracing the file tree FT.
図3Bには、ファイルツリーFLを構成するアイテム情報構造体の一例を示している。 FIG. 3B shows an example of an item information structure constituting the file tree FL.
アイテム情報構造体ISは、アイテム名フィールド51と、親構造体ポインタ52と、子構造体ポインタ53と、次構造体ポインタ54とを有する。ファイルツリーFLには、各アイテムに対応するアイテム情報構造体ISが格納されている。
The item information structure IS has an
アイテム名フィールド51には、対応するアイテム名又は、アイテム名を格納している記憶領域へのポインタが格納される。親構造体ポインタ52には親(上位)となるアイテムのアイテム情報構造体ISへのポインタが格納される。子構造体ポインタ53には、子(下位)となるアイテムのアイテム情報構造体ISへのポインタが格納される。次構造体ポインタ54には、親を同じとする同一階層のアイテムであって、次の順番(本実施形態では、ASCIIコードの降順)のアイテムのアイテム情報構造体ISへのポインタ(次構造体ポインタ)が格納される。従って、次構造体ポインタを辿ることにより、ASCIIコードの降順に従って、アイテム名を取得することができる。なお、ファイル名のアイテム情報構造体ISから順に各アイテム情報構造体ISの親構造体ポインタを辿ることにより、フルパスファイル名を取得することができる。
The
図1の説明に戻り、EEPROM13は、書き換え可能な不揮発性メモリであり、プリンタ1の電源が入っていない場合でも記憶しておく必要がある各種情報を記憶する。
Returning to the description of FIG. 1, the
入力I/F部14には、キー部21が接続されている。入力I/F部14は、キー部21からの信号をデータとして、CPU10に出力する。キー部21は、プリンタ1の筐体に設けられた図示しない、上キー、下キー、左キー、右キー、OKキー、スタートキー、ストップキー、テンキー等を有し、押下されたキーに応じた信号を入力I/F部14に出力する。表示I/F部15は、例えば、VRAM(Video Random Access Memory)を有し、CPU10の制御により、表示させる画面に応じた画像データを生成し、液晶表示装置(LCD)22に画面を表示出力させる。
A
スキャナ機能部16は、図示しない原稿給紙トレイに載置された紙、OHPシート等の原稿を読み取ってデジタル画像データを生成する。プリンタ機能部17は、例えば、紙、OHPシート、厚紙、封筒等の画像形成媒体に画像を形成する。
The
メモリカードI/F部18は、外部記憶媒体の一例としてのメモリカード2を着脱可能なコネクタを有しており、メモリカード2とCPU10との間のデータ交換の仲介を行う。メモリカード2としては、例えば、USBメモリ、SDカード、スマートメディア、PCカード等がある。
The memory card I /
通信I/F部19は、ネットワークと接続可能であり、ネットワークを介して他の装置とのデータ交換の仲介を行う。
The communication I /
CPU10は、各部11〜19の動作を制御する。また、CPU10は、ROM11に格納されているプログラムをRAM12に読み出して実行することにより、受付処理部10aと、処理実行制御部10bと、ファイルリスト処理部10c、ファイルツリー処理部10dと、表示処理部10eと、画像形成制御部10fとを構成して各種処理を実行する。ここで、第1ファイル情報取得手段、管理リスト生成手段、第1識別番号取得手段、第2識別番号取得手段及び画像ファイル取得手段は、主に処理実行制御部10bによって構成され、ファイルツリー生成手段、ファイル名ポインタ取得手段、及びパス名・ファイル名取得手段は、主に、ファイルツリー処理部10dによって構成され、ファイルリスト生成手段、及び識別番号取得手段は、主に処理実行制御部10b及びファイルリスト処理部10dによって構成され、第2ファイル情報取得手段は、主に、ファイルリスト処理部10cによって構成され、表示手段は、主に表示処理部10eによって構成される。
CPU10 controls operation | movement of each part 11-19. Further, the
受付処理部10aは、キー部21に対するユーザから各種指示を受ける。本実施形態では、受付処理部10aは、コピー処理、スキャン処理、印刷処理等の指示入力や、表示させる画像の指示、画像形成させる画像の選択指示等を受け付ける。
The
処理実行制御部10bは、メモリカード2に格納されているPIFファイル、所定画像ファイルからファイル情報(第1ファイル情報)を読み出して、各部10a、10c、10d、10e、10fを制御する。処理実行制御部10bが実行する具体的な処理については後述する。
The process
ファイルリスト処理部10cは、処理実行制御部10bからファイル情報を取得し、ファイルの種別に応じて対応するファイルリストFLに登録する処理を実行する。また、ファイルリスト処理部10cは、処理実行制御部10bによる指令に応じて、ファイルリストFLからファイル情報又はファイル情報中の所定の情報を取得し、処理実行制御部10bに渡す処理を実行する。
The file
ファイルツリー処理部10dは、処理実行制御部10bからフルパスファイル名を受け取って、ファイルの種別に応じて対応するファイルツリーFTを生成する処理を実行する。また、ファイルツリー処理部10dは、フルパスファイル名の上位のアイテムから順に、その時点のファイルツリーFLに、対応するアイテムのアイテム情報構造体ISがあるか否かを判定し、ある場合には、更に下位のアイテムについての処理を進めていく一方、対応するアイテム情報構造体ISがない場合には、アイテムに対応する新たなアイテム情報構造体ISを生成し、当該アイテム情報構造体IS及び連結関係を変更すべき他のアイテム情報構造体ISのポインタを、当該アイテム情報構造体ISが対応するフルパスファイル名のASCIIコードの降順に繋がるように更新する。
The file
例えば、図3Aに示すようなファイルツリーFTが生成されている場合において、新たに、”a:¥b¥f.jpg”を受け取った場合には、図3Cに示すファイルツリーを生成する。具体的には、ファイルツリー処理部10dは、”b”の直下の階層において、”f.jpg”のアイテム情報構造体ISを生成し、当該アイテム情報構造体ISがASCIIコードの降順に並ぶように、上位の”b”のアイテム情報構造体ISの子構造体ポインタ53に新たな”f.jpg”のアイテム情報構造体ISへのポインタを格納し、”f.jpg”のアイテム情報構造体ISの次構造体ポインタ54には、”e.jpg”のアイテム情報構造体ISへのポインタを格納する。
For example, in the case where the file tree FT as shown in FIG. 3A is generated, when a new “a: ¥ b ¥ f.jpg” is received, the file tree shown in FIG. 3C is generated. Specifically, the file
図1の説明に戻り、ファイルツリー処理部10dは、処理実行制御部10bによる指令に応じて、ファイルツリーFTからフルパスファイル名を取得し、処理実行制御部10bに渡す処理を実行する。
Returning to the description of FIG. 1, the file
表示処理部10eは、画像形成させるための画像を選択させるための画面を表示させる。
The
画像形成制御部10fは、受付処理部10aによって選択された画像の画像ファイルを処理実行制御部10bから受け取って、プリンタ機能部17によって当該画像ファイルの画像を画像形成媒体に形成させる。
The image formation control unit 10f receives the image file of the image selected by the
次に、本発明の実施形態に係るプリンタ1におけるファイル管理処理を図面を参照して説明する。
Next, file management processing in the
図4は、本発明の一実施形態に係るファイル管理処理のフローチャートであり、図5は、本発明の一実施形態に係るファイル管理処理を説明する図である。 FIG. 4 is a flowchart of file management processing according to an embodiment of the present invention, and FIG. 5 is a diagram illustrating file management processing according to an embodiment of the present invention.
このファイル管理処理は、メモリカード2がメモリカードI/F部18に装着されたことを処理実行制御部10bが検出した場合に実行が開始される。
The file management process is started when the process
ファイル管理処理の実行が開始されると、処理実行制御部10bは、メモリカード2内の画像ファイルを所定の順番(例えば、FAT(File Allocation Table)順)で1つ読み込んで、ファイル情報(第1ファイル情報)を取得し(ステップS1)、読み込んだファイルの種類が、PIFファイル、所定画像ファイル、その他のファイルのいずれであるかを判定する(ステップS2)。
When the execution of the file management process is started, the process
ステップS2において、読み込んだファイルが所定画像ファイルであると判定した場合には、処理実行制御部10bは、ファイル情報からフルパスファイル名を取得し、当該フルパスファイル名をファイルツリー作成処理部10dに渡し、フルパスファイル名の構造を含む所定画像ファイル用のファイルツリーFTをRAM12に生成させる(ステップS3)。次いで、処理実行制御部10bは、ファイル情報のフルパスファイル名を、ファイルツリー処理部10dが生成した所定画像ファイル用のファイルツリーFTにおけるファイル名のアイテム情報構造体ISへのポインタに置き換えて、当該ファイル情報(第2ファイル情報)をファイルリスト処理部10cによりRAM12の所定画像ファイル用のファイルリストFLへ登録させる(ステップS4)。
If it is determined in step S2 that the read file is a predetermined image file, the process
また、ステップS2において、読み込んだファイルがPIFファイルであると判定した場合には、処理実行制御部10bは、ファイル情報からフルパスファイル名を取得し、当該フルパスファイル名をファイルツリー作成処理部10dに渡し、フルパスファイル名の構造を含むPIFファイル用のファイルツリーFTをRAM12に生成させる(ステップS5)。次いで、処理実行制御部10bは、ファイル情報のフルパスファイル名を、ファイルツリー処理部10dが生成したPIFファイル用のファイルツリーFTにおけるファイル名のアイテム情報構造体ISへのポインタに置き換えて、当該ファイル情報(第2ファイル情報)をファイルリスト処理部10cによりRAM12のPIFファイル用のファイルリストFLへ登録させる(ステップS6)。
If it is determined in step S2 that the read file is a PIF file, the process
ステップS4を終了した場合、ステップS6を終了した場合、又は、ステップS2で、読み込んだファイルがその他のファイルであると判定された場合には、処理実行制御部10bは、メモリカード2内に読み込んでいない他の画像ファイルがあるか否かを判定し(ステップS7)、他の画像ファイルがある場合(ステップS7:YES)には、ステップS1からの処理ステップを実行する。
When step S4 is completed, when step S6 is completed, or when it is determined in step S2 that the read file is another file, the process
一方、他の画像ファイルがない場合(ステップS7:NO)には、処理実行制御部10bは、ファイルツリー処理部10cにより、所定画像ファイル用のファイルツリーFTから、所定画像ファイルに対応するファイル名のアイテム情報構造体ISへのポインタ(ファイル名アイテムポインタ)を、フルパスファイル名がASCIIコードの降順となる順番で取得させ、ポインタを取得された順に従って並べてファイル名アイテムポインタリストPLを作成する(ステップS8、図5の(1))。
On the other hand, if there is no other image file (step S7: NO), the process
次いで、処理実行制御部10bは、ファイル名アイテムポインタリストPLの下(末尾)から順番(フルパスファイル名のASCIIコードの昇順に相当)にアイテムポインタを取り出し、ファイルリスト処理部10cにより、ファイルリストFLから当該アイテムポインタが格納されているファイル情報FIを検索させ(ステップS9、図5の(2))、検索されたファイル情報FIのファイルリストFLにおける登録番号(識別番号)を取得する(ステップS10、図5の(2))。ここで、登録番号は、ファイルリストFL中におけるファイル情報の先頭からの順番を示している。ファイル情報の登録番号は、例えば、ファイルリストFL中にファイル情報と対応付けて記憶させておくようにしてもよく、ファイル情報中に格納するようにしてもよく、或いは、ファイルリストFL中のファイル情報の格納位置に基づいて算出するようにしてもよい。
Next, the process
次いで、処理実行制御部10bは、取得した登録番号を登録する順番に並ぶようにファイル番号管理リストFMLに追加する(ステップS11、図5(3))。これによって、ファイル番号管理リストFMLには、ファイル情報の登録番号が、ファイル情報に対応するフルパスファイル名のASCIIコードの昇順に従って先頭から並ぶこととなる。
Next, the process
処理実行処理部10bは、アイテムポインタPLに1つ前の順番の他のアイテムポインタがあるか否かを判定し(ステップS12)、他のアイテムポインタがある場合には、ステップS9からの処理ステップを実行する。一方、他のアイテムポインタがない場合(ステップS12、NO)には、処理実行処理部10bは、ファイルツリーFT及びファイルリストFLを作成した全ての種類のファイルのファイル管理リストMLを作成したか否かを判定し(ステップS13)、作成していないと判定した場合には、作成していない種類のファイルを対象にして、上記同様の処理(ステップS8〜ステップS12)を実行する。
The process
一方、作成した全ての種類のファイルのファイル管理リストMLを作成した場合には、処理を終了する。 On the other hand, if the file management list ML of all the created types of files has been created, the process ends.
上記した処理によると、ファイル番号管理リストFMLには、対応する種類の画像ファイルについてのファイル情報の登録番号が、ファイル情報に対応するフルパスファイル名のASCIIコードの昇順に従って先頭から並ばせることができ、当該ファイル番号管理リストFMLを先頭から順に登録番号を参照し、登録番号に対応するファイル情報を取得することにより、ASCIIコードの昇順に従ってファイル情報を取得することができる。また、ファイル番号管理リストFMLの末尾から順に登録番号を参照し、登録番号に対応するファイル情報を取得することにより、ASCIIコードの降順に従ってファイル情報を取得することができる。このため、ASCIIコードの順番に従ってファイル情報を取得できるようにするために、ファイルリストFLの各ファイル情報自体をソートする処理を実行する必要がなく、処理に要する時間を飛躍的に短縮することができる。
ここで、本実施形態では、メモリカード2から読み出した画像ファイルについてのファイルツリーFTを生成する際に、フルパスファイル名がASCIIコードの降順で並ぶようにファイルツリーFTを生成している。これによる効果を以下に説明する。
According to the above process, the file number management list FML allows the file information registration numbers for the corresponding types of image files to be arranged from the top in the ascending order of the ASCII codes of the full path file names corresponding to the file information. By referring to the registration numbers in order from the top of the file number management list FML and acquiring the file information corresponding to the registration numbers, the file information can be acquired in the ascending order of the ASCII codes. Further, by referring to the registration numbers in order from the end of the file number management list FML and acquiring the file information corresponding to the registration numbers, the file information can be acquired in descending order of the ASCII code. For this reason, in order to be able to acquire file information according to the order of the ASCII code, it is not necessary to execute processing for sorting each file information itself in the file list FL, and the time required for processing can be drastically reduced. it can.
Here, in the present embodiment, when generating the file tree FT for the image file read from the
例えば、一般的には、デジタルカメラで時系列に生成された画像ファイルは、ASCIIコードの昇順でフルパスファイル名が付けられてメモリカード2に格納されるようになっている。このため、メモリカード2から画像ファイルをFAT順に読み出すと、フルパスファイル名がASCIIコードの昇順で画像ファイルが読み出される可能性が比較的高い。
For example, generally, an image file generated in time series by a digital camera is stored in the
本実施形態のようにファイルツリーFTをASCIIコードの降順で並ぶように構成すると、新たなフルパスファイル名のアイテム情報構造体ISを追加する場合には、例えば、各階層の先頭に位置するASCIIコードの大きいアイテム名(ディレクトリ名、ファイル名)から順に比較を行っていき、アイテム情報構造体ISの並ぶ位置を決定することになる。この際、上述のようにメモリカード2から読み出される画像ファイルのフルパスファイル名はASCIIコードの昇順となっている可能性が高いので、各階層において先頭のASCIIコードの大きいアイテム名との比較をするだけで、アイテム情報構造体ISの配置位置が確定する可能性が高い。このため、ファイルツリーFTを生成する際における比較処理を低減することができるという効果がある。
When the file tree FT is arranged in descending order of the ASCII code as in the present embodiment, when an item information structure IS having a new full path file name is added, for example, the ASCII code located at the head of each layer is used. The item information structures IS are sequentially compared in order from the largest item name (directory name, file name) to determine the position where the item information structures IS are arranged. At this time, since the full path file name of the image file read from the
次に、本発明の一実施形態に係るプリンタ1の画像形成処理を説明する。
Next, an image forming process of the
図6は、本発明の一実施形態に係る画像形成処理のフローチャートである。 FIG. 6 is a flowchart of image forming processing according to an embodiment of the present invention.
まず、受付処理部10aがユーザから画像形成させる画像の選択を実行するとの要求を受け付けたか否かを判定し(ステップS21)、要求を受け付けるまで待つ。
First, it is determined whether or not the
要求を受け付けた場合には、処理実行制御部10bは、ファイル番号管理リストFMLから次の順番(最初の場合は先頭)の番号を特定して取得し、ファイルリスト処理部10cによりファイルリストFLから取得した番号に対応するファイル情報FIを取得させ(ステップS22)、ファイル情報FIのアイテムポインタをファイルツリー処理部10dに渡し、ファイルツリー処理部10dにより、アイテムポインタを用いてファイルツリーFTから対応する画像ファイルのフルパスファイル名を取得させる(ステップS23)。
When the request is received, the process
次いで、処理実行制御部10bは、取得したフルパスファイル名を用いて、メモリカード2から対応する画像ファイルを特定し、画像ファイルを取得し(ステップS24)、当該画像ファイルに対応する画像を表示処理部10eにより、LCD22に表示させる(ステップS25)。
Next, the process
その後、受付処理部10aがユーザから次の順番の画像ファイルの画像を表示させる要求を受け付けたか否かを判定し(ステップS26)、要求を受け付けた場合には、処理実行制御部10bは、ステップS22において、ファイル番号管理リストFMLの次の順番を取得し、次の順番に対応するファイル情報FIを取得させ、以降の処理を実行する。次の順番のファイル情報FIは、フルパスファイル名がASCIIコードの昇順となる画像ファイルに関するファイル情報FIであるので、以降の処理を行うことにより、ASCIIコードの順番にしたがって画像を表示させることができる。
Thereafter, it is determined whether or not the
一方、要求を受け付けていない場合には、受付処理部10aは、画像形成を行う対象の画像が選択されたか否かを判定し(ステップS27)、選択されていない場合には、ステップS26に進む一方、選択されている場合には、処理実行制御部10bは、選択された画像の画像ファイルを画像形成制御部10fに渡し、画像形成制御部10fが当該画像ファイルに基づいて画像形成用データを生成し、画像形成用データをプリンタ機能部17に送信して、プリンタ機能部17により画像形成媒体に画像を形成させる(ステップS28)。
On the other hand, if the request has not been received, the
以上、本発明を実施形態に基づいて説明したが、本発明は上述した実施の形態に限られず、他の様々な態様に適用可能である。 Although the present invention has been described based on the embodiments, the present invention is not limited to the above-described embodiments, and can be applied to various other modes.
例えば、上記実施形態では、メモリカード2から読み出した画像ファイルについてのファイルツリーFTを生成する際に、フルパスファイル名がASCIIコードの降順で並ぶようにファイルツリーFTを生成していたが、本発明はこれに限られず、ファイルツリーFTをフルパスファイル名がASCIIコードの昇順で並ぶようにしてもよい。
For example, in the above embodiment, when generating the file tree FT for the image file read from the
また、上記実施形態では、アイテムポインタリストPLの末尾から読み込みんで、ファイル番号管理リストFMLの先頭から並ばせていたが、これに限られず、アイテムポインタリストPLの先頭から読み出してファイル番号管理リストFMLの先頭から並ばせるようにしてもよい。このようにすると、ファイル番号管理リストFMLの先頭から順に、ASCIIコードの降順に従って並んでいるので、ファイル情報をASCIIコードの降順で利用する場合には、ファイル番号管理リストFMLの先頭から登録番号を読み出して利用すればよく、ASCIIコードの昇順で利用する場合には、ファイル番号管理リストFMLの末尾から順に読み出して利用すればよい。 In the above-described embodiment, reading is performed from the end of the item pointer list PL, and is arranged from the top of the file number management list FML. However, the present invention is not limited to this, and the file number management list FML is read from the top of the item pointer list PL. You may make it line up from the head. In this way, since the file numbers are arranged in descending order of the ASCII codes in order from the top of the file number management list FML, when using the file information in descending order of the ASCII codes, the registration numbers are entered from the top of the file number management list FML. What is necessary is just to read and use, and when using it in the ascending order of the ASCII code, it may be read and used in order from the end of the file number management list FML.
また、上記実施形態では、外部記憶媒体としてプリンタ1に直接接続されるメモリカード2を例に示していたが、本発明はこれに限られず、例えば、PC(Personal Computer)、携帯電話、携帯端末内に備えられた記憶媒体、或いはそれら装置に接続された記憶媒体であってもよく、要は、複数の画像ファイルを記憶することのできる記憶媒体であればよい。
In the above embodiment, the
1 プリンタ、2 メモリカード、10 CPU、11 ROM、12 RAM、12a ファイル管理情報、13 EEPROM、14 入力I/F部、15 表示I/F部、16 スキャナ機能部、17 プリンタ機能部、18 メモリカードI/F部、19 通信I/F部、20 バス、21 キー部、22 LCD、FT ファイルツリー、FL ファイルリスト、FML ファイル番号管理リスト、FI ファイル情報。
DESCRIPTION OF
Claims (8)
前記外部記憶媒体から複数の画像ファイルのファイル名及びパス名を含む第1ファイル情報を取得する第1ファイル情報取得手段と、
前記パス名及び前記ファイル名をASCIIコードの順番に従って取得可能に管理するファイルツリーを前記記憶手段に生成するファイルツリー生成手段と、
前記第1ファイル情報における前記ファイル名及び前記パス名を、対応する前記画像ファイルのファイル名を示す前記ファイルツリーにおけるポインタに置換した第2ファイル情報を生成し、前記第2ファイル情報を含むファイルリストを前記記憶手段に格納するファイルリスト生成手段と、
前記パス名及び前記ファイル名のASCIIコードの順番に従って、前記ファイルツリーから前記ファイル名を示す前記ポインタを取得するファイル名ポインタ取得手段と、
取得された前記ポインタを所定の順番で特定し、前記ファイルリストから当該ポインタに対応付けられている前記第2ファイル情報を示す識別番号を取得する第1識別番号取得手段と、
前記識別番号を取得した順に並べた管理リストを生成する管理リスト生成手段と
を有する画像形成装置。 A storage unit capable of storing data; generating a file list for managing file information relating to an image file stored in an external storage medium in the storage unit; and relating to image formation of the image file based on the file list An image forming apparatus that executes processing,
First file information acquisition means for acquiring first file information including file names and path names of a plurality of image files from the external storage medium;
File tree generation means for generating a file tree in the storage means for managing the path name and the file name so as to be obtainable according to the order of ASCII codes;
A file list including the second file information generated by replacing the file name and the path name in the first file information with a pointer in the file tree indicating the file name of the corresponding image file. A file list generating means for storing in the storage means;
File name pointer acquisition means for acquiring the pointer indicating the file name from the file tree according to the order of the ASCII code of the path name and the file name;
First identification number acquisition means for identifying the acquired pointers in a predetermined order and acquiring an identification number indicating the second file information associated with the pointer from the file list;
An image forming apparatus comprising: a management list generating unit that generates a management list arranged in the order in which the identification numbers are acquired.
前記ファイルリストから前記識別番号に対応する前記第2ファイル情報を取得する第2ファイル情報取得手段と、
前記第2ファイル情報の前記ポインタに基づいて、前記ファイル名及び前記パス名を取得するパス名・ファイル名取得手段と、
取得した前記ファイル名及び前記パス名に基づいて、前記外部記憶媒体から前記画像ファイルを取得する画像ファイル取得手段と、
取得した前記画像ファイルに対応する画像を取得した順番に表示出力する表示手段と
を有する請求項1に記載の画像形成装置。 Second identification number acquisition means for acquiring the identification numbers stored in the management list in a predetermined order;
Second file information acquisition means for acquiring the second file information corresponding to the identification number from the file list;
Path name / file name acquisition means for acquiring the file name and the path name based on the pointer of the second file information;
Image file acquisition means for acquiring the image file from the external storage medium based on the acquired file name and the path name;
The image forming apparatus according to claim 1, further comprising a display unit configured to display and output images corresponding to the acquired image file in the order of acquisition.
前記ファイルリスト生成手段は、前記画像ファイルの種類に応じて複数の前記ファイルリストを格納し、
前記管理リスト作成手段は、前記画像ファイルの種類に応じて複数の前記管理リストを作成する請求項1又は請求項2に記載の画像形成装置。 The file tree generation means generates a plurality of the file trees according to the type of the image file,
The file list generation means stores a plurality of the file lists according to the type of the image file,
The image forming apparatus according to claim 1, wherein the management list creation unit creates a plurality of the management lists according to a type of the image file.
請求項1乃至請求項3のいずれか一項に記載の画像形成装置。 4. The image forming apparatus according to claim 1, wherein the file tree generation unit generates a file tree that manages the path name and the file name so as to be obtainable in descending order of ASCII codes. 5.
前記第1識別番号取得手段は、前記ポインタリストに格納されている順番に基づいて前記ポインタを特定し、前記識別番号を取得する
請求項1乃至請求項4のいずれか一項に記載の画像形成装置。 The file name pointer acquisition means stores the acquired pointers in a pointer list in the order of acquisition,
5. The image formation according to claim 1, wherein the first identification number acquisition unit specifies the pointer based on an order stored in the pointer list and acquires the identification number. 6. apparatus.
請求項1乃至請求項5のいずれか一項に記載の画像形成装置。 The said 1st identification number acquisition means specifies the said pointer in the order which becomes the ascending order of the corresponding path name and the said file name, and acquires the said identification number. The image forming apparatus according to one item.
前記画像形成装置の第1ファイル情報取得手段が、前記外部記憶媒体から複数の画像ファイルのファイル名及びパス名を含む第1ファイル情報を取得するファイル情報取得ステップと、
前記画像形成装置のファイルツリー生成手段が、前記パス名及び前記ファイル名をASCIIコードの順番に従って取得可能に管理するファイルツリーを前記記憶手段に生成するファイルツリー生成ステップと、
前記画像形成装置のファイルリスト生成手段が、前記第1ファイル情報における前記ファイル名及び前記パス名を、対応する前記画像ファイルのファイル名を示す前記ファイルツリーにおけるポインタに置換した第2ファイル情報を生成し、前記第2ファイル情報を含むファイルリストを前記記憶手段に格納するファイルリスト生成ステップと、
前記画像形成装置のファイル名ポインタ取得手段が、前記パス名及び前記ファイル名のASCIIコードの順番に従って、前記ファイルツリーから前記ファイル名を示す前記ポインタを取得するファイル名ポインタ取得ステップと、
前記画像形成装置の第1識別番号取得手段が、取得された前記ポインタを所定の順番で特定し、前記ファイルリストから当該ポインタに対応付けられている前記第2ファイル情報を示す識別番号を取得する識別番号取得ステップと、
前記画像形成装置の管理リスト生成手段が、前記識別番号を取得した順に並べた管理リストを生成する管理リスト生成ステップと
を有するファイル管理方法。 A storage unit capable of storing data, creating a file list for managing file information relating to an image file stored in an external storage medium in the storage unit, and relating to image formation of the image file based on the file list A file management method by an image forming apparatus that executes processing,
A file information acquisition step in which a first file information acquisition unit of the image forming apparatus acquires first file information including file names and path names of a plurality of image files from the external storage medium;
A file tree generation step in which the file tree generation unit of the image forming apparatus generates a file tree in the storage unit that manages the path name and the file name so as to be acquirable according to the order of ASCII codes;
The file list generation unit of the image forming apparatus generates second file information in which the file name and the path name in the first file information are replaced with a pointer in the file tree indicating the file name of the corresponding image file. And a file list generating step of storing a file list including the second file information in the storage means;
A file name pointer obtaining unit that obtains the pointer indicating the file name from the file tree according to the order of the ASCII code of the path name and the file name, the file name pointer obtaining unit of the image forming apparatus;
A first identification number acquisition unit of the image forming apparatus specifies the acquired pointers in a predetermined order, and acquires an identification number indicating the second file information associated with the pointers from the file list. An identification number acquisition step;
A file management method comprising: a management list generation step in which a management list generation unit of the image forming apparatus generates a management list arranged in the order in which the identification numbers are acquired.
前記コンピュータを、
前記外部記憶媒体から複数の画像ファイルのファイル名及びパス名を含む第1ファイル情報を取得する第1ファイル情報取得手段と、
前記パス名及び前記ファイル名をASCIIコードの順番に従って取得可能に管理するファイルツリーを前記記憶手段に生成するファイルツリー生成手段と、
前記第1ファイル情報における前記ファイル名及び前記パス名を、対応する前記画像ファイルのファイル名を示す前記ファイルツリーにおけるポインタに置換した第2ファイル情報を生成し、前記第2ファイル情報を含むファイルリストを前記記憶手段に格納するファイルリスト生成手段と、
前記パス名及び前記ファイル名のASCIIコードの順番に従って、前記ファイルツリーから前記ファイル名を示す前記ポインタを取得するファイル名ポインタ取得手段と、
取得された前記ポインタを所定の順番で特定し、前記ファイルリストから当該ポインタに対応付けられている前記第2ファイル情報を示す識別番号を取得する第1識別番号取得手段と、
前記識別番号を取得した順に並べた管理リストを生成する管理リスト生成手段と
して機能させるファイル管理プログラム。
A storage unit capable of storing data; generating a file list for managing file information relating to an image file stored in an external storage medium in the storage unit; and relating to image formation of the image file based on the file list A file management program to be executed by a computer provided in an image forming apparatus that executes processing,
The computer,
First file information acquisition means for acquiring first file information including file names and path names of a plurality of image files from the external storage medium;
File tree generation means for generating a file tree in the storage means for managing the path name and the file name so as to be obtainable according to the order of ASCII codes;
A file list including the second file information generated by replacing the file name and the path name in the first file information with a pointer in the file tree indicating the file name of the corresponding image file. A file list generating means for storing in the storage means;
File name pointer acquisition means for acquiring the pointer indicating the file name from the file tree according to the order of the ASCII code of the path name and the file name;
First identification number acquisition means for identifying the acquired pointers in a predetermined order and acquiring an identification number indicating the second file information associated with the pointer from the file list;
A file management program that functions as a management list generation unit that generates a management list arranged in the order in which the identification numbers are acquired.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007294765A JP4888350B2 (en) | 2007-11-13 | 2007-11-13 | Image forming apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007294765A JP4888350B2 (en) | 2007-11-13 | 2007-11-13 | Image forming apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009124341A JP2009124341A (en) | 2009-06-04 |
| JP4888350B2 true JP4888350B2 (en) | 2012-02-29 |
Family
ID=40816039
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007294765A Expired - Fee Related JP4888350B2 (en) | 2007-11-13 | 2007-11-13 | Image forming apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4888350B2 (en) |
-
2007
- 2007-11-13 JP JP2007294765A patent/JP4888350B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009124341A (en) | 2009-06-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7490858B2 (en) | Image processing system, image forming apparatus, control method for image processing system, control method for image forming apparatus, and program | |
| JP2021022123A (en) | Electronic device equipped with display, control method thereof, information processing system, and program | |
| US9438764B2 (en) | Information processing apparatus which extracts a character string from a file name and collates it with address book information | |
| JP6471616B2 (en) | Portable terminal and output program | |
| JP4978334B2 (en) | Image processing apparatus, RAW file information display method, and computer program | |
| JP6784071B2 (en) | Image processing equipment and systems | |
| JP2006120107A (en) | Recording medium for recording image information and printing information thereof, and recording apparatus therefor | |
| JP6036109B2 (en) | Information processing apparatus, information processing apparatus program, and information processing apparatus control method | |
| CN101465930A (en) | Image processing apparatus | |
| JP5532715B2 (en) | Image processing apparatus, image processing system, and program | |
| JP4888350B2 (en) | Image forming apparatus | |
| JP2022140537A (en) | Image processing device and list display method | |
| JP5203767B2 (en) | Data processing apparatus and data processing method | |
| JP4305487B2 (en) | Image forming apparatus | |
| JP5115157B2 (en) | Image forming apparatus | |
| KR101282254B1 (en) | Image processing apparatus and image processing method and media for computer program thereof | |
| JP4415961B2 (en) | Removable media device and data control program | |
| JP4974836B2 (en) | Information processing apparatus, information processing method, and program | |
| JP2009075807A (en) | Information processing system | |
| JP4645349B2 (en) | Information processing apparatus and program | |
| JP5347280B2 (en) | Document information management apparatus and document information management program | |
| JP5135932B2 (en) | Electronic document management apparatus and program | |
| JP2017007273A (en) | List management program and electronic equipment | |
| CN115167790A (en) | Printing method and system | |
| JP2015047707A (en) | Image forming apparatus and image forming method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100916 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111111 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111115 |
|
| 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: 20111128 |
|
| 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: 20141222 Year of fee payment: 3 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |