JP2015136080A - Image forming apparatus, control method of image forming apparatus, and control program of image forming apparatus - Google Patents

Image forming apparatus, control method of image forming apparatus, and control program of image forming apparatus Download PDF

Info

Publication number
JP2015136080A
JP2015136080A JP2014007454A JP2014007454A JP2015136080A JP 2015136080 A JP2015136080 A JP 2015136080A JP 2014007454 A JP2014007454 A JP 2014007454A JP 2014007454 A JP2014007454 A JP 2014007454A JP 2015136080 A JP2015136080 A JP 2015136080A
Authority
JP
Japan
Prior art keywords
storage means
image forming
forming apparatus
storage unit
print data
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
JP2014007454A
Other languages
Japanese (ja)
Inventor
裕貴 田中
Hirotaka Tanaka
裕貴 田中
平田 哲也
Tetsuya Hirata
哲也 平田
俊彰 細川
Toshiaki Hosokawa
俊彰 細川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2014007454A priority Critical patent/JP2015136080A/en
Publication of JP2015136080A publication Critical patent/JP2015136080A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the overflow of primary memory during the execution of electronic sorting.SOLUTION: There is provided an image forming apparatus 100 that includes primary storage means 113 for temporarily storing print data during the execution of electronic sorting processing, and internal secondary storage means 114 that is non-volatile storage means used during the execution of processing other than the electronic sorting processing, has a larger memory capacity than that of the primary storage means 113, and has a slower writing speed than that of the primary storage means 113, the image forming apparatus 100 further including a memory management unit 112 that temporarily stores print data in the internal secondary storage means 114 when the memory of the primary storage means 113 becomes full during the execution of the electronic sorting processing.

Description

本発明は、画像形成装置、画像形成装置の制御方法および画像形成装置の制御プログラムに関する。さらに詳述すると、電子ソートにおける1次メモリのオーバーフロー時の制御に関する。   The present invention relates to an image forming apparatus, an image forming apparatus control method, and an image forming apparatus control program. More specifically, the present invention relates to control at the time of overflow of the primary memory in the electronic sort.

プリンタ、ファクシミリ、複写装置、これらの複合機等の画像形成装置として、例えば、液体吐出ヘッドで構成した記録ヘッドを含む装置を用いて、記録媒体(用紙)を搬送しながら、液体としてのインクを用紙に付着させて画像形成を行なう、いわゆるインクジェット方式の画像形成装置が知られている。   As an image forming apparatus such as a printer, a facsimile machine, a copying machine, or a multifunction machine of these, for example, an apparatus including a recording head constituted by a liquid discharge head is used to convey ink as a liquid while conveying a recording medium (paper). 2. Description of the Related Art A so-called ink jet type image forming apparatus that forms an image by adhering to a sheet is known.

また、例えば、像担持体である感光ドラムの表面に静電潜像を形成し、感光ドラム上の静電潜像を現像剤であるトナー等によって現像して可視像化し、現像された画像を転写装置により記録紙に転写して画像を担持させ、圧力や熱等を用いる定着装置によって記録媒体上のトナー画像を定着する電子写真方式の画像形成装置が知られている。   Further, for example, an electrostatic latent image is formed on the surface of a photosensitive drum as an image carrier, and the electrostatic latent image on the photosensitive drum is developed with a toner or the like as a developer to be a visible image. There is known an electrophotographic image forming apparatus in which an image is carried on a recording paper by a transfer device to carry an image, and a toner image on a recording medium is fixed by a fixing device using pressure or heat.

このような画像形成装置の機能として、印刷ジョブもしくはスキャンしたコピーデータを蓄積して画像形成装置側でソート出力する電子ソート機能が知られている。この電子ソート機能を使用する場合、ソート対象となる全ての画像データ(印刷データ)を装置内の専用の画像記憶メモリ(1次メモリ)へ一旦保存し、この1次メモリから任意の画像データを繰り返し読み出すことで、プリント出力を実施している。   As a function of such an image forming apparatus, an electronic sort function for accumulating print jobs or scanned copy data and sorting and outputting the data on the image forming apparatus side is known. When using this electronic sort function, all image data (print data) to be sorted is temporarily stored in a dedicated image storage memory (primary memory) in the apparatus, and arbitrary image data is stored from the primary memory. Print output is performed by repeatedly reading.

このような電子ソート機能において、1次メモリがメモリフルになった場合に、残りの画像データを1次メモリとは別の記憶デバイス(2次メモリ)に継続して記憶させることでオーバーフローにより画像データが失われるのを回避する技術が知られている。   In such an electronic sort function, when the primary memory becomes full, the remaining image data is continuously stored in a storage device (secondary memory) different from the primary memory, thereby causing an image due to overflow. Techniques for avoiding data loss are known.

例えば、特許文献1には、電子ソートコピージョブにおいて装置内のメモリ(ハードディスクなど)に原稿画像を記憶中にメモリフルになって画像が記憶できなくなった場合に、装置に接続された外部記憶デバイス(光磁気ディスクなど)に装置内のメモリへ記憶しきれなかった残りの原稿画像を記憶する画像形成方法が開示されている。   For example, Patent Document 1 discloses an external storage device connected to an apparatus when an image cannot be stored due to memory full while an original image is being stored in a memory (such as a hard disk) in the apparatus in an electronic sort copy job. An image forming method is disclosed in which the remaining original image that could not be stored in the memory in the apparatus (such as a magneto-optical disk) is stored.

また、画像形成装置において、NAND型フラッシュメモリ(NAND flash)、NOR型フラッシュメモリ(NOR Flash)、EEPROM(Electrically Erasable Programmable Read-Only Memory)などの不揮発性メモリをプログラムやデータの保存領域に使用することがなされているが、近年の不揮発性メモリの大容量化に伴い、空き領域が増えてきていることも知られている。   Further, in an image forming apparatus, a nonvolatile memory such as a NAND flash memory (NAND flash), a NOR flash memory (NOR Flash), or an EEPROM (Electrically Erasable Programmable Read-Only Memory) is used as a program or data storage area. However, it is also known that the free space has increased with the recent increase in capacity of the nonvolatile memory.

上記特許文献1の技術では、2次メモリとして専用の外部記憶デバイスが必須であるため、この外部記憶デバイスおよびこれを接続するための外部端子が必要となり、コストアップとなってしまう。また、電子ソート機能を使用しない場合には、専用の外部記憶デバイスは未使用領域となるため、メモリ効率が悪いといえる。   In the technique disclosed in Patent Document 1, a dedicated external storage device is indispensable as a secondary memory. This external storage device and an external terminal for connecting the external storage device are required, resulting in an increase in cost. Further, when the electronic sort function is not used, it can be said that the memory efficiency is low because the dedicated external storage device becomes an unused area.

また、特許文献1のように、電子ソート機能により1次メモリにてオーバーフローが発生した場合は処理を中断し、ユーザの選択に従ってエラー終了するか、2次メモリに保存を継続させる方式では、ユーザに選択の手間がかかってしまう。   Further, as in Patent Document 1, when an overflow occurs in the primary memory due to the electronic sort function, the process is interrupted and the process ends with an error according to the user's selection or the storage in the secondary memory is continued. It takes time to select.

また、NAND型フラッシュメモリなどの不揮発性メモリは容量の大きいものを用いることができるが、書き込み回数や書き込み速度に制限があり、通常のストレージとしては使いにくいものが多く、装置内のメモリ領域を有効に利用できているとはいえなかった。   In addition, a nonvolatile memory such as a NAND flash memory can be used with a large capacity, but there are restrictions on the number of times of writing and writing speed, and it is often difficult to use as a normal storage. It could not be said that it could be used effectively.

そこで本発明は、電子ソート実施時における1次メモリのメモリフル時に、他の用途で使用している装置内のNAND型フラッシュメモリなどの不揮発性メモリの空き領域を2次メモリとして使用して、電子ソート実施時における1次メモリのオーバーフローを防止することができる画像形成装置を提供することを目的とする。   Therefore, the present invention uses an empty area of a non-volatile memory such as a NAND flash memory in a device used for other purposes as a secondary memory when the memory of the primary memory is full at the time of electronic sorting. An object of the present invention is to provide an image forming apparatus capable of preventing an overflow of a primary memory during electronic sorting.

かかる目的を達成するため、本発明に係る画像形成装置は、電子ソート処理の実行時に印刷データを一時的に記憶する1次記憶手段と、電子ソート処理以外の処理の実行時に用いられる不揮発性の記憶手段であって、前記1次記憶手段よりも記憶容量が多いとともに、前記1次記憶手段よりも書き込み速度が遅い内部2次記憶手段と、を備えた画像形成装置において、電子ソート処理の実行時に前記1次記憶手段がメモリフルとなった場合に、前記内部2次記憶手段へ印刷データを一時的に記憶させる制御手段を備えるものである。   In order to achieve such an object, an image forming apparatus according to the present invention includes a primary storage unit that temporarily stores print data when an electronic sort process is executed, and a nonvolatile memory that is used when a process other than the electronic sort process is executed. Electronic sort processing is performed in an image forming apparatus comprising a storage unit and an internal secondary storage unit having a storage capacity larger than that of the primary storage unit and having a writing speed slower than that of the primary storage unit In some cases, there is provided control means for temporarily storing print data in the internal secondary storage means when the primary storage means becomes full.

本発明によれば、簡易な構成により電子ソート実施時における1次メモリのオーバーフローを防止することができる。   According to the present invention, it is possible to prevent the overflow of the primary memory when the electronic sort is performed with a simple configuration.

画像形成システムの概略構成図である。1 is a schematic configuration diagram of an image forming system. 画像形成装置の機能ブロック図である。2 is a functional block diagram of the image forming apparatus. FIG. メモリ管理部が実行する電子ソート時の記憶手段の切替え処理を示すフローチャートである。It is a flowchart which shows the switching process of the memory | storage means at the time of the electronic sort which a memory management part performs. 記憶手段の切り替え時の説明図である。It is explanatory drawing at the time of switching of a memory | storage means. 記憶手段の切り替え時の状態遷移の説明図である。It is explanatory drawing of the state transition at the time of switching of a memory | storage means. 記憶手段の切り替え時の印刷データの関連付け処理を示すフローチャートである。6 is a flowchart illustrating a print data association process when a storage unit is switched.

以下、本発明に係る構成を図1から図6に示す実施の形態に基づいて詳細に説明する。   Hereinafter, a configuration according to the present invention will be described in detail based on the embodiment shown in FIGS.

本実施形態に係る画像形成装置は、電子ソート処理の実行時に印刷データを一時的に記憶する1次記憶手段(1次記憶手段113)と、電子ソート処理以外の処理の実行時に用いられる不揮発性の記憶手段であって、1次記憶手段よりも記憶容量が多いとともに、1次記憶手段よりも書き込み速度が遅い内部2次記憶手段(内部2次記憶手段114)と、を備えた画像形成装置(画像形成装置100)において、電子ソート処理の実行時に1次記憶手段がメモリフルとなった場合に、内部2次記憶手段へ印刷データを一時的に記憶させる制御手段(CPU111、メモリ管理部112)を備えるものである。なお、ここでいう「印刷データ」とは電子ソート処理時にソートの対象となる印刷データをいうものであり、ソート処理の実行前、実行中および実行後のデータを含むものである。また、ソート実行後の印刷データを電子ソートデータともいう。また、カッコ内は、実施形態での符号、適用例を示す。   The image forming apparatus according to the present embodiment includes a primary storage unit (primary storage unit 113) that temporarily stores print data when electronic sort processing is executed, and a nonvolatile memory that is used when processing other than electronic sort processing is executed. And an internal secondary storage unit (internal secondary storage unit 114) having a larger storage capacity than the primary storage unit and having a writing speed slower than that of the primary storage unit. (Image forming apparatus 100) Control means (CPU 111, memory management section 112) for temporarily storing print data in internal secondary storage means when the primary storage means becomes full when electronic sort processing is executed. ). Here, “print data” refers to print data to be sorted during electronic sort processing, and includes data before, during, and after execution of sort processing. Further, the print data after the sort is executed is also referred to as electronic sort data. In addition, the reference numerals in the embodiment and application examples are shown in parentheses.

(画像形成システムの概略)
図1は、本実施形態に係る画像形成装置を含んで構成される画像形成システムの概略構成図である。
(Outline of image forming system)
FIG. 1 is a schematic configuration diagram of an image forming system including an image forming apparatus according to the present embodiment.

画像形成システム300は、印刷データ及び当該印刷データを印刷するための印刷条件を含む印刷ジョブを送出する情報処理装置の一例としてのパーソナルコンピュータ200と、印刷データを印刷する画像形成装置100と、が、接続手段としてのケーブル201(USBケーブル、LANケーブルなど)を介して接続されて構築されている。   The image forming system 300 includes a personal computer 200 as an example of an information processing apparatus that sends out a print job including print data and a print condition for printing the print data, and an image forming apparatus 100 that prints the print data. , And connected via a cable 201 (USB cable, LAN cable, etc.) as connection means.

パーソナルコンピュータ200は、例えば、画像、作成した文書などに対応した印刷データ及びこの文書印刷するために設定した印刷条件データ(用紙方向、両面、集約、製本、ステープル、パンチ、拡大/縮小、ソート等)を印刷ジョブとして画像形成装置100に送出する。   The personal computer 200, for example, print data corresponding to an image, a created document, and print condition data set for printing this document (paper orientation, double-sided, aggregation, bookbinding, stapling, punching, enlargement / reduction, sorting, etc.) ) As a print job.

画像形成装置100は、パーソナルコンピュータ200から送信された印刷ジョブに従って印刷データの印刷を行う。具体的には、画像形成装置100は、印刷ジョブに含まれる印刷条件データに従って、印刷ジョブに含まれる印刷データを記録媒体に印刷する。また、画像形成装置100は、コピー機能を有し、原稿101を読み込んだコピーデータについても印刷データとするものである。   The image forming apparatus 100 prints print data according to the print job transmitted from the personal computer 200. Specifically, the image forming apparatus 100 prints the print data included in the print job on a recording medium according to the print condition data included in the print job. The image forming apparatus 100 also has a copy function, and the copy data read from the original 101 is also used as print data.

(画像形成装置の構成)
図2は、本実施形態に係る画像形成装置の機能ブロック図である。
(Configuration of image forming apparatus)
FIG. 2 is a functional block diagram of the image forming apparatus according to the present embodiment.

画像形成装置100は、外部からの要求を受け、印刷出力する画像形成装置であって、プリンタ、複写機として機能する。この画像形成装置100には、原稿101が外部から画像読取り部104(スキャナ部)を通して入力される。また、パーソナルコンピュータ200から印刷データ103が入力される。   The image forming apparatus 100 is an image forming apparatus that receives an external request and prints it out, and functions as a printer and a copying machine. A document 101 is input to the image forming apparatus 100 from the outside through an image reading unit 104 (scanner unit). In addition, print data 103 is input from the personal computer 200.

また、画像形成装置100の外部接続端子(メモリーカードスロット、USBポートなど)には、外部の2次記憶デバイス(2次メモリ)である外部2次記憶手段102が接続されている。この外部2次記憶手段102としては、例えば、SDメモリーカード、USBメモリ、ハードディスクドライブ、MOドライブなどを用いることができる。   An external secondary storage unit 102 that is an external secondary storage device (secondary memory) is connected to an external connection terminal (memory card slot, USB port, etc.) of the image forming apparatus 100. As this external secondary storage means 102, for example, an SD memory card, USB memory, hard disk drive, MO drive, or the like can be used.

また、画像形成装置100は、画像形成装置全体を制御する主制御部110と、原稿101の読取りを実施して印刷データとする画像読取り部104と、印刷データを記憶手段に蓄積して任意の順番にソートする電子ソート部105と、印刷データをエンジン部107にて出力可能なデータに変換して、印刷可能な状態にする印刷制御部106と、記憶手段に記憶された印刷データを電子ソート部105でソートされた順番に印字出力するエンジン部107と、を備えている。   In addition, the image forming apparatus 100 includes a main control unit 110 that controls the entire image forming apparatus, an image reading unit 104 that reads the original 101 to obtain print data, and stores print data in a storage unit. An electronic sort unit 105 that sorts the print data, a print control unit 106 that converts the print data into data that can be output by the engine unit 107 to make it printable, and an electronic sort that stores the print data stored in the storage unit And an engine unit 107 that prints out in the order sorted by the unit 105.

また、主制御部110は、全体の印刷制御等を実施するCPU111と、メモリ残量に応じて記憶手段の切り替え制御をするメモリ管理部112と、1次記憶手段113と、内部2次記憶手段114と、を備えている。   The main control unit 110 includes a CPU 111 that performs overall printing control, a memory management unit 112 that controls switching of storage units according to the remaining memory capacity, a primary storage unit 113, and an internal secondary storage unit. 114.

ここで、1次記憶手段113は、印刷のための印刷データや、プログラム実行に関わるコード、データ等を保存する揮発性または不揮発性の1次記憶デバイス(1次メモリ)である。この1次記憶手段113としては、例えば、SRAM(Static RAM)、DRAM(Dynamic RAM)等が用いられる。   Here, the primary storage unit 113 is a volatile or non-volatile primary storage device (primary memory) that stores print data for printing, codes related to program execution, data, and the like. As the primary storage unit 113, for example, an SRAM (Static RAM), a DRAM (Dynamic RAM), or the like is used.

また、内部2次記憶手段114は、通常、電子ソート時には使用されない記憶手段であって、フォントデータ、画処理データ、プログラムコード等を保持し、1次メモリが不足した場合にその代替となる内部の2次記憶デバイス(2次メモリ)である。この内部2次記憶手段114としては、例えば、NAND型フラッシュメモリ、NOR型フラッシュメモリ、EEPROM等が用いられる。なお、一般に内部2次記憶手段114は、1次記憶手段113と同一のボード上に実装されている。   The internal secondary storage unit 114 is a storage unit that is not normally used at the time of electronic sorting. The internal secondary storage unit 114 stores font data, image processing data, program codes, and the like. Secondary storage device (secondary memory). As the internal secondary storage unit 114, for example, a NAND flash memory, a NOR flash memory, an EEPROM, or the like is used. In general, the internal secondary storage unit 114 is mounted on the same board as the primary storage unit 113.

以下、内部2次記憶手段114と外部2次記憶手段102を総称して2次記憶手段(2次メモリ)ともいう。ここで、1次記憶手段113は、2次記憶手段よりも書き込み速度が速く、書き込み回数の制限もない(または書き込み回数について2次記憶手段に比べて十分に余裕がある)記憶手段である。また、2次記憶手段は、書き込み速度および書き込み回数制限が1次記憶手段113よりも劣るが、1次記憶手段113よりも容量が大きい記憶手段である。   Hereinafter, the internal secondary storage unit 114 and the external secondary storage unit 102 are collectively referred to as secondary storage unit (secondary memory). Here, the primary storage unit 113 is a storage unit that has a higher writing speed than the secondary storage unit and has no limit on the number of writings (or has a sufficient margin for the number of writings compared to the secondary storage unit). The secondary storage means is a storage means having a capacity larger than that of the primary storage means 113 although the writing speed and the number of times of writing are inferior to those of the primary storage means 113.

(画像形成装置の制御方法)
図3は画像形成装置100のメモリ管理部112が実行する電子ソート時の記憶手段の切替え処理を示すフローチャートである。
(Control method of image forming apparatus)
FIG. 3 is a flowchart illustrating the storage unit switching process during electronic sorting executed by the memory management unit 112 of the image forming apparatus 100.

まず、CPU111が印刷データの保存要求を受け付けると、以下の処理が開始される(S101:データ書き込み要求)。次いで、印刷データが1次記憶手段113に書き込み可能であるかどうかを判定する(S102)。   First, when the CPU 111 receives a print data storage request, the following processing is started (S101: data write request). Next, it is determined whether the print data can be written to the primary storage unit 113 (S102).

1次記憶手段113がメモリフルでなく、書き込み可能な場合(S102:yes)は、1次記憶手段113へ印刷データを書き込む処理を実行する(S103)。   If the primary storage unit 113 is not full and writing is possible (S102: yes), a process of writing print data to the primary storage unit 113 is executed (S103).

1次記憶手段113へ印刷データを書き込んだ後は、全ての印刷データの書き込みが完了したかを判定する(S104)。書き込みが完了している場合(S104:yes)は、処理は終了する(S111)。一方、書き込みが完了していない場合(S104:no)は再度、1次記憶手段113へ書き込み可能か否かを判定する(S102へ戻る)。   After the print data is written to the primary storage unit 113, it is determined whether all the print data has been written (S104). If the writing has been completed (S104: yes), the process ends (S111). On the other hand, if the writing has not been completed (S104: no), it is determined again whether or not writing to the primary storage unit 113 is possible (return to S102).

1次記憶手段113がメモリフルである場合(S102:no)は、内部2次記憶手段114への書き込みが可能か否かを判定する前に、現在の処理状態を確認する(S105)。このS105の処理では、次の処理へ移行する条件として、現在電子ソート中であってそのデータを書き込もうとしているか、または電子ソートデータが既に1次記憶手段113に書き込まれているかを判定する。すなわち、S105の処理によって1次記憶手段113のメモリフルの要因が電子ソートによるものか否かを確認することによって、内部2次記憶手段114へのアクセスを判定するものである。   When the primary storage unit 113 is full of memory (S102: no), the current processing state is confirmed before determining whether or not writing to the internal secondary storage unit 114 is possible (S105). In the process of S105, as a condition for shifting to the next process, it is determined whether the electronic sort is being performed and the data is to be written, or whether the electronic sort data has already been written to the primary storage unit 113. That is, the access to the internal secondary storage unit 114 is determined by checking whether or not the cause of the memory full in the primary storage unit 113 is due to the electronic sort by the process of S105.

S105がyesの場合、先ず、内部2次記憶手段114に書き込みが可能かどうかを判定する(S106)。   If S105 is yes, it is first determined whether or not writing to the internal secondary storage unit 114 is possible (S106).

内部2次記憶手段114に書き込みが可能である場合(S106:yes)は、内部2次記憶手段114の空き領域へ、1次記憶手段113に書き込みできなかった印刷データを書き込む処理を実行する(S107)。書き込み後は、全ての印刷データの書き込みが完了したかを判定する(S104)。   If writing to the internal secondary storage unit 114 is possible (S106: yes), a process of writing the print data that could not be written to the primary storage unit 113 to the free area of the internal secondary storage unit 114 is executed ( S107). After writing, it is determined whether writing of all print data has been completed (S104).

一方、内部2次記憶手段114に書き込みが不可である場合(S106:no)は、外部2次記憶手段102に書き込みが可能かどうかを判定する(S108)。   On the other hand, if writing to the internal secondary storage unit 114 is impossible (S106: no), it is determined whether writing to the external secondary storage unit 102 is possible (S108).

外部2次記憶手段102に書き込みが可能である場合(S108:yes)は、外部2次記憶手段102の空き領域へ、1次記憶手段113、内部2次記憶手段114に書き込みできなかった印刷データを書き込む処理を実行する(S109)。書き込み後は、全ての印刷データの書き込みが完了したかを判定する(S104)。   If writing to the external secondary storage unit 102 is possible (S108: yes), the print data that could not be written to the primary storage unit 113 and the internal secondary storage unit 114 to the free area of the external secondary storage unit 102 Is executed (S109). After writing, it is determined whether writing of all print data has been completed (S104).

一方、外部2次記憶手段102にも書き込みが不可である場合(S108:no)は、いずれの記憶手段にも書き込み処理ができないこととなるため、要求元へエラーを返す処理を行った後(S110:書込み不可通知)、処理は終了する(S111)。   On the other hand, when writing to the external secondary storage unit 102 is impossible (S108: no), writing processing cannot be performed to any storage unit, and therefore processing for returning an error to the request source is performed ( S110: Write impossible notification), the process ends (S111).

次に、記憶手段の切り替え時の各制御について説明する。図4は、記憶手段の切り替え時の説明図である。記憶手段への印刷データの書込み要求(関数:fwrite())は、先ず、全てフロントエンドのファイルシステムI/F120で一括して受け付ける。   Next, each control at the time of switching the storage means will be described. FIG. 4 is an explanatory diagram when the storage means is switched. The print data write request (function: fwrite ()) to the storage means is first received all at once by the file system I / F 120 of the front end.

また、図5は、記憶手段の切り替え時の状態遷移の説明図である。図5に示すように、1次記憶手段113に空き領域がある場合は「通常書込みモード」が選択され、1次記憶手段113がメモリフルである場合は「リカバリ書き込みモード」が選択される。なお、上述のように、書き込み要求に対しては、1次記憶手段113が優先して書き込み対象となるデバイスである。また、2次記憶手段は、1次記憶手段113がメモリフルの時に読み書き先として選定されるデバイスである。   FIG. 5 is an explanatory diagram of the state transition at the time of switching the storage means. As shown in FIG. 5, the “normal write mode” is selected when the primary storage unit 113 has an empty area, and the “recovery write mode” is selected when the primary storage unit 113 is full of memory. Note that, as described above, the primary storage unit 113 is a device to which writing is prioritized for a write request. The secondary storage means is a device selected as a read / write destination when the primary storage means 113 is full.

フロントエンドのファイルシステムI/F120は、フロントエンドの特性を有し、いずれの記憶手段に対しての書き込みであるかの指定は受けず、ファイルシステム内部(バックエンド)で空き領域のある適切な記憶手段を選定して保存を実施する。すなわち、ユーザはGUIなどで印刷データのソートの実行を選択するのみであって、記憶手段の選定についての選択は実行しない。これにより、ユーザに選択の手間をかけることなく記憶手段の選択を実行することが可能である。   The front-end file system I / F 120 has the characteristics of a front-end, does not receive designation as to which storage means data is written, and has an appropriate space area in the file system (back end). Select storage means and save. That is, the user only selects execution of print data sorting using a GUI or the like, and does not execute selection regarding selection of storage means. As a result, it is possible to execute selection of the storage means without requiring the user to select.

具体的には、例えば、ファイルシステムは、共通のI/Fとなる関数:fwrite()などを外部公開し、書き込み要求は全て本関数で実施する。また、選択されたモードに応じてファイルシステム内部で関数名を変換する。例えば、「通常書き込みモード」では、関数fwrite()を関数fwrite_ram()などとし、「リカバリ書き込みモード」では、関数fwrite()を関数fwrite_nand()などとして書き込み要求先を決定するものである。   Specifically, for example, the file system externally discloses a common I / F function: fwrite () and the like, and all write requests are executed by this function. Also, function names are converted inside the file system according to the selected mode. For example, in the “normal write mode”, the function fwrite () is set to the function fwrite_ram () or the like, and in the “recovery write mode”, the function fwrite () is set to the function fwrite_nand () or the like to determine the write request destination.

図6は、記憶手段の切り替え時の印刷データの関連付けについての処理を示すフローチャートである。印刷データが2以上の記憶手段(1次記憶手段、2次記憶手段)に書き込まれる場合、記憶手段間でのデータの連続性を保つために関連付け処理を行う必要がある。   FIG. 6 is a flowchart showing a process for associating print data when the storage means is switched. When print data is written in two or more storage means (primary storage means, secondary storage means), it is necessary to perform an association process in order to maintain data continuity between the storage means.

先ず、1次記憶手段113がメモリフルとなり、2次記憶手段への書き込みが要求、確定された場合に以下の処理が実行される(S201)。次いで、連続データを書き込み中であったか否かを判定する(S202)。   First, when the primary storage unit 113 is full and the writing to the secondary storage unit is requested and confirmed, the following processing is executed (S201). Next, it is determined whether continuous data is being written (S202).

ここで、連続データを書き込み中であった場合(S202:yes)、リスト構造に1次記憶手段113の最後のデータと2次記憶手段の先頭のデータの関連付けを登録することで、データの連続性を保つものである(S203)。一方、S202において、連続データを書き込み中でなく(S202:no)、1次記憶手段113と2次記憶手段との関連付けが必要ない場合は、S204に移行する。   Here, when continuous data is being written (S202: yes), the association of the last data of the primary storage unit 113 and the top data of the secondary storage unit is registered in the list structure, so that the data (S203). On the other hand, if the continuous data is not being written in S202 (S202: no), and the association between the primary storage unit 113 and the secondary storage unit is not necessary, the process proceeds to S204.

次いで、アクセスするメモリアドレスを2次記憶手段の先頭アドレスに切り替えて(S204)、2次記憶手段へのデータ書き込み処理へ移行するものである(S205)。以上の処理により、1次、2次記憶手段間でのデータの連続性を保つことができる。   Next, the memory address to be accessed is switched to the head address of the secondary storage means (S204), and the process proceeds to data writing processing to the secondary storage means (S205). With the above processing, continuity of data between the primary and secondary storage means can be maintained.

以上説明した本実施形態に係る画像形成装置は、電子ソートの実行時における1次メモリのメモリフル時において、他の用途で使用している装置内のNAND型フラッシュメモリなどの不揮発性メモリの空き領域を2次メモリとして使用するものである。よって、専用の記憶手段を設けることがないため、コストアップをすることなく、簡易な構成により、電子ソート実施時における1次メモリのオーバーフローを防止することができる。   In the image forming apparatus according to the present embodiment described above, when the memory of the primary memory is full at the time of executing the electronic sort, a non-volatile memory such as a NAND flash memory in the apparatus used for other purposes is available. The area is used as a secondary memory. Therefore, since no dedicated storage means is provided, the primary memory can be prevented from overflowing when the electronic sort is performed with a simple configuration without increasing the cost.

すなわち、電子ソートの実施時におけるオーバーフローの発生頻度は低いという特性に着目して、2次メモリとして1次メモリよりも書き込み速度が遅く、書き込み回数制限があり、大容量の不揮発性メモリの空き領域を使用することにより、コストアップを抑えながら通常処理に影響を及ぼすことなく、メモリ資源を効率的に利用することが可能となる。   That is, paying attention to the characteristic that the frequency of occurrence of overflow during electronic sort is low, the secondary memory has a slower write speed than the primary memory, has a limited number of writes, and has a free space in a large-capacity nonvolatile memory. By using, memory resources can be efficiently used without affecting normal processing while suppressing an increase in cost.

なお、ここまで説明した画像形成装置による電子ソート時の制御は、プログラム(画像形成装置の制御プログラム)で実行することもできる。当該画像形成装置の制御プログラムは、例えばインターネット上からのダウンロードによって提供し、画像形成装置100にインストールすることも好ましい。また、画像形成装置の制御プログラムを画像形成装置100で実行可能に記録した記録媒体の態様にも適用される。   The control at the time of electronic sorting by the image forming apparatus described so far can also be executed by a program (control program for the image forming apparatus). It is also preferable that the control program for the image forming apparatus is provided by, for example, downloading from the Internet and installed in the image forming apparatus 100. Further, the present invention is also applied to an aspect of a recording medium in which a control program for the image forming apparatus is recorded so as to be executable by the image forming apparatus 100.

尚、上述の実施形態は本発明の好適な実施の例ではあるがこれに限定されるものではなく、本発明の要旨を逸脱しない範囲において種々変形実施可能である。   The above-described embodiment is a preferred embodiment of the present invention, but is not limited thereto, and various modifications can be made without departing from the gist of the present invention.

100 画像形成装置
101 原稿
102 外部2次記憶手段
103 印刷データ
104 画像読取り部
105 電子ソート部
106 印刷制御部
107 エンジン部
110 主制御部
111 CPU
112 メモリ管理部
113 1次記憶手段
114 内部2次記憶手段
120 フロントエンドのファイルシステムI/F
200 パーソナルコンピュータ
201 ケーブル
300 画像形成システム
DESCRIPTION OF SYMBOLS 100 Image forming apparatus 101 Document 102 External secondary storage means 103 Print data 104 Image reading unit 105 Electronic sort unit 106 Print control unit 107 Engine unit 110 Main control unit 111 CPU
112 Memory management unit 113 Primary storage unit 114 Internal secondary storage unit 120 Front-end file system I / F
200 Personal Computer 201 Cable 300 Image Forming System

特開平11−46273号公報JP 11-46273 A

Claims (9)

電子ソート処理の実行時に印刷データを一時的に記憶する1次記憶手段と、
電子ソート処理以外の処理の実行時に用いられる不揮発性の記憶手段であって、前記1次記憶手段よりも記憶容量が多いとともに、前記1次記憶手段よりも書き込み速度が遅い内部2次記憶手段と、を備えた画像形成装置において、
電子ソート処理の実行時に前記1次記憶手段がメモリフルとなった場合に、前記内部2次記憶手段へ印刷データを一時的に記憶させる制御手段を備えることを特徴とする画像形成装置。
Primary storage means for temporarily storing print data during execution of the electronic sort process;
Non-volatile storage means used during execution of processing other than electronic sort processing, an internal secondary storage means having a storage capacity larger than that of the primary storage means and a writing speed slower than that of the primary storage means; In an image forming apparatus comprising:
An image forming apparatus comprising: control means for temporarily storing print data in the internal secondary storage means when the primary storage means becomes full when electronic sort processing is executed.
前記制御手段は、前記1次記憶手段が電子ソート処理に起因してメモリフルとなったか否かを判断し、電子ソート処理に起因してメモリフルとなった場合に、前記内部2次記憶手段へ印刷データを一時的に記憶させることを特徴とする請求項1に記載の画像形成装置。   The control means determines whether or not the primary storage means is memory full due to the electronic sort process, and when the memory becomes full due to the electronic sort process, the internal secondary storage means The image forming apparatus according to claim 1, wherein the print data is temporarily stored. 外部接続端子を介して外部2次記憶手段が接続され、
前記制御手段は、前記内部2次記憶手段がメモリフルである場合は、前記外部2次記憶手段に印刷データを一時的に記憶させることを特徴とする請求項1または2に記載の画像形成装置。
An external secondary storage means is connected via an external connection terminal;
The image forming apparatus according to claim 1, wherein the control unit temporarily stores print data in the external secondary storage unit when the internal secondary storage unit is full. .
前記内部2次記憶手段は、NAND型フラッシュメモリ、NOR型フラッシュメモリ、EEPROMのいずれかであることを特徴とする請求項1から3までのいずれかに記載の画像形成装置。   4. The image forming apparatus according to claim 1, wherein the internal secondary storage unit is one of a NAND flash memory, a NOR flash memory, and an EEPROM. 前記外部2次記憶手段は、SDメモリーカード、USBメモリ、ハードディスクドライブのいずれかであることを特徴とする請求項3に記載の画像形成装置。   The image forming apparatus according to claim 3, wherein the external secondary storage unit is one of an SD memory card, a USB memory, and a hard disk drive. 電子ソート処理の実行をユーザに選択可能とし、
前記制御手段は、前記1次記憶手段がメモリフルであるか否かに応じて、印刷データを記憶する記憶手段を選択することを特徴とする請求項1から5までのいずれかに記載の画像形成装置。
The user can select to execute the electronic sort process,
The image according to any one of claims 1 to 5, wherein the control means selects a storage means for storing print data depending on whether or not the primary storage means is memory full. Forming equipment.
前記制御手段は、印刷データの記憶先を、前記1次記憶手段から前記内部または外部2次記憶手段への切り替える際、前記1次記憶手段へ記憶させた最後のデータと前記内部または外部2次記憶手段へ記憶される先頭のデータとを関連付けることを特徴とする請求項1から6までのいずれかに記載の画像形成装置。   When the print data storage destination is switched from the primary storage unit to the internal or external secondary storage unit, the control unit stores the last data stored in the primary storage unit and the internal or external secondary storage unit. 7. The image forming apparatus according to claim 1, wherein the first data stored in the storage unit is associated with the image forming apparatus. 電子ソート処理の実行時に印刷データを一時的に記憶する1次記憶手段と、
電子ソート処理以外の処理の実行時に用いられる不揮発性の記憶手段であって、前記1次記憶手段よりも記憶容量が多いとともに、前記1次記憶手段よりも書き込み速度が遅い内部2次記憶手段と、を備えた画像形成装置の制御方法において、
電子ソート処理の実行時に前記1次記憶手段がメモリフルとなった場合に、前記内部2次記憶手段へ印刷データを一時的に記憶させるようにしたことを特徴とする画像形成装置の制御方法。
Primary storage means for temporarily storing print data during execution of the electronic sort process;
Non-volatile storage means used during execution of processing other than electronic sort processing, an internal secondary storage means having a storage capacity larger than that of the primary storage means and a writing speed slower than that of the primary storage means; In a method for controlling an image forming apparatus comprising:
A control method for an image forming apparatus, characterized in that print data is temporarily stored in said internal secondary storage means when said primary storage means becomes full when electronic sort processing is executed.
電子ソート処理の実行時に印刷データを一時的に記憶する1次記憶手段と、
電子ソート処理以外の処理の実行時に用いられる不揮発性の記憶手段であって、前記1次記憶手段よりも記憶容量が多いとともに、前記1次記憶手段よりも書き込み速度が遅い内部2次記憶手段と、を備えた画像形成装置の制御プログラムであって、
電子ソート処理の実行時に前記1次記憶手段がメモリフルとなった場合に、前記内部2次記憶手段へ印刷データを一時的に記憶させる処理を実行させることを特徴とする画像形成装置の制御プログラム。
Primary storage means for temporarily storing print data during execution of the electronic sort process;
Non-volatile storage means used during execution of processing other than electronic sort processing, an internal secondary storage means having a storage capacity larger than that of the primary storage means and a writing speed slower than that of the primary storage means; A control program for an image forming apparatus comprising:
A control program for an image forming apparatus, wherein when the primary storage unit becomes full when electronic sort processing is executed, a process for temporarily storing print data in the internal secondary storage unit is executed. .
JP2014007454A 2014-01-20 2014-01-20 Image forming apparatus, control method of image forming apparatus, and control program of image forming apparatus Pending JP2015136080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014007454A JP2015136080A (en) 2014-01-20 2014-01-20 Image forming apparatus, control method of image forming apparatus, and control program of image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014007454A JP2015136080A (en) 2014-01-20 2014-01-20 Image forming apparatus, control method of image forming apparatus, and control program of image forming apparatus

Publications (1)

Publication Number Publication Date
JP2015136080A true JP2015136080A (en) 2015-07-27

Family

ID=53767664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014007454A Pending JP2015136080A (en) 2014-01-20 2014-01-20 Image forming apparatus, control method of image forming apparatus, and control program of image forming apparatus

Country Status (1)

Country Link
JP (1) JP2015136080A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019180004A (en) * 2018-03-30 2019-10-17 キヤノン株式会社 Recording apparatus, recording method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019180004A (en) * 2018-03-30 2019-10-17 キヤノン株式会社 Recording apparatus, recording method, and program

Similar Documents

Publication Publication Date Title
JP4848330B2 (en) Image forming apparatus, image forming method, and program
US20150134892A1 (en) Information processing apparatus, method of controlling the same, and storage medium
JP5823427B2 (en) Image forming apparatus
JP2015136080A (en) Image forming apparatus, control method of image forming apparatus, and control program of image forming apparatus
JP5181911B2 (en) Image forming apparatus, memory management method, and memory management program
JP2014124925A (en) Image processing apparatus
JP4419963B2 (en) Image processing apparatus and image processing system
JP5625888B2 (en) Semiconductor storage medium control apparatus, semiconductor storage medium control method, and image forming apparatus.
JP7158656B2 (en) Image forming apparatus, image forming method and image forming program
US10956090B2 (en) Memory system and electronic apparatus
JP5589582B2 (en) Image processing apparatus and program
JP2020116848A (en) Recording device, control method and program
JP6268840B2 (en) Image forming apparatus, image forming control method, and image forming control program
JP7414101B2 (en) Image processing device
JP2014138265A (en) Image forming apparatus
US11652943B2 (en) Image processing apparatus for writing data based on write lifetime of memories and non-transitory computer readable medium
JP2018187869A (en) Image formation apparatus
JP2018122463A (en) Image formation apparatus, image formation method and program of image formation apparatus
JP7472499B2 (en) Image forming device
JP4678606B2 (en) Printing device
JP7200625B2 (en) IMAGE FORMING APPARATUS AND IMAGE FORMING APPARATUS CONTROL PROGRAM
JP6938418B2 (en) Recording device, recording method, and program
JP2010152490A (en) Image forming system, image forming apparatus and printer driver
JP4678607B2 (en) Printing device
US20030202208A1 (en) System and method for managing storage of data in printing devices