JP6503784B2 - INFORMATION PROCESSING APPARATUS AND CONTROL METHOD OF INFORMATION PROCESSING APPARATUS - Google Patents

INFORMATION PROCESSING APPARATUS AND CONTROL METHOD OF INFORMATION PROCESSING APPARATUS Download PDF

Info

Publication number
JP6503784B2
JP6503784B2 JP2015035701A JP2015035701A JP6503784B2 JP 6503784 B2 JP6503784 B2 JP 6503784B2 JP 2015035701 A JP2015035701 A JP 2015035701A JP 2015035701 A JP2015035701 A JP 2015035701A JP 6503784 B2 JP6503784 B2 JP 6503784B2
Authority
JP
Japan
Prior art keywords
program
sub cpu
main cpu
cpu
storage unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2015035701A
Other languages
Japanese (ja)
Other versions
JP2016157332A (en
Inventor
熊倉 俊一
俊一 熊倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2015035701A priority Critical patent/JP6503784B2/en
Publication of JP2016157332A publication Critical patent/JP2016157332A/en
Application granted granted Critical
Publication of JP6503784B2 publication Critical patent/JP6503784B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、情報処理装置、情報処理装置の制御方法に関する。   The present invention relates to an information processing apparatus and a control method of the information processing apparatus.

2つのCPU(Central Processing Unit)を用いた情報処理装置がある。   There is an information processing apparatus using two CPUs (Central Processing Units).

このような情報処理装置の構成は、コピーやファクシミリ、プリンターなどの機能をもつ情報処理装置にも適用可能である。たとえば特許文献1に開示された技術では、メインCPUがもつ増設RAM用のスロットインターフェースに機能拡張ボードが挿抜できるようになっている。スロットインターフェースには機能拡張ボードとしてメモリーをもつサブCPUやメモリーのみのボードが接続されることになっている。そしてスロットインターフェースにメモリーをもつサブCPU接続された場合は、サブCPU側のメモリーをメインCPU側からアクセスして、メインCPUからサブCPUに動作させるプログラムを書き込み、サブCPUをメインCPUによって書き込まれたプログラムにより動作させている。   Such a configuration of the information processing apparatus is also applicable to an information processing apparatus having functions such as copying, facsimile, and printer. For example, in the technology disclosed in Patent Document 1, a function expansion board can be inserted into and removed from a slot interface for an additional RAM possessed by the main CPU. The slot interface is to be connected with a sub CPU having memory as a function expansion board or a board with only memory. When the sub CPU having a memory in the slot interface is connected, the memory on the sub CPU side is accessed from the main CPU side, a program for operating the sub CPU from the main CPU is written, and the sub CPU is written by the main CPU It is operated by the program.

特開2008−59522号公報JP 2008-59522 A

従来の技術は、サブCPUで動作させるプログラムをメインCPUから書き換えるにあたり、スロットインターフェースにメモリーをもつサブCPUが接続された場合、つまりハードウェア構成に変化が生じた場合に、サブCPUが実行するプログラムを書き換えているのである。したがって、従来の技術ではハードウェア構成の変更がなければ、サブCPUが実行するプログラムの書き換えは行われないことになる。このため従来の技術は、ハードウェアの変更を伴わない場合は、サブCPUが実行するプログラムを書き換えることに対応していないという問題があった。   In the prior art, when rewriting a program operated on a sub CPU from the main CPU, the program executed by the sub CPU when the sub CPU having a memory is connected to the slot interface, that is, when the hardware configuration changes Is being rewritten. Therefore, in the prior art, the rewriting of the program executed by the sub CPU is not performed unless the hardware configuration is changed. Therefore, the prior art has a problem that it does not cope with rewriting the program executed by the sub CPU when the hardware is not changed.

そこで、本発明の目的は、ハードウェア構成の変更とは無関係にサブCPUが実行するプログラムをメインCPUから書き換えて、メインCPUの動作をサブCPUで補完させることのできる情報処理装置を提供することである。また本発明の他の目的は、ハードウェア構成の変更とは無関係にサブCPUが実行するプログラムをメインCPUから書き換えて、メインCPUの動作をサブCPUで補完させることのできる情報処理装置の制御方法を提供することである。   Therefore, an object of the present invention is to provide an information processing apparatus capable of complementing the operation of the main CPU by the sub CPU by rewriting the program executed by the sub CPU from the main CPU regardless of the change of the hardware configuration. It is. Another object of the present invention is to control the information processing apparatus capable of complementing the operation of the main CPU by the sub CPU by rewriting the program executed by the sub CPU from the main CPU regardless of the change of the hardware configuration. To provide.

本発明の上記目的は、下記の手段によって達成される。   The above object of the present invention is achieved by the following means.

個別に動作可能なメインCPUおよびサブCPUと、
前記サブCPUが実行するサブCPU用プログラムを記憶するサブCPU用記憶部と、
前記サブCPUに実行させる複数のサブCPU用プログラムを記憶したサブCPU用プログラム記憶部と、を有し、
前記サブCPU用プログラム記憶部には前記サブCPU用プログラムとして、前記メインCPUへの電力供給を停止している省エネルギーモード中に実行するプログラムと、前記メインCPUが起動中に実行するプログラムとが記憶されており、
前記メインCPUは、
前記メインCPUの状態として前記省エネルギーモードに移行する状態になったとき、前記サブCPU用プログラムとして前記メインCPUが省エネルギーモード中に実行するプログラムに書き換え、
前記メインCPUの状態として前記省エネルギーモードから復帰した状態になったとき、前記サブCPU用プログラムとして前記メインCPUが起動中に実行するプログラムに書き換えること特徴とする情報処理装置。
( 1 ) Main CPU and sub CPU that can operate individually
A sub CPU storage unit storing a sub CPU program executed by the sub CPU;
A sub CPU program storage unit storing a plurality of sub CPU programs to be executed by the sub CPU;
The sub CPU program storage unit stores, as the sub CPU program, a program to be executed during an energy saving mode in which power supply to the main CPU is stopped and a program to be executed during startup of the main CPU. Has been
The main CPU is
When the state to shift to the energy saving mode is entered as the state of the main CPU, the program is rewritten as a program to be executed by the main CPU in the energy saving mode as the sub CPU program,
Wherein when in a state of returning from the energy saving mode as the state of the main CPU, information processor you wherein rewriting the program in which the main CPU executes during startup as a program for the sub-CPU.

)前記メインCPUが前記省エネルギーモード中に前記サブCPUに実行させるプログラムは、少なくとも前記メインCPUを復帰させるプログラムとともに、ファクシミリを受信しない受信拒否プログラム、ファクシミリの受信監視プログラムのいずれかを含むものであり、
前記メインCPUが起動中に実行するプログラムは、受信したファクシミリデータの復号化処理プログラム、送信するファクシミリデータの符号化処理プログラム、ファクシミリデータの画像縮小プログラムのうち少なくともいずれか一つであること特徴とする上記()に記載の情報処理装置。
( 2 ) The program to be executed by the sub CPU during the energy saving mode by the main CPU includes at least a program for recovering the main CPU, and any one of a reception refusal program not receiving a facsimile and a reception monitoring program for a facsimile. And
The program executed while the main CPU is activated is at least one of a decryption processing program of received facsimile data, an encoding processing program of facsimile data to be transmitted, and an image reduction program of facsimile data. The information processing apparatus according to ( 1 ) above.

)前記メインCPUは、前記メインCPUが前記省エネルギーモード中に前記サブCPUに実行させるプログラムとともに、前記サブCPUが使用する付随情報も前記サブCPU用記憶部に記憶させること特徴とする請求項()または()に記載の情報処理装置。 ( 3 ) The main CPU causes the sub CPU storage unit to store additional information used by the sub CPU as well as a program that the main CPU causes the sub CPU to execute during the energy saving mode. The information processing apparatus according to ( 1 ) or ( 2 ).

)前記メインCPUが、前記サブCPU用記憶部を書き換えて記憶させた前記サブCPU用プログラムがなんであるかを記憶する書き換え済みプログラム記憶部を有し、
前記サブCPU用記憶部に記憶されている前記サブCPU用プログラムを書き換える際に、前記メインCPUは、これから書き換えるプログラムと前記書き換え済みプログラム記憶部に記憶されているプログラムが同じ場合には、書き換えを行わないこと特徴とする上記(1)〜()のいずれか一つに記載の情報処理装置。
(5)個別に動作可能なメインCPUおよびサブCPUと、
前記サブCPUが実行するサブCPU用プログラムを記憶するサブCPU用記憶部と、
前記サブCPUに実行させる複数のサブCPU用プログラムを記憶したサブCPU用プログラム記憶部と、を有し、
前記メインCPUは、前記メインCPUの状態が変化したとき、または設定変更が行われたときに、前記サブCPU用プログラム記憶部の中から状態や設定内容に応じて前記サブCPU用プログラムを選択して、前記サブCPU用記憶部に記憶されている前記サブCPU用プログラムを書き換えるものであり、
前記メインCPUが、前記サブCPU用記憶部を書き換えて記憶させた前記サブCPU用プログラムがなんであるかを記憶する書き換え済みプログラム記憶部を有し、
前記サブCPU用記憶部に記憶されている前記サブCPU用プログラムを書き換える際に、前記メインCPUは、これから書き換えるプログラムと前記書き換え済みプログラム記憶部に記憶されているプログラムが同じ場合には、書き換えを行わないこと特徴とする情報処理装置。
( 4 ) The main CPU has a rewritten program storage unit that stores the sub CPU program stored by rewriting the sub CPU storage unit.
When the sub CPU program stored in the sub CPU storage unit is rewritten, the main CPU rewrites the program when the program to be rewritten from now and the program stored in the rewritten program storage unit are the same. The information processing apparatus according to any one of the above (1) to ( 3 ), which is not performed.
(5) A main CPU and a sub CPU that can operate individually
A sub CPU storage unit storing a sub CPU program executed by the sub CPU;
A sub CPU program storage unit storing a plurality of sub CPU programs to be executed by the sub CPU;
The main CPU selects the sub CPU program from the sub CPU program storage unit according to the state and setting contents when the state of the main CPU changes or when the setting is changed. And rewriting the sub CPU program stored in the sub CPU storage unit,
The main CPU has a rewritten program storage unit that stores the sub CPU program stored by rewriting and storing the sub CPU storage unit,
When the sub CPU program stored in the sub CPU storage unit is rewritten, the main CPU rewrites the program when the program to be rewritten from now and the program stored in the rewritten program storage unit are the same. An information processing apparatus characterized by not performing.

(6)前記情報処理装置はネットワークによって外部装置と接続されており、前記サブCPU用プログラム記憶部に記憶される前記サブCPU用プログラムは、前記外部装置から記憶させることを特徴とする上記(1)〜(5)のいずれか一つに記載の情報処理装置。   (6) The information processing apparatus is connected to an external device by a network, and the sub CPU program stored in the sub CPU program storage unit is stored from the external device. The information processing apparatus according to any one of (1) to (5).

個別に動作可能なメインCPUおよびサブCPUと、
前記サブCPUが実行するサブCPU用プログラムを記憶するサブCPU用記憶部と、
前記サブCPUに実行させる複数のサブCPU用プログラムを記憶したサブCPU用プログラム記憶部と、を有する情報処理装置の制御方法であって、
前記サブCPU用プログラム記憶部には前記サブCPU用プログラムとして、前記メインCPUへの電力供給を停止している省エネルギーモード中に実行するプログラムと、前記メインCPUが起動中に実行するプログラムとが記憶されており、
前記メインCPUの状態として前記省エネルギーモードに移行する状態になったとき、前記サブCPU用プログラムとして前記メインCPUが省エネルギーモード中に実行するプログラムに書き換え、
前記メインCPUの状態として前記省エネルギーモードから復帰した状態になったとき、前記サブCPU用プログラムとして前記メインCPUが起動中に実行するプログラムに書き換えること特徴とする情報処理装置の制御方法。
( 7 ) The main CPU and sub CPU that can operate individually
A sub CPU storage unit storing a sub CPU program executed by the sub CPU;
A control method of an information processing apparatus, comprising: a sub CPU program storage unit storing a plurality of sub CPU programs to be executed by the sub CPU.
The sub CPU program storage unit stores, as the sub CPU program, a program to be executed during an energy saving mode in which power supply to the main CPU is stopped and a program to be executed during startup of the main CPU. Has been
When the state to shift to the energy saving mode is entered as the state of the main CPU, the program is rewritten as a program executed by the main CPU during the energy saving mode as the sub CPU program,
Wherein when in a state of returning from the energy saving mode as the state of the main CPU, the control method of the information processing apparatus you wherein rewriting the program in which the main CPU executes during startup as a program for the sub-CPU.

)前記メインCPUが前記省エネルギーモード中に前記サブCPUに実行させるプログラムは、少なくとも前記メインCPUを復帰させるプログラムとともに、ファクシミリを受信しない受信拒否プログラム、ファクシミリの受信監視プログラムのいずれかを含むものであり、
前記メインCPUが起動中に実行するプログラムは、受信したファクシミリデータの復号化処理プログラム、送信するファクシミリデータの符号化処理プログラム、ファクシミリデータの画像縮小プログラムのうち少なくともいずれか一つであること特徴とする上記()に記載の情報処理装置の制御方法。
( 8 ) The program to be executed by the sub CPU while the energy saving mode by the main CPU includes at least a program for returning the main CPU, and any of a reception refusal program not receiving a facsimile and a reception monitoring program for facsimile And
The program executed while the main CPU is activated is at least one of a decryption processing program of received facsimile data, an encoding processing program of facsimile data to be transmitted, and an image reduction program of facsimile data. The control method of the information processing apparatus as described in said ( 7 ).

)前記メインCPUが前記省エネルギーモード中に前記サブCPUに実行させるプログラムとともに、前記サブCPUが使用する付随情報も前記サブCPU用記憶部に記憶させること特徴とする上記()または()に記載の情報処理装置の制御方法。 (9) the main CPU with programs to be executed by the sub CPU in the energy-saving mode, the (7) also accompanying information the sub CPU is used and wherein it is stored in the storage unit for the sub-CPU or (8 The control method of the information processing apparatus as described in 4.).

10)前記サブCPU用記憶部を書き換えて記憶させた書き換え済みの前記サブCPU用プログラムがなんであるかを記憶しておいて、
これから書き換えるプログラムと前記記憶した書き換え済みプログラムが同じ場合には、書き換えを行わないこと特徴とする上記(7)〜()のいずれか一つに記載の情報処理装置の制御方法。
(11)個別に動作可能なメインCPUおよびサブCPUと、
前記サブCPUが実行するサブCPU用プログラムを記憶するサブCPU用記憶部と、
前記サブCPUに実行させる複数のサブCPU用プログラムを記憶したサブCPU用プログラム記憶部と、を有する情報処理装置の制御方法であって、
前記メインCPUの状態が変化したとき、または設定変更が行われたときに、前記サブCPU用プログラム記憶部の中から状態や設定内容に応じて前記サブCPU用プログラムを選択して、前記サブCPU用記憶部に記憶されている前記サブCPU用プログラムを書き換え、
前記サブCPU用記憶部を書き換えて記憶させた書き換え済みの前記サブCPU用プログラムがなんであるかを記憶しておいて、
これから書き換えるプログラムと前記記憶した書き換え済みプログラムが同じ場合には、書き換えを行わないこと特徴とする情報処理装置の制御方法。
( 10 ) It is stored what is the rewritten sub CPU program which has been rewritten and stored the sub CPU storage unit,
The control method of the information processing apparatus according to any one of the above (7) to ( 9 ), wherein rewriting is not performed when the program to be rewritten from now on and the stored rewritten program are the same.
(11) A main CPU and a sub CPU that can operate individually,
A sub CPU storage unit storing a sub CPU program executed by the sub CPU;
A control method of an information processing apparatus, comprising: a sub CPU program storage unit storing a plurality of sub CPU programs to be executed by the sub CPU.
When the state of the main CPU changes or when the setting is changed, the sub CPU program is selected from the sub CPU program storage unit according to the state and the setting content, and the sub CPU is selected. Rewriting the sub CPU program stored in the storage unit;
It is stored what is the rewritten sub CPU program which has been rewritten and stored the sub CPU storage unit,
A control method of an information processing apparatus characterized in that rewriting is not performed when a program to be rewritten from now on and the stored rewritten program are the same.

(12)前記情報処理装置はネットワークによって外部装置と接続されており、前記サブCPU用プログラム記憶部に記憶される前記サブCPU用プログラムは、前記外部装置から記憶させることを特徴とする上記(7)〜(11)のいずれか一つに記載の情報処理装置の制御方法。   (12) The information processing apparatus is connected to an external apparatus by a network, and the sub CPU program stored in the sub CPU program storage unit is stored from the external apparatus. The control method of the information processing apparatus according to any one of (11) to (11).

本発明によれば、サブCPUに実行させるプログラムを、装置内に複数記憶しておき、動作状態の変化や設定変更などが起きたことを起因として、それら動作状態や設定変更サブCPUのプログラムを書き換えることとした。このためハードウェア資源の変更とは無関係に、サブCPUの処理能力を有効活用できるようになり、メインCPUの動作をその時の動作状態や設定に応じて補完させることができる。   According to the present invention, a plurality of programs to be executed by the sub CPU are stored in the apparatus, and the programs of the operation changing state and the setting changing sub CPU are caused due to the occurrence of the change of the operation state or the setting change. I decided to rewrite it. Therefore, regardless of the change of the hardware resource, the processing capacity of the sub CPU can be effectively used, and the operation of the main CPU can be complemented according to the operation state and setting at that time.

実施形態におけるMFPの構成を説明するためのブロック図である。FIG. 2 is a block diagram for describing a configuration of an MFP in the embodiment. 動作例1を説明するための説明図である。FIG. 7 is an explanatory diagram for describing an operation example 1; 図2に続く動作例1を説明するための説明図である。FIG. 5 is an explanatory diagram for describing an operation example 1 following FIG. 2; 図3に続く動作例1を説明するための説明図である。FIG. 5 is an explanatory diagram for describing an operation example 1 following FIG. 3; 図4に続く動作例1を説明するための説明図である。FIG. 5 is an explanatory diagram for describing an operation example 1 following FIG. 4; 動作例2を説明するための説明図である。FIG. 10 is an explanatory diagram for describing an operation example 2; 図6に続く動作例2を説明するための説明図である。FIG. 7 is an explanatory diagram for describing an operation example 2 following FIG. 6; 図7に続く動作例2を説明するための説明図である。FIG. 8 is an explanatory diagram for describing an operation example 2 following FIG. 7; 図8に続く動作例2を説明するための説明図である。FIG. 9 is an explanatory diagram for describing an operation example 2 following FIG. 8; メインCPUが実行するプログラム書き換え処理全体の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the whole program rewriting process which main CPU performs. サブCPU用プログラムを送信する処理手順を示すサブルーチンフローチャートである。It is a subroutine flow chart which shows the processing procedure which transmits the program for sub CPUs. サブCPUが実行する復号化の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of the decoding which sub CPU performs. サブCPUが実行する符号化の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the encoding which sub CPU performs. サブCPUが実行する画像縮小の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the image reduction which a sub CPU performs. サブCPUが実行する回線電圧モニターの処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of the line voltage monitor which sub CPU performs. サブCPUが実行する通信時間測定の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the communication time measurement which sub CPU performs. サブCPUが実行するメインCPU監視の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of main CPU monitoring which sub CPU performs. サブCPUが実行するリング検知+電源制御の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of ring detection + power supply control which sub CPU performs. サブCPUが実行する1300Hzトーン検知+電源制御の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of 1300 Hz tone detection + power supply control which sub CPU performs. サブCPUが実行するV.23検知+電源制御の処理手順を示すフローチャートである。Sub CPU executes V. 23 is a flowchart illustrating a processing procedure of detection + power control.

以下、図面を参照して本発明の実施形態を説明する。なお、図面において同一の機能を有する要素には同一の符号を付し、重複する説明を省略する。また、図面はあくまでも本発明の実施形態を説明するためのものであるので、各部材の寸法や比率は説明の都合上誇張または簡略化しており、実際の寸法や比率とは異なる。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, elements having the same function are denoted by the same reference numerals, and redundant description will be omitted. Further, since the drawings are for describing the embodiments of the present invention to the last, the dimensions and ratios of each member are exaggerated or simplified for the convenience of the description, and are different from the actual dimensions and ratios.

本発明を適用した実施形態の情報処理装置として、プリンター、コピー、スキャナー、ファクシミリなどの機能を備えたMFP(multifunction peripheral、多機能周辺装置)を例に説明する。MFPは複合機などと称されることもある。   As an information processing apparatus according to an embodiment to which the present invention is applied, an MFP (multifunction peripheral) having functions such as a printer, a copier, a scanner, and a facsimile will be described as an example. The MFP may be referred to as a multifunction peripheral or the like.

図1は、実施形態におけるMFPの構成を説明するためのブロック図である。   FIG. 1 is a block diagram for explaining the configuration of the MFP in the embodiment.

MFP10は、メインCPU100とサブCPU200を備えたマルチプロセッサ構成である。メインCPU100には、メインCPU100が専用に利用するRAM(Random Access Memory)121が接続されている。同様にサブCPU200にもサブCPU200が専用に利用するRAM221が接続されている。   The MFP 10 has a multiprocessor configuration including a main CPU 100 and a sub CPU 200. Connected to the main CPU 100 is a RAM (Random Access Memory) 121 exclusively used by the main CPU 100. Similarly, the sub CPU 200 is also connected to a RAM 221 exclusively used by the sub CPU 200.

メインCPU100は、MFP10全体の制御や、各プリンター、コピー、スキャナー、ファクシミリなどの機能が選択された際にそれら各機能を実行するための制御を行う。   The main CPU 100 performs control of the entire MFP 10 and control for executing each function when each function such as each printer, copy, scanner, or facsimile is selected.

メインCPU100はメインCPU用バス150を介して、表示部112、操作部113、画像処理部114、通信制御部115、モデム116とNCU(Network Control Unit)117、読取部118、プリントエンジン119、メインCPU用ROM(Read Only Memory)120、メインCPU用RAM121、不揮発性メモリー122、電源制御部123、およびネットワーク通信部124と接続されている。また、メインCPU用バス150には、サブCPU200と通信するためのサブCPU通信部130が接続されている。   The main CPU 100 has a display unit 112, an operation unit 113, an image processing unit 114, a communication control unit 115, a modem 116 and an NCU (Network Control Unit) 117, a reading unit 118, a print engine 119, and a main via the main CPU bus 150. It is connected to a CPU ROM (Read Only Memory) 120, a main CPU RAM 121, a non-volatile memory 122, a power control unit 123, and a network communication unit 124. Further, a sub CPU communication unit 130 for communicating with the sub CPU 200 is connected to the main CPU bus 150.

表示部112は、たとえば液晶ディスプレイ、有機EL(electroluminescence)ディスプレイなどのディスプレイパネルを備える。ディスプレイパネルには操作画面、設定画面、編集画面などの各種画面が表示される。   The display unit 112 includes a display panel such as a liquid crystal display or an organic EL (electroluminescence) display. The display panel displays various screens such as an operation screen, a setting screen, and an editing screen.

操作部113は、たとえばコピー、スキャナー、ファクシミリの各機能を選択するためのボタンやキー、数値を入力するためのテンキー、スタートキー、ストップキーなどを備える。また表示部112と操作部113は、それらが一つになったタッチパネルであってもよい。   The operation unit 113 includes, for example, buttons and keys for selecting the copy, scanner, and facsimile functions, a numeric keypad for inputting numerical values, a start key, a stop key, and the like. Further, the display unit 112 and the operation unit 113 may be a touch panel in which they are integrated.

画像処理部114は、画像データの補正、回転、拡大、縮小などの画像処理を行う。また、外部装置300から受信した画像データのラスタライズも行う。またファクシミリの画像データに対しては、画像データの圧縮(符号化)、伸張(復号化)などの処理を行う。ここで外部装置300は、たとえばパソコン(PC)やサーバー、携帯情報端末などである(携帯情報端末はたとえば携帯電話、スマートフォン、タブレットなどである)。   The image processing unit 114 performs image processing such as correction, rotation, enlargement, and reduction of image data. In addition, rasterization of image data received from the external device 300 is also performed. The image data of the facsimile is subjected to processing such as compression (encoding) and decompression (decoding) of the image data. Here, the external device 300 is, for example, a personal computer (PC), a server, a portable information terminal, etc. (The portable information terminal is, for example, a mobile phone, a smartphone, a tablet, etc.).

通信制御部115は、ファクシミリ通信に係るプロトコル制御などを行う。このため通信制御部115は、モデム116を介してのデータの送受信の制御を行っている。   The communication control unit 115 performs protocol control and the like related to facsimile communication. Therefore, the communication control unit 115 controls transmission and reception of data via the modem 116.

モデム116は、デジタル信号をアナログ信号で伝送するための変調やその復調を行う。モデム116は、ソフトウェアモデムとしてモデムの機能を実施するためのプログラムをメインCPU100が実行することとしてもよい。NCU117は、電話回線と接続されて、発呼や着呼に関する制御や検出を行う。NCU117はモデム116によって制御される。ここでは主にファクシミリの際の発呼や着呼に使用される。   The modem 116 modulates and demodulates digital signals for transmission as analog signals. The modem 116 may cause the main CPU 100 to execute a program for implementing the function of the modem as a software modem. The NCU 117 is connected to a telephone line to control and detect a call or call. The NCU 117 is controlled by the modem 116. Here, it is mainly used for making and receiving a call at the time of facsimile.

読取部118は、原稿画像を光学的に読み取って画像データを取得する、いわゆるスキャナーである。   The reading unit 118 is a so-called scanner that optically reads an original image and acquires image data.

プリントエンジン119は、画像データに基づく画像を、周知の電子写真プロセスによって記録紙上に形成する、いわゆる印刷を行う。プリントエンジンは、インクジェット方式であってもよい。   The print engine 119 performs so-called printing in which an image based on image data is formed on a recording sheet by a known electrophotographic process. The print engine may be an inkjet type.

メインCPU用ROM120は、メインCPU専用のROMであり、このMFP10における基本動作を担うための各種プログラムや固定データが格納されている。メインCPU100はこれらのプログラムに従って各種の処理を実行する。   The main CPU ROM 120 is a ROM dedicated to the main CPU, and stores various programs and fixed data for carrying out basic operations in the MFP 10. The main CPU 100 executes various processes in accordance with these programs.

メインCPU用RAM121は、メインCPU専用のRAMであり、メインCPU100がプログラムを実行する際にワークエリアとなる。また画像データを一時的に記憶する。このためメインCPU用RAM121は、コピー時に読取部118で読み取った画像データ、外部装置300から受信したジョブの画像データ、ファクシミリ受信した画像データなどを一時記憶する際に使用される。   The main CPU RAM 121 is a RAM dedicated to the main CPU, and serves as a work area when the main CPU 100 executes a program. It also temporarily stores image data. Therefore, the main CPU RAM 121 is used when temporarily storing image data read by the reading unit 118 at the time of copying, image data of a job received from the external apparatus 300, image data received by facsimile, and the like.

不揮発性メモリー122は、読取部118で読み取られた原稿の画像データ、外部装置300から受信したジョブの画像データや、ファクシミリ受信した画像データなどを記憶する。また、メインCPU100が実行するアプリケーションプログラム(メインCPU用ROMに記憶されているプログラム以外のプログラム)も記憶している。   The non-volatile memory 122 stores image data of a document read by the reading unit 118, image data of a job received from the external apparatus 300, image data received by facsimile, and the like. Further, application programs (programs other than the programs stored in the main CPU ROM) executed by the main CPU 100 are also stored.

そして不揮発性メモリー122は、サブCPU200に実行させるためのプログラムも記憶している。このため不揮発性メモリー122は、サブCPU200が実行するプログラムを記憶するサブCPU用プログラム記憶部となる。不揮発性メモリー122は、たとえばHDD(Hard disk drive)、フラッシュメモリーを利用したSSD(solid state drive)などが用いられる。   The non-volatile memory 122 also stores a program to be executed by the sub CPU 200. Therefore, the non-volatile memory 122 is a sub CPU program storage unit that stores a program executed by the sub CPU 200. As the non-volatile memory 122, for example, a hard disk drive (HDD), a solid state drive (SSD) using flash memory, or the like is used.

また不揮発性メモリー122は、たとえば、コピー時の画像データの記憶や、外部装置からの印刷ジョブ(およびジョブに含まれる画像データ)の記憶などに使用される。   The non-volatile memory 122 is used, for example, for storing image data at the time of copying, and storing a print job (and image data included in the job) from an external apparatus.

なお、ここで出力とは、通信制御部115とモデム116およびNCU117を介したファクシミリ出力、プリントエンジン119による印刷出力のことである。   Here, output means facsimile output via the communication control unit 115, the modem 116 and the NCU 117, and print output by the print engine 119.

電源制御部123は、メインCPU100およびサブCPU200からの指令によって、各部への電力供給を制御している。電源制御としては、たとえば、通常モードと省エネネルギーモード(以下省エネモードという)がある(スリープモードとも称されている)。通常モードは各部への通電が行われ、各機能が即時実行可能な状態である。省エネモードにおいては、メインCPU100およびバス150によって接続さている各部のうち、ユーザー操作の開始(操作部113からの入力)を検知する部分や、着呼(電話回線の電圧変動)を検知する部分、また外部装置300からのジョブの入力を検知する部分など以外への電力供給を停止する。具体的には、本実施形態では省エネモードに入ると、入力検知や、着呼検知をサブCPU200によって行わせる(詳細後述)。このためメインCPU100およびバス150によって接続さている、操作部113とNCU117以外の各部への電力供給は停止することになる。なお、サブCPU200については、省エネモードに入っても電源制御部123からの電力供給が停止されることはない。   The power control unit 123 controls power supply to each unit according to an instruction from the main CPU 100 and the sub CPU 200. As power control, there are, for example, a normal mode and an energy saving energy mode (hereinafter referred to as energy saving mode) (also referred to as a sleep mode). In the normal mode, power is supplied to each part, and each function can be immediately executed. In the energy saving mode, among the units connected by the main CPU 100 and the bus 150, a portion detecting the start of user operation (input from the operation unit 113), a portion detecting an incoming call (voltage fluctuation of the telephone line), Further, the power supply to parts other than the part that detects the input of the job from the external device 300 is stopped. Specifically, in the present embodiment, when the energy saving mode is entered, input detection and incoming call detection are performed by the sub CPU 200 (described in detail later). Therefore, the power supply to each unit other than the operation unit 113 and the NCU 117 connected by the main CPU 100 and the bus 150 is stopped. The sub CPU 200 does not stop the power supply from the power control unit 123 even when entering the energy saving mode.

MFP10は、通常、電源が投入されると、通常モードとなる。一方、一定時間無操作および無着信であれば、消費電力を抑えるため省エネモードとなる。このような制御をメインCPU100およびサブCPU200のいずれかが処理して電源制御部123へ指令し、電源制御部123が指令に従って、各部への通電を切り換えている。   The MFP 10 normally enters the normal mode when the power is turned on. On the other hand, if there is no operation for a certain period of time and no incoming call, the energy saving mode is set to reduce power consumption. One of the main CPU 100 and the sub CPU 200 processes such control and instructs the power control unit 123, and the power control unit 123 switches the energization of each unit according to the command.

ネットワーク通信部124は、LAN(Local Area Network)などのネットワーク301を通じて外部装置300(たとえばパソコンやサーバー、また携帯端末など)と接続されている。そして外部装置300との間で画像データやそのほか様々なデータのやり取りが行われる。また外部装置300は、たとえば無線通信機能(たとえば無線LAN(WiFi(Wireless Fidelity))、近距離無線通信(たとえばBluetooth(登録商標))など)を備え、外部装置300として無線通信を利用した携帯情報端末と画像データなどの送受信が行えるようにしておいてもよい。   The network communication unit 124 is connected to an external device 300 (for example, a personal computer, a server, a portable terminal, or the like) through a network 301 such as a LAN (Local Area Network). Then, image data and various other data are exchanged with the external device 300. Also, the external device 300 has, for example, a wireless communication function (for example, wireless LAN (WiFi (Wireless Fidelity)), short distance wireless communication (for example, Bluetooth (registered trademark)), etc.), and portable information using wireless communication as the external device 300. It may be possible to transmit and receive image data and the like with the terminal.

サブCPU通信部130は、サブCPU200との間で様々なデータのやり取りを行うための通信制御を行う。たとえばRS232Cのような通信規格を使用してメインCPU100とサブCPU200との接続を行っている。本実施形態では、特にサブCPU200が使用するプログラムを書き換える際の通信に使用する。   The sub CPU communication unit 130 performs communication control for exchanging various data with the sub CPU 200. For example, the main CPU 100 and the sub CPU 200 are connected using a communication standard such as RS232C. In the present embodiment, in particular, it is used for communication when the program used by the sub CPU 200 is rewritten.

なお、サブCPU通信部130を含めてメインCPU100とバス150を介して接続されている部分をメインCPU100側と称する。   A portion including the sub CPU communication unit 130 and connected to the main CPU 100 via the bus 150 is referred to as the main CPU 100 side.

次に、サブCPU200は、メインCPU100からサブCPU用RAM221内のプログラムが書き換えられることで、様々な処理を実行する。   Next, the sub CPU 200 executes various processes by rewriting the program in the sub CPU RAM 221 from the main CPU 100.

サブCPU200はサブCPU用バス250を介して、サブCPU用ROM220、およびサブCPU用RAM221と接続されている。また、サブCPU用バス250には、メインCPU100と通信するためのメインCPU通信部230が接続されている。またサブCPU用バス250には、操作部113、NCU117などと接続されていて、これらの部分での信号検知を行うための信号検知部240が接続されている。さらに、サブCPU用バス250には、電源制御部123も接続されていて、サブCPU200から直接電源制御部123に指令を出して、省エネモードからの復帰ができるようになっている(詳細後述)。   The sub CPU 200 is connected to the sub CPU ROM 220 and the sub CPU RAM 221 via the sub CPU bus 250. Further, a main CPU communication unit 230 for communicating with the main CPU 100 is connected to the sub CPU bus 250. Further, the sub CPU bus 250 is connected to the operation unit 113, the NCU 117, and the like, and a signal detection unit 240 for performing signal detection in these portions is connected. Furthermore, the power control unit 123 is also connected to the sub CPU bus 250, and the sub CPU 200 can issue a command directly to the power control unit 123 to enable return from the energy saving mode (described in detail later). .

サブCPU用ROM220は、サブCPU200が実行するあらかじめ固定されたプログラムが記憶されている。本実施形態では、メインCPU100から送信されてきたプログラムをサブCPU用RAM221へ書き込み、また読み出すための必要最小限のプログラムを記憶している。   The sub CPU ROM 220 stores a previously fixed program that the sub CPU 200 executes. In the present embodiment, the minimum necessary program for writing and reading the program transmitted from the main CPU 100 to the sub CPU RAM 221 is stored.

サブCPU用RAM221は、サブCPU200専用のものであり、サブCPU200が実行するプログラムを記憶する。このためサブCPU用RAM221はサブCPU用記憶部となる。また、サブCPU用RAM221は、サブCPU200が使用するワークエリアとなる。このサブCPU用RAM221はサブCPU200専用のものであるため、そこへのデータの書き込み、読み出しはサブCPU200が行う。したがって、サブCPU200へ実行させるためにメインCPU100から送られてきたプログラムであっても、一度サブCPU200自身がサブCPU用RAM221へ書き込むことになる。   The sub CPU RAM 221 is dedicated to the sub CPU 200, and stores programs executed by the sub CPU 200. Therefore, the sub CPU RAM 221 becomes a sub CPU storage unit. The sub CPU RAM 221 is a work area used by the sub CPU 200. Since the sub CPU RAM 221 is dedicated to the sub CPU 200, the sub CPU 200 performs writing and reading of data to the sub CPU 200. Therefore, even if the program is sent from the main CPU 100 to be executed by the sub CPU 200, the sub CPU 200 itself writes the sub CPU RAM 221 once.

メインCPU通信部230は、メインCPU100側にあるサブCPU通信部130に対応しているサブCPU200側の通信制御部である。したがって、たとえばRS232Cのような通信規格を使用してメインCPU100とサブCPU200との接続を行っている。   The main CPU communication unit 230 is a communication control unit on the sub CPU 200 side corresponding to the sub CPU communication unit 130 on the main CPU 100 side. Therefore, the main CPU 100 and the sub CPU 200 are connected using a communication standard such as RS232C.

メインCPU通信部230を含めてサブCPU200とバス250を介して接続されている部分をサブCPU200側と称する。   A portion including the main CPU communication unit 230 and connected to the sub CPU 200 via the bus 250 is referred to as a sub CPU 200 side.

なお、メインCPU100とサブCPU200間の接続は、RS232Cのような通信規格に限らず、そのほかの通信規格でもよい。また、メインCPU100とサブCPU200間の接続は、通信ではなく、一つのバスにメインCPU100とサブCPU200が接続されて、バスを介してデータのやり取りを直接行う形態でもよい。また、メインCPU100とサブCPU200で共用するRAMを設けて、RAMを介してデータのやり取りする(メインCPUが書き込んだデータをサブCPUが読み出すなど)形態であってもよい。   The connection between the main CPU 100 and the sub CPU 200 is not limited to the communication standard such as RS232C, but may be another communication standard. Further, the connection between the main CPU 100 and the sub CPU 200 may not be communication, and the main CPU 100 and the sub CPU 200 may be connected to one bus to directly exchange data via the bus. In addition, a RAM shared by the main CPU 100 and the sub CPU 200 may be provided, and data may be exchanged via the RAM (for example, data written by the main CPU may be read by the sub CPU).

信号検知部240は、主に省エネルギーモードの状態において機能するものであり、操作部113からの入力による電圧変動の検知、NCU117への着信時の信号検知(回線の電圧変動)および回線のモニターなどに使用される。信号検知部240は、たとえばアナログーデジタル変換器を備え、アナログ信号をデジタル信号に変換する。これにより、サブCPU200が、操作部113やNCU117に接続されている信号線の電圧変動や信号のモニターができるようになっている。   The signal detection unit 240 mainly functions in the energy saving mode, and detects a voltage change due to an input from the operation unit 113, detects a signal upon arrival at the NCU 117 (line voltage change), monitors a line, etc. Used for The signal detection unit 240 includes, for example, an analog-digital converter, and converts an analog signal into a digital signal. Thus, the sub CPU 200 can monitor voltage fluctuations and signals of signal lines connected to the operation unit 113 and the NCU 117.

本実施形態1におけるMFP10の動作について説明する。   The operation of the MFP 10 in the first embodiment will be described.

まず、基本動作について説明する。   First, the basic operation will be described.

メインCPU100が管理して直接アクセスする不揮発性メモリー122には、サブCPU200に実行させるプログラムを複数記憶しておく。サブCPU200に実行させるプログラムは、MFP10の状態変化や設定に応じてサブCPU200に特定の機能を実行させるために必要なプログラムである。そしてメインCPU100は、記憶されている複数のプログラムの中から、そのときのMFP10の状態変化(詳細にはメインCPU100の状態変化)や設定に応じて必要なプログラムを選択する。選択したプログラムはメインCPU100からサブCPU200に送信する。   A plurality of programs to be executed by the sub CPU 200 are stored in the non-volatile memory 122 which the main CPU 100 manages and directly accesses. The program to be executed by the sub CPU 200 is a program necessary for causing the sub CPU 200 to execute a specific function in accordance with a state change or setting of the MFP 10. Then, main CPU 100 selects a necessary program in accordance with a change in the state of MFP 10 at that time (specifically, a change in the state of main CPU 100) and a setting from among a plurality of stored programs. The selected program is transmitted from the main CPU 100 to the sub CPU 200.

送信されたプログラムはサブCPU用RAM221に書き込まれる。このとき送信されてきたプログラムを記憶する前に、以前からサブCPU用RAM221にあったプログラムは消去される。これはサブCPU用RAM221の容量が限られているため、複数のプログラムを記憶することができないためである。したがって、サブCPU用RAM221へのプログラムの記憶は、プログラムの書き換えということになる。   The transmitted program is written to the sub CPU RAM 221. Before storing the program transmitted at this time, the program which has been in the sub CPU RAM 221 from before is erased. This is because the capacity of the sub CPU RAM 221 is limited, and a plurality of programs can not be stored. Therefore, storing the program in the sub CPU RAM 221 is to rewrite the program.

プログラム送信のタイミングは、状態変化が発生したとき、または、設定変更されたときなどである。これはあらかじめ設定された内容に基づいて、ある状態に達した時点でプログラムを送信する動作を含む。そしてサブCPU200ではサブCPU用RAM221に書き込まれたプログラムを実行する。   The timing of program transmission is, for example, when a state change occurs or when the setting is changed. This includes an operation of transmitting a program when a certain state is reached based on preset contents. The sub CPU 200 executes the program written in the sub CPU RAM 221.

具体的な動作例としてファクシミリ機能を例に2つの動作例を説明する。   As a specific operation example, two operation examples will be described taking a facsimile function as an example.

まず、動作例1として、カー(CAR)とナンバーディスプレイ番号(V.23)検知、および電源制御に設定変更された後の省エネモード中に、着信信号の検知によるファクシミリ受信を行う場合を説明する。図2〜5は、動作例1を説明するための説明図である。図においては、すでに説明したMFP10の構成のうちこの動作例1にかかわる部分のみを示し、そのほかの部分は省略している。   First, as the operation example 1, a case will be described where facsimile reception is performed by detection of an incoming signal in the energy saving mode after the setting change to the car (CAR) and the number display number (V. 23) and power control. . FIGS. 2 to 5 are explanatory diagrams for explaining the operation example 1. FIG. In the figure, only the part related to this operation example 1 is shown in the configuration of the MFP 10 already described, and the other parts are omitted.

まず図2に示すようにメインCPU100が直接アクセスする不揮発性メモリー122には、サブCPU200に実行させるプログラムを複数記憶している。ここで例示したプログラムは、プログラムA:復号化プログラム、プログラムB:符号化プログラム、プログラムC:リング(Ring)検知+電源制御プログラム、プログラムD:V.23検知+電源制御プログラム、プログラムE:1300Hzトーン検知+電源制御プログラムである。これらのプログラムには、プログラム名称や識別符号、識別番号などのIDが付与されている。   First, as shown in FIG. 2, a plurality of programs to be executed by the sub CPU 200 are stored in the non-volatile memory 122 which the main CPU 100 directly accesses. The programs exemplified here are Program A: Decoding Program, Program B: Coding Program, Program C: Ring (Ring) Detection + Power Supply Control Program, Program D: V.2. 23 detection + power supply control program, program E: 1300 Hz tone detection + power supply control program. These programs are assigned IDs such as program names, identification codes, and identification numbers.

ここで、リング(Ring)検知、カー(CAR)検知、1300Hzトーン検知などは、通信回線(ファクシミリのための電話回線)を掴んでいない状態で通信回線上を流れる電圧変化および信号をモニターすることにより行われる。これを着信監視という。電圧変化(電圧測定)および信号のモニターは、信号検知部240を介して行われる。   Here, for ring detection, car (CAR) detection, 1300 Hz tone detection, etc., monitor voltage changes and signals flowing on the communication line without grasping the communication line (telephone line for facsimile). It is done by This is called incoming call monitoring. Voltage change (voltage measurement) and signal monitoring are performed via the signal detection unit 240.

またナンバーディスプレイは電話回線をモニターすることで行われる。その際サブCPU200によりソフトモデムを実現するために、V.23検知プログラムに含まれる、V.23デコードプログラムが実行される。   In addition, the number display is done by monitoring the telephone line. At that time, in order to realize a soft modem by sub CPU 200, V. V. 23 included in the detection program. 23 A decoding program is executed.

電源制御プログラムによる電源制御は、あらかじめ決められた所定時間の経過により省エネモードに入ったり、省エネモードから通常モードへ復帰させたりすることである。   The power supply control by the power supply control program is to enter the energy saving mode or to return from the energy saving mode to the normal mode after the lapse of a predetermined time determined in advance.

省エネモードにおいては、電源制御部123によりメインCPU100側の最低限必要な箇所以外への電力供給を停止する。一方、通常モードへの復帰は、ファクシミリのための信号を検知したり、操作部113からの入力を検知したりすることでメインCPU100を初めとした各部への電力供給を再開する。操作部113からの入力の有無を監視することを操作監視という。着信監視と操作監視を合わせて着信操作監視という。   In the energy saving mode, the power control unit 123 stops the power supply to areas other than the minimum necessary area on the main CPU 100 side. On the other hand, to return to the normal mode, the power supply to the units including the main CPU 100 is resumed by detecting a signal for facsimile or detecting an input from the operation unit 113. Monitoring the presence or absence of an input from the operation unit 113 is referred to as operation monitoring. Incoming call monitoring and operation monitoring are combined and called incoming call operation monitoring.

サブCPU200に実行させるプログラムは、そのほか様々なプログラムであってもよい。たとえば画像縮小、回線電圧モニター、通信時間測定、メインCPU監視など様々な機能を実施することができる。また、MFP10は、図1に示したようにネットワーク通信部124を備えている。そこで、ネットワーク通信部124を介して外部装置300からサブCPU200が実行するプログラムを送信して不揮発性メモリー122に記憶させておくようにしてもよい。これにより、サブCPU用プログラムのバリエーションを増やすことができる。   The programs to be executed by the sub CPU 200 may be various other programs. For example, various functions such as image reduction, line voltage monitoring, communication time measurement, and main CPU monitoring can be implemented. The MFP 10 further includes a network communication unit 124 as shown in FIG. Therefore, the program executed by the sub CPU 200 may be transmitted from the external device 300 via the network communication unit 124 and stored in the non-volatile memory 122. Thereby, variations of the sub CPU program can be increased.

図2の状態は、通常モードの状態を示している。すなわちメインCPU100が起動している状態である。この状態では、サブCPU200に実行させるプログラムとして(図示していないがサブCPU用RAM221に記憶されているプログラムのことである。以下同様)、プログラムC:リング検知+電源制御プログラムが記憶されている。したがって、サブCPU200はリング検知プログラムにより着信監視を行い、電源制御プログラムにより操作監視を行っている。   The state of FIG. 2 shows the state of the normal mode. That is, the main CPU 100 is in a state of being activated. In this state, the program C: ring detection + power control program is stored as a program to be executed by the sub CPU 200 (it is a program not shown but stored in the sub CPU RAM 221. The same applies hereinafter). . Therefore, the sub CPU 200 monitors the incoming call by the ring detection program and monitors the operation by the power control program.

この状態から設定変更が行われたとする。変更内容は、ナンバーディスプレイ表示有り(V.23検知)で電源制御に設定変更されたものとする。この設定変更を起因として、サブCPU200に実行させるプログラムを、プログラムCからプログラムD:V.23検知+電源制御プログラムに書き換えるのである。図3はこの設定変更によりサブCPU200に実行させるプログラムが書き換えられた後の状態を示している。   It is assumed that the setting change is performed from this state. It is assumed that the change contents are set and changed to the power control when the number display is displayed (V.23 detection). The program to be executed by the sub CPU 200 due to this setting change is a program C to a program D: V. 23 detection + rewriting to the power control program. FIG. 3 shows a state after the program to be executed by the sub CPU 200 has been rewritten by this setting change.

この図3の状態から、一定時間経過すると、図4に示すように、サブCPU200は実行しているプログラムDの電源制御機能によって、電源制御部123へメインCPU100側への電源供給を切るように指令する。これにより省エネモードに入ることになる。すなわちメインCPU100が省エネモードとなった状態である。ここでの省エネモードに入る動作はメインCPU通信部230−サブCPU通信部130を経由してメインCPU100へその指令を伝達する。この指令を受けたメインCPU100は省エネモードに入る前に必要な処理、たとえばメインCPU用RAM121に一時記憶されているデータを不揮発性メモリーへ退避させるなどの処理を行う。また、本実施形態では省エネモードに入る前にサブCPU用プログラムの書き換えも行っている(詳細後述)。   When a predetermined time elapses from the state of FIG. 3, as shown in FIG. 4, the sub CPU 200 cuts off the power supply to the main CPU 100 side to the power control unit 123 by the power control function of the program D being executed. To command. By this, it will be in energy saving mode. That is, the main CPU 100 is in the energy saving mode. The operation to enter the energy saving mode here transmits the command to the main CPU 100 via the main CPU communication unit 230 and the sub CPU communication unit 130. The main CPU 100 that has received this command performs processing necessary before entering the energy saving mode, for example, processing such as saving data temporarily stored in the main CPU RAM 121 to a non-volatile memory. Further, in the present embodiment, the program for the sub CPU is also rewritten before the energy saving mode is entered (details will be described later).

省エネモードに入る前の処理が終了したなら、メインCPU100は電源制御部123へ省エネモードに入るように指令して各部への電源供給が停止される。   When the process before entering the energy saving mode is finished, the main CPU 100 instructs the power control unit 123 to enter the energy saving mode, and the power supply to each part is stopped.

この省エネモードの状態で、サブCPU200がメインCPU100に代わって着信操作監視(カー(CAR)とナンバーディスプレイ番号(V.23)検知、および操作監視)を行うことになる。なお、この着信監視をさせる際には、さらに着信拒否プログラムを一緒に動作させることも可能である。着信拒否番号はメインCPU100が管理しており、不揮発性メモリー122に記憶されている。したがって、着信拒否を行う場合には、着信拒否番号をメインCPU100からサブCPU200へ送信して一時的にサブCPU200で使用できるようにする。この着信拒否番号のようにサブCPU200で一時的に使用する情報を付随情報という。付随情報は省エネモード中に実行するプログラムとともにサブCPU200へ送信することになる。付随情報はサブCPU用RAM221に書き込まれる。   In this energy saving mode, the sub CPU 200 performs incoming call operation monitoring (car (CAR), number display number (V. 23) detection, and operation monitoring) in place of the main CPU 100. When this incoming call monitoring is performed, it is also possible to operate the incoming call rejection program together. The incoming call rejection number is managed by the main CPU 100 and stored in the non-volatile memory 122. Therefore, when the incoming call rejection is performed, the incoming call rejection number is transmitted from the main CPU 100 to the sub CPU 200 so that the sub CPU 200 can temporarily use it. Information temporarily used by the sub CPU 200 like this incoming call rejection number is called incidental information. The incidental information is sent to the sub CPU 200 together with the program executed during the energy saving mode. The accompanying information is written to the sub CPU RAM 221.

着信拒否を行う場合、着信監視中に着信拒否番号からの着信があればサブCPU200がそれを検知して着信拒否を行うことになる。なお、サブCPU200に実行させることができる機能は、サブCPU用RAM221の容量によって異なる。つまりサブCPU用RAM221の容量が許せば、複数の機能をサブCPU200に実行させるための複数のプログラムまたは複数の機能を実行させる1つのプログラムを記憶させることができる。   When the incoming call rejection is performed, if there is an incoming call from the incoming call rejection number during the incoming call monitoring, the sub CPU 200 detects it and performs the incoming call rejection. The functions that can be executed by the sub CPU 200 differ depending on the capacity of the sub CPU RAM 221. That is, if the capacity of the sub CPU RAM 221 permits, it is possible to store a plurality of programs for causing the sub CPU 200 to execute a plurality of functions or a single program for executing a plurality of functions.

続いて、省エネモードにおいて、着信があれば、図5に示すように、サブCPU200は実行しているプログラムDの電源制御機能によって、直接、電源制御部123へ、メインCPU100側への電源供給を再開するように指令する。これにより通常モードに復帰することになる。   Then, in the energy saving mode, if there is an incoming call, as shown in FIG. 5, the sub CPU 200 directly supplies power to the main CPU 100 to the power control unit 123 by the power control function of the program D being executed. Command to resume. This will return to the normal mode.

そして、サブCPU200は、回線から取得したナンバーディスプレイ番号をメインCPU100へ伝達する。メインCPU100ではナンバーディスプレイ番号を表示する。そして、メインCPU100では起動とともに、すなわち、メインCPU100の状態が停止中から起動中へ変化したことを起因として、サブCPU200が実行するプログラムをプログラムA:復号化プログラムに書き換える。メインCPU100では、モデム116を介して受信したファクシミリデータをサブCPU200で復号処理させる。復号化したデータは、メインCPU100へ送り返されることになり、受信したファクシミリデータの画像形成が行われることになる。   Then, the sub CPU 200 transmits the number display number acquired from the line to the main CPU 100. The main CPU 100 displays the number display number. Then, the main CPU 100 rewrites the program to be executed by the sub CPU 200 into the program A: decryption program due to the change of the state of the main CPU 100 from the stop state to the start state at the same time as the start. The main CPU 100 causes the sub CPU 200 to decode facsimile data received via the modem 116. The decoded data is sent back to the main CPU 100, and image formation of the received facsimile data is performed.

このように、動作例1では、サブCPU200に対して、省エネモードのときにはファクシミリの着信監視を行わせ、着信によりメインCPU100を通常モードに復帰させたのちは、復号処理を行わせることができる。   As described above, in the operation example 1, it is possible to cause the sub CPU 200 to monitor the incoming call of the facsimile in the energy saving mode and to perform the decryption process after returning the main CPU 100 to the normal mode by the incoming call.

次に、動作例2として、1300Hz検知無鳴動着信有り、および電源制御に設定変更された後の省エネモード中に、着信信号の検知によるファクシミリ受信ではなく、操作者によりファクシミリ送信を行う場合を説明する。図6〜9は、動作例2を説明するための説明図である。図においては、すでに説明したMFP10の構成のうちこの動作例2にかかわる部分のみを示し、そのほかの部分は省略している。   Next, an operation example 2 will be described in which the facsimile transmission is performed by the operator instead of the facsimile reception based on the detection of the incoming call signal during the energy saving mode after the 1300 Hz detection silent ring arrival and the setting change to the power control. Do. 6 to 9 are explanatory diagrams for explaining the operation example 2. FIG. In the drawing, only the part related to this operation example 2 is shown in the configuration of the MFP 10 already described, and the other parts are omitted.

動作例1同様に、図6に示すようにメインCPU100が直接アクセスする不揮発性メモリー122には、たとえばプログラムA:復号化プログラム、プログラムB:符号化プログラム、プログラムC:リング(Ring)検知+電源制御プログラム、プログラムD:V.23検知+電源制御プログラム、プログラムE:1300Hzトーン検知+電源制御プログラムが記憶されている。もちろんこの動作例2においても、そのほかに様々なプログラムが記憶されていてもよい。   Operation Example 1 Similarly, as shown in FIG. 6, in the non-volatile memory 122 directly accessed by the main CPU 100, for example, program A: decoding program, program B: encoding program, program C: ring (Ring) detection + power control Program, Program D: V.I. 23 detection + power supply control program, program E: 1300 Hz tone detection + power supply control program is stored. Of course, various programs may also be stored in this operation example 2 as well.

図6の状態は、通常モードの状態を示している。この状態では、サブCPU200に実行させるプログラムとして(図示していないがサブCPU用RAM221に記憶されているプログラムのことである。以下同様)、プログラムC:リング検知+電源制御プログラムが記憶されている(動作例1と同じである)。   The state of FIG. 6 shows the state of the normal mode. In this state, the program C: ring detection + power control program is stored as a program to be executed by the sub CPU 200 (it is a program not shown but stored in the sub CPU RAM 221. The same applies hereinafter). (Same as the operation example 1).

この状態から設定変更が行われたとする。変更内容は、1300Hz無鳴動着信有り、および電源制御に設定変更されたものとする。この設定変更を起因として、サブCPU200に実行させるプログラムを、プログラムCからプログラムE:1300Hzトーン検知+電源制御プログラムに書き換えるのである。図7はこの設定変更によりサブCPU200に実行させるプログラムが書き換えられた後の状態を示している。   It is assumed that the setting change is performed from this state. It is assumed that the changed contents are changed to 1300 Hz ringing-free incoming and power control. Based on this setting change, the program to be executed by the sub CPU 200 is rewritten from program C to program E: 1300 Hz tone detection + power control program. FIG. 7 shows a state after the program to be executed by the sub CPU 200 has been rewritten by this setting change.

この図7の状態から、一定時間経過すると、図8に示すように、サブCPU200は実行しているプログラムEの電源制御機能によって、電源制御部123へメインCPU100側への電源供給を切るように指令する。これにより省エネモードに入ることになる(実際の動作は、動作例1の図4の説明と同様に、メインCPU通信部230−サブCPU通信部130を経由してメインCPU100へその指令を伝達すると、メインCPU100が必要な処理を行った後、電源制御部123へメインCPU100側の電源供給を切るように指令して、各部への電力供給が停止され、省エネモードとなる)。   When a predetermined time elapses from the state of FIG. 7, as shown in FIG. 8, the sub CPU 200 cuts off the power supply to the main CPU 100 to the power control unit 123 by the power control function of the program E being executed. To command. As a result, the energy saving mode is entered (in the actual operation, when the command is transmitted to main CPU 100 via main CPU communication unit 230-sub CPU communication unit 130 as in the description of FIG. 4 of operation example 1). After the main CPU 100 performs the necessary processing, the power control unit 123 is instructed to turn off the power supply on the main CPU 100 side, the power supply to each unit is stopped, and the energy saving mode is established.

この省エネモードの状態で、サブCPU200がメインCPU100に代わって着信操作監視(1300Hzトーン検知+操作監視)を行うことになる。   In this energy saving mode, the sub CPU 200 performs incoming call operation monitoring (1300 Hz tone detection + operation monitoring) in place of the main CPU 100.

続いて、省エネモードにおいて、操作部113からの入力があれば、図9に示すように、サブCPU200は実行しているプログラムEの電源制御機能によって、電源制御部123へメインCPU100側への電源供給を再開するように指令する。これにより通常モードに復帰することになる。   Subsequently, in the energy saving mode, if there is an input from the operation unit 113, as shown in FIG. 9, the sub CPU 200 supplies power to the main CPU 100 to the power control unit 123 by the power control function of the program E being executed. Command to resume supply. This will return to the normal mode.

そして、メインCPU100では起動とともに、すなわち、メインCPU100の状態が停止中から起動中へ変化したことを起因として、サブCPU200が実行するプログラムをプログラムB:符号化プログラムに書き換える。メインCPU100では入力されたファクシミリデータをサブCPU200で符号処理させる。符号化したデータは、メインCPU100へ送り返されることになり、ファクシミリデータとしてモデム116を介して外部へ送信されることになる。   Then, the main CPU 100 rewrites the program to be executed by the sub CPU 200 into program B: an encoding program due to the fact that the state of the main CPU 100 changes from being stopped to being started with the activation. The main CPU 100 causes the sub CPU 200 to code the input facsimile data. The encoded data will be sent back to the main CPU 100, and will be transmitted to the outside via the modem 116 as facsimile data.

このように、動作例2では、サブCPU200に対して、省エネモードのときにはファクシミリの着信監視とともに操作部113の操作監視を行わせ、操作部113からの入力によりメインCPU100を通常モードに復帰させたのちは、サブCPU用プログラムを書き換えて符号処理を行わせることができる。   As described above, in the operation example 2, the sub CPU 200 is made to perform the operation monitoring of the operation unit 113 together with the incoming call monitoring of the facsimile in the energy saving mode, and restore the main CPU 100 to the normal mode by the input from the operation unit 113. After that, the sub CPU program can be rewritten to perform code processing.

次に、サブCPU200へのプログラム書き換えの処理手順を説明する。ここでは、動作例1および2の動作を行うための処理手順を説明する。   Next, the processing procedure of program rewriting to the sub CPU 200 will be described. Here, processing procedures for performing the operations of the operation examples 1 and 2 will be described.

図10は、メインCPU100が実行するプログラム書き換え処理全体の処理手順を示すフローチャートである。   FIG. 10 is a flowchart showing the processing procedure of the entire program rewriting process executed by the main CPU 100.

まず、メインCPU100は、起動時(電源投入時および省エネモードからの復帰時を含む)にサブCPU200へのプログラムが送信済みか否かを判断する(S101)。送信済みか否かは、後述するS105によって行われた送信済みフラグを確認することにより行う。   First, the main CPU 100 determines whether or not the program to the sub CPU 200 has been transmitted at startup (including power-on and return from the energy saving mode) (S101). Whether it has been transmitted or not is determined by confirming the transmitted flag performed in S105 described later.

ここでサブCPU200へのプログラムが送信済みであれば、S108へ処理を進ませることになる(S101:YES)。一方、サブCPU200へのプログラムが送信済みでなければ(S101:NO)、メインCPU100は、復帰要因が着信か否かを判断する(S102)。復帰要因における着信は、復帰前にサブCPU200に実行させていたプログラムによって異なり、リング検知、1300Hzトーン検知、V.23検知などである。   Here, if the program to the sub CPU 200 has been transmitted, the process proceeds to S108 (S101: YES). On the other hand, if the program to sub CPU 200 has not been transmitted (S101: NO), main CPU 100 determines whether or not the return factor is an incoming call (S102). The arrival at the return factor differs depending on the program executed by the sub CPU 200 before the return, and ring detection, 1300 Hz tone detection, V.V. 23 detection etc.

復帰要因が着信の場合(S102:YES)、メインCPU100は、サブCPU200に実行させるための送信プログラムとして復号化処理を行うプログラムAを選択する(S103)。この着信復帰時に選択されるプログラムがなんであるかは、ユーザーによってあらかじめ決められたものであり、不揮発性メモリー122に記憶されている。ここでは装置状態として着信復帰、送信プログラムとして復号化プログラムがセットになってあらかじめ設定されているものとする。設定内容はユーザーによって任意に変更可能である。設定内容は、MFP10の電源を落としても記憶されているように不揮発性メモリー122に記憶する。   If the return factor is an incoming call (S102: YES), the main CPU 100 selects a program A which performs decryption processing as a transmission program to be executed by the sub CPU 200 (S103). The program selected at the time of call return is previously determined by the user, and is stored in the non-volatile memory 122. Here, it is assumed that the incoming call return as the device state and the decryption program as the transmission program are set and set in advance. The setting contents can be arbitrarily changed by the user. The setting content is stored in the non-volatile memory 122 as stored even if the power of the MFP 10 is turned off.

続いてメインCPU100は、サブCPU200へ選択したプログラムを送信する(S104)。このプログラムの送信は、サブCPU200との間で同期をとりながらの送信となる。この送信の処理手順については後述する。   Subsequently, the main CPU 100 transmits the selected program to the sub CPU 200 (S104). The transmission of this program is transmission while synchronizing with the sub CPU 200. The processing procedure of this transmission will be described later.

続いてメインCPU100は、送信済みフラグを立てる(S105)。送信済みフラグは不揮発性メモリー122に記憶することになる。なぜならMFP10の電源を落としても、そのフラグの状態が記憶されているようにするためである。これによりS101において起動時に送信済みフラグの状態を読み出すことができる。   Subsequently, the main CPU 100 sets a transmission completion flag (S105). The transmitted flag will be stored in the non-volatile memory 122. The reason is that even if the power of the MFP 10 is turned off, the state of the flag is stored. As a result, the state of the transmitted flag can be read out at startup in S101.

S102において、復帰要因が着信でなければ、続いてメインCPU100は、着信要因が操作復帰か否かを判断する(S106)。そしてメインCPU100は、送信プログラムとして符号化処理を行うプログラムであるプログラムBを選択する(S107)。その後メインCPU100は処理をS104へ進ませる。操作復帰時に選択されるプログラムがなんであるかは、ユーザーによってあらかじめ決められたものであり、不揮発性メモリー122に記憶されている。ここでは装置状態として操作復帰、送信プログラムとして符号化プログラムがセットになって記憶されている。   In S102, if the return factor is not an incoming call, the main CPU 100 subsequently determines whether the incoming factor is an operation return (S106). Then, the main CPU 100 selects a program B which is a program that performs encoding processing as a transmission program (S107). After that, the main CPU 100 advances the process to S104. The program selected at the time of operation return is previously determined by the user, and is stored in the non-volatile memory 122. Here, the operation return is stored as the device state, and the encoding program is stored as a set as the transmission program.

続いてS108において、メインCPU100は、着信変更ありか否かを判断する(S108)。着信変更とは、着信モードの設定変更のことで、サブCPU200側はこの設定に従い該当する機能を実現させるためのプログラムに書き換えることになる。この設定も、あらかじめ設定されていて不揮発性メモリー122に記憶されている。もちろんユーザーが任意に設定可能である。   Subsequently, in S108, the main CPU 100 determines whether or not there is an incoming call change (S108). The incoming call change is a change in setting of the incoming call mode, and the sub CPU 200 side is rewritten to a program for realizing the corresponding function according to the setting. This setting is also preset and stored in the non-volatile memory 122. Of course, the user can set it arbitrarily.

着信変更がなければ(S108:NO)、S111へ進む。   If there is no change in the incoming call (S108: NO), the process proceeds to S111.

一方、着信変更が設定されていたなら(S108:YES)、メインCPU100はその変更内容が通常か(S109)、ナンバーディスプレイか(S121)、1300Hz無鳴動着信か(S131)を、それぞれ判断する。   On the other hand, if the incoming call change has been set (S108: YES), the main CPU 100 determines whether the changed contents are normal (S109), whether it is a number display (S121) or 1300Hz non-ringing incoming call (S131).

通常であれば(S109:YES)、送信プログラムとして、プログラムC:リング(Ring)検知+電源制御プログラムを選択する。通常でなければ(S109:NO)、S121へ進む。   If it is normal (S109: YES), program C: Ring (Ring) detection + power control program is selected as the transmission program. If not normal (S109: NO), the process proceeds to S121.

ナンバーディスプレイであれば(S121:YES)、送信プログラムとして、プログラムD:V.23検知+電源制御プログラムを選択する。ナンバーディスプレイでなければ(S121:NO)、S131へ進む。   If it is a number display (S121: YES), as a transmission program, program D: V. 23 Select detection + power control program. If it is not a number display (S121: NO), it will progress to S131.

1300Hz無鳴動着信であれば(S131:YES)、送信プログラムとして、プログラムE:1300Hzトーン検知+電源制御プログラムを選択する。1300Hz無鳴動着信でなければ(S131:NO)、着信変更はないことになるので、S111へ進む。   If it is a 1300 Hz non-ringing incoming call (S131: YES), program E: 1300 Hz tone detection + power control program is selected as a transmission program. If it is not a 1300 Hz silent ring incoming call (S131: NO), there is no incoming call change, so the process proceeds to S111.

続いて、メインCPU100は、省エネモードへ入る時間が経過したか否かを判断する(S111)。ここで、何らかの入力がない時間が、あらかじめ決められた省エネモードへ入る時間を経過している場合(S111:YES)、サブCPU200へ選択されたプログラムを送信する(S112)。続いて、メインCPU100は、省エネモードへ移行するために電源制御部123に対してメインCPU100側への電力供給を停止するように指令する(S113)。その後この手順を終了してから省エネモードに入る。   Subsequently, the main CPU 100 determines whether the time for entering the energy saving mode has elapsed (S111). Here, when the time without any input has passed the time for entering the energy saving mode determined in advance (S111: YES), the selected program is transmitted to the sub CPU 200 (S112). Subsequently, the main CPU 100 instructs the power control unit 123 to stop the power supply to the main CPU 100 in order to shift to the energy saving mode (S113). After this procedure is completed, the energy saving mode is entered.

一方、S111において、省エネモードへ入る時間が経過していなければ、S108へ戻り、以降の処理を継続することになる。したがって、省エネモードに入るまでは着信変更(設定変更)の受付状態になっているということである。   On the other hand, if the time to enter the energy saving mode has not elapsed in S111, the process returns to S108, and the subsequent processing is continued. Therefore, it means that the incoming call change (setting change) is accepted until the energy saving mode is entered.

次に、S104およびS112のサブCPU用プログラムを送信する処理手順を説明する。図11は、サブCPU用プログラムを送信する処理手順を示すサブルーチンフローチャートである。ここでは、メインCPU100とサブCPU200が同期をとってサブCPU用RAM221のプログラムを書き換えることになる。このため図11では、メインCPU100とサブCPU200の両方の処理手順を示した(図11中の破線矢印は、メインCPU100とサブCPU200間の処理タイミングの関係を示す)。   Next, the processing procedure for transmitting the sub CPU program in S104 and S112 will be described. FIG. 11 is a subroutine flowchart showing a processing procedure for transmitting the sub CPU program. Here, the main CPU 100 and the sub CPU 200 synchronize and rewrite the program of the sub CPU RAM 221. Therefore, FIG. 11 shows the processing procedure of both the main CPU 100 and the sub CPU 200 (the broken arrows in FIG. 11 indicate the relationship of processing timing between the main CPU 100 and the sub CPU 200).

まず、メインCPU100は、この段階(S200)に来た時点で、これから送信するプログラムとすでにサブCPU200へ送信済みのプログラムとを照合する(S200)。これには、後述S205で記憶したプログラム名称やIDで確認する。送信しようとしているプログラムが送信済みプログラムと同じであれば、そのままメインルーチンS104またはS112へリターンする(この処理手順に入る前のステップへ戻る)。このS200のステップによって同じものを送信してしまう時間の無駄を省くことができる。ただし、このS200のステップはなくてもよい。なぜなら、同じプログラムを送信して書き換えても動作に支障はないからである。   First, at this time (S200), the main CPU 100 collates the program to be transmitted with the program already transmitted to the sub CPU 200 (S200). This is confirmed by the program name and ID stored in S205 described later. If the program to be transmitted is the same as the transmitted program, the process directly returns to the main routine S104 or S112 (returns to the step before entering this processing procedure). The waste of time which transmits the same thing can be saved by this step of S200. However, the step of S200 may not be necessary. The reason is that even if the same program is transmitted and rewritten, there is no problem in the operation.

S200の照合の結果、これから送信するプログラムと既に送信済みのプログラムが異なる場合は、続いてメインCPU100はサブCPU200へプログラム書き換えコマンドを送信する(S201)。メインCPU100では、書き換えコマンドの送信後、書き換え準備OKを受信するまで待機する(S202)。   If the result of the check in S200 is that the program to be transmitted is different from the program already transmitted, the main CPU 100 subsequently transmits a program rewrite command to the sub CPU 200 (S201). After transmitting the rewrite command, the main CPU 100 waits until the rewrite preparation OK is received (S202).

サブCPU200では、プログラム書き換えコマンドを受信したか否かを判断する(S301)。受信しなければ(S301:NO)、受信待機となる。サブCPU200は、プログラム書き換えコマンドを受信したなら(S301:YES)、プログラム書き換えモードに変更する(S302)。プログラム書き換えモードとはサブCPU用RAM221内の自身が動作するプログラムを書き換える動作である。   The sub CPU 200 determines whether a program rewrite command has been received (S301). If it is not received (S301: NO), it becomes a reception standby. If the sub CPU 200 receives the program rewrite command (S301: YES), it changes to the program rewrite mode (S302). The program rewrite mode is an operation of rewriting a program that the sub CPU RAM 221 operates.

続いて、サブCPU200はプログラム書き換えの準備が整ったなら準備OKをメインCPU100へ送信する(S303)。このプログラム書き換えの準備は、たとえば、この段階で送信されてくるプログラムをすぐに記憶できるようにする処理である(この処理にサブCPU用RAM221内のプログラムの消去処理を含めても構わない)。サブCPU200はプログラム書き換え準備OKを送信後、メインCPU100から送信されてくるプログラム等の待機状態となる(S304)。   Subsequently, when the sub CPU 200 is ready for program rewriting, the sub CPU 200 transmits preparation OK to the main CPU 100 (S303). The preparation for program rewriting is, for example, processing for enabling immediate storage of the program transmitted at this stage (this processing may include processing for erasing the program in the sub CPU RAM 221). After transmitting the program rewrite preparation OK, the sub CPU 200 is in a standby state for a program or the like transmitted from the main CPU 100 (S304).

メインCPU100では、書き換え準備OKを受信したなら(S202:YES)、サブCPU200に実行させるプログラム、そのプログラムのチェックサム、これらの送信後、送信完了を示す完了信号を順次送信する(S203)。プログラム等の送信後メインCPU100では、サブCPU200から書き換え結果を受信するまで待機する(S204)。   When the main CPU 100 receives the rewrite preparation OK (S202: YES), the program to be executed by the sub CPU 200, the checksum of the program, and the transmission of these, sequentially transmit a completion signal indicating transmission completion (S203). After transmitting the program and the like, the main CPU 100 waits until the rewrite result is received from the sub CPU 200 (S204).

サブCPU200は、メインCPU100からプログラム、そのプログラムのチェックサム、完了信号を受信したなら(S304:YES)、それらを記憶して、記憶したプログラムのチェックサムを計算し、送信されてきたチェックサムと照合する(S305)。   When the sub CPU 200 receives the program, the checksum of the program, and the completion signal from the main CPU 100 (S 304: YES), they are stored, the checksum of the stored program is calculated, and the transmitted checksum It collates (S305).

続いて、サブCPU200は、チェックサムの照合結果がOKならば(S306:YES)、書き換えOKをメインCPU100へ送信し(S307)、(特に図示しないが)サブCPU用RAM221内の旧プログラムを消去後、リブート後に実行できるよう、受信したプログラムに書き換える。その後サブCPU200は自身をリブートして(S309)、サブCPU200の処理は終了する。リブートによって、サブCPU200はS305で記憶したプログラムによって動作するようになる。   Subsequently, if the check result of the checksum is OK (S306: YES), the sub CPU 200 transmits rewrite OK to the main CPU 100 (S307), and deletes the old program in the sub CPU RAM 221 (not shown). After that, it is rewritten to the received program so that it can be executed after rebooting. Thereafter, the sub CPU 200 reboots itself (S309), and the processing of the sub CPU 200 ends. The reboot causes the sub CPU 200 to operate according to the program stored in S305.

一方、チェックサムの照合結果が合わない場合(S306:NO)、書き換えNGをメインCPU100へ送信する(S308)。その後サブCPU200は処理を終了する。
この場合はサブCPU用RAM221内の旧プログラムは消去しないため、書き換え前のプログラムが残ることになる。
On the other hand, if the check result of the checksum does not match (S306: NO), the rewrite NG is transmitted to the main CPU 100 (S308). Thereafter, the sub CPU 200 ends the processing.
In this case, since the old program in the sub CPU RAM 221 is not erased, the program before rewriting remains.

サブCPU200から書き換え結果を受信したメインCPU100では(S204:YES)、受信した結果に応じてサブCPU200のプログラムがなんであるかを記憶する(S205)。サブCPU200から書き換え結果はOKなら、この時点でサブCPU200に実行させるプログラムはS203で送信したプログラム(すなわち(S103、S107、S110、S122、S132のいずれかで選択されたプログラム)である。したがって、S205ではサブCPU200に実行させるプログラムとして、送信したプログラムの名称やプログラムIDなどを記憶しておくことになる。   The main CPU 100 that has received the rewrite result from the sub CPU 200 (S 204: YES) stores what the program of the sub CPU 200 is according to the received result (S 205). If the rewrite result from the sub CPU 200 is OK, the program to be executed by the sub CPU 200 at this time is the program transmitted in S203 (that is, the program selected in any of S103, S107, S110, S122, and S132). In S205, the name of the transmitted program, the program ID and the like are stored as a program to be executed by the sub CPU 200.

書き換え結果に応じたプログラム名称やID、またはプログラムが書き込まれていないことなどは不揮発性メモリー122に記憶する。したがって、不揮発性メモリー122は送信したプログラムの名称やプログラムIDなどを記憶した書き換え済みプログラム記憶部となる。   The non-volatile memory 122 stores the program name or ID according to the rewriting result or that the program is not written. Therefore, the non-volatile memory 122 is a rewritten program storage unit storing the name of the transmitted program, the program ID, and the like.

なお、書き換え結果がNGであった場合、再度、S201戻り、プログラムの書き換えを実行するようにしてもよい。この場合、リトライの回数を決めておくなどして数回の書き換え処理でも不可能となった場合に書き換え結果をNGとする。   If the rewrite result is NG, the process may return to S201 again to execute the program rewrite. In this case, if the number of times of retrials is impossible, for example, by determining the number of times of retrial, the rewrite result is determined as NG.

S205の処理後、メインCPU100は処理をメインルーチンのS104またはS112へリターンする(この処理手順に入る前のステップへ戻る)。   After the processing of S205, the main CPU 100 returns the processing to S104 or S112 of the main routine (returns to the step before entering this processing procedure).

以上により、サブCPU200へのプログラムの書き換えが終了する。   Thus, the rewriting of the program to the sub CPU 200 is completed.

以上説明した処理手順によって、すでに説明した動作例1および2のように、メインCPU100の状態変化や設定変更に応じて、サブCPU200に様々な処理を実行させることができる。   According to the processing procedure described above, as in the operation examples 1 and 2 described above, it is possible to cause the sub CPU 200 to execute various processing according to the state change and the setting change of the main CPU 100.

次に、サブCPU200に様々なプログラムについての処理手順の例を説明する。   Next, an example of processing procedures for various programs in the sub CPU 200 will be described.

サブCPU200が実行する復号化の処理手順について説明する。この処理はメインCPU100が起動しているときにサブCPU200に実行させる。図12は、サブCPU200が実行する復号化の処理手順を示すフローチャートである。   The processing procedure of decryption executed by the sub CPU 200 will be described. This processing is executed by the sub CPU 200 when the main CPU 100 is activated. FIG. 12 is a flowchart showing the processing procedure of decoding that the sub CPU 200 executes.

サブCPU200は、モデム116からコーデック種類、受信データをバッファサイズ単位で受信する(S501)。   The sub CPU 200 receives the codec type and received data from the modem 116 in buffer size units (S501).

続いて、サブCPU200は、伝えられたコーデック方法で復号化し、ライン単位でメインCPU100へ送信する(S502)。   Subsequently, the sub CPU 200 decodes it according to the transmitted codec method, and transmits it to the main CPU 100 line by line (S 502).

続いて、サブCPU200は、最終データか否かを判断して最終データとなるまでS501へ戻り復号化を行う(S503:NO)。最終データの復号が終了したなら(S503:YES)、全データをメインCPU100へ送信する(S504)。その後処理を終了する。なお、S504の全データとは、S502でライン単位で送信しているので、この時点で未送信のデータすべてを送信するということである。   Subsequently, the sub CPU 200 determines whether or not it is the final data, and returns to S501 to perform decoding until the final data is obtained (S503: NO). When the decoding of the final data is completed (S503: YES), all the data is transmitted to the main CPU 100 (S504). Thereafter, the process ends. Note that all data in step S504 means that all unsent data are transmitted at this point in time because transmission is performed in line units in step S502.

サブCPU200が実行する符号化の処理手順について説明する。この処理はメインCPU100が起動しているときにサブCPU200に実行させる。図13は、サブCPU200が実行する符号化の処理手順を示すフローチャートである。   The processing procedure of encoding executed by the sub CPU 200 will be described. This processing is executed by the sub CPU 200 when the main CPU 100 is activated. FIG. 13 is a flow chart showing the processing procedure of encoding which the sub CPU 200 executes.

サブCPU200は、メインCPU100からコーデック種類、送信データをバッファサイズ単位で受信する(S601)。   The sub CPU 200 receives the codec type and transmission data from the main CPU 100 in buffer size units (S601).

続いて、サブCPU200は、伝えられたコーデック方法で符号化し、バッファ単位でメインCPU100へ送信する(S602)。   Subsequently, the sub CPU 200 encodes it by the transmitted codec method, and transmits it to the main CPU 100 in buffer units (S602).

続いて、サブCPU200は、最終データの指定があるか否かを判断して最終データの指定があるまでS601へ戻り符号化を行う(S603:NO)。最終データの指定があれば符号化が終了するので(S603:YES)、全データをメインCPU100へ送信する(S604)。その後処理を終了する。なお、S604の全データとは、S602でバッファサイズ単位で送信しているので、この時点で未送信のデータすべてを送信するということである。   Subsequently, the sub CPU 200 determines whether or not the final data is designated, and returns to S601 and performs encoding until the final data is designated (S603: NO). If the final data is specified, the encoding is completed (S603: YES), and all data are transmitted to the main CPU 100 (S604). Thereafter, the process ends. Note that all data in step S604 means transmitting in units of buffer size in step S602, so that all unsent data are transmitted at this time.

サブCPU200が実行する画像縮小の処理手順について説明する。この処理はメインCPU100が起動しているときにサブCPU200に実行させる。図14は、サブCPU200が実行する画像縮小の処理手順を示すフローチャートである。   A processing procedure of image reduction performed by the sub CPU 200 will be described. This processing is executed by the sub CPU 200 when the main CPU 100 is activated. FIG. 14 is a flowchart showing the image reduction processing procedure executed by the sub CPU 200.

サブCPU200は、メインCPU100から縮小前画像データをバッファサイズ単位で受信する(S701)。   The sub CPU 200 receives the pre-reduction image data from the main CPU 100 in buffer size units (S701).

続いて、サブCPU200は、伝えられたサイズ、解像度で主走査方向に縮小、副走査方向にライン間引きを実施して、バッファサイズ単位でメインCPU100へ送信する(S702)。   Subsequently, the sub CPU 200 performs reduction in the main scanning direction with the transmitted size and resolution, and performs line thinning in the sub scanning direction, and transmits it to the main CPU 100 in buffer size units (S702).

続いて、サブCPU200は、最終データの指定があるか否かを判断して最終データの指定があるまでS701へ戻り画像縮小を行う(S703:NO)。最終データの指定があれば画像縮小が終了するので(S703:YES)、縮小した全データをメインCPU100へ送信する(S704)。なお、S704の全データとは、S702でバッファサイズ単位で送信しているので、この時点で未送信のデータすべてを送信するということである。   Subsequently, the sub CPU 200 determines whether or not final data is designated, and returns to S701 to perform image reduction until the final data is designated (S703: NO). If the final data is specified, the image reduction is completed (S703: YES), and all the reduced data are transmitted to the main CPU 100 (S704). Note that all data in step S704 means that all unsent data are transmitted at this point in time since transmission is performed in buffer size units in step S702.

サブCPU200が実行する回線電圧モニターの処理手順について説明する。この処理はメインCPU100が起動しているときであって、ファクシミリの送受信時にサブCPU200に実行させる。図15は、サブCPU200が実行する回線電圧モニターの処理手順を示すフローチャートである。回線電圧モニターとは、ファクシミリの送受信を行う回線のエラー検知などを行うための処理である。   The processing procedure of the line voltage monitor executed by sub CPU 200 will be described. This process is performed when the main CPU 100 is activated and is executed by the sub CPU 200 at the time of facsimile transmission / reception. FIG. 15 is a flow chart showing the processing procedure of the line voltage monitor that the sub CPU 200 executes. The line voltage monitor is a process for detecting an error of a line for transmitting and receiving a facsimile.

サブCPU200は、信号検知部240を介して通信回線捕捉中の回線電圧をモニターする(S801)。   The sub CPU 200 monitors the line voltage during communication line acquisition via the signal detection unit 240 (S801).

続いて、サブCPU200は、モニター中に、その時間とモニター結果である測定値(回線電圧値)を記録する(S802)。   Subsequently, the sub CPU 200 records the time and the measured value (line voltage value) which is the monitoring result during monitoring (S802).

続いて、サブCPU200は、通信完了後、メインCPU100へ測定結果を送信する(S803)。その後処理を終了する。   Subsequently, after the communication is completed, the sub CPU 200 transmits the measurement result to the main CPU 100 (S803). Thereafter, the process ends.

サブCPU200が実行する通信時間測定の処理手順について説明する。この処理はメインCPU100が起動しているときであって、ファクシミリの送受信時にサブCPU200に実行させる。図16は、サブCPU200が実行する通信時間測定の処理手順を示すフローチャートである。通信時間測定とは、ファクシミリの送受信の際の通信時間を測定する処理である。   A processing procedure of communication time measurement performed by sub CPU 200 will be described. This process is performed when the main CPU 100 is activated and is executed by the sub CPU 200 at the time of facsimile transmission / reception. FIG. 16 is a flowchart showing a processing procedure of communication time measurement executed by the sub CPU 200. Communication time measurement is a process of measuring the communication time at the time of transmission and reception of a facsimile.

サブCPU200は、信号検知部240を介して回線電圧の測定(回線捕捉、解放)によって通信時間を測定する(S901)。回線電圧が所定値以上(または以下)で通信中であることを判断する。   The sub CPU 200 measures the communication time by measuring the line voltage (line capture, release) via the signal detection unit 240 (S901). It is determined that communication is in progress if the line voltage is higher than (or lower than) a predetermined value.

続いて、サブCPU200は、モニター中に、その時間とモニター結果である測定値(通信時間)を記録する(S902)。   Subsequently, the sub CPU 200 records the time and the measurement value (communication time) which is the monitoring result during monitoring (S902).

続いて、サブCPU200は、通信完了後、メインCPU100へ測定結果を送信する(S903)。その後処理を終了する。   Subsequently, after the communication is completed, the sub CPU 200 transmits the measurement result to the main CPU 100 (S903). Thereafter, the process ends.

サブCPU200が実行するメインCPU監視の処理手順について説明する。この処理はメインCPU100が起動しているときにメインCPU100のエラーを検出する処理である。図17は、サブCPU200が実行するメインCPU監視の処理手順を示すフローチャートである。   The processing procedure of the main CPU monitoring executed by the sub CPU 200 will be described. This processing is processing for detecting an error of the main CPU 100 when the main CPU 100 is activated. FIG. 17 is a flowchart showing the processing procedure of the main CPU monitoring that the sub CPU 200 executes.

サブCPU200は、定期的にメインCPU100に信号を送出し、それに対する応答をモニターする(S1001)。   The sub CPU 200 periodically sends a signal to the main CPU 100 and monitors the response thereto (S1001).

続いて、サブCPU200は、応答がない場合、管理者PCへ定型文を送信し通知する(S1002)。ここで管理者PCとは、あらかじめ決められたPCなどのことである。なお、この通知に代えて、たとえば、MFP10の表示部112に故障発生などを表示させてもよい。ただし、この場合、MFP10の表示部112やネットワーク通信部124に対して、故障発生など特別な場合にのみ、メインCPU100からの制御を離れて表示やネットワーク通信が行われるようにしておく必要がある。たとえば、メインCPU100とサブCPU200が同じバスによって直接接続されている形態では、故障したメインCPU100に代わり、サブCPU200がバスによって接続されている表示部やネットワーク通信部を介して警告表示や警告メッセージを送るようにしてもよい。   Subsequently, if there is no response, the sub CPU 200 transmits a fixed text to the administrator PC and notifies (S1002). Here, the administrator PC is a predetermined PC or the like. Note that, instead of this notification, for example, the occurrence of a failure may be displayed on display unit 112 of MFP 10. However, in this case, the display unit 112 or the network communication unit 124 of the MFP 10 needs to leave control from the main CPU 100 to perform display or network communication only in special cases such as occurrence of a failure. . For example, in a mode in which the main CPU 100 and the sub CPU 200 are directly connected by the same bus, a warning display or warning message is displayed via the display unit or the network communication unit in which the sub CPU 200 is connected by the bus instead of the failed main CPU 100. You may send it.

サブCPU200が実行するリング検知+電源制御の処理手順について説明する。この処理はメインCPU100が省エネモードのときにサブCPU200が実行する処理である。図18は、サブCPU200が実行するリング検知+電源制御の処理手順を示すフローチャートである。   A processing procedure of ring detection + power control performed by sub CPU 200 will be described. This process is a process executed by the sub CPU 200 when the main CPU 100 is in the energy saving mode. FIG. 18 is a flow chart showing a processing procedure of ring detection + power control which the sub CPU 200 executes.

サブCPU200は、信号検知部240を介して回線電圧と到来信号のケイデンス(Cadence)をモニターし、リング信号かを判断する(S1101)。   The sub CPU 200 monitors the line voltage and the cadence of the incoming signal via the signal detection unit 240, and determines whether it is a ring signal (S1101).

続いて、サブCPU200は、所定回数検出したならメインCPU100を起動(メインCPU100側への電力供給)する(S1102)。その後処理を終了する。   Subsequently, when the sub CPU 200 detects the predetermined number of times, the sub CPU 200 activates the main CPU 100 (power supply to the main CPU 100) (S1102). Thereafter, the process ends.

サブCPU200が実行する1300Hzトーン検知+電源制御の処理手順について説明する。この処理はメインCPU100が省エネモードのときにサブCPU200が実行する処理である。図19は、サブCPU200が実行する1300Hzトーン検知+電源制御の処理手順を示すフローチャートである。   A processing procedure of 1300 Hz tone detection + power control performed by sub CPU 200 will be described. This process is a process executed by the sub CPU 200 when the main CPU 100 is in the energy saving mode. FIG. 19 is a flow chart showing a processing procedure of 1300 Hz tone detection + power control which the sub CPU 200 executes.

サブCPU200は、信号検知部240を介して回線上のトーン信号をモニターして、1300Hz信号かどうか判断する(S1201)。   The sub CPU 200 monitors the tone signal on the line through the signal detection unit 240, and determines whether it is a 1300 Hz signal (S1201).

続いて、サブCPU200は、1300Hz信号が所定フォーマットであれば、メインCPU100を起動(メインCPU100側への電力供給)する(S1202)。その後処理を終了する。   Subsequently, if the 1300 Hz signal has a predetermined format, the sub CPU 200 activates the main CPU 100 (power supply to the main CPU 100) (S1202). Thereafter, the process ends.

サブCPU200が実行するV.23検知(ナンバーディスプレイへの対応)+電源制御の処理手順について説明する。この処理はメインCPU100が省エネモードのときにサブCPU200が実行する処理である。図20は、サブCPU200が実行するV.23検知+電源制御の処理手順を示すフローチャートである。   Sub CPU 200 executes V. A processing procedure of the 23 detection (corresponding to the number display) + power control will be described. This process is a process executed by the sub CPU 200 when the main CPU 100 is in the energy saving mode. FIG. 20 shows the V.V. 23 is a flowchart illustrating a processing procedure of detection + power control.

サブCPU200は、信号検知部240を介して回線電圧と到来信号のケイデンスをモニターしてカー信号かどうかを判断する(S1301)。   The sub CPU 200 monitors the line voltage and the cadence of the incoming signal through the signal detection unit 240 to determine whether it is a car signal (S1301).

続いて、サブCPU200は、カー検出時には一次応答して、交換機からV.23信号を受信する(S1302)。   Subsequently, the sub CPU 200 makes a primary response at the time of car detection, and the V.V. 23. A signal 23 is received (S1302).

続いて、サブCPU200は、V.23受信内容を記憶、受信完了後回線を開放する(S1303)。   Subsequently, sub CPU 200 causes V.I. 23 Store the contents of the reception, and release the line after the reception is completed (S1303).

続いて、サブCPU200は、回線電圧と到来信号のケイデンスをモニターしてリング信号かどうかを判断する(S1304)。   Subsequently, the sub CPU 200 monitors the line voltage and the cadence of the incoming signal to determine whether it is a ring signal (S1304).

続いて、サブCPU200は、所定回数検出したならメインCPU100を起動(メインCPU100側への電力供給)する(S1305)。   Subsequently, when the sub CPU 200 detects the predetermined number of times, the sub CPU 200 activates the main CPU 100 (power supply to the main CPU 100) (S1305).

続いて、サブCPU200は、メインCPU100へ受信信号(ナンバーディスプレイ番号)を通知する(S1306)。その後処理を終了する。   Subsequently, the sub CPU 200 notifies the main CPU 100 of a reception signal (number display number) (S1306). Thereafter, the process ends.

以上説明した実施形態によれば、以下のような効果を奏する。   According to the embodiment described above, the following effects can be obtained.

サブCPU200に実行させるプログラムを複数、メインCPU100が管理している不揮発性メモリー122に記憶しておき、メインCPU100の状態変化や設定変更に応じてサブCPU200に実行させるプログラムを適切なものに書き換えることとした。これにより、ハードウェア資源の変更とは無関係にサブCPU200の処理能力を有効活用できるようになる。特にサブCPU200が管理するRAM221などの記憶装置の容量が少ない場合に有効である。たとえば、サブCPU200が、電源制御のみ行っているような場合、その記憶装置の容量が少ない。本実施形態では、そのような記憶容量の少ない場合でも、それに見合った大きさのプログラムを用意しておいて、状態変化や設定変更に応じてプログラムを入れ換えることで、有効にサブCPU200を働かせることができる。   A plurality of programs to be executed by the sub CPU 200 are stored in the non-volatile memory 122 managed by the main CPU 100, and the programs to be executed by the sub CPU 200 are appropriately rewritten according to the state change or setting change of the main CPU 100. And As a result, the processing capacity of the sub CPU 200 can be effectively utilized regardless of the change of the hardware resource. This is particularly effective when the capacity of the storage device such as the RAM 221 managed by the sub CPU 200 is small. For example, when the sub CPU 200 performs only power control, the capacity of the storage device is small. In the present embodiment, even when the storage capacity is small, a program having a size corresponding to the small storage capacity is prepared, and the sub CPU 200 is made to work effectively by replacing the program according to the state change or the setting change. Can.

また、本実施形態では、ファクシミリの通信中は、画像縮小、符号化、および復号化など、ファクシミリに直接かかわる処理を実行するように書き換えることで、サブCPU200にファクシミリ機能の一部を担わせることができる。これによりその間メインCPUでは、サブCPU200では実行できない画像処理や画像形成のためのラスタライズなどを行うことができる。   Further, in the present embodiment, during facsimile communication, the sub CPU 200 is caused to take on part of the facsimile function by performing rewriting such as image reduction, encoding, and decoding to execute processing directly related to the facsimile. Can. Accordingly, the main CPU can perform image processing which can not be executed by the sub CPU 200 and rasterization for image formation.

また、本実施形態では、サブCPU200に、回線電圧、電源電圧の監視や、メインCPU100の監視など、ファクシミリ通信に直接かかわらない処理に書き換え、実行させてもよい。この場合もメインCPU100では、MFP10としてサブCPU200では実行できない画像処理や画像形成のためのラスタライズなどを行うことができる。   Further, in the present embodiment, the sub CPU 200 may rewrite and execute processing such as monitoring of the line voltage and the power supply voltage, monitoring of the main CPU 100, and the like that is not directly related to facsimile communication. Also in this case, the main CPU 100 can perform image processing, rasterization for image formation, and the like that can not be executed by the sub CPU 200 as the MFP 10.

また、本実施形態では、省エネモードの場合の信号監視をサブCPU200に実施させる場合は、設定に応じて、通信回線上監視する信号に合わせたプログラムに書き換えることとした。具体的には、ナンバーディスプレイが有効の場合はV.23の復調機能とメインCPU100の電源制御を行わせる。また無鳴動着信設定が有効の場合は1300Hzトーンの復調機能とメインCPU100の電源制御を行わせる。どちらも機能OFFの場合は通常モードとしてリング検知とメインCPU100の電源制御を行わせる。このように様々な設定を行ってユーザーの要望に合わせた省エネモードを実現できる。さらにナンバーディスプレイが有効の場合は、着信を拒否する番号(付随情報)を同時にサブCPU200に渡すことで不要な着信を抑えることができる。このようにサブCPU200側だけで着信拒否も行い得るので、より省エネルギー効果を高めることができる。   Further, in the present embodiment, when the sub CPU 200 performs signal monitoring in the energy saving mode, the program is rewritten to a program according to the signal to be monitored on the communication line according to the setting. Specifically, when the number display is valid, V. The power supply control of the main CPU 100 is performed with the demodulation function of 23. When the no-answer incoming call setting is effective, the demodulation function of the 1300 Hz tone and the power control of the main CPU 100 are performed. When both functions are OFF, ring detection and power control of the main CPU 100 are performed as a normal mode. Thus, various settings can be performed to realize an energy saving mode in accordance with the user's request. Furthermore, when the number display is valid, unnecessary incoming calls can be suppressed by simultaneously giving the sub CPU 200 a number (accompanying information) to reject incoming calls. Thus, since incoming call rejection can be performed only on the side of the sub CPU 200, the energy saving effect can be further enhanced.

以上実施形態を説明したが、本発明はこれら実施形態に限定されるものではない。特に、図10および11を用いてサブCPU200のプログラムの書き換えを説明したが、この説明にない様々なプログラムをサブCPU200で実行させることができる。その場合も、書き換えるプログラムが変更させるだけであって、書き換えの処理手順は同様である。   Although the embodiments have been described above, the present invention is not limited to these embodiments. In particular, although the rewriting of the program of the sub CPU 200 has been described using FIGS. 10 and 11, various programs not described in this description can be executed by the sub CPU 200. Also in this case, only the program to be rewritten is changed, and the rewriting procedure is the same.

また、実施形態では、サブCPU用RAM221はサブCPU200専用のものであり、サブCPU200がプログラムの書き換えを行うこととした。しかしこれに代えて、メインCPU100から直接サブCPU用RAM221へアクセスできるようにして、メインCPU100によってサブCPU200が実行するプログラムを直接書き換えるようにしてもよい。   In the embodiment, the sub CPU RAM 221 is dedicated to the sub CPU 200, and the sub CPU 200 rewrites the program. However, instead of this, the main CPU 100 may directly access the sub CPU RAM 221, and the main CPU 100 may directly rewrite the program executed by the sub CPU 200.

そのほか、本発明は、特許請求の範囲に記載された内容によって規定されるものであり、様々な変形形態が可能である。   Besides, the present invention is defined by the contents described in the claims, and various modifications are possible.

10 MFP、
100 メインCPU、
112 表示部、
113 操作部、
114 画像処理部、
115 通信制御部、
116 モデム、
117 NCU、
118 読取部、
119 プリントエンジン、
120 メインCPU用ROM、
121 メインCPU用RAM、
122 不揮発性メモリー、
123 電源制御部、
124 ネットワーク通信部、
130 サブCPU通信部、
150 メインCPU用バス、
200 サブCPU、
220 サブCPU用ROM、
221 サブCPU用RAM、
230 メインCPU通信部、
250 サブCPU用バス。
10 MFPs,
100 main CPU,
112 display unit,
113 operation unit,
114 image processing unit,
115 communication control unit,
116 modems,
117 NCU,
118 reader,
119 print engines,
120 Main CPU ROM,
121 Main CPU RAM,
122 nonvolatile memory,
123 power control unit,
124 Network Communication Unit,
130 sub CPU communication unit,
150 Main CPU Bus,
200 sub CPUs,
220 sub CPU ROM,
221 Sub CPU RAM,
230 main CPU communication unit,
250 Bus for sub CPU.

Claims (12)

個別に動作可能なメインCPUおよびサブCPUと、
前記サブCPUが実行するサブCPU用プログラムを記憶するサブCPU用記憶部と、
前記サブCPUに実行させる複数のサブCPU用プログラムを記憶したサブCPU用プログラム記憶部と、を有し、
前記サブCPU用プログラム記憶部には前記サブCPU用プログラムとして、前記メインCPUへの電力供給を停止している省エネルギーモード中に実行するプログラムと、前記メインCPUが起動中に実行するプログラムとが記憶されており、
前記メインCPUは、
前記メインCPUの状態として前記省エネルギーモードに移行する状態になったとき、前記サブCPU用プログラムとして前記メインCPUが省エネルギーモード中に実行するプログラムに書き換え、
前記メインCPUの状態として前記省エネルギーモードから復帰した状態になったとき、前記サブCPU用プログラムとして前記メインCPUが起動中に実行するプログラムに書き換えること特徴とする情報処理装置。
Main CPU and sub CPU that can operate individually,
A sub CPU storage unit storing a sub CPU program executed by the sub CPU;
A sub CPU program storage unit storing a plurality of sub CPU programs to be executed by the sub CPU;
The sub CPU program storage unit stores, as the sub CPU program, a program to be executed during an energy saving mode in which power supply to the main CPU is stopped and a program to be executed during startup of the main CPU. Has been
The main CPU is
When the state to shift to the energy saving mode is entered as the state of the main CPU, the program is rewritten as a program to be executed by the main CPU in the energy saving mode as the sub CPU program,
Wherein when in a state of returning from the energy saving mode as the state of the main CPU, information processor you wherein rewriting the program in which the main CPU executes during startup as a program for the sub-CPU.
前記メインCPUが前記省エネルギーモード中に前記サブCPUに実行させるプログラムは、少なくとも前記メインCPUを復帰させるプログラムとともに、ファクシミリを受信しない受信拒否プログラム、ファクシミリの受信監視プログラムのいずれかを含むものであり、
前記メインCPUが起動中に実行するプログラムは、受信したファクシミリデータの復号化処理プログラム、送信するファクシミリデータの符号化処理プログラム、ファクシミリデータの画像縮小プログラムのうち少なくともいずれか一つであること特徴とする請求項に記載の情報処理装置。
The program to be executed by the sub CPU during the energy saving mode by the main CPU includes at least a program for recovering the main CPU, and also a reception refusal program not receiving a facsimile or a reception monitoring program for facsimile.
The program executed while the main CPU is activated is at least one of a decryption processing program of received facsimile data, an encoding processing program of facsimile data to be transmitted, and an image reduction program of facsimile data. The information processing apparatus according to claim 1 .
前記メインCPUは、前記メインCPUが前記省エネルギーモード中に前記サブCPUに実行させるプログラムとともに、前記サブCPUが使用する付随情報も前記サブCPU用記憶部に記憶させること特徴とする請求項またはに記載の情報処理装置。 The main CPU, the main CPU with programs to be executed by the sub CPU in the energy-saving mode, according to claim 1 or 2 which also accompanying information the sub CPU is used and wherein it is stored in the storage unit for the sub CPU The information processing apparatus according to claim 1. 前記メインCPUが、前記サブCPU用記憶部を書き換えて記憶させた前記サブCPU用プログラムがなんであるかを記憶する書き換え済みプログラム記憶部を有し、
前記サブCPU用記憶部に記憶されている前記サブCPU用プログラムを書き換える際に、前記メインCPUは、これから書き換えるプログラムと前記書き換え済みプログラム記憶部に記憶されているプログラムが同じ場合には、書き換えを行わないこと特徴とする請求項1〜のいずれか一つに記載の情報処理装置。
The main CPU has a rewritten program storage unit that stores the sub CPU program stored by rewriting and storing the sub CPU storage unit,
When the sub CPU program stored in the sub CPU storage unit is rewritten, the main CPU rewrites the program when the program to be rewritten from now and the program stored in the rewritten program storage unit are the same. The information processing apparatus according to any one of claims 1 to 3 , which is not performed.
個別に動作可能なメインCPUおよびサブCPUと、Main CPU and sub CPU that can operate individually,
前記サブCPUが実行するサブCPU用プログラムを記憶するサブCPU用記憶部と、A sub CPU storage unit storing a sub CPU program executed by the sub CPU;
前記サブCPUに実行させる複数のサブCPU用プログラムを記憶したサブCPU用プログラム記憶部と、を有し、A sub CPU program storage unit storing a plurality of sub CPU programs to be executed by the sub CPU;
前記メインCPUは、前記メインCPUの状態が変化したとき、または設定変更が行われたときに、前記サブCPU用プログラム記憶部の中から状態や設定内容に応じて前記サブCPU用プログラムを選択して、前記サブCPU用記憶部に記憶されている前記サブCPU用プログラムを書き換えるものであり、The main CPU selects the sub CPU program from the sub CPU program storage unit according to the state and setting contents when the state of the main CPU changes or when the setting is changed. And rewriting the sub CPU program stored in the sub CPU storage unit,
前記メインCPUが、前記サブCPU用記憶部を書き換えて記憶させた前記サブCPU用プログラムがなんであるかを記憶する書き換え済みプログラム記憶部を有し、The main CPU has a rewritten program storage unit that stores the sub CPU program stored by rewriting and storing the sub CPU storage unit,
前記サブCPU用記憶部に記憶されている前記サブCPU用プログラムを書き換える際に、前記メインCPUは、これから書き換えるプログラムと前記書き換え済みプログラム記憶部に記憶されているプログラムが同じ場合には、書き換えを行わないこと特徴とする情報処理装置。When the sub CPU program stored in the sub CPU storage unit is rewritten, the main CPU rewrites the program when the program to be rewritten from now and the program stored in the rewritten program storage unit are the same. An information processing apparatus characterized by not performing.
前記情報処理装置はネットワークによって外部装置と接続されており、
前記サブCPU用プログラム記憶部に記憶される前記サブCPU用プログラムは、前記外部装置から記憶させることを特徴とする請求項1〜5のいずれか一つに記載の情報処理装置。
The information processing apparatus is connected to an external apparatus by a network,
The information processing apparatus according to any one of claims 1 to 5, wherein the sub CPU program stored in the sub CPU program storage unit is stored from the external device.
個別に動作可能なメインCPUおよびサブCPUと、
前記サブCPUが実行するサブCPU用プログラムを記憶するサブCPU用記憶部と、
前記サブCPUに実行させる複数のサブCPU用プログラムを記憶したサブCPU用プログラム記憶部と、を有する情報処理装置の制御方法であって、
前記サブCPU用プログラム記憶部には前記サブCPU用プログラムとして、前記メインCPUへの電力供給を停止している省エネルギーモード中に実行するプログラムと、前記メインCPUが起動中に実行するプログラムとが記憶されており、
前記メインCPUの状態として前記省エネルギーモードに移行する状態になったとき、前記サブCPU用プログラムとして前記メインCPUが省エネルギーモード中に実行するプログラムに書き換え、
前記メインCPUの状態として前記省エネルギーモードから復帰した状態になったとき、前記サブCPU用プログラムとして前記メインCPUが起動中に実行するプログラムに書き換えること特徴とする情報処理装置の制御方法。
Main CPU and sub CPU that can operate individually,
A sub CPU storage unit storing a sub CPU program executed by the sub CPU;
A control method of an information processing apparatus, comprising: a sub CPU program storage unit storing a plurality of sub CPU programs to be executed by the sub CPU.
The sub CPU program storage unit stores, as the sub CPU program, a program to be executed during an energy saving mode in which power supply to the main CPU is stopped and a program to be executed during startup of the main CPU. Has been
When the state to shift to the energy saving mode is entered as the state of the main CPU, the program is rewritten as a program to be executed by the main CPU in the energy saving mode as the sub CPU program,
Wherein when in a state of returning from the energy saving mode as the state of the main CPU, the control method of the information processing apparatus you wherein rewriting the program in which the main CPU executes during startup as a program for the sub-CPU.
前記メインCPUが前記省エネルギーモード中に前記サブCPUに実行させるプログラムは、少なくとも前記メインCPUを復帰させるプログラムとともに、ファクシミリを受信しない受信拒否プログラム、ファクシミリの受信監視プログラムのいずれかを含むものであり、
前記メインCPUが起動中に実行するプログラムは、受信したファクシミリデータの復号化処理プログラム、送信するファクシミリデータの符号化処理プログラム、ファクシミリデータの画像縮小プログラムのうち少なくともいずれか一つであること特徴とする請求項に記載の情報処理装置の制御方法。
The program to be executed by the sub CPU during the energy saving mode by the main CPU includes at least a program for recovering the main CPU, and also a reception refusal program not receiving a facsimile or a reception monitoring program for facsimile.
The program executed while the main CPU is activated is at least one of a decryption processing program of received facsimile data, an encoding processing program of facsimile data to be transmitted, and an image reduction program of facsimile data. The control method of the information processing apparatus according to claim 7 .
前記メインCPUが前記省エネルギーモード中に前記サブCPUに実行させるプログラムとともに、前記サブCPUが使用する付随情報も前記サブCPU用記憶部に記憶させること特徴とする請求項またはに記載の情報処理装置の制御方法。 The information processing according to claim 7 or 8 , wherein the main CPU stores a program to be executed by the sub CPU during the energy saving mode, and additional information used by the sub CPU in the storage unit for sub CPU. Device control method. 前記サブCPU用記憶部を書き換えて記憶させた書き換え済みの前記サブCPU用プログラムがなんであるかを記憶しておいて、
これから書き換えるプログラムと前記記憶した書き換え済みプログラムが同じ場合には、書き換えを行わないこと特徴とする請求項7〜のいずれか一つに記載の情報処理装置の制御方法。
It is stored what is the rewritten sub CPU program which has been rewritten and stored the sub CPU storage unit,
The control method of the information processing apparatus according to any one of claims 7 to 9 , wherein rewriting is not performed when the program to be rewritten from now on and the stored rewritten program are the same.
個別に動作可能なメインCPUおよびサブCPUと、Main CPU and sub CPU that can operate individually,
前記サブCPUが実行するサブCPU用プログラムを記憶するサブCPU用記憶部と、A sub CPU storage unit storing a sub CPU program executed by the sub CPU;
前記サブCPUに実行させる複数のサブCPU用プログラムを記憶したサブCPU用プログラム記憶部と、を有する情報処理装置の制御方法であって、A control method of an information processing apparatus, comprising: a sub CPU program storage unit storing a plurality of sub CPU programs to be executed by the sub CPU.
前記メインCPUの状態が変化したとき、または設定変更が行われたときに、前記サブCPU用プログラム記憶部の中から状態や設定内容に応じて前記サブCPU用プログラムを選択して、前記サブCPU用記憶部に記憶されている前記サブCPU用プログラムを書き換え、When the state of the main CPU changes or when the setting is changed, the sub CPU program is selected from the sub CPU program storage unit according to the state and the setting content, and the sub CPU is selected. Rewriting the sub CPU program stored in the storage unit;
前記サブCPU用記憶部を書き換えて記憶させた書き換え済みの前記サブCPU用プログラムがなんであるかを記憶しておいて、It is stored what is the rewritten sub CPU program which has been rewritten and stored the sub CPU storage unit,
これから書き換えるプログラムと前記記憶した書き換え済みプログラムが同じ場合には、書き換えを行わないこと特徴とする情報処理装置の制御方法。A control method of an information processing apparatus characterized in that rewriting is not performed when a program to be rewritten from now on and the stored rewritten program are the same.
前記情報処理装置はネットワークによって外部装置と接続されており、
前記サブCPU用プログラム記憶部に記憶される前記サブCPU用プログラムは、前記外部装置から記憶させることを特徴とする請求項7〜11のいずれか一つに記載の情報処理装置の制御方法。
The information processing apparatus is connected to an external apparatus by a network,
The control method of an information processing apparatus according to any one of claims 7 to 11, wherein the sub CPU program stored in the sub CPU program storage unit is stored from the external device.
JP2015035701A 2015-02-25 2015-02-25 INFORMATION PROCESSING APPARATUS AND CONTROL METHOD OF INFORMATION PROCESSING APPARATUS Expired - Fee Related JP6503784B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015035701A JP6503784B2 (en) 2015-02-25 2015-02-25 INFORMATION PROCESSING APPARATUS AND CONTROL METHOD OF INFORMATION PROCESSING APPARATUS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015035701A JP6503784B2 (en) 2015-02-25 2015-02-25 INFORMATION PROCESSING APPARATUS AND CONTROL METHOD OF INFORMATION PROCESSING APPARATUS

Publications (2)

Publication Number Publication Date
JP2016157332A JP2016157332A (en) 2016-09-01
JP6503784B2 true JP6503784B2 (en) 2019-04-24

Family

ID=56826170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015035701A Expired - Fee Related JP6503784B2 (en) 2015-02-25 2015-02-25 INFORMATION PROCESSING APPARATUS AND CONTROL METHOD OF INFORMATION PROCESSING APPARATUS

Country Status (1)

Country Link
JP (1) JP6503784B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7009270B2 (en) * 2018-03-14 2022-01-25 キヤノン株式会社 Information processing device and program verification method
JP7006648B2 (en) 2019-04-02 2022-01-24 カシオ計算機株式会社 Electronic devices, control methods and programs
JP7283528B2 (en) * 2019-04-02 2023-05-30 カシオ計算機株式会社 Electronics

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101766835B1 (en) * 2011-05-04 2017-08-09 에스프린팅솔루션 주식회사 Image forming apparatus and method for controlling thereof

Also Published As

Publication number Publication date
JP2016157332A (en) 2016-09-01

Similar Documents

Publication Publication Date Title
US8873070B2 (en) Image processing apparatus and method of starting image processing apparatus
KR102006520B1 (en) Image forming apparatus and control method
CN107423001B (en) Image processing apparatus, control method thereof, and storage medium
JP7246868B2 (en) A data transmission device capable of setting setting data such as an e-mail address received from an external device on a transmission setting screen, and a control method thereof
JP6503784B2 (en) INFORMATION PROCESSING APPARATUS AND CONTROL METHOD OF INFORMATION PROCESSING APPARATUS
JP2010117423A (en) Image forming apparatus
JP7077170B2 (en) Information processing equipment, its control method, and programs
JP2004234195A (en) Automatic program registration function
JP2005271425A (en) Recorder
JP4949956B2 (en) Image forming apparatus
JP6711618B2 (en) Information processing apparatus, information processing system, information processing server, information processing method, and program
JP2008304548A (en) Image forming device
JP5967945B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2005269203A (en) Multifunction peripheral apparatus
JP2010160569A (en) Image forming apparatus
JP6222488B2 (en) Job processing device and its program.
JP6287536B2 (en) Image forming system
JP4385755B2 (en) MEMORY DEVICE AND ELECTRONIC DEVICE HAVING THE SAME
JP6515579B2 (en) Image processing apparatus, image processing method, control program for image processing apparatus, and image forming system
JP2016127313A (en) Information processing unit, memory control method and program of information processing unit
JP2007028062A (en) Image forming apparatus
JP2019016965A (en) Information processing device, control method, and program
JP2005242512A (en) Data processor
JP2010016657A (en) Data communication device having recalling function
JP2009065233A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190212

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190311

R150 Certificate of patent or registration of utility model

Ref document number: 6503784

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees