JP4890220B2 - Image forming apparatus and data storage method in image forming apparatus - Google Patents
Image forming apparatus and data storage method in image forming apparatus Download PDFInfo
- Publication number
- JP4890220B2 JP4890220B2 JP2006329677A JP2006329677A JP4890220B2 JP 4890220 B2 JP4890220 B2 JP 4890220B2 JP 2006329677 A JP2006329677 A JP 2006329677A JP 2006329677 A JP2006329677 A JP 2006329677A JP 4890220 B2 JP4890220 B2 JP 4890220B2
- Authority
- JP
- Japan
- Prior art keywords
- storage area
- forming apparatus
- image
- image forming
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Facsimiles In General (AREA)
- Storing Facsimile Image Data (AREA)
Description
本発明は、画像形成装置及び画像形成装置におけるデータ記憶方法に関する。 The present invention relates to an image forming apparatus and a data storage method in the image forming apparatus.
従来、コピー機などの画像形成装置において、複数枚の原稿を処理する機能(例えば、ソート機能など)を実現するためには、複数枚分の画像データを蓄積する記憶容量が必要である。ところが、HDD等の大容量の記憶装置を持たない記憶容量の小さい画像形成装置においては、蓄積枚数が限られてしまい、原稿読み取りの途中で容量オーバーになってしまい、画像形成が中断されてしまう。そのため、ソート機能のような機能を効果的に実現することができない。つまり、読み取っておきながら、結局ユーザの要求を満たせない場合(全ての原稿をソート対応できない、など)が発生するという問題があった。 Conventionally, in an image forming apparatus such as a copying machine, in order to realize a function of processing a plurality of documents (for example, a sorting function), a storage capacity for storing a plurality of image data is required. However, in an image forming apparatus with a small storage capacity that does not have a large-capacity storage device such as an HDD, the number of stored images is limited, and the capacity is exceeded during document reading, and image formation is interrupted. . Therefore, a function such as a sort function cannot be effectively realized. In other words, there is a problem that a case where the user's request cannot be satisfied in the end while reading (all originals cannot be sorted, etc.) occurs.
このようなことから、従来、記憶容量の小さい画像形成装置において、記憶容量の使用の効率化を目的とする種々の発明がなされている。 For this reason, various inventions have been made for the purpose of improving the use efficiency of storage capacity in image forming apparatuses having a small storage capacity.
特許文献1には、検出したメモリ残量と第1、2及び3の閾値とを比較し、残量が第1の閾値に達すると画像情報を排出させ、第2の閾値に達すると画像蓄積を中断させ、再度第2の閾値を上回ると画像蓄積を再開させ、残量が第3の閾値に達すると画像蓄積を中止させる通信端末装置に係る技術が開示されている。
しかしながら、特許文献1に開示された発明では、メモリ残量と予め設定された閾値との比較のみで画像情報の蓄積の可否を判断しているため、読み取られた画像情報が実際にはメモリ残量よりも小さく蓄積可能な場合であっても、画像の蓄積が中止されてしまいメモリフルが発生するという問題があった。
However, in the invention disclosed in
本発明は、上記の点に鑑みて、この問題を解消するために発明されたものであり、メモリフルの発生を軽減し、効率良くデータを蓄積することができる画像形成装置及び画像形成装置におけるデータ記憶方法を提供することを目的とする。 The present invention has been invented in order to solve this problem in view of the above points. In an image forming apparatus and an image forming apparatus capable of reducing the occurrence of memory full and efficiently storing data. An object is to provide a data storage method.
上記の目的を達成するために、本発明の画像形成装置は、画像を記憶する画像データ記憶手段と、前記画像データ記憶手段において前記画像を記憶する場合、予め所定の記憶領域を確保する記憶領域確保手段と、時間を計測する時間計測手段とを備えた画像形成装置であって、前記記憶領域確保手段が前記所定の記憶領域を確保できなかった場合、前記時間計測手段は時間の計測を開始して所定時間の経過を計測したとき、前記記憶領域確保手段は、再度前記所定の記憶領域を確保する処理を行うように構成することができる。 In order to achieve the above object, an image forming apparatus according to the present invention includes an image data storage unit that stores an image, and a storage area that secures a predetermined storage area in advance when storing the image in the image data storage unit. An image forming apparatus including a securing unit and a time measuring unit for measuring time, and when the storage area securing unit cannot secure the predetermined storage area, the time measuring unit starts measuring time When the elapse of the predetermined time is measured, the storage area securing unit can be configured to perform the process of securing the predetermined storage area again.
また、上記の目的を達成するために、本発明の画像形成装置は、画像を記憶する画像データ記憶手段と、前記画像データ記憶手段において前記画像を記憶する場合、予め所定の記憶領域を確保する記憶領域確保手段と、前記画像データ記憶手段の空き領域を検出する空き領域検出手段と、前記空き領域検出手段により検出された空き領域が所定の値より大きいか否かを判断する空き領域判断手段とを備えた画像形成装置であって、前記記憶領域確保手段が前記所定の記憶領域を確保できなかった場合、前記空き領域判断手段により前記空き領域が所定の値より大きいと判断されたとき、前記記憶領域確保手段は、再度所定の記憶領域を確保する処理を行うように構成することができる。 In order to achieve the above object, the image forming apparatus of the present invention secures a predetermined storage area in advance when storing the image in the image data storage means for storing the image and the image data storage means. A storage area securing means; a free area detection means for detecting a free area in the image data storage means; and a free area determination means for determining whether or not the free area detected by the free area detection means is greater than a predetermined value. When the storage area securing unit cannot secure the predetermined storage area, the free area determining unit determines that the free area is larger than a predetermined value. The storage area securing means can be configured to perform a process of securing a predetermined storage area again.
また、上記の目的を達成するために、本発明のデータ記憶方法は、画像を記憶する画像データ記憶部を備えた画像形成装置におけるデータ記憶方法であって、前記画像データ記憶部において前記画像を記憶する場合、予め所定の記憶領域を確保する記憶領域確保工程と、時間を計測する時間計測工程とを有し、前記記憶領域確保工程において前記所定の記憶領域を確保できなかった場合、前記時間計測工程は、時間の計測を開始して所定の時間の経過を計測したとき、前記記憶領域確保工程は、再度前記所定の記憶領域を確保する処理を行うように構成することができる。 In order to achieve the above object, a data storage method of the present invention is a data storage method in an image forming apparatus including an image data storage unit for storing an image, wherein the image data storage unit stores the image in the image data storage unit. In the case of storing, it has a storage area securing step for securing a predetermined storage area in advance and a time measuring step for measuring time, and if the predetermined storage area cannot be secured in the storage area securing step, the time The measurement step can be configured to perform the process of reserving the predetermined storage area again when the measurement of the time is started and the passage of the predetermined time is measured.
また、上記の目的を達成するために、本発明のデータ記憶方法は、画像を記憶する画像データ記憶部を備えた画像形成装置におけるデータ記憶方法であって、前記画像データ記憶部において前記画像を記憶する場合、予め所定の記憶領域を確保する記憶領域確保工程と、前記画像データ記憶部の空き領域を検出する空き領域検出工程と、前記空き領域検出工程において検出された空き領域が所定の値より大きいか否かを判断する空き領域判断工程とを有し、前記記憶領域確保工程において前記所定の記憶領域を確保できなかった場合、前記空き領域判断工程において前記空き領域が所定の値より大きいと判断されたとき、前記記憶領域確保工程は、再度所定の記憶領域を確保する処理を行うように構成することができる。 In order to achieve the above object, a data storage method of the present invention is a data storage method in an image forming apparatus including an image data storage unit for storing an image, wherein the image data storage unit stores the image in the image data storage unit. When storing, a storage area securing step for securing a predetermined storage area in advance, a free area detection step for detecting a free area in the image data storage unit, and a free area detected in the free area detection step A free area determining step for determining whether or not the free area is larger, and if the predetermined storage area cannot be secured in the storage area securing step, the free area is larger than a predetermined value in the free area judging step. If it is determined, the storage area securing step can be configured to perform a process of securing a predetermined storage area again.
本発明の画像形成装置及び画像形成装置におけるデータ記憶方法によれば、メモリフルの発生を軽減し、効率良くデータを蓄積することができる。 According to the image forming apparatus and the data storage method in the image forming apparatus of the present invention, occurrence of memory full can be reduced and data can be efficiently stored.
以下、本発明の実施形態を図面に基づき説明する。なお、本実施形態では画像形成装置の一例としてプリンタを例に説明をするが、他の画像形成装置であってもよい。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the present embodiment, a printer is described as an example of an image forming apparatus, but another image forming apparatus may be used.
[実施形態]
(装置の概要)
まず、本実施形態に係る画像形成装置の概要について図1を用いて説明する。図1は、本実施形態に係る画像形成装置の一例であるプリンタ1の構成例を示す図である。図1においてプリンタ1は、入力部10、操作部20、記憶部30、制御部40、出力部50により構成される。
[Embodiment]
(Outline of the device)
First, an outline of the image forming apparatus according to the present embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating a configuration example of a
入力部10は、画像形成に係る画像の入力を行う装置である。後述のスキャナエンジン11、NCU12、FAX制御部13、ホストI/F制御部14等により構成される。スキャナエンジン11は、コピー、スキャナ機能を有する原稿の入力するための装置である。
The
NCU12は、一般公衆回線へプリンタ1を接続する装置である。例えば、プリンタ1がFAX機能を有する場合には、プリンタ1はNCU12を介して原稿をFAX受信する。受信したFAXデータ(通常、符号化されている)は、後述のFAX制御部13により復号等の処理を施される。
The NCU 12 is a device that connects the
FAX制御部13は、NCU12から受信した印刷データの復号などを行う。ホストI/F制御部14は、例えば、外部ホスト機器2からの印刷データを受信する。I/Fの種類としてはIEEE1284、USB等のローカル接続や有線、無線によるイーサネット(登録商標)等のネットワーク接続がある。
The
操作部20は、プリンタ1を操作するためのボタンやプリンタ1の状態表示のためのインジケーター(LEDやLCD等の表示器、スピーカー等)等、機器操作者とのマンマシンインターフェース部である。後述の操作部I/F制御部21を介して情報入出力が行われる。操作部I/F制御部21は、操作部20における情報入出力の制御を行う。
The
記憶部30は、画像データ等のデータを記憶する装置である。後述のRAM31、RAM制御部32などにより構成される。RAM31は、CPU41及び各制御部で処理するデータを一時保存するための記憶装置である。データとは、例えば、画像データ、種々のアプリケーションプログラムなどである。RAM制御部32は、RAM31の制御を行う。
The
制御部40は、プリンタ1を制御する装置である。後述のCPU41、ROM42、NVRAM43等により構成される。CPU41は、RAM31及び後述のROM42に記憶された制御プログラムに従ってプリンタ1全体を制御する装置である。ROM42は、プリンタ1を制御するプログラムを格納する装置である。複数個搭載することで処理性能を向上させてもよい。NVRAM43は、不揮発性メモリである。機器固有の情報、例えばコピー枚数のカウンタ値等を保持する用途に使われる。
The
出力部50は、画像形成されたものを出力する装置である。後述のプリンタエンジン51等により構成される。プリンタエンジン51は、印刷出力するための装置である。レーザー方式、LED方式、インクジェット方式等の作像方式がある。
The
以上の装置構成により、プリンタ1では、入力部10により入力された画像データは、記憶部30に記憶される。記憶部30に記憶された画像データは、出力部50により出力される。また、本実施形態では、記憶部30(特にRAM31)において画像データを記憶するための蓄積領域の確保(メモリ確保と同意義)に係る動作に特徴をもつ。その特徴とは、蓄積領域の確保に失敗したとき、時間を待つ、空き領域のチェックを行う等の処理を行った後、再度蓄積領域の確保を実施することである。これを実現するためのプリンタ1の機能の構成について次に説明を行う。
With the above apparatus configuration, in the
なお、蓄積領域の確保に失敗したとき、蓄積領域の確保のリトライを実施するまでに行う動作は、時間を待つ、空き領域のチェックを行う以外の動作であってもよいものとする。 It should be noted that when the storage area securing fails, the operation performed until the storage area securing retry is performed may be an operation other than waiting for time and checking the free area.
(機能の構成)
次に、本実施形態に係る画像形成装置1の機能の構成について図2を用いて説明する。図2は、本実施形態に係る画像形成装置1の機能ブロック図の例を示す図である。
(Function structure)
Next, the functional configuration of the
図2において、プリンタ1は、読み取り手段100、読み取り制御手段110、表示手段200、画像データ記憶手段300、データ蓄積制御手段310、全体制御手段400、出力手段500、出力制御手段510を有する。また、データ蓄積制御手段310は、空容量検出手段311、空容量判断手段312、記憶領域確保手段313、読み書き制御手段314を有する。
In FIG. 2, the
読み取り手段100は、画像を読み取る。例えば、スキャナエンジン11等である。読み取り制御手段110は、読み取り手段100の制御を行う。表示手段200は、画面表示を行う。例えば、操作部20であり、プリンタ1が備えたディスプレイである。ユーザが操作を行うマンマシンインターフェース部としての機能ももつ。
The
画像データ記憶手段300は、読み取り手段100により読み取られた画像を画像データとして記憶する。例えば、RAM31等である。データ蓄積制御手段310は、後述の空容量検出手段311、空容量判断手段312、記憶領域確保手段313、読み書き制御手段314等により、画像データ記憶手段300において画像を蓄積するための記憶領域の確保等を管理する。例えば、RAM制御部32等である。
The image
空容量検出手段311は、画像データ記憶手段300の記憶領域の空容量を検出する。空容量判断手段312は、空容量検出手段311により検出された記憶領域の空容量が所定の値以上であるか否かを判断する。これにより、メモリフルを検出する。記憶領域確保手段313は、画像データ記憶手段300において画像を蓄積するための記憶領域を確保する。読み書き制御手段314は、画像データ記憶手段300への画像データの読み書き等を制御する。
The free
全体制御手段400は、プリンタ1におけるシステム全体の制御を行う。例えば、CPU41、操作部20、ホストI/F制御部14、FAX制御部13等の制御を行う。時間計測手段401は、時間を計測する。例えば、CPU41が実施する処理であり、計測された時間はRAM31に記憶される。CPU41による計測とRAM31に記憶された時間データとの比較により時間経過を知ることができる。
The
出力手段500は、画像データ記憶手段300に記憶された画像データ等を出力する。例えば、プリンタエンジン51等である。出力制御手段511は、出力手段500の制御を行う。
The
以上の機能の構成により、プリンタ1では、読み取り手段100により読み取られた画像は、画像データ記憶手段300に画像データとして記憶される。画像データ記憶手段300に記憶された画像データは、出力手段500により出力される。また、本実施形態に係るプリンタ1では、画像データ記憶手段300において画像データを記憶するための蓄積領域の確保に係るデータ蓄積制御手段310及び全体制御手段400等の動作に特徴をもつ。その特徴とは、蓄積領域の確保に失敗したとき、時間を待つ、空き領域のチェックを行う等の処理を行った後、再度蓄積領域の確保を実施することである。
With the configuration of the functions described above, in the
以降、まず、表示手段200の一例として操作部20、画像データ記憶手段300の一例としてRAM31についての説明を行った後、次に、本実施形態に係る画像形成装置1における動作例について説明を行う。
Hereinafter, first, the
(表示手段200の例)
次に、本実施形態に係る画像形成装置1における表示手段200の一例である操作部20について図3を用いて説明を行う。図3は、本実施形態に係る画像形成装置1の操作部20の例を示す図である。
(Example of display means 200)
Next, the
図3において、操作部20は、表示部302等を有する。表示部302は、文字列やビットマップを表示する。例えば、ディスプレイなどである。
In FIG. 3, the
テンキー303は、コピーの印刷部数の入力等の操作に用いられるボタンである。リセットキー304は、コピーモードのリセット時に使用するボタンである。スタートキー305は、コピーや原稿読み取りの開始を指示する操作に用いられるボタンである。アプリケーション切り替えキー306は、コピー機能、プリンタ機又はスキャナ機能等の機能を切り替える操作に用いられる。 A numeric keypad 303 is a button used for operations such as input of the number of copies to be printed. A reset key 304 is a button used when the copy mode is reset. A start key 305 is a button used for an operation to instruct the start of copying or document reading. An application switching key 306 is used for an operation of switching functions such as a copy function, a printer, or a scanner function.
クリアストップキー307は、コピー作業の中断やコピー枚数のリセット時に使用するボタンである。初期設定キー308は、コピー機能、プリンタ機能又はスキャナ機能等で使用する設定の初期値を設定する際に用いられるボタンである。選択キー309は、表示部302上に表示された機能を選択する際に使用する。 A clear stop key 307 is a button used when the copy operation is interrupted or the number of copies is reset. An initial setting key 308 is a button used when setting an initial value of a setting used for a copy function, a printer function, a scanner function, or the like. The selection key 309 is used when selecting a function displayed on the display unit 302.
以上の構成により、本実施形態に係る画像形成装置1における表示手段200では、表示部302により画面表示を行う。また、テンキー303〜初期設定キー308によりユーザが操作を行うマンマシンインターフェース部としての機能ももつ。
With the configuration described above, the
なお、本構成では、キーボードをハードキーで構成しているが、これは液晶タッチパネル上に表示されるソフトキーボードでも代用可能である。 In this configuration, the keyboard is configured with hard keys, but this can be replaced with a soft keyboard displayed on the liquid crystal touch panel.
(画像データ記憶手段300の例)
次に、本実施形態に係る画像形成装置1における画像データ記憶手段300の一例としてRAM31について図4を用いて説明を行う。図4は、本実施形態に係る画像形成装置1のRAM31の例を示す図である。
(Example of image data storage means 300)
Next, the
図4において、RAM31の領域は、プログラムデータ領域P、データ領域D、画像記憶領域Gを有する。プログラムデータ領域Pは、種々のアプリケーションプログラムを記憶する記憶領域である。データ領域Dは、画像形成装置1に係る各種設定条件やプログラム実行時の計算値などを記憶する。
In FIG. 4, the area of the
画像記憶領域Gは、画像データを記憶する記憶領域(蓄積領域に相当)である。例えば、読み取り手段100により読み取られた画像を画像データとして記憶する。また、図4の右側で示されるように、画像記憶領域Gにおいて、画像の記憶に使用可能な最大容量を蓄積可能最大容量Sa、既に記憶された画像データの全容量を蓄積画像データ容量ΣS、蓄積された各画像データの容量を画像データ量S、空き領域の容量をSeとする。なお、空き容量Seは、蓄積可能最大容量Saから蓄積画像データ容量ΣSを差し引いたものである。
The image storage area G is a storage area (corresponding to an accumulation area) for storing image data. For example, an image read by the
また、画像記憶領域Gにおいて記憶された画像データは、コピー、スキャナ等のアプリケーション機能、又は、画像の印刷や送信などの出力状態に応じて時間の経過と共に不要となり、前述のデータ蓄積制御部202により破棄される。このとき、画像データが記憶されていた蓄積領域は、空き領域となる。 Further, the image data stored in the image storage area G becomes unnecessary with the passage of time depending on application functions such as copying and scanning, or output states such as printing and transmission of images, and the data accumulation control unit 202 described above. Is discarded by. At this time, the storage area in which the image data has been stored becomes a free area.
また、画像記憶領域Gにおいて、一枚の原稿画像を画像データとして記憶するために確保する蓄積領域の容量をサイズ指定量Zとする。サイズ指定量Zは、画像データ量Sとは必ずしも一致するわけではない。例えば、圧縮データ等は、蓄積されて初めてそのサイズがわかるためである。なお、サイズ指定量Zは、画像形成装置1に係る解像度等の設定情報に従って一意に決定されるものであってよい。
In the image storage area G, the capacity of the storage area reserved for storing one original image as image data is defined as a size designation amount Z. The size designation amount Z does not necessarily match the image data amount S. For example, the size of compressed data or the like is not known until it is accumulated. Note that the size designation amount Z may be uniquely determined according to setting information such as resolution related to the
画像データの記憶において、記憶する前に予め画像記憶領域Gにおいて蓄積領域を確保する必要があり、その領域(確保領域Rとする)の容量は、図4で示されるようにサイズ指定量Zでも指定可能である。蓄積領域の確保を実施することにより、画像データを記憶する前にメモリフルを検出することが可能になる。 In storing image data, it is necessary to secure an accumulation area in the image storage area G in advance before storing, and the capacity of the area (referred to as secured area R) may be the size designation amount Z as shown in FIG. Can be specified. By securing the storage area, it becomes possible to detect memory full before storing image data.
(動作例1)
次に、本実施形態に係る画像形成装置1の第1の動作例について図5を用いて説明を行う。図5は、本実施形態に係る画像形成装置1の第1の動作例を示す動作フローである。ここでは、画像形成装置1において、画像データを蓄積する前の所定の値(ここではサイズ指定量Z)の蓄積領域の確保に失敗した場合、所定の時間T経過してから、再度蓄積領域を確保する処理を行うという動作を行う。
(Operation example 1)
Next, a first operation example of the
まず、記憶領域確保手段313は、サイズ指定量Zの蓄積領域の確保を行う(S101)。続いて、ステップS101の処理において蓄積領域の確保が失敗したとき、即ち、サイズ指定量Zの値が空容量Seより小さいとき(S102、YES)、ステップS103へ移る。ステップS101の処理において記憶領域の確保が成功したとき、即ち、サイズ指定量Zの値が空容量Seより大きいとき(S102、NO)、処理を終了する。 First, the storage area securing unit 313 secures an accumulation area of the size designation amount Z (S101). Subsequently, when securing of the storage area fails in the process of step S101, that is, when the value of the size designation amount Z is smaller than the free capacity Se (S102, YES), the process proceeds to step S103. When the storage area is successfully secured in the process of step S101, that is, when the value of the size designation amount Z is larger than the free capacity Se (S102, NO), the process ends.
ステップS103へ移った場合、時間計測手段401は、時間の計測を開始して所定時間Tの経過を計測する(S103)。続いてステップS104へ移って、記憶領域確保手段313は、再度、サイズZを指定して画像記憶領域Gにおいて蓄積領域の確保の処理を行う(S104)。
When the process proceeds to step S103, the
以上の処理により、動作例1に係る画像形成装置1では、画像データを蓄積する前の所定の値(ここではサイズ指定量Z)の蓄積領域の確保に失敗した場合、所定の時間T経過してから、再度蓄積領域を確保する処理を行う。
As a result of the above processing, in the
即ち、時間が経過すればプリンタエンジン51等のデータを出力する手段によりデータが出力され、データが破棄され、蓄積領域が空くシステム(コピーやスキャナ機能等)においては、蓄積領域の確保において失敗しても、リトライして蓄積領域を確保する処理を行う。そのため、所定の時間Tの経過とともに蓄積領域の確保の確率が高くなるため、効率よく蓄積領域の確保が実施でき、メモリフルの発生が軽減できる効果を奏する。
That is, in a system (such as a copy function or a scanner function) in which data is output by means of outputting data such as the
また、所定の時間Tは、予測又は計算される値であってもよい。効果的な所定の時間Tの設定により、より効率よく蓄積領域の確保を実施することができる。 Further, the predetermined time T may be a predicted or calculated value. By effectively setting the predetermined time T, the storage area can be more efficiently secured.
(動作例2)
次に、本実施形態に係る画像形成装置1の第2の動作例について図6を用いて説明を行う。図6は、本実施形態に係る画像形成装置1の第2の動作例を示す動作フローである。
(Operation example 2)
Next, a second operation example of the
動作例1では、画像形成装置1において、画像データを蓄積する前の所定の値(動作例1ではサイズ指定量Z)の蓄積領域の確保に失敗した場合、所定の時間T経過してから、再度蓄積領域を確保する処理を行うという動作を行う。ここでは、所定の時間T経過してからではなく、蓄積領域にある出力可能なデータがすべて破棄されてから、再度蓄積領域を確保する処理を行うという動作を行う。
In the first operation example, if the
図6を用いて動作例2に係る動作について詳細の説明を行うが、ステップS201、S202及びS204に係る処理は、動作例1に係るステップS101、S102及びS104と同様であるのでここでは説明を省略する。 The operation according to the operation example 2 will be described in detail with reference to FIG. 6, but the processes according to the steps S201, S202, and S204 are the same as the steps S101, S102, and S104 according to the operation example 1, and therefore the description is given here. Omitted.
ステップS203へ移った場合、各アプリケーションの機能(コピーやスキャナ機能)が実行されるとともに)、出力可能な蓄積画像データが破棄されて、全て空き領域になるまで待つ(S203)。 When the process proceeds to step S203, the function of each application (copying and scanner function) is executed), and the accumulated image data that can be output is discarded, and the process waits until all areas become free (S203).
以上の処理により、動作例2に係る画像形成装置1では、画像データを蓄積する前の所定の値(ここではサイズ指定量Z)の蓄積領域の確保に失敗した場合、蓄積領域にある出力可能なデータがすべて破棄されてから、再度蓄積領域を確保する処理を行うという動作を行う。
With the above processing, the
即ち、プリンタエンジン51等のデータを出力する手段によりデータが出力され、データが破棄され、蓄積領域が空くシステム(コピーやスキャナ機能等)においては、蓄積領域の確保において失敗しても、リトライして蓄積領域を確保する処理を行う。そのため、蓄積領域の破棄(メモリ領域の空き)状態とともに蓄積領域の確保の確率が高くなるため、効率よく蓄積領域の確保が実施でき、メモリフルの発生が軽減できる効果を奏する。
That is, in a system (such as a copy function or a scanner function) in which data is output by means of outputting data such as the
(動作例3)
次に、本実施形態に係る画像形成装置1の第3の動作例について図7を用いて説明を行う。図7は、本実施形態に係る画像形成装置1の第3の動作例を示す動作フローである。
(Operation example 3)
Next, a third operation example of the
動作例2では、画像形成装置1において、画像データを蓄積する前の所定の値(動作例2ではサイズ指定量Z)の蓄積領域の確保に失敗した場合、蓄積領域にある出力可能なデータがすべて破棄されてから、再度蓄積領域を確保する処理を行うという動作を行った。ここでは、必要な蓄積データの空き領域が破棄されてから(空いてから)、再度蓄積領域を確保する処理を行うという動作を行う。
In the operation example 2, when the
図7を用いて動作例3に係る動作について詳細の説明を行うが、ステップS301、S302及びS304に係る処理は、動作例1に係るステップS101、S102及びS104と同様であるのでここでは説明を省略する。 The operation according to the operation example 3 will be described in detail with reference to FIG. 7, but the processing according to the steps S301, S302, and S304 is the same as the steps S101, S102, and S104 according to the operation example 1, and therefore the description is given here. Omitted.
ステップS303へ移った場合、空き領域Seが指定されたサイズZより大きくなるまで、(各アプリケーションの機能(コピーやスキャナ機能)が実行され)、出力可能な蓄積画像データが破棄されて、必要とする空き領域になるまで待つ(S303)。なお、ここで必要とする空き領域とは、蓄積しようとするデータを蓄積するのに必要な空き領域を示している。この値は、ユーザが予め設定していてもよいし、解像度等の画像形成に係る設定情報に基づいて算出されるものであってもよい。 When the process proceeds to step S303, the accumulated image data that can be output is discarded until the free area Se becomes larger than the specified size Z (functions of each application (copy and scanner functions) are executed). The process waits until a free area is reached (S303). Note that the free space required here indicates a free space required to store data to be stored. This value may be set in advance by the user, or may be calculated based on setting information relating to image formation such as resolution.
以上の処理により、動作例3に係る画像形成装置1では、画像データを蓄積する前の所定の値(ここではサイズ指定量Z)の蓄積領域の確保に失敗した場合、必要な蓄積データの空き領域が破棄されてから、再度蓄積領域を確保する処理を行うという動作を行う。
As a result of the above processing, in the
即ち、プリンタエンジン51等のデータを出力する手段によりデータが出力され、データが破棄され、蓄積領域が空くシステム(コピーやスキャナ機能等)においては、蓄積領域の確保において失敗しても、リトライして蓄積領域を確保する処理を行う。そのため、蓄積領域の破棄(メモリ領域の空き)状態とともに蓄積領域の確保の確率が高くなるため、効率よく蓄積領域の確保が実施でき、メモリフルの発生が軽減できる効果を奏する。
That is, in a system (such as a copy function or a scanner function) in which data is output by means of outputting data such as the
(動作例4)
次に、本実施形態に係る画像形成装置1の第4の動作例について図8を用いて説明を行う。図8は、本実施形態に係る画像形成装置1の第1の動作例を示す動作フローである。
(Operation example 4)
Next, a fourth operation example of the
動作例1では、画像形成装置1において、画像データを蓄積する前の所定の値(動作例1ではサイズ指定量Z)の蓄積領域の確保に失敗した場合、所定の時間T経過してから、再度蓄積領域を確保する処理を行うという動作を行った。動作例2では、蓄積領域の確保に失敗した場合、蓄積領域にある出力可能なデータがすべて破棄されてから、再度蓄積領域を確保する処理を行うという動作を行った。
In the first operation example, if the
ここでは、蓄積領域の確保に失敗した場合、所定の時間経過してから、若しくは、蓄積領域にある出力可能なデータがすべて破棄されてから、再度蓄積流域を確保する処理を行うという動作を行う。 Here, when securing of the accumulation area fails, after a predetermined time has elapsed, or after all the data that can be output in the accumulation area has been discarded, the operation of securing the accumulation basin is performed again. .
図8を用いて動作例4に係る動作について詳細の説明を行うが、ステップS401、S402に係る処理は、動作例1に係るステップS101、S102と同様であるのでここでは説明を省略する。 The operation according to the operation example 4 will be described in detail with reference to FIG. 8, but the processes according to the steps S401 and S402 are the same as the steps S101 and S102 according to the operation example 1, and thus the description thereof is omitted here.
ステップS403へ移った場合、所定の時間Tを待つ、若しくは、出力可能な蓄積画像データが破棄されて空き領域になるまで待つ、若しくは、空き領域Seが指定されたサイズZより大きくなるまで待つ(S403)。続いてステップS404へ移って、記憶領域確保手段313は、蓄積領域Gにある空き容量Seすべての蓄積領域を確保する(S404)。 In step S403, the process waits for a predetermined time T, waits until the accumulated image data that can be output is discarded and becomes a free area, or waits until the free area Se becomes larger than the specified size Z ( S403). Subsequently, the process proceeds to step S404, and the storage area securing unit 313 secures all storage areas of the free capacity Se in the storage area G (S404).
以上の処理により、動作例4に係る画像形成装置1では、画像データを蓄積する前の所定の値(ここではサイズ指定量Z)の蓄積領域の確保に失敗した場合、所定の時間Tを待つ、若しくは、出力可能な蓄積画像データが破棄されて空き領域になるまで待つ、もしくは、空き領域Seが指定されたサイズZより大きくなるのを待つ等の動作を行った後、再度蓄積領域を確保する処理を行うという動作を行う。
With the above processing, the
即ち、サイズ指定で蓄積領域の確保が失敗した場合に、蓄積領域の確保のリトライ時はステップS404で示されるように確保可能で空いている蓄積領域すべてを確保することで、データを確保できる可能性が向上し、メモリフルの発生が軽減できる効果を奏する。 That is, if the storage area allocation fails due to the size specification, the data can be secured by securing all the free storage areas that can be secured as shown in step S404 when the storage area is retried. This improves the performance and reduces the occurrence of memory full.
例えば、実際に蓄積してみないとサイズがわからない圧縮データ等のデータの場合、サイズ指定量Zで指定された値の蓄積領域を確保した場合、本当はその指定サイズの蓄積領域は必要ない可能性があり、このような場合に有効である。 For example, in the case of data such as compressed data whose size cannot be known unless it is actually stored, if a storage area of the value specified by the size specification amount Z is secured, there is a possibility that the storage area of the specified size is not actually required This is effective in such cases.
以上、各動作例に基づき本発明の説明を行ってきたが、上記動作例にあげたその他の要素との組み合わせなど、ここで示した要件に本発明が限定されるものではない。これらの点に関しては、本発明の主旨をそこなわない範囲で変更することが可能であり、その応用形態に応じて適切に定めることができる。 The present invention has been described based on each operation example. However, the present invention is not limited to the requirements shown here, such as combinations with other elements listed in the above operation example. With respect to these points, the present invention can be changed within a range that does not detract from the gist of the present invention, and can be appropriately determined according to the application form.
1 画像形成装置
11 スキャナエンジン
30 記憶部
31 RAM
32 RAM制御部
100 読み取り手段
110 読み取り制御手段
200 表示手段
300 画像データ記憶手段
310 データ蓄積制御手段
311 空容量検出手段
312 空容量判断手段
313 記憶領域確保手段
314 読み書き制御手段
400 全体制御手段
401 時間計測手段
500 出力手段
510 出力制御手段
DESCRIPTION OF
32
Claims (10)
前記画像データ記憶手段において前記画像を記憶する場合、所定の記憶領域を確保する記憶領域確保手段と、
前記記憶領域確保手段が前記所定の記憶領域を確保できなかった場合、所定の条件を満たすと、前記記憶領域確保手段は、前記画像データ記憶手段の確保可能な全ての記憶領域を確保することを特徴とする画像形成装置。 Image data storage means for storing an image, and the storage area is gradually released over time ;
When storing the image in the image data storage means, a storage area securing means for securing the Jo Tokoro memory area,
If the pre-term memory area securing means could not secure a predetermined storage area, and the predetermined condition is satisfied, the storage area allocating unit, ensuring all the storage area can be secured in the image data storage means An image forming apparatus.
前記所定の条件とは、前記時間計測手段が、前記記憶領域確保手段が前記所定の記憶領域を確保できなかった時から所定時間の経過を計測したことを含むことを特徴とする請求項1記載の画像形成装置。2. The predetermined condition includes that the time measuring unit measures an elapse of a predetermined time since the storage area securing unit could not secure the predetermined storage area. Image forming apparatus.
前記所定の条件とは、前記空き領域検出手段が検出した空き領域の容量が、所定の容量より大きくなることを含むことを特徴とする請求項1〜3何れか1項に記載の画像形成装置。The image forming apparatus according to any one of claims 1 to 3, wherein the predetermined condition includes that a capacity of the free area detected by the free area detecting unit is larger than a predetermined capacity. .
前記画像データ記憶手段において前記画像を記憶する場合、所定の記憶領域を確保する記憶領域確保工程と、
前記記憶領域確保工程において前記所定の記憶領域を確保できなかった場合、所定の条件を満たすと、前記記憶領域確保工程では、前記画像データ記憶手段の確保可能な全ての記憶領域を確保することを特徴とするデータ記憶方法。 A data storage method in an image forming apparatus comprising an image data storage means for storing an image and gradually releasing a storage area as time passes ,
When storing the image in the image data storage means, a storage area allocation process to ensure Jo Tokoro memory area,
If unable to secure a predetermined storage area in the previous term memory area allocating step, the predetermined condition is satisfied, in the storage area allocation process, ensuring all the storage area can be secured in the image data storage means A data storage method characterized by the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006329677A JP4890220B2 (en) | 2006-12-06 | 2006-12-06 | Image forming apparatus and data storage method in image forming apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006329677A JP4890220B2 (en) | 2006-12-06 | 2006-12-06 | Image forming apparatus and data storage method in image forming apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008147769A JP2008147769A (en) | 2008-06-26 |
| JP4890220B2 true JP4890220B2 (en) | 2012-03-07 |
Family
ID=39607492
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006329677A Expired - Fee Related JP4890220B2 (en) | 2006-12-06 | 2006-12-06 | Image forming apparatus and data storage method in image forming apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4890220B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6938418B2 (en) * | 2018-03-30 | 2021-09-22 | キヤノン株式会社 | Recording device, recording method, and program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003309728A (en) * | 1994-10-28 | 2003-10-31 | Seiko Epson Corp | Apparatus and method for storing image data in memory |
| WO2005055044A1 (en) * | 2003-12-05 | 2005-06-16 | Matsushita Electric Industrial Co., Ltd. | Printer and printing method |
| JP4534713B2 (en) * | 2004-10-22 | 2010-09-01 | ブラザー工業株式会社 | Printing apparatus and program |
-
2006
- 2006-12-06 JP JP2006329677A patent/JP4890220B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008147769A (en) | 2008-06-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8115953B2 (en) | Image forming apparatus and information processing method | |
| CN101800829B (en) | Image forming apparatus and method therefor | |
| JP2004234195A (en) | Automatic program registration function | |
| US8330985B2 (en) | Image forming device | |
| JP4890220B2 (en) | Image forming apparatus and data storage method in image forming apparatus | |
| JP5355290B2 (en) | Job processing apparatus, job processing apparatus control method, and program | |
| US8599400B2 (en) | Image forming device, control method, and program for image forming device | |
| JPH09230755A (en) | Digital copier | |
| JP2009071610A (en) | Image processing apparatus, image forming apparatus, image processing method, image data processing program, and recording medium | |
| JP4230843B2 (en) | Image forming apparatus | |
| JP2008018545A (en) | Image forming apparatus | |
| JP7103167B2 (en) | Image processing equipment | |
| JP5023958B2 (en) | Image processing apparatus, image processing method, and image processing program | |
| JP7010110B2 (en) | Information processing equipment and image forming equipment | |
| JP2008234543A (en) | Image recording apparatus | |
| JP2016024474A (en) | Image forming apparatus | |
| JP7380197B2 (en) | Image forming device, data storage method and program | |
| JP4773289B2 (en) | Image processing device | |
| JP2006180397A (en) | Image forming apparatus | |
| JP7089357B2 (en) | Operation instruction input device | |
| JP5743531B2 (en) | Image processing apparatus, control method thereof, and program | |
| JP2017073694A (en) | Image forming apparatus, image forming system, program, and image forming method | |
| US20080050142A1 (en) | Image formation apparatus, information processing method, and information processing program | |
| JP2022170243A (en) | Information processing device and information processing device control method | |
| JP2007243237A (en) | Image forming apparatus, image forming method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090907 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110422 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110510 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110701 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111115 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111214 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4890220 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141222 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |