JP2007223163A - Image forming apparatus and image displaying method - Google Patents

Image forming apparatus and image displaying method Download PDF

Info

Publication number
JP2007223163A
JP2007223163A JP2006046917A JP2006046917A JP2007223163A JP 2007223163 A JP2007223163 A JP 2007223163A JP 2006046917 A JP2006046917 A JP 2006046917A JP 2006046917 A JP2006046917 A JP 2006046917A JP 2007223163 A JP2007223163 A JP 2007223163A
Authority
JP
Japan
Prior art keywords
image data
thumbnail
cache
image
read
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
JP2006046917A
Other languages
Japanese (ja)
Inventor
Kenichi Kurata
賢一 倉田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006046917A priority Critical patent/JP2007223163A/en
Publication of JP2007223163A publication Critical patent/JP2007223163A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To shorten the time for displaying image data stored in a storing medium in an image forming apparatus. <P>SOLUTION: In the image forming apparatus equipped with a displaying part and acquiring the image data from a portable storing medium 45 to perform printing, a cache and a controller 10 performing a processing for receiving a requirement for displaying the image data stored in the storing medium 45 from a user, a processing for reading out the image data from the storing medium 45 and storing a thumbnail of the image data read out in the cache, and a processing for decoding the image data and displaying the thumbnail of the image data decoded on the displaying part, are provided. When the controller 10 receives the requirement for displaying the image data from the user, it makes an access to the cache, and when there exists the thumbnail receiving the requirement for displaying in the cache, the thumbnail is read out from the cache and the thumbnail is displayed on the displaying part. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像形成装置の技術に関する。   The present invention relates to a technique of an image forming apparatus.

従来から、ホストコンピュータなしで可搬性の記録媒体(メモリカード)やデジタルカメラから画像データを取得して印刷するダイレクト印刷機能を備える画像形成装置が知られている。ダイレクト印刷機能を備える画像形成装置は、表示パネル等に、メモリカードに記憶されている画像データを表示させる。ユーザは、表示されている画像データを見て、画像形成装置に印刷を指示したり、或いは、メモリカードに記憶されている他の画像データの表示要求を行ったりする。   2. Description of the Related Art Conventionally, an image forming apparatus having a direct printing function for acquiring and printing image data from a portable recording medium (memory card) or a digital camera without a host computer is known. An image forming apparatus having a direct printing function displays image data stored in a memory card on a display panel or the like. The user looks at the displayed image data, instructs the image forming apparatus to print, or issues a display request for other image data stored in the memory card.

ところで、画像形成装置等の情報処理装置は、メモリカード等の外部装置からデータを読み出す際、ある程度の時間がかかるという問題を有している。そのため、ユーザが情報処理装置を操作して、メモリカードから画像データを読み出し、ディスプレイに画像データを表示させようとした場合、ユーザは、所定時間待たされる。そして、表示させている画像データをメモリカードに記憶されている他の画像データのものに変更させようとするたびに、メモリカードから画像データを読み出すようにすると、その都度、所定時間待たなければならず、ユーザにとり不便である。   Incidentally, an information processing apparatus such as an image forming apparatus has a problem that it takes some time to read data from an external apparatus such as a memory card. Therefore, when the user operates the information processing apparatus to read image data from the memory card and display the image data on the display, the user waits for a predetermined time. Whenever image data is read from the memory card each time the displayed image data is changed to that of other image data stored in the memory card, it is necessary to wait for a predetermined time. It is inconvenient for the user.

特許文献1には、表示装置に、メモリカード等に記憶されている画像データを表示する際の時間を短縮させる情報処理装置が開示されている。特許文献1の情報処理装置は、ユーザから表示する画像の指定を受け付ける前に、記憶媒体から圧縮状態の画像データ(主画像のデータ)を読み出して、デコード処理を施した上でメモリに格納しておくようにしている。そして、情報処理装置は、ユーザから表示要求を受けた画像データがメモリにあれば、その画像データを利用して表示処理を行うようにしている。   Patent Document 1 discloses an information processing apparatus that shortens the time for displaying image data stored in a memory card or the like on a display device. The information processing apparatus of Patent Document 1 reads compressed image data (main image data) from a storage medium before receiving designation of an image to be displayed from a user, performs decoding processing, and stores the data in a memory. I try to keep it. Then, if the image data that has been requested to be displayed by the user is in the memory, the information processing apparatus performs display processing using the image data.

特開2002−101329号公報JP 2002-101329 A

しかしながら、特許文献1の技術をプリンタ等の画像形成装置に利用する場合には、以下の問題が生じてしまう。すなわち、プリンタ等の画像形成装置は、多くのメモリ資源を、主機能である印刷処理を実行するために割り当てる必要がある。そのため、デコードした画像データ(主画像)をキャッシュするためにメモリ資源を利用すると、主機能である印刷処理を実行するためのメモリ領域が確保できなくなるという問題が生じる。なお、大容量のメモリを搭載するようにすれば、画像形成装置のコストを増加させてしまう。   However, when the technique of Patent Document 1 is used in an image forming apparatus such as a printer, the following problems occur. That is, an image forming apparatus such as a printer needs to allocate a lot of memory resources in order to execute a printing process which is a main function. For this reason, when memory resources are used to cache decoded image data (main image), there is a problem that a memory area for executing print processing as a main function cannot be secured. If a large-capacity memory is mounted, the cost of the image forming apparatus is increased.

本発明は、上記事情を鑑みてなされたものであり、本発明の目的は、可搬性の記憶媒体からデータを取得できる画像形成装置において、記憶媒体に格納されている画像データを表示する時間を短縮することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to reduce the time for displaying image data stored in a storage medium in an image forming apparatus that can acquire data from a portable storage medium. It is to shorten.

上記課題を解決するため、本発明の第1の態様は、表示部を備え、複数の画像データが格納されている、可搬性の記憶媒体から該画像データを取得して印刷を行う画像形成装置に適用される。ここで、前記画像データには、主画像、および該主画像に対応するサムネイルが含まれている。   In order to solve the above-described problems, a first aspect of the present invention is an image forming apparatus that includes a display unit and that stores a plurality of image data, acquires the image data from a portable storage medium, and performs printing. Applies to Here, the image data includes a main image and a thumbnail corresponding to the main image.

そして、前記画像形成装置は、前記画像データを格納するためのキャッシュと、ユーザからの前記記憶媒体に格納されている画像データの表示要求を受け付けるインタフェース部と、前記記憶媒体から画像データを読み出し、該読み出した画像データのサムネイルを前記キャッシュに格納するデータ処理部と、を備え、前記データ処理部は、前記インタフェース部を介して、ユーザからの前記画像データの表示要求を受け付けると、前記キャッシュに該表示要求を受け付けた画像データのサムネイルがあるか否かを判定し、前記キャッシュに、前記表示要求を受け付けた画像データのサムネイルがあれば、前記キャッシュから該サムネイルを読み出し、前記インタフェース部を介して、前記表示部に該サムネイルを表示し、前記キャッシュに、前記表示要求を受け付けたサムネイルがなければ、前記記憶媒体から画像データのサムネイルを読み出し、該読み出したサムネイルを前記キャッシュに格納し、前記インタフェース部を介して、前記表示部に該サムネイルを表示する。   The image forming apparatus reads the image data from the cache for storing the image data, an interface unit for receiving a display request for image data stored in the storage medium from a user, A data processing unit that stores the thumbnail of the read image data in the cache, and the data processing unit receives the display request for the image data from the user via the interface unit and stores the thumbnail in the cache. It is determined whether there is a thumbnail of the image data for which the display request has been received, and if there is a thumbnail of the image data for which the display request has been received in the cache, the thumbnail is read from the cache, Display the thumbnail on the display unit and store it in the cache. Without thumbnails accepted the display request, reads out the thumbnail image data from the storage medium, stores the read thumbnail in the cache, via the interface unit, displaying the thumbnails on the display unit.

また、上記の画像形成装置であって、前記表示部に前記サムネイルを表示した後、さらに、前記記憶媒体から表示要求を受け付けた画像データの主画像を読み出し、該主画像をデコードして、前記インタフェース部を介して、前記表示部に該主画像を表示することとしてもよい。   Further, in the above image forming apparatus, after the thumbnail is displayed on the display unit, the main image of the image data for which a display request is accepted is further read from the storage medium, the main image is decoded, and the The main image may be displayed on the display unit via the interface unit.

このように、本一態様によれば、画像データのサムネイルを格納するためのキャッシュを設けるようにしている。そして、ユーザから画像データの表示要求を受け付けると、キャッシュに表示要求を受け付けた画像データのサムネイルがあるか否かを判定し、サムネイルがあれば、キャッシュに格納されているサムネイルを利用して表示処理を行うようにしている。また、本一態様では、キャッシュ対象をサムネイルだけにしている。そのため、本一態様によれば、画像形成装置において、画像表示処理のためにメモリ領域が圧迫されることなく、画像表示処理の高速化を図ることができるようになる。   Thus, according to this aspect, a cache for storing thumbnails of image data is provided. When a display request for image data is received from the user, it is determined whether there is a thumbnail of the image data for which the display request has been received in the cache. If there is a thumbnail, the thumbnail stored in the cache is used for display. Processing is performed. In this embodiment, only the thumbnails are cached. Therefore, according to this aspect, in the image forming apparatus, it is possible to increase the speed of the image display process without pressing the memory area for the image display process.

また、前記画像形成装置であって、前記データ処理部は、ユーザから表示要求を受け付けた画像データのサムネイルを前記記憶媒体から読み出す際、前記記憶媒体に格納されている複数の画像データの中から、前記表示要求を受け付けた画像データと読み出し順序が前後する所定枚数の画像データのサムネイルを併せて読み出し、該読み出した該サムネイルを前記キャッシュに格納することとしてもよい。   In the image forming apparatus, when the data processing unit reads a thumbnail of image data for which a display request has been received from a user from the storage medium, the data processing unit selects from among a plurality of image data stored in the storage medium. The image data for which the display request has been received and the thumbnails of a predetermined number of image data whose reading order is changed may be read together, and the read thumbnails may be stored in the cache.

また、前記画像形成装置であって、前記データ処理部は、前記インタフェース部を介して、ユーザからの前記画像データの表示要求を受け付けると、前記キャッシュに該表示要求を受け付けたサムネイルと読み出し順序が前後する所定枚数の画像データのサムネイルが格納されているか否かを判定し、該判定の結果、該キャッシュに格納されていない画像データのサムネイルがあれば、該格納されていない画像データのサムネイルを前記記憶媒体から読み出し、該読み出したサムネイルを前記キャッシュに格納することとしてもよい。   Further, in the image forming apparatus, when the data processing unit receives a display request for the image data from a user via the interface unit, the thumbnail and the reading order of the display request received in the cache are changed. It is determined whether or not thumbnails of a predetermined number of image data before and after are stored. If there is a thumbnail of image data not stored in the cache as a result of the determination, a thumbnail of the image data not stored is determined. The thumbnails read out from the storage medium may be stored in the cache.

さらに、前記データ処理部は、前記所定数をユーザからの要求にしたがい変更することとしてもよい。   Furthermore, the data processing unit may change the predetermined number according to a request from a user.

このように構成することにより、表示部に、表示要求を受け付けた画像データを表示させた場合、その表示要求を受け付けた画像データと読み出し順序が前後する所定枚数の画像データのサムネイルがキャッシュに格納されることとなる。そのため、ユーザがある画像データの表示要求を行った後、その表示要求を行った画像データの前後の画像データ(読み出し順序が前後する画像データ)を表示させる場合、記憶媒体から画像データのサムネイルを読み出す必要がなくなる。その結果、表示している画像データを、読み出し順序が前後の画像データに切り替える際の表示処理の時間を短縮することができる。   With this configuration, when image data for which a display request has been received is displayed on the display unit, image data for which the display request has been received and thumbnails of a predetermined number of image data whose reading order has been changed are stored in the cache. Will be. For this reason, when a user makes a display request for image data and then displays image data before and after the image data for which the display request has been made (image data whose read order changes), a thumbnail of the image data is stored from the storage medium. There is no need to read. As a result, it is possible to shorten the display processing time when the displayed image data is switched to the image data with the reading order before and after.

また、上記課題を解決するため、本発明の第2の態様は、表示部を備え、複数の画像データが格納されている、可搬性の記憶媒体から該画像データを取得して印刷処理をする画像形成装置が行う画像表示方法に適用される。ここで、前記画像形成装置には、前記画像データを格納するためのキャッシュが設けられていて、前記画像データには、主画像、および該主画像に対応するサムネイルが含まれている。   In order to solve the above-described problem, the second aspect of the present invention performs printing processing by acquiring image data from a portable storage medium that includes a display unit and stores a plurality of image data. The present invention is applied to an image display method performed by an image forming apparatus. Here, the image forming apparatus is provided with a cache for storing the image data, and the image data includes a main image and a thumbnail corresponding to the main image.

そして、前記画像形成装置は、ユーザからの前記記憶媒体に格納されている画像データの表示要求を受け付けるステップと、前記画像データの表示要求を受け付けると、前記キャッシュに該表示要求を受け付けた画像データのサムネイルがあるか否かを判定するステップと、前記判定の結果、前記キャッシュに、前記表示要求を受け付けた画像データのサムネイルがあれば、前記キャッシュから該サムネイルを読み出し、前記表示部に該サムネイルを表示するステップと、前記判定の結果、前記キャッシュに、前記表示要求を受け付けた画像データのサムネイルがなければ、前記記憶媒体から画像データのサムネイルを読み出し、該読み出した画像データのサムネイルを前記キャッシュに格納し、さらに、前記表示部に該画像データのサムネイルを表示するステップとを実行する。   The image forming apparatus receives a display request for image data stored in the storage medium from a user, and receives the display request for the image data when receiving the display request for the image data. And if there is a thumbnail of the image data for which the display request is accepted in the cache as a result of the determination, the thumbnail is read from the cache and the thumbnail is displayed on the display unit. If the result of the determination is that there is no thumbnail of the image data for which the display request has been accepted, the thumbnail of the image data is read from the storage medium, and the thumbnail of the read image data is stored in the cache. In addition, the image data thumbnail is stored in the display section. And a step of displaying the Le.

以下、本発明の実施形態について図面を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

先ず、本発明の一実施形態が適用された画像形成装置の概略構成を説明する。   First, a schematic configuration of an image forming apparatus to which an embodiment of the present invention is applied will be described.

図1は、本発明の一実施形態が適用された画像形成装置の概略構成図である。本実施形態の画像形成装置は、ホストコンピュータなしで可搬性の記録媒体(メモリカード)45と直接接続して印刷する機能(ダイレクト印刷機能)を備えたダイレクトプリンタである。   FIG. 1 is a schematic configuration diagram of an image forming apparatus to which an embodiment of the present invention is applied. The image forming apparatus of the present embodiment is a direct printer having a function (direct printing function) for directly connecting to and printing with a portable recording medium (memory card) 45 without a host computer.

図示するように、画像形成装置は、装置全体の動作を制御して印刷のための様々な処理を行うコントローラ10と、画像を表示する表示装置(ディスプレイ)を備える操作パネル20と、印刷を実行するプリンタエンジン30と、メモリカード読書装置40とを有する。   As shown in the figure, the image forming apparatus executes a printing operation by a controller 10 that controls various operations for printing by controlling operations of the entire apparatus, an operation panel 20 that includes a display device (display) that displays an image, and printing. Printer engine 30 and memory card reading device 40.

コントローラ10は、主制御装置であるCPU101と、プログラム等が記録されたROM102と、メインメモリとしてデータ等を一時的に格納するRAM103と、電源がOFFされても記憶内容を保持する不揮発性メモリ104と、操作パネル20等との入出力を制御するインタフェース105と、各装置間の通信経路となるシステムバス106とを有する。なお、インタフェース105には、各処理を専用に行うように設計されたASIC(Application Specific Integrated Circuit)を用いることができる。不揮発性メモリ104には、CPU101がプログラムを実行する際に必要な各種のデータが記憶されている。また、RAM103の所定領域には、操作パネル20に表示する画像データを格納しておくためのキャッシュが設けられている。   The controller 10 includes a CPU 101 that is a main control device, a ROM 102 that stores programs and the like, a RAM 103 that temporarily stores data and the like as a main memory, and a nonvolatile memory 104 that retains stored contents even when the power is turned off. And an interface 105 for controlling input / output with the operation panel 20 and the like, and a system bus 106 serving as a communication path between the devices. Note that an ASIC (Application Specific Integrated Circuit) designed to perform each process exclusively can be used for the interface 105. The nonvolatile memory 104 stores various data necessary for the CPU 101 to execute the program. A cache for storing image data to be displayed on the operation panel 20 is provided in a predetermined area of the RAM 103.

操作パネル20は、液晶ディスプレイ等の表示装置(ディスプレイ)、操作ボタン等から構成され、ユーザから、印刷対象の画像データの選択を受け付けたり、印刷の実行要求を受け付けたりする。   The operation panel 20 includes a display device (display) such as a liquid crystal display, operation buttons, and the like. The operation panel 20 receives selection of image data to be printed or a print execution request from a user.

プリンタエンジン30は、印刷ヘッドを備える印刷機構や、印刷用紙等の印刷メディアを給排紙する給排紙機構等により構成され、コントローラ10からの印刷データを用いて、印刷メディアに印刷処理を行う。なお、本実施形態では、プリンタエンジン30の具体的な構成について特に限定しない。例えば、画像形成装置がインクジェット方式のプリンタであれば、プリンタエンジン30は、インクを吐出する印刷ヘッドと、印刷ヘッド等を搭載するキャリッジを駆動するキャリッジ駆動機構等からなる印刷機構と、印刷用紙の給排紙を行なう給排紙機構とを備えて構成される。   The printer engine 30 includes a printing mechanism including a print head, a paper supply / discharge mechanism that supplies and discharges print media such as print paper, and performs print processing on the print media using print data from the controller 10. . In the present embodiment, the specific configuration of the printer engine 30 is not particularly limited. For example, if the image forming apparatus is an ink jet printer, the printer engine 30 includes a print mechanism that includes a print head that ejects ink, a carriage drive mechanism that drives a carriage on which the print head is mounted, and the like, And a paper supply / discharge mechanism for performing paper supply / discharge.

メモリカード読書装置40は、メモリカード45を挿入するためのカードスロット(図示せず)を備えている。メモリカード読書装置40は、カードスロットに挿入されたメモリカード45に記録された画像データを読み出し、コントローラ10に送る。また、メモリカード読書装置40は、コントローラ10の命令に従って、メモリカード45に記録されている画像データを削除したり、書き換える処理を行う。   The memory card reading device 40 includes a card slot (not shown) for inserting a memory card 45. The memory card reading device 40 reads the image data recorded on the memory card 45 inserted into the card slot and sends it to the controller 10. In addition, the memory card reading device 40 performs processing for deleting or rewriting image data recorded on the memory card 45 in accordance with an instruction from the controller 10.

メモリカード45に記憶されている画像データ(画像ファイル)は、主画像(本体画像)と、その主画像のサムネイルとを備えている。また、メモリカード45に記憶されている画像データの主画像は、所定の形式(例えば、JPEG (Joint Photographic Experts Group) 形式)で圧縮されているものとする。また、サムネイルについても圧縮されているものとする。   The image data (image file) stored in the memory card 45 includes a main image (main body image) and a thumbnail of the main image. Further, it is assumed that the main image of the image data stored in the memory card 45 is compressed in a predetermined format (for example, JPEG (Joint Photographic Experts Group) format). It is assumed that thumbnails are also compressed.

次に、コントローラ10の特徴的な機能構成について図2のブロック図を参照して説明する。   Next, a characteristic functional configuration of the controller 10 will be described with reference to the block diagram of FIG.

図2は、本実施形態のコントローラ10の機能構成の一例を示すブロック図である。   FIG. 2 is a block diagram illustrating an example of a functional configuration of the controller 10 according to the present embodiment.

図示するように、コントローラ10は、GUI(Graphical User Interface)制御部110、データ処理部120、キャッシュ130、および印刷処理部140を有する。   As illustrated, the controller 10 includes a GUI (Graphical User Interface) control unit 110, a data processing unit 120, a cache 130, and a print processing unit 140.

なお、各機能部は、ソフトウェアあるいはハードウェア的に実現することができる。例えば、上述したROM102に、GUI(Graphical User Interface)制御部110、データ処理部120、および印刷処理部140の機能を実現するための各プログラムを格納しておく。そして、以下で示す、各機能部の機能は、CPU101が、ROM102に格納された各プログラムを実行することにより実現される。また、キャッシュ130は、RAM130の所定領域に形成される。   Each functional unit can be realized by software or hardware. For example, each program for realizing the functions of the GUI (Graphical User Interface) control unit 110, the data processing unit 120, and the print processing unit 140 is stored in the ROM 102 described above. And the function of each function part shown below is implement | achieved when CPU101 runs each program stored in ROM102. The cache 130 is formed in a predetermined area of the RAM 130.

GUI制御部110は、操作パネル20を介して入力されたユーザからの要求を解析し、その要求に応じた処理がなされるように、各機能部に命令する処理を行う。例えば、ユーザがカードスロット(図示しない)にメモリカード45を挿入して、操作パネル20を操作して、メモリカード45に格納されている画像データの表示要求を行ったとする。GUI制御部110は、データ処理部120を制御して、メモリカード45から画像データを読み出す。GUI制御部110は、読み出した画像データの表示画像を生成し、操作パネル20のディスプレイに画像データの表示画像を表示する。   The GUI control unit 110 analyzes a request from the user input via the operation panel 20, and performs a process of instructing each functional unit so that a process according to the request is performed. For example, assume that the user inserts the memory card 45 into a card slot (not shown) and operates the operation panel 20 to request display of image data stored in the memory card 45. The GUI control unit 110 controls the data processing unit 120 to read image data from the memory card 45. The GUI control unit 110 generates a display image of the read image data, and displays the display image of the image data on the display of the operation panel 20.

データ処理部120は、GUI制御部110からの指示(アクセス要求)にしたがい、メモリカード読書装置40を介して、メモリカード45に記憶されている画像データを読み出し、その読み出した画像データをデコードする。また、データ処理部120は、一度読み出した画像データのサムネイル(デコード処理を施していない状態の画像データのサムネイル)をキャッシュ130に格納しておく。そして、GUI制御部110からアクセス要求された画像データのサムネイルがキャッシュ130にあれば、キャッシュ130に格納されている画像データのサムネイルにデコード処理を施して、GUI制御部110に出力する。また、データ処理部120は、GUI制御部110からの指示にしたがい、デコードした画像データをGUI制御部110や印刷処理部140に出力する。   In accordance with an instruction (access request) from the GUI control unit 110, the data processing unit 120 reads the image data stored in the memory card 45 via the memory card reading device 40 and decodes the read image data. . In addition, the data processing unit 120 stores the thumbnail of the image data that has been read once (the thumbnail of the image data that has not been decoded) in the cache 130. If the thumbnail of the image data requested to be accessed from the GUI control unit 110 is in the cache 130, the thumbnail of the image data stored in the cache 130 is decoded and output to the GUI control unit 110. Further, the data processing unit 120 outputs the decoded image data to the GUI control unit 110 and the print processing unit 140 in accordance with an instruction from the GUI control unit 110.

具体的には、データ処理部120は、メモリカード45から読み出した画像データにデコード処理を行うデコード部121と、メモリカード45から画像データをファイル単位で読み取るファイルアクセス部122と、メモリカード45に実際にアクセスする物理アクセス部123と、を備える。   Specifically, the data processing unit 120 includes a decoding unit 121 that decodes image data read from the memory card 45, a file access unit 122 that reads image data from the memory card 45 in units of files, and a memory card 45. And a physical access unit 123 that actually accesses.

デコード部121は、GUI制御部110から画像データのアクセス要求(アクセスする画像データは指定されている)を受け付ける。デコード部121は、受け付けたアクセス要求をファイルアクセス部122に通知する。また、デコード部121は、ファイルアクセス部122から画像データを受け取り、その画像データをデコードする。なお、デコード部121は、GUI制御部110からアクセス要求を受け付けた場合、デコードした画像データをGUI制御部110に出力する。また、デコード部121は、GUI制御部110から印刷要求を受け付けた場合、デコードした画像データを印刷処理部140に出力する。   The decoding unit 121 receives an image data access request (the image data to be accessed is specified) from the GUI control unit 110. The decoding unit 121 notifies the file access unit 122 of the received access request. The decoding unit 121 receives image data from the file access unit 122 and decodes the image data. Note that, when receiving an access request from the GUI control unit 110, the decoding unit 121 outputs the decoded image data to the GUI control unit 110. In addition, when receiving a print request from the GUI control unit 110, the decoding unit 121 outputs the decoded image data to the print processing unit 140.

ファイルアクセス部122は、デコード部121を介してGUI制御部110から受け付けた画像データを指定したアクセス要求を受け付けると、そのアクセス対象の画像データの読取要求を物理アクセス部123に行う。具体的には、ファイルアクセス部122は、ファイル単位での画像データの読取要求(例えば、メモリカード45の「yyy.jpgファイル」の読取要求)を物理アクセス部123に行う。   When the file access unit 122 receives an access request specifying the image data received from the GUI control unit 110 via the decoding unit 121, the file access unit 122 issues a read request for the image data to be accessed to the physical access unit 123. Specifically, the file access unit 122 sends a read request for image data in units of files (for example, a read request for “yyy.jpg file” in the memory card 45) to the physical access unit 123.

なお、後述するが、ファイルアクセス部122は、画像データのサムネイルの読取要求を物理アクセス部123に行う前に、キャッシュ130にアクセスし、アクセス要求を受け付けた画像データのサムネイルがキャッシュ130に格納されているか否かを判定する。ファイルアクセス部122は、アクセス要求を受け付けた画像データのサムネイルがキャッシュ130に格納されていれば、メモリカード45から画像データのサムネイルを読み取らずに、そのキャッシュ130に格納されている画像データのサムネイルを読み出し、デコード部121に出力する。一方、ファイルアクセス部122は、表示要求を受け付けた画像データのサムネイルがキャッシュ130に格納されていなければ、アクセス要求を受けた画像データのサムネイルの読取要求を物理アクセス部123に行う。   As will be described later, the file access unit 122 accesses the cache 130 before making a request to read the thumbnail of image data to the physical access unit 123, and the thumbnail of the image data for which the access request has been received is stored in the cache 130. It is determined whether or not. If the thumbnail of the image data for which the access request has been received is stored in the cache 130, the file access unit 122 does not read the thumbnail of the image data from the memory card 45, but the thumbnail of the image data stored in the cache 130. Is output to the decoding unit 121. On the other hand, if the thumbnail of the image data for which the display request has been received is not stored in the cache 130, the file access unit 122 issues a read request for the thumbnail of the image data for which the access request has been received to the physical access unit 123.

物理アクセス部123は、ファイルアクセス部122からのファイル単位での画像データの読取要求を受け付けると、要求された画像データのメモリカード45でのアクセス先(アドレス)を求める(読取り領域の論理変換を行う)。例えば、物理アクセス部123は、「yyy.jpgファイル」の読取要求を「xxxx番地」への読取り要求に変換する。そして、物理アクセス部123は、実際にメモリカード45にアクセスして画像データを読み取る。その後、物理アクセス部123は、読み取った画像データを、ファイルアクセス部122に出力する。また、物理アクセス部123は、読み取った画像データのサムネイルをキャッシュ130に格納する。   When the physical access unit 123 receives a read request for image data in file units from the file access unit 122, the physical access unit 123 obtains an access destination (address) of the requested image data in the memory card 45 (logical conversion of the read area). Do). For example, the physical access unit 123 converts a read request for “yyy.jpg file” into a read request for “address xxxx”. Then, the physical access unit 123 actually accesses the memory card 45 and reads the image data. Thereafter, the physical access unit 123 outputs the read image data to the file access unit 122. Further, the physical access unit 123 stores the thumbnail of the read image data in the cache 130.

キャッシュ130は、RAM103の所定領域に形成されている。キャッシュ130に、数枚程度(例えば、20枚程度)の画像データのサムネイルが格納できるようにRAM103の領域を割り当てておく。   The cache 130 is formed in a predetermined area of the RAM 103. An area of the RAM 103 is allocated in the cache 130 so that thumbnails of about several (for example, about 20) image data can be stored.

印刷処理部140は、データ処理部120から取得した画像データを印刷するための印刷データに変換する。印刷処理部140は、印刷データをプリンタエンジン30に出力して、プリンタエンジン30に印刷処理を実行させる。   The print processing unit 140 converts the image data acquired from the data processing unit 120 into print data for printing. The print processing unit 140 outputs print data to the printer engine 30 and causes the printer engine 30 to execute print processing.

続いて、本実施形態の画像形成装置が行う、操作パネル20のディスプレイに、メモリカード45に格納されている画像データを表示させる表示処理について説明する。なお、以下では、表示処理を、(i)ユーザから画像データの表示要求を受け付けた際に、GUI制御部110により行われる処理と、(ii)GUI制御部110からアクセス要求を受けたデータ処理部120が行うデータ読み出し処理とに分けて説明する。先ず、図3を用いて、GUI制御部110により行われる処理を説明する。   Subsequently, a display process performed by the image forming apparatus of the present embodiment for displaying the image data stored in the memory card 45 on the display of the operation panel 20 will be described. In the following description, the display process includes (i) a process performed by the GUI control unit 110 when an image data display request is received from a user, and (ii) a data process that receives an access request from the GUI control unit 110. The data reading process performed by the unit 120 will be described separately. First, processing performed by the GUI control unit 110 will be described with reference to FIG.

図3は、本実施形態のGUI制御部110が行う画像データの表示処理のフローチャートである。なお、以下は、メモリカード読書装置40のカードスロット(図示しない)にメモリカード45が挿入されている際に実行される処理である。また、メモリカード45には、所定の形式で圧縮された画像データが複数枚格納されているものとする。また、以下の処理は、ユーザが、操作パネル20を操作して、画像形成装置にメモリカード45に格納されている画像データの表示要求(画像表示要求)を行うことにより開始される。   FIG. 3 is a flowchart of image data display processing performed by the GUI control unit 110 according to the present embodiment. The following is processing executed when the memory card 45 is inserted into a card slot (not shown) of the memory card reading device 40. Further, it is assumed that the memory card 45 stores a plurality of pieces of image data compressed in a predetermined format. The following processing is started when the user operates the operation panel 20 to make a display request (image display request) for image data stored in the memory card 45 in the image forming apparatus.

先ず、GUI制御部110は、操作パネル20を介して、ユーザからの画像表示要求を受け付ける(S1)。なお、画像表示要求には、メモリカード45内の画像データを特定するデータが含まれているものとする。例えば、画像形成装置がメモリカード45内の各画像データに、時系列(撮影日時順、ファイル作成日時順等)の識別番号を付け、その識別番号で表示対象の画像データを特定するようにしてもよい。   First, the GUI control unit 110 receives an image display request from a user via the operation panel 20 (S1). It is assumed that the image display request includes data specifying image data in the memory card 45. For example, the image forming apparatus gives each image data in the memory card 45 an identification number in time series (in order of photographing date / time, order of file creation date / time), and specifies the image data to be displayed by the identification number. Also good.

つぎに、GUI制御部110は、S1で受け付けた画像データのサムネイルのアクセス要求をデータ処理部120に行う(S2)。なお、画像データのサムネイルのアクセス要求には、S1で表示要求を受け付けた画像データを特定する情報が含まれている。そして、GUI制御部110は、上記のサムネイルのアクセス要求に応答して、データ処理部120から返信されたサムネイルを受け取る。GUI制御部110は、受け取ったサムネイルを用いて、サムネイルの表示画像を生成し、操作パネル20のディスプレイにサムネイルの表示画像を表示する。   Next, the GUI control unit 110 sends an access request for the thumbnail of the image data received in S1 to the data processing unit 120 (S2). Note that the thumbnail access request for the image data includes information for specifying the image data for which the display request has been accepted in S1. The GUI control unit 110 receives the thumbnail returned from the data processing unit 120 in response to the thumbnail access request. The GUI control unit 110 generates a thumbnail display image using the received thumbnail, and displays the thumbnail display image on the display of the operation panel 20.

つぎに、GUI制御部110は、S1で受け付けた画像データの主画像のアクセス要求をデータ処理部110に行う(S3)。なお、画像データの主画像のアクセス要求には、S1で表示要求を受け付けた画像データを特定する情報が含まれている。そして、GUI制御部110は、上記の主画像のアクセス要求に応答して、データ処理部120から返信された主画像を受け取る。そして、GUI制御部110は、主画像の表示画像を生成し、操作パネル20のディスプレイに主画像の表示画像を表示する。   Next, the GUI control unit 110 sends an access request for the main image of the image data received in S1 to the data processing unit 110 (S3). Note that the main image access request of the image data includes information for specifying the image data for which the display request has been accepted in S1. Then, the GUI control unit 110 receives the main image returned from the data processing unit 120 in response to the access request for the main image. Then, the GUI control unit 110 generates a display image of the main image, and displays the display image of the main image on the display of the operation panel 20.

このように、主画像の表示前にサムネイルを表示するようにしているのは、主画像全体の表示処理が、サムネイル画像の表示処理に比べて時間がかかるため、主画像全体が表示されるまでの間にサムネイルを表示することにより再生処理におけるユーザの待ち時間を軽減するようにしたためである。   As described above, the thumbnail is displayed before the main image is displayed because the display process of the entire main image takes time compared to the display process of the thumbnail image. This is because the waiting time of the user in the reproduction process is reduced by displaying the thumbnail during the period.

続いて、GUI制御部110からアクセス要求を受け付けたデータ処理部120が行うデータ処理について説明する。   Next, data processing performed by the data processing unit 120 that has received an access request from the GUI control unit 110 will be described.

図4は、画像データのアクセス要求を受け付けた場合に行う画像データ読み出し処理のフローチャートである。なお、以下の処理は、上述した図3のS2(またはS3)の処理が行われると開始される。但し、GUI制御部110が画像データの主画像のアクセス要求を行った場合(図3のS2の処理を行った場合)に開始されるフローでは、S17は行わないものとする。   FIG. 4 is a flowchart of an image data read process performed when an image data access request is received. The following process is started when the above-described process S2 (or S3) in FIG. 3 is performed. However, S17 is not performed in the flow started when the GUI control unit 110 requests access to the main image of the image data (when the process of S2 in FIG. 3 is performed).

先ず、GUI制御部110から画像データのサムネイルのアクセス要求を受け付けた場合(GUI制御部110が図3のS2の処理を行った場合)に開始される処理を説明する。   First, a process that is started when a thumbnail access request for image data is received from the GUI control unit 110 (when the GUI control unit 110 performs the process of S2 in FIG. 3) will be described.

データ処理部120は、GUI制御部110からの画像ファイルのアクセス要求を受け付ける(S11)。具体的には、データ処理部120のデコード部121が、GUI制御部110からの画像データのサムネイルのアクセス要求を受け付ける。デコード部121は、受け付けた画像データのサムネイルのアクセス要求をファイルアクセス部122に通知する。   The data processing unit 120 accepts an image file access request from the GUI control unit 110 (S11). Specifically, the decoding unit 121 of the data processing unit 120 receives an access request for a thumbnail of image data from the GUI control unit 110. The decoding unit 121 notifies the file access unit 122 of an access request for the thumbnail of the received image data.

