JP2011088292A - Image forming apparatus, control device, and program - Google Patents

Image forming apparatus, control device, and program Download PDF

Info

Publication number
JP2011088292A
JP2011088292A JP2009241595A JP2009241595A JP2011088292A JP 2011088292 A JP2011088292 A JP 2011088292A JP 2009241595 A JP2009241595 A JP 2009241595A JP 2009241595 A JP2009241595 A JP 2009241595A JP 2011088292 A JP2011088292 A JP 2011088292A
Authority
JP
Japan
Prior art keywords
central control
image forming
control device
unit
storage device
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
JP2009241595A
Other languages
Japanese (ja)
Inventor
Kenji Kuroishi
健児 黒石
Hirotaka Sasaki
浩高 佐々木
Seitaro Miyamoto
正太郎 宮本
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2009241595A priority Critical patent/JP2011088292A/en
Publication of JP2011088292A publication Critical patent/JP2011088292A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the generation of the situation that an image forming apparatus cannot return from a power-saving state. <P>SOLUTION: The main control unit 30 recognizes time points at each preliminarily set time interval or at each preliminarily set date in an operating state in which the main control part shifts itself to the power-saving state, thereby restarting a CPU 301 using a program stored in a ROM 303 and making the CPU 301 carry out initial setting to stored contents in a RAM 302. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像形成装置、制御装置、およびプログラムに関する。   The present invention relates to an image forming apparatus, a control apparatus, and a program.

プリンタや複写機等の画像形成装置では、例えば端末装置から通信手段を介して画像形成命令等を受け取り、印刷処理を行う。その際に、例えば予め設定された時間を超えても画像形成命令の受信やユーザによる操作入力が認識されない場合には、通常、消費電力を低く抑える省電力状態に移行する。
例えば特許文献1には、前回の画像出力時刻と今回の画像出力時刻との時間差を求め、この時間差から省エネルギーモードへの移行時間を算出して、今回の画像出力時刻からの経過時間が省エネルギーモードへの移行時間に達した場合に省エネルギーモードに移行させる画像形成装置が記載されている。
In an image forming apparatus such as a printer or a copying machine, for example, an image forming command is received from a terminal device via a communication unit, and printing processing is performed. At this time, for example, if the reception of the image forming command or the operation input by the user is not recognized even after a preset time, the power saving state is normally set to keep power consumption low.
For example, in Patent Document 1, the time difference between the previous image output time and the current image output time is obtained, the transition time to the energy saving mode is calculated from this time difference, and the elapsed time from the current image output time is calculated as the energy saving mode. An image forming apparatus that shifts to an energy saving mode when the transition time to is reached is described.

特開2005−31333号公報JP 2005-31333 A

ここで一般に、画像形成装置が省電力状態に設定された際に、画像形成装置の動作制御等を担う制御部内の主記憶装置に記憶されたデータが一部でも失われると、省電力状態から復帰できなくなることがある。
本発明は、画像形成装置が省電力状態から復帰できないという事態の発生を低減することを目的とする。
In general, when a part of the data stored in the main storage device in the control unit responsible for the operation control of the image forming apparatus is lost when the image forming apparatus is set to the power saving state, It may become impossible to return.
An object of the present invention is to reduce the occurrence of a situation in which an image forming apparatus cannot return from a power saving state.

請求項1に記載の発明は、動作状態として稼動状態と当該稼動状態よりも消費電力が低い省電力状態とが設定され、当該稼動状態にて画像データを取得し、取得した当該画像データに基づき用紙に画像を形成する画像形成手段と、中央制御装置と主記憶装置と読出専用記憶装置とを有し、前記画像形成手段の動作を制御するとともに、当該画像形成手段の動作状態に対応させて自らの動作状態を前記稼動状態と前記省電力状態とに遷移させる制御手段と、前記制御手段が自らを前記省電力状態に遷移させた動作状態にて予め設定された時間間隔毎または予め設定された日時毎の時点を認識することにより、前記中央制御装置を前記読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に前記主記憶装置内の記憶内容に対する初期設定処理を実行させる起動手段とを備えたことを特徴とする画像形成装置である。   According to the first aspect of the present invention, an operation state and a power saving state in which power consumption is lower than the operation state are set as the operation state, image data is acquired in the operation state, and based on the acquired image data An image forming means for forming an image on a sheet, a central control device, a main storage device, and a read-only storage device, and controlling the operation of the image forming means and corresponding to the operation state of the image forming means. Control means for transitioning its own operation state between the operation state and the power saving state, and at predetermined time intervals or preset in the operation state in which the control means transitions itself to the power saving state. By recognizing the time point for each date and time, the central control unit is restarted by using a program stored in the read-only storage unit, and the central control unit stores in the main storage unit An image forming apparatus is characterized in that a starting means for executing an initialization process for the contents.

請求項2に記載の発明は、前記起動手段は、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点以外の期間にて前記制御手段を前記省電力状態から復帰させるに際して、前記中央制御装置を前記主記憶装置に記憶されたプログラムを用いて動作させることを特徴とする請求項1記載の画像形成装置である。
請求項3に記載の発明は、前記起動手段は、前記制御手段が自らを前記省電力状態に遷移させる際に、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点にて生成する割り込み要求信号を、前記読出専用記憶装置に記憶されたテーブルの番地を指定する割り込みコードで構成することが指示され、かつ、当該予め設定された時間間隔毎または当該予め設定された日時毎の時点以外の期間にて生成する割り込み要求信号を、前記主記憶装置に記憶されたテーブルの番地を指定する割り込みコードで構成することが指示されることを特徴とする請求項2記載の画像形成装置である。
請求項4に記載の発明は、前記起動手段は、前記中央制御装置を前記読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に前記主記憶装置内に記憶されたオペレーティングシステムのカーネル部に対する初期設定処理を実行させることを特徴とする請求項2記載の画像形成装置である。
請求項5に記載の発明は、プログラムおよびデータを記憶する不揮発性記憶手段をさらに備え、前記中央制御装置は、前記主記憶装置内の記憶内容に対する初期設定処理を実行するに際し、当該主記憶装置内のオペレーティングシステム以外の記憶内容を前記不揮発性記憶手段に複写することを特徴とする請求項2記載の画像形成装置である。
According to a second aspect of the present invention, when the activation unit returns the control unit from the power saving state in a period other than the time point for each preset time interval or for each preset date and time, 2. The image forming apparatus according to claim 1, wherein the central control device is operated using a program stored in the main storage device.
According to a third aspect of the present invention, when the control unit causes the control unit to transition itself to the power saving state, the activation unit is configured at each preset time interval or each preset date and time. It is instructed that the interrupt request signal to be generated is composed of an interrupt code designating an address of a table stored in the read-only storage device, and for each preset time interval or for each preset date and time 3. The image formation according to claim 2, wherein an instruction to generate an interrupt request signal generated in a period other than the point of time is an interrupt code designating an address of a table stored in the main storage device. Device.
According to a fourth aspect of the present invention, the activation means restarts the central control unit using a program stored in the read-only storage unit, and is stored in the main storage unit in the central control unit. 3. The image forming apparatus according to claim 2, wherein an initial setting process for a kernel portion of the operating system is executed.
The invention according to claim 5 further includes a non-volatile storage means for storing a program and data, and the central control device executes the initial setting process for the stored contents in the main storage device. 3. The image forming apparatus according to claim 2, wherein the stored contents other than the operating system are copied to the nonvolatile storage means.

請求項6に記載の発明は、画像データを取得し、取得した当該画像データに基づき用紙に画像を形成する画像形成手段の動作状態を稼動状態と当該稼動状態よりも消費電力が低い省電力状態とに遷移させる制御を行うとともに、当該画像形成手段の動作状態に対応させて自らの動作状態を当該稼動状態と当該省電力状態とに遷移させる中央制御装置と、前記中央制御装置が起動することにより当該中央制御装置を動作させるプログラムが書き込まれる主記憶装置と、前記中央制御装置を動作させる前記プログラムを記憶し、当該中央制御装置が起動することにより当該プログラムが読み出され、当該プログラムが前記主記憶装置に複写される読出専用記憶装置と、前記中央制御装置が前記画像形成手段の動作状態に対応させて自らを前記省電力状態に遷移させた動作状態にて予め設定された時間間隔毎または予め設定された日時毎の時点を認識することにより、当該中央制御装置を前記読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に前記主記憶装置内の記憶内容に対する初期設定処理を実行させる起動手段とを備えたことを特徴とする制御装置である。   According to a sixth aspect of the present invention, the operation state of the image forming means for acquiring image data and forming an image on a sheet based on the acquired image data is an operation state and a power saving state in which power consumption is lower than the operation state. And a central control device that transitions its operation state between the operation state and the power saving state in correspondence with the operation state of the image forming unit, and the central control device is activated. The main storage device to which the program for operating the central control device is written and the program for operating the central control device are stored, and when the central control device is activated, the program is read, and the program is A read-only storage device copied to the main storage device, and the central control device accords with the operating state of the image forming means, By recognizing the time point for each preset time interval or for each preset date and time in the operating state that has been changed to the state, the central control unit is re-used using the program stored in the read-only storage device. A control apparatus comprising: an activation unit that is activated to cause the central control device to execute an initial setting process for the stored contents in the main storage device.

請求項7に記載の発明は、前記起動手段は、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点以外の期間にて前記中央制御装置を前記省電力状態から復帰させるに際して、当該中央制御装置を前記主記憶装置に記憶されたプログラムを用いて動作させることを特徴とする請求項6記載の制御装置である。
請求項8に記載の発明は、前記起動手段は、前記中央制御装置が自らを前記省電力状態に遷移させる際に、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点にて生成する割り込み要求信号を、前記読出専用記憶装置に記憶されたテーブルの番地を指定する割り込みコードで構成することが指示され、かつ、当該予め設定された時間間隔毎または当該予め設定された日時毎の時点以外の期間にて生成する割り込み要求信号を、前記主記憶装置に記憶されたテーブルの番地を指定する割り込みコードで構成することが指示されることを特徴とする請求項7記載の制御装置である。
請求項9に記載の発明は、前記起動手段は、前記中央制御装置を前記読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に前記主記憶装置内に記憶されたオペレーティングシステムのカーネル部に対する初期設定処理を実行させることを特徴とする請求項7記載の制御装置である。
請求項10に記載の発明は、前記中央制御装置は、前記主記憶装置内の記憶内容に対する初期設定処理を実行するに際し、当該主記憶装置内のオペレーティングシステム以外の記憶内容を不揮発性記憶手段に複写することを特徴とする請求項7記載の制御装置である。
According to a seventh aspect of the present invention, the activation unit is configured to return the central control unit from the power saving state in a period other than the point in time at the preset time interval or the preset date and time. The control device according to claim 6, wherein the central control device is operated using a program stored in the main storage device.
According to an eighth aspect of the present invention, when the central control device shifts itself to the power saving state, the activation unit is configured at each preset time interval or at each preset date and time. The interrupt request signal to be generated is instructed to be composed of an interrupt code designating the address of the table stored in the read-only storage device, and at each preset time interval or at the preset date and time 8. The control according to claim 7, wherein an instruction to generate an interrupt request signal generated in a period other than each time point is an interrupt code designating an address of a table stored in the main storage device. Device.
According to a ninth aspect of the present invention, the activation means restarts the central control device using a program stored in the read-only storage device, and is stored in the main storage device in the central control device. 8. The control apparatus according to claim 7, wherein an initial setting process for a kernel part of the operating system is executed.
According to a tenth aspect of the present invention, when the central control unit executes an initial setting process for the storage contents in the main storage device, the storage contents other than the operating system in the main storage device are stored in the nonvolatile storage means. 8. The control device according to claim 7, wherein the control device performs copying.

請求項11に記載の発明は、コンピュータに、中央制御装置の動作状態を稼動状態と当該稼動状態よりも消費電力が低い省電力状態とに遷移させる機能と、予め設定された時間間隔毎または予め設定された日時毎の時点を計測する機能と、前記中央制御装置が前記省電力状態に遷移させた動作状態にて前記予め設定された時間間隔毎または前記予め設定された日時毎の時点が計測されたことを認識することにより、前記中央制御装置を読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に主記憶装置内の記憶内容に対する初期設定処理を実行させる機能と、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点以外の期間にて前記中央制御装置を前記省電力状態から復帰させるに際して、当該中央制御装置を前記主記憶装置に記憶されたプログラムを用いて動作させる機能とを実現させることを特徴とするプログラムである。   According to an eleventh aspect of the present invention, there is provided a function of causing the computer to transition the operation state of the central control device between an operation state and a power saving state in which the power consumption is lower than the operation state, The function of measuring the time point for each set date and time, and the time point for each preset time interval or the preset date and time in the operation state in which the central control device is shifted to the power saving state is measured. By recognizing this, the central control unit is restarted using a program stored in the read-only storage device, and the central control unit is caused to execute an initial setting process for the stored contents in the main storage device. Functions and when returning the central control unit from the power saving state at a period other than the preset time interval or the preset date and time. The central control unit is a program for causing and a function to operate with a program stored in the main storage device.

請求項1の発明によれば、本発明を採用しない場合に比較して、画像形成装置が省電力状態から復帰できないという事態の発生を低減することができる。
請求項2の発明によれば、制御手段を読出専用記憶装置に記憶されたプログラムを用いて動作させるよりも速く省電力状態から復帰させることができる。
請求項3の発明によれば、予め設定された時間間隔毎または予め設定された日時毎に中央制御装置を読出専用記憶装置に記憶されたプログラムを用いて再起動させ、中央制御装置に主記憶装置内の記憶内容に対する初期設定処理を実行させるとともに、予め設定された時間間隔毎または予め設定された日時毎の時点以外の期間では中央制御装置を主記憶装置に記憶されたプログラムを用いて動作させることができる。
請求項4の発明によれば、本発明を採用しない場合に比較して、初期設定処理を短時間で行うことができる。
請求項5の発明によれば、オペレーティングシステム以外の記憶内容を毀損されない状態で保持しておくことができる。
According to the first aspect of the present invention, it is possible to reduce the occurrence of a situation in which the image forming apparatus cannot return from the power saving state as compared with the case where the present invention is not adopted.
According to the invention of claim 2, it is possible to return from the power saving state faster than when the control means is operated using the program stored in the read-only storage device.
According to the invention of claim 3, the central control unit is restarted by using a program stored in the read-only storage device at every preset time interval or every preset date and time, and the main memory is stored in the central control unit. The initial setting process for the stored contents in the apparatus is executed, and the central controller operates using a program stored in the main storage device at a time interval other than a preset time interval or a preset date and time. Can be made.
According to the fourth aspect of the present invention, the initial setting process can be performed in a shorter time than when the present invention is not adopted.
According to the fifth aspect of the present invention, it is possible to hold the stored contents other than the operating system in a state where they are not damaged.

請求項6の発明によれば、本発明を採用しない場合に比較して、画像形成装置が省電力状態から復帰できないという事態の発生を低減することができる。
請求項7の発明によれば、制御手段を読出専用記憶装置に記憶されたプログラムを用いて動作させるよりも速く省電力状態から復帰させることができる。
請求項8の発明によれば、予め設定された時間間隔毎または予め設定された日時毎に中央制御装置を読出専用記憶装置に記憶されたプログラムを用いて再起動させ、中央制御装置に主記憶装置内の記憶内容に対する初期設定処理を実行させるとともに、予め設定された時間間隔毎または予め設定された日時毎の時点以外の期間では中央制御装置を主記憶装置に記憶されたプログラムを用いて動作させることができる。
請求項9の発明によれば、本発明を採用しない場合に比較して、初期設定処理を短時間で行うことができる。
請求項10の発明によれば、オペレーティングシステム以外の記憶内容を毀損されない状態で保持しておくことができる。
請求項11の発明によれば、本発明を採用しない場合に比較して、画像形成装置が省電力状態から復帰できないという事態の発生を低減することができる。
According to the sixth aspect of the present invention, it is possible to reduce the occurrence of a situation in which the image forming apparatus cannot return from the power saving state as compared with the case where the present invention is not adopted.
According to the seventh aspect of the present invention, it is possible to return from the power saving state faster than when the control means is operated using a program stored in the read-only storage device.
According to the invention of claim 8, the central control unit is restarted by using a program stored in the read-only storage device at every preset time interval or every preset date and time, and the main memory is stored in the central control unit. The initial setting process for the stored contents in the apparatus is executed, and the central controller operates using a program stored in the main storage device at a time interval other than a preset time interval or a preset date and time. Can be made.
According to the ninth aspect of the present invention, the initial setting process can be performed in a shorter time than when the present invention is not adopted.
According to the tenth aspect of the present invention, it is possible to hold the stored contents other than the operating system in a state where they are not damaged.
According to the eleventh aspect of the present invention, it is possible to reduce the occurrence of a situation in which the image forming apparatus cannot return from the power saving state as compared with the case where the present invention is not adopted.

本実施の形態の画像形成装置が接続される画像形成システムの構成例を示した図である。1 is a diagram illustrating a configuration example of an image forming system to which an image forming apparatus according to an exemplary embodiment is connected. 端末装置の構成を説明するブロック図である。It is a block diagram explaining the structure of a terminal device. 本実施の形態の画像形成装置の構成を説明するブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus according to an exemplary embodiment. 主制御部の構成を説明するブロック図である。It is a block diagram explaining the structure of a main control part. 本実施の形態の画像形成装置にて設定される各動作モードの消費電力量を説明する図である。It is a figure explaining the power consumption of each operation mode set with the image forming apparatus of this Embodiment. 主制御部が行う動作モードに関する制御処理の内容の一例を示したフローチャートである。It is the flowchart which showed an example of the content of the control processing regarding the operation mode which a main control part performs. 主制御部が行う動作モードに関する制御処理の内容の一例を示したフローチャートである。It is the flowchart which showed an example of the content of the control processing regarding the operation mode which a main control part performs. 主制御部が行う割り込み要求信号の生成処理の内容の一例を示したフローチャートである。It is the flowchart which showed an example of the content of the production | generation process of the interruption request signal which a main control part performs.

以下、添付図面を参照して、本発明の実施の形態について詳細に説明する。
<画像形成システムの説明>
図1は、本実施の形態の画像形成装置3が接続される画像形成システム1の構成例を示した図である。図1に例示した画像形成システム1では、例えばユーザの作業スペース(例えば、デスク)等に設置された端末装置2と、端末装置2にて作成/保存等された画像データに基づき用紙上に画像を形成する画像形成装置3とが、通信手段の一例であるLAN(Local Area Network)、WAN(Wide Area Network)、インターネット等のネットワーク4を介して双方向に通信可能に接続されている。通信手段としては、電話回線や衛星通信回線(例えば、デジタル衛星放送における空間伝送路)等の通信回線を介在させてもよい。
なお、ネットワーク4上には通常、複数の端末装置2と複数の画像形成装置3とが接続可能であるが、図1では、その一部として、それぞれ1台の端末装置2と1台の画像形成装置3とが接続された構成を示している。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
<Description of image forming system>
FIG. 1 is a diagram illustrating a configuration example of an image forming system 1 to which an image forming apparatus 3 according to the present embodiment is connected. In the image forming system 1 illustrated in FIG. 1, for example, a terminal device 2 installed in a user's work space (for example, a desk) or the like and an image on a sheet based on image data created / stored by the terminal device 2. Are connected so as to be capable of bidirectional communication via a network 4 such as a LAN (Local Area Network), a WAN (Wide Area Network), or the Internet, which is an example of a communication unit. As a communication means, a communication line such as a telephone line or a satellite communication line (for example, a spatial transmission line in digital satellite broadcasting) may be interposed.
Note that, normally, a plurality of terminal devices 2 and a plurality of image forming devices 3 can be connected on the network 4, but in FIG. 1, one terminal device 2 and one image are respectively shown as a part thereof. A configuration in which the forming apparatus 3 is connected is shown.

<端末装置の説明>
まず、端末装置2について説明する。
ネットワーク4に接続される端末装置2は、例えばパーソナルコンピュータ(PC)が用いられ、文書や図形、グラフィック、写真等からなる画像データを作成/記憶する。
図2は、端末装置2の構成を説明するブロック図である。図2に示したように、端末装置2は、端末装置2全体の動作制御や各種の情報処理を行う主制御部20、予め定めたアプリケーションソフトに従って画像データを作成する画像データ作成部21、ユーザからの指示入力の受付やユーザへの各種情報の表示を行うユーザインタフェース(UI)部22を備えている。また、端末装置2は、プログラムや各種データ等が記憶される外部記憶部23、ネットワーク4との通信を行い、例えば画像データに関する画像形成命令を画像形成装置3に送信する通信部24を備えている。さらに、端末装置2は、端末装置2の各構成部に対して電力を供給する電力供給部25を備えている。
この主制御部20、画像データ作成部21、UI部22、外部記憶部23、通信部24、および電力供給部25は、バス26に接続され、相互に信号や情報の送受信を行う。
<Description of terminal device>
First, the terminal device 2 will be described.
The terminal device 2 connected to the network 4 uses, for example, a personal computer (PC), and creates / stores image data including documents, graphics, graphics, photographs, and the like.
FIG. 2 is a block diagram illustrating the configuration of the terminal device 2. As shown in FIG. 2, the terminal device 2 includes a main control unit 20 that performs operation control of the entire terminal device 2 and various information processing, an image data creation unit 21 that creates image data according to predetermined application software, and a user A user interface (UI) unit 22 for receiving an instruction input from the user and displaying various information to the user. Further, the terminal device 2 includes a communication unit 24 that communicates with the external storage unit 23 in which programs, various data, and the like are stored, and the network 4, and transmits an image formation command related to image data to the image forming device 3, for example. Yes. Further, the terminal device 2 includes a power supply unit 25 that supplies power to each component of the terminal device 2.
The main control unit 20, the image data creation unit 21, the UI unit 22, the external storage unit 23, the communication unit 24, and the power supply unit 25 are connected to the bus 26 and transmit / receive signals and information to / from each other.

端末装置2の上記した構成部は、ソフトウェアとハードウェア資源とが協働することにより実現される。具体的には、外部記憶部23に、端末装置2の各構成部の動作を制御するためのオペレーティングシステム、オペレーティングシステムと協働して各構成部の特定の機能を実行するアプリケーションソフト、さらには、画像データ作成部21にて作成された画像データや外部記憶部23に記憶された画像データ等に関する画像形成装置3への画像形成命令(印刷命令:以下、「印刷ジョブ」)を生成するプリンタドライバプログラム等が記憶されている。そして、端末装置2の図示しないCPUが、これらのプログラムを外部記憶部23から主記憶装置(例えば、RAM)に読み込み、主制御部20、画像データ作成部21、および通信部24等の各構成部の機能を実現する処理を行う。   The above-described components of the terminal device 2 are realized by cooperation of software and hardware resources. Specifically, in the external storage unit 23, an operating system for controlling the operation of each component of the terminal device 2, application software for executing a specific function of each component in cooperation with the operating system, A printer that generates an image formation command (print command: hereinafter referred to as “print job”) to the image forming apparatus 3 regarding the image data generated by the image data generation unit 21, the image data stored in the external storage unit 23, and the like A driver program and the like are stored. Then, the CPU (not shown) of the terminal device 2 reads these programs from the external storage unit 23 into the main storage device (for example, RAM), and each component of the main control unit 20, the image data creation unit 21, the communication unit 24, and the like. The process which implement | achieves the function of a part is performed.

<端末装置での印刷ジョブの生成/送信処理の説明>
端末装置2においてユーザによる印刷指示がUI部22に入力されると、主制御部20は、外部記憶部23からプリンタドライバプログラムを読み込み、起動させる。それにより、主制御部20はプリンタドライバプログラムに従って、画像データ作成部21にて作成された画像データや外部記憶部23に記憶された画像データ等に関する印刷ジョブの生成処理を実行する。そして、主制御部20は、生成した印刷ジョブを通信部24から画像形成装置3に送信する。
なお、「画像形成命令(印刷ジョブ)」とは、画像データに、例えば印刷部数、用紙サイズ、N−up(用紙の1ページ(物理ページ)内に電子文書のNページ(論理ページ)を割り付ける印刷)、余白の大きさ等の印刷形式を指定する各種属性データが付加された1つのまとまったデータの集合(印刷ジョブデータ)を意味する。
<Description of print job generation / transmission processing in terminal device>
When a print instruction from the user is input to the UI unit 22 in the terminal device 2, the main control unit 20 reads the printer driver program from the external storage unit 23 and activates it. Accordingly, the main control unit 20 executes print job generation processing related to the image data created by the image data creation unit 21 and the image data stored in the external storage unit 23 in accordance with the printer driver program. Then, the main control unit 20 transmits the generated print job from the communication unit 24 to the image forming apparatus 3.
The “image formation command (print job)” assigns N pages (logical pages) of an electronic document to image data, for example, the number of copies, paper size, and N-up (one page (physical page) of paper). Print) and a set of data (print job data) to which various attribute data for specifying a print format such as a margin size are added.

<画像形成装置の説明>
次に、画像形成装置3について説明する。
本実施の形態の画像形成装置3は、例えば端末装置2からの直近の印刷ジョブの送信から予め定められた時間を経過しても次の印刷ジョブが送信されない場合等には、画像形成処理を実行している動作状態(稼働状態)よりも消費電力が低減された動作状態(省電力状態)に移行する。そして、省電力状態が維持された状態において、予め定めた時間間隔毎に、画像形成装置3に設けられた主制御部を再起動(リブート)させ、再起動後に再び省電力状態を維持させる処理を行う。それにより、主制御部の中央制御装置に接続された揮発性メモリである主記憶装置の初期設定(イニシャライズ)を行う。
<Description of Image Forming Apparatus>
Next, the image forming apparatus 3 will be described.
The image forming apparatus 3 according to the present embodiment performs an image forming process when, for example, the next print job is not transmitted even after a predetermined time has elapsed from the transmission of the most recent print job from the terminal apparatus 2. It shifts to an operating state (power saving state) in which power consumption is reduced compared to the operating state (operating state) being executed. Then, in a state in which the power saving state is maintained, the main control unit provided in the image forming apparatus 3 is restarted (rebooted) at predetermined time intervals, and the power saving state is maintained again after the restart. I do. Thereby, initial setting (initialization) of the main storage device which is a volatile memory connected to the central control device of the main control unit is performed.

例えば、画像形成装置3の主制御部では、省電力状態の設定中においても主記憶装置が定期的にセルフリフレッシュ処理を実行する。それにより、主記憶装置を構成するメモリ素子内の電荷を補充して記憶内容が失われるのを抑えている。しかし、セルフリフレッシュ処理の実行中に発生したノイズ、さらにはメモリリーク等が要因となって、主記憶装置に記憶されたオペレーティングシステム等のプログラム、プログラムで使用される変数、スタック情報、レジスタ情報等といった画像形成装置3の動作状態等に関する情報(記憶内容)の一部がセルフリフレッシュ処理により失われる場合がある。その場合には、主制御部は画像形成装置3を省電力状態から正常に復帰させることができない事態が発生する可能性がある。
そこで、本実施の形態の画像形成装置3は、省電力状態が維持された状態において、例えば予め定めた時間間隔毎に主制御部を読出専用記憶装置に記憶されたプログラム等を用いて再起動させ、主記憶装置の記憶内容を初期設定する。それにより、主制御部が画像形成装置3を省電力状態から復帰させる際には、主記憶装置に記憶されたプログラムや情報(データ)が毀損している可能性が低下するので、画像形成装置3が省電力状態から正常に復帰しない事態の発生が低減される。
For example, in the main control unit of the image forming apparatus 3, the main storage device periodically executes self-refresh processing even during the setting of the power saving state. Thereby, the charge in the memory elements constituting the main memory device is replenished to prevent the stored contents from being lost. However, due to noise generated during the execution of self-refresh processing, memory leaks, etc., programs such as operating system stored in the main storage device, variables used in the program, stack information, register information, etc. In some cases, part of the information (stored contents) regarding the operation state of the image forming apparatus 3 is lost due to the self-refresh process. In this case, there is a possibility that the main control unit cannot return the image forming apparatus 3 from the power saving state to normal.
Therefore, the image forming apparatus 3 according to the present embodiment restarts the main control unit at a predetermined time interval using a program stored in the read-only storage device in a state where the power saving state is maintained. The memory contents of the main storage device are initialized. Accordingly, when the main control unit returns the image forming apparatus 3 from the power saving state, the possibility that the program or information (data) stored in the main storage apparatus is damaged is reduced. Occurrence of a situation where 3 does not return normally from the power saving state is reduced.

<画像形成装置の構成の説明>
次に、上記した処理を行う本実施の形態の画像形成装置3の構成について述べる。
図3は、本実施の形態の画像形成装置3の構成を説明するブロック図である。図3に示したように、画像形成装置3は、画像形成装置3全体の動作制御や画像処理を含む各種の情報処理を行う制御手段(制御装置)の一例としての主制御部30、ネットワーク4と通信を行って例えば端末装置2との間で信号の送受信を行う通信部31を備えている。
<Description of Configuration of Image Forming Apparatus>
Next, the configuration of the image forming apparatus 3 of the present embodiment that performs the above-described processing will be described.
FIG. 3 is a block diagram illustrating the configuration of the image forming apparatus 3 according to the present embodiment. As shown in FIG. 3, the image forming apparatus 3 includes a main control unit 30 as an example of a control unit (control apparatus) that performs various types of information processing including operation control of the entire image forming apparatus 3 and image processing, and a network 4. And a communication unit 31 that transmits and receives signals to and from the terminal device 2, for example.

また、画像形成装置3は、原稿上の画像を読み取って画像データを生成する画像読取部32、例えば公衆電話回線を介してファクシミリデータの送受信を行うファクシミリ(FAX)部33、例えばネットワーク4を介して端末装置2から送信される印刷ジョブや画像読取部32で読み取られた画像データ等に基づき用紙上に画像を形成する画像形成手段の一例としての画像形成部34を備えている。画像形成部34としては、例えば電子写真方式の画像形成エンジンが用いられる。
加えて、画像形成装置3は、ユーザからの指示入力の受付やユーザへの各種情報の表示を行うユーザインタフェース(UI)部35、画像形成装置3の各構成部の特定の機能を実行するアプリケーションソフト等の各種プログラムや、画像データ等の各種データが記憶される補助記憶装置(不揮発性記憶手段)の一例としての補助記憶部36を備えている。補助記憶部36としては、例えば、比較的大きな記憶容量が実現され、記憶対象となるデータに関する制限の少ないハードディスク(HDD)が用いられる。
また、画像形成装置3は、商用電源から供給される例えば100Vの交流電力を直流電圧(例えば、24V,12V,5V,3V)の電力に変換して各構成部に供給する電力供給部37を備えている。
The image forming apparatus 3 also includes an image reading unit 32 that reads an image on a document and generates image data, such as a facsimile (FAX) unit 33 that transmits and receives facsimile data via a public telephone line, such as a network 4. The image forming unit 34 is an example of an image forming unit that forms an image on a sheet based on a print job transmitted from the terminal device 2 or image data read by the image reading unit 32. As the image forming unit 34, for example, an electrophotographic image forming engine is used.
In addition, the image forming apparatus 3 includes a user interface (UI) unit 35 that receives an instruction input from the user and displays various information to the user, and an application that executes a specific function of each component of the image forming apparatus 3 An auxiliary storage unit 36 is provided as an example of an auxiliary storage device (nonvolatile storage means) that stores various programs such as software and various data such as image data. As the auxiliary storage unit 36, for example, a hard disk (HDD) that realizes a relatively large storage capacity and has few restrictions on data to be stored is used.
The image forming apparatus 3 also includes a power supply unit 37 that converts, for example, 100 V AC power supplied from a commercial power source into DC voltage (for example, 24 V, 12 V, 5 V, 3 V) and supplies the power to each component. I have.

画像形成装置3に配置された上記の主制御部30、通信部31、画像読取部32、FAX部33、画像形成部34、UI部35、補助記憶部36、および電力供給部37は、バス38に接続され、相互に信号の送受信を行う。
また、画像形成装置3の上記した構成部は、ソフトウェアとハードウェア資源とが協働することにより実現される。具体的には、画像形成装置3の主制御部30の中央制御装置が、オペレーティングシステムやアプリケーションソフト等の各種プログラムを主制御部30内の読出専用記憶装置や補助記憶部36から主記憶装置に読み込み、主制御部30、通信部31、画像読取部32、FAX部33、画像形成部34、UI部35、補助記憶部36、および電力供給部37等の各構成部の機能を実現させる処理や、各構成部に対する動作制御や情報処理等を実行する。
The main control unit 30, the communication unit 31, the image reading unit 32, the FAX unit 33, the image forming unit 34, the UI unit 35, the auxiliary storage unit 36, and the power supply unit 37 arranged in the image forming apparatus 3 are connected to the bus. 38 to transmit / receive signals to / from each other.
The above-described components of the image forming apparatus 3 are realized by cooperation of software and hardware resources. Specifically, the central control device of the main control unit 30 of the image forming apparatus 3 transfers various programs such as an operating system and application software from the read-only storage device or the auxiliary storage unit 36 in the main control unit 30 to the main storage device. Processing for realizing the functions of each component such as reading, main control unit 30, communication unit 31, image reading unit 32, FAX unit 33, image forming unit 34, UI unit 35, auxiliary storage unit 36, and power supply unit 37 Also, operation control and information processing for each component are executed.

<主制御部の説明>
引き続き、本実施の形態の主制御部30について説明する。
図4は、主制御部30の構成を説明するブロック図である。図4に示したように、主制御部30は、中央制御装置(CPU:Central Processing Unit)301、主記憶装置(RAM:Random Access Memory)302、読出専用記憶装置(ROM:Read Only Memory)303、起動手段の一例としての割り込みコントローラ304、タイマ305、リアルタイムクロック(RTC:Real Time Clock)306、入出力インターフェース(I/F)307を備えている。そして、これらは、内部バス308に接続され、相互に信号の送受信を行う。
ROM303は、画像形成装置3を構成する各構成部の動作を制御するためのオペレーティングシステム(以下、「OS」)や、OSで使用される各種変数等の情報を記憶する。
タイマ305は、予め設定された時間までの残り時間を計測する。そして、残り時間が“0”となった時点で割り込みコントローラ304に通知し、再度予め設定された時間までの残り時間の計測を開始する。
RTC306は、内蔵電源(不図示)からの電力供給を受けて、常時、日時を計測する。そして、予め設定された曜日、日付、時刻を計測した時点で、割り込みコントローラ304に通知する。
I/F307は、例えば補助記憶部36等の構成部との信号やデータの送受信を制御する。
<Description of main controller>
Next, the main control unit 30 of the present embodiment will be described.
FIG. 4 is a block diagram illustrating the configuration of the main control unit 30. As shown in FIG. 4, the main control unit 30 includes a central processing unit (CPU) 301, a main storage device (RAM: Random Access Memory) 302, and a read-only storage device (ROM: Read Only Memory) 303. As an example of the activation means, an interrupt controller 304, a timer 305, a real time clock (RTC) 306, and an input / output interface (I / F) 307 are provided. These are connected to the internal bus 308 and transmit / receive signals to / from each other.
The ROM 303 stores information such as an operating system (hereinafter referred to as “OS”) for controlling the operation of each component constituting the image forming apparatus 3 and various variables used in the OS.
The timer 305 measures the remaining time until a preset time. Then, when the remaining time becomes “0”, the interrupt controller 304 is notified, and measurement of the remaining time up to a preset time is started again.
The RTC 306 always receives the power supply from a built-in power supply (not shown) and always measures the date and time. Then, when the preset day of the week, date, and time are measured, the interrupt controller 304 is notified.
The I / F 307 controls transmission / reception of signals and data to / from components such as the auxiliary storage unit 36, for example.

また、本実施の形態の割り込みコントローラ304は、例えば、画像形成装置3内の各構成部から割り込み要求を受信し、各構成部からの割り込み要求に応じてCPU301に割り込み要求信号を出力する。
さらに、画像形成装置3が省電力状態(後段の「スリープモード」)に設定された状態においては、割り込みコントローラ304は、タイマ305から予め設定された時間が経過したことの通知を受けることにより割り込み要求信号を生成し、CPU301に割り込み要求信号を出力する。また、例えばRTC306が予め設定された日時等を計測したことの通知を受けることにより割り込み要求信号を生成し、CPU301に割り込み要求信号を出力するように設定される場合もある。
Further, the interrupt controller 304 according to the present embodiment receives an interrupt request from each component in the image forming apparatus 3, for example, and outputs an interrupt request signal to the CPU 301 in response to the interrupt request from each component.
Further, in a state where the image forming apparatus 3 is set in the power saving state (the “sleep mode” in the subsequent stage), the interrupt controller 304 is interrupted by receiving a notification from the timer 305 that a preset time has elapsed. A request signal is generated and an interrupt request signal is output to the CPU 301. In some cases, for example, an interrupt request signal is generated by receiving notification that the RTC 306 has measured a preset date and time, and the interrupt request signal is output to the CPU 301.

<主制御部が有する動作モードの制御機能に関する説明>
ここで、主制御部30が有する動作モードの制御機能について説明する。
主制御部30は、通信部31や画像読取部32からの印刷ジョブや画像データの受信状況、UI部35でのユーザからの操作入力状況等に応じて画像形成装置3の動作モード(動作状態)を制御する機能を有する。
図5は、本実施の形態の画像形成装置3にて設定される各動作モードの消費電力量を説明する図である。図5に示したように、主制御部30は、動作モードとして稼動状態の一例である「画像形成動作モード」および「スタンバイモード」と、稼動状態よりも消費電力の少ない省電力状態の一例である「スリープモード」とを選択的に設定する。
<Explanation regarding control function of operation mode of main control unit>
Here, the operation mode control function of the main control unit 30 will be described.
The main control unit 30 operates the operation mode (operation state) of the image forming apparatus 3 in accordance with the reception status of print jobs and image data from the communication unit 31 and the image reading unit 32, the operation input status from the user in the UI unit 35, and the like. ).
FIG. 5 is a diagram for explaining the power consumption in each operation mode set in the image forming apparatus 3 of the present embodiment. As shown in FIG. 5, the main control unit 30 includes an “image forming operation mode” and an “standby mode”, which are examples of operation states as operation modes, and an example of a power saving state that consumes less power than the operation state. A certain “sleep mode” is selectively set.

「画像形成動作モード」は、例えば主制御部30によって画像処理された画像データが画像形成部34に転送された場合に設定され、画像形成部34にて用紙上への画像形成動作を実行している動作状態である。「画像形成動作モード」は、動作モードの中で最も大きな電力が消費される。
また、「スタンバイモード」は、例えば画像形成装置3の主電源スイッチ(不図示)がオンされた際や、「スリープモード」の設定中に通信部31や画像読取部32から印刷ジョブや画像データを取得した場合やUI部35にてユーザから操作入力があった場合に設定される動作状態である。そして、「スタンバイモード」は、例えば主制御部30にて印刷ジョブや画像データの全部または一部に関する画像処理が終了した際に、直ちに「画像形成動作モード」に移行する。さらにまた、「スタンバイモード」は、画像形成動作の終了後の予め定めた期間においても設定される。「画像形成動作モード」やそれに準ずる「スタンバイモード」では、電力供給部37から各構成部の駆動系や制御系を動作させる電力が供給される。そのため、「スタンバイモード」では、「画像形成動作モード」よりも少ない電力が消費される。
The “image forming operation mode” is set, for example, when image data processed by the main control unit 30 is transferred to the image forming unit 34, and the image forming unit 34 executes an image forming operation on a sheet. It is an operating state. The “image forming operation mode” consumes the largest amount of power in the operation mode.
In the “standby mode”, for example, when a main power switch (not shown) of the image forming apparatus 3 is turned on, or when the “sleep mode” is set, a print job or image data is transmitted from the communication unit 31 or the image reading unit 32. This is an operation state that is set when an operation input is received from the user in the UI unit 35. Then, the “standby mode” immediately shifts to the “image forming operation mode” when the main control unit 30 finishes the image processing for all or part of the print job or image data, for example. Furthermore, the “standby mode” is also set during a predetermined period after the end of the image forming operation. In the “image forming operation mode” and the “standby mode” equivalent thereto, power for operating the drive system and the control system of each component is supplied from the power supply unit 37. Therefore, less power is consumed in the “standby mode” than in the “image forming operation mode”.

「スリープモード」は、画像形成動作が終了して「画像形成動作モード」から「スタンバイモード」が設定された状態で、予め定めた時間長の待機時間Tを経過しても印刷ジョブの受信やユーザからの操作入力がない場合等に設定される動作状態である。「スリープモード」においては、電力供給部37から主制御部30への制御系電力の供給は継続される。その一方で、電力供給部37から画像形成装置3内の画像形成動作およびそれに関連した動作等を実行する各構成部の駆動系や制御系を動作させる電力が停止される。それにより、「スリープモード」での消費電力量は低減され、画像形成装置3の省電力化が図られる。
主制御部30では、「スリープモード」において、CPU301への電力供給は停止される。それにより、CPU301での消費電力量が低減される。一方、CPU301に割り込み要求信号を出力する割り込みコントローラ304、データを保持する必要のあるRAM302、時間や日時等を計測するタイマ305およびRTC306への電力供給は継続される。
“Sleep mode” is a state in which an image forming operation is completed and “standby mode” is set from “image forming operation mode”, and a print job can be received even when a predetermined waiting time T has elapsed. This is an operation state set when there is no operation input from the user. In the “sleep mode”, the supply of control system power from the power supply unit 37 to the main control unit 30 is continued. On the other hand, the power for operating the drive system and the control system of each component that executes the image forming operation in the image forming apparatus 3 and the operation related thereto from the power supply unit 37 is stopped. As a result, the amount of power consumption in the “sleep mode” is reduced, and power saving of the image forming apparatus 3 is achieved.
In the main control unit 30, power supply to the CPU 301 is stopped in the “sleep mode”. Thereby, the power consumption in the CPU 301 is reduced. On the other hand, power supply to the interrupt controller 304 that outputs an interrupt request signal to the CPU 301, the RAM 302 that needs to hold data, the timer 305 that measures time, date, and the like, and the RTC 306 is continued.

主制御部30は、例えば「スタンバイモード」が設定された後の待機時間Tを経過しても通信部31にて印刷ジョブの受信やUI部35にてユーザからの操作入力等がない場合には、画像形成装置3を「スタンバイモード」から「スリープモード」へ移行(遷移)させる。
一方、主制御部30は、「スリープモード」が設定された状態で例えば通信部31にて印刷ジョブを受信した場合やUI部35にてユーザからの操作入力があった場合等には、電力供給部37から各構成部の駆動系や制御系に対する電力供給を再開させ、画像形成装置3を「スリープモード」から「スタンバイモード」に復帰させる。
また、主制御部30は、電力供給部37から各構成部の駆動系や制御系に対する電力供給のオンオフについてのユーザからの操作入力を受け付ける副電源スイッチ(不図示)の設定状態を認識する。副電源スイッチは、電力供給部37から供給される電力の全体をオンオフする主電源スイッチ(不図示)とは異なり、「スリープモード」と「スタンバイモード」との間の遷移を行う際に使用される切換スイッチである。主制御部30は、副電源スイッチでのユーザからの操作入力を認識することによっても、「スリープモード」と「スタンバイモード」との間の遷移処理を行う。
For example, when the standby time T after the “standby mode” is set, the main control unit 30 receives a print job at the communication unit 31 or does not receive an operation input from the user at the UI unit 35. Shifts (changes) the image forming apparatus 3 from the “standby mode” to the “sleep mode”.
On the other hand, when the “sleep mode” is set, for example, the main control unit 30 receives power from the communication unit 31 or when the UI unit 35 receives an operation input from the user. The power supply from the supply unit 37 to the drive system and control system of each component is restarted, and the image forming apparatus 3 is returned from the “sleep mode” to the “standby mode”.
Further, the main control unit 30 recognizes a setting state of a sub power switch (not shown) that receives an operation input from the user regarding on / off of power supply to the drive system and control system of each component from the power supply unit 37. Unlike the main power switch (not shown) that turns on and off the entire power supplied from the power supply unit 37, the sub power switch is used when transitioning between the “sleep mode” and the “standby mode”. It is a changeover switch. The main control unit 30 also performs a transition process between the “sleep mode” and the “standby mode” by recognizing an operation input from the user at the sub power switch.

<「スリープモード」でのRAMに対する初期設定処理に関する説明>
主制御部30では、画像形成装置3を「スリープモード」へ移行させた状態において、割り込みコントローラ304がタイマ305から予め設定された時間(例えば、1週間程度の時間間隔)が経過した旨の通知を受ける。そうすると、割り込みコントローラ304は、割り込み要求信号を生成してCPU301に出力する。その場合に、割り込みコントローラ304が生成する割り込み要求信号は、ROM303に記憶されたOSを用いた主制御部30の再起動処理の実行を指示する割り込みコードで構成される。すなわち、割り込みコントローラ304は、ROM303に記憶されたテーブル(ベクタテーブル)の「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」が格納されたアドレス(番地)を指定する割り込みコードを、割り込み要求信号としてCPU301に出力する。
<Explanation regarding initial setting processing for RAM in "sleep mode">
The main control unit 30 notifies that the preset time (for example, a time interval of about one week) has elapsed from the timer 305 by the interrupt controller 304 in a state where the image forming apparatus 3 is shifted to the “sleep mode”. Receive. Then, the interrupt controller 304 generates an interrupt request signal and outputs it to the CPU 301. In this case, the interrupt request signal generated by the interrupt controller 304 includes an interrupt code that instructs execution of the restart process of the main control unit 30 using the OS stored in the ROM 303. That is, the interrupt controller 304 specifies an address (address) in which “a process for restarting the CPU 301 using the OS and initializing the storage contents of the RAM 302” in the table (vector table) stored in the ROM 303 is stored. The code is output to the CPU 301 as an interrupt request signal.

そして、割り込みコントローラ304から割り込み要求信号を受け取ったCPU301は、ROM303に記憶されたベクタテーブルの中の割り込みコードに指定されたアドレスに格納された処理ルーチンである、「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」を実行する。すなわち、CPU301は、ROM303に記憶されたOSを用いて再起動(リブート)され、電力供給も再開される。そして、ROM303に記憶されたOSや各種情報および補助記憶部36に記憶されたアプリケーションソフト等のプログラムや各種情報を再度、RAM302に書き込む(ダウンロードする)処理を行う。それにより、RAM302は、OSおよびアプリケーションソフト等のプログラムや各種情報が新たに展開され、初期設定される。
そのため、その後に通信部31にて印刷ジョブの受信やUI部35にてユーザからの操作入力等があり、通信部31やUI部35や副電源スイッチから割り込み要求があった場合には、CPU301は、RAM302に新たに書き込まれたプログラム等により「スリープモード」から復帰することとなる。
The CPU 301 that has received the interrupt request signal from the interrupt controller 304 is a processing routine stored at the address specified by the interrupt code in the vector table stored in the ROM 303, “Restart CPU 301 using OS”. Then, a process for initializing the contents stored in the RAM 302 is executed. That is, the CPU 301 is restarted (rebooted) using the OS stored in the ROM 303, and the power supply is resumed. Then, the OS and various information stored in the ROM 303 and programs such as application software stored in the auxiliary storage unit 36 and various information are written (downloaded) into the RAM 302 again. Thereby, in the RAM 302, programs such as the OS and application software and various information are newly developed and initialized.
For this reason, when there is a print job received by the communication unit 31 or an operation input from the user by the UI unit 35 after that, and there is an interrupt request from the communication unit 31, the UI unit 35, or the sub power switch, the CPU 301 Is restored from the “sleep mode” by a program or the like newly written in the RAM 302.

そして、ROM303に記憶されたOS等により再起動され、RAM302への初期設定が完了した後において、CPU301が通信部31での印刷ジョブの受信やUI部35でのユーザからの操作入力、さらには副電源スイッチでのユーザからの操作入力の何れも認識しない場合には、CPU301は、画像形成装置3を「スリープモード」へ再び移行させる。さらには、CPU301は、CPU301自身への電力供給も停止する。   Then, after being restarted by the OS or the like stored in the ROM 303 and completing the initial setting in the RAM 302, the CPU 301 receives a print job in the communication unit 31, an operation input from the user in the UI unit 35, If no operation input from the user at the sub power switch is recognized, the CPU 301 shifts the image forming apparatus 3 to the “sleep mode” again. Furthermore, the CPU 301 also stops power supply to the CPU 301 itself.

CPU301は、画像形成装置3を「スリープモード」へ再び移行させる際には、割り込みコントローラ304に対し、タイマ305から予め設定された時間が経過した旨の通知を受けるまでの間は、CPU301に出力する割り込み要求信号を、RAM302に記憶されたテーブル(ベクタテーブル)の「「スリープモード」からの復帰処理」が格納されたアドレス(番地)を指定する割り込みコードにより構成するように指示する。それにより、画像形成装置3を「スリープモード」へ移行させた状態において、割り込みコントローラ304が通信部31やUI部35や副電源スイッチから割り込み要求を受信し、CPU301に割り込み要求信号を出力する場合には、割り込みコントローラ304からCPU301への割り込み要求信号は、RAM302に記憶された「OSの実行命令」を指示する割り込みコードにより構成される。
それにより、割り込みコントローラ304から割り込み要求信号を受け取ったCPU301は、RAM302に記憶されたテーブルの中の割り込みコードに指定されたアドレスに格納された処理(「「スリープモード」からの復帰処理」)を実行する。その場合には、RAM302に記憶された「「スリープモード」からの復帰処理」を実行することで、「スリープモード」からの復帰処理が高速に行われる。
When the CPU 301 shifts the image forming apparatus 3 to the “sleep mode” again, the CPU 301 outputs to the CPU 301 until the interrupt controller 304 receives a notification from the timer 305 that a preset time has elapsed. The interrupt request signal to be transmitted is instructed to be constituted by an interrupt code designating an address (address) in which “recovery processing from“ sleep mode ”” of a table (vector table) stored in the RAM 302 is stored. Accordingly, when the interrupt controller 304 receives an interrupt request from the communication unit 31, the UI unit 35, or the sub power switch and outputs an interrupt request signal to the CPU 301 in a state where the image forming apparatus 3 is shifted to the “sleep mode”. The interrupt request signal from the interrupt controller 304 to the CPU 301 is composed of an interrupt code for instructing an “OS execution instruction” stored in the RAM 302.
Accordingly, the CPU 301 that has received the interrupt request signal from the interrupt controller 304 performs the process (“return process from“ sleep mode ””) stored at the address specified by the interrupt code in the table stored in the RAM 302. Execute. In that case, by executing the “return processing from“ sleep mode ”” stored in the RAM 302, the return processing from the “sleep mode” is performed at high speed.

また、CPU301は、画像形成装置3を「スリープモード」へ再び移行させる際に、割り込みコントローラ304がタイマ305から予め設定された時間が経過した旨の通知を受けた場合には、CPU301に出力する割り込み要求信号を、ROM303に記憶されたベクタテーブルの「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」が格納されたアドレス(番地)を指定する割り込みコードにより構成するように指示する。
それにより、上記したように、割り込みコントローラ304は、ROM303にて「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」が格納されたアドレスを指定する割り込みコードを、割り込み要求信号としてCPU301に出力することとなる。
When the CPU 301 receives the notification that the preset time has elapsed from the timer 305 when the image forming apparatus 3 is shifted again to the “sleep mode”, the CPU 301 outputs the notification to the CPU 301. The interrupt request signal is constituted by an interrupt code designating an address (address) in which “a process for restarting the CPU 301 using the OS and initializing the stored contents of the RAM 302” of the vector table stored in the ROM 303 is stored. To instruct.
Accordingly, as described above, the interrupt controller 304 sends an interrupt code specifying an address in which “processing for restarting the CPU 301 using the OS and initializing the storage contents of the RAM 302” in the ROM 303 is stored. The signal is output to the CPU 301 as a signal.

このように、本実施の形態の主制御部30においては、画像形成装置3を「スリープモード」へ移行させた状態において予め設定された時間が経過する毎に、CPU301は、ROM303に記憶されたOSにより再起動され、RAM302に対し、ROM303に記憶されたOSや各種情報、および補助記憶部36に記憶されたアプリケーションソフト等のプログラムや各種情報を新たに書き換える初期設定処理を行う。
そのため、RAM302が定期的にセルフリフレッシュ処理を実行した際に、セルフリフレッシュ処理の実行中に発生したノイズやメモリリーク等が要因となって、RAM302に記憶されたプログラム、プログラムで使用される変数、スタック情報、レジスタ情報等といった画像形成装置3の動作状態に関する情報の一部が失われたとしても、RAM302には新たにプログラムや各種情報が書き込まれる初期設定が行われる。それにより、主制御部30が画像形成装置3を省電力状態(「スリープモード」)から復帰させる際には、RAM302に記憶されたプログラムや情報(データ)が毀損している可能性が低下するので、画像形成装置3が省電力状態から正常に復帰しない事態の発生が低減する。そのことから、ユーザの利便性は向上する。
As described above, in the main control unit 30 of the present embodiment, the CPU 301 is stored in the ROM 303 every time a preset time elapses in a state where the image forming apparatus 3 is shifted to the “sleep mode”. The system is restarted by the OS, and initial setting processing for newly rewriting the OS and various information stored in the ROM 303 and programs such as application software and various information stored in the auxiliary storage unit 36 is performed on the RAM 302.
For this reason, when the RAM 302 periodically executes the self-refresh process, the noise stored during the execution of the self-refresh process, memory leaks, and the like cause the program stored in the RAM 302, the variables used in the program, Even if a part of the information related to the operation state of the image forming apparatus 3 such as stack information and register information is lost, initial setting for newly writing a program and various information in the RAM 302 is performed. Accordingly, when the main control unit 30 returns the image forming apparatus 3 from the power saving state (“sleep mode”), the possibility that the program and information (data) stored in the RAM 302 are damaged is reduced. Therefore, the occurrence of a situation where the image forming apparatus 3 does not return normally from the power saving state is reduced. Therefore, convenience for the user is improved.

また、画像形成装置3が長期に亘って「スリープモード」に設定される場合であっても、タイマ305にて計測される例えば1週間程度に1回の頻度でCPU301が復帰するだけであるので、「スリープモード」の設定による消費電力量の低減化は維持される。   Even when the image forming apparatus 3 is set to the “sleep mode” for a long period of time, the CPU 301 only returns at a frequency of, for example, about one week measured by the timer 305. The reduction in power consumption by setting the “sleep mode” is maintained.

なお、本実施の形態では、割り込みコントローラ304がROM303による実行を指示する割り込みコードで構成される割り込み要求信号をCPU301に出力するタイミング(時点)として、タイマ305にて計測される予め設定された時間(例えば、1週間程度の時間間隔)を用いた。このような構成の他に、例えば、RTC306にて計測される曜日、日付、時刻(例えば、月曜日の午前0時といった日時)を指定することによって、割り込み要求信号を生成するタイミング(時点)を設定してもよい。それにより、例えば曜日、時刻等によって画像形成装置3の使用頻度が異なるユーザの利便性が高まる。   In this embodiment, a preset time measured by the timer 305 is used as a timing (time point) at which the interrupt controller 304 outputs an interrupt request signal including an interrupt code instructing execution by the ROM 303 to the CPU 301. (For example, a time interval of about one week) was used. In addition to this configuration, for example, by specifying the day of the week, date, and time (eg, date and time such as midnight on Monday) measured by the RTC 306, the timing (time point) for generating the interrupt request signal is set. May be. Thereby, for example, the convenience of the user whose use frequency of the image forming apparatus 3 is different depending on the day of the week, the time, etc. is enhanced.

また、ROM303や補助記憶部36からプログラム等を再度読み込んでRAM302に書き込む初期設定処理を実行するに際し、例えば、OSの中のハードウェアを直接管理操作する等の最も中心的な機能の部分であるカーネル部だけを初期設定するように構成してもよい。この場合には、割り込みコントローラ304は、OSのカーネル部だけを初期設定する処理を実行する処理ルーチンが格納されたアドレスを指定する割り込みコードを、割り込み要求信号としてCPU301に出力することとなる。カーネル部だけを初期設定することにより、初期設定処理が短時間で行われる。   Further, when executing an initial setting process for re-reading a program or the like from the ROM 303 or the auxiliary storage unit 36 and writing it into the RAM 302, it is a part of the most central function such as direct management operation of hardware in the OS, for example. You may comprise so that only a kernel part may be initialized. In this case, the interrupt controller 304 outputs an interrupt code designating an address storing a processing routine for executing processing for initializing only the kernel part of the OS to the CPU 301 as an interrupt request signal. By initial setting only the kernel part, the initial setting process is performed in a short time.

また、その際には、カーネル部以外の他の情報(画像形成装置3の動作状態等に関する情報)を補助記憶部36等の不揮発性記憶装置に転送(複写)しておく。そして、カーネル部をRAM302に再書き込みするに際し、カーネル部以外の他の情報(記憶内容)に関しては、補助記憶部36等に記憶しておいたものをRAM302に再書き込みするように構成してもよい。
また、カーネル部以外の他の情報(画像形成装置3の動作状態等に関する情報)を補助記憶部36等の不揮発性記憶装置に転送しておくタイミングとしては、例えば、画像形成装置3を「スリープモード」へ移行させる処理の前が好ましい。それにより、カーネル部以外の他の情報は、セルフリフレッシュ処理によって毀損されていない状態のままで補助記憶部36等に保持される。
In this case, information other than the kernel unit (information regarding the operation state of the image forming apparatus 3) is transferred (copied) to a nonvolatile storage device such as the auxiliary storage unit 36. When rewriting the kernel part to the RAM 302, other information (stored contents) other than the kernel part may be rewritten to the RAM 302 from information stored in the auxiliary storage unit 36 or the like. Good.
In addition, as a timing for transferring information other than the kernel unit (information regarding the operation state of the image forming apparatus 3) to the nonvolatile storage device such as the auxiliary storage unit 36, for example, the image forming apparatus 3 is set to “sleep”. It is preferable to perform the process before shifting to the “mode”. As a result, information other than the kernel part is held in the auxiliary storage part 36 and the like in a state that is not damaged by the self-refresh process.

さらに、RAM302に保持された情報の中で、通信部31での通信処理に使用する情報やFAX部33でのファクシミリ通信処理に使用する情報は、通信に設定されるタイムアウトとの関連により、RAM302に対する初期設定処理が完了した後は、直ちに使用される情報である。そのため、RAM302に対する初期設定処理により、補助記憶部36等から直ちにRAM302に再書き込みされる。
その一方で、RAM302に保持された情報の中で、画像読取部32および画像形成部34での複写(コピー)処理に使用する情報や、画像読取部32でのOCR(Optical Character Reader)処理に使用する情報は、通信に設定されるタイムアウトのような時間的な制約が厳格に存在しない。そのため、RAM302に対する初期設定処理を行う際には、通信とは関連が少ない複写処理に使用する情報やOCR処理に使用する情報を使用するアプリケーションソフトを一旦終了させる。そして、CPU301が再起動(リブート)された際に、補助記憶部36等から複写処理に使用する情報やOCR処理に使用する情報をRAM302に再書き込みするように構成してもよい。
Further, of the information held in the RAM 302, the information used for the communication processing in the communication unit 31 and the information used for the facsimile communication processing in the FAX unit 33 are related to the timeout set for the communication. This information is used immediately after the initial setting process is completed. Therefore, the initial setting process for the RAM 302 is immediately rewritten from the auxiliary storage unit 36 or the like to the RAM 302.
On the other hand, of the information held in the RAM 302, information used for copying (copying) in the image reading unit 32 and the image forming unit 34, and OCR (Optical Character Reader) processing in the image reading unit 32. The information to be used does not have strict time constraints such as timeout set for communication. For this reason, when performing the initial setting process for the RAM 302, application software that uses information used for copy processing and information used for OCR processing, which is less related to communication, is temporarily terminated. Then, when the CPU 301 is restarted (rebooted), the information used for the copying process or the information used for the OCR process may be rewritten to the RAM 302 from the auxiliary storage unit 36 or the like.

また、本実施の形態では、CPU301は、ROM303に記憶されたOSにより再起動され、RAM302に対し、ROM303に記憶されたOSや各種情報、および補助記憶部36に記憶されたアプリケーションソフト等のプログラムや各種情報を新たに書き換える初期設定処理を行う構成とした。このような設定の他に、画像形成装置3を「スリープモード」へ移行させた状態において予め設定された時間が経過する毎に、CPU301をソフトウェアによってシステムリセットし、RAM302内の記憶内容を再展開するように構成してもよい。   In the present embodiment, the CPU 301 is restarted by the OS stored in the ROM 303, and the OS and various information stored in the ROM 303 and programs such as application software stored in the auxiliary storage unit 36 are stored in the RAM 302. And an initial setting process for newly rewriting various information. In addition to such settings, every time a preset time elapses in a state where the image forming apparatus 3 is shifted to the “sleep mode”, the CPU 301 is system-reset by software, and the contents stored in the RAM 302 are redeployed. You may comprise.

さらに、CPU301をROM303に記憶されたOSにより再起動し、RAM302内の記憶内容を初期設定するタイミングで、CPU301が例えば外部装置(例えば、端末装置2)からのプログラムのダウンロード要求を認識した場合には、CPU301は、ダウンロードの完了を待ってCPU301をROM303に記憶されたOSにより再起動し、RAM302内の記憶内容を初期設定する処理を開始してもよい。また、自装置から外部装置(例えば、端末装置2)にプログラムのダウンロード要求を行った場合にも同様に、ダウンロードの完了を待機するように構成してもよい。それにより、プログラムのダウンロードが実行されない事態が回避される。
同様に、CPU301が例えばFAX部33にてファクシミリデータの着呼を認識した場合にも、ファクシミリデータの着信を待ってCPU301をROM303に記憶されたOSにより再起動し、RAM302内の記憶内容を初期設定する処理を開始してもよい。
Further, when the CPU 301 recognizes a program download request from, for example, an external device (for example, the terminal device 2) at the timing when the CPU 301 is restarted by the OS stored in the ROM 303 and the stored contents in the RAM 302 are initialized. The CPU 301 may wait for the download to be completed, restart the CPU 301 with the OS stored in the ROM 303, and start processing for initializing the storage contents in the RAM 302. Similarly, when a download request for a program is made from the own apparatus to an external apparatus (for example, the terminal apparatus 2), the completion of the download may be similarly waited. As a result, the situation where the program is not downloaded is avoided.
Similarly, when the CPU 301 recognizes an incoming call of facsimile data by the FAX unit 33, for example, the CPU 301 is restarted by the OS stored in the ROM 303 after the incoming of the facsimile data, and the stored contents in the RAM 302 are initialized. The setting process may be started.

また、「スリープモード」の設定時にCPU301をROM303に記憶されたOSにより再起動し、RAM302内の記憶内容を初期設定する処理の履歴情報(Log)を、CPU301内または画像形成装置3内に設けたフラッシュメモリ等の不揮発性記憶装置や、補助記憶部36に記憶しておいてもよい。
さらには、CPU301をROM303に記憶されたOSにより再起動し、RAM302内の記憶内容を初期設定する処理に要した総累積時間や実行回数等の統計情報を、CPU301内または画像形成装置3内に設けたフラッシュメモリ等の不揮発性記憶装置や、補助記憶部36に記憶しておいてもよい。それにより、これらの情報は、主制御部30に設定するRAM302を初期設定する処理プログラムの改良に役立てられる。
In addition, when the “sleep mode” is set, the CPU 301 is restarted by the OS stored in the ROM 303 and processing history information (Log) for initializing the storage contents in the RAM 302 is provided in the CPU 301 or the image forming apparatus 3. Alternatively, it may be stored in a non-volatile storage device such as a flash memory or in the auxiliary storage unit 36.
Further, the CPU 301 is restarted by the OS stored in the ROM 303, and statistical information such as the total accumulated time and the number of executions required for the process of initializing the storage contents in the RAM 302 is stored in the CPU 301 or the image forming apparatus 3. You may memorize | store in the non-volatile memory | storage devices, such as the provided flash memory, and the auxiliary memory part 36. FIG. Accordingly, these pieces of information are useful for improving the processing program that initially sets the RAM 302 set in the main control unit 30.

<主制御部が行う動作モードの制御処理に関する説明>
次に、主制御部30が行う動作モードに関する制御処理について説明する。
図6−1および図6−2は、主制御部30が行う動作モードに関する制御処理の内容の一例を示したフローチャートである。
まず、図6−1に示したように、主制御部30のCPU301は、画像形成動作が終了して「画像形成動作モード」から「スタンバイモード」を設定すると(ステップ101)、予め定めた時間長の待機時間Tが経過するまで、通信部31での印刷ジョブの受信やUI部35や副電源スイッチでのユーザからの操作入力を待機する(ステップ102でNo、ステップ103でNo)。そして、予め定めた時間長の待機時間Tが経過するまでに印刷ジョブの受信またはユーザからの操作入力があった場合には(ステップ102でYes)、CPU301は、印刷ジョブの受信またはユーザからの操作入力に応じた画像形成装置3の機能を実行するための処理を行う(ステップ104)。画像形成装置3の機能を実行した後はステップ102に戻り、CPU301は、再び、印刷ジョブの受信またはユーザからの操作入力を待機する。
<Explanation regarding control processing of operation mode performed by main controller>
Next, the control process regarding the operation mode performed by the main control unit 30 will be described.
FIGS. 6A and 6B are flowcharts illustrating an example of the contents of the control process related to the operation mode performed by the main control unit 30.
First, as illustrated in FIG. 6A, when the CPU 301 of the main control unit 30 ends the image forming operation and sets the “standby mode” from the “image forming operation mode” (step 101), a predetermined time is set. Until the long standby time T elapses, it waits for the reception of a print job at the communication unit 31 and the operation input from the user at the UI unit 35 or the sub power switch (No at step 102, No at step 103). If a print job is received or an operation input is received from the user before the predetermined waiting time T elapses (Yes in step 102), the CPU 301 receives the print job or receives a command from the user. Processing for executing the function of the image forming apparatus 3 according to the operation input is performed (step 104). After executing the function of the image forming apparatus 3, the process returns to step 102, and the CPU 301 again waits for reception of a print job or operation input from the user.

一方、印刷ジョブの受信およびユーザからの指示入力がない状態で待機時間Tを経過した場合には(ステップ102でNo、ステップ103でYes)、主制御部30のCPU301は、割り込みコントローラ304に対し、割り込み要求信号に設定する割り込みコードを指示する(ステップ105)。
すなわち、CPU301は、割り込みコントローラ304に対し、タイマ305から予め設定された時間が経過した旨の通知を受けるまでの間は、CPU301に出力する割り込み要求信号を、RAM302に記憶されたベクタテーブルの「「スリープモード」からの復帰処理」が格納されたアドレスを指定する割り込みコードにより構成するように指示する。また、割り込みコントローラ304がタイマ305から予め設定された時間が経過した旨の通知を受けた場合には、CPU301に出力する割り込み要求信号を、ROM303に記憶されたベクタテーブルの「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」が格納されたアドレスを指定する割り込みコードにより構成するように指示する。
そしてその後、CPU301は、「スリープモード」を設定し(ステップ106)、割り込みコントローラ304からの割り込み要求信号の取得を待機する(ステップ107でNo)。
On the other hand, when the waiting time T has elapsed without receiving a print job and no instruction input from the user (No in step 102, Yes in step 103), the CPU 301 of the main control unit 30 sends an interrupt to the interrupt controller 304. Then, an interrupt code to be set in the interrupt request signal is indicated (step 105).
That is, the CPU 301 sends an interrupt request signal to be output to the CPU 301 in the vector table stored in the RAM 302 until the interrupt controller 304 is notified from the timer 305 that a preset time has elapsed. It is instructed to be constituted by an interrupt code designating an address in which “recovery processing from“ sleep mode ”” is stored. Also, when the interrupt controller 304 receives a notification from the timer 305 that a preset time has elapsed, an interrupt request signal to be output to the CPU 301 is sent to the CPU 301 using the OS in the vector table stored in the ROM 303. Is instructed to be constituted by an interrupt code for designating an address in which “processing for initializing stored contents of RAM 302” is stored.
Thereafter, the CPU 301 sets the “sleep mode” (step 106), and waits for the acquisition of an interrupt request signal from the interrupt controller 304 (No in step 107).

CPU301は、割り込みコントローラ304から割り込み要求信号を取得すると(ステップ107でYes)、割り込み要求信号を構成する割り込みコードを判別する(ステップ108)。
次に図6−2に移り、CPU301は、割り込み要求信号がRAM302に記憶されたベクタテーブルの「「スリープモード」からの復帰処理」が格納されたアドレスを指定する割り込みコードにより構成されている場合には(ステップ109でYes)、RAM302の割り込みコードに指定されたアドレスに格納された処理(「「スリープモード」からの復帰処理」)を実行する(ステップ110)。それにより、CPU301は、「スリープモード」から「スタンバイモード」に復帰させる(ステップ111)。そしてその後、ステップ104以降の処理を行う。
When the CPU 301 obtains an interrupt request signal from the interrupt controller 304 (Yes in Step 107), the CPU 301 determines an interrupt code constituting the interrupt request signal (Step 108).
Next, moving to FIG. 6B, the CPU 301 is configured by an interrupt code designating an address in which “return processing from“ sleep mode ”” of the vector table in which the interrupt request signal is stored in the RAM 302 is stored. (Yes in step 109), the process stored in the address specified in the interrupt code of the RAM 302 ("return process from" sleep mode "") is executed (step 110). Thereby, the CPU 301 returns from the “sleep mode” to the “standby mode” (step 111). Thereafter, the processing after step 104 is performed.

一方、CPU301は、割り込み要求信号がROM303に記憶されたベクタテーブルの「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」が格納されたアドレスを指定する割り込みコードにより構成されている場合には(ステップ109でNo)、ROM303の割り込みコードに指定されたアドレスに格納された「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」を実行する(ステップ112)。
すなわち、CPU301は、ROM303に記憶されたOSにより再起動(リブート)される。そして、CPU301は、ROM303に記憶されたOSにより再起動され、ROM303に記憶されたOSや各種情報および補助記憶部36に記憶されたアプリケーションソフト等のプログラムや各種情報を再度、RAM302に書き込む(ダウンロードする)処理を行う。それにより、RAM302は、OSおよびアプリケーションソフト等のプログラムや各種情報が新たに展開され、初期設定される。
On the other hand, the CPU 301 is configured by an interrupt code for designating an address in which “a process for restarting the CPU 301 using the OS and initializing the storage contents of the RAM 302” of the vector table in which the interrupt request signal is stored in the ROM 303 is stored. If this is the case (No in step 109), the "process for restarting the CPU 301 using the OS and initializing the contents stored in the RAM 302" stored at the address specified in the interrupt code of the ROM 303 is executed (step S1). 112).
That is, the CPU 301 is restarted (rebooted) by the OS stored in the ROM 303. Then, the CPU 301 is restarted by the OS stored in the ROM 303, and writes the OS and various information stored in the ROM 303 and programs and various information such as application software stored in the auxiliary storage unit 36 into the RAM 302 again (download). Process). Thereby, in the RAM 302, programs such as the OS and application software and various information are newly developed and initialized.

「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」の実行中に、印刷ジョブの受信およびユーザからの操作入力がなければ(ステップ113でNo)、主制御部30のCPU301は、再び「スリープモード」を設定する(ステップ114)。そして、ステップ107に戻り、割り込みコントローラ304からの割り込み要求信号の取得を待機する。
また、「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」の実行中に、印刷ジョブの受信およびユーザからの操作入力を取得した場合には(ステップ113でYes)、既に「スタンバイモード」に復帰した動作状態にあるので、ステップ104以降の処理を行う。
If there is no reception of a print job and no operation input from the user during execution of “a process for restarting the CPU 301 using the OS and initializing the storage contents of the RAM 302” (No in step 113), the main control unit 30 The CPU 301 sets the “sleep mode” again (step 114). Then, the process returns to step 107 and waits for acquisition of an interrupt request signal from the interrupt controller 304.
Further, when the reception of a print job and the operation input from the user are acquired during the execution of “the process of restarting the CPU 301 using the OS and initializing the storage contents of the RAM 302” (Yes in step 113), Since the operation state has already been returned to the “standby mode”, the processing after step 104 is performed.

<主制御部が行う割り込み要求信号の生成処理に関する説明>
次に、主制御部30が行う割り込み要求信号の生成処理について説明する。
図7は、主制御部30が行う割り込み要求信号の生成処理の内容の一例を示したフローチャートである。
まず、図7に示したように、主制御部30の割り込みコントローラ304は、CPU301が「スリープモード」を設定する際に、CPU301から割り込み要求信号に設定する割り込みコードの指示を受け付ける(ステップ201)。そして、CPU301が「スリープモード」を設定すると(ステップ202)、割り込みコントローラ304は、タイマ305から予め設定された時間が経過した旨の通知を受けるまで、通信部31やUI部35や副電源スイッチからの割り込み要求を待機する(ステップ203でNo、ステップ204でNo)。
<Description of interrupt request signal generation processing performed by the main control unit>
Next, an interrupt request signal generation process performed by the main control unit 30 will be described.
FIG. 7 is a flowchart showing an example of the content of the interrupt request signal generation process performed by the main control unit 30.
First, as shown in FIG. 7, the interrupt controller 304 of the main control unit 30 receives an instruction of an interrupt code to be set as an interrupt request signal from the CPU 301 when the CPU 301 sets “sleep mode” (step 201). . When the CPU 301 sets the “sleep mode” (step 202), the interrupt controller 304 receives the notification that the preset time has elapsed from the timer 305 until the communication unit 31, the UI unit 35, and the sub power switch. (No in step 203, No in step 204).

そして、タイマ305からの通知を取得するまでに割り込み要求があった場合には(ステップ204でYes)、割り込みコントローラ304は、RAM302に記憶されたベクタテーブルの「「スリープモード」からの復帰処理」が格納されたアドレスを指定する割り込みコードにより構成された割り込み要求信号を生成し、CPU301に出力する(ステップ205)。その後、割り込み要求信号の生成処理を終了する。   If there is an interrupt request before the notification from the timer 305 is acquired (Yes in step 204), the interrupt controller 304 performs “return processing from“ sleep mode ”” of the vector table stored in the RAM 302. An interrupt request signal composed of an interrupt code designating the address in which is stored is generated and output to the CPU 301 (step 205). Thereafter, the interrupt request signal generation process is terminated.

一方、タイマ305からの通知を取得すると(ステップ203でYes)、割り込みコントローラ304は、ROM303に記憶されたベクタテーブルの「OSを用いてCPU301を再起動しRAM302の記憶内容を初期設定する処理」が格納されたアドレスを指定する割り込みコードにより構成された割り込み要求信号を生成し、CPU301に出力する(ステップ206)。
その後、ステップ202に戻ってCPU301により「スリープモード」が再度設定され、ステップ203以降の処理を継続する。
On the other hand, when the notification from the timer 305 is acquired (Yes in Step 203), the interrupt controller 304 “process for restarting the CPU 301 using the OS and initializing the storage contents of the RAM 302” in the vector table stored in the ROM 303. An interrupt request signal composed of an interrupt code designating the address in which is stored is generated and output to the CPU 301 (step 206).
After that, the process returns to step 202, the “sleep mode” is set again by the CPU 301, and the processing after step 203 is continued.

ところで、タイマ305での時間計測は、通信部31やUI部35や副電源スイッチからの割り込み要求を受け付けることによりリセットしてもよいし、割り込み要求の受け付けとは関係なく時間計測をそのまま継続するように構成してもよい。
また、タイマ305が計測する予め設定された時間は、「スリープモード」中に行うRAM302の記憶内容を初期設定する処理によりRAM302の記憶内容が正常に維持されると容易に確認できる期間を設定することが好ましい。例えば、タイマ305が計測する時間として1週間程度を設定すれば、主制御部30に設定するRAM302を初期設定する処理プログラムの誤り(バグ)を修正(デバック)した結果についての確認を1週間程度という比較的期間で行うことができる。これに対し、例えば1年程度を設定すれば、処理プログラムにバグがあるか否かの確認を1年かけて検証する必要が生じ、不都合が大きい。
By the way, the time measurement by the timer 305 may be reset by receiving an interrupt request from the communication unit 31, the UI unit 35, or the sub power switch, or the time measurement is continued as it is regardless of the reception of the interrupt request. You may comprise as follows.
The preset time measured by the timer 305 sets a period that can be easily confirmed when the stored contents of the RAM 302 are normally maintained by the process of initializing the stored contents of the RAM 302 performed during the “sleep mode”. It is preferable. For example, if about one week is set as the time measured by the timer 305, confirmation of the result of correcting (debugging) an error (bug) in the processing program for initial setting of the RAM 302 set in the main control unit 30 is confirmed for about one week. It can be done in a relatively long period. On the other hand, if, for example, about one year is set, it is necessary to verify whether or not there is a bug in the processing program over one year, which is inconvenient.

以上説明したように、本実施の形態の画像形成装置3の主制御部30においては、画像形成装置3を「スリープモード」へ移行させた状態において予め設定された時間が経過する毎に、CPU301は、ROM303に記憶されたOSにより再起動され、RAM302に対し、ROM303に記憶されたOSや各種情報、および補助記憶部36に記憶されたアプリケーションソフト等のプログラムや各種情報を新たに書き換える初期設定処理を行う。
それにより、RAM302には予め設定された時間毎に新たにプログラムや各種情報が書き込まれるので、主制御部30が画像形成装置3を省電力状態(「スリープモード」)から復帰させる際には、RAM302に記憶されたプログラムや情報(データ)が毀損している可能性が低下する。そのため、画像形成装置3が省電力状態から正常に復帰しない事態の発生が低減し、ユーザの利便性は向上する。
As described above, in the main control unit 30 of the image forming apparatus 3 of the present embodiment, every time a preset time elapses in a state where the image forming apparatus 3 is shifted to the “sleep mode”. Is an initial setting that is restarted by the OS stored in the ROM 303 and newly rewrites the OS and various information stored in the ROM 303 and programs and various information such as application software stored in the auxiliary storage unit 36 in the RAM 302. Process.
Thereby, a new program and various types of information are written in the RAM 302 at preset time intervals. Therefore, when the main control unit 30 returns the image forming apparatus 3 from the power saving state (“sleep mode”), The possibility that the program and information (data) stored in the RAM 302 are damaged decreases. Therefore, the occurrence of a situation where the image forming apparatus 3 does not return normally from the power saving state is reduced, and the convenience for the user is improved.

また、画像形成装置3が長期に亘って「スリープモード」に設定される場合であっても、タイマ305にて計測される例えば1週間程度に1回の頻度でCPU301が復帰するだけであるので、「スリープモード」の設定による消費電力量の低減化は維持される。   Even when the image forming apparatus 3 is set to the “sleep mode” for a long period of time, the CPU 301 only returns at a frequency of, for example, about one week measured by the timer 305. The reduction in power consumption by setting the “sleep mode” is maintained.

1…画像形成システム、3…画像形成装置、30…主制御部、34…画像形成部、301…中央制御装置(CPU)、302…主記憶装置(RAM)、303…読出専用記憶装置(ROM)、304…割り込みコントローラ、305…タイマ、306…リアルタイムクロック(RTC) DESCRIPTION OF SYMBOLS 1 ... Image forming system, 3 ... Image forming apparatus, 30 ... Main control part, 34 ... Image forming part, 301 ... Central control apparatus (CPU), 302 ... Main memory (RAM), 303 ... Read-only memory (ROM) 304 ... Interrupt controller 305 ... Timer 306 ... Real time clock (RTC)

Claims (11)

