JP4843372B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4843372B2
JP4843372B2 JP2006130552A JP2006130552A JP4843372B2 JP 4843372 B2 JP4843372 B2 JP 4843372B2 JP 2006130552 A JP2006130552 A JP 2006130552A JP 2006130552 A JP2006130552 A JP 2006130552A JP 4843372 B2 JP4843372 B2 JP 4843372B2
Authority
JP
Japan
Prior art keywords
power hook
image processing
queue
processing apparatus
function
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
Application number
JP2006130552A
Other languages
Japanese (ja)
Other versions
JP2007306143A (en
Inventor
久典 川浦
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 JP2006130552A priority Critical patent/JP4843372B2/en
Publication of JP2007306143A publication Critical patent/JP2007306143A/en
Application granted granted Critical
Publication of JP4843372B2 publication Critical patent/JP4843372B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、省エネ中に電源をOFFしたデバイスを省エネ復帰後に問題なく使用することができるようにした画像処理装置に関する。   The present invention relates to an image processing apparatus in which a device whose power is turned off during energy saving can be used without any problem after returning from energy saving.

MFP(Multi Function Printer)等の画像処理装置では、省エネ(スリープ)時にはシステム情報をメモリに保持し(STR:Suspend to RAM)、省エネ復帰時にはメモリに保持されているシステム情報を呼び出して素早く復帰(Resume)する仕組みが取り入れられているものがある。   In an image processing apparatus such as an MFP (Multi Function Printer), system information is stored in a memory (STR: Suspend to RAM) at the time of energy saving (sleep), and the system information stored in the memory is called up and restored quickly when energy saving is resumed. Some have incorporated a mechanism to (resume).

ところで、画像処理装置には、HDD(Hard Disk Drive)、ビデオ(回路)、圧縮伸張器、回転器、合成器、MAC(Media Access Control)、USB(Universal Serial Bus)、操作部、SD(Secure Digital)カード、パワーマネジメント(回路)、WatchDog等の各種のデバイスが装備されているが、省エネ時にはこれらのデバイスの電源がOFFとされるため、そのまま省エネから復帰した場合には状態の不整合を起こし、正常に動作することができなくなる。   By the way, the image processing apparatus includes HDD (Hard Disk Drive), video (circuit), compression / decompression unit, rotator, synthesizer, MAC (Media Access Control), USB (Universal Serial Bus), operation unit, SD (Secure Various devices such as Digital) card, power management (circuit), WatchDog, etc. are equipped. However, since these devices are turned off at the time of energy saving, there is a state mismatch when returning from energy saving as it is. Wake up and cannot operate normally.

なお、出願人は出願時点までに本発明に関連する公開された先行技術文献を発見することができなかった。よって、先行技術文献情報を開示していない。   The applicant has not been able to find published prior art documents related to the present invention by the time of filing. Therefore, prior art document information is not disclosed.

本発明は上記の従来の問題点に鑑み提案されたものであり、その目的とするところは、省エネ中に電源をOFFしたデバイスを省エネ復帰後に問題なく使用することができるようにした画像処理装置を提供することにある。   The present invention has been proposed in view of the above-described conventional problems, and an object of the present invention is to provide an image processing apparatus in which a device whose power is turned off during energy saving can be used without any problem after returning from energy saving. Is to provide.

上記の課題を解決するため、本発明にあっては、請求項1に記載されるように、画像処理を実行するための各種の複数のデバイスと、個々の上記デバイスに対応して設けられた、個々の上記デバイスの制御を行う複数のデバイスドライバとを備えた画像処理装置であって、個々の上記デバイスドライバは、省エネ制御のモード毎に対応する上記デバイスの制御レジスタの保存と復元を行うコールバック関数を備え、上記画像処理装置は、上記コールバック関数を呼び出すパワーフック関数が登録されるデータ領域であるパワーフックキューと、上記画像処理装置の起動時における上記デバイスドライバを利用可能にするための前処理である初期化時に、当該デバイスドライバに対応する上記パワーフック関数を上記パワーフックキューに登録する手段と、省エネ移行時に上記パワーフックキューに登録された上記パワーフック関数を順次に呼び出して対応する上記デバイスドライバの上記コールバック関数を起動する手段と、省エネ復帰時に上記パワーフックキューに登録された上記パワーフック関数を順次に呼び出して対応する上記デバイスドライバの上記コールバック関数を起動する手段とを備える画像処理装置を要旨としている。 To solve the above problems, in the present invention, as described in claim 1, and a plurality of devices various for performing image processing, provided corresponding to each of the devices an image processing apparatus having a plurality of device drivers for controlling the individual of the device, each of the device driver, save and restore the control register of the device corresponding to each mode of the energy-saving control includes a callback function, the image processing apparatus available and power hook queue is a data area where the power hook function that calls the callback function is registered, the device driver during startup of the image processing apparatus registration pretreatment during initialization is, the power hook function corresponding to the device driver in the power hook queue for It means that, the means for activating the call-back function of the device driver that sequentially calls corresponding to the power hook function registered in the power hook queue during energy saving mode, are registered in the power hook queue during energy saving return They were are summarized as image processing and means for activating the call-back function of the device driver corresponding to sequentially call the power hook function.

また、請求項に記載されるように、請求項に記載の画像処理装置において、省エネ移行時および省エネ復帰時に各デバイスドライバへの割り込みを禁止する期間を設けるようにすることができる。 Further, as described in claim 2, it can be in the image processing apparatus according to claim 1, as at energy saving mode and during energy conservation returning provide a period for prohibiting an interrupt to the device driver .

また、請求項に記載されるように、請求項1または2のいずれか一項に記載の画像処理装置において、上記パワーフックキューは優先度レベル毎に区分され、省エネ移行時および省エネ復帰時に優先度レベルの高い順に上記パワーフックキューに登録されたパワーフック関数を呼び出すようにすることができる。 According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect , the power hook queue is classified for each priority level, and at the time of energy saving transition and energy saving return. The power hook functions registered in the power hook queue can be called in descending order of priority level.

また、請求項に記載されるように、請求項1ないしのいずれか一項に記載の画像処理装置において、上記各デバイスドライバの初期化時における上記パワーフックキューのパワーフック関数の登録は上記デバイスドライバの初期化の順に行い、省エネ移行時における上記パワーフックキューのパワーフック関数の呼び出しは登録順もしくは登録と逆順に行い、省エネ復帰時における上記パワーフックキューのパワーフック関数の呼び出しは登録と逆順もしくは登録順に行うようにすることができる。 Further, as described in claim 4 , in the image processing apparatus according to any one of claims 1 to 3 , registration of the power hook function of the power hook queue at the time of initialization of the device drivers is performed. The device driver is initialized in order, the power hook functions of the power hook queue are called in the registration order or in the reverse order of registration at the time of energy saving transition, and the power hook functions of the power hook queue are registered when energy saving is restored. Can be performed in the reverse order or in the order of registration.

また、請求項5〜8に記載されるように、画像処理装置の省エネ制御方法として構成することができる。 In addition, as described in claims 5 to 8 , the image processing apparatus can be configured as an energy saving control method.

また、請求項9〜12に記載されるように、画像処理装置の省エネ制御プログラムとして構成することができる。 Further, as described in claims 9 to 12 , the image processing apparatus can be configured as an energy saving control program.

本発明の画像処理装置にあっては、各デバイスドライバの初期化時に省エネ制御のモード毎に各デバイスドライバに設けられたコールバック関数を呼び出すパワーフック関数をパワーフックキューに登録し、省エネ移行時および省エネ復帰時にパワーフックキューに登録されたパワーフック関数を呼び出して不整合をなくす処理を適宜に行わせることができるため、省エネ中に電源をOFFしたデバイスを省エネ復帰後に問題なく使用することができる。   In the image processing apparatus of the present invention, a power hook function for calling a callback function provided in each device driver is registered in the power hook queue for each energy saving control mode at the time of initialization of each device driver. In addition, it is possible to call the power hook function registered in the power hook queue at the time of energy saving recovery and to appropriately perform the process of eliminating inconsistencies. it can.

以下、本発明の好適な実施形態につき説明する。   Hereinafter, preferred embodiments of the present invention will be described.

図1は本発明の一実施形態にかかる画像処理装置1の構成例を示す図である。   FIG. 1 is a diagram illustrating a configuration example of an image processing apparatus 1 according to an embodiment of the present invention.

図1において、画像処理装置1は、システム制御を行うSCS(System Control Service)2と、OS(Operating System)3内に設けられる、省エネ制御を行うSTRドライバ4と、HDD、ビデオ(回路)、圧縮伸張器、回転器、合成器、MAC、USB、操作部、SDカード、パワーマネジメント(回路)、WatchDog等の各種デバイスのデバイスドライバ5と、省エネ移行・復帰における各デバイスドライバ5の整合性確保のための処理を行うパワーフックシステム6とを備えている。また、パワーフックシステム6は主たる処理を行うパワーフック処理部7と、パワーフック関数を管理するパワーフックキュー8とを備えている。なお、画像処理装置1におけるその他の部分(エンジン、アプリケーション等)は図示を省略している。   In FIG. 1, an image processing apparatus 1 includes an SCS (System Control Service) 2 that performs system control, an STR driver 4 that performs energy-saving control, and an HDD, a video (circuit), an OS (Operating System) 3. Ensuring consistency between device driver 5 of various devices such as compression / decompression device, rotator, synthesizer, MAC, USB, operation unit, SD card, power management (circuit), WatchDog, etc. And a power hook system 6 that performs processing for the above. The power hook system 6 includes a power hook processing unit 7 that performs main processing and a power hook queue 8 that manages a power hook function. The other parts (engine, application, etc.) in the image processing apparatus 1 are not shown.

図2は画像処理装置1のソフトウェア構成を示す図である。   FIG. 2 is a diagram illustrating a software configuration of the image processing apparatus 1.

図2において、この画像処理装置1は、白黒ラインプリンタ(B&W LP)301、カラーラインプリンタ(Color LP)302、その他ハードウェアリソース303などを有するとともに、ソフトウェア群310は、プラットホーム320およびアプリケーション340からなる。   In FIG. 2, the image processing apparatus 1 includes a monochrome line printer (B & W LP) 301, a color line printer (Color LP) 302, and other hardware resources 303, and a software group 310 includes a platform 320 and an application 340. Become.

プラットホーム320は、汎用OS321と、共通システムサービス330と、アプリサービス329とで形成される。なお、このプラットホーム320は、あらかじめ定義された関数によりアプリケーション340からの処理要求を受信可能とするアプリケーションプログラムインターフェースを有する。   The platform 320 includes a general-purpose OS 321, a common system service 330, and an application service 329. The platform 320 has an application program interface that can receive a processing request from the application 340 using a predefined function.

汎用OS321は、UNIX(登録商標)などの汎用オペレーティングシステムであり、プラットホーム320並びにアプリケーション340の各ソフトウェアをそれぞれプロセスとして並列実行する。オープンソースのUNIX(登録商標)を用いることにより、プログラムの安全性を確保できるとともに、ネットワーク対応可能となり、ソースコードの入手も容易となる。さらに、OS、TCP/IPのロイヤリティが不要であり、アウトソーシングも容易となる。   The general-purpose OS 321 is a general-purpose operating system such as UNIX (registered trademark), and executes the software of the platform 320 and the application 340 in parallel as processes. By using open source UNIX (registered trademark), the safety of the program can be secured, the network can be supported, and the source code can be easily obtained. Furthermore, OS and TCP / IP royalties are unnecessary, and outsourcing is easy.

共通システムサービス330は、アプリケーション340に対して基本的な共通サービスを提供するものであり、アプリケーション330からの処理要求を解釈して、ハードウェア資源の獲得要求を発生させる下記に示すコントロールサービスと、一または複数のハードウェア資源の管理をおこない、コントロールサービスからの獲得要求を調停するシステムリソースマネージャー(SRM(SystemResource Manager)323)とを有する。   The common system service 330 provides a basic common service to the application 340, interprets a processing request from the application 330, and generates a hardware resource acquisition request as described below. And a system resource manager (SRM (System Resource Manager) 323) that manages one or a plurality of hardware resources and arbitrates acquisition requests from the control service.

このコントロールサービスは、複数のサービスモジュールにより形成され、具体的には、SCS(System Control Service)322と、ECS(Engine Control Service)324と、MCS(Memory Control Service)325と、OCS(Operation panel Control Service)326と、FCS(FAX Control Service)327と、NCS(Network Control Service)328とがある。   This control service is formed by a plurality of service modules. Specifically, an SCS (System Control Service) 322, an ECS (Engine Control Service) 324, an MCS (Memory Control Service) 325, and an OCS (Operation Panel Control). Service) 326, FCS (FAX Control Service) 327, and NCS (Network Control Service) 328.

SRM323は、SCS322とともにシステムの制御およびリソースの管理をおこなうものであり、スキャナ部やプリンタ部などのエンジン、メモリ、HDDファイル、ホストI/O(セントロI/F、ネットワークI/F、IEEE1394I/F、RS232CI/Fなど)のハードウェア資源を利用する上位層からの要求にしたがって調停をおこない、実行制御する。   The SRM 323 performs system control and resource management together with the SCS 322, and includes engines such as a scanner unit and a printer unit, memory, HDD files, host I / O (Centro I / F, network I / F, IEEE 1394 I / F). , RS232CI / F, etc.) arbitration is performed according to a request from an upper layer using hardware resources, and execution control is performed.

具体的には、このSRM323は、要求されたハードウェア資源が利用可能であるかどうか(他の要求により利用されていないかどうか)を判断し、利用可能であれば要求されたハードウェア資源が利用可能である旨を上位層に伝える。また、上位層からの要求に対してハードウェア資源の利用スケジューリングをおこない、要求内容(たとえば、プリンタエンジンによる紙搬送と作像動作、メモリ確保、ファイル生成など)を直接実施するようにしてもよい。   Specifically, the SRM 323 determines whether the requested hardware resource is available (whether it is not used by another request), and if it is available, the requested hardware resource is Tell the upper layer that it is available. Also, hardware resource usage scheduling may be performed in response to a request from an upper layer, and the requested contents (for example, paper conveyance and image forming operation by the printer engine, memory allocation, file generation, etc.) may be directly executed. .

SCS322は、(1)アプリ管理、(2)操作部制御、(3)システム画面表示(ジョブリスト画面、カウンタ表示画面など)、(4)LED表示、(5)リソース管理、(6)割り込みアプリ制御をおこなう。具体的には、(1)アプリ管理では、アプリの登録と、その情報を他のアプリに通知する処理をおこなう。登録されたアプリに対しては、システムの設定やアプリからの要求設定に応じてエンジン状態を通知する。また、登録済みのアプリに対しては、電力モード移行の問い合わせ、割り込みモードなど、システムの状態遷移のための可否問い合わせをおこなう。   The SCS 322 includes (1) application management, (2) operation unit control, (3) system screen display (job list screen, counter display screen, etc.), (4) LED display, (5) resource management, and (6) interrupt application. Take control. Specifically, in (1) application management, processing for registering an application and notifying other applications of the information is performed. For the registered application, the engine state is notified according to the system setting or the request setting from the application. For registered applications, an inquiry about whether or not to change the state of the system, such as an inquiry about power mode transition and an interrupt mode, is made.

また、(2)操作部制御では、アプリの操作部使用権の排他制御をおこなう。そして、操作部の使用権を持つアプリへ操作部ドライバ(OCS)からのキー情報を排他的に通知する。このキー情報は、アプリ切替中などのシステムの状態遷移に応じて一時的に通知を停止するマスク制御をおこなう。   In (2) operation unit control, exclusive control of the operation unit usage right of the application is performed. Then, the key information from the operation unit driver (OCS) is exclusively notified to the application having the right to use the operation unit. This key information performs mask control for temporarily stopping notification according to system state transition such as during application switching.

また、(3)システム画面表示では、操作部使用権を持つアプリからの要求内容に応じて、エンジン状態に対応する警告画面の表示をおこなう。これらのなかには、利用者制限画面などアプリの状態に応じて警告表示をオン/オフするものもある。エンジン状態以外では、ジョブの予約・実行状況を表示するためのジョブリスト画面、トータルカウンタ類を表示するためのカウンタ画面、CSSの通報中を示す画面の表示制御をおこなう。これらのシステム画面表示に関しては、アプリへ操作部使用権の解放を要求せず、アプリ画面を覆うシステム画面として描画をおこなう。   In (3) system screen display, a warning screen corresponding to the engine state is displayed according to the content of a request from an application having an operation unit usage right. Some of them turn on / off warning display according to the state of the application such as a user restriction screen. In a state other than the engine state, display control of a job list screen for displaying job reservation / execution status, a counter screen for displaying total counters, and a screen indicating that CSS is being reported is performed. With respect to these system screen displays, drawing is performed as a system screen that covers the application screen without requesting the application to release the operation unit usage right.

また、(4)LED表示では、警告LED、アプリキーなどのシステムLEDの表示制御をおこなう。アプリ固有のLEDについては、アプリが直接表示用ドライバを使用して制御する。   In (4) LED display, display control of system LEDs such as warning LEDs and application keys is performed. The application-specific LED is directly controlled by the application using a display driver.

また、(5)リソース管理では、アプリ(ECS)がジョブを実行するにあたって、排他しなければならないエンジンリソース(スキャナ、ステープルなど)の排他制御のためのサービスをおこない、(6)割り込みアプリ制御では、特定のアプリを優先動作せさるための制御・サービスをおこなう。   In (5) resource management, a service for exclusive control of engine resources (scanners, staples, etc.) that must be exclusive when an application (ECS) executes a job is provided. (6) In interrupt application control, Control and service to make certain applications have priority operation.