つぎに、データ処理部120は、キャッシュ130に、S11で受け付けたアクセス要求の対象のサムネイルが格納されているか否かを判定する(S12)。具体的には、データ処理部120のファイルアクセス部122が、キャッシュ130にアクセスし、受け付けたアクセス要求の対象のサムネイルが格納されているか否かを判定する。そして、キャッシュ130に、受け付けたアクセス要求の対象の画像データのサムネイルが格納されていれば、S13の処理に進む。一方、キャッシュ130に、受け付けたアクセス要求の対象のサムネイルが格納されていなければ、S15の処理に進む。   Next, the data processing unit 120 determines whether or not the thumbnail of the access request target accepted in S11 is stored in the cache 130 (S12). Specifically, the file access unit 122 of the data processing unit 120 accesses the cache 130 and determines whether or not the thumbnail of the received access request is stored. If the cache 130 stores a thumbnail of the accepted image data of the access request, the process proceeds to S13. On the other hand, if the cache 130 does not store the thumbnail of the accepted access request, the process proceeds to S15.

S13では、データ処理部120は、キャッシュ130に格納されている画像データのサムネイルをデータ要求元(ここでは、GUI制御部110)に返信して処理を終了する。   In S13, the data processing unit 120 returns the thumbnail of the image data stored in the cache 130 to the data request source (here, the GUI control unit 110) and ends the process.

具体的には、S13では、データ処理部120のファイルアクセス部122は、キャッシュ130に格納されている受け付けたアクセス要求の画像データのサムネイルを読み出す。なお、キャッシュ130に格納されている画像データはデコード処理がされていない圧縮状態のデータである。その後、ファイルアクセス部122は、キャッシュ130から読み出した圧縮状態の画像データのサムネイルをデコード部121に出力する。デコード部121は、ファイルアクセス部122からの圧縮状態のサムネイルをデコードし、デコードしたサムネイルをGUI制御部110に出力する。   Specifically, in S <b> 13, the file access unit 122 of the data processing unit 120 reads the thumbnail of the received access request image data stored in the cache 130. Note that the image data stored in the cache 130 is compressed data that has not been decoded. Thereafter, the file access unit 122 outputs a thumbnail of the compressed image data read from the cache 130 to the decoding unit 121. The decoding unit 121 decodes the compressed thumbnail from the file access unit 122 and outputs the decoded thumbnail to the GUI control unit 110.

つぎに、S12において、キャッシュ130に、受け付けたアクセス要求の対象のサムネイルが格納されていないと判定された場合に進むS15の処理を説明する。   Next, the process of S15 that is performed when it is determined in S12 that the cache 130 does not store the accepted access request target thumbnail will be described.

S15では、データ処理部120は、メディアデータ読み出し処理を行う。具体的には、データ処理部120のファイルアクセス部122が、画像データの読取要求を物理アクセス部123に行う。そして、物理アクセス部123が、メモリカード読書装置40を介して、実際に、メモリカード45にアクセスして、メモリカード45から受け付けたアクセス要求の画像データのサムネイルを読み出す。   In S15, the data processing unit 120 performs media data read processing. Specifically, the file access unit 122 of the data processing unit 120 makes a read request for image data to the physical access unit 123. Then, the physical access unit 123 actually accesses the memory card 45 via the memory card reading device 40 and reads the thumbnail of the access request image data received from the memory card 45.

つぎに、データ処理部120は、画像データのサムネイルをデータ要求元(ここでは、GUI制御部110)に返信する(S16)。具体的には、物理アクセス部123がデコード部121に読み出した画像データのサムネイルを出力し、デコード部121が読み出した画像データのサムネイルをデコードしてGUI制御部に返信する。   Next, the data processing unit 120 returns a thumbnail of the image data to the data request source (here, the GUI control unit 110) (S16). Specifically, the physical access unit 123 outputs a thumbnail of the image data read out to the decoding unit 121, decodes the thumbnail of the image data read out by the decoding unit 121, and returns it to the GUI control unit.

つぎに、データ処理部120は、S15で読み出した画像データのサムネイルをキャッシュ130に格納する(S17)。具体的には、データ処理部120の物理アクセス部123が圧縮状態のサムネイルをキャッシュ130に格納して処理を終了する。なお、物理アクセス部123がキャッシュ130に画像データのサムネイルを格納する際、キャッシュ130に空き領域がないこともある。このような場合、例えば、すでにキャッシュに格納されているサムネイルの中から、格納された日時が古いサムネイルを削除して、記憶領域を確保するようにしてもよい。   Next, the data processing unit 120 stores the thumbnail of the image data read in S15 in the cache 130 (S17). Specifically, the physical access unit 123 of the data processing unit 120 stores the compressed thumbnail in the cache 130 and ends the process. Note that when the physical access unit 123 stores thumbnails of image data in the cache 130, there may be no free space in the cache 130. In such a case, for example, a thumbnail having an old stored date and time may be deleted from thumbnails already stored in the cache to secure a storage area.

続いて、GUI制御部110から画像データの主画像のアクセス要求を受け付けた場合(GUI制御部110が図3のS3の処理を行った場合)に行われる処理について説明する。   Next, a process performed when an access request for a main image of image data is received from the GUI control unit 110 (when the GUI control unit 110 performs the process of S3 in FIG. 3) will be described.

デコード部121は、上述と同様のS11〜S12の処理を行う。但し、本実施形態では、主画像をキャッシュする対象としていない。そのため、S12では、キャッシュ130に主画像が格納されていないと判定されて、S15に進む。その後、データ処理部120は、S15〜S16を行い、S17の処理を行わずに、処理を終了する。すなわち、データ処理部120は、主画像のアクセス要求を受けると、メモリカード45から対象の主画像を読み出し、その後、主画像をデコードした上で、GUI制御部110に送信する。   The decoding unit 121 performs the same processes S11 to S12 as described above. However, in the present embodiment, the main image is not a target to be cached. Therefore, in S12, it is determined that the main image is not stored in the cache 130, and the process proceeds to S15. Thereafter, the data processing unit 120 performs S15 to S16, and ends the process without performing the process of S17. That is, when receiving a main image access request, the data processing unit 120 reads the target main image from the memory card 45, decodes the main image, and transmits the decoded main image to the GUI control unit 110.

このように、本実施形態によれば、ユーザからの表示要求にしたがい、メモリカード45から圧縮状態の画像データのサムネイルを読み出した際、その画像データのサムネイルを圧縮状態のままでキャッシュ130に格納するようにしている。すなわち、メモリカード45から画像データのサムネイルを読み出すたびに、デコード処理を行う前の画像データのサムネイルをキャッシュ130に格納するようにしている。その後、画像形成装置は、ユーザから画像データの表示要求を受け付けた場合、キャッシュ130を参照し、キャッシュ130に表示要求を受け付けた画像データのサムネイルがあれば、そのサムネイルを利用して表示処理を行うようにしている。そのため、ユーザから表示要求を受け付けた画像データのサムネイルがキャッシュ130に格納されていれば、メモリカード45からサムネイルを読み出す必要がないため、サムネイルの表示処理に必要な時間を短縮することができる。   As described above, according to the present embodiment, when a thumbnail of compressed image data is read from the memory card 45 in accordance with a display request from the user, the thumbnail of the image data is stored in the cache 130 in a compressed state. Like to do. That is, every time a thumbnail of image data is read from the memory card 45, the thumbnail of the image data before decoding processing is stored in the cache 130. Thereafter, when receiving a display request for image data from the user, the image forming apparatus refers to the cache 130, and if there is a thumbnail of the image data for which the display request is received in the cache 130, the image forming apparatus performs display processing using the thumbnail. Like to do. Therefore, if the thumbnail of the image data for which the display request has been received from the user is stored in the cache 130, it is not necessary to read the thumbnail from the memory card 45, so that the time required for the thumbnail display process can be reduced.

例えば、ユーザが、メモリカード45に記憶されている画像データを古い順に読み出してディスプレイに表示させ、印刷対象の画像データを選んでいる場合に、以前に表示させた画像データを再び表示させる操作を行うこともある。このような場合、本実施形態によれば、画像データのサムネイルがキャッシュ130に格納されている可能性が高いため、ユーザの待ち時間を短縮することができる。   For example, when the user reads out the image data stored in the memory card 45 in order from the oldest and displays it on the display, and selects the image data to be printed, an operation to display the previously displayed image data again. Sometimes. In such a case, according to the present embodiment, since there is a high possibility that thumbnails of image data are stored in the cache 130, the waiting time of the user can be reduced.