動作状態として稼動状態と当該稼動状態よりも消費電力が低い省電力状態とが設定され、当該稼動状態にて画像データを取得し、取得した当該画像データに基づき用紙に画像を形成する画像形成手段と、
中央制御装置と主記憶装置と読出専用記憶装置とを有し、前記画像形成手段の動作を制御するとともに、当該画像形成手段の動作状態に対応させて自らの動作状態を前記稼動状態と前記省電力状態とに遷移させる制御手段と、
前記制御手段が自らを前記省電力状態に遷移させた動作状態にて予め設定された時間間隔毎または予め設定された日時毎の時点を認識することにより、前記中央制御装置を前記読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に前記主記憶装置内の記憶内容に対する初期設定処理を実行させる起動手段と
を備えたことを特徴とする画像形成装置。
An image forming unit that sets an operating state and a power saving state with lower power consumption than the operating state as the operating state, acquires image data in the operating state, and forms an image on a sheet based on the acquired image data When,
A central control device, a main storage device, and a read-only storage device for controlling the operation of the image forming means, and corresponding to the operation state of the image forming means, Control means for transitioning to a power state;
By recognizing the time point for each preset time interval or for each preset date and time in the operating state in which the control means has transitioned itself to the power saving state, the central control device is set to the read-only storage device. An image forming apparatus comprising: an activation unit that is restarted using a program stored in the central processing unit and causes the central control unit to execute an initial setting process for the stored contents in the main storage device.
前記起動手段は、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点以外の期間にて前記制御手段を前記省電力状態から復帰させるに際して、前記中央制御装置を前記主記憶装置に記憶されたプログラムを用いて動作させることを特徴とする請求項1記載の画像形成装置。   The activation unit sets the central control unit to the main storage device when returning the control unit from the power saving state at a period other than the preset time interval or the preset date and time. The image forming apparatus according to claim 1, wherein the image forming apparatus is operated using a program stored in the image forming apparatus. 前記起動手段は、前記制御手段が自らを前記省電力状態に遷移させる際に、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点にて生成する割り込み要求信号を、前記読出専用記憶装置に記憶されたテーブルの番地を指定する割り込みコードで構成することが指示され、かつ、当該予め設定された時間間隔毎または当該予め設定された日時毎の時点以外の期間にて生成する割り込み要求信号を、前記主記憶装置に記憶されたテーブルの番地を指定する割り込みコードで構成することが指示されることを特徴とする請求項2記載の画像形成装置。   The activation unit reads the interrupt request signal generated at the preset time interval or the preset date and time when the control unit shifts itself to the power saving state. It is instructed to be configured with an interrupt code that specifies the address of the table stored in the dedicated storage device, and is generated in a period other than the point in time at the preset time interval or the preset date and time. 3. The image forming apparatus according to claim 2, wherein the interrupt request signal is instructed to be composed of an interrupt code designating an address of a table stored in the main storage device. 前記起動手段は、前記中央制御装置を前記読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に前記主記憶装置内に記憶されたオペレーティングシステムのカーネル部に対する初期設定処理を実行させることを特徴とする請求項2記載の画像形成装置。   The starting means restarts the central control device using a program stored in the read-only storage device, and initializes the kernel unit of the operating system stored in the main storage device in the central control device. The image forming apparatus according to claim 2, wherein processing is executed. プログラムおよびデータを記憶する不揮発性記憶手段をさらに備え、
前記中央制御装置は、前記主記憶装置内の記憶内容に対する初期設定処理を実行するに際し、当該主記憶装置内のオペレーティングシステム以外の記憶内容を前記不揮発性記憶手段に複写することを特徴とする請求項2記載の画像形成装置。
Non-volatile storage means for storing a program and data,
The central control device, when executing an initial setting process for storage contents in the main storage device, copies storage contents other than the operating system in the main storage device to the nonvolatile storage means. Item 3. The image forming apparatus according to Item 2.
画像データを取得し、取得した当該画像データに基づき用紙に画像を形成する画像形成手段の動作状態を稼動状態と当該稼動状態よりも消費電力が低い省電力状態とに遷移させる制御を行うとともに、当該画像形成手段の動作状態に対応させて自らの動作状態を当該稼動状態と当該省電力状態とに遷移させる中央制御装置と、
前記中央制御装置が起動することにより当該中央制御装置を動作させるプログラムが書き込まれる主記憶装置と、
前記中央制御装置を動作させる前記プログラムを記憶し、当該中央制御装置が起動することにより当該プログラムが読み出され、当該プログラムが前記主記憶装置に複写される読出専用記憶装置と、
前記中央制御装置が前記画像形成手段の動作状態に対応させて自らを前記省電力状態に遷移させた動作状態にて予め設定された時間間隔毎または予め設定された日時毎の時点を認識することにより、当該中央制御装置を前記読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に前記主記憶装置内の記憶内容に対する初期設定処理を実行させる起動手段と
を備えたことを特徴とする制御装置。
While acquiring image data and performing control to change the operation state of the image forming unit that forms an image on a sheet based on the acquired image data to an operation state and a power saving state in which power consumption is lower than the operation state, A central control device that changes its operation state between the operation state and the power saving state in correspondence with the operation state of the image forming unit;
A main storage device in which a program for operating the central control device is written when the central control device is activated;
Storing the program for operating the central control unit, the central control unit is activated to read the program, and the read-only storage unit to copy the program to the main storage unit;
The central control unit recognizes a point in time at a preset time interval or a preset date and time in an operating state in which the central control unit transitions itself to the power saving state according to the operating state of the image forming unit. The central control device is restarted by using a program stored in the read-only storage device to cause the central control device to execute initial setting processing for the stored contents in the main storage device. A control device characterized by that.
前記起動手段は、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点以外の期間にて前記中央制御装置を前記省電力状態から復帰させるに際して、当該中央制御装置を前記主記憶装置に記憶されたプログラムを用いて動作させることを特徴とする請求項6記載の制御装置。   The activation means stores the central control device in the main memory when returning the central control device from the power saving state at a time other than the preset time interval or the preset time and date. The control device according to claim 6, wherein the control device is operated using a program stored in the device. 前記起動手段は、前記中央制御装置が自らを前記省電力状態に遷移させる際に、前記予め設定された時間間隔毎または前記予め設定された日時毎の時点にて生成する割り込み要求信号を、前記読出専用記憶装置に記憶されたテーブルの番地を指定する割り込みコードで構成することが指示され、かつ、当該予め設定された時間間隔毎または当該予め設定された日時毎の時点以外の期間にて生成する割り込み要求信号を、前記主記憶装置に記憶されたテーブルの番地を指定する割り込みコードで構成することが指示されることを特徴とする請求項7記載の制御装置。   The activation means generates an interrupt request signal that is generated at each preset time interval or every preset date and time when the central control device transitions itself to the power saving state. It is instructed to be configured with an interrupt code that specifies the address of the table stored in the read-only storage device, and is generated at a time other than the time at the preset time interval or at the preset date and time. 8. The control device according to claim 7, wherein an instruction to make an interrupt request signal to be configured with an interrupt code designating an address of a table stored in the main storage device is instructed. 前記起動手段は、前記中央制御装置を前記読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に前記主記憶装置内に記憶されたオペレーティングシステムのカーネル部に対する初期設定処理を実行させることを特徴とする請求項7記載の制御装置。   The starting means restarts the central control device using a program stored in the read-only storage device, and initializes the kernel unit of the operating system stored in the main storage device in the central control device. The control apparatus according to claim 7, wherein the process is executed. 前記中央制御装置は、前記主記憶装置内の記憶内容に対する初期設定処理を実行するに際し、当該主記憶装置内のオペレーティングシステム以外の記憶内容を不揮発性記憶手段に複写することを特徴とする請求項7記載の制御装置。   The central control device, when executing an initial setting process for storage contents in the main storage device, copies storage contents other than the operating system in the main storage device to a nonvolatile storage means. 8. The control device according to 7. コンピュータに、
中央制御装置の動作状態を稼動状態と当該稼動状態よりも消費電力が低い省電力状態とに遷移させる機能と、
予め設定された時間間隔毎または予め設定された日時毎の時点を計測する機能と、
前記中央制御装置が前記省電力状態に遷移させた動作状態にて前記予め設定された時間間隔毎または前記予め設定された日時毎の時点が計測されたことを認識することにより、前記中央制御装置を読出専用記憶装置に記憶されたプログラムを用いて再起動させて、当該中央制御装置に主記憶装置内の記憶内容に対する初期設定処理を実行させる機能と、
前記予め設定された時間間隔毎または前記予め設定された日時毎の時点以外の期間にて前記中央制御装置を前記省電力状態から復帰させるに際して、当該中央制御装置を前記主記憶装置に記憶されたプログラムを用いて動作させる機能と
を実現させることを特徴とするプログラム。
On the computer,
A function of transitioning the operation state of the central control device between an operation state and a power saving state in which power consumption is lower than the operation state;
A function for measuring a time point for each preset time interval or for each preset date and time;
By recognizing that the time point for each of the preset time intervals or the preset date and time is measured in the operation state in which the central control device is shifted to the power saving state, the central control device A function for causing the central control unit to execute an initial setting process for the stored contents in the main storage device, and restarting the program using a program stored in the read-only storage device;
When the central control device is returned from the power saving state at a time period other than the preset time interval or the preset date and time, the central control device is stored in the main storage device. A program characterized by realizing a function to be operated using the program.
JP2009241595A 2009-10-20 2009-10-20 Image forming apparatus, control device, and program Pending JP2011088292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009241595A JP2011088292A (en) 2009-10-20 2009-10-20 Image forming apparatus, control device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009241595A JP2011088292A (en) 2009-10-20 2009-10-20 Image forming apparatus, control device, and program

Publications (1)

Publication Number Publication Date
JP2011088292A true JP2011088292A (en) 2011-05-06

Family

ID=44107013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009241595A Pending JP2011088292A (en) 2009-10-20 2009-10-20 Image forming apparatus, control device, and program

Country Status (1)

Country Link
JP (1) JP2011088292A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016199050A (en) * 2016-08-24 2016-12-01 キヤノン株式会社 Image formation apparatus and return method of image formation apparatus
US11150584B2 (en) 2018-09-25 2021-10-19 Fujifilm Business Innovation Corp. Image forming apparatus and board

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06187140A (en) * 1992-12-16 1994-07-08 Oki Electric Ind Co Ltd Processor
JP2000089859A (en) * 1998-09-09 2000-03-31 Sharp Corp Storage means initialization device
JP2005063422A (en) * 2003-07-29 2005-03-10 Ricoh Co Ltd Image forming device, information processing method, information processing program and recording medium
JP2006229509A (en) * 2005-02-17 2006-08-31 Fuji Xerox Co Ltd Information equipment and device restarting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06187140A (en) * 1992-12-16 1994-07-08 Oki Electric Ind Co Ltd Processor
JP2000089859A (en) * 1998-09-09 2000-03-31 Sharp Corp Storage means initialization device
JP2005063422A (en) * 2003-07-29 2005-03-10 Ricoh Co Ltd Image forming device, information processing method, information processing program and recording medium
JP2006229509A (en) * 2005-02-17 2006-08-31 Fuji Xerox Co Ltd Information equipment and device restarting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016199050A (en) * 2016-08-24 2016-12-01 キヤノン株式会社 Image formation apparatus and return method of image formation apparatus
US11150584B2 (en) 2018-09-25 2021-10-19 Fujifilm Business Innovation Corp. Image forming apparatus and board

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
JP5289153B2 (en) Information processing apparatus, control method therefor, and computer program
KR101235854B1 (en) Image forming apparatus, System on Chip unit and driving method thereof
US9513853B2 (en) Data processing apparatus capable of controlling power supply, control method therefor, and storage medium
JP5885390B2 (en) Image forming apparatus, image forming apparatus control method and program
JP5793011B2 (en) Printing apparatus, control method thereof, program, and storage medium
JP2008087353A (en) Electronic device with power saving function
EP2528314B1 (en) Information processing apparatus and method of controlling launch thereof
JP4333717B2 (en) Image forming apparatus
JP5477773B2 (en) Image forming apparatus
JP2012155534A (en) Electronic device, and method and program of the same
JP2013126717A (en) Image forming apparatus and image forming method
JP2013092940A (en) Electronic apparatus and power control method for the same
JP2013041458A (en) Data processing apparatus and control method therefor
JP6849484B2 (en) Information processing device, control method of information processing device, and program
JP6157282B2 (en) Image processing apparatus, information processing method, and program
JP2014032583A (en) Image processing apparatus, and control method and program of image processing apparatus
JP2018078485A (en) Information processing apparatus and starting method of information processing apparatus
JP5701043B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP5959841B2 (en) Image processing apparatus, control method therefor, and program
JP2011088292A (en) Image forming apparatus, control device, and program
JP2006095741A (en) Information processing equipment
JP4870098B2 (en) Electronic device and control method of electronic device
JP6459543B2 (en) Image forming apparatus, job processing control method, and job processing control program
JP2007149001A (en) Controller and power control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120918

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130709

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130909

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131029