ECS324は、白黒ラインプリンタ(B&W LP)301、カラーラインプリンタ(Color LP)302、その他ハードウェアリソース303などのエンジンを制御するものであり、画像読み込みと印刷動作、状態通知、ジャムリカバリなどをおこなう。   The ECS 324 controls engines such as a monochrome line printer (B & W LP) 301, a color line printer (Color LP) 302, and other hardware resources 303, and performs image reading and printing operations, status notification, jam recovery, and the like. .

具体的には、アプリケーション340から受け取ったジョブモードの指定にしたがい、印刷要求をSRM323に順次発行していくことで、一連のコピー/スキャン/印刷動作を実現する。このECS324が取り扱う対象のジョブは、画像入力デバイスにスキャナ(SCANNER)が指定されているか、または、画像出力デバイスにプロッタ(PLOTTER)が指定されているものとする。   Specifically, a series of copy / scan / print operations are realized by sequentially issuing print requests to the SRM 323 in accordance with the job mode designation received from the application 340. In the job to be handled by the ECS 324, it is assumed that a scanner (SCANNER) is designated as the image input device or a plotter (PLOTTER) is designated as the image output device.

たとえば、コピー動作の場合には「SCANNER → PLOTTER」と指定され、ファイル蓄積の場合には「SCANNER → MEMORY」と指定され、ファクシミリ送信の場合には「SCANNER → FAX_IN」と指定される。また、蓄積ファイル印刷またはプリンタアプリ311からの印刷の場合には「MEMORY → PLOTTER」と指定され、ファクシミリ受信の場合には「FAX_OUT → PLOTTER」と指定される。   For example, “SCANNER → PLOTTER” is specified for a copy operation, “SCANNER → MEMORY” is specified for file storage, and “SCANNER → FAX_IN” is specified for facsimile transmission. In addition, “MEMORY → PLOTTER” is designated for stored file printing or printing from the printer application 311, and “FAX_OUT → PLOTTER” is designated for facsimile reception.

なお、ジョブの定義はアプリケーションによって異なるが、ここでは利用者が取り扱う1セットの画像群に対する処理動作を1ジョブと定義する。たとえば、コピーのADF(Automatic Document Feeder)モードの場合は、原稿台に置かれた1セットの原稿を読み取る動作が1ジョブとなり、圧板モードは最終原稿が確定するまでの読み取り動作が1ジョブとなる。また、コピーアプリ312の場合には、一束の原稿をコピーする動作が1ジョブとなり、ファックスアプリ313の場合には、1文書の送信動作または1文書の受信動作が1ジョブとなり、プリンタアプリの場合には、1文書の印刷動作が1ジョブとなる。   Although the definition of the job varies depending on the application, here, the processing operation for one set of image groups handled by the user is defined as one job. For example, in the case of a copy ADF (Automatic Document Feeder) mode, an operation for reading one set of documents placed on the document table is one job, and in the pressure plate mode, a reading operation until the final document is determined is one job. . In the case of the copy application 312, the operation of copying a bundle of documents is one job, and in the case of the fax application 313, the transmission operation of one document or the reception operation of one document is one job. In this case, the printing operation for one document is one job.

MCS325は、メモリ制御をおこなうものであり、具体的には、画像メモリの取得および開放、ハードディスク装置(HDD)の利用、画像データの圧縮および伸張などをおこなう。   The MCS 325 performs memory control. Specifically, the MCS 325 acquires and releases an image memory, uses a hard disk device (HDD), compresses and decompresses image data, and the like.

ここで、ハードディスク装置に蓄積される画像データファイルとして必要な情報を管理するために必要な機能としては、(1)ファイルアクセス(生成/削除/オープン/クローズ)機能(排他処理を含む)、(2)ファイル名称/ID管理(ファイル/ユーザ)/パスワード管理/蓄積時刻管理/ページ数/データフォーマット(圧縮方式など)/アクセス制限/作成アプリ/印刷条件管理などの各種ファイル属性管理(物理的なページ単位の画像データのファイルとしての管理)、(3)ファイル単位およびページ単位での結合/挿入/切断機能、(4)ファイルソート機能(蓄積時刻順/ユーザID順など)、(5)全ファイル情報の通知(表示/検索用)、(6)リカバリ機能(破損ファイルのファイル/ページ破棄)、(7)ファイルの自動削除機能などがある。   Here, as functions necessary for managing information necessary as image data files stored in the hard disk device, (1) file access (generation / deletion / open / close) function (including exclusive processing), ( 2) Various file attribute management (physical) such as file name / ID management (file / user) / password management / accumulation time management / number of pages / data format (compression method, etc.) / Access restriction / creation application / print condition management (Management of image data in page units), (3) Join / insert / cut-off function in file units and page units, (4) File sort functions (accumulation time order / user ID order, etc.), (5) All File information notification (for display / search), (6) Recovery function (file / page discard of damaged file), (7) File Automatic deletion function of the Le and the like.

また、RAMなどのメモリへ画像データを保持しアクセスするための機能としては、(1)アプリケーション340からのファイルおよびページ/バンド属性情報を取得する機能、(2)アプリケーション340からの画像データ領域の確保、解放、リード(Read)、ライト(Write)機能などがある。   The functions for holding and accessing image data to a memory such as a RAM include (1) a function for acquiring file and page / band attribute information from the application 340, and (2) an image data area from the application 340. There are secure, release, read, and write functions.

OCS326は、オペレータと本体制御間の情報伝達手段となる操作パネルを制御するモジュールであり、オペレータのキー操作イベントを本体制御に通知する処理、各アプリがGUIを構築するためのライブラリ関数を提供する処理、構築されたGUI情報をアプリ別に管理する処理、操作パネル上への表示反映処理などをおこなう。   The OCS 326 is a module that controls an operation panel serving as information transmission means between the operator and the main body control, and provides a process for notifying the main body control of an operator's key operation event and a library function for each application to construct a GUI. Processing, processing for managing the constructed GUI information for each application, display reflection processing on the operation panel, and the like are performed.

このOCS326は、(1)GUI構築のためのライブラリの提供機能、(2)操作部ハードウェア資源管理機能、(3)VRAM描画/LCD表示機能(ハードウェア表示、表示アプリ切替、表示言語切替、ウインドウ暗色表示、メッセージ/アイコンブリンク表示、メッセージの連結表示)、(4)ハードキー入力検出機能、(5)タッチパネルキー入力検出機能、(6)LED出力機能、(7)ブザー出力機能などを有する。   The OCS 326 includes (1) a library providing function for GUI construction, (2) an operation unit hardware resource management function, (3) a VRAM drawing / LCD display function (hardware display, display application switching, display language switching, Window dark color display, message / icon blink display, message connection display), (4) hard key input detection function, (5) touch panel key input detection function, (6) LED output function, (7) buzzer output function, etc. .

FCS327は、システムコントローラの各アプリ層からPSTN/ISDN網を使ったファクシミリ送受信、BKM(バックアップSRAM)で管理されている各種ファクシミリデータの登録/引用、ファクシミリ読み取り、ファクシミリ受信印刷、融合送受信をおこなうためのAPIを提供するものである。   FCS 327 performs facsimile transmission / reception using the PSTN / ISDN network from each application layer of the system controller, registration / quotation of various facsimile data managed by BKM (backup SRAM), facsimile reading, facsimile reception printing, and fusion transmission / reception. API is provided.

具体的には、このFCS327は、(1)アプリ層から送信依頼されたドキュメントをPSTN/ISDN網を使ってファクシミリ受信機に送信をおこなう送信機能、(2)PSTN/ISDN網から受信したファクシミリ受信画面、各種レポート類を各アプリ層に転送、印刷をおこなう受信機能、(3)ファックスボードに記憶されている電話帳、グループ情報などのファクシミリ管理項目の引用や登録をおこなう電話帳引用・登録機能、(4)ファックスボードに搭載されているBKMに記憶されている送受信結果履歴情報などを必要としているアプリに通知するファックスログ通知機能、(5)ファックスボードの状態変化があったときにFCSに登録してあるアプリに変化のあったイベントを通知するイベント通知機能などを有する。   Specifically, the FCS 327 includes (1) a transmission function for transmitting a document requested to be transmitted from the application layer to a facsimile receiver using the PSTN / ISDN network, and (2) a facsimile reception received from the PSTN / ISDN network. Receiving function for transferring and printing screens and various reports to each application layer, (3) Phonebook quoting / registration function for quoting and registering facsimile management items such as phonebook and group information stored in the fax board (4) Fax log notification function for notifying the application that needs the transmission / reception result history information stored in the BKM installed on the fax board, (5) When the status of the fax board changes, the FCS Has an event notification function that notifies registered applications of events that have changed