また、本実施形態では、画像データのサムネイルだけをキャッシュする対象にしている。そのため、キャッシュに割り当てるメモリ容量を小さくすることができる。したがって、メモリにキャッシュ領域を設けても、印刷処理を実行するための領域が確保できなくなる可能性を低減できる。また、大容量のメモリを搭載することなく、画像表示処理の高速化を図ることができる。   In this embodiment, only thumbnails of image data are to be cached. Therefore, the memory capacity allocated to the cache can be reduced. Therefore, even if a cache area is provided in the memory, it is possible to reduce the possibility that an area for executing print processing cannot be secured. Further, it is possible to increase the speed of the image display process without mounting a large-capacity memory.

続いて、本実施形態の変形例について説明する。本実施形態の変形例は、画像形成装置が画像表示要求を受け付けた際、その要求を受け付けた画像データ(サムネイルおよび主画像)を読み出す処理に加え、メモリカード45に、表示要求を受け付けた画像データと読み出し順序が前後する画像データのサムネイルを読み出すようにしたものである。なお、変形例の説明では、上述した実施形態と同じ符号を用いることとする。また、変形例の説明は、上述した実施形態と異なる部分を中心に説明する。   Then, the modification of this embodiment is demonstrated. In the modification of the present embodiment, when the image forming apparatus receives an image display request, in addition to the process of reading the image data (thumbnail and main image) for which the request has been received, the image for which the display request has been received in the memory card 45 A thumbnail of image data whose data and reading order are changed is read out. In the description of the modification, the same reference numerals as those in the above-described embodiment are used. Further, the description of the modified example will be described with a focus on differences from the above-described embodiment.

本実施形態の変形例の画像形成装置の概略構成は、図1に示したものと同じである。また、変形例のコントローラ10の機能構成は、上述した実施形態と、GUI制御部110およびデータ処理部120が行う処理の一部が異なる以外は、同じである。   The schematic configuration of an image forming apparatus according to a modification of the present embodiment is the same as that shown in FIG. The functional configuration of the controller 10 according to the modification is the same as that of the above-described embodiment except that some of the processes performed by the GUI control unit 110 and the data processing unit 120 are different.

続いて、本実施形態の変形例のGUI制御部110が、ユーザから画像データの表示要求を受け付けた際に行う処理について、図5を用いて説明する。   Next, processing performed when the GUI control unit 110 according to the modification of the present embodiment receives a display request for image data from the user will be described with reference to FIG.

図5は、本実施形態の変形例のGUI制御部110が行う画像データの表示処理のフローチャートである。なお、図示する処理は、上述した図3と同様で、メモリカード読書装置40のカードスロット(図示しない)にメモリカード45が挿入されている際に実行される処理である。また、メモリカード45には、所定の形式で圧縮された画像データが複数枚格納されているものとする。また、以下の処理は、ユーザが、操作パネル20を操作して、画像形成装置にメモリカード45に格納されている画像データの表示要求を行うことにより開始される。また、画像形成装置は、メモリカード45に格納された画像データを所定の順序(撮影日時順、ファイル作成日時順等)で順番に読み出すものとする。   FIG. 5 is a flowchart of image data display processing performed by the GUI control unit 110 according to a modification of the present embodiment. The process shown in the figure is the same as that shown in FIG. 3 described above, and is a process executed when the memory card 45 is inserted into a card slot (not shown) of the memory card reading / writing device 40. Further, it is assumed that the memory card 45 stores a plurality of pieces of image data compressed in a predetermined format. The following processing is started when the user operates the operation panel 20 to request the image forming apparatus to display image data stored in the memory card 45. Further, the image forming apparatus reads out the image data stored in the memory card 45 in order in a predetermined order (shooting date order, file creation date order, etc.).

先ず、GUI制御部110は、図3のS1〜2と同様の処理を行い(S100〜101)、S102の処理に進む。   First, the GUI control unit 110 performs the same processing as S1-2 in FIG. 3 (S100-101), and proceeds to the processing of S102.

S102では、GUI制御部110は、S100で受け付けた画像データの次の画像データのサムネイルのアクセス要求をデータ処理部120に行い、S103の処理に進む。具体的には、GUI制御部110は、S100で表示要求を受け付けた画像データの次に読み出す画像データを特定する。GUI制御部110は、特定した次に読み出す画像データのサムネイルのアクセス要求をデータ処理部120に行う。例えば、S100で「n(nは、1以上の自然数)」番目に読み出す画像データの表示要求を受け付けたとする。この場合、本ステップでは、「n+1」番目に読み出す画像データのサムネイルのアクセス要求をデータ処理部120に行う。   In S102, the GUI control unit 110 requests the data processing unit 120 to access a thumbnail of the next image data after the image data received in S100, and the process proceeds to S103. Specifically, the GUI control unit 110 specifies image data to be read next to the image data for which the display request has been received in S100. The GUI control unit 110 makes an access request to the data processing unit 120 for the thumbnail of the image data to be read next. For example, it is assumed that a display request for image data to be read “n (n is a natural number of 1 or more)” in S100 is received. In this case, in this step, the data processing unit 120 is requested to access the thumbnail of the image data to be read “n + 1” th.

なお、S102の段階では、本ステップでアクセス要求した画像データ(S100で受け付けた画像データの次の画像データ)の表示要求を受けていない。そのため、GUI制御部110は、本ステップでは、アクセス要求したサムネイル(次の画像データのサムネイル)の表示処理は行わない。   In step S102, the display request for the image data requested to be accessed in this step (the image data next to the image data received in S100) has not been received. For this reason, the GUI control unit 110 does not perform the display processing of the thumbnail requested to be accessed (thumbnail of the next image data) in this step.

S103では、GUI制御部110は、S100で受け付けた画像データの1つ前の画像データのサムネイルのアクセス要求をデータ処理部120に行い、S104の処理に進む。具体的には、GUI制御部110は、S100で表示要求を受け付けた画像データの1つ前に読み出す対象の画像データを特定する。GUI制御部110は、特定した前に読み出す画像データのサムネイルのアクセス要求をデータ処理部120に行う。例えば、S100で「n(nは、1以上の自然数)」番目に読み出す画像データの表示要求を受け付けたとする。この場合、本ステップでは、「n−1」番目に読み出す画像データのサムネイルのアクセス要求をデータ処理部120に行う。なお、S100で表示要求を受け付けた画像データが1番目に読み出す画像データの場合には、本ステップは省略する。   In S103, the GUI control unit 110 requests the data processing unit 120 to access the thumbnail of the image data immediately before the image data received in S100, and the process proceeds to S104. Specifically, the GUI control unit 110 specifies image data to be read out immediately before the image data for which the display request has been received in S100. The GUI control unit 110 makes an access request to the data processing unit 120 for thumbnails of image data to be read before being identified. For example, it is assumed that a display request for image data to be read “n (n is a natural number of 1 or more)” in S100 is received. In this case, in this step, the data processing unit 120 is requested to access the thumbnail of the “n−1” -th read image data. Note that this step is omitted when the image data for which the display request is accepted in S100 is the image data to be read first.

また、S103の段階では、本ステップでアクセス要求した画像データ(S100で受け付けた画像データの前の画像データ)の表示要求を受けていない。そのため、GUI制御部110は、本ステップでは、アクセス要求したサムネイル(前の画像データのサムネイル)の表示処理は行わない。   Further, at the stage of S103, a display request for the image data requested for access in this step (image data before the image data received in S100) has not been received. Therefore, the GUI control unit 110 does not perform the display process of the thumbnail requested to be accessed (the thumbnail of the previous image data) in this step.

S104では、GUI制御部110は、上述した図3のS3と同様の処理を行い、処理を終了する。   In S104, the GUI control unit 110 performs the same process as S3 in FIG. 3 described above, and ends the process.

なお、上記変形例では、S101の処理の後に、S102〜104の処理を順次行うようにしているが特にこれに限定するものではない。S102〜104の処理の順序は、任意に入れ替えてもよい。例えば、S104の処理の後に、S102、103を行ってもよい。   In the above modification, the processes of S102 to S104 are sequentially performed after the process of S101. However, the present invention is not limited to this. The order of the processes in S102 to 104 may be arbitrarily changed. For example, S102 and S103 may be performed after the process of S104.

続いて、本実施形態の変形例において、GUI制御部110からのアクセス要求を受け付けたデータ処理部120が行う処理を説明する。   Next, processing performed by the data processing unit 120 that has received an access request from the GUI control unit 110 in a modification of the present embodiment will be described.

データ処理部120は、GUI制御部110からS101によるアクセス要求を受け付けた場合、上述した実施形態と同様、図4に示すS11〜17の処理を実行する。また、GUI制御部110からS104によるアクセス要求を受け付けた場合、上述した実施形態と同様、図4に示すS11〜16の処理を実行する。   When receiving an access request in S101 from the GUI control unit 110, the data processing unit 120 executes the processes in S11 to S17 illustrated in FIG. 4 as in the above-described embodiment. When the access request from S104 is received from the GUI control unit 110, the processes of S11 to S16 shown in FIG. 4 are executed as in the above-described embodiment.

つぎに、データ処理部120が、GUI制御部110からS102および103によるアクセス要求を受け付けた場合の処理を、図4を参照しながら説明する。   Next, processing when the data processing unit 120 receives an access request from S102 and 103 from the GUI control unit 110 will be described with reference to FIG.

先ず、デーが処理部120は、上述したS11〜S12の処理を行う。そして、S12で、アクセス要求を受けたサムネイルがキャッシュ130に格納されていれば、処理を終了する(S13の処理は行わない)。一方、アクセス要求を受けたサムネイルがキャッシュ130に格納されていなければ、S15に進み、その後、S16の処理を行わず、S17を行う。   First, the data processing unit 120 performs the processes of S11 to S12 described above. If the thumbnail for which the access request has been received is stored in the cache 130 in S12, the process ends (the process in S13 is not performed). On the other hand, if the thumbnail for which the access request has been received is not stored in the cache 130, the process proceeds to S15, and thereafter, the process of S16 is not performed and S17 is performed.

このようにするのは、S102および103の処理により指定される画像データは、まだ、ユーザから表示要求を受け付けていないためである。   This is because the image data designated by the processes in S102 and 103 has not yet received a display request from the user.

このように、本実施形態の変形例によれば、ユーザからの表示要求を受けて、メモリカード45から画像データを読み出した場合、その読み出した画像データのサムネイルをキャッシュ130に格納するようにしている。そのため、本変形例においても、上述した実施形態と同様の作用効果を奏することができる。   As described above, according to the modification of the present embodiment, when image data is read from the memory card 45 in response to a display request from the user, the thumbnail of the read image data is stored in the cache 130. Yes. Therefore, also in this modification, the same operational effects as those of the above-described embodiment can be achieved.

また、本変形例によれば、ユーザが表示要求した画像データを操作パネル20のディスプレイに表示させた後、次の画像データを表示させようとした場合に、次の画像データのサムネイルがキャッシュ130に格納されていることとなる。また、変形例では、ユーザが表示要求した画像データを操作パネル20のディスプレイに表示させた後、前の画像データを表示させようとした場合に、前の画像データのサムネイルがキャッシュ130に格納されていることとなる。   Further, according to this modification, after displaying the image data requested to be displayed by the user on the display of the operation panel 20 and then displaying the next image data, the thumbnail of the next image data is stored in the cache 130. Will be stored. In the modified example, when the image data requested by the user is displayed on the display of the operation panel 20 and then the previous image data is to be displayed, the thumbnail of the previous image data is stored in the cache 130. Will be.

そのため、変形例によれば、ユーザがある画像データの表示要求を行った後、その表示要求を行った画像データの前後の画像データ(読み出し順序が前後の画像データ)を表示させる場合、要求された画像データのサムネイルをキャッシュ130から読み出せばいいため、サムネイルが表示されるまでの時間を短縮することができ、ユーザの使い勝手を向上させる。   Therefore, according to the modification, after the user makes a display request for a certain image data, the user is requested to display the image data before and after the image data for which the display request has been made (image data with the reading order before and after). Since it is sufficient to read the thumbnail of the image data from the cache 130, the time until the thumbnail is displayed can be shortened and the usability of the user is improved.

なお、本発明は、以上で説明した実施形態に限定されるものではなく、本発明の要旨の範囲内において種々の変形が可能である。   The present invention is not limited to the embodiment described above, and various modifications can be made within the scope of the gist of the present invention.

例えば、上記の変形例では、ユーザからメモリカード45内の画像データの表示要求を受け付けた場合に、その表示要求を受け付けた画像データと読み出し順序が前後の画像データのサムネイルを読み出すようにしたが、特にこれに限定するものではない。例えば、ユーザからメモリカード45内の画像データの表示要求を受け付けた場合に、その表示要求を受け付けた画像データと読み出し順序が隣接する所定枚数の画像データのサムネイルを読み出し、その読み出した画像データのサムネイルをキャッシュに格納することとしてもよい。また、この場合、画像形成装置は、ユーザからの要求にしたがい、読み出すサムネイルの所定枚数を設定するようにしてもよい。或いは、データ処理部120がコントローラ10に搭載されているメモリ容量に応じて、読み出すサムネイルの所定枚数を設定するようにしてもよい。   For example, in the above modification, when a display request for image data in the memory card 45 is received from the user, the image data for which the display request has been received and the thumbnails of the image data in the order of reading are read. However, the present invention is not limited to this. For example, when a display request for image data in the memory card 45 is received from the user, a thumbnail of a predetermined number of image data whose reading order is adjacent to the image data for which the display request has been received is read, and the read image data Thumbnails may be stored in a cache. In this case, the image forming apparatus may set a predetermined number of thumbnails to be read according to a request from the user. Alternatively, the data processing unit 120 may set a predetermined number of thumbnails to be read according to the memory capacity installed in the controller 10.

また、本実施形態では、メモリカード45のサムネイルが圧縮状態である場合を例にしたが、サムネイルが非圧縮状態のデータであってもよい。なお、この場合には、メモリカード45から読み出したサムネイルのデコード処理は必要ない。   Further, in the present embodiment, the case where the thumbnail of the memory card 45 is in a compressed state is taken as an example, but the thumbnail may be data in an uncompressed state. In this case, it is not necessary to decode the thumbnail read from the memory card 45.

また、上記実施形態では、画像形成装置がダイレクト印刷機能を備えたプリンタである場合を説明したが、これは、例示に過ぎない。例えば、画像形成装置が、ダイレクト印刷機能に加え、スキャナ機能およびコピー機能を備える複合機であってもかまわない。   In the above embodiment, the case where the image forming apparatus is a printer having a direct printing function has been described. However, this is merely an example. For example, the image forming apparatus may be a multifunction machine having a scanner function and a copy function in addition to the direct printing function.

本発明の一実施形態が適用された画像形成装置の概略構成図である。1 is a schematic configuration diagram of an image forming apparatus to which an embodiment of the present invention is applied. 本実施形態のコントローラ10の機能構成の一例を示すブロック図である。It is a block diagram which shows an example of a function structure of the controller 10 of this embodiment. 本実施形態の画像データの表示処理のフローチャートである。It is a flowchart of the display process of the image data of this embodiment. 本実施形態の画像データ読み出し処理のフローチャートである。It is a flowchart of the image data reading process of this embodiment. 本実施形態の変形例の画像データの表示処理のフローチャートである。It is a flowchart of the display process of the image data of the modification of this embodiment.

符号の説明Explanation of symbols

10…コントローラ、20…操作パネル、30…プリンタエンジン、40…メモリカード読書装置、45…メモリカード、101…CPU、102…ROM、103…RAM、104…不揮発性メモリ、105…インタフェース、106…システムバス、110…GUI制御部、120…データ処理部、121…デコード部、122…ファイルアクセス部、123…物理アクセス部、130…キャッシュ、140…印刷処理部

DESCRIPTION OF SYMBOLS 10 ... Controller, 20 ... Operation panel, 30 ... Printer engine, 40 ... Memory card reading apparatus, 45 ... Memory card, 101 ... CPU, 102 ... ROM, 103 ... RAM, 104 ... Non-volatile memory, 105 ... Interface, 106 ... System bus, 110 ... GUI control unit, 120 ... data processing unit, 121 ... decoding unit, 122 ... file access unit, 123 ... physical access unit, 130 ... cache, 140 ... print processing unit

Claims (6)

表示部を備え、複数の画像データが格納されている、可搬性の記憶媒体から該画像データを取得して印刷を行う画像形成装置であって、
前記画像データには、主画像、および該主画像に対応するサムネイルが含まれていて、
前記画像データを格納するためのキャッシュと、
ユーザからの前記記憶媒体に格納されている画像データの表示要求を受け付けるインタフェース部と、
前記記憶媒体から画像データを読み出し、該読み出した画像データのサムネイルを前記キャッシュに格納するデータ処理部と、を備え、
前記データ処理部は、
前記インタフェース部を介して、ユーザからの前記画像データの表示要求を受け付けると、前記キャッシュに該表示要求を受け付けた画像データのサムネイルがあるか否かを判定し、
前記キャッシュに、前記表示要求を受け付けた画像データのサムネイルがあれば、前記キャッシュから該サムネイルを読み出し、前記インタフェース部を介して、前記表示部に該サムネイルを表示し、
前記キャッシュに、前記表示要求を受け付けたサムネイルがなければ、前記記憶媒体から画像データのサムネイルを読み出し、該読み出したサムネイルを前記キャッシュに格納し、前記インタフェース部を介して、前記表示部に該サムネイルを表示すること
を特徴とする画像形成装置。
An image forming apparatus that includes a display unit, stores a plurality of image data, acquires the image data from a portable storage medium, and performs printing.
The image data includes a main image and a thumbnail corresponding to the main image,
A cache for storing the image data;
An interface unit for receiving a display request for image data stored in the storage medium from a user;
A data processing unit that reads image data from the storage medium and stores thumbnails of the read image data in the cache;
The data processing unit
When receiving a display request for the image data from the user via the interface unit, it is determined whether there is a thumbnail of the image data for which the display request has been received in the cache,
If there is a thumbnail of the image data for which the display request has been received in the cache, the thumbnail is read from the cache, and the thumbnail is displayed on the display unit via the interface unit,
If there is no thumbnail that has received the display request in the cache, the thumbnail of the image data is read from the storage medium, the read thumbnail is stored in the cache, and the thumbnail is stored in the display unit via the interface unit. An image forming apparatus characterized by displaying.
請求項1に記載の画像形成装置であって、
前記データ処理部は、
前記表示部に前記サムネイルを表示した後、さらに、前記記憶媒体から表示要求を受け付けた画像データの主画像を読み出し、該主画像をデコードして、前記インタフェース部を介して、前記表示部に該主画像を表示すること
を特徴とする画像形成装置。
The image forming apparatus according to claim 1,
The data processing unit
After the thumbnail is displayed on the display unit, the main image of the image data for which a display request has been received is further read from the storage medium, the main image is decoded, and the display unit receives the main image via the interface unit. An image forming apparatus displaying a main image.
請求項1または2に記載の画像形成装置であって、
前記データ処理部は、
ユーザから表示要求を受け付けた画像データのサムネイルを前記記憶媒体から読み出す際、前記記憶媒体に格納されている複数の画像データの中から、前記表示要求を受け付けた画像データと読み出し順序が前後する所定枚数の画像データのサムネイルを併せて読み出し、該読み出した該サムネイルを前記キャッシュに格納すること
を特徴とする画像形成装置。
The image forming apparatus according to claim 1, wherein:
The data processing unit
When reading a thumbnail of image data for which a display request has been received from a user from the storage medium, a predetermined order in which the reading order of the image data for which the display request has been received from among a plurality of image data stored in the storage medium An image forming apparatus, wherein thumbnails of a plurality of image data are read together and the read thumbnails are stored in the cache.
請求項1または2に記載の画像形成装置であって、
前記データ処理部は、
前記インタフェース部を介して、ユーザからの前記画像データの表示要求を受け付けると、前記キャッシュに該表示要求を受け付けたサムネイルと読み出し順序が前後する所定枚数の画像データのサムネイルが格納されているか否かを判定し、該判定の結果、該キャッシュに格納されていない画像データのサムネイルがあれば、該格納されていない画像データのサムネイルを前記記憶媒体から読み出し、該読み出したサムネイルを前記キャッシュに格納すること
を特徴とする画像形成装置。
The image forming apparatus according to claim 1, wherein:
The data processing unit
When a display request for the image data is received from the user via the interface unit, whether or not a thumbnail for which the display request has been received and a predetermined number of image data thumbnails whose read order has been changed is stored in the cache. If there is a thumbnail of the image data not stored in the cache as a result of the determination, the thumbnail of the image data not stored is read from the storage medium, and the read thumbnail is stored in the cache. An image forming apparatus.
請求項3または4に記載の画像形装置であって、
前記データ処理部は、前記所定数をユーザからの要求にしたがい変更すること
を特徴とする画像形成装置。
An image forming apparatus according to claim 3 or 4,
The image processing apparatus, wherein the data processing unit changes the predetermined number according to a request from a user.
表示部を備え、複数の画像データが格納されている、可搬性の記憶媒体から該画像データを取得して印刷処理をする画像形成装置が行う画像表示方法であって、
前記画像形成装置には、前記画像データを格納するためのキャッシュが設けられていて、前記画像データには、主画像、および該主画像に対応するサムネイルが含まれていて、
前記画像形成装置は、
ユーザからの前記記憶媒体に格納されている画像データの表示要求を受け付けるステップと、
前記画像データの表示要求を受け付けると、前記キャッシュに該表示要求を受け付けた画像データのサムネイルがあるか否かを判定するステップと、
前記判定の結果、前記キャッシュに、前記表示要求を受け付けた画像データのサムネイルがあれば、前記キャッシュから該サムネイルを読み出し、前記表示部に該サムネイルを表示するステップと、
前記判定の結果、前記キャッシュに、前記表示要求を受け付けた画像データのサムネイルがなければ、前記記憶媒体から画像データのサムネイルを読み出し、該読み出した画像データのサムネイルを前記キャッシュに格納し、さらに、前記表示部に該サムネイルを表示するステップとを実行すること
を特徴とする画像表示方法。

An image display method performed by an image forming apparatus that includes a display unit and stores a plurality of image data, obtains the image data from a portable storage medium, and performs a printing process.
The image forming apparatus is provided with a cache for storing the image data, and the image data includes a main image and a thumbnail corresponding to the main image,
The image forming apparatus includes:
Receiving a display request for image data stored in the storage medium from a user;
When receiving the display request for the image data, determining whether there is a thumbnail of the image data for which the display request is received in the cache;
As a result of the determination, if there is a thumbnail of the image data for which the display request has been accepted in the cache, the thumbnail is read from the cache, and the thumbnail is displayed on the display unit;
As a result of the determination, if there is no thumbnail of the image data for which the display request has been accepted in the cache, the thumbnail of the image data is read from the storage medium, the thumbnail of the read image data is stored in the cache, and And a step of displaying the thumbnail on the display unit.

JP2006046917A 2006-02-23 2006-02-23 Image forming apparatus and image displaying method Pending JP2007223163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006046917A JP2007223163A (en) 2006-02-23 2006-02-23 Image forming apparatus and image displaying method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006046917A JP2007223163A (en) 2006-02-23 2006-02-23 Image forming apparatus and image displaying method

Publications (1)

Publication Number Publication Date
JP2007223163A true JP2007223163A (en) 2007-09-06

Family

ID=38545413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006046917A Pending JP2007223163A (en) 2006-02-23 2006-02-23 Image forming apparatus and image displaying method

Country Status (1)

Country Link
JP (1) JP2007223163A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8526047B1 (en) 2012-03-22 2013-09-03 Fuji Xerox Co., Ltd. Print control apparatus, image forming system, non-transitory computer readable medium
JP2014034116A (en) * 2012-08-07 2014-02-24 Seiko Epson Corp Image processor and image processing method
JP2018043505A (en) * 2016-09-16 2018-03-22 株式会社リコー Image forming apparatus, operation device, screen display method and program
JP2020011470A (en) * 2018-07-19 2020-01-23 株式会社リコー Image forming device, program, printing system
JP2020015230A (en) * 2018-07-25 2020-01-30 キヤノン株式会社 Image formation apparatus, control method and program of the same

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8526047B1 (en) 2012-03-22 2013-09-03 Fuji Xerox Co., Ltd. Print control apparatus, image forming system, non-transitory computer readable medium
JP2014034116A (en) * 2012-08-07 2014-02-24 Seiko Epson Corp Image processor and image processing method
JP2018043505A (en) * 2016-09-16 2018-03-22 株式会社リコー Image forming apparatus, operation device, screen display method and program
JP2020011470A (en) * 2018-07-19 2020-01-23 株式会社リコー Image forming device, program, printing system
JP7107052B2 (en) 2018-07-19 2022-07-27 株式会社リコー image forming device, program
JP2020015230A (en) * 2018-07-25 2020-01-30 キヤノン株式会社 Image formation apparatus, control method and program of the same
JP7190276B2 (en) 2018-07-25 2022-12-15 キヤノン株式会社 Image forming apparatus, image processing apparatus and control method thereof

Similar Documents

Publication Publication Date Title
JP6875808B2 (en) Information processing device
JP2007223163A (en) Image forming apparatus and image displaying method
JP2006268377A (en) Program start-up controller and program start-up control method
JP2006261889A (en) Image processing device and image processing method
JP4208805B2 (en) Electronic device, control method thereof, and program
US7701607B2 (en) Method and device for managing images stored in a plurality of storage media included in or connected to image forming apparatus
JP4586734B2 (en) Printing apparatus and printing method
JP2005094301A (en) Image forming apparatus
JP2007194777A (en) Image processor
JP6492948B2 (en) Information processing apparatus, output system, and program
JP2008307837A (en) Image forming system and its control method
JP2003177907A (en) Unit and system for information processing, print control method, storage medium, and program
JP4775655B2 (en) Image processing apparatus and image processing program
JP2002321428A (en) Printer
JP2007166480A (en) Image forming apparatus and image output processing program
JP2007076043A (en) Printer
JP4958723B2 (en) Virtual storage control device, virtual storage control method, virtual storage control program, and recording medium
JP2006338150A (en) Controller and image processor
JP2008140170A (en) Image processor and program
JP2009100103A (en) Printing device
JPH05150915A (en) Image forming device
JP2006236006A (en) Printer, program and recording medium
KR20060009652A (en) Apparatus and method for management print files
JP5070791B2 (en) Computer program for controlling printing environment settings, computer program for managing a plurality of printing environment settings, print control apparatus, and printing system
JP2008306653A (en) Image processor