JP4474873B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP4474873B2 JP4474873B2 JP2003310595A JP2003310595A JP4474873B2 JP 4474873 B2 JP4474873 B2 JP 4474873B2 JP 2003310595 A JP2003310595 A JP 2003310595A JP 2003310595 A JP2003310595 A JP 2003310595A JP 4474873 B2 JP4474873 B2 JP 4474873B2
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- data
- power saving
- storage
- normal mode
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Storing Facsimile Image Data (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Description
本発明は、動作状態として通常モードと省電力モードを有し、省電力モード時には、到来したデータを通常モード移行後に処理するために所定の記憶手段に一時的に格納する画像処理装置に関する。 The present invention relates to an image processing apparatus that has a normal mode and a power saving mode as operation states, and temporarily stores data that arrives in a predetermined storage unit in order to process incoming data after shifting to the normal mode in the power saving mode.
近年、コンピュータの普及に伴い、プリンタ等のデータ処理装置をネットワークを介して共有するケースが増えている。このようなネットワークを介して多数のパーソナルコンピュータ(以下、PCという)に接続されたデータ処理装置においては、PCからデータが事前に設定された時間受信されないときに、データ処理装置の一部、例えばプリンタの場合であれば定着部やCPUなどの消費電力の大きい部分への電源供給を停止する、いわゆる省電力モードによる制御を行っている。 In recent years, with the spread of computers, cases of sharing data processing devices such as printers via a network are increasing. In a data processing apparatus connected to a large number of personal computers (hereinafter referred to as PCs) via such a network, when data is not received from the PC for a preset time, a part of the data processing apparatus, for example, In the case of a printer, control is performed in a so-called power saving mode in which power supply to a portion with high power consumption such as a fixing unit and a CPU is stopped.
このようなデータ処理装置の一例が、特開2000−318265号公報に示されている。この文献に記載されるデータ処理装置は、ファクシミリ機能、プリンタ機能などの複数の機能を有するデジタル複合機であり、省電力モード中にファクシミリ機能が受信したデータをメモリに保持し、後にプリンタ機能がデータを受信したときに一括して印刷出力を行う。これにより、通常モードの時間を短くしている。 An example of such a data processing apparatus is disclosed in Japanese Patent Laid-Open No. 2000-318265. The data processing apparatus described in this document is a digital multi-function peripheral having a plurality of functions such as a facsimile function and a printer function. The data received by the facsimile function during the power saving mode is stored in a memory, and the printer function is later used. When data is received, batch output is performed. This shortens the normal mode time.
図5に示すプリンタ装置20では、プリンタ装置20が省電力モードの時、メインCPU(Central Processing Unit)22、メインメモリ24、バスブリッジ26、プリンタ出力エンジン50には電力が供給されず、通信制御部30にのみ電力が供給される。このとき、通信制御部30はネットワークを介してデータを受信すると、通信専用バッファ34に一時的に受信データを蓄積するが、バスブリッジ等の構成に給電されていないため、すぐには受信データをメインメモリ24にDMA(Direct Memory Access)転送することができない。この状態で、さらにデータが送られてくると、通信専用バッファ34の残り記憶容量がなくなり、データを通信専用バッファ34に蓄積することができず、通信制御部30は受信データを破棄してしまう。このため従来のプリンタ装置20では、到来したデータを確実に受信するために、記憶容量の大きな通信専用バッファ34を設ける必要があった。
In the
この問題は、通信制御部30がデータを受信すると、直ちにメインCPU22に通知して省電力モードから通常モードに移行するように設定したとしても生じうる。すなわち、メインCPU22がメモリ管理モジュール、データバスなどの周辺装置のエラーやメインCPU22へのコマンドエラーに対してエラーリカバリ処理を行う場合には、省電力モードから通常モードに移行するまでに長時間を要し、通信専用バッファ34に蓄積しきれず、受信データを破棄することが発生しうる。また、DMA転送のスピードよりもネットワークからのデータ受信が速い場合にも、同様に、受信データを破棄することが発生しうる。
This problem may occur even when the communication control unit 30 receives data and immediately notifies the
なお、プリンタ装置を例として問題が発生する状況を説明したが、ファクシミリ装置、又はプリンタ機能、ファクシミリ機能などの複数の機能を併せもつデジタル複合機などの他の画像処理装置でも同様な問題は発生し得る。 Although the situation in which a problem occurs is described by taking a printer device as an example, the same problem also occurs in a facsimile device or other image processing device such as a digital multifunction device having a plurality of functions such as a printer function and a facsimile function. Can do.
本発明は、上述した課題に鑑みてなされたものであり、通信専用に大容量の記憶手段を用意することなく、多量のデータの受信に対処することを目的とする。 The present invention has been made in view of the above-described problems, and an object of the present invention is to cope with reception of a large amount of data without preparing a large-capacity storage unit dedicated to communication.
本発明に係る画像処理装置は、外部から到来したデータを直ちに処理する通常モードと、外部から到来したデータを通常モード移行後に処理するために記憶手段に格納する省電力モードと、を動作状態として有し、省電力モード時にデータが格納される記憶手段は、通常モード時に実行される複数の画像処理のそれぞれに対応して設けられた複数の画像処理用バッファを含み、前記省電力モードから前記通常モードへの移行後に前記複数の画像処理用バッファが使用されるか否かを前記外部から到来したデータに基づいて判定する判定手段と、前記省電力モードから前記通常モードへの移行後に使用されないと前記判定手段により判定された画像処理用バッファを前記外部から到来したデータの前記省電力モード時における格納先として選択する格納先選択手段と、を備えるものである。これにより、省電力モード時に到来したデータを格納するために、より大きな記憶容量を確保することができる。 The image processing apparatus according to the present invention, the normal mode and the operating state and the power saving mode to be stored in the memorize means, a to process data arriving from the outside after the normal mode transition to immediately process the data coming from the outside Yes and as storage means for data in the power saving mode is stored includes a plurality of image processing buffer provided corresponding to each of the plurality of image processing to be executed in the normal mode, the power saving mode Determining means for determining whether or not the plurality of image processing buffers are used after shifting from the power saving mode to the normal mode, and after shifting from the power saving mode to the normal mode The image processing buffer determined by the determining means if not used is selected as the storage destination of the data arriving from the outside in the power saving mode A storage destination selecting unit that is one with a. As a result , a larger storage capacity can be ensured in order to store data that has arrived in the power saving mode.
画像処理用バッファとしては、例えばページ記述言語形式で送られてきた画像データをビットマップ形式に変換するためのバッファや、画像データを拡大又は縮小するためのバッファ、又は画像データを回転するためのバッファなどである。また、画像処理用バッファ以外に、メインメモリやユーザインターフェースのために設けられたバッファなど他の記憶手段を用いてもよい。 The images processing buffer, for example buffer and to convert the image data transmitted in a page description language format into a bitmap format, a buffer for enlarging or reducing the image data, or to rotate the image data And so on. In addition to the image processing buffer, other storage means such as a main memory or a buffer provided for a user interface may be used.
また、複数の画像処理用バッファのうち少なくとも1つは、モード移行時に当該画像処理用バッファからデータが転送されるまでは、当該画像処理用バッファに対応する画像処理に使用されないことが好ましい。このような画像処理用バッファであれば、省電力モード時に蓄積されたデータが、画像処理用バッファの本来の用途による処理を妨げることがないためである。このような画像処理用バッファは、例えば、多数のパケットとして外部から到来したデータが結合処理された後に、該データの転送をうけて使用が開始されるものであってよい。より具体的には、圧縮データのパケットが結合処理されてから、圧縮データの転送をうけて伸長処理を開始する圧縮データ伸長処理用バッファや、一枚の画像データのパケットが結合処理されてから、画像データの転送をうけて、レンダリング、拡大/縮小、回転などの処理を開始する画像処理用バッファなどであってよい。 Further, at least one of the plurality of image processing buffer, from the image processing buffer during mode transition until the data is transferred, go preparative preferably such are used in image processing corresponding to the image processing buffer . This is because with such an image processing buffer , the data stored in the power saving mode does not interfere with the processing for the original use of the image processing buffer . Such an image processing buffer, for example, after the data arriving from the outside is coupled treated as multiple packets may be those used in receiving the transfer of the data is started. More specifically, after a compressed data packet is combined, a compressed data expansion buffer that starts the expansion process after receiving the compressed data transfer, or after a single image data packet is combined. , in response to transfer of the image data, rendering, enlargement / reduction, good I der an image processing buffer to start processing such as rotation.
また、本発明に係る画像処理装置において、格納先選択手段は、例えば、画像処理用バッファの残り記憶容量や不具合の有無などの画像処理用バッファ自体の状態にさらに基づいて省電力モード時にデータを格納する画像処理用バッファを選択してもよい。 In the image processing apparatus according to the present invention, rank Osamesaki selected hand stage, for example, further power saving mode based on the image condition of the processing buffer itself, such as the presence or absence of the remaining storage capacity or malfunction of the image processing buffer An image processing buffer for storing data may be selected .
また、画像処理装置に、省電力モード時に到来したデータの良否を判定し、不良と判定されたデータを破棄するデータ破棄手段を設ければ、格納するデータを少なくすることができ好ましい。 Further, it is preferable that the image processing apparatus is provided with a data discarding unit that determines whether the data that has arrived in the power saving mode is good or bad and discards the data determined to be defective.
また、本発明は、外部から到来したデータを直ちに処理する通常モードと、外部から到来したデータを通常モード移行後に処理するために記憶手段に格納する省電力モードと、を動作状態として有する画像処理装置のデータ格納方法であって、省電力モード時に、外部から到来したデータの格納先を、通信専用に設けられた記憶手段から、通常モード時に実行される複数の画像処理のそれぞれに対応して設けられた複数の画像処理用バッファを含む記憶手段に切り替える格納先切り替えステップと、外部から到来したデータに基づいて、省電力モードから通常モードへの移行後に複数の画像処理用バッファが使用されるか否かを判定する判定ステップと、省電力モードから通常モードへの移行後に使用されないと判定ステップにおいて判定された画像処理用バッファを外部から到来したデータの格納先として選択する格納先選択ステップと、格納先選択ステップにおいて選択された画像処理用バッファに外部から到来したデータを格納するデータ格納ステップと、を含む方法である。 Further, the present invention includes a normal mode to immediately process the data coming from the outside, an image having a power saving mode to be stored in the memorize means for processing the data arriving from the outside after the normal mode transition, as the operating state A data storage method of a processing device, wherein a storage location of data coming from outside corresponds to each of a plurality of image processing executed in a normal mode from a storage means provided exclusively for communication in a power saving mode. Based on the storage destination switching step for switching to the storage means including a plurality of image processing buffers provided and the data coming from the outside, the plurality of image processing buffers are used after the transition from the power saving mode to the normal mode. In the determination step for determining whether or not to use the device after the transition from the power saving mode to the normal mode. A storage destination selection step of selecting a storage destination of data the image processing buffer arrives from the outside, a data storing step of the data arriving from the outside to the image processing buffer selected at the storage destination selection step to store, It is a method including.
また、本発明は、外部から到来したデータを直ちに処理する通常モードと、外部から到来したデータを通常モード移行後に処理するために記憶手段に格納する省電力モードと、を動作状態として有する画像処理装置のデータ格納プログラムであって、省電力モード時に、外部から到来したデータの格納先を、通信専用に設けられた記憶手段から、通常モード時に実行される複数の画像処理のそれぞれに対応して設けられた複数の画像処理用バッファを含む記憶手段に切り替える格納先切り替え工程と、外部から到来したデータに基づいて、省電力モードから通常モードへの移行後に複数の画像処理用バッファが使用されるか否かを判定する判定工程と、省電力モードから通常モードへの移行後に使用されないと判定工程において判定された画像処理用バッファを外部から到来したデータの格納先として選択する格納先選択工程と、格納先選択工程において選択された画像処理用バッファに外部から到来したデータを格納するデータ格納工程と、を実行させるためのプログラムである。
Further, the present invention includes a normal mode to immediately process the data coming from the outside, an image having a power saving mode to be stored in the memorize means for processing the data arriving from the outside after the normal mode transition, as the operating state A data storage program for a processing apparatus, which stores a storage location of data coming from the outside in the power saving mode , corresponding to each of a plurality of image processing executed in the normal mode from a storage means provided exclusively for communication. Based on the storage destination switching step for switching to a storage means including a plurality of image processing buffers provided and the data coming from the outside, a plurality of image processing buffers are used after the transition from the power saving mode to the normal mode. A determination process for determining whether or not the image is determined to be used after the transition from the power saving mode to the normal mode. Run a storage destination selection step of selecting a storage destination of data arriving the processing buffer from the outside, a data storage step of data arriving from the outside to the image processing buffer selected at the storage destination selection process to store the It is a program to make it.
以下に、図面を参照して、本発明の実施形態に係る画像処理装置を説明する。 なお、本実施形態では、画像処理装置をプリンタ装置とした一例を説明するが、画像処理装置は他の装置でもよく、これに限定されるものではない。 Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings. In this embodiment, an example in which the image processing apparatus is a printer apparatus will be described. However, the image processing apparatus may be another apparatus, and is not limited thereto.
図1は、本実施形態に係るプリンタ装置20を含むデータ処理システムの構成を示す概略図である。このデータ処理システムでは、ネットワーク12に複数のPC10A,10B,10Cと一台のプリンタ装置20が接続されており、各PC10A,10B,10Cからプリンタ装置20にプリントデータや動作指令が送信される。これらのデータを送信するに際して、各PC10A,10B,10Cはデータを複数のパケットに分割して送信し、プリンタ装置20は分割されたパケットを結合処理して元のデータを復元する。なお、本実施形態では各装置がネットワーク接続されているが、例えば電話回線などの他のデータ伝送方法により接続されたシステムについても本発明は適用可能である。
FIG. 1 is a schematic diagram illustrating a configuration of a data processing system including a
図2は、プリンタ装置20の内部構成を示す概略図である。図2に示される構成は、1または複数枚の回路基板を含んで構成され、互いにバス(例えばPCIバス)46により接続される。プリンタ装置20は、装置全体の動作を制御するための構成として、メインCPU22と、メインCPU22のワークスペースとなるメインメモリ24と、を備えている。また、PCIバス46とCPUバス28との間にはバスブリッジ26が配置されている。
FIG. 2 is a schematic diagram illustrating the internal configuration of the
また、プリンタ装置20は、PC10からプリントデータや動作指令を受信するための構成として、通信制御部30を備えている。この通信制御部30は、ネットワークとのデータの送受信を制御するデータ送受信処理部32と、ネットワークを介して到来したデータを一時的に格納する通信専用バッファ34と、この通信専用バッファ34に格納されたデータをメインメモリ24に転送するDMAコントローラ36と、ネットワークを介して到来したデータの格納先を選択するデータ格納先切替処理部38と、到来したデータがエラーであるか否かを判定するエラー判定処理部39と、を主要な構成としている。なお、データ送受信処理部32、データ格納先切替処理部38、エラー判定処理部39などは、処理装置(Processing Unit)にプログラムを実行させてその機能を実現することできるが、専用のアナログ回路で実現してもよい。
The
また、プリンタ装置20は、メインメモリ24に格納されたプリントデータを受け取って処理する画像処理部40と、2つの画像処理用バッファ42A,42Bを備えている。画像処理用バッファ42Aは、ネットワークを介してページ記述言語形式で送られてきたプリントデータを、ビットマップ形式のプリントデータに変換するレンダリング処理を行うために設けられている。画像処理用バッファ42Bは、他の画像処理のために設けられている。また、データ格納先切替処理部38と2つの画像処理用バッファ42A,42Bの間はそれぞれ専用線43A,43Bで結ばれており、その途中には、指令に応じて、各画像処理用バッファ42A,42Bの接続先を画像処理部40またはデータ格納先切替処理部38のいずれか一方に切り替えるセレクタ41A,41Bがそれぞれ配置されている。プリンタ出力エンジン50は、印刷用紙に画像をプリント処理する機構を備え、画像処理部40にて変換されたプリントデータにもとづいてプリント処理を行う。
The
上述した構成のプリンタ装置20は、主に、通常モードと省電力モードの二つの動作状態を持つ。通常モードとは、プリント処理を行うために準備された動作状態である。この通常モードでは、各構成に電力が供給され、動作指令に応じてすぐにプリント処理を行える状態となっている。すなわち、ネットワークを介してパケット分割されたプリントデータが到来すると、そのパケットを一時的に通信専用バッファ34に格納し、直ちに通信専用バッファ34からメインメモリ24にDMA転送する。その後、メインメモリ24に全てのパケットが転送されるとこれらを結合処理して画像処理部40に転送する。これを受けて、画像処理部40はプリントデータのデータ形式を変換し、また必要であれば他の画像処理を行ってから、プリンタ出力エンジン50にプリントデータを送る。プリンタ出力エンジン50はプリント処理を行う。この通常モードでは、直ちにプリント処理を行えるものの、各構成が動作しないときにも電力が消費されるため、省電力の観点からは好ましくない。
The
また、省電力モードとは、電力の消費を抑制した動作状態であり、その制御としては様々なものがある。例えば、メインCPU22、バスブリッジ26への電力供給やクロック供給を停止してスリープモードとしたり、メインメモリ24を自ら周期的に蓄積データを読出し・再書込みするセルフリフレッシュモードとする。また、プリンタ出力エンジン50の定着部やモータなどへの給電を中止又は抑制することも行われる。本実施形態の省電力モードでは、省電力用の制御により少なくとも通信専用バッファ34からメインメモリ24にデータをDMA転送できない状態となっており、ネットワークを介してプリントデータが到来すると通信専用バッファ34及び画像処理用バッファ42A,42Bにデータを蓄積する。そして、後に省電力モードから通常モードに移行したときにデータをメインメモリ24にDMA転送して、プリント処理を行う。
The power saving mode is an operation state in which power consumption is suppressed, and there are various controls. For example, power supply and clock supply to the
プリンタ装置20は、通常モードにおいて、ネットワークを介してプリントデータが予め設定された所定時間以上到来しないときには、通常モードから省電力モードに移行して消費電力を少なくする。一方、省電力モードにおいて、ネットワークを介してプリントデータが到来すると、省電力モードから通常モードに移行してプリント処理を行う。なお、プリンタ装置20は、ユーザによる解除ボタンの押下などを契機として、省電力モードから通常モードに移行することもある。
In the normal mode, the
また、プリンタ装置20は、別の動作状態として、状態確認モードを持つ。状態確認モードとは、プリンタ装置20の状態を問い合わせる状態確認信号がPC10から到来した場合に、これに応答するための動作状態である。省電力モードにおいて、PC10から状態確認信号が到来し、通信制御部30がこれを受信すると、通信制御部30は状態確認信号の到来があった旨をメインCPU22に通知する。これにより、メインCPU22,メインメモリ24,バスブリッジ26が起動され、メインCPU22はプリンタ装置20の状態を確認し、その情報を含む回答信号をPC10に返信する。なお、状態確認モードでは、定着部やモータなどへは給電されないため、消費電力は比較的少ない。
The
次に、図3及び図4のフローチャートを参照して、プリンタ装置20が行う処理を説明する。図3は、プリンタ装置20が、省電力モードにあるとき、ネットワークを介して到来したデータを格納する処理を示すフローチャートである。
Next, processing performed by the
プリンタ装置20は、予め設定された所定時間を超えてパケットが到来しないときには、通常モードから省電力モードに移行する(S301)。このとき、セレクタ41A,41Bの接続先を画像処理部40からデータ格納先切替処理部38に変更する。その後、プリンタ装置20は、パケットの到来を待機する(S302)。通信制御部30がパケットを受信すると、エラー判定処理部39はパケットに含まれる誤り検出用符号(例えば、CRC:Cyclic Redundancy Check)に基づき到来したデータがエラーであるか否かを判定する。そして、エラーである場合にはパケットを破棄し、一方、エラーでない場合には、パケットの格納先が通信専用バッファ34、画像処理用バッファ42A,42Bのいずれに設定されているかを確認して(S303)、設定された格納先にパケットを格納する(S304,S305,S306)。
The
本実施形態の特徴的事項は、省電力モードにおいてパケットを格納するために通信以外の用途に設けられた記憶手段を利用することである。これにより、通信専用バッファ34の記憶容量を大きくすることなく、必要な記憶容量を確保することができ、記憶容量の不足によるパケットの破棄を防止することができる。特に、プリンタ装置20などの画像処理装置では、ネットワークを介してデータ量の大きな画像データが到来するため、これを格納するには大容量のバッファが必要となる。ここで、通信専用バッファ34を大容量化することは、コスト面から好ましくない。一方、省電力モード時には、プリンタ装置の通信以外の機能はほぼ停止するため、これらの機能のためのバッファは使用されない。本発明は、これに着目したものであり、通信以外の用途に設けられた記憶手段の利用を図って、大容量の通信専用バッファ34を設けることなく、多量のデータの到来に対処している。
A characteristic feature of the present embodiment is that a storage unit provided for a purpose other than communication is used to store packets in the power saving mode. As a result, the necessary storage capacity can be secured without increasing the storage capacity of the communication dedicated
通信以外の用途に設けられた記憶手段としては、本実施形態のように、記憶容量が大きな画像処理用バッファ42A,42Bを用いることが好ましい。また、通信制御部30と画像処理用バッファ42A,42Bを結ぶ専用線43A,43Bを設けたため、アクセスできるまでの時間が短く好ましい。但し、利用可能な記憶手段はこれに限られるものでなく、他の記憶手段を利用してもよい。
As the storage means provided for uses other than communication, it is preferable to use the
また、レンダリング処理を行うための画像処理用バッファ42Aを利用するのは、動作タイミングの観点から特に好適である。これについて説明する。省電力モードから通常モードに移行して画像処理が開始されるときには、プリントデータのパケットは、通信専用バッファ34及び画像処理用バッファ42A,42Bからメインメモリ24にDMA転送され、メインCPU22によりパケットの結合処理が行われた後に、メインメモリ24から画像処理用バッファ42Aに転送される。このように、パケットの結合処理が行われるため、画像処理用バッファ42Aが本来の画像処理の用途に用いられるまでには十分な時間がある。この十分な時間を利用して、上述したように、省電力モード時に蓄積されたパケットが画像処理用バッファ42Aからメインメモリ24にDMA転送される。すなわち、画像処理用バッファ42AからDMA転送されるタイミングと、画像処理用バッファ42Aで画像処理が行われるタイミングは重複することがないため、スムーズに処理を行うことができる。
The use of the
このような画像処理用バッファとしては、他に、画像の拡大/縮小処理に用いられるバッファ、画像の回転処理に用いられるバッファなどがある。また、画像処理用のバッファに限らず、圧縮された形式のデータを伸長するために用いられるバッファも同様な効果を奏する。一方、画像処理用バッファ42Bは、モード移行後にパケットが結合処理されずに転送されて来るため、格納先として選択できないこともある。画像処理用バッファ42Bは、モード移行後に行われる画像処理を把握して、画像処理用バッファ42Bが使用されないときを選んで、データ格納先として選択される。 Examples of such an image processing buffer include a buffer used for image enlargement / reduction processing and a buffer used for image rotation processing. Further, not only the image processing buffer but also a buffer used for decompressing compressed data has the same effect. On the other hand, the image processing buffer 42B may not be selected as a storage destination because the packet is transferred without being combined after the mode transition. The image processing buffer 42B grasps the image processing performed after the mode shift, selects when the image processing buffer 42B is not used, and is selected as a data storage destination.
ステップS304において通信専用バッファ34にパケットを格納した後には、通信専用バッファ34に十分な残り記憶容量があるか否かを判定する(S307)。ここで、残り記憶容量が十分である場合には、ステップS302に戻って次のパケットの到来を待機する。一方、残り記憶容量が十分でない場合には、後のステップS311又はステップS313にてパケットの格納先が切り替えられる。また、ステップS308においても同様に、画像処理用バッファ42Aに十分な残り記憶容量があるか否かが判定され、残り記憶容量が十分である場合にはステップS302に戻り、残り記憶容量が十分でない場合には、後のステップS313でパケットの格納先が切り替えられる。本実施形態では、上記のとおり、残り記憶容量を把握してパケットの格納先を選択するため、各バッファ34,42A,42Bの記憶領域を無駄なく利用することができる。なお、他の実施形態では、各バッファ34,42A,42Bの記憶容量に基づいて格納先を選択することとしたが、各バッファ34,42A,42Bの別の状態に基づいて格納先を選択してもよい。例えば、各バッファ34,42A,42Bの故障の有無を調べ、パケットの格納先を選択してもよい。なお、ステップS306で、画像処理用バッファ42Bにパケットが格納された後は、ステップS302に戻る。
After the packet is stored in the communication dedicated
ステップS310では、データ格納先切替処理部38が、既に受信されたパケットの情報から、省電力モードから移行した後の動作状態で画像処理用バッファ42Aが使用されるか否かを判定する(S310)。例えば、パケットが状態確認信号である場合には、省電力モードから状態確認モードに移行するため、モード移行後の動作状態において画像処理用バッファ42A,42Bは使用されない。よって、画像処理用バッファ42A,42Bは使用されないと判定できる。一方、パケットがプリントデータである場合には、省電力モードから通常モードに移行するため、モード移行後の動作状態において画像処理用バッファ42A,42Bは使用されると判定できる。また、パケットに含まれる情報をより詳細に分析することで、各バッファ42A,42Bの使用の有無を判定してもよい。例えば、既述したとおり、パケットの結合処理の有無を分析して、各バッファ42A,42Bの使用の有無を判定するなどである。
In step S310, the data storage destination
ステップS310で、通常モードに移行後に画像処理用バッファ42Aが使用されないと判定された場合には、パケットの格納先を画像処理用バッファ42Aに切り替える(S311)。一方、通常モードに移行後に画像処理用バッファ42Aが使用されると判定された場合には、ステップS312に進む。ステップS312では、画像処理用バッファ42Bについて、同様に、通常モードに移行後に使用されるか否かを判定する。ここで、通常モードに移行後に画像処理用バッファ42Bを使用しない場合にはパケットの格納先を画像処理用バッファ42Bに切り替え(S313)、使用する場合には格納先の切替処理は行わずにステップS302に戻る。
If it is determined in step S310 that the
本実施形態では、上記のとおり、通常モードに移行後の動作状態を把握してパケットの格納先を選択するため、通常モードに移行後に不具合が生じるのを防止することができる。なお、本実施形態では、通常モードに移行後の動作状態に基づいて格納先を選択することとしたが、プリンタ装置20の現在の動作状態に基づいて格納先を選択してもよい。例えば、通常モードでは格納先として通信専用バッファ34を選択し、省電力モードでは画像処理用バッファ42A,42Bを選択するように設定してもよい。
In the present embodiment, as described above, since the operation state after shifting to the normal mode is grasped and the packet storage destination is selected, it is possible to prevent a problem from occurring after shifting to the normal mode. In this embodiment, the storage destination is selected based on the operation state after shifting to the normal mode. However, the storage destination may be selected based on the current operation state of the
本実施形態では、ステップS306で画像処理用バッファ42Bにパケットを格納した後や、ステップS312でモード移行後の動作状態で画像処理用バッファ42Bが使用されると判定された場合には、ステップS302に戻るように設定されている。他の実施形態では、これらの処理に代えて、オプションとして図示したステップS309、ステップS314の処理を行ってもよい。これらのオプションの処理は、従来文献(特開2000−318265号公報)のように、ネットワークを介してデータが到来した場合に、すぐにはモード移行を開始せずにデータの蓄積をつづけ、ユーザによる解除ボタンの押下などの他の契機によりモード移行するようにプリンタ装置20を設定した場合などに有効である。
In this embodiment, after the packet is stored in the image processing buffer 42B in step S306, or when it is determined in step S312 that the image processing buffer 42B is used in the operation state after the mode shift, step S302 is performed. Is set to return. In other embodiments, instead of these processes, the processes of steps S309 and S314 illustrated as options may be performed. In these optional processes, as in the conventional document (Japanese Patent Laid-Open No. 2000-318265), when data arrives via the network, the user continues to accumulate data without immediately starting mode transition. This is effective when the
ステップS309では、画像処理用バッファ42Bに十分な残り記憶容量があるか否かが判定され、残り記憶容量が十分であると判定された場合には、ステップS302にもどる。一方、残り記憶容量が十分でないと判定された場合には、ステップS314に進み、通信専用バッファ34及び画像処理用バッファ42A,42Bに格納されたデータをメインメモリ24に転送する。この処理によれば、各バッファ34,42A,42Bにデータを格納できなくなった場合にも、既に蓄積されたデータをメインメモリ24に転送することで、さらなるデータの到来に対処することができる。データを転送するにあたっては、データ格納先切替処理部38とメインメモリ24を結ぶ専用線を設けてもよいし、バスブリッジ26を一時的に起動してDMA転送してもよい。
In step S309, it is determined whether or not the image processing buffer 42B has a sufficient remaining storage capacity. If it is determined that the remaining storage capacity is sufficient, the process returns to step S302. On the other hand, if it is determined that the remaining storage capacity is not sufficient, the process proceeds to step S314, and the data stored in the communication dedicated
次に、図4のフローチャートを参照して、プリンタ装置20が省電力モードから通常モードに移行するときの処理を説明する。
Next, processing when the
通信制御部30はプリントデータを受信すると、通常モードへの移行を促す信号をメインCPU22に通知する。メインCPU22は、これを受けてモードの移行を開始する(S401)。この処理では、まずメインCPU22、メインメモリ24、バスブリッジ26が起動され、定着部やモータに電力が供給される(S402)。次に、通信専用バッファ34のデータをメインメモリ24にDMA転送して、通信専用バッファ34を空の状態とし(S403)。さらに、画像処理用バッファ42A,42Bに格納されたデータを、通信専用バッファ34を経由してメインメモリ24にDMA転送する(S404)。次に、ネットワークを経由して到来したデータが、通信専用バッファ34に格納されるようにデータ格納先切替処理部38を設定する。また、画像処理部40と画像処理用バッファ42A,42Bが接続されるように、セレクタ41A,41Bを設定する。以上の処理により、通常モードへの移行が完了する(S405)。
When the communication control unit 30 receives the print data, the communication control unit 30 notifies the
以上、本発明の好適な実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、等価な範囲で様々な変形が可能である。 The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above embodiments, and various modifications can be made within an equivalent range.
10 PC、12 ネットワーク、20 プリンタ装置、22 メインCPU、24 メインメモリ、26 バスブリッジ、28 CPUバス、30 通信制御部、32 データ送受信処理部、34 通信専用バッファ、36 DMAコントローラ、38 データ格納先切替処理部、39 エラー判定処理部、40 画像処理部、41A,41B セレクタ、42A,42B 画像処理用バッファ、46 PCIバス、50 プリンタ出力エンジン。 10 PC, 12 network, 20 printer device, 22 main CPU, 24 main memory, 26 bus bridge, 28 CPU bus, 30 communication control unit, 32 data transmission / reception processing unit, 34 communication dedicated buffer, 36 DMA controller, 38 data storage destination Switching processing unit, 39 error determination processing unit, 40 image processing unit, 41A, 41B selector, 42A, 42B image processing buffer, 46 PCI bus, 50 printer output engine.
Claims (9)
前記省電力モード時にデータが格納される記憶手段は、通常モード時に実行される複数の画像処理のそれぞれに対応して設けられた複数の画像処理用バッファを含み、
前記省電力モードから前記通常モードへの移行後に前記複数の画像処理用バッファが使用されるか否かを前記外部から到来したデータに基づいて判定する判定手段と、
前記省電力モードから前記通常モードへの移行後に使用されないと前記判定手段により判定された画像処理用バッファを前記外部から到来したデータの前記省電力モード時における格納先として選択する格納先選択手段と、
を備えることを特徴とする画像処理装置。 A normal mode to immediately process the data coming from the outside, possess the power saving mode to be stored in the memorize means for processing the data arriving from the outside after the normal mode transition, as the operating state,
The storage means for storing data during the power saving mode includes a plurality of image processing buffers provided corresponding to each of the plurality of image processing executed in the normal mode,
Determining means for determining whether or not the plurality of image processing buffers are used after the transition from the power saving mode to the normal mode based on data coming from the outside;
Storage destination selection means for selecting the image processing buffer determined by the determination means not to be used after the transition from the power saving mode to the normal mode as a storage destination in the power saving mode of data coming from the outside; ,
The image processing apparatus comprising: a.
前記省電力モード時にデータが格納される記憶手段は、さらに、メインメモリを含む、ことを特徴とする画像処理装置。 The image processing apparatus according to claim 1.
The image processing apparatus, wherein the storage means for storing data in the power saving mode further includes a main memory.
前記複数の画像処理用バッファのうち少なくとも1つは、モード移行時に当該画像処理用バッファからデータが転送されるまでは、当該画像処理用バッファに対応する画像処理に使用されない、ことを特徴とする画像処理装置。 The image processing apparatus according to claim 1.
At least one of the plurality of image processing buffers is not used for image processing corresponding to the image processing buffer until data is transferred from the image processing buffer at the time of mode transition. Image processing device.
前記複数の画像処理用バッファのうちの少なくとも1つは、多数のパケットとして外部から到来したデータが結合処理された後に、該データの転送をうけて使用が開始される記憶手段であることを特徴とする画像処理装置。 The image processing apparatus according to claim 1 .
At least one of the plurality of image processing buffers is storage means that starts to be used after the data received from the outside is combined as a number of packets and then transferred. An image processing apparatus.
前記格納先選択手段は、前記複数の画像処理用バッファの状態にさらに基づいて、いずれかの画像処理用バッファを選択することを特徴とする画像処理装置。 The image processing apparatus according to claim 1 .
The image processing apparatus , wherein the storage destination selection unit selects any one of the image processing buffers based further on a state of the plurality of image processing buffers .
前記格納先選択手段は、さらに、前記複数の画像処理用バッファの残り記憶容量に応じて、前記格納先となる画像処理用バッファを選択する、ことを特徴とする画像処理装置。 The image processing apparatus according to claim 5 .
The image processing apparatus, wherein the storage destination selection unit further selects an image processing buffer as the storage destination according to a remaining storage capacity of the plurality of image processing buffers .
省電力モード時に到来したデータの良否を判定し、不良と判定されたデータを破棄するデータ破棄手段を備えることを特徴とする画像処理装置。 The image processing apparatus according to claim 1.
An image processing apparatus comprising: a data discarding unit that determines whether the data that has arrived in the power saving mode is good or bad and discards the data determined to be defective.
省電力モード時に、
外部から到来したデータの格納先を、通信専用に設けられた記憶手段から、前記通常モード時に実行される複数の画像処理のそれぞれに対応して設けられた複数の画像処理用バッファを含む記憶手段に切り替える格納先切り替えステップと、
外部から到来したデータに基づいて、前記省電力モードから前記通常モードへの移行後に前記複数の画像処理用バッファが使用されるか否かを判定する判定ステップと、
前記省電力モードから前記通常モードへの移行後に使用されないと前記判定ステップにおいて判定された画像処理用バッファを前記外部から到来したデータの格納先として選択する格納先選択ステップと、
前記格納先選択ステップにおいて選択された画像処理用バッファに前記外部から到来したデータを格納するデータ格納ステップと、
を含むことを特徴とするデータ格納方法。 Normal mode and the data storage method of the image processing apparatus having a power saving mode to be stored in the memorize means for processing the data arriving from the outside after the normal mode transition, as the operating state immediately process the data coming from the outside Because
During power saving mode,
Storage means including a plurality of image processing buffers provided corresponding to each of a plurality of image processes executed in the normal mode from a storage means provided exclusively for communication to a storage destination of data coming from outside A storage location switching step for switching to
A determination step of determining whether or not the plurality of image processing buffers are used after transition from the power saving mode to the normal mode, based on data coming from outside;
A storage location selection step for selecting the image processing buffer determined in the determination step as not being used after the transition from the power saving mode to the normal mode as a storage location of data coming from the outside;
A data storing step of store incoming data from the external to the image processing buffer selected in the storage destination selection step,
A data storage method comprising:
省電力モード時に、
外部から到来したデータの格納先を、通信専用に設けられた記憶手段から、前記通常モード時に実行される複数の画像処理のそれぞれに対応して設けられた複数の画像処理用バッファを含む記憶手段に切り替える格納先切り替え工程と、
外部から到来したデータに基づいて、前記省電力モードから前記通常モードへの移行後に前記複数の画像処理用バッファが使用されるか否かを判定する判定工程と、
前記省電力モードから前記通常モードへの移行後に使用されないと前記判定工程において判定された画像処理用バッファを前記外部から到来したデータの格納先として選択する格納先選択工程と、
前記格納先選択工程において選択された画像処理用バッファに前記外部から到来したデータを格納するデータ格納工程と、
をコンピュータに実行させるためのデータ格納プログラム。 A normal mode to immediately process the data coming from the outside, the image processing apparatus data storing program having the power saving mode to be stored in the memorize means for processing the data arriving from the outside after the normal mode transition, as the operating state Because
During power saving mode,
Storage means including a plurality of image processing buffers provided corresponding to each of a plurality of image processes executed in the normal mode from a storage means provided exclusively for communication to a storage destination of data coming from outside Storage location switching process to switch to,
A determination step of determining whether or not the plurality of image processing buffers are used after transition from the power saving mode to the normal mode based on data coming from outside;
A storage destination selection step of selecting the image processing buffer determined in the determination step as not being used after the transition from the power saving mode to the normal mode as a storage destination of the data coming from the outside;
A data storage step of store incoming data from the external to the image processing buffer selected in the storage destination selection process,
Data storage program for causing a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003310595A JP4474873B2 (en) | 2003-09-02 | 2003-09-02 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003310595A JP4474873B2 (en) | 2003-09-02 | 2003-09-02 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005074911A JP2005074911A (en) | 2005-03-24 |
JP4474873B2 true JP4474873B2 (en) | 2010-06-09 |
Family
ID=34412423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003310595A Expired - Fee Related JP4474873B2 (en) | 2003-09-02 | 2003-09-02 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4474873B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008134765A (en) * | 2006-11-28 | 2008-06-12 | Seiko Epson Corp | Information processor |
JP5198376B2 (en) * | 2009-07-16 | 2013-05-15 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus and starting method thereof |
JP5193964B2 (en) * | 2009-07-16 | 2013-05-08 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus and starting method thereof |
JP5375441B2 (en) * | 2009-08-27 | 2013-12-25 | 株式会社リコー | Semiconductor integrated circuit, storage control method, storage control program, and recording medium |
JP2011077903A (en) * | 2009-09-30 | 2011-04-14 | Kyocera Mita Corp | Image forming apparatus, packet transmission and reception device, and packet transmission and reception method |
JP5823097B2 (en) * | 2010-04-28 | 2015-11-25 | ブラザー工業株式会社 | Electronic circuit, image forming apparatus, and DDR-SDRAM initialization method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3882452B2 (en) * | 2000-03-10 | 2007-02-14 | 富士ゼロックス株式会社 | Receiving device and communication device |
JP3535837B2 (en) * | 2000-07-21 | 2004-06-07 | キヤノン株式会社 | PRINTING APPARATUS, PRINTING SYSTEM, CONTROL METHOD, STORAGE MEDIUM, AND PROGRAM |
JP4541605B2 (en) * | 2001-07-30 | 2010-09-08 | キヤノン株式会社 | Image processing apparatus and image processing method |
-
2003
- 2003-09-02 JP JP2003310595A patent/JP4474873B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005074911A (en) | 2005-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8213026B2 (en) | Image processing apparatus and method providing improved power saving | |
JP6261156B2 (en) | Image forming apparatus | |
JP2011086294A (en) | Image forming device and network connection method of the same | |
JP2005198298A (en) | Control system of network image forming apparatus and its data receiving controlling method | |
JP4474873B2 (en) | Image processing device | |
JP5822470B2 (en) | Information processing apparatus, control method thereof, and storage medium | |
JP6289057B2 (en) | COMMUNICATION DEVICE AND ITS CONTROL METHOD, PRINTING DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP4708818B2 (en) | Network device and control method thereof | |
JP2005074928A (en) | Data processing system, data processor, and data receiving program | |
JP3189269B2 (en) | Network printer | |
JP6460905B2 (en) | Communication device, control method, program | |
JPH11187190A (en) | Composite function processor and composite function processing method | |
JP6833491B2 (en) | Information processing device | |
US7545542B2 (en) | Image forming apparatus | |
JP2848356B2 (en) | Printing apparatus and method | |
JP2006056037A (en) | Image output system and image output method | |
JP4529341B2 (en) | Printing apparatus, printing method, and program | |
JP4483650B2 (en) | Network processing equipment | |
US8671251B2 (en) | Information processing apparatus that executes response process to received information, control method therefor, and storage medium storing control program therefor | |
JP4848188B2 (en) | Unit having memory device having a plurality of memory areas and memory control system | |
JP7180463B2 (en) | image forming device | |
JP5004322B2 (en) | Data transfer control method, apparatus, and image forming apparatus | |
JP2003091425A (en) | Image processor and image processing method | |
US20040136031A1 (en) | Integrated circuit device for image data processing operation and network connection | |
JP2001338286A (en) | Method and device for image processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060824 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090804 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091002 |
|
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: 20100216 |
|
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: 20100301 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4474873 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: 20130319 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130319 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140319 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |