JP2012155534A - Electronic device, and method and program of the same - Google Patents

Electronic device, and method and program of the same Download PDF

Info

Publication number
JP2012155534A
JP2012155534A JP2011014044A JP2011014044A JP2012155534A JP 2012155534 A JP2012155534 A JP 2012155534A JP 2011014044 A JP2011014044 A JP 2011014044A JP 2011014044 A JP2011014044 A JP 2011014044A JP 2012155534 A JP2012155534 A JP 2012155534A
Authority
JP
Japan
Prior art keywords
saving mode
power saving
electronic device
switch
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011014044A
Other languages
Japanese (ja)
Inventor
Kenji Hara
健二 原
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 JP2011014044A priority Critical patent/JP2012155534A/en
Publication of JP2012155534A publication Critical patent/JP2012155534A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic device with secured reliability and reduced boot time.SOLUTION: An electronic device sets a reboot flag to on at a shut-down processing when turning a power off, and performs a boot processing again. When the reboot flag is on (S202), the boot processing performs only predetermined processing (S205, S207) for rebooting the electronic device and moves to a power-saving mode (S208). After moving to the power-saving mode and when a power switch is turned on, the electronic device cancels the power-saving mode (S209) and performs subsequent boot processing (S210, S211, S212).

Description

本発明は、電子機器及びその制御方法、並びにプログラムに関し、特に、省電力モードが実行可能な電子機器及びその制御方法、並びにプログラムに関する。   The present invention relates to an electronic device, a control method thereof, and a program, and more particularly, to an electronic device capable of executing a power saving mode, a control method thereof, and a program.

現行の画像形成装置は高機能化に伴い、ユーザが電源スイッチをONしてから操作可能となるまで長くなる傾向にある。   Current image forming apparatuses tend to become longer from the time the user turns on the power switch until they can be operated, as the functionality increases.

これに対し、ユーザが電源OFF操作をした際に主記憶メモリを通電したままにするいわゆるサスペンド方式による高速化手法がある(例えば、特許文献1参照)。   On the other hand, there is a so-called suspend method for speeding up the main memory while the power is turned off by the user (see, for example, Patent Document 1).

特開平11−327678号公報JP-A-11-327678 特開2002−73220号公報JP 2002-73220 A

例えばACPI−S3方式等の前回終了時の状態を記憶しておき、その状態に復帰する方法を用いた場合、制御プログラムにリセットがかからなくなるため、例えばメモリの断片化等が進んでいく等の不具合が発生する可能性がある。また、設定変更などに伴い制御プログラムにリセットを必要とする判断を正確に行わなければならなくなる。   For example, when the method at the time of the previous end such as the ACPI-S3 method is stored and the method for returning to that state is used, the control program will not be reset. For example, memory fragmentation proceeds. May cause problems. In addition, it is necessary to accurately make a determination that the control program needs to be reset in accordance with a setting change or the like.

これらのリスクの軽減のため、より安全には必ず制御プログラムにリセットを掛けることが好ましい。   In order to reduce these risks, it is preferable to reset the control program more safely.

このように、従来の技術では、電子機器の起動を高速化すると動作の安定性を損なうことがあるという問題点があった。   As described above, the conventional technique has a problem that the stability of the operation may be deteriorated when the start-up of the electronic device is accelerated.

本発明の目的は、起動の高速化及び動作の安定性を確保した電子機器、及びその制御方法、並びにプログラムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic device that secures high-speed startup and stable operation, a control method therefor, and a program.

上記目的を達成するために、請求項1記載の電子機器は、電源をオン又はオフとするためのスイッチを備え、省電力モードが実行可能な電子機器であって、前記スイッチがオフとされた場合に、前記電子機器をシャットダウンさせるシャットダウン手段と、前記シャットダウン手段によりシャットダウンされた後に、前記電子機器の再起動を行うための予め定められた処理を実行する再起動手段と、前記再起動手段により前記予め定められた処理が実行されると、省電力モードに移行させる移行手段と、前記移行手段により前記省電力モードに移行した後に、前記スイッチがオンとされた場合に、前記省電力モードを解除する解除手段とを備える。   In order to achieve the above object, an electronic device according to claim 1 is an electronic device including a switch for turning on or off a power supply and capable of executing a power saving mode, wherein the switch is turned off. A shutdown unit that shuts down the electronic device, a restart unit that executes a predetermined process for restarting the electronic device after being shut down by the shutdown unit, and a restart unit. When the predetermined processing is executed, a transition unit that shifts to the power saving mode, and the power saving mode when the switch is turned on after the transition unit shifts to the power saving mode. Release means for releasing.

本発明によれば、起動の高速化及び動作の安定性を確保することができる。   According to the present invention, it is possible to ensure high-speed startup and operational stability.

本発明の実施の形態に係る電子機器としての画像形成装置1の概略構成を示す図である。1 is a diagram showing a schematic configuration of an image forming apparatus 1 as an electronic apparatus according to an embodiment of the present invention. 図1におけるコントローラの概略構成を示す図である。It is a figure which shows schematic structure of the controller in FIG. 図2における電源ユニットの概略構成を示す図である。It is a figure which shows schematic structure of the power supply unit in FIG. 図2におけるコントローラの電源及びリセットに関する構成を示す図である。It is a figure which shows the structure regarding the power supply and reset of the controller in FIG. 図1の画像形成装置1により実行されるシャットダウン処理の手順を示すフローチャートである。3 is a flowchart illustrating a procedure of shutdown processing executed by the image forming apparatus 1 in FIG. 1. 図1の画像形成装置1により実行されるブート処理の手順を示すフローチャートである。3 is a flowchart showing a procedure of boot processing executed by the image forming apparatus 1 in FIG. 1. 画像形成装置本体の状態の時間変化を示す図であり、(A)は従来技術における時間変化、(B)は本実施の形態に係るシャットダウン、ブート処理を行った場合の時間変化、(C)は図6のステップS211,212を実行しない場合の時間変化を示している。4A and 4B are diagrams illustrating a time change of the state of the image forming apparatus main body, where FIG. 5A is a time change in the prior art, FIG. 5B is a time change when performing shutdown and boot processing according to the embodiment, Shows the time change when steps S211 and S212 of FIG. 6 are not executed. 図3における電源ユニットの変形例を示す図である。It is a figure which shows the modification of the power supply unit in FIG. 図8におけるタイマによって強制オフとされる場合の時間変化を示す図である。It is a figure which shows the time change when it is forced off by the timer in FIG. 図8におけるタイマによって強制オフとされる場合の時間変化を示す図であり、(A)は正常系、(B)は異常系の時間変化を示す図である。It is a figure which shows the time change when it is forcedly turned off by the timer in FIG. 8, (A) is a figure which shows the time change of a normal system, (B). 図4に示したコントローラの電源及びリセットに関する構成の変形例を示す図である。FIG. 5 is a diagram illustrating a modified example of a configuration related to power supply and reset of the controller illustrated in FIG. 4. 図11に示したコントローラの構成で実行されるシャットダウン及びブート処理における時間変化を示す図である。It is a figure which shows the time change in the shutdown and boot processing performed with the structure of the controller shown in FIG. 図11のCPUにより実行されるリブート処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the reboot process performed by CPU of FIG. 図11のCPUにより実行されるタイマ割り込み処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the timer interruption process performed by CPU of FIG.

以下、本発明の実施の形態について図面を参照しながら詳述する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の形態に係る電子機器としての画像形成装置1の概略構成を示す図である。   FIG. 1 is a diagram showing a schematic configuration of an image forming apparatus 1 as an electronic apparatus according to an embodiment of the present invention.

図1において、画像形成装置1は、コントローラ3、スキャナ装置2、FAX装置7、操作部5、HDD6、及びプリンタ装置4で構成される。   In FIG. 1, the image forming apparatus 1 includes a controller 3, a scanner device 2, a FAX device 7, an operation unit 5, an HDD 6, and a printer device 4.

コントローラ3は、画像形成装置1全体を制御するもので、図1に示されるスキャナ装置2などと接続され各モジュールに指示を出す事により、画像形成装置1でジョブを実行することが可能となっている。スキャナ装置2は、原稿から光学的に画像を読み取りデジタル画像に変換する。そして、スキャナ装置2は、原稿束を自動的に逐次入れ替えることが可能な原稿給紙ユニット21、原稿を光学スキャンしデジタル画像に変換する事が可能なスキャナユニット22を備え、変換された画像データはコントローラ3に送信される。   The controller 3 controls the entire image forming apparatus 1. The controller 3 is connected to the scanner apparatus 2 shown in FIG. 1 and the like, and can execute a job in the image forming apparatus 1 by giving an instruction to each module. ing. The scanner device 2 optically reads an image from a document and converts it into a digital image. The scanner device 2 includes a document feeding unit 21 that can automatically and sequentially replace a bundle of documents, and a scanner unit 22 that can optically scan a document and convert it into a digital image. Is transmitted to the controller 3.

プリンタ装置4は、デジタル画像を紙デバイスに出力する。そしてプリンタ装置4は、紙束から一枚ずつ逐次給紙可能な給紙ユニット42、給紙した紙に画像データを印刷するためのマーキングユニット41、印刷後の紙を排紙するための排紙ユニット43を備える。   The printer device 4 outputs a digital image to a paper device. The printer device 4 includes a paper feeding unit 42 that can sequentially feed a paper bundle one by one, a marking unit 41 for printing image data on the fed paper, and a paper discharge for discharging the printed paper. A unit 43 is provided.

FAX装置7は、電話回線等にデジタル画像を送信する。操作部5(表示手段)は、ユーザが画像形成装置1の操作を行なうために用いられる。HDD6には、デジタル画像や制御プログラム等が記憶されている。   The FAX apparatus 7 transmits a digital image to a telephone line or the like. The operation unit 5 (display unit) is used by the user to operate the image forming apparatus 1. The HDD 6 stores digital images, control programs, and the like.

この画像形成装置1は多彩なジョブを実行可能である。一例を以下に記載する。
・複写機能
スキャナ装置2から読み込んだ画像をHDD6に記録し、同時にプリンタ装置4を使用して印刷を行なう。
・画像送信機能
スキャナ装置2から読み込んだ画像をLAN8を介してコンピュータ9に送信する。
・画像保存機能
スキャナ装置2から読み込んだ画像をHDD6に記録し、必要に応じて画像送信や画像印刷を行なう。
・画像印刷機能
コンピュータ9から送信された例えばページ記述言語を解析し、プリンタ装置4で印刷する。
The image forming apparatus 1 can execute various jobs. An example is described below.
Copy function The image read from the scanner device 2 is recorded in the HDD 6 and simultaneously printed using the printer device 4.
Image transmission function An image read from the scanner device 2 is transmitted to the computer 9 via the LAN 8.
Image storage function The image read from the scanner device 2 is recorded in the HDD 6, and image transmission and image printing are performed as necessary.
Image printing function For example, the page description language transmitted from the computer 9 is analyzed and printed by the printer device 4.

図2は、図1におけるコントローラ3の概略構成を示す図である。   FIG. 2 is a diagram showing a schematic configuration of the controller 3 in FIG.

図2において、コントローラ3は、メインボード200と、サブボード220から構成される。   In FIG. 2, the controller 3 includes a main board 200 and a sub board 220.

メインボード200はいわゆる汎用的なCPUシステムである。メインボード200は、CPU201、ブートロム202、USBコントローラ208、メモリ203、バスコントローラ204、不揮発性メモリ205、ディスクコントローラ206、及びフラッシュディスク207で構成される。   The main board 200 is a so-called general-purpose CPU system. The main board 200 includes a CPU 201, a boot ROM 202, a USB controller 208, a memory 203, a bus controller 204, a nonvolatile memory 205, a disk controller 206, and a flash disk 207.

CPU201は、メインボード200全体を制御する。ブートロム202は、ブートプログラムが記憶されている。メモリ203は、揮発性のメモリであり、CPU201がワークメモリとして使用する。通常、ソフトウェアは不揮発性メモリ205に記憶されており、それを動作させるための一時的なデータ等がメモリ203には展開されるが、このデータに加え、メモリ203には不揮発性メモリ205に記憶されているソフトウェアから生成されたソフトウェアが展開されることもある。コントローラ3はソフトウェアに従って画像形成装置1を制御することとなるが、メモリ203に記憶されたデータやソフトウェア等の情報に不具合が発生することにより、ソフトウェアの動作状態が不正な状態となる。この場合、メモリ203に電源を供給して他のデバイス(例えばプリンタ装置4)等を再起動しても、当然に不安定な状態が継続することとなる。従って、コントローラ3への電力の供給を遮断することでメモリ203への電力の供給を遮断して再起動することで、ソフトウェアの動作が不正な状態から正常に動作させることができる。   The CPU 201 controls the entire main board 200. The boot ROM 202 stores a boot program. The memory 203 is a volatile memory and is used as a work memory by the CPU 201. Normally, software is stored in the nonvolatile memory 205, and temporary data and the like for operating the software are expanded in the memory 203. In addition to this data, the memory 203 stores in the nonvolatile memory 205. Software generated from existing software may be deployed. The controller 3 controls the image forming apparatus 1 in accordance with software. However, when a problem occurs in data stored in the memory 203 or information such as software, the operation state of the software becomes invalid. In this case, even if power is supplied to the memory 203 and another device (for example, the printer device 4) is restarted, the unstable state naturally continues. Therefore, by interrupting the power supply to the controller 3 and shutting off the power supply to the memory 203 and restarting, the software can be operated normally from an illegal state.

バスコントローラ204は、外部バスとのブリッジ機能を有する。不揮発性メモリ205は、電源の供給が断たれた場合でも情報を保持することができる。ディスクコントローラ206は、ストレージ装置を制御する。フラッシュディスク(例えばSSD等)207は、半導体デバイスで構成された比較的小容量なストレージ装置である。USBコントローラ208は、USBを制御することが可能なコントローラである。   The bus controller 204 has a bridge function with an external bus. The nonvolatile memory 205 can retain information even when power supply is cut off. The disk controller 206 controls the storage device. A flash disk (for example, SSD) 207 is a relatively small-capacity storage apparatus configured with semiconductor devices. The USB controller 208 is a controller capable of controlling USB.

メインボード200には外部に上述したUSBコントローラ208、操作部5、及びHDD6が接続される。また、HDD6は不揮発デバイスであればその種を問わない。このうちの操作部5は、ユーザに情報を表示したり、ユーザが操作するための各種ボタンやタッチパネル等で構成される。   The main board 200 is connected to the USB controller 208, the operation unit 5, and the HDD 6 described above. The type of HDD 6 is not limited as long as it is a nonvolatile device. Of these, the operation unit 5 includes various buttons, a touch panel, and the like for displaying information to the user and operating by the user.

サブボード220は比較的小さな汎用CPUシステムと、画像処理ハードウェアから構成される。   The sub board 220 includes a relatively small general-purpose CPU system and image processing hardware.

サブボード220は、CPU221、メモリ223、バスコントローラ224、不揮発性メモリ225、画像処理プロセッサ227、デバイスコントローラ226,228で構成される。   The sub board 220 includes a CPU 221, a memory 223, a bus controller 224, a non-volatile memory 225, an image processor 227, and device controllers 226 and 228.

CPU221は、サブボード220全体を制御する。メモリ223は、CPU221がワークメモリとして使用する。バスコントローラ224は、外部バスとのブリッジ機能を有する。不揮発性メモリ225は、電源の供給が断たれた場合でも情報を保持することができる。   The CPU 221 controls the entire sub board 220. The memory 223 is used as a work memory by the CPU 221. The bus controller 224 has a bridge function with an external bus. The nonvolatile memory 225 can retain information even when power supply is cut off.

画像処理プロセッサ227は、リアルタイムデジタル画像処理を行う。デバイスコントローラ226,228は、それぞれプリンタ装置4、スキャナ装置2と画像処理プロセッサ227との間のデータの受け渡しを行う。FAX装置7はCPU221が直接制御を行う。   The image processor 227 performs real-time digital image processing. The device controllers 226 and 228 exchange data between the printer device 4 and the scanner device 2 and the image processor 227, respectively. The FAX apparatus 7 is directly controlled by the CPU 221.

電源ユニット302は、コントローラ3、プリンタ装置4、及びスキャナ装置2に電源を供給する。電源監視部603は、電源ユニット302に設けられた電源スイッチからのスイッチの状態が入力される。リセット回路601、及びリセット回路604は、それぞれメインボード200、及びサブボード220におけるリセット回路である。これら電源周りに関しては後に詳細な説明をする。   The power supply unit 302 supplies power to the controller 3, the printer device 4, and the scanner device 2. The power monitoring unit 603 receives a switch state from a power switch provided in the power unit 302. The reset circuit 601 and the reset circuit 604 are reset circuits in the main board 200 and the sub board 220, respectively. These power supply surroundings will be described in detail later.

なお、図1は説明を簡単にするために、画像形成装置1の構成を簡略化したものとなっている。例えばCPU201、CPU221等にはチップセット、バスブリッジ、クロックジェネレータ等のCPU周辺ハードウェアが多数含まれているが、説明の粒度的に不必要であるため簡略化記載しており、このブロック構成が本発明を制限するものではない。   In FIG. 1, the configuration of the image forming apparatus 1 is simplified for the sake of simplicity. For example, the CPU 201, the CPU 221 and the like include a large number of CPU peripheral hardware such as a chip set, a bus bridge, and a clock generator. It is not intended to limit the invention.

上記構成におけるコントローラ3の動作について、画像複写を例に説明する。   The operation of the controller 3 in the above configuration will be described by taking image copying as an example.

ユーザが操作部5から画像複写を指示すると、CPU201がCPU221を介してスキャナ装置2に画像読み取り命令を送る。スキャナ装置2は紙原稿を光学スキャンしデジタル画像データに変換してデバイスコントローラ226を介して画像処理プロセッサ227に入力する。画像処理プロセッサはCPU221を介してメモリ223にDMA転送を行いデジタル画像データの一時保存を行う。   When the user instructs image copying from the operation unit 5, the CPU 201 sends an image reading command to the scanner device 2 via the CPU 221. The scanner device 2 optically scans a paper document, converts it into digital image data, and inputs the digital image data to the image processor 227 via the device controller 226. The image processor performs DMA transfer to the memory 223 via the CPU 221 to temporarily store digital image data.

CPU201はデジタル画像データがメモリ223に一定量もしくは全て入ったことが確認できると、CPU221を介してプリンタ装置4に画像出力指示を出す。CPU221は画像処理プロセッサ227にメモリ223の画像データの位置を教える。プリンタ装置4からの同期信号に従ってメモリ223上の画像データは画像処理プロセッサとデバイスコントローラ226を介してプリンタ装置4に送信され、プリンタ装置4にて紙デバイスにデジタル画像データが印刷される。   When the CPU 201 can confirm that a certain amount or all of the digital image data has entered the memory 223, it issues an image output instruction to the printer device 4 via the CPU 221. The CPU 221 tells the image processor 227 the position of the image data in the memory 223. The image data on the memory 223 is transmitted to the printer device 4 via the image processor and the device controller 226 according to the synchronization signal from the printer device 4, and the digital image data is printed on the paper device by the printer device 4.

複数部印刷を行う場合、CPU201がメモリ223の画像データをHDD6に対して保存を行い、2部目以降はスキャナ装置2から画像をもらわずともプリンタ装置4に画像を送ることが可能である。   When printing multiple copies, the CPU 201 can store the image data in the memory 223 in the HDD 6 and send images to the printer device 4 without receiving images from the scanner device 2 for the second and subsequent copies.

図3は、図2における電源ユニット302の概略構成を示す図である。   FIG. 3 is a diagram showing a schematic configuration of the power supply unit 302 in FIG.

図3において、電源ユニット302は、スイッチ301、及びAC−DCコンバータ303を備えている。   In FIG. 3, the power supply unit 302 includes a switch 301 and an AC-DC converter 303.

スイッチ301はトグル型スイッチであり、ON/OFFの状態のどちらか一方の状態をメカ的に保持し続けるスイッチである。AC−DCコンバータ303はAC電源をDC電源に変換して、それをコントローラ3、プリンタ装置4、及びスキャナ装置2に供給する。スイッチ301の状態は、コントローラ3に通知され、コントローラ3は、AC−DCコンバータ303からの出力を制御する。   The switch 301 is a toggle type switch, and is a switch that keeps mechanically holding one of the ON / OFF states. The AC-DC converter 303 converts AC power into DC power and supplies it to the controller 3, the printer device 4, and the scanner device 2. The state of the switch 301 is notified to the controller 3, and the controller 3 controls the output from the AC-DC converter 303.

ユーザはスイッチ301をON/OFFのいずれか側に倒す事で画像形成装置1をON/OFFすることが可能である。このスイッチ301はON時にAC−DCコンバータ303に接続されており電源の通電状態を制御することができる。   The user can turn on / off the image forming apparatus 1 by tilting the switch 301 to either side of ON / OFF. The switch 301 is connected to the AC-DC converter 303 when ON, and can control the energization state of the power source.

また、OFF時はコントローラ3がシステムのシャットダウンが完了するまでコントローラ3への電源供給を停止してはならない。つまり、コントローラ3は、スイッチ301の状態が信号線307により通知され、シャットダウンが完了後に信号線308により電源リモート信号を用いて、自らへのDC電源の供給を断つようになっている。   When the power is off, the power supply to the controller 3 must not be stopped until the controller 3 completes the system shutdown. That is, the controller 3 is notified of the state of the switch 301 by the signal line 307, and cuts off the supply of DC power to itself using the power source remote signal by the signal line 308 after the shutdown is completed.

本実施の形態ではOFF/ONが明示的なトグル型スイッチを用いているが、パーソナルコンピュータ等では状態を持たない電源スイッチ(電源スイッチ自体が省電力移行スイッチとして機能するもの等も含む)を採用しているものが多数ある。これらの状態を持たないスイッチは、1.装置電源が入っている状態では「OFF/省電力モード移行指示」として機能し、2.装置電源が入っていない状態においては「ON」と機能する。また、3.一定時間以上スイッチを押下し続けることで「強制OFF」を入力する、等の制御パターンがある。このように、本実施の形態に係る画像形成装置1は省電力モードが実行可能な電子機器となっている。   In this embodiment, a toggle type switch with explicit OFF / ON is used, but a personal computer or the like has a power switch (including a power switch that functions as a power saving transition switch). There are a lot of things. A switch that does not have these states: 1. It functions as an “OFF / power saving mode transition instruction” when the apparatus power is on. “ON” functions when the apparatus power is not turned on. 3. There is a control pattern such as inputting “forced OFF” by continuously pressing the switch for a certain period of time. As described above, the image forming apparatus 1 according to the present embodiment is an electronic device that can execute the power saving mode.

上述した1、2のON/OFFのパターンにトグルスイッチのON/OFFを当てはめれば、本実施の形態におけるスイッチ301を、状態を持たないスイッチに適用することができる。   If the toggle switch ON / OFF is applied to the above-described 1 and 2 ON / OFF patterns, the switch 301 in this embodiment can be applied to a switch having no state.

図4は、図2におけるコントローラ3の電源及びリセットに関する構成を示す図である。   FIG. 4 is a diagram showing a configuration relating to the power supply and reset of the controller 3 in FIG.

図4において、メインボード200は、上述したCPU201、電源監視部603、リセット回路601、BIOS602、H/W群605で構成される。また、サブボード220は、リセット回路604、及びH/W群606で構成される。   In FIG. 4, the main board 200 includes the above-described CPU 201, power supply monitoring unit 603, reset circuit 601, BIOS 602, and H / W group 605. The sub board 220 includes a reset circuit 604 and an H / W group 606.

このうち、BIOSは、メインボード200上のハードウェアの基本的な部分を制御するもので、低レベルのH/W制御ライブラリ等が含まれている。一般的にはIBM(登録商標)互換機の互換性確保のためのものであり、いわゆるコンピュータシステム上必須ではないが、例えばACPI規格による省電力機能の一部を実行する事も可能であるため一例として記載した。   Of these, the BIOS controls basic parts of the hardware on the main board 200, and includes a low-level H / W control library and the like. Generally, it is for ensuring compatibility of an IBM (registered trademark) compatible machine, and is not essential for a so-called computer system. However, for example, a part of a power saving function based on the ACPI standard can be executed. It was described as an example.

電源監視部603は、コントローラ3の電源制御を監視する専用ロジック回路であり、ASICを用いる場合は、小さなCPUシステムでもよい。また、H/W群605,606は、図4において示されてなく、図2において示されたハードウェアをまとめて表現したものである。   The power supply monitoring unit 603 is a dedicated logic circuit that monitors the power supply control of the controller 3 and may be a small CPU system when using an ASIC. Also, the H / W groups 605 and 606 are not shown in FIG. 4 but represent the hardware shown in FIG. 2 collectively.

同期型のH/Wはリセットにより内部状態をリセットするため、同期型で組まれたH/W回路は電源ON後電力が各チップに供給された後にリセット回路が各H/Wをリセットする必要がある。   Since the synchronous H / W resets the internal state by reset, the H / W circuit assembled in the synchronous type needs to reset each H / W after power is supplied to each chip after the power is turned on. There is.

複数のH/Wチップは主従関係を持つため、リセットシーケンスを設計し、順次リセットを掛けていく事になる。そのため一般的には本実施の形態のように一つのボードに一つのリセット回路を持ち、各々のボード内のリセット動作を各リセット回路が行うことになる。   Since a plurality of H / W chips have a master-slave relationship, a reset sequence is designed and reset is sequentially performed. Therefore, in general, one reset circuit is provided on one board as in the present embodiment, and each reset circuit performs a reset operation in each board.

上述した電源監視部603は、信号線308を用いてメインボード200における電源供給を制御することが出来る、等の機能を有する。CPU201が正常に動作出来る場合、CPU201の指示に従いシステムにリセットを掛けることが可能である。また、CPU201に電源が供給されていない状態ではスイッチ301の入力から信号線308を介して制御することで、コントローラ3の電源を投入したりすることが出来る。   The above-described power supply monitoring unit 603 has a function such that the power supply in the main board 200 can be controlled using the signal line 308. When the CPU 201 can operate normally, it is possible to reset the system in accordance with an instruction from the CPU 201. Further, in a state where the power is not supplied to the CPU 201, the controller 3 can be turned on by controlling from the input of the switch 301 via the signal line 308.

本実施の形態では省電力モードとして一般的なACPI−S3方式(メモリをレジュームする方式によるサスペンド技術)を例に説明する。   In the present embodiment, a general ACPI-S3 system (suspending technique based on a system for resuming memory) will be described as an example of the power saving mode.

以上のH/W構成をもつ画像形成装置において、例えばトグル型電源スイッチであるスイッチ301をOFFにする際に、CPU201は電源監視部603を介してスイッチ301の状態を受け取ることが可能である。   In the image forming apparatus having the above H / W configuration, for example, when the switch 301 which is a toggle type power switch is turned off, the CPU 201 can receive the state of the switch 301 via the power monitoring unit 603.

つまり、通常CPU201は電源OFFを検知してシャットダウンシーケンスを動作させ、電源監視部603にシャットダウン指示を行う。その結果、信号線308を介してAC−DCコンバータ303に電源OFFが通知され、コントローラ3のDC電源供給源である遮断することで画像形成装置1は完全にシャットダウンされる。   That is, the normal CPU 201 detects that the power is off, operates the shutdown sequence, and instructs the power supply monitoring unit 603 to shut down. As a result, the power-off is notified to the AC-DC converter 303 via the signal line 308, and the image forming apparatus 1 is completely shut down by shutting off the DC power supply source of the controller 3.

このシャットダウンはCPU201上のプログラムも完全に終了するため、次回スイッチ301をONにした際、CPU201のプログラムは通常通り起動することになる。   This shutdown also completely terminates the program on the CPU 201. Therefore, when the switch 301 is turned on next time, the program of the CPU 201 starts normally.

なお、現在の技術で高速に起動することが可能な技術の一般的な一例として、ACPI−S3サスペンド方式による高速化手法がある。このACPI−S3方式を画像形成装置1に適用した場合について以下に説明する。   As a general example of a technology that can be activated at high speed with the current technology, there is a speed-up method based on the ACPI-S3 suspend method. A case where the ACPI-S3 method is applied to the image forming apparatus 1 will be described below.

スイッチ301をOFFにすると、信号線307を介して電源監視部603に通知される。CPU201は割り込みにより現象を知ることが可能であり、例えばKernelの省電力I/Fをコールすることで、最終的にBIOS602と電源監視部603が持っている機能であるACPI−S3状態に移行し、信号線308を介して電源ユニット302に対してACPI−S3省電力モード(メモリと一部のH/Wのみを通電状態)へと移行させることが可能である。   When the switch 301 is turned off, the power supply monitoring unit 603 is notified via the signal line 307. The CPU 201 can know the phenomenon by an interrupt. For example, by calling the power saving I / F of the kernel, the CPU 201 finally shifts to the ACPI-S3 state, which is a function of the BIOS 602 and the power monitoring unit 603. The power supply unit 302 can be switched to the ACPI-S3 power saving mode (only the memory and some H / Ws are energized) via the signal line 308.

この時システムとしてはOFF状態ではなくメモリにプログラム状態を保持した「一時中断状態」となっており、その場合ACPI−S3の復帰処理相当の時間でコントローラ3を高速に起動することが可能である。しかし、メモリレジュームのような省電力方式を選択した場合、電源スイッチOFF/ONの操作で、リセット回路601,604がリセットする対象のボード上のH/W群605,606にリセットがかかるが、CPU201上で動作しているソフトウェアにはリセットがかからない。   At this time, the system is in a “temporary suspension state” in which the program state is held in the memory, not in the OFF state, and in this case, the controller 3 can be started at a high speed in a time corresponding to the ACPI-S3 return processing. . However, when a power saving method such as memory resume is selected, the H / W groups 605 and 606 on the target board to be reset by the reset circuits 601 and 604 are reset by the operation of the power switch OFF / ON. The software running on the CPU 201 is not reset.

長時間ソフトウェアをリセットしないことにより発生する不具合は一般的に知られており、理想的にはCPU201上で動作している制御ソフトウェアもリセットする事が好ましい。しかし、CPU201上の制御ソフトウェアをリセットしてしまうと、次回起動時に起動時間がかかってしまい、ユーザが操作可能となる時間が遅くなるという課題がある。以下、上記課題を解決するための本実施の形態における処理について説明する。   Problems caused by not resetting the software for a long time are generally known, and ideally, it is preferable to reset the control software operating on the CPU 201. However, if the control software on the CPU 201 is reset, there is a problem in that it takes a startup time at the next startup and delays the time that the user can operate. Hereinafter, the process in this Embodiment for solving the said subject is demonstrated.

図5は、図1の画像形成装置1により実行されるシャットダウン処理(シャットダウン手段)の手順を示すフローチャートである。   FIG. 5 is a flowchart showing a procedure of shutdown processing (shutdown means) executed by the image forming apparatus 1 of FIG.

図5の処理は、ユーザによりスイッチ301がOFFされたことを検知した場合にCPU201により実行される処理である。   The process of FIG. 5 is a process executed by the CPU 201 when it is detected that the switch 301 is turned off by the user.

まず、シャットダウン中であることを操作部5に表示し(ステップS101)、現在行っているサービス等の中断・終了処理を行う(ステップS102)。終了処理は複数のプロセスで平行に実行されているため、それら終了処理が完了すると(ステップS103でYES)、メモリに記憶されているデータをHDD6などの不揮発性の記憶装置にシンクする(ステップS104)。例えばメモリ203にキャッシュしたストレージバッファをHDD6にシンクする等の処理が該当する。   First, the fact that shutdown is in progress is displayed on the operation unit 5 (step S101), and interruption / termination processing of the currently performed service or the like is performed (step S102). Since the end processing is executed in parallel by a plurality of processes, when the end processing is completed (YES in step S103), the data stored in the memory is synced to a nonvolatile storage device such as the HDD 6 (step S104). ). For example, processing such as syncing the storage buffer cached in the memory 203 to the HDD 6 is applicable.

次いで、リブートフラグをセットする(ステップS105)。このリブートフラグは、CPU201がアクセス可能で、H/Wリセットにより状態がリセットされない何らかのレジスタに設けられる。本実施の形態においては、リセット回路601の上位に電源監視部603が存在するため、ここのレジスタにリブートフラグをオンにする。   Next, a reboot flag is set (step S105). This reboot flag is provided in some register that can be accessed by the CPU 201 and whose state is not reset by the H / W reset. In this embodiment, since the power supply monitoring unit 603 exists above the reset circuit 601, the reboot flag is turned on in this register.

次いで、KernelのシャットダウンI/Fをコールし、カーネルのソフトウェア最終終了処理、すなわちカーネルシャットダウンを行い(ステップS106)、電源監視部603に対してリブート要求を発行する。   Next, the Kernel shutdown I / F is called, the kernel software final termination process, that is, the kernel shutdown is performed (step S106), and a reboot request is issued to the power supply monitoring unit 603.

このリブート要求によって、電源監視部603はリセット回路601に対してシステム全体リセットを発行し、リセット回路601はサブボード220のリセット回路604にリセットを通知し、これによりコントローラ3全体にリセットが発行される。このリセットはリブート要求であるため、CPU201もリセットがかかり、CPU201はリセット例外発行により例えばBIOS602からのブート処理を行う。   In response to this reboot request, the power supply monitoring unit 603 issues a system reset to the reset circuit 601, and the reset circuit 601 notifies the reset circuit 604 of the sub board 220 of the reset, thereby issuing a reset to the entire controller 3. The Since this reset is a reboot request, the CPU 201 is also reset, and the CPU 201 performs a boot process from, for example, the BIOS 602 by issuing a reset exception.

つまり本実施の形態ではシャットダウンにも関わらず、電源を落とすのではなくリブートする事になる。従って上記シャットダウン処理終了後は引き続きブート処理が実行されることとなる。   In other words, in the present embodiment, despite the shutdown, the power is not turned off but rebooted. Accordingly, after the shutdown process is completed, the boot process is continued.

図6は、図1の画像形成装置1により実行されるブート処理の手順を示すフローチャートである。   FIG. 6 is a flowchart showing a procedure of boot processing executed by the image forming apparatus 1 of FIG.

図6の処理は、上記図5の処理から引き続きCPU201により実行される処理である。   The process of FIG. 6 is a process executed by the CPU 201 from the process of FIG.

なお、ブート方法はシステムにより多段階的に起動するものであるが、非常に難しい部分であるため、図6のフローチャートは、CPU201が行う処理の概念をフロー化したものである。   Note that although the boot method is activated in multiple stages by the system, it is a very difficult part. Therefore, the flowchart of FIG. 6 is a flowchart of the concept of processing performed by the CPU 201.

まず、H/Wを初期化する(ステップS201)。H/Wの初期化はレジスタや割り込みの初期化、カーネル起動部においては対応したデバイスドライバの登録等がある。   First, H / W is initialized (step S201). Initialization of H / W includes initialization of registers and interrupts, and registration of corresponding device drivers in the kernel boot unit.

次いで、リブートフラグがオンか否か判別し(ステップS202)、リブートフラグがオンのとき(ステップS202でYES)、ステップS204に進み、リブートフラグがオフのとき(ステップS202でNO)、操作部5の初期化及び表示を行う(ステップS203)。ここでの表示内容は、最初の表示であるため「起動中」の旨となっている。つまり、リブートフラグがオンの時、すなわち起動処理の実行中は操作部5に起動中であることを表示しない状態で初期化を継続させる。   Next, it is determined whether or not the reboot flag is on (step S202). When the reboot flag is on (YES in step S202), the process proceeds to step S204, and when the reboot flag is off (NO in step S202), the operation unit 5 Is initialized and displayed (step S203). Since the display content here is the first display, it is “active”. That is, when the reboot flag is on, that is, while the start process is being executed, the initialization is continued without displaying on the operation unit 5 that the start is being performed.

次いで、ソフトウェアレイヤの初期化に入る。各ライブラリの初期化ルーチンを呼ぶことでライブラリを初期化し(ステップS204)、第1プロセス・スレッド群を起動する(ステップS205)。主にこの起動は周辺H/Wに影響のない純粋なソフトウェアサービス等が適切である。理由は後述する。なお、第1プロセス・スレッド群の起動処理は、再起動が完了するまでに要する再起動処理のうちの一部の処理に含まれる。   Next, software layer initialization is entered. The library is initialized by calling the initialization routine of each library (step S204), and the first process thread group is activated (step S205). This activation is suitable mainly for a pure software service that does not affect the peripheral hardware. The reason will be described later. The start process of the first process / thread group is included in a part of the restart process required until the restart is completed.

再びリブートフラグがオンか否か判別し(ステップS206)、リブートフラグがオフのとき(ステップS206でNO)、ステップS211に進み、リブートフラグがオンのとき(ステップS206でYES)、今回のブートが起動準備のための起動であるため、第1プロセス・スレッド群の起動完了を待つ。この起動完了待ちに代えて、ウエイト等の非同期制御でもよい。このように、リブートフラグがオンの状態で本処理が実行されている場合、操作部5における表示はなされておらず起動途中だが、第1プロセス・スレッド群の起動が完了すると(ステップS207でYES)、省電力モードに移行する(ステップS208)(移行手段)。ここでの省電力モードは高速に復帰することが出来るモードが好ましい。一般的にはACPI−S4ハイバネーション、ACPI−S3サスペンド方式がよく用いられるが、この場合、速度的優位性の高いS3状態に移行する。本H/WにおいてACPI−S3方式については既に説明したためここでは省略する。なお、上述したステップS201、202、203〜207が再起動手段に対応する。   It is determined again whether the reboot flag is on (step S206). When the reboot flag is off (NO in step S206), the process proceeds to step S211. When the reboot flag is on (YES in step S206), the current boot is determined. Since it is the start-up for the start-up preparation, it waits for the start of the first process thread group. Asynchronous control such as weighting may be used instead of waiting for completion of activation. In this way, when this process is being executed with the reboot flag turned on, there is no display on the operation unit 5 and it is in the middle of starting, but when the starting of the first process / thread group is completed (YES in step S207). ) And shift to the power saving mode (step S208) (transfer means). The power saving mode here is preferably a mode capable of returning at high speed. In general, ACPI-S4 hibernation and ACPI-S3 suspend methods are often used. In this case, the state shifts to an S3 state having a high speed advantage. Since the ACPI-S3 method has already been described in this H / W, it is omitted here. Note that the above-described steps S201, 202, 203 to 207 correspond to a restarting unit.

この状態で起動は一旦停止し、電源はメインボード200のメモリ203と、電源監視部603だけに供給され、消費電力が数Wのシステム起動待機状態となる。   In this state, the activation is temporarily stopped, the power is supplied only to the memory 203 of the main board 200 and the power supply monitoring unit 603, and a system activation standby state in which the power consumption is several W is entered.

このように、シャットダウンの際にシャットダウン後電源を落とさずにリブートを行い、次回起動時に操作表示部を表示せずに起動途中で省電力モードに移行するのが本実施の形態において特徴的な1つのシーケンスである。ユーザはリブートしたのではなくシャットダウンが通常よりも長く継続しているように見え、違和感を感じない事になる。   As described above, the present embodiment is characterized by rebooting without shutting down the power supply after the shutdown at the time of shutdown and shifting to the power saving mode during the startup without displaying the operation display section at the next startup. One sequence. Instead of rebooting, the user appears to have been shutting down longer than usual and will not feel uncomfortable.

ユーザが画像形成装置1を使用する場合はスイッチ301をONにする。信号線307より電源監視部603は電源ONを検知し、信号線308を用いて電源ユニット302に「スイッチONによる全装置ON」を通知する。電源ユニット302は画像形成装置1全体にスイッチON時に応じた電力供給、具体的にはコントローラ3、プリンタ装置4、スキャナ装置2に各DC電源供給径路介して通電を行う。   When the user uses the image forming apparatus 1, the switch 301 is turned on. The power supply monitoring unit 603 detects the power supply ON from the signal line 307 and notifies the power supply unit 302 of “all devices ON by switch ON” using the signal line 308. The power supply unit 302 supplies power to the entire image forming apparatus 1 when the switch is turned on. Specifically, the power supply unit 302 energizes the controller 3, the printer apparatus 4, and the scanner apparatus 2 through each DC power supply path.

プリンタ装置4、スキャナ装置2は各々のCPUが電源ONによる初期化動作を開始する。このように、省電力モードに移行した後に、スイッチ301がONとされた場合に、省電力モードが解除される。   In the printer device 4 and the scanner device 2, each CPU starts an initialization operation when the power is turned on. As described above, when the switch 301 is turned on after shifting to the power saving mode, the power saving mode is canceled.

コントローラ装置3はサスペンド状態になっている場合、省電力モードが解除され(ステップS209でYES)(解除手段)、操作部5の初期化及び表示を行う(ステップS210)。これにより操作部5は「起動中」と表示する状態となる。次いで、第2プロセス・スレッド群を起動する(ステップS211)。これらのプログラムは主に周辺装置、例えばプリンタ装置4やスキャナ装置2と起動のためのコミュニケーションを行うために、ACPI−S3サスペンド省電力モード前での起動が不適切であったものだけを起動する。次いで、周辺装置(プリンタ装置4、スキャナ装置2)とネゴシエーション処理を行う(ステップS212)ことで、周辺機器との通信を確立する。その後、画像形成装置1はアイドル状態へ移行する。   When the controller device 3 is in the suspended state, the power saving mode is canceled (YES in step S209) (release means), and the operation unit 5 is initialized and displayed (step S210). As a result, the operation unit 5 enters a state of displaying “Starting”. Next, the second process thread group is activated (step S211). These programs start only those that were inappropriate to start before the ACPI-S3 suspend power saving mode in order to communicate with peripheral devices such as the printer device 4 and the scanner device 2 for startup. . Next, communication with peripheral devices is established by performing negotiation processing with the peripheral devices (printer device 4, scanner device 2) (step S212). Thereafter, the image forming apparatus 1 shifts to an idle state.

本実施の形態では、通常の起動に対し、起動時にステップS201〜205の処理を省略することが出来るため、この時間分だけ高速に起動することができる。   In the present embodiment, since the processing of steps S201 to S205 can be omitted at the time of startup compared to normal startup, the startup can be performed at a high speed by this time.

図6の処理によれば、シャットダウンされた後に、画像形成装置1の再起動を行うための予め定められた処理を実行し(ステップS201、202、203〜207)、予め定められた処理が実行されると、省電力モードに移行させ(ステップS208)、省電力モードに移行した後に、スイッチ301がオンとされた場合に、省電力モードを解除する(ステップS209でYES)ので、起動の高速化及び動作の安定性を確保することができる。   According to the process of FIG. 6, after the shutdown, a predetermined process for restarting the image forming apparatus 1 is executed (steps S201, 202, 203 to 207), and the predetermined process is executed. Then, the mode is shifted to the power saving mode (step S208). When the switch 301 is turned on after the mode is shifted to the power saving mode, the power saving mode is canceled (YES in step S209). And stability of operation can be ensured.

図7は、画像形成装置1本体の状態の時間変化を示す図であり、(A)は従来技術における時間変化、(B)は本実施の形態に係るシャットダウン、ブート処理を行った場合の時間変化、(C)は図6のステップS211,212を実行しない場合の時間変化を示している。   7A and 7B are diagrams illustrating a time change of the state of the main body of the image forming apparatus 1. FIG. 7A is a time change in the prior art, and FIG. 7B is a time when the shutdown and boot processing according to the present embodiment is performed. Change, (C) shows a time change when steps S211 and 212 of FIG. 6 are not executed.

図7において、横軸が時間を示し、縦軸がブート状況を示しており、「ブート完了」に到達するとブートが完了したこととなる。さらに、図中の「スイッチ301」に示されるように、図7(A)〜(C)のいずれの場合もスイッチ301のオン、オフタイミングは同じとなっている。   In FIG. 7, the horizontal axis indicates time, and the vertical axis indicates the boot status. When “boot complete” is reached, the boot is completed. Further, as indicated by “switch 301” in the figure, the on / off timing of the switch 301 is the same in any of the cases of FIGS.

最初に図7(A)について説明する。ユーザがスイッチ301をオンすることで、区間711だけ要してブートが完了する。このとき操作部5には、「起動中」が表示される。ブートの完了により、動作可能となった後、スイッチ301のオフにより、シャットダウン処理が開始され、区間712だけ要して画像形成装置1がシャットダウンされる。このとき、操作部5には、「シャットダウン中」が表示される。シャットダウンが完了すると電源はオフ状態、操作部5の表示もオフ状態となる。   First, FIG. 7A will be described. When the user turns on the switch 301, only the section 711 is required and the boot is completed. At this time, “starting” is displayed on the operation unit 5. After the boot is completed and the operation becomes possible, the shutdown process is started by turning off the switch 301, and the image forming apparatus 1 is shut down only for the section 712. At this time, “Shutdown” is displayed on the operation unit 5. When the shutdown is completed, the power is turned off, and the display on the operation unit 5 is also turned off.

その後、再びユーザがスイッチ301をオンすることで、区間713だけ要してブートが完了する。このとき操作部5には、「起動中」が表示される。区間713は、区間711と同様の起動処理が行われるため、処理に差異は無く、おおよそ同じ時間で起動する。   After that, when the user turns on the switch 301 again, only the section 713 is required and the boot is completed. At this time, “starting” is displayed on the operation unit 5. In the section 713, since the same activation process as that in the section 711 is performed, there is no difference in the processes and the activation is performed at approximately the same time.

次いで、図7(B)について説明する。なお、図7(B)では、縦軸に「省電力モード」を設けている。もちろん、起動中に「省電力モード」の値になっても省電力モードに移行するわけではない。また、操作部5に表示される内容は、図7(A)と同様に、そのときの状態に対応した内容が表示される。   Next, FIG. 7B will be described. In FIG. 7B, a “power saving mode” is provided on the vertical axis. Of course, even if the value of the “power saving mode” is reached during startup, it does not shift to the power saving mode. Further, the content displayed on the operation unit 5 is the content corresponding to the state at that time, as in FIG.

図7(B)においても、ユーザがスイッチ301をオンすることで区間711と同じだけの区間721だけ要してブートが完了し、スイッチ301のオフにより、シャットダウン処理が開始され、区間712と同じだけの区間722だけ要してシャットダウンされる。ここからが図7(A)とは異なり、本実施の形態ではシャットダウン後に、リブート要求が発行された遅延により、区間723だけの時間を経て、図6で説明したブート処理が開始される。   Also in FIG. 7B, when the user turns on the switch 301, only the same section 721 as the section 711 is required to complete the boot, and when the switch 301 is turned off, the shutdown process is started, which is the same as the section 712. Only the interval 722 is required to be shut down. Unlike FIG. 7A, the boot process described in FIG. 6 is started after a time of only a section 723 due to a delay in which a reboot request is issued after the shutdown in this embodiment.

区間724は図6の201〜207までの処理に対応しており、本実施の形態における起動の場合、ステップS203の操作部初期化・表示が行われないため、この区間では操作部5による表示が無い状態で起動することができる。   The section 724 corresponds to the processing from 201 to 207 in FIG. 6, and in the case of activation in the present embodiment, the operation unit initialization / display in step S <b> 203 is not performed. You can start up without

区間725は、ステップS208に対応し、省電力モード(本実施の形態ではACPI−S3状態)へ移行する。通常、移行時間はさほどかからない。省電力モードへの移行が完了した状態でスイッチ301のオンを待つ期間が区間726であり、ステップS209に対応する。   A section 725 corresponds to step S208 and shifts to a power saving mode (ACPI-S3 state in the present embodiment). Usually the transition time is not so much. A period of waiting for the switch 301 to be turned on in a state where the transition to the power saving mode is completed is a section 726, which corresponds to step S209.

再びユーザがスイッチ301をオンすることで、区間727で省電力モードからの復帰を行い、このときステップS210で操作部5の初期化・表示が実行される。これにより、操作部5に「起動中」が表示されることになる。その後、区間728では、ステップS211、ステップS212の処理完了だけの時間だけ起動中が継続しその後動作可能状態となる。   When the user turns on the switch 301 again, the user returns from the power saving mode in the section 727. At this time, initialization and display of the operation unit 5 are executed in step S210. As a result, “active” is displayed on the operation unit 5. After that, in the section 728, the activation is continued for the time only for the completion of the processing in steps S211 and S212, and then the operation becomes possible.

次いで、図7(C)について説明する。図6のステップS211、212が必要ない場合が考えられる。この場合、ステップS207の終了でブートが完了することとなる。従ってブートの途中ではなく、ブート完了後に省電力モードに移行するので、図6(C)に示されるように、時刻Tの時点でブート完了となる。この場合、図7(C)における「起動中」は、省電力モードからの復帰時間である。   Next, FIG. 7C will be described. There may be a case where steps S211 and 212 in FIG. 6 are not necessary. In this case, booting is completed at the end of step S207. Therefore, since the mode is shifted to the power saving mode after the boot is completed, not during the boot, the boot is completed at the time T as shown in FIG. In this case, “starting” in FIG. 7C is a return time from the power saving mode.

このようにユーザがスイッチ301でオフにしたときに、本実施の形態のように次回のブートの準備を行っておくことで、ブートに要する時間を短くすることが可能である。またリブート後に操作表示を行わないことで、外部から見てシャットダウン状態が継続しているのと等価となるため、特に違和感なく高速な起動を実現させることができる。   Thus, when the user turns off the switch 301, the time required for booting can be shortened by preparing for the next boot as in the present embodiment. Further, since the operation display is not performed after rebooting, it is equivalent to the shutdown state being seen from the outside, so that high-speed startup can be realized without any particular discomfort.

また、図7(B)の区間726において、操作部5の状態を、バックライトを消した状態、また黒を表示した状態といった電源がオフの場合と同様の状態とすれば、外部からシャットダウンしている状態に見える。   Further, in the section 726 of FIG. 7B, if the state of the operation unit 5 is set to the same state as when the power is turned off, such as the state where the backlight is turned off or the state where black is displayed, the operation unit 5 is shut down from the outside. It looks like

また、外部からの見かけにこだわらない場合や操作部を持たない場合、図7(B)において、操作部5に対して特別な操作を行わないという方法もある。この方法でも起動時間の短縮を行うことが可能である。この場合、スイッチ301をオフにした後、シャットダウン時における操作部5には「終了中」が表示され、その後リブート時に通常の起動同様に「起動中」が表示されてしまうことになる。その後表示が消え、スイッチ301がオンされることを待つという流れとなる。従って、もともと起動時間がさほど長く無い装置であれば適用しても違和感は少ない。   In addition, there is a method in which a special operation is not performed on the operation unit 5 in FIG. 7B when the appearance from the outside is not particular or the operation unit is not provided. This method can also shorten the startup time. In this case, after the switch 301 is turned off, “being finished” is displayed on the operation unit 5 at the time of shutdown, and “being started” is then displayed at the time of rebooting in the same manner as normal startup. Thereafter, the display disappears and the flow waits for the switch 301 to be turned on. Therefore, even if it is applied to an apparatus that originally does not have a long startup time, there is little discomfort.

また、省電力起動を有する装置に図7(C)を適用する場合、時刻Tの動作可能状態から省電力に入るまでの時間を規定しておく。通常タイマによる省電力機能を有する場合、再起動後一定時間後に省電力モードに自動的に移行する。従って本実施の形態を適用せずとも再起動後放置することで省電力モードへと移行することになる。しかし本実施の形態ではこの省電力に移行する時間より短い時間、理想的には動作可能状態になって出来るだけ早いタイミングで省電力モードに自発的に移行させることを特徴とし、これにより画像形成装置1の消費電力を最小にすることができる。   In addition, when FIG. 7C is applied to a device having power saving activation, a time period from the operable state at time T to the start of power saving is defined. When having a power saving function by a normal timer, the mode automatically shifts to a power saving mode after a certain time after restarting. Therefore, even if the present embodiment is not applied, the system shifts to the power saving mode by leaving it after restarting. However, this embodiment is characterized by spontaneously shifting to the power saving mode at a timing shorter than the time for shifting to the power saving, ideally at the earliest possible timing when the operation is enabled. The power consumption of the device 1 can be minimized.

なお、特許文献1にあるように、メモリ値の電力保持によるACPI−S3相当サスペンド技術の他に、メモリ値を外部メモリ保持デバイス(ストレージ等)に保持するACPI−S4ハイバネーション技術や、特定H/Wのクロックだけを止める方法等、多くの方法が存在する。このように省電力中の状態が違っても本実施の形態では同一の効果を得る事が可能である。従って、本実施の形態ではメモリサスペンドを用いた形態を記載したが、他の省電力モードでも同様の効果が期待できるものであり、省電力モードをサスペンドに規定するものではない。   As disclosed in Patent Document 1, in addition to the ACPI-S3-equivalent suspend technology based on the power retention of the memory value, the ACPI-S4 hibernation technology for retaining the memory value in an external memory retention device (storage, etc.) There are many methods such as a method of stopping only the clock of W. Thus, even if the power saving state is different, the same effect can be obtained in this embodiment. Therefore, although the embodiment using the memory suspend is described in the present embodiment, the same effect can be expected in other power saving modes, and the power saving mode is not defined as suspend.

図8は、図3における電源ユニット302の変形例を示す図である。   FIG. 8 is a diagram showing a modification of the power supply unit 302 in FIG.

図8において、電源ユニット302は、図3に示した構成に加え、保護タイマであるタイマ801をさらに備えている。   In FIG. 8, the power supply unit 302 further includes a timer 801 that is a protection timer in addition to the configuration shown in FIG.

タイマ801は、スイッチ301がオフとされると時間計測を開始し、一定時間後にAC−DCコンバータ303は、DC出力を強制的にオフにするようになっている(強制オフ手段)。   The timer 801 starts time measurement when the switch 301 is turned off, and the AC-DC converter 303 forcibly turns off the DC output after a certain time (forced off means).

このような実施の形態は、例えば特許文献2に開示があるように、高い電力を使用する構成を持つ画像出力装置等で、ユーザによる明示的なスイッチオフに対して忠実に従う事が装置のポリシー的に重要な一要素となる。トグル型のようにオン/オフ状態を明示的に持たないスイッチを有する装置では、一般的に長押しにより強制オフするようになっている。   In such an embodiment, as disclosed in, for example, Patent Document 2, it is an image output apparatus having a configuration using high power, and the policy of the apparatus is to faithfully follow explicit switch-off by the user. Important element. In a device having a switch that does not explicitly have an on / off state, such as a toggle type, generally it is forcibly turned off by a long press.

図9は、図8におけるタイマ801によって強制オフとされる場合の時間変化を示す図である。   FIG. 9 is a diagram showing a change over time when the timer 801 in FIG. 8 is forcibly turned off.

時刻T1において、ユーザによりスイッチ301がオフされると、タイマ801は時間計測を開始し、タイムアウトとなった時刻T2で強制的に電源をオフとする。これにより、シャットダウン中に仮にハングアップによりシャットダウンが完了せず、処理がロックした場合でも電源をオフとすることができる。   When the switch 301 is turned off by the user at time T1, the timer 801 starts measuring time, and forcibly turns off the power at time T2 when a timeout occurs. As a result, even if the shutdown is not completed due to a hang-up during the shutdown and the process is locked, the power can be turned off.

なお、図8では、電源をオフするという役割的に電源ユニット302内にタイマ801を配置したが、リモート信号で電源ユニット302を制御することが可能であるため、例えばコントローラ3にタイマを持つ構成でも構わない。   In FIG. 8, the timer 801 is disposed in the power supply unit 302 in a role of turning off the power supply. However, since the power supply unit 302 can be controlled by a remote signal, the controller 3 has a timer, for example. It doesn't matter.

図10は、図8におけるタイマ801によって強制オフとされる場合の時間変化を示す図であり、(A)は正常系、(B)は異常系の時間変化を示す図である。   10A and 10B are diagrams showing a time change when the timer 801 in FIG. 8 is forcibly turned off. FIG. 10A is a diagram showing a time change of a normal system and FIG. 10B is a diagram showing a time change of an abnormal system.

図10では、前提として、省電力中にタイムアウトとなった場合には、強制的に電源をオフにする必要がないので、何もしないという制御がされている。これは、電源の状態で処理を切り分けることにより実現できる。他の制御方法としては、省電力中に入った時点でタイマ801を停止させるようにしてもよい。   In FIG. 10, as a premise, when a time-out occurs during power saving, there is no need to forcibly turn off the power, so that nothing is controlled. This can be realized by dividing the process according to the power supply state. As another control method, the timer 801 may be stopped when the power saving is started.

この制御により、図10(A)に示されるように、シャットダウンして起動準備がタイムアウトとなる前に終了して省電力モードに移行した場合は、タイムアウトになっても問題は発生しない。   With this control, as shown in FIG. 10A, when the shutdown preparation is completed before the startup preparation times out and the power saving mode is entered, no problem occurs even when the timeout occurs.

おおよそこの場面で使用する省電力モードはメモリレジュームの場合はACPI−S3等価状態であり、その通電状態を継続すれば良い。また、ACPI−S4ハイバネーションモードであれば、チップセット内の一部のハードウエアロジックで通電保持しているACPI−S4状態が解除されなければ良い。省電力モードを電源オフと等価とみなす場合、このように省電力中はオフを行わないという制御を行う。   In general, the power saving mode used in this scene is the ACPI-S3 equivalent state in the case of memory resume, and it is sufficient to continue the energized state. Further, in the ACPI-S4 hibernation mode, the ACPI-S4 state in which energization is held by a part of the hardware logic in the chipset may not be released. When the power saving mode is regarded as equivalent to power-off, control is performed such that the power is not turned off during power saving.

図10(B)について説明する。例えばストレージ速度の低下、起動時の特別な初期化処理等で、起動準備が長くかかってしまった場合、タイムアウトが発生する。起動準備中は省電力モードではないので、強制的に電源がオフとされる。これは電源的にハングアップと見分けがつかないため、オフにしないと電源保護できなくならからである。このような動作中のシャットダウンを行わない電源のオフはストレージにダメージを与える可能性がある。   FIG. 10B will be described. For example, if the preparation for activation takes a long time due to a decrease in storage speed or special initialization processing at the time of activation, a timeout occurs. Since the power saving mode is not set during startup preparation, the power is forcibly turned off. This is because it is indistinguishable from a hang-up in terms of power, and unless it is turned off, power protection cannot be achieved. If the power is turned off without shutting down during the operation, the storage may be damaged.

図11は、図4に示したコントローラ3の電源及びリセットに関する構成の変形例を示す図である。   FIG. 11 is a diagram illustrating a modified example of the configuration relating to the power supply and reset of the controller 3 illustrated in FIG. 4.

図11において、コントローラ3は、図4に示した構成に加え、タイマ901(第2計測手段)、RTC(Real Time Clock)902、及びRTC902に電源を供給するバッテリ903をさらに備えている。従って、電源ユニット302のタイマ801(第1計測手段)と併せて2つのタイマを備えていることとなる。タイマ901は、RTC902を用いて時間計測し、リブート処理等を実行とは独立して時間計測する。すなわち、タイマ901による計測はCPU201のリセットを共有しない。   11, the controller 3 further includes a timer 901 (second measurement means), an RTC (Real Time Clock) 902, and a battery 903 that supplies power to the RTC 902 in addition to the configuration shown in FIG. Therefore, two timers are provided together with the timer 801 (first measuring means) of the power supply unit 302. The timer 901 measures time using the RTC 902, and measures time independently of execution of reboot processing or the like. That is, the measurement by the timer 901 does not share the reset of the CPU 201.

図12は、図11に示したコントローラ3の構成で実行されるシャットダウン及びブート処理における時間変化を示す図である。   FIG. 12 is a diagram showing a time change in the shutdown and boot processing executed in the configuration of the controller 3 shown in FIG.

この図12を用いて図11に示したコントローラ3の構成で実行されるシャットダウン及びブート処理の概要を説明したのちに、フローチャートの説明をする。   After explaining the outline of the shutdown and boot processing executed in the configuration of the controller 3 shown in FIG. 11 using FIG. 12, the flowchart will be explained.

まず、スイッチ301が時刻T1でオフされると、2つのタイマ801,901が起動され、それぞれ時間計測が開始される。タイマ901は、タイマ801よりも早くタイムアウトする設定となっている。   First, when the switch 301 is turned off at time T1, the two timers 801 and 901 are activated and time measurement is started. The timer 901 is set to time out earlier than the timer 801.

その後、画像形成装置1本体は、シャットダウンされ、時刻T2でシャットダウンが完了すると、リブートされる。そして起動準備が開始され、その後タイマ901がタイムアップし、時刻T3で割り込みが入る。その場合、現在省電力モードに移行できるか否かを判別する。   Thereafter, the main body of the image forming apparatus 1 is shut down and rebooted when the shutdown is completed at time T2. Then, start-up preparation is started, and then the timer 901 is timed up, and an interrupt is entered at time T3. In this case, it is determined whether or not the current power saving mode can be entered.

例えばカーネル起動前等の特別な状態は省電力モードに移行することができないため、シャットダウンを行う。この場合、次回の起動は高速化されない。省電力モードに移行できる場合は省電力モードに移行し、電源状態は省電力モードとなる。つまり、起動途中タイマ901に連動して省電力モードに強制移行させる。この省電力モードに移行するための時間を用いて、下記式1によりタイマ901がタイムアウトするまでの設定時間が求まる。   For example, since a special state such as before starting the kernel cannot be shifted to the power saving mode, the shutdown is performed. In this case, the next startup is not accelerated. When the mode can be shifted to the power saving mode, the mode shifts to the power saving mode, and the power supply state becomes the power saving mode. That is, the mode is forcibly shifted to the power saving mode in conjunction with the start-up timer 901. Using the time for shifting to the power saving mode, the set time until the timer 901 times out is obtained by the following equation 1.

タイマ901設定時間= タイマ801設定時間−省電力移行時間 …(式1)
上記タイマ901設定時間は第2時間に対応し、タイマ801設定時間が第1時間に対応する。
Timer 901 setting time = Timer 801 setting time−power saving transition time (Expression 1)
The timer 901 set time corresponds to the second time, and the timer 801 set time corresponds to the first time.

画像形成装置1が省電力モードあれば、タイマ801がタイムアウトしても、省電力モードであるため強制的に電源がオフされることは無い。また、この省電力モードでスイッチ301がオンされると、時刻T3で中断された状態から起動処理が再開され、起動時間経過後に起動が完了する。   If the image forming apparatus 1 is in the power saving mode, even if the timer 801 times out, the power is not forcibly turned off because it is in the power saving mode. In addition, when the switch 301 is turned on in this power saving mode, the activation process is resumed from the state interrupted at time T3, and the activation is completed after the activation time has elapsed.

図13は、図11のCPU201により実行されるリブート処理の手順を示すフローチャートである。   FIG. 13 is a flowchart showing the procedure of the reboot process executed by the CPU 201 of FIG.

図13において、スイッチ301がオフとされると、タイマ801、901を起動され、時間計測が開始される(ステップS301)。上述したように、タイマ901は、タイマ801よりも早くタイムアウトする設定となっている。   In FIG. 13, when the switch 301 is turned off, timers 801 and 901 are activated and time measurement is started (step S301). As described above, the timer 901 is set to time out earlier than the timer 801.

次いで、シャットダウンを行い(ステップS302)、リブートとし(ステップS303)、起動開始(ステップS304)となる。   Next, a shutdown is performed (step S302), a reboot is performed (step S303), and a start is started (step S304).

次いで、リブートフラグがオンか否か判別し(ステップS305)、リブートフラグがオフのとき(ステップS309でNO)、起動処理を行い(ステップS309)、起動が完了したら(ステップS310でYES)、ステップS313に進む。上記ステップS305からステップS309に進む場合は、リブートではなく通常の起動処理ということとなる。   Next, it is determined whether or not the reboot flag is turned on (step S305). When the reboot flag is turned off (NO in step S309), a startup process is performed (step S309). When startup is completed (YES in step S310), step The process proceeds to S313. When the process proceeds from step S305 to step S309, it is not a reboot but a normal startup process.

ステップS305の判別の結果、リブートフラグがオンのとき(ステップS305でYES)、タイマ901からの割り込みを許可し(ステップS306)、起動処理を行い(ステップS307)、起動が完了したら(ステップS308でYES)、ステップS311でタイマ901が動作中か否か判別し(ステップS311)、タイマ901が動作中でないとき(ステップS311でNO)、直ちに本処理を終了し、タイマ901が動作中のとき(ステップS311でYES)、タイマ901を停止し(ステップS312)、省電力モードに移行して(ステップS313)、本処理を終了する。本処理を終了すると、画像形成装置1はスタンバイ状態となっている。   As a result of the determination in step S305, when the reboot flag is on (YES in step S305), the interruption from the timer 901 is permitted (step S306), the activation process is performed (step S307), and the activation is completed (in step S308). YES), in step S311, it is determined whether or not the timer 901 is operating (step S311). When the timer 901 is not operating (NO in step S311), this processing is immediately terminated, and when the timer 901 is operating ( In step S311, YES), the timer 901 is stopped (step S312), the mode is shifted to the power saving mode (step S313), and this process is terminated. When this process ends, the image forming apparatus 1 is in a standby state.

図13のフローチャートにおいて、図12で説明したように、タイマ901により割り込みが入る場合がある。そして、ステップS311,312,313の処理は、このタイマ901によるタイムアウトに間に合った場合に実行される処理である。   In the flowchart of FIG. 13, as described with reference to FIG. The processes in steps S311, 312, and 313 are executed when the timer 901 is in time.

図14は、図11のCPU201により実行されるタイマ割り込み処理の手順を示すフローチャートである。   FIG. 14 is a flowchart showing the procedure of timer interrupt processing executed by the CPU 201 of FIG.

図14において、タイマ901より割り込みが入ると、タイマ901終了処理を行い(ステップS401)、省電力モードに移行可能か否か判別する(ステップS402)。省電力モードに移行可能か否かの判断は、上述した通りである。   In FIG. 14, when an interrupt is input from the timer 901, timer 901 termination processing is performed (step S401), and it is determined whether or not it is possible to shift to the power saving mode (step S402). The determination as to whether or not it is possible to shift to the power saving mode is as described above.

ステップS402の判別の結果、省電力モードに移行可能なとき(ステップS403でYES)、省電力モードに移行して(ステップS403)(他の移行手段)、本処理を終了する。省電力モードに移行不可能なとき(ステップS402でNO)、シャットダウンして(ステップS404)、本処理を終了する。   As a result of the determination in step S402, when the mode can be shifted to the power saving mode (YES in step S403), the mode is shifted to the power saving mode (step S403) (other shifting means), and this process is terminated. When it is not possible to shift to the power saving mode (NO in step S402), the system is shut down (step S404), and this process is terminated.

以上のように起動準備の途中で中断して省電力待機状態に入ることにより、次にユーザによりオンとされたあと、通常の起動よりも短い時間でスタンバイ状態に移行することが可能となり、強制電源オフに対応しつつ、最も早く起動することが可能となる。   As described above, by interrupting in the middle of startup preparation and entering the power saving standby state, it is possible to shift to the standby state in a shorter time than normal startup after being turned on by the user next time and forced. It is possible to start up the earliest possible while responding to power off.

フロー中、1311、1312、1313はタイマ901に起動準備が間に合った場合のフローで、図11の1103完了後に省電力モードに移行するルートである。また、1309は起動準備のためのリブートではなく通常のブートの時に通るルートとなる。   In the flow, reference numerals 1311, 1312, and 1313 are flows when the timer 901 is ready for start-up, and is a route for shifting to the power saving mode after the completion of 1103 in FIG. In addition, 1309 is a route through which a normal boot is performed, not a reboot for preparation for activation.

以上、タイマ901を用いることで、強制的に電源がOFFにされる構成において、本発明を適用した場合でも、可能な限り早く起動できる手段について述べた。   As described above, the means that can be started as soon as possible even when the present invention is applied in the configuration in which the power is forcibly turned off by using the timer 901 has been described.

なお、タイマ901を用いた理由だが、CPU201はリブート間隔が挟まるため、時間が測定できない時間帯が発生する。この時間帯が安定して短い場合はCPU201のソフトウェアタイマ、CPUタイマ等のリソースを使用してもよい。また、タイマ901のように専用のH/Wが無い場合が考えられるが、RTC902及びバッテリ903は、カレンダ機能を持つ装置には必ず装着されるので、これをそのまま利用することが可能である。具体的にはRTC902のアラーム割り込みとして設定しておけばリブート中の電源・リセットが不安定な状態があったとしても、RTC902は自発的に正確に時間を刻むことが可能であり、また、割り込みもCPU201に入れる事が可能だからである。   Note that the reason for using the timer 901 is that the CPU 201 has a time interval in which the time cannot be measured because of a reboot interval. If this time period is stable and short, resources such as a software timer of the CPU 201 and a CPU timer may be used. Although there may be a case where there is no dedicated H / W like the timer 901, the RTC 902 and the battery 903 are always attached to a device having a calendar function, and can be used as they are. Specifically, if it is set as an alarm interrupt of RTC902, even if there is an unstable state of power supply / reset during rebooting, RTC902 can voluntarily and accurately time, This is because it is possible to enter the CPU 201.

(他の実施の形態)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other embodiments)
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program code. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.

1 画像形成装置
3 コントローラ
5 操作部
201、221 CPU
202 ブートロム
301 スイッチ
302 電源ユニット
303 AC−DCコンバータ
601、604 リセット回路
602 BIOS
603 電源監視部
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 3 Controller 5 Operation part 201,221 CPU
202 Bootrom 301 Switch 302 Power supply unit 303 AC-DC converters 601 and 604 Reset circuit 602 BIOS
603 Power supply monitoring unit

Claims (9)

電源をオン又はオフとするためのスイッチを備え、省電力モードが実行可能な電子機器であって、
前記スイッチがオフとされた場合に、前記電子機器をシャットダウンさせるシャットダウン手段と、
前記シャットダウン手段によりシャットダウンされた後に、前記電子機器の再起動を行うための予め定められた処理を実行する再起動手段と、
前記再起動手段により前記予め定められた処理が実行されると、省電力モードに移行させる移行手段と、
前記移行手段により前記省電力モードに移行した後に、前記スイッチがオンとされた場合に、前記省電力モードを解除する解除手段と
を備えたことを特徴とする電子機器。
An electronic device having a switch for turning on or off a power supply and capable of executing a power saving mode,
Shutdown means for shutting down the electronic device when the switch is turned off;
Restarting means for executing a predetermined process for restarting the electronic device after being shut down by the shutdown means;
When the predetermined processing is executed by the restarting means, transition means for shifting to a power saving mode;
An electronic apparatus comprising: a canceling unit that cancels the power saving mode when the switch is turned on after shifting to the power saving mode by the shifting unit.
前記予め定められた処理は、再起動が完了するまでに要する再起動処理のうちの一部の処理であり、前記再起動処理のうちの前記一部の処理を除く他の処理は、前記解除手段により前記省電力モードが解除された後に実行されることを特徴とする請求項1記載の電子機器。   The predetermined process is a part of the restart process required until the restart is completed, and other processes other than the part of the restart process are canceled. The electronic device according to claim 1, wherein the electronic device is executed after the power saving mode is canceled by means. 前記他の処理は、前記電子機器に接続された周辺機器とのネゴシエーション処理が含まれることを特徴とする請求項2記載の電子機器。   The electronic device according to claim 2, wherein the other process includes a negotiation process with a peripheral device connected to the electronic device. 前記スイッチがオフとされてから時間計測を開始する第1計測手段と、
前記スイッチがオフとされてから時間計測を開始する第2計測手段と、
前記第1計測手段により計測された時間が予め定められた第1時間になり、かつ前記電子機器が省電力モードではない場合に前記電源を強制的にオフとする電源オフ手段と、
前記第2計測手段により計測された時間が前記第1時間より短い第2時間となり、かつ前記電子機器が省電力モードとなっていない場合に、省電力モードに移行可能であれば省電力モードに移行させる他の移行手段と
をさらに備えたことを特徴とする請求項1乃至3のいずれか1項に記載の電子機器。
First measuring means for starting time measurement after the switch is turned off;
Second measuring means for starting time measurement after the switch is turned off;
Power off means for forcibly turning off the power when the time measured by the first measuring means is a predetermined first time and the electronic device is not in a power saving mode;
If the time measured by the second measuring means is a second time shorter than the first time and the electronic device is not in the power saving mode, the power saving mode can be entered if the electronic device can be shifted to the power saving mode. The electronic device according to any one of claims 1 to 3, further comprising another transfer means for transferring.
前記第2計測手段は、RTCを用いて時間計測することを特徴とする請求項4記載の電子機器。   5. The electronic apparatus according to claim 4, wherein the second measuring unit measures time using an RTC. 前記第2計測手段は、前記再起動手段による前記予め定められた処理の実行とは独立して時間計測することを特徴とする請求項4記載の電子機器。   5. The electronic apparatus according to claim 4, wherein the second measuring unit measures time independently of execution of the predetermined process by the restarting unit. 前記電子機器が起動中か否かを表示する表示手段を備える場合は、前記再起動手段による前記予め定められた処理の実行中は、起動中であることを表示しないことを特徴とする請求項1乃至6のいずれか1項に記載の電子機器。   The display device for displaying whether or not the electronic device is being activated is not displayed while the predetermined processing is being executed by the restarting device. The electronic device according to any one of 1 to 6. 電源をオン又はオフとするためのスイッチを備え、省電力モードが実行可能な電子機器の制御方法であって、
前記スイッチがオフとされた場合に、前記電子機器をシャットダウンさせるシャットダウンステップと、
前記シャットダウンステップによりシャットダウンされた後に、前記電子機器の再起動を行うための予め定められた処理を実行する再起動ステップと、
前記再起動ステップにより前記予め定められた処理が実行されると、省電力モードに移行させる移行ステップと、
前記移行ステップにより前記省電力モードに移行した後に、前記スイッチがオンとされた場合に、前記省電力モードを解除する解除ステップと
を備えたことを特徴とする制御方法。
A method for controlling an electronic device comprising a switch for turning on or off a power supply and capable of executing a power saving mode,
A shutdown step of shutting down the electronic device when the switch is turned off;
A restarting step for executing a predetermined process for restarting the electronic device after being shut down by the shutdown step;
When the predetermined process is executed by the restarting step, a transition step for shifting to a power saving mode;
A control method comprising: a release step of canceling the power saving mode when the switch is turned on after shifting to the power saving mode by the shifting step.
電源をオン又はオフとするためのスイッチを備え、省電力モードが実行可能な電子機器の制御方法をコンピュータに実行させるためのプログラムであって、
前記制御方法は、
前記スイッチがオフとされた場合に、前記電子機器をシャットダウンさせるシャットダウンステップと、
前記シャットダウンステップによりシャットダウンされた後に、前記電子機器の再起動を行うための予め定められた処理を実行する再起動ステップと、
前記再起動ステップにより前記予め定められた処理が実行されると、省電力モードに移行させる移行ステップと、
前記移行ステップにより前記省電力モードに移行した後に、前記スイッチがオンとされた場合に、前記省電力モードを解除する解除ステップと
を備えたことを特徴とするプログラム。
A program for causing a computer to execute a control method of an electronic device that includes a switch for turning on or off a power supply and that can execute a power saving mode,
The control method is:
A shutdown step of shutting down the electronic device when the switch is turned off;
A restarting step for executing a predetermined process for restarting the electronic device after being shut down by the shutdown step;
When the predetermined process is executed by the restarting step, a transition step for shifting to a power saving mode;
A program comprising: a canceling step of canceling the power saving mode when the switch is turned on after shifting to the power saving mode by the shifting step.
JP2011014044A 2011-01-26 2011-01-26 Electronic device, and method and program of the same Pending JP2012155534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011014044A JP2012155534A (en) 2011-01-26 2011-01-26 Electronic device, and method and program of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011014044A JP2012155534A (en) 2011-01-26 2011-01-26 Electronic device, and method and program of the same

Publications (1)

Publication Number Publication Date
JP2012155534A true JP2012155534A (en) 2012-08-16

Family

ID=46837193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011014044A Pending JP2012155534A (en) 2011-01-26 2011-01-26 Electronic device, and method and program of the same

Country Status (1)

Country Link
JP (1) JP2012155534A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014079941A (en) * 2012-10-16 2014-05-08 Canon Inc Image forming apparatus and control method therefor, and program
JP2014215957A (en) * 2013-04-30 2014-11-17 株式会社リコー Information processing system, information processing device, start control method, and program
JP2015049731A (en) * 2013-09-02 2015-03-16 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program
JP2018005303A (en) * 2016-06-27 2018-01-11 株式会社リコー Information processing device, information processing system, and program
JP7054037B1 (en) * 2021-09-29 2022-04-13 富士通クライアントコンピューティング株式会社 Information processing equipment and programs
EP4057123A1 (en) 2021-03-10 2022-09-14 FUJIFILM Business Innovation Corp. Information processing apparatus, program, and information processing method
US11750755B2 (en) 2021-08-16 2023-09-05 Fujifilm Business Innovation Corp. Information processing apparatus, non-transitory computer readable medium, and information processing method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014079941A (en) * 2012-10-16 2014-05-08 Canon Inc Image forming apparatus and control method therefor, and program
JP2014215957A (en) * 2013-04-30 2014-11-17 株式会社リコー Information processing system, information processing device, start control method, and program
US9563435B2 (en) 2013-04-30 2017-02-07 Ricoh Company, Ltd. Information processing system, information processing apparatus and start up control method
US10162649B2 (en) 2013-04-30 2018-12-25 Ricoh Company, Ltd. Information processing system, information processing apparatus and start up control method
JP2015049731A (en) * 2013-09-02 2015-03-16 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program
JP2018005303A (en) * 2016-06-27 2018-01-11 株式会社リコー Information processing device, information processing system, and program
EP4057123A1 (en) 2021-03-10 2022-09-14 FUJIFILM Business Innovation Corp. Information processing apparatus, program, and information processing method
US11616890B2 (en) 2021-03-10 2023-03-28 Fujifilm Business Innovation Corp. Information processing apparatus, non-transitory computer readable medium storing program, and information processing method for setting value of restarting
US11750755B2 (en) 2021-08-16 2023-09-05 Fujifilm Business Innovation Corp. Information processing apparatus, non-transitory computer readable medium, and information processing method
JP7054037B1 (en) * 2021-09-29 2022-04-13 富士通クライアントコンピューティング株式会社 Information processing equipment and programs

Similar Documents

Publication Publication Date Title
US11067932B2 (en) Information processing apparatus capable of appropriately executing shutdown processing, method of controlling the information processing apparatus, and storage medium
US10165143B2 (en) Information processing apparatus and method of controlling launch thereof
US20230143143A1 (en) Information processing apparatus, control method therefor, and storage medium
US8786886B2 (en) Image forming apparatus, method for controlling image forming apparatus, and program
JP2012155534A (en) Electronic device, and method and program of the same
US8954772B2 (en) Data processing apparatus capable of controlling power supply, control method therefor, and storage medium
JP5939890B2 (en) Information processing apparatus, information processing apparatus control method, and program
US20130010318A1 (en) Image processing apparatus, method for controlling the same, and storage medium
WO2013069679A1 (en) Image forming apparatus, method for controlling image forming apparatus, and program
US9143646B2 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium
US20160041605A1 (en) Image processing apparatus, control method therefor and storage medium
JP5959841B2 (en) Image processing apparatus, control method therefor, and program
US10216667B2 (en) Image forming apparatus, control method, and storage medium
JP2018078485A (en) Information processing apparatus and starting method of information processing apparatus
JP5665529B2 (en) Information processing apparatus, control method therefor, and program
JP2015148978A (en) Information processor and control method for information processor
JP2014048865A (en) Information processor, and image processor
JP2011088292A (en) Image forming apparatus, control device, and program