JP2007038580A - Method for accelerating saving/restoring of computer - Google Patents

Method for accelerating saving/restoring of computer Download PDF

Info

Publication number
JP2007038580A
JP2007038580A JP2005226810A JP2005226810A JP2007038580A JP 2007038580 A JP2007038580 A JP 2007038580A JP 2005226810 A JP2005226810 A JP 2005226810A JP 2005226810 A JP2005226810 A JP 2005226810A JP 2007038580 A JP2007038580 A JP 2007038580A
Authority
JP
Japan
Prior art keywords
information
data
saved
bus
memory
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.)
Withdrawn
Application number
JP2005226810A
Other languages
Japanese (ja)
Inventor
Atsushi Hikichi
篤志 挽地
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005226810A priority Critical patent/JP2007038580A/en
Publication of JP2007038580A publication Critical patent/JP2007038580A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problems that, although the information of memories and registers which is saved/restored at a time of sleep/wake up or normal start contains necessary/unnecessary information mixed, all the information is saved/restored, taking much more time for the saving/restoring as a memory capacity increases; simultaneously, if data saving is not performed in a necessarily sufficient manner, a computer cannot be properly restored when apparatus configuration information is revised after data are saved. <P>SOLUTION: The contents of the memory are fractionalized at a time of sleep/wake up, or finish/start or immediate after the completion of start, and the fractionalized contents are judged whether they are necessary/unnecessary for restoring, allowing only the necessarily sufficient information to be saved/restored. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像形成装置を含むコンピュータ等のデータ退避・復帰方法に関する。   The present invention relates to a data saving / restoring method for a computer or the like including an image forming apparatus.

画像形成装置を含むコンピュータ装置が持つ sleep(suspend/hibernation) / wake up の機能は、低電力での待機を可能にし、通常起動よりも早い復帰を行う事を特徴としています。復帰方法は、(1) 不揮発性メモリを使って復帰する方法と、(2) sleep の際に揮発性メモリの電源を off にせず復帰する方法と、(3) 揮発性メモリとレジスタの内容をダンプして退避/復帰する方法が提案されています。(1) は高コストであり、(2) は低電力化が難しいため、(3) が最良な方法です。しかし(3)は、メモリが大容量になればなるほど wake up 時に退避データをメモリへ展開する時間がかかるため、実用的ではありません。   The sleep (suspend / hibernation) / wake up function of computer devices, including image forming devices, makes it possible to wait with low power and to perform recovery faster than normal startup. The recovery methods are (1) recovery using non-volatile memory, (2) recovery without turning off the power of volatile memory during sleep, and (3) contents of volatile memory and registers. A method of dumping and saving / restoring has been proposed. (1) is expensive and (2) is difficult to reduce power, so (3) is the best method. However, (3) is not practical because the larger the memory, the longer it takes to expand the saved data to memory at wake up.

また、近年、画像形成装置の機能拡張に伴い画像形成装置のソフトウェアは大規模かつ複雑になり、それに伴い起動時間が長くなってきています。起動時間が長くなる原因の一つに、起動時に機器構成を確定する際にコントローラからオプション装置に問い合わせを行いますが、オプション装置のハードウェア初期化に時間がかかり応答が遅れることがあります。これによって、コントローラでは長期間のハードウェア待ちが発生し、起動時間がかかる原因になっています。   In recent years, with the expansion of the functions of image forming apparatuses, the software of image forming apparatuses has become large and complex, and the startup time has become longer accordingly. One of the causes of long start-up time is that the controller makes an inquiry to the option device when determining the device configuration at start-up, but the hardware initialization of the option device takes time and the response may be delayed. This causes the controller to wait for a long time and cause startup time.

起動時間を短縮する方法には、以下の方法が提案されています。   The following methods have been proposed to reduce the startup time.

特開平3−278126は、主記憶イメージを退避し、再起動の際は退避イメージを主記憶に展開することで、システムを立ち上げ直後の状態に復帰する方法に関する発明です。しかし前記発明は、不必要な領域までバックアップし、また、ハードウェアレジスタ値などの情報をバックアップしていないため、必要十分の情報を得ることができません。   Japanese Patent Laid-Open No. 3-278126 is an invention relating to a method for restoring a system to a state immediately after startup by saving the main memory image and developing the saved image in the main memory at the time of restart. However, the above-mentioned invention does not back up to an unnecessary area and does not back up information such as hardware register values, so it cannot obtain necessary and sufficient information.

特開平10−293682(日本電気(株))は、起動後のシステムの状態を保存しているメモリを再起動時に直接使って、システムを高速に立ち上げる起動方法に関する発明です。しかし前記発明は、システム領域のバックアップのためにメモリ上に同じ内容を保持する2つの領域が必要となり、メモリ利用効率が良くありません。   Japanese Patent Laid-Open No. 10-293682 (NEC Corporation) is an invention relating to a startup method for quickly starting up a system by directly using a memory storing a system state after startup at the time of restart. However, the above invention requires two areas to hold the same contents in the memory for backup of the system area, and the memory utilization efficiency is not good.

特開2002−297391(キヤノン(株))は、圧縮された本体プログラムと、伸張及び入力処理を含むブートプログラムにおいて、伸張処理より前に入力処理を実行する事を特徴とする、システムを高速に立ち上げる起動方法に関する発明です。しかし前記発明は、起動情報のバックアップ処理を行っていないため、起動の度に本体プログラムとブートプログラムを立ち上げなおす必要があり、起動時間を短時間しか短縮できません。   Japanese Patent Laid-Open No. 2002-297391 (Canon Inc.) is characterized by executing input processing before decompression processing in a compressed main program and a boot program including decompression and input processing at high speed. It is an invention related to the startup method. However, since the startup information is not backed up in the above-mentioned invention, it is necessary to restart the main body program and the boot program every time it is started, and the startup time can be shortened only for a short time.

特許2779813号(セイコーエプソン(株)、特許庁の最終判断は「取消」)は、コンピュータの中断の際に、ハードウェアレジスタを含むメインメモリの内容、CPUステータス、入出力部の設定を不揮発メモリにバックアップし、再開の際に前記3要素をリストアして処理を継続することを特徴とする、コンピュータに関する発明です。しかし前記発明は、メモリ上にある不要な領域までバックアップするため退避・復帰に時間がかかるだけでなく、復帰前と復帰後のハードウェア構成に変更があった場合に対応できません。   Japanese Patent No. 2779813 (Seiko Epson Corporation, JPO final decision is “Cancel”) is the contents of main memory including hardware registers, CPU status, and input / output unit settings when the computer is interrupted. This invention relates to a computer, characterized in that the above three elements are restored and the processing is continued at the time of restart. However, the above invention not only takes time to save and restore because it backs up to an unnecessary area in the memory, but it cannot cope with changes in the hardware configuration before and after restoration.

本提案はこのような状況に鑑みて実施される、コンピュータ装置の起動時間短縮に関する発明です。
特開平3−278126号公報 特開平10−293682号公報 特開2002−297391号公報 特登録2779813号公報
This proposal is an invention related to shortening the startup time of a computer device implemented in view of such a situation.
Japanese Patent Laid-Open No. 3-278126 JP 10-293682 A JP 2002-297391 A Japanese Patent Registration No. 2779813

前記より、既存の問題は、sleep / wake up又は通常起動時の際に退避 / 復帰するメモリとレジスタの情報には、必要/不必要な情報が混在するにもかかわらず全て退避 / 復帰するため、メモリが大容量になればなるほど退避/復帰に時間がかかることです。また同時に、データ待避が必要十分でなければ、データ退避後に機器構成情報が変更された場合、正しく復帰できません。   From the above, the existing problem is that all information saved / restored during sleep / wake up or normal startup is saved / restored even though necessary / unnecessary information is mixed. The larger the memory, the longer it takes to save / restore. At the same time, unless data saving is necessary and sufficient, if the device configuration information is changed after saving the data, it cannot be restored correctly.

そこで本発明は、sleep / wake up 時、又は終了 / 起動時、又は起動完了直後に、メモリの内容を細分化することで復帰に必要 / 不必要を判断し、必要十分な情報のみ退避 / 復帰します。具体的に言うと、sleep の際にメモリ上の領域をチェックし、(1) プログラム領域(text)、(2) データ領域(data, rodata, bss, stack, heap)、(3) バックアップ装置への保存可能領域(画像メモリ)、(4) 未使用領域に分離し、sleep の時は (2)(3) とレジスタのみ退避させ、wake up の時はHDDやROM等に保存されている実行形式のオブジェクト(ELF形式ファイル、又はバイナリファイル等)と(2)のみ展開します。   Therefore, the present invention determines whether it is necessary / unnecessary for recovery by subdividing the memory contents at the time of sleep / wake up, at the end / start-up, or immediately after the start-up, and saves / restores only necessary and sufficient information. To do. Specifically, the area on the memory is checked during sleep, and (1) the program area (text), (2) the data area (data, rodata, bss, stack, heap), (3) to the backup device Storable area (image memory), (4) Separated into unused area, saves only (2) and (3) and registers at sleep, saves to HDD, ROM, etc. at wake up Only format objects (ELF format files or binary files) and (2) are expanded.

また同時に、起動時に機器構成情報を収集且つ退避し、再起動時にハードウェア構成情報の問い合わせ応答を受信する前に、退避した該機器構成情報を用いて起動処理を実行します。また、再起動時に、退避した該機器構成情報と収集した機器構成情報が異なっていた場合は、該当箇所のみ再初期化、又は退避情報をクリアして再起動します。   At the same time, device configuration information is collected and saved at startup, and startup processing is executed using the saved device configuration information before receiving a hardware configuration information inquiry response at restart. If the saved device configuration information differs from the collected device configuration information at the time of restart, only the corresponding part is reinitialized or the save information is cleared and restarted.

機器構成情報とは、オプション機器の有無の情報、オプション機器の応答時間情報、ハードウェア資源情報、メモリ構成・システム資源・アルゴリズム資源(タスク、セマフォ・モニタ等の排他制御、キュー、リスト等)等のソフトウェア資源情報、製品が持つラスタ・ベクタ記述言語等の画像構造化記述言語情報、製品対象国情報、製品を一意に特定する情報、ユーザ設定情報、等の一つ以上です。オプション装置とは、プリンタ等の画像印刷装置、ADF等の画像読取装置、フィニッシャ・トリマ・サドル・スタッカ・グルーバインド等の用紙加工出力装置、FAXボード・ネットワークボード等の通信装置、オプションボード等を持つ画像形成装置、等の一つ以上です。   Device configuration information includes the presence / absence of optional devices, response time information of optional devices, hardware resource information, memory configuration / system resources / algorithm resources (exclusive control of tasks, semaphores, monitors, etc., queues, lists, etc.) Software resource information, image structured description language information such as raster / vector description language, product target country information, product identification information, user setting information, etc. Optional devices include image printing devices such as printers, image reading devices such as ADF, paper processing output devices such as finishers, trimmers, saddles, stackers, and glue binds, communication devices such as FAX boards and network boards, and option boards. One or more of the image forming devices you have.

機器構成情報の退避場所は、不揮発メモリ、HDD、揮発メモリ、レジスタの一つ以上です。揮発メモリやレジスタはスリープ時にCPU・メモリが通電している場合のみ退避可能です。また、HDDは初期化に時間がかかり起動時間の長期化に影響する可能性があるため、機器構成情報が不揮発メモリ容量に収まるならば不揮発メモリに保存することをより好みます。   The device configuration information is saved in one or more of nonvolatile memory, HDD, volatile memory, and registers. Volatile memory and registers can be saved only when the CPU and memory are energized during sleep. Also, HDDs take longer to initialize and may affect the startup time, so if the device configuration information fits in the nonvolatile memory capacity, I prefer to save it in the nonvolatile memory.

前記方法を実施することにより、コンピュータ装置はスリープ状態から短時間で復帰することができます。また、スリープ復帰と同じルーチンで通常起動も高速化することができます。   By implementing the above method, the computer device can wake up from the sleep state in a short time. In addition, normal startup can be speeded up with the same routine used for returning from sleep.

以下、本発明とその他の特徴について適宜図面を参照しながら解説する。   The present invention and other features will be described below with reference to the drawings as appropriate.

(1)ハードウェア構成
本発明の実施例にかかわる画像入出力システムのハードウェア全体構成を、図1を参照しながら説明する。
(1) Hardware Configuration The overall hardware configuration of the image input / output system according to the embodiment of the present invention will be described with reference to FIG.

リーダー部(画像入力装置)200は、原稿画像を光学的に読み取り、画像データに変換する。リーダー部200は、原稿を読取るための機能を持つスキャナユニット210と、原稿用紙を搬送するための機能を持つ原稿給紙ユニット250(以下フィーダと呼ぶ)とで構成される。   A reader unit (image input device) 200 optically reads a document image and converts it into image data. The reader unit 200 includes a scanner unit 210 having a function for reading a document, and a document feeding unit 250 (hereinafter referred to as a feeder) having a function for conveying a document sheet.

プリンタ部(画像出力装置)300は、記録紙を搬送し、その上に画像データを可視画像として印字して装置外に排紙する。プリンタ部300は、複数種類の記録紙カセットを持つ給紙ユニット310と、画像データを記録紙に転写、定着させる機能を持つマーキングユニット320と、印字された記録紙をソート、ステイプルして機外へ出力する機能を持つ排紙ユニット330とで構成される。   A printer unit (image output device) 300 conveys recording paper, prints image data as a visible image thereon, and discharges the recording paper out of the device. The printer unit 300 includes a paper feed unit 310 having a plurality of types of recording paper cassettes, a marking unit 320 having a function of transferring and fixing image data onto the recording paper, and sorting and stapling the printed recording papers. And a paper discharge unit 330 having a function of outputting to

制御装置110は、リーダー部200、プリンタ部300、FAXモデム510、HDD(ハードディスクドライブ)520と電気的に接続され、さらにネットワーク400を介して、ホストコンピュータ401,402と画像入出力システム101、及び、FAXモデム510、電話回線500を介してFAX501,502と接続されている。   The control device 110 is electrically connected to the reader unit 200, the printer unit 300, the FAX modem 510, and the HDD (hard disk drive) 520, and further via the network 400, the host computers 401 and 402, the image input / output system 101, and the FAX It is connected to FAX 501,502 via a modem 510 and a telephone line 500.

制御装置110は、リーダー部200を制御して、原稿の画像データを読込み、プリンタ部300を制御して画像データを記録用紙に出力してコピー機能を提供する。また、リーダー部200から読取った画像データを、コードデータに変換し、ネットワーク400を介してホストコンピュータへ送信するスキャナ機能、ホストコンピュータからネットワーク400を介して受信したコードデータを画像データに変換し、プリンタ部300に出力するプリンタ機能、入力された画像データをFAXモデム510と電話回線500を介して送受信するFAX機能、送受信した画像データをHDD520に蓄積するボックス機能を提供する。   The control device 110 controls the reader unit 200 to read image data of a document, and controls the printer unit 300 to output the image data to a recording sheet to provide a copy function. In addition, the image data read from the reader unit 200 is converted into code data and transmitted to the host computer via the network 400, the code data received from the host computer via the network 400 is converted into image data, A printer function for outputting to the printer unit 300, a FAX function for transmitting and receiving input image data via the FAX modem 510 and the telephone line 500, and a box function for storing the transmitted and received image data in the HDD 520 are provided.

続いて図2を用いて操作部150について説明する。   Next, the operation unit 150 will be described with reference to FIG.

操作部150は、制御装置110に接続され、液晶タッチパネルで構成され、画像入出力システムを操作するためのユーザI/Fを提供する。   The operation unit 150 is connected to the control device 110, is configured with a liquid crystal touch panel, and provides a user I / F for operating the image input / output system.

600はLCDタッチパネルであり、主なモード設定、状況表示はここで行われる。601は0〜9までの数値を入力するためのテンキーである。602はIDキーであり、装置が部門管理されている場合に部門番号と暗礁モードを入力する際に使用されるものである。   600 is an LCD touch panel, and the main mode setting and status display are performed here. Reference numeral 601 denotes a numeric keypad for inputting numerical values from 0 to 9. Reference numeral 602 denotes an ID key, which is used when a department number and a reef mode are input when the apparatus is under department management.

603は設定されたモードをリセットするためのリセットキー、604は各モードについての説明画面を表示するためのガイドキー、605はユーザーモード画面に入るためのユーザーモードキー、606は割り込みコピーを行うための割り込みキーになっている。   603 is a reset key for resetting the set mode, 604 is a guide key for displaying an explanation screen for each mode, 605 is a user mode key for entering the user mode screen, and 606 is for performing interrupt copying It is an interrupt key.

607はコピー動作をスタートさせるためのスタートキー、608は実行中のコピージョブを中止させるためのストップキーである。   Reference numeral 607 denotes a start key for starting a copy operation, and reference numeral 608 denotes a stop key for stopping a copy job being executed.

609はソフト電源SWであり、押下することによりLCD600のバックライトが消え装置は低電力状態に落ちる。610は節電キーであり、これを押下することで節電状態に入り、再度押下することで節電状態から復帰する。   609 is a soft power switch, and when pressed, the backlight of the LCD 600 is extinguished and the device falls into a low power state. Reference numeral 610 denotes a power saving key, which is pressed to enter a power saving state and is pressed again to return from the power saving state.

611、612、613、614はコピー、送信、ボックス、拡張に移行させるためのファンクションキーである。図2ではコピーの標準画面が表示された状態であり、他のファンクションキー612、613、614を押下することでそれぞれの機能の標準画面が表示される。   Reference numerals 611, 612, 613, and 614 denote function keys for shifting to copy, transmission, box, and expansion. In FIG. 2, the standard screen for copying is displayed, and by pressing the other function keys 612, 613, 614, the standard screen for each function is displayed.

615はLCDタッチパネルのコントラストを調整するための調整キーである。   Reference numeral 615 denotes an adjustment key for adjusting the contrast of the LCD touch panel.

616はカウンタ確認キーであり、このキーを押下することでそれまでに仕様したコピー枚数の集計を表示するカウント画面がLCD上に表示される。   Reference numeral 616 denotes a counter confirmation key. When this key is pressed, a count screen for displaying the total number of copies specified so far is displayed on the LCD.

617はジョブの実行中、画像メモリへの画像蓄積中を示すLED、618がジャム、ドアオープン等装置がエラー状態にあることを示すエラーLED、619は装置のメインスイッチがONになっていることを示す電源LEDになっている。   617 is an LED indicating that the job is being executed and the image is being stored in the image memory, 618 is an error LED indicating that the device is in an error state such as a jam or door open, and 619 is that the main switch of the device is ON. The power LED indicates.

図3はリーダー部200及びプリンタ部300の断面図である。リーダー部の原稿給送ユニット250は原稿を先頭順に1枚ずつプラテンガラス211上へ給送し、原稿の読み取り動作終了後、プラテンガラス211上の原稿を排出トレイ219に排出するものである。原稿がプラテンガラス211上に搬送されると、ランプ212を点灯し、そして光学ユニット213の移動を開始させて、原稿を露光走査する。この時の原稿からの反射光は、ミラー214、215、216、及びレンズ217によってCCDイメージセンサ(以下CCDと呼ぶ)218へ導かれる。このように、走査された原稿の画像はCCD218によって読み取られる。CCD218から出力される画像データは、所定の処理が施された後、制御装置110へ転送される。   FIG. 3 is a cross-sectional view of the reader unit 200 and the printer unit 300. The document feeding unit 250 of the reader unit feeds the documents one by one onto the platen glass 211 in order from the top, and discharges the documents on the platen glass 211 to the discharge tray 219 after the document reading operation is completed. When the document is conveyed onto the platen glass 211, the lamp 212 is turned on, and the movement of the optical unit 213 is started to expose and scan the document. Reflected light from the original at this time is guided to a CCD image sensor (hereinafter referred to as CCD) 218 by mirrors 214, 215, 216 and lens 217. In this way, the scanned image of the document is read by the CCD 218. Image data output from the CCD 218 is transferred to the control device 110 after being subjected to predetermined processing.

プリンタ部300のレーザドライバ321はレーザ発光部322を駆動するものであり、制御装置110から出力された画像データに応じたレーザ光をレーザ発光部322に発光させる。このレーザ光は感光ドラム323に照射され、感光ドラム323にはレーザ光に応じた潜像が形成される。この感光ドラム323の潜像の部分には現像器324によって現像剤が付着される。   The laser driver 321 of the printer unit 300 drives the laser light emitting unit 322, and causes the laser light emitting unit 322 to emit laser light corresponding to the image data output from the control device 110. The laser beam is irradiated on the photosensitive drum 323, and a latent image corresponding to the laser beam is formed on the photosensitive drum 323. A developer is attached to the latent image portion of the photosensitive drum 323 by a developing device 324.

そして、レーザ光の照射開始と同期したタイミングで、カセット311、カセット312、カセット313、カセット314、手差し給紙段315のいずれかから記録紙を給紙し、転写部325へ搬送路331によって導かれ、感光ドラム323に付着された現像剤を記録紙に転写する。現像剤の乗った記録紙は搬送ベルト326によって、定着部327に搬送され、定着部327の熱と圧力により現像剤は記像紙に定着される。その後、定着部327を通過した記録紙は搬送路325、搬送路324を通り、排紙ビン328に排出される。あるいは、印字面を反転して排紙ビン328に排出する場合には、搬送路336、搬送路338まで導かれ、そこから記録紙を逆方向に搬送し、搬送路337、搬送路324を通る。   The recording paper is fed from one of the cassette 311, the cassette 312, the cassette 313, the cassette 314, and the manual paper feed stage 315 at the timing synchronized with the start of laser light irradiation, and guided to the transfer unit 325 by the transport path 331. Then, the developer attached to the photosensitive drum 323 is transferred to the recording paper. The recording paper on which the developer is placed is conveyed to the fixing unit 327 by the conveyance belt 326, and the developer is fixed to the recording paper by the heat and pressure of the fixing unit 327. Thereafter, the recording paper that has passed through the fixing unit 327 passes through the transport path 325 and the transport path 324 and is discharged to the paper discharge bin 328. Alternatively, when the printing surface is reversed and discharged to the paper discharge bin 328, the recording paper is guided to the transport path 336 and the transport path 338, and then the recording paper is transported in the reverse direction and passes through the transport path 337 and the transport path 324. .

また、両面記録が設定されている場合は、定着部327を通過したあと、搬送路336からフラッパ329によって、搬送路333に記録紙は導かれ、その後記録紙を逆方向に搬送し、フラッパ329によって、搬送路338、再給紙搬送路332へ導かれる。再給紙搬送路332へ導かれた記録紙は上述したタイミングで搬送路331を通り、転写部325へ給紙される。   If double-sided recording is set, after passing through the fixing unit 327, the recording paper is guided from the conveyance path 336 to the conveyance path 333 by the flapper 329, and then the recording paper is conveyed in the reverse direction. Thus, the sheet is guided to the conveyance path 338 and the refeed conveyance path 332. The recording sheet guided to the refeed conveyance path 332 passes through the conveyance path 331 at the timing described above and is fed to the transfer unit 325.

以下、制御装置の詳細について述べる。   Details of the control device will be described below.

(1−1)制御装置の説明
制御装置110の機能を、図4に示すブロック図をもとに説明する。
(1-1) Description of Control Device The function of the control device 110 will be described based on the block diagram shown in FIG.

メインコントローラ111は、主にCPU112と、バスコントローラ113、各種I/Fコントローラ回路とから構成される。   The main controller 111 mainly includes a CPU 112, a bus controller 113, and various I / F controller circuits.

CPU112とバスコントローラ113は制御装置110全体の動作を制御するものであり、CPU112はROM114からROM I/F115を経由して読込んだプログラムに基いて動作する。また、ホストコンピュータから受信したPDL(ページ記述言語)コードデータを解釈し、ラスターイメージデータに伸張する動作も、このプログラムに記述されており、ソフトウェアによって処理される。バスコントローラ113は各I/Fから入出力されるデータ転送を制御するものであり、バス競合時の調停やDMAデータ転送の制御を行う。   The CPU 112 and the bus controller 113 control the overall operation of the control device 110, and the CPU 112 operates based on a program read from the ROM 114 via the ROM I / F 115. The operation of interpreting PDL (page description language) code data received from the host computer and decompressing it into raster image data is also described in this program and processed by software. The bus controller 113 controls data transfer input / output from each I / F, and performs arbitration at the time of bus contention and control of DMA data transfer.

DRAM116はDRAM I/F117によってメインコントローラ111と接続されており、CPU112が動作するためのワークエリアや、画像データを蓄積するためのエリアとして使用される。   The DRAM 116 is connected to the main controller 111 by a DRAM I / F 117, and is used as a work area for operating the CPU 112 and an area for storing image data.

Network Contorller121はI/F123によってメインコントローラ111と接続され、コネクタ122によって外部ネットワークと接続される。   The network controller 121 is connected to the main controller 111 by an I / F 123 and is connected to an external network by a connector 122.

汎用高速バス125には、拡張ボードを接続するための拡張コネクタ124とI/O制御部126とが接続される。汎用高速バスとしては、一般的にPCIバスがあげられる。   An expansion connector 124 for connecting an expansion board and an I / O control unit 126 are connected to the general-purpose high-speed bus 125. A general-purpose high-speed bus is a PCI bus.

I/O制御部126には、リーダー部200、プリンタ部300の各CPUと制御コマンドを送受信するための調歩同期シリアル通信コントローラ127が2チャンネル装備されており、I/Oバス128によって外部I/F回路140,145に接続されている。   The I / O control unit 126 is equipped with two channels of an asynchronous serial communication controller 127 for transmitting and receiving control commands to and from the CPUs of the reader unit 200 and the printer unit 300. F circuits 140 and 145 are connected.

パネルI/F132は、LCDコントローラ131に接続され、操作部150上の液晶画面600に表示を行うためのI/Fと、ハードキーやタッチパネルキーの入力を行うためのキー入力I/F130とから構成される。   The panel I / F 132 is connected to the LCD controller 131 and includes an I / F for displaying on the liquid crystal screen 600 on the operation unit 150 and a key input I / F 130 for inputting hard keys and touch panel keys. Composed.

操作部150は液晶表示部と液晶表示部上に張り付けられたタッチパネル入力装置と、複数個のハードキーを有する。タッチパネルまたはハードキーにより入力された信号は前述したパネルI/F132を介してCPU112に伝えられ、液晶表示部はパネルI/F132から送られてきた画像データを表示するものである。液晶表示部には、本画像表示装置の操作における機能表示や画像データ等を表示する。   The operation unit 150 includes a liquid crystal display unit, a touch panel input device attached on the liquid crystal display unit, and a plurality of hard keys. A signal input from the touch panel or hard key is transmitted to the CPU 112 via the panel I / F 132 described above, and the liquid crystal display unit displays image data sent from the panel I / F 132. The liquid crystal display unit displays function display, image data, and the like in the operation of the image display apparatus.

リアルタイムクロックモジュール133は、機器内で管理する日付と時刻を更新/保存するためのもので、バックアップ電池134によってバックアップされている。   The real-time clock module 133 is for updating / saving the date and time managed in the device, and is backed up by a backup battery 134.

E-IDEインタフェース161は、外部記憶装置を接続するためのものである。このI/Fを介してハードディスクやCD-ROM ドライブを接続し、プログラムや画像データを書き込んだり読み込んだりすることができる。   The E-IDE interface 161 is for connecting an external storage device. A hard disk or CD-ROM drive can be connected via this I / F, and programs and image data can be written and read.

コネクタ142と147は、それぞれリーダー部200とプリンタ部300とに接続され、同調歩同期シリアルI/F(143,148)とビデオI/F(144,149)とから構成される。   The connectors 142 and 147 are connected to the reader unit 200 and the printer unit 300, respectively, and are composed of a synchronized step serial I / F (143, 148) and a video I / F (144, 149).

スキャナI/F140は、コネクタ142を介してリーダー部200と接続され、また、スキャナバス141によってメインコントローラ111と接続されており、リーダー部200から受け取った画像を、その後の過程における処理の内容によって、最適な2値化を行ったり、主走査・副走査の変倍処理を行ったりする機能を有し、さらに、リーダー部200から送られたビデオ制御信号をもとに生成した制御信号を、スキャナバス141に出力する機能も有する。   The scanner I / F 140 is connected to the reader unit 200 via the connector 142, and is also connected to the main controller 111 via the scanner bus 141, and the image received from the reader unit 200 is processed according to the contents of processing in the subsequent process. , Have the function of performing the optimal binarization, scaling processing of the main scanning and sub scanning, and further, the control signal generated based on the video control signal sent from the reader unit 200, It also has a function of outputting to the scanner bus 141.

スキャナバス141からDRAM116へのデータ転送は、バスコントローラ113によって制御される。   Data transfer from the scanner bus 141 to the DRAM 116 is controlled by the bus controller 113.

プリンタI/F145は、コネクタ147を介してプリンタ部300と接続され、また、プリンタバス146によってメインコントローラ111と接続されており、メインコントローラ111から出力された画像データにスムージング処理をして、プリンタ部300へ出力する機能を有し、さらに、プリンタ部300から送られたビデオ制御信号をもとに生成した制御信号を、プリンタバス146に出力する機能も有する。   The printer I / F 145 is connected to the printer unit 300 via the connector 147, and is also connected to the main controller 111 via the printer bus 146. The printer I / F 145 performs smoothing processing on the image data output from the main controller 111, and And a function of outputting a control signal generated based on the video control signal sent from the printer unit 300 to the printer bus 146.

DRAM116上に伸張されたラスターイメージデータのプリンタ部への転送は、バスコントローラ113によって制御され、プリンタバス146、ビデオI/F149を経由して、プリンタ部300へDMA転送される。   Transfer of raster image data expanded on the DRAM 116 to the printer unit is controlled by the bus controller 113 and DMA-transferred to the printer unit 300 via the printer bus 146 and the video I / F 149.

(1−2)メインコントローラの説明
図5にメインコントローラのブロック図を示す。
(1-2) Description of Main Controller FIG. 5 shows a block diagram of the main controller.

プロセッサコア401は、64ビットのプロセッサバス(SCバス)を介して、システム・バス・ブリッジ(SBB)402に接続される。SBB402は4×4の64ビットクロスバスイッチであり、プロセッサコア401の他に、キャッシュメモリを備えたSDRAMやROMを制御するメモリコントローラ403と専用のローカルバス(MCバス)で接続されており、さらに、グラフィックバスであるGバス404、IOバスであるBバス405と接続され、全部で4つのバスに接続される。SBB402は、これら4モジュール間を、可能な限り、同時平行接続を確保することができるように設計されている。   The processor core 401 is connected to a system bus bridge (SBB) 402 via a 64-bit processor bus (SC bus). The SBB402 is a 4 × 4 64-bit crossbar switch, connected to the processor core 401, the memory controller 403 that controls the SDRAM and ROM with cache memory, and a dedicated local bus (MC bus). The G bus 404, which is a graphic bus, and the B bus 405, which is an IO bus, are connected to a total of four buses. The SBB402 is designed to ensure simultaneous parallel connection between these four modules as much as possible.

また,データの圧縮伸張ユニット(codec)418とも, codec I/F を介して接続されている。   The data compression / decompression unit (codec) 418 is also connected via a codec I / F.

Gバス404はGバスアービタ(GBA)406により協調制御されており、スキャナやプリンタと接続するためのスキャナ/プリンタコントローラ(SPC)408に接続される。また、Bバス405は、Bバスアービタ(BBA)407により協調制御されており、SPC408のほか、電力管理ユニット(PMU)409,インタラプトコントローラ(IC)410,UARTを用いたシリアルインタフェースコントローラ(SIC)411,USBコントローラ412,IEEE1284を用いたパラレルインタフェースコントローラ(PIC)413,LANコントローラ(LANC)414,LCDパネル,キー,汎用入出力コントローラ(PC)415,PCIバスインタフェース(PCIC)416にも接続されている。   The G bus 404 is cooperatively controlled by a G bus arbiter (GBA) 406, and is connected to a scanner / printer controller (SPC) 408 for connecting to a scanner or a printer. The B bus 405 is cooperatively controlled by a B bus arbiter (BBA) 407. In addition to the SPC 408, a power management unit (PMU) 409, an interrupt controller (IC) 410, and a serial interface controller (SIC) 411 using a UART , USB controller 412, parallel interface controller (PIC) 413 using IEEE1284, LAN controller (LANC) 414, LCD panel, key, general purpose input / output controller (PC) 415, PCI bus interface (PCIC) 416 Yes.

PC415には、表示パネルやキーボードを備えた操作パネル417が接続される。   An operation panel 417 having a display panel and a keyboard is connected to the PC 415.

(1−2−1)インタラプトコントローラの説明
インタラプトコントローラ410は、Bバス405に接続され、メインコントローラチップ内の各機能ブロック及び、チップ外部からのインタラプトを集積し、CPUコア401がサポートする、6レベルの外部インタラプト及び、ノンマスカブルインタラプト(NMI)に再分配する。各機能ブロックとは、電力管理ユニット409,シリアルインタフェースコントローラ411,USBコントローラ412,パラレルインタフェースコントローラ413,LANコントローラ414,汎用IOコントローラ415,PCIインタフェースコントローラ416,スキャナ/プリンタコントローラ408などである。
(1-2-1) Description of Interrupt Controller The interrupt controller 410 is connected to the B bus 405, integrates each functional block in the main controller chip and interrupts from outside the chip, and is supported by the CPU core 401. Redistribute level external interrupts and non-maskable interrupts (NMI). Each functional block includes a power management unit 409, a serial interface controller 411, a USB controller 412, a parallel interface controller 413, a LAN controller 414, a general-purpose IO controller 415, a PCI interface controller 416, a scanner / printer controller 408, and the like.

(1−2−2)メモリコントローラの説明
メモリコントローラ403は、メモリコントローラ専用のローカルバスであるMCバスに接続され、シンクロナスDRAM(SDRAM)やフラッシュROMやROMを制御する。
(1-2-2) Description of Memory Controller The memory controller 403 is connected to the MC bus, which is a local bus dedicated to the memory controller, and controls synchronous DRAM (SDRAM), flash ROM, and ROM.

(1−3)システムバスブリッジの説明
図6はシステムバスのブロック図を示す。
(1-3) Description of System Bus Bridge FIG. 6 is a block diagram of the system bus.

SBB402は、Bバス(入出力バス),Gバス(グラフィックバス),SCバス(プロセッサローカルバス)及びMCバス間の相互接続をクロスバスイッチを用いて提供する、マルチチャネル双方向バスブリッジである。クロスバススイッチにより、2系統の接続を同時に確立することが出来、並列性の高い高速データ転送を実現出来る。   The SBB 402 is a multi-channel bidirectional bus bridge that provides interconnections between the B bus (input / output bus), G bus (graphic bus), SC bus (processor local bus), and MC bus using a crossbar switch. With the cross bus switch, two systems can be established at the same time, and high-speed data transfer with high parallelism can be realized.

SBB402は、Bバス405と接続するためのBバスインタフェース2009と、Gバス404と接続するためのGバスインタフェース2006と、プロセッサコア401と接続するためのCPUインタフェーススレーブポート2002と、メモリコントローラ403と接続するためのメモリインタフェースマスターポート2001と, 圧縮伸張ユニット418と接続するためのCODECバスインタフェース2014を備えるほか、アドレスバスを接続するアドレススイッチ2003,データバスを接続するデータスイッチ2004を含む。また、プロセッサコアのキャッシュメモリを無効化するキャッシュ無効化ユニット2005を備えている。   The SBB 402 includes a B bus interface 2009 for connecting to the B bus 405, a G bus interface 2006 for connecting to the G bus 404, a CPU interface slave port 2002 for connecting to the processor core 401, a memory controller 403, In addition to a memory interface master port 2001 for connection, a CODEC bus interface 2014 for connection to the compression / decompression unit 418, an address switch 2003 for connecting an address bus and a data switch 2004 for connecting a data bus are included. Further, a cache invalidation unit 2005 that invalidates the cache memory of the processor core is provided.

(1−3−1)PCIバスインタフェースの説明
PCIバスインタフェース416は、メインコントローラ内部汎用IOバスであるBバスと、チップ外部IOバスであるPCIバスの間をインタフェースするブロックである。
(1-3-1) Description of PCI bus interface
The PCI bus interface 416 is a block that interfaces between the B bus, which is a general-purpose IO bus inside the main controller, and the PCI bus, which is an external IO bus on the chip.

(1−3−2)Gバスアービタ、Bバスアービタの説明
Gバスのアービトレーションは、中央アービトレーション方式であり、各バスマスタに対して専用のリクエスト信号とグラント信号を持つ。このアービタは制御方法をプログラミングすることが出来る。また、バスマスタへの優先権の与え方として、すべてのバスマスタを同じ優先権として、公平にバス権を与える公平アービトレーションモードと、いずれかひとつのバスマスタの優先権を上げ、優先的にバスを使用させる優先アービトレーションモード、のどちらかを指定できる。
(1-3-2) Explanation of G bus arbiter and B bus arbiter
The arbitration of the G bus is a central arbitration method, and each bus master has a dedicated request signal and grant signal. This arbiter can program the control method. In addition, as a method of giving priority to the bus master, all bus masters have the same priority, the fair arbitration mode in which the bus right is given fairly, and the priority of any one bus master is raised, and the bus is used preferentially. You can specify either the priority arbitration mode.

Bバスアービタ407は、IO汎用バスであるBバス405のバス使用要求を受け付け、調停の後、使用許可を選択された一つのマスタに対して与え、同時に2つ以上のマスタがバスアクセスを行う事を禁止する。アービトレーション方式は、3段階のプライオリティを持ち、それぞれのプライオリティに複数のマスタをプログラマブルに割り当てられる構成になっている。   The B bus arbiter 407 receives a bus use request for the B bus 405, which is an IO general-purpose bus, and after arbitration, gives a use permission to one selected master, and two or more masters simultaneously access the bus. Is prohibited. The arbitration method has three levels of priority, and a plurality of masters can be assigned to each priority in a programmable manner.

(1−4)スキャナコントローラ/プリンタコントローラ
図7はスキャナコントローラ、プリンタコントローラのブロック図である。
(1-4) Scanner Controller / Printer Controller FIG. 7 is a block diagram of the scanner controller and printer controller.

スキャナ/プリンタコントローラ408は、VideoI/Fによってスキャナおよびプリンタと接続され、内部バスGバスおよびBバスにインタフェースするブロックである。大別して以下の3つのブロックから構成される。   The scanner / printer controller 408 is a block that is connected to the scanner and printer by Video I / F and interfaces with the internal bus G bus and B bus. Broadly divided into the following three blocks.

(1−4−1)スキャナコントローラ
スキャナとビデオI/Fで接続され、動作制御およびデータ転送制御を行なう。Gバス/BバスI/Fユニット(GBI)4301Aとは、IFバスで接続され、データ転送およびレジスタのリード/ライトが行なわれる。
(1-4-1) Scanner controller The scanner controller is connected to the scanner through a video I / F, and performs operation control and data transfer control. The G bus / B bus I / F unit (GBI) 4301A is connected by an IF bus to perform data transfer and register read / write.

(1−4−2)プリンタコントローラ
プリンタとビデオI/Fで接続され、動作制御およびデータ転送制御を行なう。GBI 4301Bとは、IFバスで接続され、データ転送およびレジスタのリード/ライトが行なわれる。
(1-4-2) Printer controller The printer controller is connected to the printer through a video I / F, and performs operation control and data transfer control. The GBI 4301B is connected by an IF bus to perform data transfer and register read / write.

CPバスは、スキャナとプリンタの画像データおよび水平垂直同期のための同期信号を直結するためのバスである。   The CP bus is a bus for directly connecting the image data of the scanner and the printer and a synchronization signal for horizontal and vertical synchronization.

(1−4−3)Gバス/Bバス I/Fユニット(GBI)
スキャナコントローラ4302およびプリンタコントローラ4303をGバスまたはBバスに接続するためのユニットである。スキャナコントローラ4302とプリンタコントローラ4303にそれぞれ独立して接続され、GバスとBバスの両方に接続されている。
(1-4-3) G bus / B bus I / F unit (GBI)
This is a unit for connecting the scanner controller 4302 and the printer controller 4303 to the G bus or B bus. The scanner controller 4302 and the printer controller 4303 are independently connected to each other, and are connected to both the G bus and the B bus.

(1−5)電力管理ユニットの説明
メインコントローラ111は、CPUを内蔵した大規模なASICである。このため、内部のロジックが全部同時に動作してしまうと、大量の熱を発生し、チップ自体が破壊されてしまう恐れがある。これを防ぐために、メインコントローラは、ブロック毎の電力の管理、すなわちパワーマネジメントを行ない、更にチップ全体の消費電力量の監視を行なう。
(1-5) Description of Power Management Unit The main controller 111 is a large-scale ASIC with a built-in CPU. For this reason, if all the internal logics operate simultaneously, a large amount of heat is generated and the chip itself may be destroyed. In order to prevent this, the main controller performs power management for each block, that is, power management, and further monitors the power consumption of the entire chip.

パワーマネージメントは、それぞれのブロックが各自個別に行なう。各ブロックの消費電力量の情報は、パワーマネージメントレベルとして、電力管理ユニット(PMU)409に集められる。PMU409では、各ブロックの消費電力量を合計し、その値が限界消費電力を超えないように、メインコントローラの各ブロックの消費電力量を一括して監視する。   Each block performs power management individually. Information on the power consumption of each block is collected in a power management unit (PMU) 409 as a power management level. In the PMU 409, the power consumption of each block is totaled, and the power consumption of each block of the main controller is collectively monitored so that the value does not exceed the limit power consumption.

前記ハードウェアを用いた起動シーケンスの高速化方法について、実施例を用いて以下で説明する。   A method for speeding up the startup sequence using the hardware will be described below using an embodiment.

図8を用いてsleep 処理におけるデータ退避方法について述べる。ソフトスイッチ809等や一定時間アクセスが無かった場合に発生するスリープ信号を受信すると(S001)、メモリマップを取得し(S002)、メモリマップから、テキスト領域、データ領域、画像領域、未使用領域を判別する。次に、画像メモリ領域データをHDD等の不揮発データ装置に退避させるため、前もって演算と保存を行う(S003)。次に、データ領域をミニダンプしHDD等の不揮発データ装置に退避させる(S004)。また同時に、レジスタも退避する(S005)。このとき、wake up 処理の時に text とバックアップデータの不整合を起こさないため、text領域に展開されているプログラムのバージョンを保存する(S006)。また、メモリ上に展開されていたデータがどの領域に展開されているか判断するために、メモリマップとメモリダンプファイルの対応表を作成し保存する(S007)。最後にスリープ状態に遷移する(S008)。   A data saving method in the sleep process will be described with reference to FIG. When the soft switch 809 or the like or a sleep signal generated when there is no access for a certain period of time (S001), the memory map is acquired (S002), and the text area, data area, image area, and unused area are extracted from the memory map. Determine. Next, in order to save the image memory area data in a nonvolatile data device such as an HDD, calculation and storage are performed in advance (S003). Next, the data area is mini-dumped and saved in a nonvolatile data device such as an HDD (S004). At the same time, the register is saved (S005). At this time, the version of the program expanded in the text area is stored in order to prevent inconsistency between the text and the backup data during the wake up process (S006). In addition, in order to determine in which area the data expanded on the memory is expanded, a correspondence table between the memory map and the memory dump file is created and stored (S007). Finally, the state transits to the sleep state (S008).

図9を用いて、wake up 処理と通常起動時におけるデータ復帰方法について述べる。ハードスイッチ、ソフトスイッチ809やネットワーク等を経由して wake up 信号を受信すると(S010)、まずローダを実行する(S011)。ローダは、メモリダンプの有無を判別し(S012)、メモリダンプが無ければ通常起動を実行する(S016)。メモリダンプがあれば、ロードするプログラムのバージョンとメモリダンプしたときのプログラムのバージョンが合っているか判断し(S013)、合っていなければ通常起動を実行する(S016)。プログラムとダンプデータが合わないのは、初めの起動やプログラムのバージョンアップなどが考えられる。プログラムとダンプデータが合っていれば(S013)、メモリマップとメモリダンプファイルの対応表を用いて(S007)、保存ダンプのメモリ展開を行う(S014)。また同時に、レジスタも展開する(S015)。最後にプログラムをロードし実行する(S016)。   With reference to FIG. 9, a wake up process and a data restoration method at normal startup will be described. When a wake up signal is received via the hard switch, soft switch 809, network, etc. (S010), the loader is first executed (S011). The loader determines whether or not there is a memory dump (S012), and if there is no memory dump, it executes normal startup (S016). If there is a memory dump, it is determined whether the version of the program to be loaded matches the version of the program at the time of memory dump (S013), and if it does not match, normal startup is executed (S016). The reason why the program and dump data do not match may be the first startup or program upgrade. If the program and dump data match (S013), the memory map and the memory dump file correspondence table are used (S007), and the saved dump memory is expanded (S014). At the same time, the register is expanded (S015). Finally, the program is loaded and executed (S016).

図10は、退避データと取得データが異なっていた場合に、該当箇所と影響範囲のみ再初期化する流れを説明したフローチャートである。起動方法には、一般的な起動方法であるオプション装置が変更されなかった場合、例外的な起動方法であるオプション装置が変更された場合の2種類がある。前記2種類の起動方法の詳細について、以下で順に説明する。   FIG. 10 is a flowchart for explaining the flow of reinitializing only the relevant part and the affected range when the saved data and the acquired data are different. There are two types of activation methods: an option device that is a general activation method is not changed, and an option device that is an exceptional activation method is changed. Details of the two types of activation methods will be described in order below.

図10を用いて、再起動時にオプション装置が変更されなかった場合の、本発明のコンピュータの起動方法を説明する。まず、機器構成情報を退避させた領域に退避データがあるかどうかチェックするF301。始めは退避データが無いため退避データを用いず起動しF308、起動初期化が終了したらF309、初期化時に取得した機器構成情報をバックアップするF310。次に再起動した時、再度機器構成情報を退避させた領域に退避データがあるかどうかチェックするF301。先ほどバックアップしたので退避データが存在するため、退避データを用いて機器構成が確定する前に起動処理を行うF302。起動中に機器構成応答を受け取った時F304、退避データと受け取った機器構成情報を比較F305、つまり起動時と再起動時の機器構成を比較し、異なっていれば退避データを応答情報で上書きしてF307、相違箇所及び影響範囲を再初期化F308、異なっていなければ処理を継続する。最後に起動処理の終了を判定しF303、起動処理を終了する。   The computer startup method of the present invention when the optional device is not changed at the time of restart will be described with reference to FIG. First, it is checked whether there is saved data in the area where the device configuration information is saved F301. Since there is no saved data at the beginning, the process is started without using saved data, F308, and when startup initialization is completed, F309, and the device configuration information acquired at initialization is backed up F310. Next, when the computer is restarted, F301 checks whether there is saved data in the area where the device configuration information is saved again. Since the backup data exists because it was backed up earlier, the startup process is performed before the device configuration is determined using the backup data F302. When a device configuration response is received during startup F304, the saved data is compared with the received device configuration information F305, that is, the device configuration at startup and restart is compared, and if they are different, the saved data is overwritten with the response information F307, re-initialize the difference part and influence range F308, and if not different, continue the processing. Finally, it is determined that the activation process has ended, F303, and the activation process is terminated.

図10を用いて、再起動時にオプション装置が変更された場合の、本発明のコンピュータの起動方法を説明する。まず、機器構成情報を退避させた領域に退避データがあるかどうかチェックするF301。始めは退避データが無いため退避データを用いず起動しF308、起動初期化が終了したらF309、初期化時に取得した機器構成情報をバックアップするF310。次に再起動した時、再度機器構成情報を退避させた領域に退避データがあるかどうかチェックするF301。先ほどバックアップしたので退避データが存在するため、退避データを用いて機器構成が確定する前に起動処理を行うF302。起動中に機器構成応答を受け取った時F304、退避データと受け取った機器構成情報を比較F305、つまり起動時と再起動時の機器構成を比較し、異なっていれば退避データを応答情報で上書きしてF307、相違箇所及び影響範囲を再初期化F308、異なっていなければ処理を継続する。最後に起動処理の終了を判定しF303、起動処理を終了する。   The computer startup method of the present invention when the optional device is changed at the time of restart will be described with reference to FIG. First, it is checked whether there is saved data in the area where the device configuration information is saved F301. Since there is no saved data at the beginning, the process is started without using saved data, F308, and when startup initialization is completed, F309, and the device configuration information acquired at initialization is backed up F310. Next, when the computer is restarted, F301 checks whether there is saved data in the area where the device configuration information is saved again. Since the backup data exists because it was backed up earlier, the startup process is performed before the device configuration is determined using the backup data F302. When a device configuration response is received during startup F304, the saved data is compared with the received device configuration information F305, that is, the device configuration at startup and restart is compared, and if they are different, the saved data is overwritten with the response information F307, re-initialize the difference part and influence range F308, and if not different, continue the processing. Finally, it is determined that the activation process has ended, F303, and the activation process is terminated.

図11は、退避データと取得データが異なっていた場合に、再起動する流れを説明したフローチャートである。起動方法には、一般的な起動方法であるオプション装置が変更されなかった場合、例外的な起動方法であるオプション装置が変更された場合の2種類があるが、前記実施例と再起動の箇所以外は変わらないため、以下で2種類の起動方法を同時に説明する。   FIG. 11 is a flowchart illustrating a flow of restarting when save data and acquired data are different. There are two types of start-up methods: when the optional device, which is a general start-up method, is not changed, and when the option device, which is an exceptional start-up method, is changed. Since there is no change except for, two types of activation methods will be described below simultaneously.

図11を用いて、再起動時にオプション装置が変更された場合とされなかった場合の、本発明のコンピュータの起動方法を説明する。まず、機器構成情報を退避させた領域に退避データがあるかどうかチェックするF201。始めは退避データが無いため退避データを用いず起動しF208、起動初期化が終了したらF209、初期化時に取得した機器構成情報をバックアップするF210。次に再起動した時、再度機器構成情報を退避させた領域に退避データがあるかどうかチェックするF201。先ほどバックアップしたので退避データが存在するため、退避データを用いて機器構成が確定する前に起動処理を行うF202。起動中に機器構成応答を受け取った時F204、退避データと受け取った機器構成情報を比較F205、つまり起動時と再起動時の機器構成を比較し、異なっていれば退避データを応答情報で上書きしてF207、相違箇所及び影響範囲を再初期化F208、異なっていなければ処理を継続する。最後に起動処理の終了を判定しF203、起動処理を終了する。   The computer startup method of the present invention when the optional device is changed or not changed at the time of restart will be described with reference to FIG. First, F201 checks whether there is saved data in the area where the device configuration information is saved. Since there is no saved data at the beginning, it starts without using saved data, F208, when startup initialization is completed, F209, and device configuration information acquired at initialization F210. When it is restarted next time, F201 checks whether there is saved data in the area where the device configuration information is saved again. Since the backup data exists because it was backed up earlier, start processing is performed before the device configuration is determined using the backup data F202. When a device configuration response is received during startup F204, the saved data is compared with the received device configuration information F205, that is, the device configuration at startup and restart is compared, and if they are different, the saved data is overwritten with the response information F207, the difference part and the influence range are reinitialized F208, and if they are not different, the processing is continued. Finally, it is determined that the activation process has ended, F203, and the activation process is terminated.

実施例2及び実施例3は、始めに退避データをチェックし、退避データがあった場合と無かった場合を別のルーチンで表現していた。前記方法だと確実な制御ができるが、2つのルーチンをわざわざ作る必要があり、冗長である。よって、図12を用いて、初めに退避データのチェックを行わず、機器情報を毎回退避する起動方法について以下で説明する。   In the second and third embodiments, the saved data is first checked, and the case where there is no saved data and the case where there is no saved data are expressed by different routines. Although the above method allows reliable control, it is necessary to create two routines and is redundant. Therefore, referring to FIG. 12, an activation method for saving device information each time without first checking the save data will be described below.

図12は図10及び図11の高速化ルーチンである。まず、退避データを用いて起動処理を行うF101。ただし、退避データ領域は初回起動前にクリア済みとする。次に、起動処理が完了しておらずF102、受信した機器初期化応答F103が退避データと異なるならば、退避データの相違部分を応答情報で上書きしF105、相違箇所の影響範囲を再初期化又は再起動するF106。一般的には相違箇所の影響範囲を再初期化し、条件の複合により影響範囲が読めない場合のみ再起動する。反対に、機器初期化応答を受信していない場合F103、又は機器初期化応答と退避データが同じ場合F104は、起動処理を継続する。最後に起動処理が完了するとF102、初期化情報の退避F107を行い、起動処理を終了する。ただし、初期化情報が異なれば該当箇所の退避は行っているF105ので、初期化情報の退避F107は、機器初期化応答の一括退避、又はすでに退避した情報のバックアップ、又は退避処理を行わない、等の処理でも良い。また、退避中に電源OFFされることで退避データが破壊される可能性があるが、退避データと応答情報の比較F104で修正される。   FIG. 12 shows the speed-up routine of FIGS. First, F101 that performs activation processing using the saved data. However, the save data area is cleared before the first activation. Next, if the startup process is not completed F102 and the received device initialization response F103 is different from the saved data, the different part of the saved data is overwritten with the response information F105, and the affected range of the different part is reinitialized Or F106 to restart. In general, the affected range of the different part is reinitialized, and restarted only when the affected range cannot be read due to a combination of conditions. Conversely, if the device initialization response has not been received, F103, or if the saved data is the same as the device initialization response, F104 continues the activation process. Finally, when the activation process is completed, F102 and initialization information saving F107 are performed, and the activation process is terminated. However, if the initialization information is different, the corresponding location is saved in F105, so initialization information save F107 does not perform batch save of device initialization response, backup of saved information, or save processing, Such processing may be used. Further, there is a possibility that the saved data may be destroyed when the power is turned off during saving, but this is corrected by the comparison F104 between the saved data and the response information.

前記実施例において、コンピュータ内部の動作状況を説明した。しかし、前記実施例のコンピュータは、複数回再起動を行う可能性等があり、ユーザはコンピュータが壊れているのではないか、と不信感を持つ可能性がある。よって、コンピュータの起動状況をユーザにフィードバックする方法について、以下で説明する。   In the above embodiment, the operation status inside the computer has been described. However, there is a possibility that the computer according to the embodiment may be restarted a plurality of times, and the user may be distrusted that the computer is broken. Therefore, a method for feeding back the activation status of the computer to the user will be described below.

図12と、図13、図14、図15、図16、図17を用いてUI進捗表示について説明する。図12のフローチャートは前記実施例で説明した。図13は起動進捗を表示するためプログレスバーG002を持つUI表示である。図14はコールバック数、図15は退避情報更新、図16は再起動、図17は再起動後のUI記号表示を表し、図13の一部G001に表示する。図14は、前回起動時の進捗G102、全応答情報数G103、現在の応答情報数G104を持つ。   The UI progress display will be described with reference to FIGS. 12, 13, 13, 14, 15, 16, and 17. The flowchart of FIG. 12 has been described in the above embodiment. FIG. 13 shows a UI display having a progress bar G002 for displaying the activation progress. 14 shows the number of callbacks, FIG. 15 shows the save information update, FIG. 16 shows the restart, FIG. 17 shows the UI symbol display after the restart, and this is displayed on a part G001 in FIG. FIG. 14 has a progress G102 at the time of previous activation, a total response information number G103, and a current response information number G104.

まず、起動時に初期化応答を受信F103したとき、現在の応答G104をカウントアップし表示する。次に、応答情報と退避データが異なっていた場合G305、退避情報更新G202,203,204を表示する。次に、相違箇所の影響範囲を再初期化又は再起動F106する前に、再起動G302を表示し、現在の応答情報数G104を退避する。最後に、起動を継続する際は退避した応答情報数G104をG402に表示し、起動継続もしくは再起動する。   First, when an initialization response is received F103 at startup, the current response G104 is counted up and displayed. Next, when the response information and the save data are different, G305 and save information update G202, 203, 204 are displayed. Next, before reinitializing or restarting the influence range of the difference portion, the restart G302 is displayed, and the current response information number G104 is saved. Finally, when the activation is continued, the saved response information number G104 is displayed on G402, and the activation is continued or restarted.

つまり、オプション機器のチェック、ハードウェア資源チェック、メモリ構成・システム資源・アルゴリズム資源等のソフトウェア資源チェック、画像構造化記述言語チェック、製品対象国チェック、製品名称等チェック、ユーザ設定チェック、プログラムバージョンチェック等の応答情報の合計は決まっているため、UIには、応答情報合計G103と現在の応答情報数G104、退避情報更新G203,G204,G205、再起動G302、を表示し、また、応答情報数を退避しておき、再起動の際は該応答情報数を表示することで、進捗を表示することができる。   In other words, optional device check, hardware resource check, software resource check such as memory configuration / system resource / algorithm resource, image structured description language check, product target country check, product name check, user setting check, program version check Since the total of response information is determined, the response information total G103, the current response information number G104, the saved information update G203, G204, G205, and the restart G302 are displayed on the UI, and the response information number Can be saved, and the progress can be displayed by displaying the number of response information when restarting.

本実施例に係わる画像入出力システムの全体構成の説明図。1 is an explanatory diagram of an overall configuration of an image input / output system according to an embodiment. FIG. 操作部150となるユーザI/F。User I / F to be the operation unit 150. リーダー部およびプリンタ部の断面図。Sectional drawing of a leader part and a printer part. 制御装置のブロック図。The block diagram of a control apparatus. メインコントローラのブロック図。The block diagram of a main controller. システムバスブリッジのブロック図。The block diagram of a system bus bridge. スキャナコントローラ、プリンタコントローラのブロック図。The block diagram of a scanner controller and a printer controller. 実施例1のフローチャート図。FIG. 3 is a flowchart of the first embodiment. 実施例1のフローチャート図。FIG. 3 is a flowchart of the first embodiment. 実施例2のフローチャート図。FIG. 6 is a flowchart of the second embodiment. 実施例3のフローチャート図。FIG. 9 is a flowchart of the third embodiment. 実施例4、5のフローチャート図。FIG. 6 is a flowchart of Examples 4 and 5. 実施例5で用いるUI表示部。UI display unit used in the fifth embodiment. 実施例5で用いるUI表示の一部。Part of the UI display used in the fifth embodiment. 実施例5で用いるUI表示の一部。Part of the UI display used in the fifth embodiment. 実施例5で用いるUI表示の一部。Part of the UI display used in the fifth embodiment. 実施例5で用いるUI表示の一部。Part of the UI display used in the fifth embodiment.

符号の説明Explanation of symbols

331 搬送路
335 搬送路
336 搬送路
338 搬送路
333 搬送路
332 再給紙搬送路
325 定着部
323 感光ドラム
331 Conveying path 335 Conveying path 336 Conveying path 338 Conveying path 333 Conveying path 332 Refeeding conveying path 325 Fixing unit 323 Photosensitive drum

Claims (8)

中央演算装置やデバイス等のレジスタと、メモリ等の揮発性記憶装置と、不揮発メモリや外部記憶装置等の不揮発性記憶装置を持つプログラム実行型のコンピュータ装置において、
該揮発性記憶装置をプログラム領域、データ領域、画像領域等の一時記憶領域、未使用領域に分割し、通常状態からスリープ状態又はシステム停止状態へ遷移する前に該データ領域及び該レジスタを該不揮発性記憶装置に格納し、スリープ状態又はシステム停止状態から通常状態へ遷移する際に格納した該データ領域と該レジスタ、及び該不揮発記憶装置にあらかじめ格納している実行形式のプログラムを展開し、該展開した情報を用いて復帰することを特徴とする、コンピュータ装置。
In a program execution type computer device having a register such as a central processing unit or device, a volatile storage device such as a memory, and a nonvolatile storage device such as a nonvolatile memory or an external storage device,
The volatile storage device is divided into a temporary storage area such as a program area, a data area, and an image area, and an unused area. The data area and the register stored when the transition from the sleep state or the system stop state to the normal state is stored, and the executable program stored in advance in the nonvolatile storage device are expanded, A computer apparatus, wherein the information is restored using the developed information.
該外部記憶装置は、コンピュータ内蔵型、コンピュータ外部接続型、ネットワーク経由接続型であることを特徴とする、請求項1記載のコンピュータ装置。   2. The computer apparatus according to claim 1, wherein the external storage device is a built-in computer type, a computer external connection type, or a network connection type. 復帰する際にプログラムとデータの整合性をチェックし、異なっていれば該データを使わずに起動することを特徴とする、請求項1記載のコンピュータ装置。   2. The computer apparatus according to claim 1, wherein the consistency between the program and the data is checked when returning, and if they are different, the computer is started without using the data. 起動時に機器構成情報を収集且つ退避し、再起動時は退避した該機器構成情報を用いて起動すること
を特徴とする、コンピュータ装置。
A computer apparatus, wherein device configuration information is collected and saved at startup, and is started up using the saved device configuration information at restart.
起動時に、退避されている該機器構成情報と収集した機器構成情報が異なっていた場合は、退避させた機器情報領域に収集した機器情報を上書きし該当箇所及び影響範囲箇所を再初期化、又は、退避させた該機器構成情報領域をクリアして再起動することを特徴とする、
請求項4記載のコンピュータ装置。
If the saved device configuration information differs from the collected device configuration information at the time of startup, the collected device information is overwritten in the saved device information area, and the corresponding location and the affected range location are reinitialized, or The device configuration information area that has been evacuated is cleared and restarted.
The computer apparatus according to claim 4.
該機器構成情報とは、オプション機器の有無の情報、オプション機器の応答時間情報、ハードウェア資源情報、メモリ構成・システム資源・アルゴリズム資源等のソフトウェア資源情報、画像構造化記述言語情報、製品対象国情報、製品を一意に特定する情報、ユーザ設定情報、プログラムバージョン情報等の一つ以上であることを特徴とする、
請求項4記載のコンピュータ装置。
The device configuration information includes information on presence / absence of optional devices, response time information of optional devices, hardware resource information, software resource information such as memory configuration / system resources / algorithm resources, image structured description language information, product target country It is characterized by being one or more of information, information for uniquely identifying a product, user setting information, program version information, etc.
The computer apparatus according to claim 4.
該機器構成情報の退避先は、外部記憶装置、不揮発メモリ、揮発メモリ、レジスタの一つ以上であることを特徴とする、
請求項4記載のコンピュータ装置。
The device configuration information save destination is one or more of an external storage device, a nonvolatile memory, a volatile memory, and a register.
The computer apparatus according to claim 4.
スリープ又は電源OFF時に該揮発メモリ及び該レジスタが通電しているならば、該揮発メモリ及び該レジスタへデータを保存することができることを特徴とする、
請求項7記載のコンピュータ装置。
If the volatile memory and the register are energized at the time of sleep or power off, data can be stored in the volatile memory and the register.
The computer apparatus according to claim 7.
JP2005226810A 2005-08-04 2005-08-04 Method for accelerating saving/restoring of computer Withdrawn JP2007038580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005226810A JP2007038580A (en) 2005-08-04 2005-08-04 Method for accelerating saving/restoring of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005226810A JP2007038580A (en) 2005-08-04 2005-08-04 Method for accelerating saving/restoring of computer

Publications (1)

Publication Number Publication Date
JP2007038580A true JP2007038580A (en) 2007-02-15

Family

ID=37797001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005226810A Withdrawn JP2007038580A (en) 2005-08-04 2005-08-04 Method for accelerating saving/restoring of computer

Country Status (1)

Country Link
JP (1) JP2007038580A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009186913A (en) * 2008-02-08 2009-08-20 Kyocera Mita Corp Image forming apparatus and program
JP2010094925A (en) * 2008-10-17 2010-04-30 Ricoh Co Ltd Image processing apparatus
CN103312918A (en) * 2012-03-14 2013-09-18 富士施乐株式会社 Image forming apparatus, image processing device and image processing method
US9250678B2 (en) 2009-08-31 2016-02-02 Nintendo Co., Ltd. Information processing apparatus, and computer-readable storage medium having startup/shutdown control program stored therein
US9841754B2 (en) 2014-04-25 2017-12-12 Mitsubishi Electric Corporation Information-linkage supporting apparatus and information-linkage supporting program
US11983058B2 (en) 2018-10-09 2024-05-14 Canon Kabushiki Kaisha Processing apparatus and method of acquiring data of part counter

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009186913A (en) * 2008-02-08 2009-08-20 Kyocera Mita Corp Image forming apparatus and program
JP2010094925A (en) * 2008-10-17 2010-04-30 Ricoh Co Ltd Image processing apparatus
US9250678B2 (en) 2009-08-31 2016-02-02 Nintendo Co., Ltd. Information processing apparatus, and computer-readable storage medium having startup/shutdown control program stored therein
CN103312918A (en) * 2012-03-14 2013-09-18 富士施乐株式会社 Image forming apparatus, image processing device and image processing method
US8687220B2 (en) 2012-03-14 2014-04-01 Fuji Xerox Co., Ltd. Image forming apparatus, information processing device, and non-transitory computer readable medium storing program
CN103312918B (en) * 2012-03-14 2017-05-10 富士施乐株式会社 Image forming apparatus, image processing device and image processing method
US9841754B2 (en) 2014-04-25 2017-12-12 Mitsubishi Electric Corporation Information-linkage supporting apparatus and information-linkage supporting program
US11983058B2 (en) 2018-10-09 2024-05-14 Canon Kabushiki Kaisha Processing apparatus and method of acquiring data of part counter

Similar Documents

Publication Publication Date Title
JP2002037540A (en) Image forming device, control method for image forming device, and storage medium
JP2006201932A (en) Computer starting device, computer starting method, and computer starting program
JP2007038580A (en) Method for accelerating saving/restoring of computer
US9336463B2 (en) Image forming apparatus capable of changing partitions of storage unit, and control method and storage medium therefor
JP4143381B2 (en) Image processing apparatus, restart method, program, and storage medium
JP2008023780A (en) Image processing apparatus and its controlling method
JP2008004012A (en) Computer device with method of automatically stopping device
JP2002366362A (en) Electronic equipment and its control method
JP2004194254A (en) Information processing apparatus
JP2009145579A (en) Image output device
JP2006252094A (en) Image processor
JP2004058499A (en) Control method for image formation device
JP5932511B2 (en) Information processing apparatus, software update method, and computer program
JP2007226463A (en) Information processor and information processing method
JP2007028183A (en) Image copying machine
JP2006222581A (en) Image forming apparatus and control method thereof, computer program, and storage medium
JP2012190199A (en) Image forming apparatus
JP4086473B2 (en) Image forming system, control method, and computer-readable storage medium
US7898683B2 (en) Image processing apparatus, control method for the same, and computer-readable medium storing a computer program for preventing downloading of resources data when a print job exists
JP2006229570A (en) Image display device
JP2008004011A (en) Computer device with method of restoring data of nonvolatile memory
JP2006197049A (en) Image processing apparatus, and method of processing image, storage medium and program storing program readable by computer
JP4510231B2 (en) Image processing apparatus, image processing apparatus control method, and storage medium
JP4454874B2 (en) Printing apparatus and printing apparatus control method
JP2002297391A (en) Method and device for starting computer and control program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081007