NCS328は、ネットワークI/Oを必要とするアプリケーションに対して共通に利用できるサービスを提供するためのモジュール群であり、ネットワーク側から各プロトコルによって受信したデータを各アプリケーションに振り分けたり、アプリケーションからデータをネットワーク側に送信する際の仲介をおこなう。具体的には、ftpd、httpd、lpd、snmpd、telnetd、smtpdなどのサーバデーモンや、同プロトコルのクライアント機能などを有する。   The NCS 328 is a module group for providing a service that can be commonly used for applications requiring network I / O. Data received from the network side according to each protocol is distributed to each application, and data from the application is distributed. Mediates when sending to the network side. Specifically, it has server daemons such as ftpd, httpd, lpd, snmpd, telnetd, and smtpd, and client functions of the same protocol.

アプリサービス329は、プラットホーム320を形成する共通サービスの一つであるが、上記共通システムサービス330を形成するECS324、MCS325、OCS326、FCS327、NCS328、SRM323およびSCS322とは異なり、アプリケーション340側に立ったサービスを提供するものである。   The application service 329 is one of the common services that form the platform 320. Unlike the ECS 324, MCS 325, OCS 326, FCS 327, NCS 328, SRM 323, and SCS 322 that form the common system service 330, the application service 329 stands on the application 340 side. It provides services.

言い換えると、このアプリサービス329は、アプリケーション340と共通システムサービス330との間に介在し、両者の間の橋渡しを担う役割を果たしている。   In other words, the application service 329 is interposed between the application 340 and the common system service 330, and plays a role of bridging between the two.

具体的には、このアプリサービス329は、コピーアプリ312、ファックスアプリ313、スキャナアプリ314などが、本来おこなうべきジョブの生成やデータ通信の機能を一括して代行する。このため、コピーアプリ312、ファックスアプリ313、スキャナアプリ314などは、画面やキー操作を対象とすれば足りるので、アプリの開発効率が向上する。   Specifically, the application service 329 collectively performs the job generation and data communication functions that the copy application 312, the fax application 313, the scanner application 314, and the like should perform. For this reason, since the copy application 312, the fax application 313, the scanner application 314, and the like need only be targeted for screens and key operations, application development efficiency is improved.

アプリケーション340は、ページ記述言語(PDL)、PCLおよびポストスクリプト(PS)を有するプリンタ用のアプリケーションであるプリンタアプリ311と、コピー用アプリケーションであるコピーアプリ312と、ファクシミリ用アプリケーションであるファックスアプリ313と、スキャナ用アプリケーションであるスキャナアプリ314と、ネットファイル用アプリケーションであるネットファイルアプリ315と、工程検査用アプリケーションである工程検査アプリ316とを有する。   The application 340 includes a printer application 311 that is a printer application having a page description language (PDL), PCL, and postscript (PS), a copy application 312 that is a copy application, and a fax application 313 that is a facsimile application. A scanner application 314 that is a scanner application, a net file application 315 that is a net file application, and a process inspection application 316 that is a process inspection application.

各アプリケーション311〜316は、プラットホーム320上の各プロセスを利用して動作実行し得るため、画面制御およびキー操作制御などをおこなう画面表示制御プログラムがその主体となる。特に、アプリサービス329がプラットホーム320上に設けられているので、ジョブの生成やデータ通信の機能を設ける必要がない。なお、NCS328により接続されたネットワークを介して新たなアプリケーションをネットワーク経由で搭載することもできる。また、各アプリケーションはアプリケーションごとに追加または削除することができる。   Since each of the applications 311 to 316 can execute an operation by using each process on the platform 320, a screen display control program for performing screen control, key operation control, and the like is the main component. In particular, since the application service 329 is provided on the platform 320, there is no need to provide job generation and data communication functions. Note that a new application can also be installed via the network connected by the NCS 328. Each application can be added or deleted for each application.

図3は画像処理装置1のハードウェア構成を示す図である。   FIG. 3 is a diagram illustrating a hardware configuration of the image processing apparatus 1.

図3において、画像処理装置1は、CPU902、SDRAM903、フラッシュメモリ904およびHD905などをASIC901に接続したコントローラボード900と、オペレーションパネル910と、ファックスコントロールユニット(FCU)920と、USB930と、IEEE1394940と、プリンタ950とからなる。   3, the image processing apparatus 1 includes a controller board 900 in which a CPU 902, an SDRAM 903, a flash memory 904, an HD 905, and the like are connected to an ASIC 901, an operation panel 910, a fax control unit (FCU) 920, a USB 930, an IEEE1394 940, A printer 950.

そして、オペレーションパネル910はASIC901に直接接続され、FCU920、USB930、IEEE1394940およびプリンタ950は、PCIバスを介してASIC901に接続されている。   The operation panel 910 is directly connected to the ASIC 901, and the FCU 920, USB 930, IEEE1394 940, and printer 950 are connected to the ASIC 901 via the PCI bus.

図4は図3に示したASIC901の細部構成を示すブロック図である。   FIG. 4 is a block diagram showing a detailed configuration of the ASIC 901 shown in FIG.

図4において、このASIC901は、CPUインターフェース(CPU I/F)、SDRAMインターフェース(SDRAM I/F)、ローカルバスインターフェース(Local BUS I/F)、PCIインターフェース(PCI I/F)、1284、MAC(Media Access Controllor)、I/O、OPEインターフェース(OPE I/F)、HDインターフェース(HD I/F)、Comp/de-comp、Rotateによって形成されている。   4, the ASIC 901 includes a CPU interface (CPU I / F), an SDRAM interface (SDRAM I / F), a local bus interface (Local BUS I / F), a PCI interface (PCI I / F), 1284, a MAC ( Media Access Controllor), I / O, OPE interface (OPE I / F), HD interface (HD I / F), Comp / de-comp, and Rotate.

かかるハードウェア構成を採用することにより、デバイスの共有化による低コスト設計が可能となるとともに、アプリ間融合が容易となる。また、低速機から高速機までスケーラブルなアーキテクチャーとなり、各アプリで使用するハード/ソフトが共通化され、開発効率を向上させることができる。また、新規機能に対する対応が容易となる。   By adopting such a hardware configuration, it is possible to design at low cost by sharing devices and to facilitate inter-application fusion. In addition, the architecture is scalable from low speed machines to high speed machines, and hardware / software used by each application is shared, so that development efficiency can be improved. Moreover, it becomes easy to deal with new functions.

図5は省エネ移行および省エネ復帰の処理例を示すシーケンス図である。   FIG. 5 is a sequence diagram showing a processing example of energy saving transition and energy saving return.

図5において、各デバイスドライバ5は初期化時(機器起動時もしくはアタッチ時)にパワーフックシステム6のパワーフック処理部7に対してコールバック関数の登録を要求(powerhook_establish()のコール)する(ステップS101)。パワーフック処理部7はパワーフック関数をパワーフックキュー8に追加し(ステップS102)、登録が完了した旨がデバイスドライバ5まで返される(ステップS103、S104)。   In FIG. 5, each device driver 5 requests the power hook processing unit 7 of the power hook system 6 to register a callback function (call powerhook_establish ()) at the time of initialization (when the device is activated or attached). Step S101). The power hook processing unit 7 adds the power hook function to the power hook queue 8 (step S102), and the fact that the registration is completed is returned to the device driver 5 (steps S103 and S104).

図6はデバイスドライバ5の初期化によりパワーフック関数が登録されたパワーフックキュー8の例を示す図であり、OSが初期化した順に、HDD→ビデオ→圧縮伸張器→回転器→合成器→MAC→USB→操作部→SDカード→パワーマネジメント→WatchDogに対応するパワーフック関数が登録された状態を示している。   FIG. 6 is a diagram showing an example of the power hook queue 8 in which the power hook function is registered by the initialization of the device driver 5. In the order in which the OS is initialized, HDD → video → compressor / decompressor → rotator → synthesizer → It shows a state where a power hook function corresponding to MAC → USB → operation unit → SD card → power management → WatchDog is registered.

図7はパワーフック関数の例を示す図であり、SDカードに対応するパワーフック関数の例を示している。パワーフック関数は、引数で指定されるモード(mode)に応じて所定のコールバック関数を呼び出すようになっており、図示の例では、モードがPWR_SOFTSUSPENDの場合にコールバック関数sdc_suspend(sdc)を呼び出し、モードがPWR_SOFTRESUMEの場合にコールバック関数sdc_resume(sdc)を呼び出すようになっている。   FIG. 7 is a diagram showing an example of a power hook function, and shows an example of a power hook function corresponding to an SD card. The power hook function calls a predetermined callback function according to the mode specified by the argument. In the example shown in the figure, the callback function sdc_suspend (sdc) is called when the mode is PWR_SOFTSUSPEND. The callback function sdc_resume (sdc) is called when the mode is PWR_SOFTRESUME.

なお、デバイスドライバ5側のコールバック関数は、主に次のような処理を行う。
(1)各デバイスの制御レジスタの保存と復元(もしくは省エネ復帰時に制御レジスタの初期値設定のみ)を行なう。
(2)デバイスそのものに状態遷移がある場合、デバイスの制御(割り込み制御)を行なって使用可能な状態に移行させる。
The callback function on the device driver 5 side mainly performs the following processing.
(1) Save and restore the control register of each device (or only set the initial value of the control register when returning from energy saving).
(2) When there is a state transition in the device itself, the device is controlled (interrupt control) to shift to a usable state.

図5に戻り、機器の待機時間が所定値を越えた等の要因によりSTRイベントが発生すると(ステップS105)、SCS2はSTRドライバ4にSTR移行要求(sysarch(STR)をコール)する(ステップS106)。   Returning to FIG. 5, when a STR event occurs due to factors such as the device standby time exceeding a predetermined value (step S105), the SCS 2 makes a STR transition request (calls sysarch (STR)) to the STR driver 4 (step S106). ).

STRドライバ4はパワーフック処理部7に省エネ移行の第1段階であるソフトサスペンドを要求(powerhooks(PWR_SOFTSUSPED)をコール)し(ステップS107)、パワーフック処理部7はパワーフックキュー8にパワーフック関数の呼び出しを要求する(ステップS108)。   The STR driver 4 requests the power hook processing unit 7 for soft suspend (calling powerhooks (PWR_SOFTSUSPED)), which is the first stage of energy saving transition (step S107), and the power hook processing unit 7 stores the power hook function in the power hook queue 8. Is requested (step S108).

パワーフックキュー8はパワーフック関数を実行することで、各デバイスドライバ5に対しモードに応じたコールバック関数の呼び出しを行う(ステップS109)。各デバイスドライバ5ではコールバック関数に応じた処理を行い、処理完了をパワーフックキュー8に伝える(ステップS110)。   The power hook queue 8 calls the callback function corresponding to the mode for each device driver 5 by executing the power hook function (step S109). Each device driver 5 performs processing according to the callback function, and notifies the power hook queue 8 of the completion of processing (step S110).

図8は省エネ移行時のソフトサスペンドのモードにおけるパワーフック関数の実行の例を示す図であり、パワーフックキュー8に登録された順に実行するようにしたものである。図8において網掛けを付したものはソフトサスペンドのモードに対応するコールバック関数がないものを示しており、網掛けを付していないデバイスドライバのみがコールバック関数に応じた処理を行う。なお、パワーフックキュー8に登録された順と逆順に実行するようにしてもよい。また、各デバイスドライバ5が完全に独立した動作をする場合には実行順序を考慮しなくてもよい。   FIG. 8 is a diagram showing an example of the execution of the power hook function in the soft suspend mode at the time of energy saving transition, which is executed in the order registered in the power hook queue 8. In FIG. 8, the shaded portion indicates that there is no callback function corresponding to the soft suspend mode, and only the device driver not shaded performs processing according to the callback function. Note that the processes may be executed in the reverse order of registration in the power hook queue 8. Further, when each device driver 5 operates completely independently, the execution order need not be considered.

図5に戻り、パワーフックキュー8は全てのデバイスドライバ5についての処理を完了すると、その旨をパワーフック処理部7に伝え(ステップS111)、パワーフック処理部7はその旨をSTRドライバ4に伝える(ステップS112)。   Returning to FIG. 5, when the power hook queue 8 completes the processing for all the device drivers 5, the power hook processing unit 7 notifies the power hook processing unit 7 to that effect (step S <b> 111), and the power hook processing unit 7 notifies the STR driver 4 to that effect. Tell (step S112).

次いで、STRドライバ4は割り込み優先度を上げることで、各デバイスドライバ5への他からの割り込みを禁止する(ステップS113)。これは、デバイスそのものに状態遷移がある場合、そのようなデバイスに対応するデバイスドライバ5の処理を続く省エネ移行の第2段階であるサスペンドのモードにおいて行わせることとし、その間のコールバック関数によるデバイスの状態制御処理に支障を与えないようにするためである。なお、WatchDogは定期的にリフレッシュされないと呼び出し元に異常が発生したものとしてリブートを行うものであり、割り込み禁止状態になると誤って異常の発生と認識してしまうため、省エネ移行の第1段階であるソフトサスペンドのモードにおいて停止させるものとする。   Next, the STR driver 4 increases the interrupt priority, thereby prohibiting other interrupts to each device driver 5 (step S113). When there is a state transition in the device itself, the device driver 5 corresponding to such a device is caused to perform in the suspend mode, which is the second stage of energy saving transition, and the device by the callback function during that time. This is to prevent the state control process from being hindered. If WatchDog is not periodically refreshed, it will reboot as if the caller had an error, and if it was interrupt-disabled, it would be mistakenly recognized as an error, so in the first stage of energy-saving transition It shall be stopped in a certain soft suspend mode.

次いで、STRドライバ4はパワーフック処理部7に省エネ移行の第2段階であるサスペンドを要求(powerhooks(PWR_SUSPED)をコール)し(ステップS114)、パワーフック処理部7はパワーフックキュー8にパワーフック関数の呼び出しを要求する(ステップS115)。   Next, the STR driver 4 requests the power hook processing unit 7 to suspend (powerhooks (PWR_SUSPED)), which is the second stage of the energy saving transition (step S114), and the power hook processing unit 7 A function call is requested (step S115).

パワーフックキュー8はパワーフック関数を実行することで、各デバイスドライバ5に対しモードに応じたコールバック関数の呼び出しを行う(ステップS116)。各デバイスドライバ5ではコールバック関数に応じた処理を行い、処理完了をパワーフックキュー8に伝える(ステップS117)。   The power hook queue 8 calls the callback function corresponding to the mode for each device driver 5 by executing the power hook function (step S116). Each device driver 5 performs a process according to the callback function, and notifies the power hook queue 8 of the completion of the process (step S117).

図9は省エネ移行時のサスペンドのモードにおけるパワーフック関数の実行の例を示す図であり、パワーフックキュー8に登録された順に実行される。図9において網掛けを付したものはサスペンドのモードに対応するコールバック関数がないものを示しており、網掛けを付していないデバイスドライバのみがコールバック関数に応じた処理を行う。なお、パワーフックキュー8に登録された順と逆順に実行するようにしてもよい。また、各デバイスドライバ5が完全に独立した動作をする場合には実行順序を考慮しなくてもよい。   FIG. 9 is a diagram showing an example of execution of the power hook function in the suspend mode at the time of energy saving transition, and is executed in the order registered in the power hook queue 8. In FIG. 9, the shaded portion indicates that there is no callback function corresponding to the suspend mode, and only the device driver not shaded performs processing according to the callback function. Note that the processes may be executed in the reverse order of registration in the power hook queue 8. Further, when each device driver 5 operates completely independently, the execution order need not be considered.

図5に戻り、パワーフックキュー8は全てのデバイスドライバ5についての処理を完了すると、その旨をパワーフック処理部7に伝え(ステップS118)、パワーフック処理部7はその旨をSTRドライバ4に伝える(ステップS119)。   Returning to FIG. 5, when the power hook queue 8 completes the processing for all the device drivers 5, the power hook processing unit 7 notifies the power hook processing unit 7 to that effect (step S <b> 118), and the power hook processing unit 7 notifies the STR driver 4 to that effect. Tell (step S119).

その後、STRドライバ4はSTRを実行し(ステップS120)、省エネ状態に入る(ステップS121)。   Thereafter, the STR driver 4 executes STR (step S120) and enters an energy saving state (step S121).

機器へのジョブの投入等により復帰要因が発生すると(ステップS122)、STRドライバ4はWakeupを実行する(ステップS123)。   When a return factor occurs due to a job input to the device (step S122), the STR driver 4 executes a wakeup (step S123).

次いで、STRドライバ4はパワーフック処理部7に省エネ復帰の第1段階であるリジュウムを要求(powerhooks(PWR_RESUME)をコール)し(ステップS124)、パワーフック処理部7はパワーフックキュー8にパワーフック関数の呼び出しを要求する(ステップS125)。   Next, the STR driver 4 requests the power hook processing unit 7 for a resumption which is the first stage of energy saving return (calls powerhooks (PWR_RESUME)) (step S124), and the power hook processing unit 7 loads the power hook to the power hook queue 8. A function call is requested (step S125).

パワーフックキュー8はパワーフック関数を実行することで、各デバイスドライバ5に対しモードに応じたコールバック関数の呼び出しを行う(ステップS126)。各デバイスドライバ5ではコールバック関数に応じた処理を行い、処理完了をパワーフックキュー8に伝える(ステップS127)。   The power hook queue 8 calls the callback function corresponding to the mode for each device driver 5 by executing the power hook function (step S126). Each device driver 5 performs processing according to the callback function, and notifies the power hook queue 8 of the completion of the processing (step S127).

図10は省エネ移行時のリジュウムのモードにおけるパワーフック関数の実行の例を示す図であり、パワーフックキュー8に登録された順とは逆順に実行される。図10において網掛けを付したものはリジュウムのモードに対応するコールバック関数がないものを示しており、網掛けを付していないデバイスドライバのみがコールバック関数に応じた処理を行う。なお、パワーフックキュー8に登録された順に実行するようにしてもよい。また、各デバイスドライバ5が完全に独立した動作をする場合には実行順序を考慮しなくてもよい。   FIG. 10 is a diagram showing an example of execution of the power hook function in the resume mode at the time of energy saving transition, and is executed in the reverse order from the order registered in the power hook queue 8. In FIG. 10, the shaded portion indicates that there is no callback function corresponding to the resume mode, and only the device driver not shaded performs processing according to the callback function. Note that the processes may be executed in the order registered in the power hook queue 8. Further, when each device driver 5 operates completely independently, it is not necessary to consider the execution order.

図5に戻り、パワーフックキュー8は全てのデバイスドライバ5についての処理を完了すると、その旨をパワーフック処理部7に伝え(ステップS128)、パワーフック処理部7はその旨をSTRドライバ4に伝える(ステップS129)。   Returning to FIG. 5, when the power hook queue 8 completes the processing for all the device drivers 5, the power hook processing unit 7 notifies the power hook processing unit 7 to that effect (step S <b> 128), and the power hook processing unit 7 notifies the STR driver 4 to that effect. Tell (step S129).

次いで、STRドライバ4は各デバイスドライバ5への他からの割り込み禁止を解除する(ステップS130)。   Next, the STR driver 4 cancels the prohibition of interrupts to the other device drivers 5 (step S130).

次いで、STRドライバ4はパワーフック処理部7に省エネ復帰の第2段階であるソフトリジュウムを要求(powerhooks(PWR_SOFTRESUME)をコール)し(ステップS131)、パワーフック処理部7はパワーフックキュー8にパワーフック関数の呼び出しを要求する(ステップS132)。   Next, the STR driver 4 requests the power hook processing unit 7 for soft resume, which is the second stage of energy saving return (calls powerhooks (PWR_SOFTRESUME)) (step S131), and the power hook processing unit 7 supplies power to the power hook queue 8. A hook function call is requested (step S132).

パワーフックキュー8はパワーフック関数を実行することで、各デバイスドライバ5に対しモードに応じたコールバック関数の呼び出しを行う(ステップS133)。各デバイスドライバ5ではコールバック関数に応じた処理を行い、処理完了をパワーフックキュー8に伝える(ステップS134)。   The power hook queue 8 calls the callback function corresponding to the mode for each device driver 5 by executing the power hook function (step S133). Each device driver 5 performs processing according to the callback function, and notifies the power hook queue 8 of the completion of processing (step S134).

図11は省エネ移行時のソフトリジュウムのモードにおけるパワーフック関数の実行の例を示す図であり、パワーフックキュー8に登録された順とは逆順に実行される。図11において網掛けを付したものはソフトリジュウムのモードに対応するコールバック関数がないものを示しており、網掛けを付していないデバイスドライバのみがコールバック関数に応じた処理を行う。なお、パワーフックキュー8に登録された順に実行するようにしてもよい。また、各デバイスドライバ5が完全に独立した動作をする場合には実行順序を考慮しなくてもよい。   FIG. 11 is a diagram showing an example of execution of the power hook function in the soft resume mode at the time of energy saving transition, and is executed in the reverse order from the order registered in the power hook queue 8. In FIG. 11, the shaded portion indicates that there is no callback function corresponding to the soft resume mode, and only the device driver not shaded performs processing according to the callback function. Note that the processes may be executed in the order registered in the power hook queue 8. Further, when each device driver 5 operates completely independently, the execution order need not be considered.

図5に戻り、パワーフックキュー8は全てのデバイスドライバ5についての処理を完了すると、その旨をパワーフック処理部7に伝え(ステップS135)、パワーフック処理部7はその旨をSTRドライバ4に伝える(ステップS136)。   Returning to FIG. 5, when the power hook queue 8 completes the processing for all the device drivers 5, the power hook processing unit 7 notifies the power hook processing unit 7 to that effect (step S <b> 135), and the power hook processing unit 7 notifies the STR driver 4 to that effect. Tell (step S136).

STRドライバ4はSCS2にSTR完了を伝え(ステップS137)、処理を終了する。   The STR driver 4 notifies the SCS 2 of the completion of STR (step S137) and ends the process.

図12は優先度レベル毎に区分されたパワーフックキュー8の例を示す図であり、最も優先度レベルの高い「0」から最も低い「3」までの4段階に分けた例を示している。例えば、「0」にはWatchdogタイマが登録され、「1」には主に画像処理装置として外部からの入力を受けるドライバが登録され、「2」にはその他のドライバが登録され、「3」には省エネの移行・復帰を行うドライバが登録される。なお、優先度レベルは各デバイスドライバ5からパワーフックシステム6にパワーフック関数の登録を要求する際に指定することで、対応する優先度レベルに順に登録される。   FIG. 12 is a diagram showing an example of the power hook queue 8 divided for each priority level, and shows an example divided into four stages from “0” having the highest priority level to “3” having the lowest priority level. . For example, a watchdog timer is registered in “0”, a driver that mainly receives an input from the outside as an image processing apparatus is registered in “1”, other drivers are registered in “2”, and “3”. Registers a driver that performs energy saving transition / recovery. The priority level is specified when each device driver 5 requests the power hook system 6 to register the power hook function, and the priority level is sequentially registered in the corresponding priority level.

図13は優先度レベル順にパワーフック関数を呼び出すプログラムの例を示す図であり、powerhooks(モード)をコールされたパワーフック処理部7の内部において実行されるプログラムの例である。図13において、(a)はソフトサスペンドのモードにおける場合、(b)はサスペンドのモードにおける場合、(c)はリジュウムのモードにおける場合、(d)はソフトリジュウムのモードにおける場合を示している。   FIG. 13 is a diagram showing an example of a program that calls the power hook functions in order of priority level, and is an example of a program that is executed inside the power hook processing unit 7 that has called powerhooks (mode). In FIG. 13, (a) shows the case in the soft suspend mode, (b) shows the case in the suspend mode, (c) shows the case in the resume mode, and (d) shows the case in the soft resume mode.

以上、本発明の好適な実施の形態により本発明を説明した。ここでは特定の具体例を示して本発明を説明したが、特許請求の範囲に定義された本発明の広範な趣旨および範囲から逸脱することなく、これら具体例に様々な修正および変更を加えることができることは明らかである。すなわち、具体例の詳細および添付の図面により本発明が限定されるものと解釈してはならない。   The present invention has been described above by the preferred embodiments of the present invention. While the invention has been described with reference to specific embodiments, various modifications and changes may be made to the embodiments without departing from the broad spirit and scope of the invention as defined in the claims. Obviously you can. In other words, the present invention should not be construed as being limited by the details of the specific examples and the accompanying drawings.

本発明の一実施形態にかかる画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus concerning one Embodiment of this invention. 画像処理装置のソフトウェア構成を示す図である。It is a figure which shows the software structure of an image processing apparatus. 画像処理装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of an image processing apparatus. ASICの細部構成を示すブロック図である。It is a block diagram which shows the detailed structure of ASIC. 省エネ移行および省エネ復帰の処理例を示すシーケンス図である。It is a sequence diagram which shows the example of a process of energy saving transition and energy saving return. デバイスドライバの初期化によりパワーフック関数が登録されたパワーフックキューの例を示す図である。It is a figure which shows the example of the power hook queue to which the power hook function was registered by initialization of a device driver. パワーフック関数の例を示す図である。It is a figure which shows the example of a power hook function. 省エネ移行時のソフトサスペンドのモードにおけるパワーフック関数の実行の例を示す図である。It is a figure which shows the example of execution of the power hook function in the mode of the soft suspend at the time of energy saving transition. 省エネ移行時のサスペンドのモードにおけるパワーフック関数の実行の例を示す図である。It is a figure which shows the example of execution of the power hook function in the suspend mode at the time of energy saving transition. 省エネ移行時のリジュウムのモードにおけるパワーフック関数の実行の例を示す図である。It is a figure which shows the example of execution of the power hook function in the mode of the resume at the time of energy saving transition. 省エネ移行時のソフトリジュウムのモードにおけるパワーフック関数の実行の例を示す図である。It is a figure which shows the example of execution of the power hook function in the mode of a soft resume at the time of energy saving transition. 優先度レベル毎に区分されたパワーフックキューの例を示す図である。It is a figure which shows the example of the power hook queue divided for every priority level. 優先度レベル順にパワーフック関数を呼び出すプログラムの例を示す図である。It is a figure which shows the example of the program which calls a power hook function in order of a priority level.

符号の説明Explanation of symbols

1 画像処理装置
2 SCS
3 OS
4 STRドライバ
5 デバイスドライバ
6 パワーフックシステム
7 パワーフック処理部
8 パワーフックキュー
1 Image processing device 2 SCS
3 OS
4 STR Driver 5 Device Driver 6 Power Hook System 7 Power Hook Processing Unit 8 Power Hook Queue

Claims (12)

画像処理を実行するための各種の複数のデバイスと、個々の上記デバイスに対応して設けられた、個々の上記デバイスの制御を行う複数のデバイスドライバとを備えた画像処理装置であって、
個々の上記デバイスドライバは、省エネ制御のモード毎に対応する上記デバイスの制御レジスタの保存と復元を行うコールバック関数を備え、
上記画像処理装置は、
上記コールバック関数を呼び出すパワーフック関数が登録されるデータ領域であるパワーフックキューと、
上記画像処理装置の起動時における上記デバイスドライバを利用可能にするための前処理である初期化時に、当該デバイスドライバに対応する上記パワーフック関数を上記パワーフックキューに登録する手段と、
省エネ移行時に上記パワーフックキューに登録された上記パワーフック関数を順次に呼び出して対応する上記デバイスドライバの上記コールバック関数を起動する手段と、
省エネ復帰時に上記パワーフックキューに登録された上記パワーフック関数を順次に呼び出して対応する上記デバイスドライバの上記コールバック関数を起動する手段とを備えたことを特徴とする画像処理装置。
A plurality of devices various for performing image processing, provided corresponding to each of the device, an image processing apparatus including a plurality of device drivers for controlling the individual of the device,
Each of the device drivers has a callback function for saving and restoring the control register of the device corresponding to each mode of energy saving control,
The image processing apparatus includes:
A power hook queue that is a data area in which a power hook function for calling the callback function is registered;
During initialization at the time of activation is pretreatment for making available the device driver of the image processing apparatus, means for registering the power hook function corresponding to the device driver in the power hook queue,
It means for activating the call-back function of the device driver corresponding to sequentially call the power hook function registered in the power hook queue during energy saving mode,
The image processing apparatus characterized by comprising a means for activating the call-back function of the device driver corresponding to sequentially call the power hook function registered in the power hook queue when energy-saving recovery.
請求項1に記載の画像処理装置において、
省エネ移行時および省エネ復帰時に各デバイスドライバへの割り込みを禁止する期間を設けたことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
An image processing apparatus having a period during which interruption to each device driver is prohibited at the time of energy saving transition and energy saving return.
請求項1または2のいずれか一項に記載の画像処理装置において、
上記パワーフックキューは優先度レベル毎に区分され、
省エネ移行時および省エネ復帰時に優先度レベルの高い順に上記パワーフックキューに登録されたパワーフック関数を呼び出すことを特徴とする画像処理装置。
The image processing apparatus according to claim 1, wherein:
The power hook queue is divided by priority level,
An image processing apparatus, wherein power hook functions registered in the power hook queue are called in descending order of priority level during energy saving transition and energy saving return.
請求項1ないし3のいずれか一項に記載の画像処理装置において、
上記各デバイスドライバの初期化時における上記パワーフックキューのパワーフック関数の登録は上記デバイスドライバの初期化の順に行い、
省エネ移行時における上記パワーフックキューのパワーフック関数の呼び出しは登録順もしくは登録と逆順に行い、
省エネ復帰時における上記パワーフックキューのパワーフック関数の呼び出しは登録と逆順もしくは登録順に行うことを特徴とする画像処理装置。
In the image processing device according to any one of claims 1 to 3,
Registration of the power hook function of the power hook queue at the time of initialization of each device driver is performed in the order of initialization of the device driver,
Call the power hook function of the above power hook queue at the time of energy saving transition in the order of registration or in reverse order of registration,
An image processing apparatus, wherein the power hook function of the power hook queue is called in reverse order of registration or in the order of registration at the time of energy saving return.
画像処理を実行するための各種の複数のデバイスと、個々の上記デバイスに対応して設けられた、個々の上記デバイスの制御を行う複数のデバイスドライバとを備えた画像処理装置の制御方法であって、
個々の上記デバイスドライバは、省エネ制御のモード毎に対応する上記デバイスの制御レジスタの保存と復元を行うコールバック関数を備え、
上記画像処理装置は、上記コールバック関数を呼び出すパワーフック関数が登録されるデータ領域であるパワーフックキューを備え、
上記制御方法は、
上記画像処理装置の起動時における上記デバイスドライバを利用可能にするための前処理である初期化時に、当該デバイスドライバに対応する上記パワーフック関数を上記パワーフックキューに登録する工程と、
省エネ移行時に上記パワーフックキューに登録された上記パワーフック関数を順次に呼び出して対応する上記デバイスドライバの上記コールバック関数を起動する工程と、
省エネ復帰時に上記パワーフックキューに登録された上記パワーフック関数を順次に呼び出して対応する上記デバイスドライバの上記コールバック関数を起動する工程とを備えたことを特徴とする画像処理装置の省エネ制御方法。
A plurality of devices various for performing image processing, there in the control method of the individual provided corresponding to the device, an image processing apparatus including a plurality of device drivers for controlling the individual of the device And
Each of the device drivers has a callback function for saving and restoring the control register of the device corresponding to each mode of energy saving control,
The image processing apparatus includes a power hook queue that is a data area in which a power hook function for calling the callback function is registered,
The above control method is
During initialization at the time of activation is pretreatment for making available the device driver of the image processing apparatus, a step of registering the power hook function corresponding to the device driver in the power hook queue,
A step of activating the callback function of the device driver corresponding to sequentially call the power hook function registered in the power hook queue during energy saving mode,
Energy saving control method for an image processing apparatus characterized by comprising a step of activating the callback function of the device driver corresponding to sequentially call the power hook function registered in the power hook queue during energy saving return .
請求項5に記載の画像処理装置の省エネ制御方法において、
省エネ移行時および省エネ復帰時に各デバイスドライバへの割り込みを禁止する期間を設けたことを特徴とする画像処理装置の省エネ制御方法。
In the energy-saving control method of the image processing apparatus of Claim 5,
An energy-saving control method for an image processing apparatus, characterized by providing a period during which interruption to each device driver is prohibited at the time of energy-saving transition and energy-saving return.
請求項5または6のいずれか一項に記載の画像処理装置の省エネ制御方法において、
上記パワーフックキューは優先度レベル毎に区分され、
省エネ移行時および省エネ復帰時に優先度レベルの高い順に上記パワーフックキューに登録されたパワーフック関数を呼び出すことを特徴とする画像処理装置の省エネ制御方法。
In the energy-saving control method of the image processing apparatus as described in any one of Claim 5 or 6,
The power hook queue is divided by priority level,
An energy-saving control method for an image processing apparatus, wherein power hook functions registered in the power hook queue are called in descending order of priority level at the time of energy saving transition and energy saving return.
請求項5ないし7のいずれか一項に記載の画像処理装置の省エネ制御方法において、
上記各デバイスドライバの初期化時における上記パワーフックキューのパワーフック関数の登録は上記デバイスドライバの初期化の順に行い、
省エネ移行時における上記パワーフックキューのパワーフック関数の呼び出しは登録順もしくは登録と逆順に行い、
省エネ復帰時における上記パワーフックキューのパワーフック関数の呼び出しは登録と逆順もしくは登録順に行うことを特徴とする画像処理装置の省エネ制御方法。
In the energy-saving control method of the image processing apparatus as described in any one of Claim 5 thru | or 7,
Registration of the power hook function of the power hook queue at the time of initialization of each device driver is performed in the order of initialization of the device driver,
Call the power hook function of the above power hook queue at the time of energy saving transition in the order of registration or in reverse order of registration,
An energy saving control method for an image processing apparatus, wherein calling of a power hook function of the power hook queue at the time of energy saving return is performed in the reverse order of registration or in the order of registration.
画像処理を実行するための各種の複数のデバイスと、個々の上記デバイスに対応して設けられた、個々の上記デバイスの制御を行う複数のデバイスドライバとを備えた画像処理装置であって、
個々の上記デバイスドライバは、省エネ制御のモード毎に対応する上記デバイスの制御レジスタの保存と復元を行うコールバック関数を備え、
上記画像処理装置は、上記コールバック関数を呼び出すパワーフック関数が登録されるデータ領域であるパワーフックキューを備え、
上記画像処理装置を構成するコンピュータを、
上記画像処理装置の起動時における上記デバイスドライバを利用可能にするための前処理である初期化時に、当該デバイスドライバに対応する上記パワーフック関数を上記パワーフックキューに登録する手段、
省エネ移行時に上記パワーフックキューに登録された上記パワーフック関数を順次に呼び出して対応する上記デバイスドライバの上記コールバック関数を起動する手段、
省エネ復帰時に上記パワーフックキューに登録された上記パワーフック関数を順次に呼び出して対応する上記デバイスドライバの上記コールバック関数を起動する手段
として動作させることを特徴とする画像処理装置の省エネ制御プログラム。
A plurality of devices various for performing image processing, provided corresponding to each of the device, an image processing apparatus including a plurality of device drivers for controlling the individual of the device,
Each of the device drivers has a callback function for saving and restoring the control register of the device corresponding to each mode of energy saving control,
The image processing apparatus includes a power hook queue that is a data area in which a power hook function for calling the callback function is registered,
A computer constituting the image processing apparatus ;
At the time of initialization is pretreatment for making available the device driver during startup of the image processing apparatus, means for registering the power hook function corresponding to the device driver in the power hook queue,
It means for activating the call-back function of the device driver corresponding to sequentially call the power hook function registered in the power hook queue during energy saving mode,
Energy-saving control program of the image processing apparatus, characterized in that to operate as means for activating the call-back function of the device driver corresponding to sequentially call the power hook function registered in the power hook queue when energy-saving recovery.
請求項9に記載の画像処理装置の省エネ制御プログラムにおいて、
省エネ移行時および省エネ復帰時に各デバイスドライバへの割り込みを禁止する期間を設けたことを特徴とする画像処理装置の省エネ制御プログラム。
In the energy-saving control program of the image processing apparatus of Claim 9,
An energy-saving control program for an image processing apparatus, characterized by providing a period during which interruption to each device driver is prohibited at the time of energy-saving transition and energy-saving return.
請求項9または10のいずれか一項に記載の画像処理装置の省エネ制御プログラムにおいて、
上記パワーフックキューは優先度レベル毎に区分され、
省エネ移行時および省エネ復帰時に優先度レベルの高い順に上記パワーフックキューに登録されたパワーフック関数を呼び出すことを特徴とする画像処理装置の省エネ制御プログラム。
In the energy-saving control program of the image processing apparatus as described in any one of Claim 9 or 10,
The power hook queue is divided by priority level,
An energy-saving control program for an image processing apparatus, which calls power hook functions registered in the power hook queue in descending order of priority level at the time of energy saving transition and energy saving return.
請求項9ないし11のいずれか一項に記載の画像処理装置の省エネ制御プログラムにおいて、
上記各デバイスドライバの初期化時における上記パワーフックキューのパワーフック関数の登録は上記デバイスドライバの初期化の順に行い、
省エネ移行時における上記パワーフックキューのパワーフック関数の呼び出しは登録順もしくは登録と逆順に行い、
省エネ復帰時における上記パワーフックキューのパワーフック関数の呼び出しは登録と逆順もしくは登録順に行うことを特徴とする画像処理装置の省エネ制御プログラム。
In the energy-saving control program of the image processing apparatus as described in any one of Claims 9 thru | or 11,
Registration of the power hook function of the power hook queue at the time of initialization of each device driver is performed in the order of initialization of the device driver,
Call the power hook function of the above power hook queue at the time of energy saving transition in the order of registration or in reverse order of registration,
An energy-saving control program for an image processing apparatus, wherein calling of a power hook function of the power hook queue at the time of energy saving return is performed in the reverse order of registration or in the order of registration.
JP2006130552A 2006-05-09 2006-05-09 Image processing device Expired - Fee Related JP4843372B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006130552A JP4843372B2 (en) 2006-05-09 2006-05-09 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006130552A JP4843372B2 (en) 2006-05-09 2006-05-09 Image processing device

Publications (2)

Publication Number Publication Date
JP2007306143A JP2007306143A (en) 2007-11-22
JP4843372B2 true JP4843372B2 (en) 2011-12-21

Family

ID=38839736

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006130552A Expired - Fee Related JP4843372B2 (en) 2006-05-09 2006-05-09 Image processing device

Country Status (1)

Country Link
JP (1) JP4843372B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10452114B2 (en) 2016-10-06 2019-10-22 Canon Kabushiki Kaisha Image processing apparatus, method for controlling the same, and storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5359498B2 (en) 2008-06-06 2013-12-04 株式会社リコー Image processing apparatus, image processing method, and image processing program
JP2010157995A (en) 2008-12-01 2010-07-15 Ricoh Co Ltd Electronic apparatus and signal disconnection/connection method
JP5327452B2 (en) * 2009-03-13 2013-10-30 株式会社リコー Information processing device
US8405505B2 (en) * 2009-05-26 2013-03-26 Qualcomm Incorporated Power management of sensors within a mobile device
JP2011254332A (en) 2010-06-02 2011-12-15 Ricoh Co Ltd Image processing system
JP5811611B2 (en) 2011-06-14 2015-11-11 株式会社リコー Information processing apparatus, information processing method, and program
JP6007642B2 (en) * 2012-01-26 2016-10-12 株式会社リコー Information processing apparatus, power saving control method, power saving control program
JP2018103383A (en) * 2016-12-22 2018-07-05 キヤノン株式会社 Image processing device, control method and program of image processing device

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0690732B2 (en) * 1987-11-09 1994-11-14 三菱電機株式会社 Microprocessor
JP2827702B2 (en) * 1992-06-02 1998-11-25 富士ゼロックス株式会社 Computer system
JPH0749816A (en) * 1993-08-06 1995-02-21 Hitachi Ltd Information processor
US5715464A (en) * 1995-06-07 1998-02-03 International Business Machines Corporation Computer system having suspend once resume many sessions
JPH1069336A (en) * 1996-08-28 1998-03-10 Hitachi Ltd Integrated circuit
JPH11259162A (en) * 1998-03-13 1999-09-24 Nec Corp Suspending/resuming method
JP3651758B2 (en) * 1998-12-25 2005-05-25 株式会社リコー Energy saving return method and recording device using the same
JP2000305673A (en) * 1999-03-31 2000-11-02 Internatl Business Mach Corp <Ibm> Method and device for managing power consumption
JP3664926B2 (en) * 1999-11-17 2005-06-29 株式会社リコー Image processing device
DE10056676A1 (en) * 2000-11-10 2002-05-16 Jenapharm Gmbh Preparation of estradienyl-benzaldoxime derivative preparation in high yield, for use e.g. in treating endometriosis, from epoxy-estrenone by multi-stage process including selective Grignard reaction
JP3977039B2 (en) * 2001-08-27 2007-09-19 株式会社リコー Communication program generating method for image information processing apparatus and communication program generating apparatus for image information processing apparatus
US7103788B1 (en) * 2001-10-31 2006-09-05 Microsoft Corporation Selective suspension of bus devices
JP4132849B2 (en) * 2002-02-06 2008-08-13 富士通株式会社 Semiconductor device and electronic device
JP4028811B2 (en) * 2003-03-03 2007-12-26 株式会社リコー Image forming apparatus
JP2004289361A (en) * 2003-03-20 2004-10-14 Ricoh Co Ltd Image forming apparatus and composite apparatus
JP2005094679A (en) * 2003-09-19 2005-04-07 Ricoh Co Ltd Image processing apparatus equipped with energy saving mode functionality connected to network
JP4324084B2 (en) * 2003-12-09 2009-09-02 キヤノン株式会社 Image processing apparatus and control method thereof
JP2005267447A (en) * 2004-03-19 2005-09-29 Ricoh Co Ltd Image forming apparatus and image forming method
JP2006092481A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Information processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10452114B2 (en) 2016-10-06 2019-10-22 Canon Kabushiki Kaisha Image processing apparatus, method for controlling the same, and storage medium

Also Published As

Publication number Publication date
JP2007306143A (en) 2007-11-22

Similar Documents

Publication Publication Date Title
JP4843372B2 (en) Image processing device
JP3679349B2 (en) Image forming apparatus, image forming method, image forming program, and application program
JP4229073B2 (en) Network systems, devices, and programs
JP2002082806A (en) Device and method for forming image and program
JP6066006B2 (en) Image forming apparatus
JP2008305004A (en) Image forming apparatus, application execution method, and application execution program
US8095791B2 (en) Distributed processing system, distributed processing method and image processing apparatus
JP2014010562A (en) Initialization device, image processing apparatus, initialization method, and initialization program
JP4246560B2 (en) Information processing apparatus, information processing method, program, and recording medium
JP3910993B2 (en) Image forming apparatus, image forming method, and image forming program
JP2003298784A (en) Image forming apparatus
JP2011188411A (en) Image processing apparatus and image processing system
JP3910992B2 (en) Image forming apparatus, image forming method, and image forming program
US20040036904A1 (en) Image forming apparatus and method of activating a program
JP2007305143A (en) Information processor and information processing method
JP2006005963A (en) Information processor and information processing method
JP2015056137A (en) System and information processing method
JP3864122B2 (en) Image processing system
JP2004254079A (en) Image processing device
JP2005189972A (en) Image processor
JP2000112865A (en) Interface structure for controlling office automation equipment
JP2001016395A (en) Inter-software interface method
JP2009070208A (en) Image processing unit and memory allocation method
JP2002331724A (en) Function extension type system and image forming apparatus
JP2003099163A (en) Image forming device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110614

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110808

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: 20110913

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: 20111007

R150 Certificate of patent or registration of utility model

Ref document number: 4843372

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: 20141014

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees