JP4381839B2 - Electronic device, remote management system thereof, log management method and program - Google Patents

Electronic device, remote management system thereof, log management method and program Download PDF

Info

Publication number
JP4381839B2
JP4381839B2 JP2004035433A JP2004035433A JP4381839B2 JP 4381839 B2 JP4381839 B2 JP 4381839B2 JP 2004035433 A JP2004035433 A JP 2004035433A JP 2004035433 A JP2004035433 A JP 2004035433A JP 4381839 B2 JP4381839 B2 JP 4381839B2
Authority
JP
Japan
Prior art keywords
log
management
function
area
divided
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 - Lifetime
Application number
JP2004035433A
Other languages
Japanese (ja)
Other versions
JP2004297777A (en
Inventor
政巳 奈須
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004035433A priority Critical patent/JP4381839B2/en
Publication of JP2004297777A publication Critical patent/JP2004297777A/en
Application granted granted Critical
Publication of JP4381839B2 publication Critical patent/JP4381839B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

この発明は、画像形成装置等の電子装置と、この電子装置とこれをネットワークを介して遠隔管理する管理装置とによって構成された遠隔管理システム、および上記電子装置におけるログ管理方法、並びに上記電子装置を制御するコンピュータに必要な機能(この発明に係わる機能)を実現させるためのプログラムに関する。   The present invention relates to a remote management system including an electronic apparatus such as an image forming apparatus, a management apparatus that remotely manages the electronic apparatus via a network, a log management method in the electronic apparatus, and the electronic apparatus. The present invention relates to a program for realizing a function necessary for a computer for controlling the function (function related to the present invention).

従来から、通信機能を備えたプリンタ,ファクシミリ(FAX)装置,デジタル複写機,スキャナ装置,デジタル複合機等の画像処理装置を始め、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等に通信機能(通信手段)を持たせた電子装置(通信装置)を被管理装置とし、サービスセンタ(管理センタ)の管理装置が公衆回線やインタネット等のネットワーク経由でこれらの被管理装置を遠隔管理する遠隔管理システムが提案されている。   Conventionally, image processing devices such as printers, facsimile (FAX) devices, digital copiers, scanner devices, digital multifunction peripherals with communication functions, network home appliances, vending machines, medical equipment, power supply devices, air conditioning systems, An electronic device (communication device) that has a communication function (communication means) in a metering system for gas, water, electricity, etc. is a managed device, and the management device of the service center (management center) is a network such as a public line or the Internet. A remote management system for remotely managing these managed devices via the network has been proposed.

あるいは、被管理装置が通信機能を備えていない場合や、通信機能を備えていてもその機能が管理装置と通信するための機能を持っていない場合には、その被管理装置に管理装置と通信可能な通信機能を有する仲介装置をネットワーク経由で接続し、管理装置がネットワークおよび仲介装置経由で被管理装置を遠隔管理する遠隔管理システムも提案されている。
ここで、例えば被管理装置を画像形成装置とし、その画像形成装置について簡単に説明する。
画像形成装置としては、既知の感光体静電プロセスを用いて普通紙に画像形成するプリンタエンジンを備えたものが一般的であるが、このような感光体静電プロセスを行う機構のプリンタエンジンからは、トラブル(異常)が発生する割合も高く、更に性能維持のための定期的なオーバホールの必要性から、保守管理のサービス体制を採っている。
Alternatively, if the managed device does not have a communication function, or if the managed device does not have a function for communicating with the management device even if it has a communication function, the managed device communicates with the management device. There has also been proposed a remote management system in which an intermediary device having a possible communication function is connected via a network, and the management device remotely manages the managed device via the network and the intermediary device.
Here, for example, the managed apparatus is an image forming apparatus, and the image forming apparatus will be briefly described.
An image forming apparatus generally includes a printer engine that forms an image on plain paper using a known photoreceptor electrostatic process. From the printer engine of a mechanism that performs such a photoreceptor electrostatic process. Has a high rate of trouble (abnormality), and has a maintenance management service system because of the need for periodic overhaul to maintain performance.

この保守管理を充実させる目的で、画像形成装置の遠隔管理システムとして、画像形成装置の内部又は外部に通信手段を設け、画像形成装置とサービスセンタに設置された管理装置とを公衆回線(電話回線)を介して接続し、画像形成装置のプリンタエンジンで自己診断異常又は警告(センサの規格レベルへの到達など、予防保全を必要とするもの)等の所定の事象が発生した場合に、その事象をセンサ等からなる事象検出手段によって検出し、その事象の発生を知らせる事象情報等を通信手段によって管理装置(外部装置)へ送信させるようにしたものが既に開発され(例えば特許文献1参照)、市販されている。管理装置への事象情報の送信としては、自己診断異常の発生による自己診断異常情報の通報であるサービスマンコールや、警告の発生による警告情報の通報であるアラームコール(例えばサプライコール)がある。   For the purpose of enhancing the maintenance management, as a remote management system for the image forming apparatus, a communication means is provided inside or outside the image forming apparatus, and the image forming apparatus and the management apparatus installed in the service center are connected to a public line (telephone line). ), And when a predetermined event such as a self-diagnostic error or warning (thing that requires preventive maintenance such as reaching the sensor standard level) occurs in the printer engine of the image forming apparatus Has already been developed (for example, refer to Patent Document 1), in which event information and the like are detected by an event detection unit including a sensor and the like, and event information that informs the occurrence of the event is transmitted to a management device (external device) by a communication unit. It is commercially available. As the transmission of event information to the management device, there are a service man call that is a report of self-diagnosis abnormality information due to the occurrence of a self-diagnosis abnormality, and an alarm call (for example, a supply call) that is a report of warning information due to the occurrence of a warning.

ところで、このような画像形成装置等の電子装置においては、一般的に、プログラム実行状況や処理内容(例えばFAX送受信に関連する内容)などをログ(履歴情報)として記憶手段(ハードディスク等の記録媒体)の予め設定された所定記憶領域に書き込むようにしている(例えば特許文献2参照)。
上述したような画像形成装置の遠隔管理システムにおいては、機器利用者(例えば画像形成装置を利用しているユーザ)が画像形成装置内の機密情報をサービスマン等の機器管理者が取り出していないかを確認したり、あるいは機器管理者が画像形成装置の動作を分析するために、画像形成装置にログ保存機能を備えている。
特開2002−6693号公報 特開2001−45204号公報
Incidentally, in such an electronic apparatus such as an image forming apparatus, generally, a storage means (recording medium such as a hard disk) is recorded as a log (history information) such as a program execution status and processing contents (for example, contents related to FAX transmission / reception). ) In a predetermined storage area set in advance (see, for example, Patent Document 2).
In the remote management system for an image forming apparatus as described above, whether a device user (for example, a user who uses the image forming apparatus) has taken out confidential information in the image forming apparatus by a device manager such as a serviceman. The image forming apparatus is provided with a log storage function so that the apparatus administrator can confirm the above or analyze the operation of the image forming apparatus.
JP 2002-6669 A JP 2001-45204 A

しかしながら、上述したような画像形成装置遠隔管理システムに使用される画像形成装置においては、複数の処理実行手段を備えており、それらのうち、ログ管理が必要な複数の処理実行手段のいずれかから所定の通知(異常等の所定の事象が発生した旨あるいは処理結果等の通知)がある度に、その各通知に関するログを順次作成(生成)し、その各ログを記憶手段の所定記憶領域に順次書き込み、その所定記憶領域に空きがなくなった場合に最も古いログに上書きするようにしている(ログ書き込み制御)ため、ポーリング等の頻繁に行われる処理によって発生する通知により、上記所定記憶領域上のログが次々に上書きされてしまい、重要な通知に関するログが機器利用者もしくは機器管理者によって確認される前に消えてしまうという問題があった。   However, the image forming apparatus used in the image forming apparatus remote management system as described above includes a plurality of processing execution units, and among them, from any of the plurality of processing execution units that require log management. Each time there is a predetermined notification (notification of occurrence of a predetermined event such as abnormality or notification of processing result), a log related to each notification is sequentially created (generated), and each log is stored in a predetermined storage area of the storage means. Writes sequentially and overwrites the oldest log when the specified storage area is full (log write control). Are overwritten one after another, and logs related to important notifications disappear before being confirmed by the device user or device administrator There was a problem.

なお、機器利用者は、画像形成装置で異常が発生した場合に、必要に応じてその異常を解消するための作業を行うが、その際に過去のログを参照する。
例えば、画像形成装置は、異常が発生した場合でも、その異常の種類によっては機器利用者がその異常を解消できるため、異常の発生を知らせる情報(異常情報)をサービスセンタの管理装置へ通報(送信)しない。しかし、機器利用者は、過去のログを参照した結果、今回発生した異常が過去に何度も発生していることを確認できた場合、そのことを管理装置の機器管理者であるオペレータ(以下「センタオペレータ」という)に連絡することが考えられる。この連絡の要否は、過去のログを参照した結果に基づいて決定されるものなので、異常に関するログが記憶手段に保存されている必要がある。
In addition, when an abnormality occurs in the image forming apparatus, the device user performs work for eliminating the abnormality as necessary, and refers to the past log at that time.
For example, even if an abnormality occurs, the image forming apparatus can resolve the abnormality depending on the type of abnormality, so that information (abnormality information) that informs the occurrence of the abnormality is reported to the management device of the service center ( Do not send). However, as a result of referring to the past log, the device user can confirm that the abnormality that has occurred this time has occurred many times in the past. It is conceivable to contact a “center operator”. Whether or not this communication is necessary is determined based on a result of referring to a past log, and therefore a log relating to abnormality needs to be stored in the storage unit.

一方、サービスセンタの管理装置は、機器利用者側の画像形成装置から異常情報を受け取った場合、その異常情報を表示部に表示してセンタオペレータに知らせるようにしている。
センタオペレータは、異常情報の内容を見て通報元の画像形成装置内で異常が発生したことを確認できると、該当する機器利用者へ電話をかけて異常の解消方法を指示するか、あるいはサービスステーションに連絡を取り、サービスマンを手配するという作業を実施する。このとき、どの作業を実施するかは、例えば該当する機器利用者へ電話をかけて異常発生状況と過去のログを確認して決める。よって、異常に関するログが画像形成装置の記憶手段に保存されている必要がある。
On the other hand, when the abnormality information is received from the image forming apparatus on the device user side, the service center management device displays the abnormality information on the display unit to notify the center operator.
If the center operator can confirm that an abnormality has occurred in the image forming apparatus as the report source by looking at the content of the abnormality information, the center operator can call the corresponding device user to instruct how to resolve the abnormality, or Contact the station and arrange for a service person. At this time, which work is to be performed is determined, for example, by calling the corresponding device user and confirming the abnormality occurrence status and past logs. Therefore, a log relating to abnormality needs to be stored in the storage unit of the image forming apparatus.

ここで、上述した画像形成装置遠隔管理システムにおける画像形成装置によるログ保存処理を含む動作について、図34〜図37を参照して詳細に説明する。
図34および図35は、従来の画像形成装置遠隔管理システムにおける画像形成装置によるログ保存処理を含む動作時の通信シーケンスの異なる例を示す図である。なお、図34はラインアダプタ(仲介装置)を使用した場合の例を、図35はラインアダプタを使用しない場合の例をそれぞれ示している。
まず、ラインアダプタを使用した場合の画像形成装置によるログ保存処理を含む処理について、図34を参照して説明する。
Here, operations including log storage processing by the image forming apparatus in the above-described image forming apparatus remote management system will be described in detail with reference to FIGS.
FIG. 34 and FIG. 35 are diagrams showing different examples of communication sequences during operation including log storage processing by the image forming apparatus in the conventional image forming apparatus remote management system. Note that FIG. 34 shows an example when a line adapter (mediation device) is used, and FIG. 35 shows an example when no line adapter is used.
First, processing including log storage processing by the image forming apparatus when a line adapter is used will be described with reference to FIG.

画像形成装置は、プロッタエンジンや操作パネルを含む各種ハードウェア資源と、それらのハードウェア資源をそれぞれ動作させて所定の機能を実現させる複数のCPU(処理実行手段)とを備え、例えばプロッタエンジンを制御するCPUが、センサを用いてプロッタエンジンの状態を監視し、警告としてトナーニアエンドが発生した場合(トナーサプライであるトナーボトル内のトナー量が所定量以下になった場合)、そのトナーニアエンドを検出し、トナーニアエンドが発生した旨をコントローラ内のCPU(処理実行手段)へ通知する。
そのコントローラ内のCPUは、プロッタエンジンからトナーニアエンドが発生した旨の通知を受けると、プロッタエンジン内でトナーニアエンドが発生したと判定し、トナーサプライコール(トナーニアエンドの発生つまりトナーボトルの発注を知らせるトナーサプライコール情報の自動通報)用のメッセージをラインアダプタへ送信(送出)する。
The image forming apparatus includes various hardware resources including a plotter engine and an operation panel, and a plurality of CPUs (processing execution means) that realize predetermined functions by operating the hardware resources, for example, a plotter engine. The controlling CPU monitors the state of the plotter engine using a sensor, and when a toner near end occurs as a warning (when the amount of toner in the toner bottle as a toner supply falls below a predetermined amount), the toner near end is It detects and notifies the CPU (processing execution means) in the controller that the toner near end has occurred.
When the CPU in the controller receives notification from the plotter engine that the toner near end has occurred, the CPU determines that the toner near end has occurred in the plotter engine, and notifies the toner supply call (toner near end occurrence, that is, the order of the toner bottle). A message for automatic notification of toner supply call information) is transmitted (sent) to the line adapter.

ラインアダプタは、コントローラからトナーサプライコール用のメッセージを受信すると、公衆回線経由でサービスセンタの管理装置に対してトナーサプライコールを行う。つまり、トナーボトルの発注を知らせるトナーサプライコール情報(警告情報)を公衆回線経由でサービスセンタの管理装置へ自動通報する。
サービスセンタの管理装置は、機器利用者側に設置されているラインアダプタから通報されたトナーサプライコール情報を受信し、その受信が正常に終了すると、その旨(トナーサプライコールに対する処理が成功した旨)のコール結果OKを公衆回線経由で通報元のラインアダプタへ送信する。
When the line adapter receives a toner supply call message from the controller, the line adapter makes a toner supply call to the management device of the service center via the public line. In other words, the toner supply call information (warning information) for notifying the order of the toner bottle is automatically notified to the service center management apparatus via the public line.
The service center management device receives the toner supply call information notified from the line adapter installed on the device user side, and when the reception ends normally, that fact (the processing for the toner supply call is successful). ) Is sent to the call source line adapter via the public line.

また、受信したトナーサプライコール情報をキュー(例えばハードディスク装置内のデータベース)に格納し、センタオペレータによって対応する処理、つまりトナーボトルの受注作業等が行われるまでキューイング(保持)する。
さらに、受信したトナーサプライコール情報を表示部に表示してセンタオペレータに知らせる。
センタオペレータは、管理装置の表示部の表示内容を見て通報元のラインアダプタに接続されている画像形成装置のプロッタエンジン内でトナーニアエンドが発生し、トナーボトルが発注されたことを認識すると、トナーボトルの受注作業等を行い、例えばサービスマンを手配して通報元のラインアダプタの設置場所にトナーボトルを届けさせる。
Further, the received toner supply call information is stored in a queue (for example, a database in the hard disk device), and is queued (held) until a corresponding process is performed by the center operator, that is, a toner bottle order receiving operation is performed.
Further, the received toner supply call information is displayed on the display unit to notify the center operator.
When the center operator sees the display content of the display unit of the management apparatus and recognizes that a toner near end has occurred in the plotter engine of the image forming apparatus connected to the reporting source line adapter and the toner bottle has been ordered, For example, a service person is arranged to deliver the toner bottle to the place where the reporting line adapter is installed.

通報元のラインアダプタは、サービスセンタの管理装置へのトナーサプライコールの結果(トナーサプライコール情報の送信結果)として、その管理装置からコールOK(トナーサプライコール情報の受信が正常に終了した旨の送信結果)を受信すると、そのコールOKを画像形成装置のコントローラへ通知する。
画像形成装置のコントローラ内のCPUは、ラインアダプタからコールOKの通知を受けると、管理装置へのトナーサプライコールが正常に終了した(成功した)と判断し、トナーニアエンドが発生した旨の通知に関するログとして、トナーサプライコールが正常に終了した旨を示すトナーサプライコール終了ログ(現在の時刻情報を含む)を作成し、それを記憶手段(フラッシュメモリやハードディスク等の記録媒体)の所定記憶領域であるログ保存エリアに書き込む。このとき、そのログ保存エリアに空きがなければ、最も古いログに上書きする。
As a result of the toner supply call to the management device in the service center (transmission result of toner supply call information), the call source line adapter indicates that the call OK (toner supply call information reception has been normally completed) from the management device. When the transmission result is received, the call OK is notified to the controller of the image forming apparatus.
When the CPU in the controller of the image forming apparatus receives a call OK notification from the line adapter, the CPU determines that the toner supply call to the management apparatus has been normally completed (successful) and relates to the notification that the toner near-end has occurred. As a log, a toner supply call end log (including current time information) indicating that the toner supply call has ended normally is created and stored in a predetermined storage area of storage means (a recording medium such as a flash memory or a hard disk). Write to a log storage area. At this time, if there is no space in the log storage area, the oldest log is overwritten.

なお、通報元のラインアダプタは、サービスセンタの管理装置へのトナーサプライコールの結果として、その管理装置からコールOKを予め設定された所定時間が経過しても受信できなかった場合、コールNGを画像形成装置のコントローラへ通知する。
画像形成装置のコントローラのCPUは、ラインアダプタからコールNGを受けると、管理装置へのトナーサプライコールが異常に終了した(失敗した)と判断し、トナーニアエンドが発生した旨の通知に関するログとして、トナーサプライコールが異常に終了した旨を示すトナーサプライコール終了ログ(現在の時刻情報を含む)を作成し、それを記憶手段のログ保存エリアに書き込む。このとき、そのログ保存エリアに空きがなければ、最も古いログに上書きする。
If the call source line adapter fails to receive the call OK from the management device even after a predetermined time has elapsed as a result of the toner supply call to the management device of the service center, the call NG is issued. Notify the controller of the image forming apparatus.
When the CPU of the controller of the image forming apparatus receives a call NG from the line adapter, it determines that the toner supply call to the management apparatus has ended abnormally (failed), and as a log related to notification that a toner near end has occurred, A toner supply call end log (including current time information) indicating that the toner supply call has ended abnormally is created and written in the log storage area of the storage means. At this time, if there is no space in the log storage area, the oldest log is overwritten.

いずれかのハードウェア資源(コントローラ以外)を制御するCPUは、異常としてSC_Bが発生した場合には、センサによってSC_Bを検出し、SC_Bが発生した旨(異常)をコントローラへ通知する。
なお、「SC」とは、サービスマンコールのことであり、複数のタイプがある。ここでは、タイプAのSCをSC_A(SC(A))、タイプBのSCをSC_B(SC(B))とする。コールタイプについては実施例で説明する。
コントローラのCPUは、いずれかのハードウェア資源からSC_Bが発生した旨の通知を受けると、対応するハードウェア資源でSC_Bが発生したと判定し、SC_Bが発生した旨の通知に関するログであるSC_Bコールログ(現在の時刻情報を含む)を作成し、それを記憶手段のログ保存エリアに書き込む。このとき、そのログ保存エリアに空きがなければ、最も古いログに上書きする。
同様に、いずれかのハードウェア資源からSC_Aが発生した旨の通知を受けると、対応するハードウェア資源でSC_Aが発生したと判定し、以後SC_Bに対する処理と同様の処理を行う。
When SC_B occurs as an abnormality, the CPU that controls any hardware resource (other than the controller) detects SC_B by a sensor and notifies the controller that SC_B has occurred (abnormality).
“SC” means a service man call, and there are a plurality of types. Here, the SC of type A is SC_A (SC (A)), and the SC of type B is SC_B (SC (B)). The call type will be described in the embodiment.
When the CPU of the controller receives a notification that SC_B has occurred from any hardware resource, it determines that SC_B has occurred in the corresponding hardware resource, and the SC_B call that is a log related to the notification that SC_B has occurred A log (including current time information) is created and written in the log storage area of the storage means. At this time, if there is no space in the log storage area, the oldest log is overwritten.
Similarly, when a notification that SC_A has occurred is received from any of the hardware resources, it is determined that SC_A has occurred in the corresponding hardware resource, and processing similar to that for SC_B is performed thereafter.

次に、ラインアダプタを使用しない場合の画像形成装置によるログ保存処理を含む処理について、図35を参照して説明する。この例の画像形成装置は、ラインアダプタとしての機能を有している。
画像形成装置のコントローラ内のCPUは、プロッタエンジンからトナーニアエンドが発生した旨の通知を受けると、プロッタエンジン内でトナーニアエンドが発生したと判定し、公衆回線経由でサービスセンタの管理装置に対してトナーサプライコールを行う。つまり、トナーボトルの発注を知らせるトナーサプライコール情報(警告情報)を公衆回線経由でサービスセンタの管理装置へ自動通報(自動送信)する。
Next, processing including log storage processing by the image forming apparatus when the line adapter is not used will be described with reference to FIG. The image forming apparatus of this example has a function as a line adapter.
When the CPU in the controller of the image forming apparatus receives a notification from the plotter engine that a toner near end has occurred, the CPU determines that a toner near end has occurred in the plotter engine, and notifies the service center management device via the public line. Make a toner supply call. In other words, the toner supply call information (warning information) for notifying the order of the toner bottle is automatically notified (automatically transmitted) to the management device of the service center via the public line.

サービスセンタの管理装置は、機器利用者側に設置されている画像形成装置から通報されたトナーサプライコール情報を受信し、その受信が正常に終了すると、その旨のコール結果OKを公衆回線経由で通報元の画像形成装置へ送信する。
通報元の画像形成装置は、サービスセンタの管理装置へのトナーサプライコールを行った後、トナーニアエンドが発生した旨の通知に関するログとして、サービスセンタに対してトナーサプライコールを行った旨を示すセンタ通知ログ(現在の時刻情報を含む)を作成し、それを記憶手段のログ保存エリアに書き込む。このとき、そのログ保存エリアに空きがなければ、最も古いログに上書きする。
The management device of the service center receives the toner supply call information notified from the image forming apparatus installed on the device user side. When the reception ends normally, the call result OK is sent via the public line. It is transmitted to the image forming apparatus that is the reporting source.
The reporting image forming apparatus, after making a toner supply call to the service center management apparatus, as a log related to a notification that a toner near end has occurred, shows a center indicating that the toner supply call has been made to the service center. Create a notification log (including current time information) and write it to the log storage area of the storage means. At this time, if there is no space in the log storage area, the oldest log is overwritten.

また、サービスセンタの管理装置へのトナーサプライコールの結果として、その管理装置からコールOKを受信すると、管理装置へのトナーサプライコールが成功したと判断し、トナーニアエンドが発生した旨の通知に関するログとして、トナーサプライコールが正常に終了した旨を示すトナーサプライコール終了ログ(現在の時刻情報を含む)を作成し、それを記憶手段のログ保存エリアに書き込む。このとき、そのログ保存エリアに空きがなければ、最も古いログに上書きする。   Further, when a call OK is received from the management device as a result of the toner supply call to the management device of the service center, it is determined that the toner supply call to the management device is successful, and a log relating to a notification that a toner near-end has occurred As a result, a toner supply call end log (including current time information) indicating that the toner supply call has ended normally is created and written in the log storage area of the storage means. At this time, if there is no space in the log storage area, the oldest log is overwritten.

なお、通報元の画像形成装置は、サービスセンタの管理装置へのトナーサプライコールの結果として、その管理装置からコールOKを予め設定された所定時間が経過しても受信できなかった場合には、管理装置へのトナーサプライコールが失敗したと判断し、トナーニアエンドが発生した旨の通知に関するログとして、トナーサプライコールが異常に終了した旨を示すトナーサプライコール終了ログ(現在の時刻情報を含む)を作成し、それを記憶手段のログ保存エリアに書き込む。このとき、そのログ保存エリアに空きがなければ、最も古いログに上書きする。   If the image forming apparatus as a report source fails to receive the call OK from the management apparatus even after a predetermined time has passed as a result of the toner supply call to the management apparatus of the service center, Toner supply call end log (including current time information) indicating that the toner supply call has ended abnormally as a log regarding notification that the toner supply call to the management apparatus has failed and toner near-end has occurred Is written in the log storage area of the storage means. At this time, if there is no space in the log storage area, the oldest log is overwritten.

一方、画像形成装置のコントローラ内のCPUは、図示しないタイマを使用して時間管理を行っており、定期的に送信要求の有無の問い合わせ情報(ポーリング情報)を公衆回線経由でサービスセンタの管理装置へ自動通報する。これを、ポーリングという。
このポーリングを行った後、そのポーリングに関するログとして、サービスセンタに対してポーリングを行った旨を示すポーリングログ(現在の時刻情報を含む)を作成し、それを記憶手段のログ保存エリアに書き込む。このとき、そのログ保存エリアに空きがなければ、最も古いログに上書きする。
その後、いずれかのハードウェア資源からSC_A又はSC_Bが発生した旨の通知を受けると、上述と同様の処理を行う。
On the other hand, the CPU in the controller of the image forming apparatus performs time management using a timer (not shown), and periodically sends inquiry information (polling information) on the presence / absence of a transmission request via a public line. Automatically report to. This is called polling.
After this polling, a polling log (including current time information) indicating that the service center has been polled is created as a log relating to the polling, and is written in the log storage area of the storage means. At this time, if there is no space in the log storage area, the oldest log is overwritten.
Thereafter, upon receiving a notification that SC_A or SC_B has occurred from any hardware resource, the same processing as described above is performed.

図36は、従来の画像形成装置遠隔管理システムにおける画像形成装置によるログ保存処理の一例を示すフローチャートである。
図37は、従来の画像形成装置遠隔管理システムにおける画像形成装置によるログ保存処理を説明するためのメモリマップ図である。
画像形成装置のコントローラ内のCPUは、いずれかのハードウェア資源等からの通知時に、図36の処理を開始し、まずステップS101で予め設定されたログ保存エリア指定情報の内容(値)を参照して記憶手段におけるログ保存エリアの先頭アドレスを取得することにより、記憶手段におけるログ保存エリアを決定し、ステップS102でログ保存エリア番号nと予め設定された(ROM等に格納されているプログラムによる)ログ保存可能数(最大値)とを比較し、ログ保存エリア番号nがログ保存可能数に達したか否かを判断する。
FIG. 36 is a flowchart showing an example of log storage processing by the image forming apparatus in the conventional image forming apparatus remote management system.
FIG. 37 is a memory map diagram for explaining log storage processing by the image forming apparatus in the conventional image forming apparatus remote management system.
The CPU in the controller of the image forming apparatus starts the processing of FIG. 36 upon notification from any hardware resource or the like, and first refers to the content (value) of the log storage area designation information set in advance in step S101. Then, the log storage area in the storage unit is determined by acquiring the start address of the log storage area in the storage unit, and the log storage area number n is preset in step S102 (according to the program stored in the ROM or the like). ) Compare with the log storable number (maximum value) and determine whether or not the log storable area number n has reached the log storable number.

そして、ログ保存エリア番号nがログ保存可能数に達していない場合には、ステップS103でログ保存エリア番号nをインクリメント(n=n+1)し、ステップS104で上記通知に関するログを作成してログ保存エリア番号nによる指定エリアに書き込んで保存させる。
ログ保存エリア番号nがログ保存可能数に達した場合、つまりログ保存エリアに空きがなくなった場合には、ステップS105でログ保存エリア番号nを初期化(n=1)し、ステップS104で上記通知に関するログを作成してログ保存エリア番号nによる指定エリアに書き込んで保存させる。このとき、ログ保存エリア番号nが「1」であり、そのログ保存エリア番号「1」による指定エリアには最も古いログが保存されているため、そのログに上記通知に関する最新のログを上書きすることになる。
If the log storage area number n has not reached the log storable number, the log storage area number n is incremented (n = n + 1) in step S103, and the log related to the notification is created and stored in step S104. Write and save in the designated area by area number n.
When the log storage area number n reaches the number of logs that can be stored, that is, when the log storage area is full, the log storage area number n is initialized (n = 1) in step S105, and the above-described operation is performed in step S104. A log related to the notification is created and written and saved in a designated area by log storage area number n. At this time, since the log storage area number n is “1” and the oldest log is stored in the designated area by the log storage area number “1”, the latest log related to the notification is overwritten on the log. It will be.

このように、図34〜図36によって説明したログ保存処理によれば、ログ管理が必要な複数のハードウェア資源のCPU(処理実行手段)のいずれかから所定の通知がある度に、その各通知に関するログを順次作成し、例えば図37に示すように、記憶手段のログ保存エリア(所定記憶領域)に順次書き込み、そのログ保存エリアに空きがなくなった場合に最も古いログに上書きする(ログ書き込み制御)ようにしているため、ポーリング等の頻繁に行われる処理によって発生する通知により、ログ保存エリア上のログが次々に上書きされてしまい、重要な通知に関するログが機器利用者もしくは機器管理者によって確認される前に消えてしまうという問題があった。   In this way, according to the log storage processing described with reference to FIGS. 34 to 36, each time there is a predetermined notification from any of the CPUs (processing execution means) of a plurality of hardware resources that require log management, For example, as shown in FIG. 37, logs related to notification are sequentially written in the log storage area (predetermined storage area) of the storage means, and when the log storage area is full, the oldest log is overwritten (log) As a result of notifications that occur due to frequent processing such as polling, logs in the log storage area are overwritten one after another, and logs related to important notifications are stored in the device user or device administrator. There was a problem of disappearing before being confirmed by.

次に、上述した画像形成装置遠隔管理システムにおける画像形成装置によるログ取得のための操作およびログ取得処理について、図38〜図41を参照して詳細に説明する。
図38および図39は、従来の画像形成装置の操作パネルによるログ取得のための操作手順を説明するための説明図である。
画像形成装置のCPUは、例えば操作パネルのタッチパネル上のログ表示キー2001がタッチ(押下)されると、記憶手段のログ保存エリアに保存されている複数のログ(この例では最新10個のログ)にそれぞれ対応する「1」キー2002a,「2」キー2002b,「3」キー2002c,・・・,「10」キー2002jをタッチパネル上に表示させる。
Next, an operation for log acquisition and log acquisition processing by the image forming apparatus in the above-described image forming apparatus remote management system will be described in detail with reference to FIGS.
38 and 39 are explanatory diagrams for explaining an operation procedure for log acquisition by an operation panel of a conventional image forming apparatus.
When the log display key 2001 on the touch panel of the operation panel is touched (pressed), for example, the CPU of the image forming apparatus can store a plurality of logs (in this example, the latest 10 logs) stored in the log storage area. ), “1” key 2002a, “2” key 2002b, “3” key 2002c,..., “10” key 2002j are displayed on the touch panel.

その後、例えば「1」キー2002aがタッチされると、ログ表示エリア2003上に「1」キー2002aに対応するログを記憶手段のログ保存エリアから読み出し、そのログを図37に示すようにログ表示エリア2003に表示させる。
また、「2」キー2002aがタッチされると、ログ表示エリア2003上に「2」キー2002aに対応するログを記憶手段のログ保存エリアから読み出し、そのログを図39に示すようにログ表示エリア2003に表示させる。
この場合、記憶手段のログ保存エリアでは、前述したように、空きがなければ、新たに生成された最新ログ(最も新しいログ)が最古ログ(最も古いログ)に上書きされるため、その最古ログが重要なログであれば、それを確認することはできない。また、重要なログが最新ログの上書きによって消去されていない場合でも、ログ保存エリアには各種のログが混在して保存されるため、機器利用者もしくは機器管理者が重要なログを直ちに読み出して確認することは難しい。
Thereafter, for example, when the “1” key 2002a is touched, the log corresponding to the “1” key 2002a is read from the log storage area of the storage means on the log display area 2003, and the log is displayed as shown in FIG. It is displayed in area 2003.
When the “2” key 2002a is touched, the log corresponding to the “2” key 2002a is read from the log storage area of the storage means on the log display area 2003, and the log is displayed in the log display area as shown in FIG. 2003 is displayed.
In this case, as described above, if there is no space in the log storage area of the storage means, the newly generated latest log (newest log) is overwritten with the oldest log (oldest log). If the old log is an important log, it cannot be confirmed. Even if important logs are not erased by overwriting the latest log, various logs are mixed and stored in the log storage area, so the device user or device administrator can read out important logs immediately. It is difficult to confirm.

図40および図41は、従来の画像形成装置と通信可能な外部装置によるログ取得のための操作手順を説明するための説明図である。
画像形成装置のCPUは、例えばウェブ(Web)ブラウザを用いてインタネット等のネットワーク経由で通信可能なパーソナルコンピュータ(以下「パソコン」と略称する)やワークステーション等のウェブデバイス(他の外部装置でもよい)に備えられている図40に示す表示部上のログ取得キー2010がキーボードやポインティングデバイス(マウス等)によって選択されることにより、そのウェブデバイスからログ取得要求があるので、記憶手段のログ保存エリアに保存されているログ(この例では最新2個のログ)を記憶手段のログ保存エリアから読み出し、そのログを図41に示すように表示部に表示させる。
40 and 41 are explanatory diagrams for explaining an operation procedure for log acquisition by an external apparatus that can communicate with a conventional image forming apparatus.
The CPU of the image forming apparatus may be a personal computer (hereinafter abbreviated as “personal computer”) or a workstation such as a workstation that can communicate via a network such as the Internet using a web browser. 40, the log acquisition key 2010 on the display unit shown in FIG. 40 is selected by a keyboard or a pointing device (such as a mouse), so that there is a log acquisition request from the web device. Logs stored in the area (the latest two logs in this example) are read from the log storage area of the storage means, and the logs are displayed on the display unit as shown in FIG.

この場合、記憶手段のログ保存エリアでは、空きがなければ、やはり新たに生成された最新ログが最古ログに上書きされるため、その最古ログが重要なログであれば、それを確認することはできない。また、重要なログが最新ログの上書きによって消されていない場合でも、ログ保存エリアには各種のログが混在して保存されるため、機器利用者もしくは機器管理者が重要なログを直ちに読み出して確認することは難しい。   In this case, if there is no space in the log storage area of the storage means, the newest newly generated log is overwritten on the oldest log, so if the oldest log is important, check it It is not possible. Even when important logs are not erased by overwriting the latest log, various logs are mixed and stored in the log storage area, so the device user or device administrator can read out the important logs immediately. It is difficult to confirm.

そこで、ログ保存エリアに保存されたログを全てサービスセンタの管理装置へ送信することも考えられるが、その送信を行う画像形成装置あるいは仲介装置(ラインアダプタ)の設置台数はかなり多いため、それらから頻繁に送られてくるログを全て保存することは、技術面およびコスト面から非常に難しい。
この発明は、上記の問題点に鑑みてなされたものであり、画像形成装置等の電子装置で生成(作成)された重要な通知に関するログを機器利用者もしくは機器管理者がコストアップせずに簡単且つ確実に確認できるようにすることを目的とする。
Therefore, it is conceivable to transmit all the logs stored in the log storage area to the management device of the service center. However, since the number of installed image forming apparatuses or intermediary apparatuses (line adapters) that perform the transmission is quite large, Preserving all frequently sent logs is very difficult from a technical and cost standpoint.
The present invention has been made in view of the above-described problems, and a device user or device administrator does not increase the cost of a log related to an important notification generated (created) by an electronic device such as an image forming device. The purpose is to enable easy and reliable confirmation.

この発明は、上記の目的を達成するため、電子装置と、その遠隔管理システム、および上記電子装置のログ管理方法、並びに上記電子装置を制御するコンピュータに必要な機能を実現させるためのプログラムを提供する。   In order to achieve the above object, the present invention provides an electronic device, a remote management system thereof, a log management method for the electronic device, and a program for realizing functions necessary for a computer that controls the electronic device. To do.

請求項1の発明による電子装置は、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段と、該手段によって生成されるログを上記記憶手段の所定記憶領域に書き込み、該所定記憶領域に空きがなくなった場合に最も古いログに上書きするログ書込制御手段とを有する電子装置であって、上記ログ生成手段によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定(選択)する領域管理手段と、ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得手段と、該手段によって取得されたログを上記ログ取得要求によって指示された出力先へ出力するログ出力手段とを設け、上記管理情報を、上記ログ生成手段によって生成されるログを上記グループ分けして上記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものとし、上記ログ書込制御手段を、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断手段を有し、該判断手段による判断の結果、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に上記ログ生成手段によって生成されるログを書き込み、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに上記ログ生成手段によって生成されるログを上書きする手段としたものである。 In the electronic device according to the first aspect of the present invention, there is a notification that one of a plurality of types of abnormalities has occurred from any of a storage unit that stores and saves information and a plurality of processing execution units that require log management. If any of the cases, or among a plurality of types of events including abnormal and warnings there was a notification to the effect that occurs, a log generation means for generating respectively a log relating to the notification is generated by said means An electronic apparatus having a log writing control unit that writes a log to a predetermined storage area of the storage unit and overwrites the oldest log when the predetermined storage area is full, and is generated by the log generation unit that the predetermined storage area as a log can be saved grouped in a plurality has management information for managing a plurality of divided regions, the on the basis of the management information x A region managing means for specifying a write destination of the divided region of the log (selection) generated by the generating means, when there is a log acquisition request is stored in the divided region of the logging destination instructed by the log acquisition request Log acquisition means for acquiring a log that is stored, and log output means for outputting the log acquired by the means to the output destination specified by the log acquisition request, and generating the management information by the log generation means The log write control means includes the log of the divided area designated by the area management means, and includes the log storable number that is the number that can be saved in the plurality of divided areas. It has a judging means for judging whether or not the number of saved logs has reached the corresponding log storable number. If the log storage count of the divided area does not reach the corresponding log storable number, the log generated by the log generation means is written to the divided area, and the log of the divided area designated by the area management means is written. When the log storage number reaches the corresponding log storable number, the oldest log stored in the divided area is overwritten with the log generated by the log generation unit .

請求項2の発明による電子装置は、請求項1の電子装置において、上記領域管理手段を、上記ログ生成手段による初めてのログ生成時に、上記管理情報に基づいて該ログを含む上記ログ生成手段によって生成されるログを上記グループ分けして保存するための上記複数の分割領域を決定する手段を有し、該手段による決定結果に従って上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する手段としたものである。
請求項3の発明による電子装置は、請求項1又は2の電子装置において、上記出力先を、情報を表示する表示部を有する操作手段としたものである。
請求項4の発明による電子装置は、請求項1又は2の電子装置において、上記出力先を、情報を印刷する印刷手段としたものである。
According to a second aspect of the present invention, there is provided an electronic apparatus according to the first aspect, wherein the area management unit is configured to cause the log generation unit to include the log based on the management information when the log generation unit generates the log for the first time . Means for determining the plurality of divided areas for storing the generated logs by grouping , and designating a divided area to which the log generated by the log generating means is written according to a determination result by the means It is a means to do.
An electronic device according to a third aspect of the present invention is the electronic device according to the first or second aspect, wherein the output destination is an operating means having a display unit for displaying information.
An electronic device according to a fourth aspect of the present invention is the electronic device according to the first or second aspect, wherein the output destination is a printing means for printing information.

請求項5の発明による電子装置は、請求項1又は2の電子装置において、外部装置と通信する通信手段を設け、上記ログ出力手段を、上記ログ取得要求によって指示された出力先が上記外部装置の場合に、上記ログ取得手段によって取得されたログを上記通信手段によって上記外部装置へ送信させる手段としたものである。
請求項6の発明による電子装置は、請求項5の電子装置において、上記通信手段に、上記外部装置へ送信すべきログを構造化言語形式に変換する手段を備えたものである。
According to a fifth aspect of the present invention, there is provided an electronic device according to the first or second aspect, further comprising communication means for communicating with an external device, wherein the log output means has an output destination designated by the log acquisition request as the external device. In this case, the log acquired by the log acquisition unit is transmitted by the communication unit to the external device.
An electronic device according to a sixth aspect of the invention is the electronic device according to the fifth aspect, wherein the communication means includes means for converting a log to be transmitted to the external device into a structured language format.

請求項7の発明による遠隔管理システムは、管理装置によりネットワークを介して複数の電子装置を遠隔管理する遠隔管理システムであって、上記複数の電子装置にそれぞれ、上記管理装置と通信する通信手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段と、該手段によって生成されるログを上記記憶手段の所定記憶領域に書き込み、該所定記憶領域に空きがなくなった場合に最も古いログに上書きするログ書込制御手段と、上記ログ生成手段によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理手段と、ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得手段と、上記ログ取得要求によって指示された出力先が上記外部装置の場合に、上記ログ取得手段によって取得されたログに自己の識別情報を付加して上記通信手段によって上記管理装置へ送信させるログ送信手段とを設け、上記管理情報を、上記ログ生成手段によって生成されるログを上記グループ分けして上記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものとし、上記ログ書込制御手段を、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断手段を有し、該判断手段による判断の結果、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に上記ログ生成手段によって生成されるログを書き込み、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに上記ログ生成手段によって生成されるログを上書きする手段としたものである。 A remote management system according to a seventh aspect of the present invention is a remote management system in which a plurality of electronic devices are remotely managed by a management device via a network, and each of the plurality of electronic devices communicates with the management device. , When there is a notification that any of a plurality of types of abnormality has occurred from any of a storage unit for storing and storing information and a plurality of processing execution units that require log management , or includes an abnormality and a warning If any of the plurality of types of events there is a notification to the effect that occurs, a log generation means for generating respective logs of the notification, the logs generated by the unit in a predetermined storage area of the memory means Log write control means for overwriting the oldest log when the predetermined storage area is full, and a log generated by the log generation means The predetermined memory area to be able to store loops divided in a plurality has management information for managing a plurality of divided regions, write the log generated by the log generation means based on said management information An area management unit for designating a divided area, a log acquisition unit for acquiring a log stored in a log acquisition destination divided area designated by the log acquisition request when there is a log acquisition request, and the log Log transmission means for adding the identification information to the log acquired by the log acquisition means and transmitting to the management apparatus by the communication means when the output destination instructed by the acquisition request is the external device; Log storage that is the number that can be stored in the plurality of divided areas by dividing the log generated by the log generation means into the group. The log writing control means has a judging means for judging whether or not the log storage number of the divided area designated by the area management means has reached a corresponding log storable number, As a result of the determination by the determination means, if the log storage count of the divided area designated by the area management means does not reach the corresponding log storable number, the log generated by the log generation means in the divided area When the log storage count of the divided area designated by the area management means reaches the corresponding log storable number, the oldest log stored in the divided area is generated by the log generation means. This is a means of overwriting the log .

請求項8の発明による遠隔管理システムは、請求項7の遠隔管理システムにおいて、上記複数の電子装置にそれぞれ、ログ取得要求用の操作スイッチを有する操作手段を設け、上記ログ取得手段を、上記操作手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得する手段としたものである。
請求項9の発明による遠隔管理システムは、請求項7の遠隔管理システムにおいて、上記ログ取得手段を、上記管理装置からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得する手段としたものである。
According to an eighth aspect of the present invention, there is provided a remote management system according to the seventh aspect, wherein in the remote management system according to the seventh aspect , each of the plurality of electronic devices is provided with an operation unit having an operation switch for log acquisition request. When there is a log acquisition request from the means, the log is stored in the log acquisition destination divided area designated by the log acquisition request.
A remote management system according to a ninth aspect of the present invention is the remote management system according to the seventh aspect, wherein when the log acquisition request is issued from the management device, the log acquisition unit is instructed by the log acquisition request. This is a means for obtaining a log stored in the divided area.

請求項10の発明による遠隔管理システムは、管理装置によりネットワークおよび複数の仲介装置を介して複数の電子装置を遠隔管理する遠隔管理システムであって、上記複数の電子装置にそれぞれ、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段と、該手段によって生成されるログを上記記憶手段の所定記憶領域に書き込み、該所定記憶領域に空きがなくなった場合に最も古いログに上書きするログ書込制御手段と、上記ログ生成手段によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理手段と、ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得手段と、上記ログ取得要求によって指示されたログ出力先が上記管理装置の場合に、上記ログ取得手段によって取得されたログに自己の識別情報を付加して自己に接続されている仲介装置へ送出するログ送出手段とを設け、上記複数の仲介装置にそれぞれ、上記管理装置と通信する通信手段と、自己に接続されている電子装置から送られてくるログに自己の識別情報を付加して上記通信手段によって上記管理装置へ送信させるログ送信手段とを設け、上記管理情報を、上記ログ生成手段によって生成されるログを上記グループ分けして上記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものとし、上記ログ書込制御手段を、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断手段を有し、該判断手段による判断の結果、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に上記ログ生成手段によって生成されるログを書き込み、上記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに上記ログ生成手段によって生成されるログを上書きする手段としたものである。 A remote management system according to a tenth aspect of the present invention is a remote management system in which a plurality of electronic devices are remotely managed by a management device via a network and a plurality of intermediary devices, and information is stored and stored in each of the plurality of electronic devices. Storage means and a plurality of processing execution means that require log management to notify that any of a plurality of types of abnormalities has occurred, or a plurality of types of events including abnormalities and warnings If any of the out there was a notification of the occurrence, the write and the log generating means for generating respective logs of the notification, the logs generated by the unit in a predetermined storage area of the memory means, the predetermined storage Log write control means that overwrites the oldest log when there is no more space in the area and the log generated by the log generation means are grouped The predetermined memory area to be able to store Te is divided into a plurality has management information for managing the plurality of divided regions, the divided region of write destination of logs generated by the log generation means based on said management information The area management means for specifying the log, the log acquisition means for acquiring the log stored in the log acquisition destination divided area designated by the log acquisition request when there is a log acquisition request, and the log acquisition request When the instructed log output destination is the management apparatus, log sending means for adding the identification information to the log acquired by the log acquisition means and sending the log to the mediation apparatus connected to the log is provided. Each of the plurality of intermediary devices adds communication information for communicating with the management device and the log sent from the electronic device connected to the plurality of mediation devices, and adds the identification information to It provided a log transmission means for transmitting to said management apparatus by means log store the management information, the number that can be stored respectively to the plurality of divided regions of logs generated by the grouping by the log generating means The log writing control means has a judging means for judging whether or not the log storage number of the divided area designated by the area management means has reached the corresponding log storage possible number, As a result of the determination by the determination means, if the log storage count of the divided area designated by the area management means does not reach the corresponding log storable number, the log generated by the log generation means in the divided area When the number of log saves in the divided area designated by the area management means reaches the corresponding log storable number, the log is saved in the divided area. The oldest log is a means for overwriting the log generated by the log generation means .

請求項11の発明による遠隔管理システムは、請求項10の遠隔管理システムにおいて、上記複数の電子装置にそれぞれ、ログ取得要求用の操作スイッチを有する操作手段を設け、上記ログ取得手段を、上記操作手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得する手段としたものである。
請求項12の発明による遠隔管理システムは、請求項10の遠隔管理システムにおいて、上記ログ取得手段を、上記管理装置から自己に接続されている仲介装置を介してログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得する手段としたものである。
The remote management system according to an eleventh aspect of the present invention is the remote management system according to the tenth aspect , wherein each of the plurality of electronic devices is provided with operation means having an operation switch for log acquisition request, and the log acquisition means When there is a log acquisition request from the means, the log is stored in the log acquisition destination divided area designated by the log acquisition request.
A remote management system according to a twelfth aspect of the invention is the remote management system according to the tenth aspect, wherein when the log acquisition request is received from the management device via a mediation device connected to itself, This is means for acquiring a log stored in a log acquisition destination divided area designated by the log acquisition request.

請求項13の発明によるログ管理方法は、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、上記ログ生成手段によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、上記指定した分割領域に上記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、上記指定した分割領域に保存されている最も古いログに上記ログ生成手段によって生成されるログを上書きすると共に、ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを該ログ取得要求によって指示された出力先へ出力するものである。 In the log management method according to the thirteenth aspect of the present invention, a notification that any one of a plurality of types of abnormalities has occurred from any one of a storage unit that stores and saves information and a plurality of processing execution units that require log management. If the case there, or any of a plurality of types of events including abnormal and warnings had notification of the occurrence, the log management in an electronic device having a log generation means for generating respective logs of the notification A method of dividing the predetermined storage area into a plurality of divisions and managing the plurality of divided areas respectively so that the logs generated by the log generation means can be grouped and saved. has a management information including the number log storable number is possible, specify the divided region of write destination of logs generated by the log generation means based on said management information , The number stored in the log divided regions the specified to determine whether it has reached the log storable number corresponding, if it does not reach the corresponding log storable number of the logs to the divided regions specified above When the log generated by the generation unit is written and the corresponding log storable number is reached, the oldest log stored in the specified divided area is overwritten with the log generated by the log generation unit. When there is a log acquisition request, after acquiring the log stored in the log acquisition destination divided area instructed by the log acquisition request, the log is output to the output destination instructed by the log acquisition request To do.

請求項14の発明によるログ管理方法は、ログ取得要求用の操作スイッチおよび情報を表示する表示部を有する操作手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、上記ログ生成手段によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、上記指定した分割領域に上記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、上記指定した分割領域に保存されている最も古いログに上記ログ生成手段によって生成されるログを上書きすると共に、上記操作表示手段からログ取得要求があり、該ログ取得要求によって指示された出力先が上記操作表示手段の場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを上記操作手段に出力して上記表示部に表示させるものである。 According to a fourteenth aspect of the present invention, there is provided a log management method comprising: an operation switch for log acquisition request; an operation unit having a display unit for displaying information; a storage unit for storing and storing information; and a plurality of process execution units that require log management When there is a notification that one of multiple types of abnormalities has occurred from any of the above, or when there is a notification that one of multiple types of events including abnormalities and warnings has occurred , a log management method in an electronic device having a log generation means for generating respective logs of the notification, the predetermined storage area as a log can be saved by grouping the plurality generated by the log generating means divided and has a management information including a log can be saved numbers respectively number that can be stored in the plurality of divided regions for managing a plurality of divided regions, to the management information Specifies the divided region of write destination of logs generated by the log generation means Zui, the number stored in the log divided regions the specified to determine whether it has reached the log storable number corresponding the corresponding If the number of logs that can be saved has not been reached, the log generated by the log generation means is written to the specified divided area, and if the corresponding number of logs that can be saved is reached, the log is saved in the specified divided area. When the log generated by the log generation unit is overwritten on the oldest log that has been generated , and there is a log acquisition request from the operation display unit, and the output destination instructed by the log acquisition request is the operation display unit After acquiring the log stored in the log acquisition destination divided area designated by the log acquisition request, the log is output to the operation means and displayed on the display unit. It is intended.

請求項15の発明によるログ管理方法は、ログ取得要求用の操作スイッチを有する操作手段と、情報を印刷する印刷手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、上記ログ生成手段によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、上記指定した分割領域に上記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、上記指定した分割領域に保存されている最も古いログに上記ログ生成手段によって生成されるログを上書きすると共に、上記操作手段からログ取得要求があり、該ログ取得要求によって指示された出力先が上記印刷手段の場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを上記印刷手段に出力して用紙に印刷させるものである。 According to a fifteenth aspect of the present invention, there is provided a log management method comprising: an operation unit having an operation switch for log acquisition request; a print unit for printing information; a storage unit for storing and storing information; and executing a plurality of processes requiring log management When there is a notification that one of multiple types of abnormalities has occurred from any of the means , or when there is a notification that one of multiple types of events including abnormalities or warnings has occurred a plurality a log management method in an electronic device, the predetermined storage area can be saved by grouping log generated by the log generating means and a log generation means for generating respective logs of the notification split has a management information including a log storable number respectively number that can be stored in the plurality of divided regions for managing a plurality of divided regions, to the management information Specifies the divided region of write destination of logs generated by the log generation means Zui, the number stored in the log divided regions the specified to determine whether it has reached the log storable number corresponding the corresponding If the number of logs that can be saved has not been reached, the log generated by the log generation means is written to the specified divided area, and if the corresponding number of logs that can be saved is reached, the log is saved in the specified divided area. The log generated by the log generating unit is overwritten on the oldest log that has been recorded, and there is a log acquisition request from the operation unit, and the output destination instructed by the log acquisition request is the printing unit. After acquiring the log stored in the log acquisition destination divided area designated by the log acquisition request, the log is output to the printing means and printed on paper.

請求項16の発明によるログ管理方法は、ログ取得要求用の操作スイッチを有する操作手段と、外部装置と通信する通信手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、上記ログ生成手段によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、上記指定した分割領域に上記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、上記指定した分割領域に保存されている最も古いログに上記ログ生成手段によって生成されるログを上書きすると共に、上記操作手段からログ取得要求があり、該ログ取得要求によって指示された出力先が上記外部装置の場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを上記通信手段によって上記外部装置へ送信させるものである。 According to a sixteenth aspect of the present invention, there is provided a log management method comprising: an operation unit having an operation switch for log acquisition request; a communication unit that communicates with an external device; a storage unit that stores and saves information; and a plurality of processes that require log management When there is a notification from one of the execution means that one of multiple types of abnormalities has occurred, or there is a notification that one of multiple types of events including abnormalities and warnings has occurred when, a log management method in an electronic device having a log generation means for generating respective logs of the notification, the predetermined storage area can be saved by grouping log generated by the log generating means is divided into a plurality has a management information including a log can be saved numbers respectively number that can be stored in the plurality of divided regions for managing a plurality of divided regions, the management information It is determined whether the designated divided region of write destination of logs generated by the log generation means, whether the number stored in the log divided regions the designated reaches the log storable number corresponding based on the corresponding If the number of logs that can be saved has not been reached, the log generated by the log generation means is written to the specified divided area, and if the corresponding number of logs that can be saved is reached, the specified divided area is written. Overwrite the log generated by the log generation unit to the oldest stored log, and there is a log acquisition request from the operation unit, and the output destination instructed by the log acquisition request is the external device, After acquiring the log stored in the log acquisition destination divided area designated by the log acquisition request, the log is transmitted to the external device by the communication means. It is.

請求項17の発明によるログ管理方法は、外部装置と通信する通信手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、上記ログ生成手段によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、上記指定した分割領域に上記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、上記指定した分割領域に保存されている最も古いログに上記ログ生成手段によって生成されるログを上書きすると共に、上記外部装置からログ取得要求があり、該ログ取得要求によって指示された出力先が上記外部装置の場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを上記通信手段によって上記外部装置へ送信させるものである。 According to a seventeenth aspect of the present invention, there is provided a log management method comprising: a communication unit that communicates with an external device; a storage unit that stores and saves information; and a plurality of processing execution units that require log management . Log generation that generates a log for each notification when there is a notification that one of them has occurred or when there is a notification that one of multiple types of events including abnormalities and warnings has occurred A log management method in an electronic apparatus comprising: means for managing the plurality of divided areas by dividing the predetermined storage area into a plurality of groups so that the logs generated by the log generation means can be grouped and stored has a management information to the plurality of divided regions, including a log storable number is the number that can be stored, respectively, b generated by the log generation means based on said management information Of specifying the write destination of the divided regions, the number stored in the log divided regions the specified to determine whether it has reached the log storable number corresponding, if it does not reach the corresponding log storable number The log generation means writes the log generated by the log generation means in the designated divided area, and when the corresponding log storable number is reached, the log generation means is added to the oldest log saved in the designated divided area. When the log acquisition request is received from the external device and the output destination instructed by the log acquisition request is the external device, the log acquisition destination of the log acquisition destination instructed by the log acquisition request is overwritten. After acquiring the log stored in the divided area, the log is transmitted to the external device by the communication means.

請求項18の発明によるプログラムは、情報を記憶保存する記憶手段を有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に上記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、該機能によって取得されたログを上記ログ取得要求によって指示された出力先へ出力するログ出力機能とを実現させるためのプログラムであり、上記管理情報を、上記ログ生成機能によって生成されるログを上記グループ分けして上記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものとし、上記ログ書込制御機能を、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に上記ログ生成機能によって生成されるログを書き込み、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに上記ログ生成機能によって生成されるログを上書きする機能としたものである。 According to an eighteenth aspect of the present invention, there is provided a program for controlling an electronic apparatus having a storage unit for storing and storing information, from any one of a plurality of processing execution functions requiring log management to any one of a plurality of types of abnormalities. If the case was a notification of the occurrence, or any of a plurality of types of events including abnormal and warnings had notification of the occurrence, the log generation function of generating respective logs of the notification, The log generation means has management information for managing the plurality of divided areas by dividing the predetermined storage area so that the logs generated by the function can be grouped and stored, and based on the management information generating a space management feature that specifies the writing destination of the divided region of logs generated by the log generation function in the specified split region by the function by Log write control function that overwrites the oldest log when there is no space in the divided area, and the log acquisition destination that is instructed by the log acquisition request when there is a log acquisition request A program for realizing a log acquisition function for acquiring a log stored in an area and a log output function for outputting a log acquired by the function to an output destination designated by the log acquisition request , The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by dividing the log generated by the log generating function into the group, and the log writing control function is A determination function for determining whether or not the log storage count of the divided area designated by the management function has reached the corresponding log storage count; As a result of the disconnection, if the log storage count of the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, When the number of logs saved in the divided area specified by the area management function reaches the number of logs that can be saved, the oldest log saved in the divided area is overwritten with the log generated by the log generation function. It is a function to do .

請求項19の発明によるプログラムは、ログ取得要求用の操作スイッチおよび情報を表示する表示部を有する操作手段と、情報を記憶保存する記憶手段とを有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に上記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、前記操作手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、上記ログ取得要求によって指示されたログ出力先が上記操作表示手段の場合に、上記ログ取得機能によって取得されたログを前記操作手段に出力して前記表示部に表示させるログ出力機能とを実現させるためのプログラムであり、上記管理情報を、上記ログ生成機能によって生成されるログを上記グループ分けして上記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものとし、上記ログ書込制御機能を、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に上記ログ生成機能によって生成されるログを書き込み、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに上記ログ生成機能によって生成されるログを上書きする機能としたものである。 According to a nineteenth aspect of the present invention, there is provided a program for managing a log in a computer that controls an electronic device having an operation switch for log acquisition request, an operation unit having a display unit for displaying information, and a storage unit for storing and storing information. When there is a notification that one of multiple types of abnormalities has occurred from one of the required multiple process execution functions , or that one of multiple types of events including abnormalities and warnings has occurred of when notice there is a log generation function of generating respective logs of the notification, dividing said dividing a predetermined storage area into a plurality of multiple so that it can store grouped logs generated by the function has a management information for managing the area, territory specifying the divided region of write destination of logs generated by the log generation means based on said management information A management function, a log writing control function for writing the log generated by the log generation function in the divided area specified by the function, and overwriting the oldest log when the divided area is full, and the operation When there is a log acquisition request from the means, a log acquisition function for acquiring a log stored in the log acquisition destination divided area instructed by the log acquisition request, and a log output destination instructed by the log acquisition request Is a program for realizing a log output function for outputting the log acquired by the log acquisition function to the operation means and displaying the log on the display unit when the operation display means is used. The log generated by the log generation function is grouped and includes the number of logs that can be stored in the plurality of divided areas. The log writing control function has a determination function for determining whether or not the log storage count of the divided area specified by the area management function has reached a corresponding log storage count, and the determination function As a result of the determination by (2), if the log storage count of the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, When the number of logs saved in the divided area specified by the area management function reaches the corresponding log storable number, the log generated by the log generation function is added to the oldest log stored in the divided area. This is an overwriting function .

請求項20の発明によるプログラムは、ログ取得要求用の操作スイッチを有する操作手段と、情報を印刷する印刷手段と、情報を記憶保存する記憶手段とを有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に上記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、上記操作表示手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、上記ログ取得要求によって指示された出力先が上記印刷手段の場合に、上記ログ取得機能によって取得されたログを上記印刷手段に出力して用紙に印刷させるログ出力機能とを実現させるためのプログラムであり、上記管理情報を、上記ログ生成機能によって生成されるログを上記グループ分けして上記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものとし、上記ログ書込制御機能を、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に上記ログ生成機能によって生成されるログを書き込み、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに上記ログ生成機能によって生成されるログを上書きする機能としたものである。 A program according to a twentieth aspect of the invention provides a log management program for a computer that controls an electronic device having an operation means having an operation switch for log acquisition request, a printing means for printing information, and a storage means for storing and storing information. When there is a notification that one of multiple types of abnormalities has occurred from one of multiple processing execution functions that require the error, or one of multiple types of events including abnormalities and warnings has occurred when there is effect that the notification, the log generation function of generating respective logs of the notification, the plurality of dividing the predetermined storage area to be able to store grouped the logs generated plurality by the function has a management information for managing the divided regions, Ryo specifying a divided area of the write destination of logs generated by the log generation means based on said management information A management function, a log writing control function for writing the log generated by the log generation function in the divided area specified by the function, and overwriting the oldest log when the divided area is full, and the operation When there is a log acquisition request from the display means, a log acquisition function for acquiring a log stored in the log acquisition destination divided area instructed by the log acquisition request, and an output destination instructed by the log acquisition request Is a program for realizing a log output function for outputting the log acquired by the log acquisition function to the printing means and printing it on paper when the printing means is the printing means, and generating the management information as the log generation Logs generated by the function are grouped into the above groups and include log storable numbers that are the numbers that can be stored in the plurality of divided areas, respectively. The log writing control function has a determination function for determining whether or not the log storage count of the divided area designated by the area management function has reached the corresponding log storage count. As a result, when the number of logs stored in the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, and the area management is performed. A function to overwrite the log generated by the log generation function to the oldest log stored in the divided area when the number of log saves of the divided area specified by the function reaches the corresponding log storable number It is what .

請求項21の発明によるプログラムは、ログ取得要求用の操作スイッチを有する操作手段と、外部装置と通信する通信手段と、情報を記憶保存する記憶手段とを有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に上記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、上記操作手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、上記ログ取得要求によって指示された出力先が上記外部装置の場合に、上記ログ取得機能によって取得されたログを上記通信手段によって上記外部装置へ送信させるログ出力機能とを実現させるためのプログラムであり、上記管理情報を、上記ログ生成機能によって生成されるログを上記グループ分けして上記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものとし、上記ログ書込制御機能を、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に上記ログ生成機能によって生成されるログを書き込み、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに上記ログ生成機能によって生成されるログを上書きする機能としたものである。 According to a twenty-first aspect of the present invention, there is provided a program stored in a computer for controlling an electronic apparatus having an operation unit having an operation switch for log acquisition request, a communication unit communicating with an external device, and a storage unit storing and storing information. When there is a notification that one of multiple types of abnormalities has occurred from one of multiple processing execution functions that require management , or one of multiple types of events including abnormalities and warnings has occurred when there is the effect that notification, multiple by dividing the log relating to the notification and log generation function of generating respectively a plurality of the predetermined memory area can be saved by grouping the logs generated by the function has a management information for managing the divided areas, specify the divided region of write destination of logs generated by the log generation means based on said management information An area management function, a log writing control function for writing the log generated by the log generation function in the divided area specified by the function, and overwriting the oldest log when there is no more space in the divided area; When there is a log acquisition request from the operation means, a log acquisition function for acquiring a log stored in the log acquisition destination divided area instructed by the log acquisition request, and an output destination instructed by the log acquisition request Is a program for realizing a log output function for transmitting the log acquired by the log acquisition function to the external apparatus by the communication means when the external apparatus is the external apparatus , and the management information is stored in the log generation function. Including the log storable number, which is the number that can be stored in the plurality of divided areas by dividing the log generated by The log writing control function has a determination function for determining whether or not the log storage count of the divided area specified by the area management function has reached the corresponding log storage capacity, As a result of the determination, when the log storage count of the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, and When the number of logs saved in the divided area specified by the area management function reaches the number of logs that can be saved, the oldest log saved in the divided area is overwritten with the log generated by the log generation function. It is a function to do.

請求項22の発明によるプログラムは、外部装置と通信する通信手段と、情報を記憶保存する記憶手段とを有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように上記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて上記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に上記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、上記外部装置からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、上記ログ取得要求によって指示された出力先が上記外部装置の場合に、上記ログ取得機能によって取得されたログを上記通信手段によって上記外部装置へ送信させるログ出力機能とを実現させるためのプログラムであり、上記管理情報を、上記ログ生成機能によって生成されるログを上記グループ分けして上記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものとし、上記ログ書込制御機能を、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に上記ログ生成機能によって生成されるログを書き込み、上記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに上記ログ生成機能によって生成されるログを上書きする機能としたものである。 According to a twenty-second aspect of the present invention, there is provided a program according to any one of a plurality of processing execution functions that require log management to a computer that controls an electronic device having a communication unit that communicates with an external device and a storage unit that stores and saves information. When there is a notification that one of multiple types of abnormalities has occurred, or when there is a notification that one of multiple types of events including abnormalities and warnings has occurred , has a management information for managing a log generation function of generating respective logs, the predetermined storage area can be saved by grouping log generated by the function is divided into a plurality of plurality of divided areas, and space management function of specifying the divided region of write destination of logs generated by the log generation means based on said management information, divided territory specified by the function Log writing control function for overwriting the oldest log when there is no space in the divided area, and when there is a log acquisition request from the external device, When the log acquisition function that acquires the log stored in the log acquisition destination divided area specified by the log acquisition request and the output destination specified by the log acquisition request is the external device, the log acquisition function A log output function for transmitting the acquired log to the external device by the communication means , the management information, the log generated by the log generation function is grouped into the group The log storage control number is included in the area management function. Having a determination function for determining whether or not the log storage count of the specified divided area has reached a corresponding log storable number, and as a result of determination by the determination function, the division specified by the area management function If the number of logs saved in the area does not reach the corresponding number of logs that can be saved, the log generated by the log generation function is written to the divided area, and the number of logs saved in the divided area specified by the area management function Is the function of overwriting the log generated by the log generation function to the oldest log stored in the divided area .

この発明によれば、画像形成装置等の通信装置で生成された重要な通知に関するログを機器利用者もしくは機器管理者がコストアップせずに簡単且つ確実に確認することが可能になる。   According to the present invention, it is possible for a device user or a device administrator to easily and surely check a log related to an important notification generated by a communication device such as an image forming device without increasing the cost.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
まず、この発明による通信装置を被管理装置とする遠隔管理システムの構成例について説明する。
図1は、その遠隔管理システムの構成の一例を示す概念図である。なお、ここでは、通信機能を持ち、管理装置によって管理される電子装置(通信装置)を説明の便宜上「被管理装置」と云う。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
First, a configuration example of a remote management system in which a communication device according to the present invention is a managed device will be described.
FIG. 1 is a conceptual diagram showing an example of the configuration of the remote management system. Here, for convenience of explanation, an electronic device (communication device) having a communication function and managed by the management device is referred to as a “managed device”.

この遠隔管理システムは、プリンタ,FAX装置,デジタル複写機,デジタル複合機等の画像形成装置やスキャナ装置などの画像処理装置、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等に通信機能を持たせた電子装置(通信装置)を被管理装置10(10a,10b,10c,10d,10e,10f)とする管理システムである。そして、この被管理装置10と接続される(被管理装置側から見た)外部装置として、被管理装置10とLAN(ローカルエリアネットワーク)等のネットワークによって接続された遠隔管理仲介装置である仲介装置101(101a,101b,101c)、更に仲介装置101とインタネット103(公衆回線等の他のネットワークでもよい)を介して接続されるサーバ装置として機能する管理装置102を備え、当該管理装置102が、仲介装置101を介して各被管理装置10を集中的に遠隔管理できるようにしたものである。被管理装置10および仲介装置101は機器利用者(ユーザ)側のオフィス等に、管理装置102はサービスセンタ(管理センタ)にそれぞれ設置されている。   This remote management system includes image processing devices such as printers, fax machines, digital copiers, digital multifunction devices, and scanners, network home appliances, vending machines, medical equipment, power supplies, air conditioning systems, This is a management system in which an electronic device (communication device) having a communication function in a metering system such as water and electricity is a managed device 10 (10a, 10b, 10c, 10d, 10e, 10f). As an external device connected to the managed device 10 (as viewed from the managed device side), an intermediary device that is a remote management mediation device connected to the managed device 10 via a network such as a LAN (local area network). 101 (101a, 101b, 101c), and a management device 102 that functions as a server device connected to the mediation device 101 via the Internet 103 (may be another network such as a public line). Each managed device 10 can be intensively managed remotely via the mediation device 101. The managed device 10 and the intermediary device 101 are installed in an office on the device user (user) side, and the management device 102 is installed in a service center (management center).

ここで、管理装置102が新たな方式を用いて遠隔管理するサービス(NRS)を実現するために、機器利用者側のLAN等のネットワークに、NRSに対応するソフトウェアを実装した仲介装置101および被管理装置10が接続されている。その仲介装置101および被管理装置10には、管理装置102が従来の方式を用いて遠隔管理するサービス(CSS)も実現するために、CSSに対応するソフトウェアも実装している。NRSを実現するためには、CSSを実現する場合と同様に、仲介装置101および被管理装置10を初期設置すればよい。
公衆回線(又は専用回線)としては、アナログ回線,ADSL回線,デジタル回線(ISDN回線),光ファイバー利用回線等の固定電話回線や、携帯電話回線,PHS回線等の移動電話回線がある。
なお、仲介装置101と被管理装置10との接続は、ネットワークに限らず、RS−485規格等に準拠したシリアル接続や、SCSI(Small Computer System Interface)規格等に準拠したパラレル接続等によって行ってもよい。例えば、RS−485規格の場合には、仲介装置101に直列に5台までの被管理装置10を接続することができる。
Here, in order to realize a service (NRS) remotely managed by the management apparatus 102 using a new method, an intermediary apparatus 101 in which software corresponding to NRS is installed in a network such as a LAN on the device user side, and a target device. A management device 10 is connected. The intermediary device 101 and the managed device 10 are also equipped with software corresponding to CSS in order to realize a service (CSS) that is managed remotely by the management device 102 using a conventional method. In order to realize the NRS, the mediation device 101 and the managed device 10 may be initially installed as in the case of realizing the CSS.
The public line (or dedicated line) includes an analog line, an ADSL line, a digital line (ISDN line), a fixed telephone line such as a fiber optic line, and a mobile telephone line such as a mobile phone line and a PHS line.
The connection between the mediation apparatus 101 and the managed apparatus 10 is not limited to the network, but is performed by serial connection conforming to the RS-485 standard, parallel connection conforming to the SCSI (Small Computer System Interface) standard, or the like. Also good. For example, in the case of the RS-485 standard, up to five managed devices 10 can be connected to the intermediary device 101 in series.

仲介装置101および被管理装置10は、その利用環境に応じて多様な階層構造を成す。
例えば、図1に示す設置環境Aでは、管理装置102とHTTP(Hyper Text Transfer Protocol)による直接的なコネクションを確立できる仲介装置101aが被管理装置10aおよび10bを従える単純な階層構造になっているが、同図に示す設置環境Bでは、4台の被管理装置10を設置するため、1台の仲介装置101を設置しただけでは負荷が大きくなる。そのため、管理装置102とHTTPによる直接的なコネクションを確立できる仲介装置101bが、被管理装置10cおよび10dだけでなく、他の仲介装置101cを従え、この仲介装置101cが被管理装置10eおよび10fを更に従えるという階層構造を形成している。この場合、被管理装置10eおよび10fを遠隔管理するために管理装置102から発せられた情報は、仲介装置101bとその下位のノードである仲介装置101cとを経由して、被管理装置10e又は10fに到達することになる。
The intermediary device 101 and the managed device 10 have various hierarchical structures depending on the usage environment.
For example, in the installation environment A shown in FIG. 1, the intermediary device 101a capable of establishing a direct connection with the management device 102 by HTTP (Hyper Text Transfer Protocol) has a simple hierarchical structure in which the managed devices 10a and 10b follow. However, since the four managed devices 10 are installed in the installation environment B shown in the figure, the load increases only by installing one intermediary device 101. Therefore, the intermediary device 101b that can establish a direct connection with the management device 102 by HTTP follows not only the managed devices 10c and 10d but also another intermediary device 101c, and the intermediary device 101c uses the managed devices 10e and 10f. Furthermore, a hierarchical structure is formed in which it can be followed. In this case, the information issued from the management device 102 for remotely managing the managed devices 10e and 10f is managed by the managed device 10e or 10f via the mediation device 101b and the mediation device 101c which is a lower node. Will be reached.

また、設置環境Cのように、被管理装置10に仲介装置101の機能を併せ持たせた仲介機能付被管理装置(以下単に「被管理装置」ともいう)11a,11bを、別途仲介装置101を介さずにインタネット103によって管理装置102に接続するようにしてもよい。
図示はしていないが、仲介機能付被管理装置11の下位に更に被管理装置10を接続することもできる。
なお、各設置環境A,B,Cには、セキュリティ面を考慮し、ファイアウォール104(104a,104b,104c)を設置する。このファイアウォール104は、プロキシサーバによって構成する。
また、各被管理装置10,11に、ネットワーク経由で外部装置(パーソナルコンピュータ等のウェブデバイスなど)を接続することもできる。
Further, as in the installation environment C, managed devices with mediation functions (hereinafter also simply referred to as “managed devices”) 11 a and 11 b in which the managed device 10 has the functions of the mediation device 101 are separately provided as mediation devices 101. You may make it connect to the management apparatus 102 by the internet 103 without going through.
Although not shown, the managed device 10 can be further connected to the lower level of the managed device 11 with a mediation function.
In each of the installation environments A, B, and C, a firewall 104 (104a, 104b, 104c) is installed in consideration of security. The firewall 104 is configured by a proxy server.
Further, an external device (such as a web device such as a personal computer) can be connected to each managed device 10 or 11 via a network.

このような遠隔管理システムにおいて、仲介装置101は、これに接続された被管理装置10の制御管理のためのアプリケーションプログラムを実装している。
管理装置102は、各仲介装置101の制御管理、更にはこの仲介装置101を介した被管理装置10の制御管理を行うためのアプリケーションプログラムを実装している。そして、被管理装置10も含め、この遠隔管理システムにおけるこれら各ノードは、RPC(remote procedure call)により、相互の実装するアプリケーションプログラムのメソッドに対する処理の依頼である「要求」を送信し、この依頼された処理の結果である「応答」を取得することができるようになっている。
In such a remote management system, the intermediary device 101 has an application program for control management of the managed device 10 connected thereto.
The management apparatus 102 is mounted with an application program for performing control management of each intermediary apparatus 101 and further performing control management of the managed apparatus 10 via the intermediary apparatus 101. Then, each of these nodes in this remote management system including the managed device 10 transmits a “request” which is a request for processing for a method of the application program to be implemented by RPC (remote procedure call). The “response” that is the result of the processed processing can be acquired.

すなわち、仲介装置101又はこれと接続された被管理装置10では、管理装置102への要求を生成してこれを管理装置102へ引き渡し、この要求に対する応答を取得できる一方で、管理装置102は、上記仲介装置101側への要求を生成してこれを仲介装置101側へ引き渡し、この要求に対する応答を取得できるようになっている。この要求には、仲介装置101に被管理装置10に対して各種要求を送信させ、被管理装置10からの応答を仲介装置101を介して取得することも含まれる。
なお、RPCを実現するために、SOAP(Simple Object Access Protocol),HTTP,FTP(File Transfer Protocol),COM(Component Object Model),CORBA(Common Object Request Broker Architecture)等の既知のプロトコル(通信規格),技術,仕様などを利用することができる。
That is, the intermediary device 101 or the managed device 10 connected thereto can generate a request to the management device 102 and pass it to the management device 102 to obtain a response to this request, while the management device 102 A request to the mediating apparatus 101 is generated and delivered to the mediating apparatus 101, and a response to the request can be acquired. This request includes causing the mediation device 101 to transmit various requests to the managed device 10 and obtaining a response from the managed device 10 via the mediation device 101.
In order to realize RPC, known protocols (communication standards) such as SOAP (Simple Object Access Protocol), HTTP, FTP (File Transfer Protocol), COM (Component Object Model), CORBA (Common Object Request Broker Architecture), etc. , Technology, specifications, etc. can be used.

この送受信のデータ送受モデルを図2の概念図に示す。
(A)は、被管理装置10で管理装置102に対する要求が発生したケースである。このケースでは、被管理装置10が被管理装置側要求aを生成し、これを仲介装置101を経由して受け取った管理装置102がこの要求に対する応答aを返すというモデルになる。同図に示す仲介装置101は複数であるケースも想定できる(上記図1に示す設置環境B)。なお、(A)では、応答aだけでなく応答遅延通知a′を返信するケースが表記されている。これは、管理装置102を、仲介装置101を経由して被管理装置側要求を受け取って、当該要求に対する応答を即座に返せないと判断したときには、応答遅延通知を通知して一旦接続状態を切断し(通信可能状態を解除し)、次回の接続の際に上記要求に対する応答を改めて引き渡す構成としているためである。
The transmission / reception data transmission / reception model is shown in the conceptual diagram of FIG.
(A) is a case where a request to the management apparatus 102 has occurred in the managed apparatus 10. In this case, the managed device 10 generates a managed device-side request “a”, and the management device 102 that has received this request via the mediation device 101 returns a response “a” to this request. A case where there are a plurality of mediation apparatuses 101 shown in the figure can also be assumed (installation environment B shown in FIG. 1). Note that (A) shows a case in which not only the response a but also a response delay notification a ′ is returned. When the management apparatus 102 receives a managed apparatus side request via the intermediary apparatus 101 and determines that the response to the request cannot be returned immediately, it notifies the response delay notification and temporarily disconnects the connection state. This is because the response to the request is delivered again at the time of the next connection.

(B)は、管理装置102で被管理装置10に対する要求が発生したケースである。このケースでは、管理装置102が管理装置側要求bを生成し、これを仲介装置101を経由して受け取った被管理装置10が、当該要求に対する応答bを返すというモデルになっている。なお、(B)のケースでも、応答を即座に返せないときに応答遅延通知b′を返すことは(A)のケースと同様である。   (B) is a case where a request for the managed device 10 has occurred in the management device 102. In this case, the management apparatus 102 generates a management apparatus side request b, and the managed apparatus 10 that has received the request via the mediation apparatus 101 returns a response b to the request. Even in the case of (B), the response delay notification b ′ is returned in the same manner as in the case of (A) when the response cannot be returned immediately.

次に、図1に示す管理装置102の物理的構成について簡単に説明すると、当該管理装置102は、CPU,ROM,RAM等からなる制御装置や、データベース,モデム,プロキシ(Proxy)サーバ等によって構成されている。その構成については、追って詳細に説明する。
さらに、図1に示す仲介装置101における物理的構成について簡単に説明すると、当該仲介装置101は、CPU,ROM,RAM,不揮発性メモリ,ネットワークインタフェース(NIC)等によって構成されている。
また、仲介機能付被管理装置11については、仲介装置101の機能を実現するためにこれらのユニットを単に被管理装置10に付加しても良いが、被管理装置10に備えるCPU,ROM,RAM等のハードウェア資源を利用し、CPUに適当なアプリケーションやプログラムモジュールを実行させることによって仲介装置101の機能を実現することもできる。
Next, the physical configuration of the management device 102 shown in FIG. 1 will be briefly described. The management device 102 includes a control device including a CPU, a ROM, a RAM, and the like, a database, a modem, a proxy server, and the like. Has been. The configuration will be described later in detail.
Further, the physical configuration of the mediation apparatus 101 shown in FIG. 1 will be briefly described. The mediation apparatus 101 is configured by a CPU, a ROM, a RAM, a nonvolatile memory, a network interface (NIC), and the like.
In addition, for the managed device 11 with an intermediary function, these units may be simply added to the managed device 10 in order to realize the function of the intermediary device 101, but the CPU, ROM, and RAM provided in the managed device 10 The functions of the intermediary device 101 can be realized by causing the CPU to execute appropriate applications and program modules using hardware resources such as the above.

以下、図1に示した遠隔管理システムのより具体的な例として、この発明による電子装置である画像形成装置を被管理装置とする遠隔管理システムである画像形成装置遠隔管理システムについて説明する。
図3は、その画像形成装置遠隔管理システムの構成の一例を示す概念図であるが、被管理装置10を画像形成装置100に、仲介機能付被管理装置11を仲介機能付画像形成装置(以下単に「画像形成装置」ともいう)110に変更した点が図1と相違するのみであるので、システムの全体構成についての説明は省略する。
画像形成装置100は、コピー,プリンタ,ファクシミリ,スキャナ等の機能および外部装置と通信を行う機能を備えたデジタル複合機であり、それらの機能に係るサービスを提供するためのアプリケーションプログラムを実装しているものである。また、仲介機能付画像形成装置110は、画像形成装置100に仲介装置101の機能を併せ持たせたものである。
Hereinafter, as a more specific example of the remote management system shown in FIG. 1, an image forming apparatus remote management system which is a remote management system using an image forming apparatus which is an electronic apparatus according to the present invention as a managed apparatus will be described.
FIG. 3 is a conceptual diagram showing an example of the configuration of the image forming apparatus remote management system. The managed apparatus 10 is an image forming apparatus 100, the managed function-equipped managed apparatus 11 is an image forming apparatus with a mediating function (hereinafter referred to as an image forming apparatus). Since only the point changed to 110 (also simply referred to as “image forming apparatus”) is different from FIG. 1, description of the overall configuration of the system is omitted.
The image forming apparatus 100 is a digital multi-function peripheral having functions such as a copy, a printer, a facsimile, and a scanner, and a function for communicating with an external device, and an application program for providing a service related to these functions is installed. It is what. The image forming apparatus with a mediation function 110 is obtained by adding the functions of the mediation apparatus 101 to the image forming apparatus 100.

このような画像形成装置100(又は110)の物理的構成について、図4を用いて説明する。
図4は、画像形成装置100内の物理的構成の一例を示すブロック図である。同図に示すように、画像形成装置100は、コントローラボード200,HDD(ハードディスクドライブ)201,NV−RAM(不揮発性RAM)202,PI(パーソナルインタフェース)ボード203,PHY(物理メディアインタフェース)204,操作パネル205,プロッタ/スキャナエンジンボード206,電源ユニット207,フィニッシャ208,ADF(自動原稿給送装置)209,給紙バンク210,その他周辺機211を備えている。これらのユニットは、それぞれがこの画像形成装置100におけるハードウェア資源である。
The physical configuration of such an image forming apparatus 100 (or 110) will be described with reference to FIG.
FIG. 4 is a block diagram illustrating an example of a physical configuration in the image forming apparatus 100. As shown in FIG. 1, an image forming apparatus 100 includes a controller board 200, an HDD (hard disk drive) 201, an NV-RAM (nonvolatile RAM) 202, a PI (personal interface) board 203, a PHY (physical media interface) 204, An operation panel 205, a plotter / scanner engine board 206, a power supply unit 207, a finisher 208, an ADF (automatic document feeder) 209, a paper feed bank 210, and other peripheral devices 211 are provided. Each of these units is a hardware resource in the image forming apparatus 100.

ここで、コントローラボード200は、制御手段に該当し、CPU,ROM,RAM等を備え、PCI−BUS(Peripheral Components Interconnect-Bus)212を介して各機能を制御している。また、HDD201は、電源ユニット207からの給電に関係なく情報を記憶保存する記憶手段(記録媒体)である。NV−RAM202は、不揮発性記憶手段であり、RAMと電池を利用したバックアップ回路を集積した不揮発性RAMや、EEPROM,フラッシュメモリ等の不揮発性メモリを使用することができる。コントローラボード200内のRAMは、電源ユニット207からの給電中だけ情報を記憶保存する揮発性記憶手段である。   Here, the controller board 200 corresponds to a control unit, includes a CPU, a ROM, a RAM, and the like, and controls each function via a PCI-BUS (Peripheral Components Interconnect-Bus) 212. The HDD 201 is a storage unit (recording medium) that stores and saves information regardless of the power supply from the power supply unit 207. The NV-RAM 202 is a nonvolatile storage means, and a nonvolatile RAM in which a backup circuit using RAM and a battery is integrated, or a nonvolatile memory such as an EEPROM or a flash memory can be used. The RAM in the controller board 200 is a volatile storage unit that stores and saves information only during power supply from the power supply unit 207.

PIボード203とPHY204は、通信手段に該当し、外部との通信を行うためのものであって、例えば通信ボード等が該当する。PIボード203はRS485規格に準拠したインタフェースを備え、ラインアダプタを介して公衆回線に接続している。なお、上述したように、このPIボード203を用いて画像形成装置100と仲介装置101とを接続することも可能である。PHY204は、LAN等のネットワークを介して外部装置と通信を行うためのインタフェースである。   The PI board 203 and the PHY 204 correspond to communication means and perform communication with the outside. For example, a communication board or the like corresponds to the PI board 203 and the PHY 204. The PI board 203 has an interface conforming to the RS485 standard, and is connected to a public line via a line adapter. As described above, it is also possible to connect the image forming apparatus 100 and the mediation apparatus 101 using the PI board 203. The PHY 204 is an interface for communicating with an external device via a network such as a LAN.

また、操作パネル205は、各種の操作キー(操作スイッチ又は操作ボタンともいう)を有する操作部(操作手段)と、タッチパネル付きのLCD又はCRTの文字表示器(表示手段)を含む表示部とを備えた操作手段である。タッチパネルは、ログ取得要求用の操作キーを表示することができる。あるいは、操作部にログ取得要求用の操作キーを設けるようにしてもよい。あるいはまた、タッチパネルを省略し、表示部にログ取得要求用の操作キーを含む各種の操作キーを表示することにより、それらのキー操作を操作部上の操作キーの操作によって行うようにしてもよい。   The operation panel 205 includes an operation unit (operation unit) having various operation keys (also referred to as operation switches or operation buttons) and a display unit including an LCD or CRT character display (display unit) with a touch panel. It is an operating means provided. The touch panel can display operation keys for log acquisition requests. Alternatively, an operation key for log acquisition request may be provided in the operation unit. Alternatively, the touch panel may be omitted, and various operation keys including operation keys for requesting log acquisition may be displayed on the display unit, and the key operations may be performed by operating the operation keys on the operation unit. .

ここで、同図中のENGRDYは、エンジンユニット(プロッタエンジン,スキャナエンジン)側の各種初期設定が完了して、コントローラボード200とコマンドの送受信の準備ができたことをコントローラボード200側に通知するための信号線である。また、PWRCTLは、エンジンユニットへの電源供給をコントローラボード200側から制御するための信号線である。これら信号線の動作に関しては後述する。   Here, ENGRDY in the figure notifies the controller board 200 that various initial settings on the engine unit (plotter engine, scanner engine) side have been completed and preparation for transmission / reception of commands with the controller board 200 is completed. Signal line. PWRCTL is a signal line for controlling power supply to the engine unit from the controller board 200 side. The operation of these signal lines will be described later.

次に、画像形成装置100(又は110)のソフトウェア構成について、図5を参照して説明する。
図5は、画像形成装置100のソフトウェア構成の一例を示すブロック図である。
この画像形成装置100のソフトウェア構成は、アプリケーションモジュール層,サービスモジュール層,汎用OS層からなる。そして、これらのソフトウェアを構成するプログラムはHDD201やコントローラボード200上のRAMに記憶され、必要に応じて読み出されてコントローラボード200上のCPU(コントローラCPU)によって実行される。そして、そのCPUは、これらのプログラムを必要に応じて実行し、装置の制御を行うことにより、この発明による各機能(処理実行手段,ログ生成手段,ログ書込制御手段,領域管理手段,ログ取得手段,ログ出力手段,ログ送信手段,ログ送出手段としての機能)を実現することができる。
Next, the software configuration of the image forming apparatus 100 (or 110) will be described with reference to FIG.
FIG. 5 is a block diagram illustrating an example of a software configuration of the image forming apparatus 100.
The software configuration of the image forming apparatus 100 includes an application module layer, a service module layer, and a general-purpose OS layer. The programs constituting these software are stored in the HDD 201 and the RAM on the controller board 200, read as necessary, and executed by the CPU (controller CPU) on the controller board 200. Then, the CPU executes these programs as necessary and controls the apparatus, thereby enabling each function according to the present invention (processing execution means, log generation means, log writing control means, area management means, log (Acquisition means, log output means, log transmission means, function as log transmission means) can be realized.

アプリケーションモジュール層のソフトウェアは、コントローラCPUを、ハードウェア資源を動作させて所定の機能を実現させる複数のアプリケーション制御手段として機能させるためのプログラムによって構成され、サービスモジュール層のソフトウェアは、コントローラCPUを、ハードウェア資源と各アプリケーション制御手段との間に介在し、複数のアプリケーション制御手段からのハードウェア資源に対する動作要求の受付,その動作要求の調停,およびその動作要求に基づく動作の実行制御を行うサービス制御手段(処理実行手段)として機能させるためのプログラムによって構成される。   The application module layer software is configured by a program for causing the controller CPU to function as a plurality of application control units that operate hardware resources to realize predetermined functions, and the service module layer software includes the controller CPU, A service that intervenes between hardware resources and each application control means, and accepts operation requests for hardware resources from a plurality of application control means, arbitrates the operation requests, and controls the execution of operations based on the operation requests. It is comprised by the program for functioning as a control means (process execution means).

なお、コントローラCPUの機能のうち、管理装置102との通信に係わる機能(通信手段としての機能)の実現方法は、画像形成装置100と画像形成装置110とによって異なる。つまり、画像形成装置110の場合は、仲介装置101の機能を備えているため、コントローラCPUが対応するプログラムを実行することにより、管理装置102との通信に係わる機能を実現することができる。画像形成装置100の場合には、コントローラCPUが対応するプログラムを実行すると共に、仲介装置101を利用することにより、管理装置102との通信に係わる機能を実現することができる。
また、画像形成装置100は、スキャナエンジンおよびプロッタエンジンを含むエンジンユニット内に異常等の所定の事象を検出するためのセンサ等からなる事象検出部(事象検出手段)を備えている。
仲介装置101は、この発明による通信手段およびログ送信手段としての機能を有している。
Of the functions of the controller CPU, a method for realizing a function related to communication with the management apparatus 102 (function as a communication unit) differs between the image forming apparatus 100 and the image forming apparatus 110. That is, since the image forming apparatus 110 has the function of the mediation apparatus 101, the function related to communication with the management apparatus 102 can be realized by executing the corresponding program by the controller CPU. In the case of the image forming apparatus 100, a function related to communication with the management apparatus 102 can be realized by executing a program corresponding to the controller CPU and using the mediation apparatus 101.
Further, the image forming apparatus 100 includes an event detection unit (event detection means) including a sensor for detecting a predetermined event such as an abnormality in an engine unit including a scanner engine and a plotter engine.
The intermediary device 101 has functions as communication means and log transmission means according to the present invention.

サービスモジュール層には、オペレーションコントロールサービス(OCS)300、エンジンコントロールサービス(ECS)301、メモリコントロールサービス(MCS)302、ネットワークコントロールサービス(NCS)303、ファクスコントロールサービス(FCS)304、システムコントロールサービス(SCS)306、システムリソースマネージャ(SRM)307、イメージメモリハンドラ(IMH)308、デリバリーコントロールサービス(DCS)316、ユーザコントロールサービス(UCS)317を実装している。また、アプリケーションモジュール層には、NRSアプリ(以下単に「NRS」という)305、CSSアプリ(以下単に「CSS」という)315、コピーアプリ309、ファクスアプリ310、プリンタアプリ311、スキャナアプリ312、ネットファイルアプリ313、ウェブアプリ314を実装している。更に、汎用OS層には、汎用OS320を実装している。   The service module layer includes an operation control service (OCS) 300, an engine control service (ECS) 301, a memory control service (MCS) 302, a network control service (NCS) 303, a fax control service (FCS) 304, a system control service ( SCS) 306, system resource manager (SRM) 307, image memory handler (IMH) 308, delivery control service (DCS) 316, and user control service (UCS) 317 are implemented. The application module layer includes an NRS application (hereinafter simply referred to as “NRS”) 305, a CSS application (hereinafter simply referred to as “CSS”) 315, a copy application 309, a fax application 310, a printer application 311, a scanner application 312, and a net file. An application 313 and a web application 314 are installed. Furthermore, a general-purpose OS 320 is mounted on the general-purpose OS layer.

これらを更に詳述する。
OCS300は、操作パネル205を制御するモジュールである。
ECS301は、ハードウェアリソース等のエンジンユニットを制御するモジュールである。
MCS302は、メモリ制御をするモジュールであり、例えば、画像メモリの取得および開放、HDD201の利用等を行う。
NCS303は、ネットワークとアプリケーションモジュール層の各アプリケーションプログラムとの仲介処理を行わせるモジュールである。
FCS304は、ファクシミリ送受信、ファクシミリ読み取り、ファクシミリ受信印刷等を行うモジュールである。
These will be described in further detail.
The OCS 300 is a module that controls the operation panel 205.
The ECS 301 is a module that controls engine units such as hardware resources.
The MCS 302 is a module that performs memory control. For example, the MCS 302 acquires and releases an image memory, uses the HDD 201, and the like.
The NCS 303 is a module that performs mediation between the network and each application program in the application module layer.
The FCS 304 is a module that performs facsimile transmission / reception, facsimile reading, facsimile reception printing, and the like.

SCS306は、コマンドの内容に応じたアプリケーションモジュール層の各アプリケーションプログラムの起動管理および終了管理を行うモジュールである。このSCS306は、順次生成するログをグループ分けして保存できるようにHDD201のログ保存エリア(所定記憶領域)を複数に分割して複数の分割エリア(分割領域)を管理するための管理情報(ログ保存エリア指定情報およびログ種別保存数決定テーブル)を有している。
SRM307は、システムの制御およびリソースの管理を行うモジュールである。
IMH308は、一時的に画像データを入れておくメモリを管理するモジュールである。
DCS316は、HDD201やコントローラボード200上のメモリに記憶している(する)画像ファイル等をSMTP(Simple Mail Transfer Protocol)やFTP(File Transfer Protocol)を用いて送受信するモジュールである。
UCS317は、ユーザ(機器利用者)が登録した宛先情報や宛名情報等のユーザ情報を管理するモジュールである。
The SCS 306 is a module that performs start management and end management of each application program in the application module layer according to the content of the command. The SCS 306 divides the log storage area (predetermined storage area) of the HDD 201 into a plurality of parts so that sequentially generated logs can be stored in groups, and management information (logs) for managing the plurality of divided areas (partition areas) Storage area designation information and log type storage number determination table).
The SRM 307 is a module that controls the system and manages resources.
The IMH 308 is a module that manages a memory for temporarily storing image data.
The DCS 316 is a module for transmitting / receiving an image file or the like stored in a memory on the HDD 201 or the controller board 200 using SMTP (Simple Mail Transfer Protocol) or FTP (File Transfer Protocol).
The UCS 317 is a module that manages user information such as destination information and address information registered by a user (device user).

NRS305およびCSS315はそれぞれ、互いに異なる方式による遠隔管理に関する機能(管理装置102との通信に係わる機能)をまとめたモジュールである。
コピーアプリ309は、コピーサービスを実現するためのアプリケーションプログラムである。
ファクスアプリ310は、ファクスサービスを実現するためのアプリケーションプログラムである。
プリンタアプリ311は、プリンタサービスを実現するためのアプリケーションプログラムである。
スキャナアプリ312は、スキャナサービスを実現するためのアプリケーションプログラムである。
Each of the NRS 305 and the CSS 315 is a module that summarizes functions related to remote management (functions related to communication with the management apparatus 102) using different methods.
The copy application 309 is an application program for realizing a copy service.
The fax application 310 is an application program for realizing a fax service.
The printer application 311 is an application program for realizing a printer service.
The scanner application 312 is an application program for realizing a scanner service.

ネットファイルアプリ313は、ネットファイルサービスを実現するためのアプリケーションプログラムである。
ウェブアプリ314は、ウェブサービスを実現するためのアプリケーションプログラムである。
汎用OS320は、UNIX(登録商標),Linux(登録商標),Windows(登録商標)等のオペレーティングシステムを使用することができる。オペレーティングシステムは、サービスモジュール層やアプリケーションモジュール層のプログラムなどを実行させる処理を司る。ここで、UNIXやLinuxを用いれば、オープンソースゆえの安全性が担保され、ソースコード入手の容易性などの利点がある。
The net file application 313 is an application program for realizing a net file service.
The web application 314 is an application program for realizing a web service.
The general-purpose OS 320 can use an operating system such as UNIX (registered trademark), Linux (registered trademark), or Windows (registered trademark). The operating system manages the processing for executing the service module layer and application module layer programs. Here, if UNIX or Linux is used, the safety due to open source is ensured, and there are advantages such as easy source code acquisition.

ここで、上述したENGRDY信号とPWRCTL信号との動作について、図6を用いて説明する。
図6の(A)は機器の立ち上がり時のENGRDY信号とPWRCTL信号の動作の一例を示している。主電源スイッチ(AC−POWER−SW)のONにより、AC−POWER(AC100V)の電源部から電源ユニット(主電源)207へ給電される(AC電源がONになる)と、電源ユニット207がON状態になり、電源ユニット207からコントローラボード200を含む装置全体への給電(電源供給)が開始され、これと同時にENGRDY信号はHighになる。この状態ではエンジンユニット側との通信はできない。なぜなら、エンジンユニット側の初期設定が完了していないからである。そして、一定期間経過後にエンジンユニット側の初期設定が完了し、ENGRDY信号がLowになった段階でエンジンユニット側との通信が可能となる。
Here, the operation of the above-described ENGRDY signal and PWRCTL signal will be described with reference to FIG.
FIG. 6A shows an example of the operation of the ENGRDY signal and the PWRCTL signal when the device starts up. When the main power switch (AC-POWER-SW) is turned ON, power is supplied from the AC-POWER (AC100V) power supply unit to the power supply unit (main power supply) 207 (the AC power supply is turned ON). Then, power supply (power supply) from the power supply unit 207 to the entire apparatus including the controller board 200 is started, and at the same time, the ENGRDY signal becomes High. In this state, communication with the engine unit is not possible. This is because the initial setting on the engine unit side is not completed. Then, when the initial setting on the engine unit side is completed after a certain period of time and the ENGRDY signal becomes Low, communication with the engine unit side becomes possible.

次に、同図(B)は省エネモードに移行した時のENGRDY信号とPWRCTL信号の動作の一例を示している。電源ユニット207がON状態の時(電源ユニット207から装置全体への給電中)に、例えば操作パネル205上の図示しないソフト電源キーの操作により、ハードユニットであるエンジンユニットへの給電停止が指示されると、省エネモードに移行するため、コントローラボード200によりPWRCTL信号をOFFにする。これと同時に、電源ユニット207からエンジンユニットへの給電が停止する。これに伴って、ENGRDY信号は、Highとなり省エネモードに移行する。次に、省エネモードから復帰する場合を同図(C)に示す。   Next, FIG. 5B shows an example of the operation of the ENGRDY signal and the PWRCTL signal when the mode is shifted to the energy saving mode. When the power supply unit 207 is in an ON state (during power supply from the power supply unit 207 to the entire apparatus), for example, an operation of a soft power key (not shown) on the operation panel 205 is instructed to stop power supply to the engine unit that is a hard unit. Then, the PWRCTL signal is turned OFF by the controller board 200 in order to shift to the energy saving mode. At the same time, power supply from the power supply unit 207 to the engine unit is stopped. Along with this, the ENGRDY signal becomes High and shifts to the energy saving mode. Next, the case of returning from the energy saving mode is shown in FIG.

同図(C)は、省エネモードから復帰する時のENGRDY信号とPWRCTL信号の動作の一例を示している。上記(B)の省エネモードから復帰する際には、例えばソフト電源キーの操作によってエンジンユニットへの給電停止の解除が指示され、コントローラボード200によりPWRCTL信号をONにする。これと同時に、電源ユニット207からエンジンユニットへの給電停止が解除される。しかし、上記の(A)で示したように、エンジンユニット側の初期設定が完了するまで、ENGRDY信号はHighの状態であり、初期設定が完了するとエンジンユニット側との通信が可能となり、Lowとなる。   FIG. 3C shows an example of the operation of the ENGRDY signal and the PWRCTL signal when returning from the energy saving mode. When returning from the energy saving mode (B), for example, an operation to release power supply to the engine unit is instructed by operating a soft power key, and the controller board 200 turns on the PWRCTL signal. At the same time, the power supply stop from the power supply unit 207 to the engine unit is released. However, as shown in (A) above, until the initial setting on the engine unit side is completed, the ENGRDY signal is in a high state, and when the initial setting is completed, communication with the engine unit side becomes possible. Become.

次に、上述した画像形成装置100のソフトウェアの構成に含まれるNRS305の内部構成について、図7を用いて更に説明する。
図7は、NRS305の構成の一例を示す機能ブロック図である。同図に示すように、NRS305は、SCS306とNCS303との間で処理を行っている。ウェブサーバ機能部500は、外部から受信した要求に関する応答処理を行う。ここでの要求は、例えば、構造化言語であるXML(Extensible Markup Language)形式で記載された、SOAP(Simple Object Access Protocol)によるSOAPリクエストであることが考えられる。ウェブクライアント機能部501は、外部への要求を発行する処理を行う。libsoap502は、SOAPを処理するライブラリであり、libxml503は、XML形式で記載されたデータを処理するライブラリである。また、libgwww504は、HTTPを処理するライブラリであり、libgw_ncs505は、NCS303との間の処理をするライブラリである。
Next, the internal configuration of the NRS 305 included in the software configuration of the image forming apparatus 100 described above will be further described with reference to FIG.
FIG. 7 is a functional block diagram illustrating an example of the configuration of the NRS 305. As shown in the figure, the NRS 305 performs processing between the SCS 306 and the NCS 303. The web server function unit 500 performs response processing related to a request received from the outside. The request here may be a SOAP request by SOAP (Simple Object Access Protocol) described in XML (Extensible Markup Language) format which is a structured language, for example. The web client function unit 501 performs processing for issuing an external request. The libsoap 502 is a library that processes SOAP, and the libxml 503 is a library that processes data described in the XML format. Also, libwwww 504 is a library that processes HTTP, and libgw_ncs 505 is a library that performs processing with the NCS 303.

次に、管理装置102の物理的構成について、図8を参照して説明する。
図8は、管理装置102の物理的構成の一例を示すブロック図である。
この管理装置102は、モデム601,通信端末602,プロキシ(Proxy)サーバ603,操作者端末604,データベース605,制御装置606等からなる。
モデム601は、図示しない公衆回線を介して機器利用者側(例えば画像形成装置を利用しているユーザ先)の仲介装置101又は画像形成装置110と通信を司るものであり、送受信するデータを変復調する。このモデム601と後述する通信端末602により通信手段としての機能を果たす。
通信端末602は、モデム601による通信を制御するものである。
Next, the physical configuration of the management apparatus 102 will be described with reference to FIG.
FIG. 8 is a block diagram illustrating an example of a physical configuration of the management apparatus 102.
The management device 102 includes a modem 601, a communication terminal 602, a proxy server 603, an operator terminal 604, a database 605, a control device 606, and the like.
The modem 601 manages communication with the mediating apparatus 101 or the image forming apparatus 110 on the device user side (for example, a user destination using the image forming apparatus) via a public line (not shown), and modulates and demodulates data to be transmitted and received To do. The modem 601 and a communication terminal 602, which will be described later, serve as communication means.
The communication terminal 602 controls communication by the modem 601.

プロキシサーバ603は、インタネット103を介してユーザ(機器利用者)側の仲介装置101又は画像形成装置110との通信(データ送受信)およびセキュリティ管理を行う。このプロキシサーバ603も、通信手段としての機能を果たす。
操作者端末604は、サービスセンタの管理者であるセンタオペレータが操作する端末であり、各種データの入力をセンタオペレータによるキーボードやポインティングデバイス(マウス等)等の入力部上の操作により受け付けたり、センタオペレータに通知すべき情報を表示部に表示したりする。入力されるデータとしては、例えば、各ユーザ側の仲介装置101又は画像形成装置110が管理装置102へ通信する際に使用するIPアドレスや電話番号(発呼先電話番号)等の顧客情報がある。
The proxy server 603 performs communication (data transmission / reception) and security management with the mediation apparatus 101 or the image forming apparatus 110 on the user (device user) side via the Internet 103. The proxy server 603 also functions as a communication unit.
The operator terminal 604 is a terminal operated by a center operator who is an administrator of the service center. The operator terminal 604 accepts input of various data by an operation on an input unit such as a keyboard or a pointing device (mouse, etc.) by the center operator. Information to be notified to the operator is displayed on the display unit. The input data includes, for example, customer information such as an IP address and a telephone number (calling destination telephone number) used when the mediating apparatus 101 or the image forming apparatus 110 on each user side communicates with the management apparatus 102. .

データベース605は、図示しないサーバのHDD(ハードディスク装置)等の記憶装置に存在し、各ユーザ側の仲介装置101および画像形成装置110のIPアドレスや電話番号、それらの装置から受信したデータ(情報)、操作者端末604から入力されたデータ、機種データベースや顧客データベース、およびこの発明に係るプログラム等の各種データを記憶する。
制御装置606は、図示しないCPU,ROM,RAM等からなるマイクロコンピュータを備えており、管理装置102全体を統括的に制御する。そのCPUが、上記プログラムに従って動作する(上記プログラムを必要に応じて実行する)と共に、モデム601,通信端末602,プロキシサーバ603,操作者端末604,又はデータベース605を必要に応じて選択的に使用することにより、この発明に係わるログ管理を含む各種処理を行うことができる。
The database 605 exists in a storage device such as an HDD (hard disk device) of a server (not shown), and the IP addresses and telephone numbers of the mediation device 101 and the image forming device 110 on each user side, and data (information) received from these devices. Various data such as data input from the operator terminal 604, a model database, a customer database, and a program according to the present invention are stored.
The control device 606 includes a microcomputer including a CPU, ROM, RAM, and the like (not shown), and controls the entire management device 102 in an integrated manner. The CPU operates in accordance with the program (executes the program as necessary), and selectively uses the modem 601, the communication terminal 602, the proxy server 603, the operator terminal 604, or the database 605 as necessary. By doing so, various processes including log management according to the present invention can be performed.

上述した構成を踏まえて、図3の画像形成装置遠隔管理システム内で行われるデータ送受信の際の通信シーケンスの一例について、図9を用いて説明する。なお、以下に示すSCS306およびNRS305による処理は、実際には画像形成装置100のCPU(コントローラCPU)がそれらのプログラムに従って動作することによって実行するが、説明の都合上、それらのプログラムが処理を実行するものとする。以後も、プログラムが何らかの処理を行うものとして説明を行う場合には、同様とする。
図9は、図3に示した管理装置102,仲介装置101,および画像形成装置100間で行われるデータ送受信の際の通信シーケンスの一例を示す図である。
Based on the above-described configuration, an example of a communication sequence for data transmission / reception performed in the image forming apparatus remote management system of FIG. 3 will be described with reference to FIG. Note that the processing by the SCS 306 and NRS 305 described below is actually executed by the CPU (controller CPU) of the image forming apparatus 100 operating according to those programs. However, for convenience of explanation, these programs execute the processing. It shall be. Thereafter, the same applies to the case where the program is described as performing some processing.
FIG. 9 is a diagram illustrating an example of a communication sequence for data transmission / reception performed between the management apparatus 102, the intermediary apparatus 101, and the image forming apparatus 100 illustrated in FIG.

この例においては、まず、仲介装置101は、インタネット103経由で管理装置102に対してポーリング(送信要求があるかどうかの問い合わせ)を行う(S601)。つまり、自己の識別情報である識別子を付加したポーリング用のSOAPメッセージを生成し(ポーリング情報を構造化言語形式であるXML形式に変換し)、そのSOAPメッセージに基づいてそれを含むHTTPメッセージを生成し、それをインタネット103経由で管理装置102へ送信する。図3に示したように、仲介装置101と管理装置102との間にはファイアウォール104を設けているため、管理装置102から仲介装置101に向けて通信セッションを張ることができないので、管理装置102から仲介装置101(あるいは仲介装置101を介して画像形成装置100)に要求を送信したい場合でも、このように仲介装置101からのポーリング(送信要求があるかどうかの問い合わせ)を待つ必要があるのである。なお、ファイアウォール104がなければ、あるいは外部からの通信を許可する設定になっていれば、ポーリングを行う必要はない。   In this example, first, the mediation apparatus 101 polls the management apparatus 102 via the Internet 103 (inquiry whether there is a transmission request) (S601). That is, it generates a polling SOAP message with an identifier that is its own identification information (converts the polling information to the XML format that is a structured language format), and generates an HTTP message that includes it based on the SOAP message Then, it is transmitted to the management apparatus 102 via the Internet 103. As shown in FIG. 3, since the firewall 104 is provided between the mediation device 101 and the management device 102, a communication session cannot be established from the management device 102 to the mediation device 101. Even if it is desired to send a request from the mediating apparatus 101 (or the image forming apparatus 100 via the mediating apparatus 101), it is necessary to wait for polling (inquiry about whether there is a transmission request) from the mediating apparatus 101 in this way. is there. If there is no firewall 104 or if the setting is to allow communication from the outside, polling is not necessary.

管理装置102は、仲介装置101から上記HTTPメッセージ(HTTPリクエスト)を受信すると、課金カウンタ(カウンタ情報)取得要求を示す情報のSOAPメッセージを含むHTTPメッセージ(HTTPレスポンス)を生成し、それをインタネット103経由で該当する仲介装置101(受信したSOAPメッセージの送信元)へ、ポーリングに対する応答として送信する(S602)。このとき、受信したHTTPメッセージ内のSOAPメッセージに付加された識別子に基づいて該当する仲介装置101を認識する。このように、ファイアウォール104の内側からの通信(HTTPリクエスト)に対する応答(HTTPレスポンス)であれば、ファイアウォール104の外側から内側に対してデータを送信することができる。   When the management apparatus 102 receives the HTTP message (HTTP request) from the mediation apparatus 101, the management apparatus 102 generates an HTTP message (HTTP response) including a SOAP message of information indicating a charging counter (counter information) acquisition request, and transmits it to the Internet 103. It is transmitted as a response to polling to the corresponding mediation apparatus 101 (source of the received SOAP message) via S (S602). At this time, the corresponding intermediary device 101 is recognized based on the identifier added to the SOAP message in the received HTTP message. In this way, if it is a response (HTTP response) to communication (HTTP request) from the inside of the firewall 104, data can be transmitted from the outside of the firewall 104 to the inside.

仲介装置101は、管理装置102から上記HTTPメッセージを受信すると、そのHTTPメッセージに基づいてそのパケット上の課金カウンタ取得要求を示す情報のSOAPメッセージを生成し、それをネットワーク経由で自己に接続されている画像形成装置100のNRS305へ送信する(S603)。
NRS305は、仲介装置101から受信したSOAPメッセージに記述されている課金カウンタ取得要求をSCS306へ通知する(S604)。
SCS306は、NRS305から課金カウンタ取得要求の通知を受けると、NV−RAM202(又はHDD201)に格納されている課金カウンタのデータを読み取る(S605)。そして、その読み取った課金カウンタのデータ(応答データ)をNRS305へ引き渡す(S606)。
When the mediation device 101 receives the HTTP message from the management device 102, the mediation device 101 generates a SOAP message of information indicating a charging counter acquisition request on the packet based on the HTTP message, and is connected to itself via the network. To the NRS 305 of the existing image forming apparatus 100 (S603).
The NRS 305 notifies the SCS 306 of a charging counter acquisition request described in the SOAP message received from the mediation apparatus 101 (S604).
Upon receiving a charge counter acquisition request notification from the NRS 305, the SCS 306 reads the charge counter data stored in the NV-RAM 202 (or HDD 201) (S605). Then, the read accounting counter data (response data) is delivered to the NRS 305 (S606).

NRS305は、SCS306から課金カウンタのデータ(カウンタ値を示すカウンタ情報)を受け取る(取得する)と、そのデータのSOAPメッセージを生成し(受け取ったデータを構造化言語形式であるXML形式に変換し)、それをネットワーク経由で仲介装置101へ送信する(S607)。
仲介装置101は、NRS305から課金カウンタのデータのSOAPメッセージを受信すると、そのSOAPメッセージに基づいてそれを含むHTTPメッセージを生成し、それをインタネット103経由で管理装置102へ送信する(S608)。
このように、上記通信シーケンスにより、データの送受信が行われる。
When the NRS 305 receives (acquires) billing counter data (counter information indicating the counter value) from the SCS 306, the NRS 305 generates a SOAP message of the data (converts the received data into an XML format that is a structured language format). Then, it is transmitted to the mediation apparatus 101 via the network (S607).
When the mediation device 101 receives the SOAP message of the billing counter data from the NRS 305, the mediation device 101 generates an HTTP message including the SOAP message based on the SOAP message, and transmits it to the management device 102 via the Internet 103 (S608).
Thus, data transmission / reception is performed by the communication sequence.

次に、上記図9と異なり、画像形成装置100から仲介装置101を経て管理装置102へデータを送信する場合の通信シーケンスの一例について、図10を参照して説明する。
図10は、画像形成装置100から管理装置102へデータを送信する場合の通信シーケンスの一例を示す図である。
この例においては、まず、OCS300は、操作パネル205上の図示しないユーザコールキーが押下された旨をSCS306へ通知する(S701)。
SCS306は、OCS300からユーザコールキーが押下された旨の通知を受けると、ユーザコール要求をNRS305へ通知する(S702)。
Next, unlike FIG. 9, an example of a communication sequence when data is transmitted from the image forming apparatus 100 to the management apparatus 102 via the mediation apparatus 101 will be described with reference to FIG.
FIG. 10 is a diagram illustrating an example of a communication sequence when data is transmitted from the image forming apparatus 100 to the management apparatus 102.
In this example, the OCS 300 first notifies the SCS 306 that a user call key (not shown) on the operation panel 205 has been pressed (S701).
Upon receiving notification from the OCS 300 that the user call key has been pressed, the SCS 306 notifies the NRS 305 of a user call request (S702).

NRS305は、SCS306からユーザコール要求の通知を受けると、ユーザコールを知らせるユーザコール情報であるユーザコール用のSOAPメッセージを生成し、それをネットワーク経由で仲介装置101へ送信する(S703)。
仲介装置101は、NRS305からユーザコール用のSOAPメッセージを受信すると、そのSOAPメッセージに自己の識別情報である識別子を付加し、更にそのSOAPメッセージに基づいてそれを含むHTTPメッセージを生成し、インタネット103経由で管理装置102に対してユーザコールを行う。つまり、自己の識別子を付加したユーザコール用のSOAPメッセージを含むHTTPメッセージをインタネット103経由で管理装置102へ通報する(S704)。この場合には、ファイアウォール104の内側から外側に向けての送信であるので、仲介装置101が自ら管理装置102に向けてセッションを張ってデータを送信することができる。
ここで、ステップS704の処理後のパターンを以下の(A)から(C)に分けて説明する。
Upon receiving the user call request notification from the SCS 306, the NRS 305 generates a user call SOAP message that is user call information notifying the user call, and transmits it to the mediation apparatus 101 via the network (S703).
Upon receiving the user call SOAP message from the NRS 305, the intermediary device 101 adds an identifier, which is its own identification information, to the SOAP message, and further generates an HTTP message including it based on the SOAP message. A user call is made to the management apparatus 102 via That is, an HTTP message including a user call SOAP message with its own identifier added is reported to the management apparatus 102 via the Internet 103 (S704). In this case, since the transmission is from the inside to the outside of the firewall 104, the mediation apparatus 101 can transmit data by creating a session toward the management apparatus 102 itself.
Here, the pattern after the process of step S704 will be described separately in the following (A) to (C).

まず、(A)において、管理装置102は、ユーザ先の仲介装置101からユーザコール用のSOAPメッセージを含むHTTPメッセージを受信し、その受信が正常に終了した場合には、その旨(ユーザコールが成功した旨)のコール結果を、正常に終了しなかった(異常に終了した)場合には、その旨(ユーザコールが失敗した旨)のコール結果を示すSOAPメッセージを含むHTTPメッセージを生成し、それを応答としてインタネット103経由で通報元の仲介装置101へ送信する(S705)。
仲介装置101は、管理装置102からコール結果を示すSOAPメッセージを含むHTTPメッセージを受信すると、そのHTTPメッセージに基づいてそのパケット上のコール結果を示すSOAPメッセージを生成し、それをネットワーク経由でユーザコールキーが押下された画像形成装置100のNRS305へ送信する(S706)。
First, in (A), the management apparatus 102 receives an HTTP message including a SOAP message for a user call from the mediation apparatus 101 of the user destination, and if the reception ends normally, that fact (user call is If the call result indicating success) does not end normally (abnormally ends), an HTTP message including a SOAP message indicating the call result indicating that the user call has failed is generated. It is transmitted as a response to the intermediary device 101 as the reporting source via the Internet 103 (S705).
When the mediation apparatus 101 receives an HTTP message including a SOAP message indicating a call result from the management apparatus 102, the mediation apparatus 101 generates a SOAP message indicating the call result on the packet based on the HTTP message, and transmits it to the user call via the network. The image is transmitted to the NRS 305 of the image forming apparatus 100 whose key is pressed (S706).

NRS305は、仲介装置101からコール結果を示すSOAPメッセージを受信すると、そのSOAPメッセージが示すコール結果を解釈(判定)し、それをSCS306へ通知する(S707)。
SCS306は、コール結果を受け取ると、それをOCS300へ引き渡す。
OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが成功したか失敗したかを示すメッセージを操作パネル205上の文字表示器に表示する(S708)。
When the NRS 305 receives the SOAP message indicating the call result from the mediation apparatus 101, the NRS 305 interprets (determines) the call result indicated by the SOAP message and notifies the SCS 306 of the interpretation (determination).
When the SCS 306 receives the call result, it delivers it to the OCS 300.
When the OCS 300 receives the call result from the SCS 306, the OCS 300 displays a message indicating the content, that is, whether the user call is successful or unsuccessful, on the character display on the operation panel 205 (S708).

次に(B)において、仲介装置101は、規定時間(予め設定された所定時間)が経っても管理装置102から応答がないと判断した場合には、ユーザコールが失敗した旨のコール結果を示すSOAPメッセージを生成し、それをNRS305へ送信する(S709)。
NRS305は、失敗した旨のコール結果を示すSOAPメッセージを受信すると、そのSOAPメッセージに記述されている失敗した旨のコール結果を解釈し、それをSCS306へ通知する(S710)。
SCS306は、NRS305からコール結果を受け取ると、それをOCS300へ引き渡す。
Next, in (B), when the intermediary device 101 determines that there is no response from the management device 102 after a predetermined time (a predetermined time set in advance), a call result indicating that the user call has failed is displayed. The SOAP message shown is generated and transmitted to the NRS 305 (S709).
When the NRS 305 receives a SOAP message indicating a call result indicating failure, the NRS 305 interprets the call result indicating failure described in the SOAP message and notifies the SCS 306 of the result (S710).
When the SCS 306 receives the call result from the NRS 305, the SCS 306 delivers it to the OCS 300.

OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが失敗した旨を示すメッセージを操作パネル205上の文字表示器に表示する(S711)。
次に(C)において、NRS305は、規定時間が経っても仲介装置101から応答がないと判断した場合には、ユーザコールが失敗した旨のコール結果をSCS306へ通知する(S712)。
SCS306は、NRS305からコール結果を受け取ると、それをOCS300へ引き渡す。
OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが失敗した旨を示すメッセージを操作パネル205上の文字表示器に表示する(S713)。
When the OCS 300 receives the call result from the SCS 306, the OCS 300 displays the content, that is, a message indicating that the user call has failed on the character display on the operation panel 205 (S711).
Next, in (C), when the NRS 305 determines that there is no response from the mediation apparatus 101 even after the specified time has elapsed, the NRS 305 notifies the SCS 306 of a call result indicating that the user call has failed (S712).
When the SCS 306 receives the call result from the NRS 305, the SCS 306 delivers it to the OCS 300.
When the OCS 300 receives the call result from the SCS 306, the OCS 300 displays the content, that is, a message indicating that the user call has failed on the character display on the operation panel 205 (S713).

なお、ここでは管理装置102からファイアウォール104を越えて仲介装置101(あるいは仲介装置101を介して画像形成装置100)にデータを送信するために、仲介装置101からのHTTPリクエストに対するレスポンスという形で送信を行う例について説明したが、ファイアウォール104を越える手段はこれに限られるものではなく、例えば、SMTP(Simple Mail Transfer Protocol)を利用して、送信したいデータを記載あるいは添付したメールを管理装置102から仲介装置101に送信することも考えられる。ただし、信頼性の面ではHTTPが優れている。   Here, in order to transmit data from the management apparatus 102 to the mediation apparatus 101 (or the image forming apparatus 100 via the mediation apparatus 101) over the firewall 104, the data is transmitted in the form of a response to the HTTP request from the mediation apparatus 101. However, the means for going beyond the firewall 104 is not limited to this example. For example, using the Simple Mail Transfer Protocol (SMTP), the management apparatus 102 sends a mail describing or attaching data to be transmitted. Transmission to the mediation apparatus 101 is also conceivable. However, HTTP is superior in terms of reliability.

ここで、画像形成装置100は、プロッタエンジンや操作パネル205等の各ハードウェア資源を制御するCPU(コントローラCPU)が、その各ハードウェア資源の状態を監視し、いずれかのハードウェア資源で異常等の所定の事象が発生した場合、その事象を検出し、その事象の種類によって異なる処理を行う。よって、事象の種類を判定するための基準となる情報が必要であり、図11の例は事象の種類を判定するための基準となる情報の一例を示すテーブルのデータ構造を示している。ここで、「SC(サービスマンコール)」は「異常」に相当するものである。同図に示すように、検出されたSCによって種類(タイプ)が判定される。そこで、それぞれの種類について説明する。   Here, in the image forming apparatus 100, a CPU (controller CPU) that controls each hardware resource such as the plotter engine and the operation panel 205 monitors the state of each hardware resource, and any hardware resource is abnormal. When a predetermined event occurs, the event is detected, and different processing is performed depending on the type of the event. Therefore, information serving as a reference for determining the type of event is necessary, and the example of FIG. 11 illustrates a data structure of a table indicating an example of information serving as a reference for determining the type of event. Here, “SC (Service Man Call)” corresponds to “abnormal”. As shown in the figure, the type is determined based on the detected SC. Therefore, each type will be described.

「タイプA」のSCは、操作パネル205上にSC表示を行って使用禁止(使用不可)とするもののうち、ユーザ(機器利用者)が解除できないSCである。このタイプAのSCは、管理装置102からの「SCリセット」もできない。例えば、定着系のSCなどである。「タイプA」は画像形成装置100(機器)側のメインスイッチ(主電源スイッチ)のOFF/ONによる主電源のOFF/ONもしくはソフト電源キーの操作によるエンジンユニットへの給電停止/解除によっては復旧できない。   “Type A” SCs are SCs that cannot be used (cannot be used) by displaying an SC on the operation panel 205 and cannot be canceled by the user (device user). This type A SC cannot perform “SC reset” from the management apparatus 102. For example, a fixing SC. “Type A” is restored by turning off / on the main power by turning off / on the main switch (main power switch) on the image forming apparatus 100 (device) side or by stopping / releasing the power supply to the engine unit by operating the soft power key. Can not.

「タイプB」は、異常が検出(検知)された特定の機能のみが使用できないSCである。通常使用時には操作パネル205上にSC表示を行わないが、異常が検出されている機能が選択された時だけ、その操作パネル205上にSC表示を行う。例えば、両面ユニット(両面トレイ)異常時に両面モードが選択された場合が該当する。
「タイプC」は、異常発生時にも操作パネル205へのSC表示は行わず、内部的にSCの発生のロギングのみを行うものである。例えば、通信が不能になった場合が該当する。
“Type B” is an SC that cannot use only a specific function in which an abnormality is detected (detected). The SC display is not displayed on the operation panel 205 during normal use, but the SC display is performed on the operation panel 205 only when a function in which an abnormality is detected is selected. For example, this corresponds to the case where the duplex mode is selected when the duplex unit (duplex tray) is abnormal.
“Type C” does not display the SC on the operation panel 205 even when an abnormality occurs, and internally only logs the occurrence of the SC. For example, the case where communication becomes impossible corresponds.

「タイプD」は、操作パネル205上にSC表示を行って使用禁止とするが、画像形成装置100側のメインスイッチのOFF/ONによる主電源のOFF/ONもしくはソフト電源キーの操作によるエンジンユニットへの給電停止/解除によって解除できるSCである。但し、主電源ON(電源投入)後もしくはエンジンユニットへの給電停止/解除後に、再度異常を検出して、見かけ上解除されない場合もある。例えば、モータ異常がそれに該当する。
上記判定の基準情報は、上述したNV−RAM202(又はHDD201)の所定の格納領域に格納されていることが考えられる。なお、スキャナエンジンのSC,プロッタエンジンのSCのように、ユニット別の事象も種類の異なる事象として扱うものとする。
“Type D” displays an SC on the operation panel 205 to prohibit the use, but the engine unit is turned off / on by turning off / on the main switch on the image forming apparatus 100 side or operating the soft power key. SC that can be canceled by stopping / releasing the power supply to. However, after the main power supply is turned on (power is turned on) or after the power supply to the engine unit is stopped / released, an abnormality may be detected again and it may not be apparently released. For example, a motor abnormality corresponds to this.
The reference information for the determination may be stored in a predetermined storage area of the NV-RAM 202 (or HDD 201) described above. It should be noted that events such as scanner engine SC and plotter engine SC are also handled as different types of events.

次に、上述した画像形成装置および画像形成装置遠隔管理システムにおける実施例、つまりこの発明の特徴となる動作(画像形成装置によるログ保存処理を含む動作)およびその動作を実現するための構成について説明する。
この画像形成装置には、上述したように、公衆回線に対応した通信手段とインタネット通信に対応した通信手段の双方を設けている。
Next, an embodiment of the image forming apparatus and the image forming apparatus remote management system described above, that is, an operation (operation including log storage processing by the image forming apparatus) that is a feature of the present invention and a configuration for realizing the operation will be described. To do.
As described above, the image forming apparatus is provided with both a communication unit corresponding to a public line and a communication unit corresponding to Internet communication.

そして、画像形成装置100は、仲介装置101および公衆回線を介して管理装置102と通信するCSS方式による遠隔管理(リモートサービス:RS)と、仲介装置101およびインタネット103を介して管理装置102と通信するNRS方式による遠隔管理の対象となり得るように構成している。画像形成装置110は、仲介装置101の機能を備えているため、公衆回線を介して管理装置と通信するCSS方式による遠隔管理と、インタネット103を介して管理装置102と通信するNRS方式による遠隔管理の対象となり得るように構成している。   The image forming apparatus 100 communicates with the management apparatus 102 via the mediation apparatus 101 and the Internet 103, and remote management (remote service: RS) by the CSS method that communicates with the management apparatus 102 via the mediation apparatus 101 and the public line. It is configured to be a target of remote management by the NRS method. Since the image forming apparatus 110 has the function of the mediation apparatus 101, the CSS management remote management that communicates with the management apparatus via the public line and the NRS remote management that communicates with the management apparatus 102 via the Internet 103. It is configured to be a target of.

ここで、画像形成装置100および画像形成装置110は、自己のエンジンユニットの状態を示す情報を送信したり、自己のエンジンユニット等のハードウェア資源で通報要因となる事象が発生した場合に、その事象を知らせる事象情報等を管理装置102へ通報したりするためのプログラムとして、上記のCSS方式に対応したCSS315と、上記のNRS方式に対応したNRS305とを設けている。
以下、説明の都合上、画像形成装置100および画像形成装置110がNRS305を使用する場合のこの発明に係わる動作について説明する。なお、画像形成装置100および画像形成装置110がCSS315を使用することによってもこの発明に係わる動作を行うことができる。
Here, the image forming apparatus 100 and the image forming apparatus 110 transmit information indicating the state of their own engine unit, or when an event that causes a notification occurs in hardware resources such as their own engine unit. As a program for notifying the management apparatus 102 of event information for notifying an event, a CSS 315 corresponding to the CSS method and an NRS 305 corresponding to the NRS method are provided.
Hereinafter, for convenience of explanation, an operation according to the present invention when the image forming apparatus 100 and the image forming apparatus 110 use the NRS 305 will be described. The operation according to the present invention can also be performed when the image forming apparatus 100 and the image forming apparatus 110 use the CSS 315.

〔第1実施例〕
図12は、この画像形成装置遠隔管理システムにおける画像形成装置100によるこの発明に係わるログ保存処理を含む動作時の通信シーケンスの一例を示す図である。なお、以下に示す各アプリ(アプリケーション),SCS306,およびNRS305による処理は、実際にはCPUがそれらのプログラムに従って動作することによって実行するが、説明の都合上、それらのプログラムが処理を実行するものとする。
[First embodiment]
FIG. 12 is a diagram showing an example of a communication sequence during operation including log storage processing according to the present invention by the image forming apparatus 100 in the image forming apparatus remote management system. Note that the processing by each application (application), SCS 306, and NRS 305 shown below is actually executed by the CPU operating according to those programs, but for the convenience of explanation, those programs execute the processing. And

画像形成装置100では、ログ管理が必要なアプリ等のプログラムがそれぞれ、対応するハードウェア資源で異常等の所定の事象が発生した場合あるいは処理結果等の通知を行いたい場合、その事象が発生した旨あるいは処理結果等をSCS306へ通知する。
この例では、まずプロッタエンジンを制御するアプリが、そのプロッタエンジンの状態を監視し、プロッタエンジン内でトナーボトルのトナーニアエンドが発生した場合(トナーサプライであるトナーボトル内のトナー量が所定量以下になった場合)、そのトナーボトル事象をセンサを用いて検出し、トナーニアエンドが発生した旨をSCS306へ通知する。
In the image forming apparatus 100, when a predetermined event such as an abnormality occurs in a corresponding hardware resource or a program such as an application that requires log management is desired to be notified of the processing result, the event has occurred. The SCS 306 is notified of the fact or the processing result.
In this example, the application that controls the plotter engine first monitors the state of the plotter engine, and when a toner near-end of the toner bottle occurs in the plotter engine (the amount of toner in the toner bottle as a toner supply is below a predetermined amount) ), The toner bottle event is detected using a sensor, and the SCS 306 is notified that a toner near end has occurred.

そのSCS306は、プロッタエンジンを制御するアプリからトナーニアエンドが発生した旨の通知を受けると、プロッタエンジン内でトナーニアエンドが発生したと判定し、トナーサプライコール要求をNRS305へ通知する。このとき、そのトナーサプライコール要求に、画像形成装置100の識別情報である機番情報を付加する。
NRS305は、トナーサプライコール要求の通知を受けると、トナーボトルの発注(トナーニアエンドの発生)を知らせるトナーサプライコール情報であるトナーサプライコール用のSOAPメッセージ(トナーサプライコール要求に付加された機番情報を含む)を生成して、それを仲介装置101へ送信する。
When the SCS 306 receives a notification that a toner near end has occurred from an application that controls the plotter engine, the SCS 306 determines that a toner near end has occurred in the plotter engine, and notifies the NRS 305 of a toner supply call request. At this time, machine number information which is identification information of the image forming apparatus 100 is added to the toner supply call request.
When the NRS 305 receives the notification of the toner supply call request, the toner supply call SOAP message (the model number information added to the toner supply call request), which is toner supply call information notifying the order of the toner bottle (occurrence of toner near end), is received. Are generated) and transmitted to the intermediary device 101.

仲介装置101は、NRS305からトナーサプライコール用のSOAPメッセージを受信すると、そのSOAPメッセージに自己の識別情報である仲介装置識別子を付加し、更にそのSOAPメッセージに基づいてHTTPメッセージを生成し、インタネット103経由でサービスセンタの管理装置102に対してトナーサプライコールを行う。つまり、自己の仲介装置識別子を付加したトナーサプライコール用のSOAPメッセージを含むHTTPメッセージをインタネット103経由でサービスセンタの管理装置102へ自動通報(自動送信)する。   When the mediation device 101 receives the SOAP message for the toner supply call from the NRS 305, the mediation device identifier is added to the SOAP message as its identification information, and an HTTP message is generated based on the SOAP message. Via this, a toner supply call is made to the management device 102 of the service center. In other words, an HTTP message including a SOAP message for toner supply call added with its own mediating device identifier is automatically notified (automatically transmitted) to the management device 102 of the service center via the Internet 103.

サービスセンタの管理装置102は、いずれかの機器利用者側の仲介装置101から通報されたトナーサプライコール用のSOAPメッセージを含むHTTPメッセージを受信し、その受信が正常に終了した場合に、その受信したHTTPメッセージ内のSOAPメッセージに付加された機番情報および仲介装置識別子に基づいて、そのHTTPメッセージの受信が正常に終了した旨(トナーサプライコールに対する処理が成功した旨)のコール結果であるコールOKを示すSOAPメッセージを含むHTTPメッセージを生成し、それをインタネット103経由で通報元の仲介装置101(トナーサプライコール用のSOAPメッセージを含むHTTPメッセージを送信した仲介装置101)へ送信する。   The service center management apparatus 102 receives an HTTP message including a SOAP message for toner supply call notified from the mediating apparatus 101 on the side of any device user, and when the reception ends normally, receives the HTTP message. A call that is a call result indicating that the reception of the HTTP message has been normally completed (the processing for the toner supply call has been successful) based on the machine number information and the mediation device identifier added to the SOAP message in the received HTTP message An HTTP message including a SOAP message indicating OK is generated, and the HTTP message is transmitted via the Internet 103 to the mediating apparatus 101 that is the notification source (the mediating apparatus 101 that has transmitted the HTTP message including the SOAP message for toner supply call).

また、受信したHTTPメッセージ内のSOAPメッセージ(トナーサプライコール情報)をキュー(データベース605)に格納し、センタオペレータによって対応する処理、つまりトナーボトルの受注作業等が行われるまでキューイング(保持)する。
さらに、受信したHTTPメッセージ内のSOAPメッセージの内容を操作者端末604の表示部に表示してセンタオペレータに知らせる。
センタオペレータは、操作者端末604の表示部の表示内容を見て通報元の仲介装置101に接続されている画像形成装置100のプロッタエンジン内でトナーニアエンドが発生し、トナーボトルが発注されたことを認識すると、トナーボトルの受注作業等を行い、例えばサービスマンを手配して通報元の仲介装置101の設置場所にトナーボトルを届けさせる。
In addition, the SOAP message (toner supply call information) in the received HTTP message is stored in a queue (database 605), and is queued (held) until a corresponding process is performed by the center operator, that is, a toner bottle order receiving operation or the like is performed. .
Further, the content of the SOAP message in the received HTTP message is displayed on the display unit of the operator terminal 604 to notify the center operator.
The center operator sees the display content of the display unit of the operator terminal 604 and has confirmed that a toner near end has occurred in the plotter engine of the image forming apparatus 100 connected to the reporting intermediary apparatus 101 and the toner bottle has been ordered. Is recognized, a toner bottle ordering operation or the like is performed. For example, a service person is arranged to deliver the toner bottle to the location where the intermediary device 101 of the notification source is installed.

仲介装置101は、サービスセンタの管理装置102へのトナーサプライコール(トナーサプライコール用のSOAPメッセージを含むHTTPメッセージの自動通報)の結果として、その管理装置102からコールOK(上記HTTPメッセージの受信が正常に終了した旨のコール結果)を示すSOAPメッセージを含むHTTPメッセージを受信すると、そのHTTPメッセージに基づいてコールOKを示すSOAPメッセージを生成し、それを該当する(トナーニアエンドが発生した)画像形成装置100のNRS305へ送信する。
そのNRS305は、仲介装置101からコールOKを示すSOAPメッセージを受信すると、SCS306へコールOK(トナーサプライコールが正常に終了した旨)を通知する。
As a result of the toner supply call (automatic notification of an HTTP message including a SOAP message for toner supply call) to the service center management apparatus 102, the intermediary apparatus 101 receives a call OK (reception of the HTTP message is received from the management apparatus 102). When an HTTP message including a SOAP message indicating a successful call result) is received, a SOAP message indicating a call OK is generated based on the HTTP message, and image formation corresponding to the generated SOAP message (a toner near end has occurred) is generated. Transmit to the NRS 305 of the device 100.
When the NRS 305 receives the SOAP message indicating the call OK from the mediation apparatus 101, the NRS 305 notifies the SCS 306 of the call OK (the toner supply call has been normally completed).

SCS306は、NRS305からコールOKの通知を受けると、管理装置102へのトナーサプライコールが正常に終了した(成功した)と判断し、トナーニアエンドが発生した旨の通知に関するログとして、トナーサプライコールが正常に終了した旨を示すトナーサプライコール終了ログを作成し、それをHDD201(NV−RAM202等の他の記憶手段でもよい)の所定記憶領域であるログ保存エリアのサプライログ保存エリアに書き込む。このとき、そのサプライログ保存エリアに空きがなければ、最も古いログに上書きする。   When the SCS 306 receives a call OK notification from the NRS 305, the SCS 306 determines that the toner supply call to the management apparatus 102 has been normally completed (successful), and the toner supply call is a log regarding the notification that the toner near-end has occurred. A toner supply call end log indicating the normal end is created and written in a supply log storage area of a log storage area which is a predetermined storage area of the HDD 201 (or other storage means such as NV-RAM 202). At this time, if there is no space in the supply log storage area, the oldest log is overwritten.

ここで、SCS306によって作成(生成)されるログの記述内容について、説明しておく。
図13は、SCS306によって作成されるログの内容の一例を示す説明図である。
この図を見て分かるように、ログは、その作成日時(発生日時)、異常(障害)又は通信が発生したアプリケーション名とソース名、ログ作成時に発生した異常(ERROR),警告(WARNING),操作(OPERATION),又は情報(INFORMATION)等のログのレベル、エラーの行数、エラーコード、ログの機能詳細によって構成されている。
Here, description contents of a log created (generated) by the SCS 306 will be described.
FIG. 13 is an explanatory diagram showing an example of the contents of a log created by the SCS 306.
As can be seen from this figure, the log has its creation date and time (occurrence date and time), an abnormality (failure) or application name and source name in which communication has occurred, an error (ERROR) that occurred during log creation, a warning (WARNING), It is composed of log level such as operation (OPERATION) or information (INFORMATION), number of error lines, error code, and log function details.

図14は、SCS306によって作成されるログの内容の具体例を示す説明図である。
この図を見て分かるように、この例のログは、トナーニアエンドが発生し(トナーサプライであるトナーボトル内のトナー量が所定量以下になり)、トナーサプライコール(トナーボトルの発注を知らせるトナーサプライコール情報の自動通報)が行われた時に作成されるログ(トナーニアエンドが発生した旨の通知に関するログ)である。この例では、ログのレベルが情報(INFORMATION)となっているが、警告(WARNING)としてもよい。ログとしては、ログ管理が必要なアプリ等のプログラムから前述した各タイプのSC(タイプAのSCであるSC_A,タイプBのSCであるSC_B,タイプCのSCであるSC_C,タイプDのSCであるSC_D)等の他の事象が発生した旨あるいは処理結果等の通知があった場合に作成されるログ(各通知に関するログ)もある。
FIG. 14 is an explanatory diagram showing a specific example of the contents of a log created by the SCS 306.
As can be seen from this figure, the log in this example shows that a toner near-end has occurred (the amount of toner in the toner bottle, which is a toner supply, falls below a predetermined amount), and a toner supply call (toner notifying the order of a toner bottle) This is a log (a log related to a notification that a toner near end has occurred) created when an automatic notification of supply call information is performed. In this example, the log level is information (INFORMATION), but it may be a warning (WARNING). As logs, each type of SC (SC_A which is SC of type A, SC_B which is SC of type B, SC_C which is SC of type C, SC of type D) from programs such as applications that require log management is used. There is also a log (a log related to each notification) created when there is a notification of the occurrence of another event such as (SC_D) or a processing result.

なお、通報元の仲介装置101は、サービスセンタの管理装置102へのトナーサプライコール(トナーサプライコール用のSOAPメッセージを含むHTTPメッセージの自動通報)の結果として、その管理装置102からコールOK(上記HTTPメッセージの受信が正常に終了した旨のコール結果)を示すSOAPメッセージを含むHTTPメッセージを予め設定された所定時間が経過しても受信できなかった場合、そのHTTPメッセージに基づいてコールNGを示すSOAPメッセージを生成し、それを該当する画像形成装置100のNRS305へ送信する。   As a result of the toner supply call (automatic notification of an HTTP message including a SOAP message for toner supply call) to the service center management apparatus 102, the mediating apparatus 101 that is the reporting source sends a call OK (above described) from the management apparatus 102. If the HTTP message including the SOAP message indicating that the reception of the HTTP message has been successfully completed is not received even after a predetermined time has elapsed, the call NG is indicated based on the HTTP message. A SOAP message is generated and transmitted to the NRS 305 of the corresponding image forming apparatus 100.

あるいは、通報元の仲介装置101は、上記HTTPメッセージの受信が正常に終了しなかった旨のコール結果(コールNG)を示すSOAPメッセージを含むHTTPメッセージを受信した場合に、コールNGを示すSOAPメッセージを該当する画像形成装置100のNRS305へ送信する。この場合、サービスセンタの管理装置102は、いずれかの機器利用者側の仲介装置101から通報されたトナーサプライコール用のSOAPメッセージを含むHTTPメッセージを受信し、その受信が正常に終了しなかった場合に、その受信したHTTPメッセージ内のSOAPメッセージに付加された機番情報および仲介装置識別子に基づいて、そのHTTPメッセージの受信が正常に終了しなかった旨(トナーサプライコールに対する処理が失敗した旨)のコール結果であるコールNGを示すSOAPメッセージを含むHTTPメッセージを生成し、それをインタネット103経由で通報元の仲介装置101へ送信する。   Alternatively, when the intermediary device 101 as the reporting source receives an HTTP message including a SOAP message indicating a call result (call NG) indicating that the reception of the HTTP message has not ended normally, a SOAP message indicating a call NG Is transmitted to the NRS 305 of the corresponding image forming apparatus 100. In this case, the service center management apparatus 102 has received an HTTP message including a SOAP message for toner supply call notified from one of the device user side mediation apparatuses 101, and the reception has not ended normally. In this case, based on the machine number information and the mediation device identifier added to the SOAP message in the received HTTP message, the fact that the reception of the HTTP message has not been completed normally (the processing for the toner supply call has failed) The HTTP message including the SOAP message indicating the call NG that is the call result of) is generated and transmitted to the mediating apparatus 101 that is the notification source via the Internet 103.

該当する画像形成装置100のNRS305は、仲介装置101からコールNGを示すSOAPメッセージを受信すると、SCS306へコールNG(トナーサプライコールが正常に終了しなかった旨)を通知する。
そのSCS306は、NRS305からコールNGの通知を受けると、管理装置102へのトナーサプライコールが異常に終了した(失敗した)と判断し、トナーニアエンドが発生した旨の通知に関するログとして、トナーサプライコールが異常に終了した旨を示すトナーサプライコール終了ログ(現在の時刻情報を含む)を作成し、それをHDD201のログ保存エリアのサプライログ保存エリアに書き込む。このとき、そのサプライログ保存エリアに空きがなければ、最も古いログに上書きする。
プロッタエンジンを含む各ハードウェア資源を制御するアプリはそれぞれ、対応するハードウェア資源でSC_A(又はSC_B等のSC)が発生した場合、そのSC_Aを検出し、そのSC_Aが発生した旨をSCS306へ通知する。
When the NRS 305 of the corresponding image forming apparatus 100 receives the SOAP message indicating the call NG from the mediation apparatus 101, the NRS 305 notifies the SCS 306 of the call NG (that the toner supply call has not ended normally).
When the SCS 306 receives the call NG notification from the NRS 305, the SCS 306 determines that the toner supply call to the management apparatus 102 has ended abnormally (failed), and uses the toner supply call as a log regarding the notification that the toner near-end has occurred. Creates a toner supply call end log (including current time information) indicating that the process ended abnormally, and writes it in the supply log storage area of the HDD 201 log storage area. At this time, if there is no space in the supply log storage area, the oldest log is overwritten.
When an SC_A (or SC_B or other SC) occurs in the corresponding hardware resource, each application that controls each hardware resource including the plotter engine detects the SC_A and notifies the SCS 306 that the SC_A has occurred. To do.

そのSCS306は、各ハードウェア資源をそれぞれ制御するアプリのいずれかからSC_Aが発生した旨の通知を受けると、そのアプリ(又はハードウェア資源)でSC_Aが発生したと判定し、そのSC_Aコール要求をNRS305へ通知する。
NRS305は、SC_Aコール要求の通知を受けると、図示は省略するが、SC_Aの発生を知らせるSC_Aコール情報であるSC_Aコール用のSOAPメッセージ(SC_Aコール要求に付加された機番情報を含む)を生成して、それを仲介装置101へ送信してSC_Aコールを行わせる。なお、SC_Aコール等の各SCコールについては、上述したトナーサプライコールとコールの種類が異なるだけで処理内容は略同様なので、詳細な説明は省略する。
When the SCS 306 receives notification that SC_A has occurred from any of the applications that control each hardware resource, the SCS 306 determines that SC_A has occurred in that application (or hardware resource), and sends the SC_A call request. Notify NRS 305.
Upon receiving the notification of the SC_A call request, the NRS 305 generates a SOAP message for SC_A call (including the machine number information added to the SC_A call request), which is SC_A call information notifying the occurrence of SC_A, although not shown. Then, it is transmitted to the mediation apparatus 101 to make an SC_A call. Since each SC call such as the SC_A call has substantially the same processing contents as the above-described toner supply call except for the type of call, detailed description thereof will be omitted.

SCS306は、NRS305へのSC_Aコール要求に対して、NRS305からコールOKの通知を受けると、管理装置102へのSC_Aコールが正常に終了したと判断し、SC_Aが発生した旨の通知に関するログとして、SC_Aコールが正常に終了した旨を示すSC_Aコール終了ログ(現在の時刻情報を含む)を作成し、それをHDD201のログ保存エリアの対応するSC_A保存エリアに書き込む。このとき、そのSC_A保存エリアに空きがなければ、最も古いログに上書きする。NRS305からコールNGの通知を受けた場合には、管理装置102へのSC_Aコールが異常に終了したと判断し、SC_Aが発生した旨の通知に関するログとして、SC_Aコールが異常に終了した旨を示すSC_Aコール終了ログを作成し、それをHDD201のログ保存エリアの対応するSC_A保存エリアに書き込む。   When the SCS 306 receives a call OK notification from the NRS 305 in response to the SC_A call request to the NRS 305, the SCS 306 determines that the SC_A call to the management apparatus 102 has ended normally, and as a log related to the notification that the SC_A has occurred, An SC_A call end log (including current time information) indicating that the SC_A call has ended normally is created and written to the corresponding SC_A storage area of the HDD 201 log storage area. At this time, if there is no space in the SC_A storage area, the oldest log is overwritten. When a call NG notification is received from the NRS 305, it is determined that the SC_A call to the management apparatus 102 has ended abnormally, and indicates that the SC_A call has ended abnormally as a log related to the notification that SC_A has occurred. An SC_A call end log is created and written into the corresponding SC_A storage area of the log storage area of the HDD 201.

なお、各ハードウェア資源をそれぞれ制御するアプリのいずれかからSC_B等の他のSCが発生した旨の通知がなされた場合のSCS306,NRS305,仲介装置101による処理については、SC_Aが発生した旨の通知がなされた場合とSCの種類が異なるだけで処理内容は略同様なので、詳細な説明は省略する。   Regarding the processing performed by the SCS 306, NRS 305, and the intermediary device 101 when notification that another SC has occurred, such as SC_B, from any of the applications that control each hardware resource, the fact that SC_A has occurred is described. Since the processing contents are substantially the same except that the notification is made and the type of SC is different, detailed description thereof is omitted.

NRS305は、図示しないタイマを使用して時間管理を行っており、図示は省略するが、定期的にトータルカウンタ値(積算画像形成枚数)等の定期情報を示す定期通知用(ポーリング用でもよい)のSOAPメッセージを生成して、それを仲介装置101へ送信する。
仲介装置101は、NRS305から定期通知用のSOAPメッセージを受信すると、そのSOAPメッセージに自己の識別情報である仲介装置識別子を付加し、更にそのSOAPメッセージに基づいてHTTPメッセージを生成し、インタネット103経由でサービスセンタの管理装置102に対して定期通知を行う。つまり、自己の仲介装置識別子を付加した定期通知用のSOAPメッセージを含むHTTPメッセージをインタネット103経由でサービスセンタの管理装置102へ自動送信する。
The NRS 305 uses a timer (not shown) to perform time management. Although not shown, the NRS 305 periodically shows periodic information such as a total counter value (total number of images formed) and may be used for polling. The SOAP message is generated and transmitted to the mediation apparatus 101.
Upon receiving the periodic notification SOAP message from the NRS 305, the mediation device 101 adds the mediation device identifier, which is its own identification information, to the SOAP message, and further generates an HTTP message based on the SOAP message, via the Internet 103. Then, a periodic notification is sent to the management device 102 of the service center. That is, an HTTP message including a periodic notification SOAP message with its own intermediary device identifier added is automatically transmitted to the service center management device 102 via the Internet 103.

サービスセンタの管理装置102への定期通知が終了すると、その旨を示すSOAPメッセージを生成し、それを該当する画像形成装置100のNRS305へ送信する。
NRS305は、仲介装置101から定期通知が終了した旨を示すSOAPメッセージを受信すると、SCS306へ定期通知が終了した旨を通知する。
SCS306は、NRS305から定期通知が終了した旨の通知を受けると、定期通知に関するログとして、サービスセンタに対して定期通知を行った旨を示す定期通知ログ(現在の時刻情報を含む)を作成し、それをHDD201のログ保存エリアの通信ログ保存エリアに書き込む。このとき、その通信ログ保存エリアに空きがなければ、最も古いログに上書きする。
When the periodic notification to the service center management apparatus 102 is completed, a SOAP message indicating that fact is generated and transmitted to the NRS 305 of the corresponding image forming apparatus 100.
When the NRS 305 receives a SOAP message indicating that the periodic notification has ended from the mediation apparatus 101, the NRS 305 notifies the SCS 306 that the periodic notification has ended.
When the SCS 306 receives notification from the NRS 305 that the regular notification has ended, the SCS 306 creates a regular notification log (including current time information) indicating that the regular notification has been made to the service center as a log related to the regular notification. Then, it is written in the communication log storage area of the log storage area of the HDD 201. At this time, if there is no space in the communication log storage area, the oldest log is overwritten.

なお、サプライログ保存エリア,SC_Aログ保存エリア,SC_Bログ保存エリア,通信ログ保存エリアを含む各分割エリア(分割領域)のうち、管理情報であるログ保存エリア指定情報およびログ種別保存数決定テーブルに基づいてログの書き込み先の分割エリアを指定することができるが、それについては後述する。   Of the divided areas (divided areas) including the supply log saving area, the SC_A log saving area, the SC_B log saving area, and the communication log saving area, the log saving area designation information and the log type saving number determination table as management information are displayed. Based on this, it is possible to specify a log writing destination divided area, which will be described later.

図15および図16は、画像形成装置100のSCS306によるログ保存処理の一例を示すフローチャートである。
画像形成装置100のSCS306は、ログ管理が必要なアプリを含む各プログラムのいずれかから異常等の所定の事象が発生した旨あるいは処理結果(例えば定期通知が終了した旨)等の通知があった場合に、図15の処理を開始し、まずステップS1でログ保存エリアが決定済みか否かを判断し、ログ保存エリアが決定済みであればそのままステップS3へ進むが、ログ保存エリアが決定済みでなければステップS2で管理情報であるログ保存エリア指定情報およびログ種別保存数決定テーブルに基づいてログ保存エリア決定処理を行った後、ステップS3へ進む。
15 and 16 are flowcharts illustrating an example of log storage processing by the SCS 306 of the image forming apparatus 100.
The SCS 306 of the image forming apparatus 100 has notified that a predetermined event such as an abnormality has occurred or a processing result (for example, periodic notification has ended) from any of the programs including applications that require log management. In this case, the process of FIG. 15 is started, and it is first determined in step S1 whether or not the log storage area has been determined. If the log storage area has been determined, the process proceeds directly to step S3, but the log storage area has been determined. Otherwise, in step S2, log storage area determination processing is performed based on the log storage area designation information, which is management information, and the log type storage number determination table, and then the process proceeds to step S3.

ここで、ログ保存エリア決定処理について、詳細に説明する。
図17は、図15のログ保存エリア決定処理のサブルーチンを示すフローチャートである。
図18は、コントローラボード200のRAM上のこの発明に係わるメモリを説明するための図である。この図を見て分かるように、コントローラボード200のRAM(HDD201又はNV−RAM202でもよい)上には、SC_Aログ保存エリア指定メモリ,SC_Bログ保存エリア指定メモリ,サプライログ保存エリア指定メモリ,通信ログ保存エリア指定メモリを含む各ログ保存エリア指定メモリとして使用する領域が予め確保されている。
Here, the log storage area determination process will be described in detail.
FIG. 17 is a flowchart showing a subroutine of the log storage area determination process of FIG.
FIG. 18 is a diagram for explaining a memory according to the present invention on the RAM of the controller board 200. As can be seen from this figure, an SC_A log storage area designation memory, an SC_B log storage area designation memory, a supply log storage area designation memory, a communication log are stored on the RAM (which may be the HDD 201 or the NV-RAM 202) of the controller board 200. An area to be used as each log storage area designation memory including the storage area designation memory is secured in advance.

SC_Aログ保存エリア指定メモリには、SC_Aコールログ(SC_Aが発生した旨の通知に関するログ)が保存されているSC_Aログ保存エリアを指定(選択)するためのログ保存エリア指定情報としてSC_Aログ保存エリアの先頭アドレス(先頭書き込み位置)を示す番号(SC_Aログ保存エリア番号)n1が、SC_Bコールログ(SC_Bが発生した旨の通知に関するログ)が保存されているSC_Bログ保存エリアを指定するためのログ保存エリア指定情報としてSC_Bログ保存エリアの先頭アドレスを示す番号(SC_Bログ保存エリア番号)n2が、トナーニアエンドが発生した旨の通知に関するログ(トナーサプライコール終了ログ)が保存されているサプライログ保存エリアを指定するためのログ保存エリア指定情報としてサプライログ保存エリアの先頭アドレスを示す番号(サプライログ保存エリア番号)n3が、定期通知に関するログ(定期通知ログ)が保存されている通信ログ保存エリアを指定するためのログ保存エリア指定情報として通信ログ保存エリアの先頭アドレスを示す番号(通信ログ保存エリア番号)n4がそれぞれ記憶されている。   In the SC_A log storage area designation memory, the SC_A log storage area is designated as log storage area designation information for designating (selecting) the SC_A log storage area in which the SC_A call log (the log relating to the notification that SC_A has occurred) is stored. A log (SC_A log storage area number) n1 indicating the start address (start write position) of the log is used to specify the SC_B log storage area in which the SC_B call log (log related to the notification that SC_B has occurred) is stored As a storage area designation information, a number (SC_B log storage area number) n2 indicating the start address of the SC_B log storage area stores a supply log in which a log (toner supply call end log) related to a notification that a toner near end has occurred is stored Specify the log storage area to specify the area Log storage area designation information for designating a communication log storage area in which a log (periodic notification log) related to periodic notification is stored as a number (supply log storage area number) n3 indicating the start address of the supply log storage area as information As shown, a number (communication log storage area number) n4 indicating the start address of the communication log storage area is stored.

図19は、SCS306が有するログ種別保存数決定テーブルを説明するための図である。このログ種別保存数決定テーブルには、上述した各ログ別のログ保存可能数が記憶されている。
図20は、SCS306によるログ保存処理を説明するためのメモリマップ図である。
この図20から、生成される各ログを対応する分割エリアに書き込み、その分割エリアに空きがなくなった場合に最も古いログに上書きすることが分かる。
FIG. 19 is a diagram for explaining a log type storage number determination table included in the SCS 306. In the log type storage number determination table, the log storable number for each log described above is stored.
FIG. 20 is a memory map diagram for explaining log storage processing by the SCS 306.
From FIG. 20, it can be seen that each log to be generated is written in the corresponding divided area, and the oldest log is overwritten when there is no space in the divided area.

画像形成装置100のSCS306は、図17のログ保存エリア決定処理のサブルーチンを開始すると、図18に示したRAM上の各保存エリア指定メモリにそれぞれ記憶されているログ保存エリア指定情報(番号)を参照してHDD201におけるログ保存エリアの先頭書き込み位置(先頭アドレス)を取得し、例えば図19に示すログ種別保存数決定テーブル内の各ログ別のログ保存可能数を参照することにより、HDD201のログ保存エリアの各分割エリア(SC_Aログ保存エリア,SC_Bログ保存エリア,サプライログ保存エリア,通信ログ保存エリアを含む)を決定する。   When the SCS 306 of the image forming apparatus 100 starts the log storage area determination processing subroutine of FIG. 17, the log storage area designation information (number) stored in each of the storage area designation memories on the RAM shown in FIG. By referring to the start write position (start address) of the log storage area in the HDD 201 and referring to the log storable number for each log in the log type storage number determination table shown in FIG. Each divided area of the storage area (including SC_A log storage area, SC_B log storage area, supply log storage area, and communication log storage area) is determined.

このとき、RAM上の各保存エリア指定メモリにそれぞれ記憶されている各保存エリア(分割エリア)の先頭書き込み位置に対応する番号nを「1」に初期化する。例えば、RAM上の図18に示すSC_Aログ保存エリア指定メモリ,SC_Bログ保存エリア指定メモリ,サプライ保存エリア指定メモリ,通信ログ保存エリア指定メモリにそれぞれ記憶されているSC_Aログ保存エリア番号n1,SC_Bログ保存エリア番号n2,サプライログ保存エリア番号n3,通信ログ保存エリア番号n4をそれぞれ「1」に初期化する。
したがって、上記決定結果に従ってログの書き込み先の分割エリアを指定することができる。
At this time, the number n corresponding to the first writing position of each storage area (divided area) stored in each storage area designation memory on the RAM is initialized to “1”. For example, SC_A log storage area number n1, SC_B log respectively stored in the SC_A log storage area designation memory, SC_B log storage area designation memory, supply storage area designation memory, and communication log storage area designation memory shown in FIG. The storage area number n2, the supply log storage area number n3, and the communication log storage area number n4 are each initialized to “1”.
Therefore, it is possible to specify the log writing destination division area according to the determination result.

図15に戻ってステップS3以降の処理を説明する。
ステップS3では、ログ管理が必要なアプリを含む各プログラムのいずれかからの通知に関するログが通信ログ(定期通知に関するログ)であるか否かを判別し、通信ログであればステップS4で通信ログ保存エリア指定メモリの内容(通信ログ保存エリア番号n4)を参照し、ステップS5で通信ログ保存エリア番号n4と通信ログ保存可能数(最大値)とを比較し、通信ログ保存エリア番号n4が通信ログ保存可能数(図19の例では「20」)に達したか否かを判断する。
Returning to FIG. 15, the processing after step S3 will be described.
In step S3, it is determined whether or not the log related to notification from any of the programs including applications that require log management is a communication log (log related to periodic notification). If the log is a communication log, the communication log is determined in step S4. With reference to the contents of the storage area designation memory (communication log storage area number n4), the communication log storage area number n4 is compared with the communication log storage count (maximum value) in step S5, and communication log storage area number n4 communicates. It is determined whether or not the log storable number has been reached (“20” in the example of FIG. 19).

そして、通信ログ保存エリア番号n4が通信ログ保存可能数に達していない場合には、ステップS6で通信ログ保存エリア番号n4をインクリメント(n4=n4+1)し、ステップS7で上記通知に関するログを作成して通信ログ保存エリア中の通信ログ保存エリア番号n4による指定エリアに書き込んで保存させる。
通信ログ保存エリア番号n4が通信ログ保存可能数に達した場合、つまり通信ログ保存エリアに空きがなくなった場合には、ステップS8で通信ログ保存エリア番号n4を初期化(n1=1)し、ステップS6で上記通知に関するログを作成して通信ログ保存エリア中の通信ログ保存エリア番号n4による指定エリアに書き込んで保存させる。このとき、通信ログ保存エリア番号n4が「1」であり、その通信ログ保存エリア番号n4による指定エリアには最も古いログが保存されているため、そのログに上記通信ログを上書きすることになる。
If the communication log storage area number n4 has not reached the communication log storable number, the communication log storage area number n4 is incremented (n4 = n4 + 1) in step S6, and a log related to the notification is created in step S7. Then, it is written and stored in the designated area by the communication log storage area number n4 in the communication log storage area.
When the communication log storage area number n4 reaches the communication log storage capacity, that is, when the communication log storage area is full, the communication log storage area number n4 is initialized (n1 = 1) in step S8. In step S6, a log related to the notification is created, and is written and stored in the designated area by the communication log storage area number n4 in the communication log storage area. At this time, since the communication log storage area number n4 is “1” and the oldest log is stored in the designated area by the communication log storage area number n4, the communication log is overwritten on the log. .

ステップS3でログ管理が必要なアプリを含む各プログラムのいずれかからの通知に関するログが通信ログでないと判別した場合には、図16のAに移行し、ステップS9でその通知に関するログがSC_Aに関連するログ(SC_Aログ)であるか否かを判別し、SC_AログであればステップS10でSC_Aログ保存エリア指定メモリの内容(SC_Aログ保存エリア番号n1)を参照し、ステップS11でSC_Aログ保存エリア番号n1とSC_Aログ保存可能数(図19の例では「10」)とを比較し、SC_Aログ保存エリア番号n1がSC_Aログ保存可能数に達したか否かを判断する。
そして、SC_Aログ保存エリア番号n1がSC_Aログ保存可能数に達していない場合には、ステップS12でSC_Aログ保存エリア番号n1をインクリメント(n1=n1+1)し、ステップS13で上記通知に関するログを作成してSC_Aログ保存エリア中のSC_Aログ保存エリア番号n2による指定エリアに書き込んで保存させる。
If it is determined in step S3 that the log related to the notification from any of the programs including the application that requires log management is not a communication log, the process proceeds to A in FIG. 16, and the log related to the notification is transferred to SC_A in step S9. It is determined whether the log is a related log (SC_A log). If the log is an SC_A log, the contents of the SC_A log storage area designation memory (SC_A log storage area number n1) are referred to in step S10, and the SC_A log is stored in step S11. The area number n1 is compared with the SC_A log storable number (“10” in the example of FIG. 19) to determine whether the SC_A log storable area number n1 has reached the SC_A log storable number.
If the SC_A log storage area number n1 has not reached the SC_A log storage capacity, the SC_A log storage area number n1 is incremented (n1 = n1 + 1) in step S12, and a log related to the notification is created in step S13. Then, the data is written and stored in the designated area by the SC_A log storage area number n2 in the SC_A log storage area.

SC_Aログ保存エリア番号n1がSC_Aログ保存可能数に達した場合、つまりSC_Aログ保存エリアに空きがなくなった場合には、ステップS14でSC_Aログ保存エリア番号n1を初期化(n1=1)し、ステップS13で上記通知に関するログを作成してSC_Aログ保存エリア中のSC_Aログ保存エリア番号n1による指定エリアに書き込んで保存させる。このとき、SC_Aログ保存エリア番号n1が「1」であり、そのSC_Aログ保存エリア番号n1による指定エリアには最も古いログが保存されているため、そのログに上記SC_Aログを上書きすることになる。   When the SC_A log storage area number n1 reaches the SC_A log storage capacity, that is, when there is no more space in the SC_A log storage area, the SC_A log storage area number n1 is initialized (n1 = 1) in step S14. In step S13, a log related to the notification is created, and is written and stored in the designated area by the SC_A log storage area number n1 in the SC_A log storage area. At this time, since the SC_A log storage area number n1 is “1” and the oldest log is stored in the area designated by the SC_A log storage area number n1, the SC_A log is overwritten on the log. .

ステップS9でログ管理が必要なアプリを含む各プログラムのいずれかからの通知に関するログがSC_Aログでないと判別した場合には、ステップS15でその通知に関するログがサプライに関連するログ(サプライログ)であるか否かを判別し、サプライログであればステップS16でサプライログ保存エリア指定メモリの内容(サプライログ保存エリア番号n3)を参照し、ステップS17でサプライログ保存エリア番号n3とサプライログ保存可能数(図19の例では「5」)とを比較し、サプライログ保存エリア番号n3がサプライログ保存可能数に達したか否かを判断する。
そして、サプライログ保存エリア番号n3がサプライログ保存可能数に達していない場合には、ステップS18でサプライログ保存エリア番号n3をインクリメント(n3=n3+1)し、ステップS19で上記通知に関するログを作成してサプライログ保存エリア中のサプライログ保存エリア番号n3による指定エリアに書き込んで保存させる。
If it is determined in step S9 that the log related to the notification from any of the programs including the application that requires log management is not the SC_A log, the log related to the notification is a supply related log (supply log) in step S15. If it is a supply log, the contents of the supply log storage area designation memory (supply log storage area number n3) are referred to in step S16, and the supply log storage area number n3 and the supply log can be stored in step S17. The number ("5" in the example of FIG. 19) is compared to determine whether or not the supply log storage area number n3 has reached the supply log storable number.
If the supply log storage area number n3 has not reached the supply log storage count, the supply log storage area number n3 is incremented (n3 = n3 + 1) in step S18, and a log related to the notification is created in step S19. Then, it is written and saved in the designated area by the supply log saving area number n3 in the supply log saving area.

サプライログ保存エリア番号n3がサプライログ保存可能数に達した場合、つまりサプライログ保存エリアに空きがなくなった場合には、ステップS20でサプライログ保存エリア番号n3を初期化(n3=1)し、ステップS19で上記通知に関するログを作成してサプライログ保存エリア中のサプライログ保存エリア番号n3による指定エリアに書き込んで保存させる。このとき、サプライログ保存エリア番号n3が「1」であり、そのサプライログ保存エリア番号n3による指定エリアには最も古いログが保存されているため、そのログに上記サプライログを上書きすることになる。
ステップS15でログ管理が必要なアプリを含む各プログラムのいずれかからの通知に関するログがサプライログでないと判別した場合には、その通知に関するログがSC_Bに関連するログ(SC_Bログ)等の他のログであるか否かを判別し、その判別結果に応じて他のログに対する処理を行うが、その処理は上述した通信ログ等に対する処理と同様に行う。
When the supply log storage area number n3 reaches the supply log storage capacity, that is, when the supply log storage area is full, the supply log storage area number n3 is initialized (n3 = 1) in step S20. In step S19, a log related to the notification is created, and is written and stored in the designated area by the supply log storage area number n3 in the supply log storage area. At this time, since the supply log storage area number n3 is “1” and the oldest log is stored in the designated area by the supply log storage area number n3, the supply log is overwritten on the log. .
If it is determined in step S15 that the log related to the notification from any of the programs including the application that requires log management is not a supply log, the log related to the notification is another log such as a log related to SC_B (SC_B log). It is determined whether or not it is a log, and processing for other logs is performed according to the determination result.

このように、画像形成装置100のSCS306は、ログ管理が必要なアプリを含む各プログラムのいずれかからの通知がある度に、その各通知に関するログを順次作成し、例えば図20に示すように、HDD201のログ保存エリア(所定記憶領域)におけるログの種類別の各分割エリアのうちの対応する分割エリアに順次書き込み、その分割エリアに空きがなくなった場合に最も古いログに上書きする(ログ書き込み制御)。
画像形成装置100のSCS306はまた、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをNRS305および仲介装置101によって管理装置102へ送信させる。
As described above, the SCS 306 of the image forming apparatus 100 sequentially creates a log regarding each notification every time there is a notification from each of the programs including the application that requires log management. For example, as shown in FIG. , Writes sequentially to the corresponding divided area of each divided area in the log storage area (predetermined storage area) of the HDD 201, and overwrites the oldest log when the divided area is full (log writing) control).
The SCS 306 of the image forming apparatus 100 also causes the NRS 305 and the intermediary apparatus 101 to transmit the log stored in a preset divided area among the divided areas of the log storage area of the HDD 201 to the management apparatus 102.

すなわち、予め設定された分割エリアに記憶されているログを送信するためのログ送信要求をNRS305へ通知する。このとき、そのログ送信要求に、画像形成装置100の識別情報である機番情報を付加する。
NRS305は、ログ送信要求の通知を受けると、ログの内容を示すログ送信用のSOAPメッセージ(ログ送信要求に付加された機番情報を含む)を生成して、それを仲介装置101へ送信する。
仲介装置101は、NRS305からログ送信用のSOAPメッセージを受信すると、そのSOAPメッセージに自己の識別情報である仲介装置識別子を付加し、更にそのSOAPメッセージに基づいてHTTPメッセージを生成し、そのHTTPメッセージをインタネット103経由でサービスセンタの管理装置102へ自動送信する。
That is, the NRS 305 is notified of a log transmission request for transmitting a log stored in a preset divided area. At this time, machine number information that is identification information of the image forming apparatus 100 is added to the log transmission request.
Upon receiving the notification of the log transmission request, the NRS 305 generates a log transmission SOAP message (including the machine number information added to the log transmission request) indicating the contents of the log, and transmits it to the mediation apparatus 101. .
When the mediation device 101 receives the SOAP message for log transmission from the NRS 305, the mediation device identifier adds the mediation device identifier, which is its own identification information, to the SOAP message, further generates an HTTP message based on the SOAP message, and generates the HTTP message. Is automatically transmitted to the service center management apparatus 102 via the Internet 103.

SCS306はさらに、操作パネル205あるいは外部装置(管理装置102やウェブブラウザを用いてインタネット103等のネットワーク経由で通信可能なデスクトップ型又はノート型のパーソナルコンピュータ,携帯端末,携帯電話等のウェブデバイスなど)からの要求により、送信すべきログが記憶される分割エリアを指定することもできる。
なお、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをOCS300に渡し、操作パネル205上の文字表示器に表示させることもできる。そして、この場合、操作パネル205又は外部装置からの要求により、表示すべきログが記憶される分割エリアを指定することもできる。
The SCS 306 further includes an operation panel 205 or an external device (such as a desktop or notebook personal computer capable of communicating via a network such as the Internet 103 using the management device 102 or a web browser, a web device such as a portable terminal or a cellular phone). A divided area in which logs to be transmitted can be stored can be designated by a request from.
Of the divided areas of the log storage area of the HDD 201, a log stored in a preset divided area can be transferred to the OCS 300 and displayed on a character display on the operation panel 205. In this case, a divided area in which a log to be displayed can be stored can be designated by a request from the operation panel 205 or an external device.

あるいは、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをプリンタアプリ311に渡し、用紙への印刷(画像形成)を行わせることもできる。そして、この場合、操作パネル205又は外部装置からの要求により、印刷すべきログが記憶される分割エリアを指定することもできる。
あるいはまた、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをウェブアプリ314に渡し、外部のウェブデバイスに送信させ、その表示部に表示させることもできる。そして、この場合、操作パネル205又はウェブデバイスからの要求により、送信すべきログが記憶される分割エリアを指定することもできる。
Alternatively, a log stored in a preset divided area among the divided areas of the log storage area of the HDD 201 can be transferred to the printer application 311 to perform printing (image formation) on paper. In this case, a divided area where a log to be printed can be stored can be designated by a request from the operation panel 205 or an external device.
Alternatively, a log stored in a preset divided area among the divided areas of the log storage area of the HDD 201 may be passed to the web application 314, transmitted to an external web device, and displayed on the display unit. it can. In this case, a divided area in which a log to be transmitted can be stored can be designated by a request from the operation panel 205 or the web device.

また、この第1実施例では、画像形成装置100のSCS306が、順次作成するログをその種類別にグループ分けして保存できるように、その種類別にHDD201のログ保存エリアを複数に分割して複数の分割エリアを管理するための管理情報(ログ保存エリア指定情報およびログ種別保存数決定テーブル)を持ち、その管理情報に基づいてログの書き込み先の分割エリアを指定する(但し、未だログが何も記憶されていないHDD201にログを記憶させようとする時つまり初めてのログ作成時には、管理情報に基づいて各ログ保存エリアの各分割エリアを決定する)ようにしたが、以下の(a)〜(c)に示すようにしてもよい。   In the first embodiment, the SCS 306 of the image forming apparatus 100 can divide the log storage area of the HDD 201 into a plurality of types and divide the log storage area into a plurality of types so that the sequentially created logs can be grouped and stored according to the types. Has management information (log storage area specification information and log type storage number determination table) for managing the split area, and specifies the log write destination split area based on the management information (however, there are no logs yet) When the log is to be stored in the HDD 201 that is not stored, that is, when the log is created for the first time, each divided area of each log storage area is determined based on the management information), but the following (a) to ( It may be as shown in c).

(a)順次作成するログをその重要度別にグループ分けして保存できるように、その重要度別にHDD201のログ保存エリアを複数に分割して複数の分割エリアを管理するための管理情報を持ち、その管理情報に基づいてログの書き込み先の分割エリアを指定する。例えば、SC_Aログを一般SCログ、SC_Bログを重大SCログとすると共に、SC_Aログ保存エリアを一般SCログ保存エリア、SC_Bログ保存エリアを重大SCログ保存エリアとし、SC_Aログは一般SCログ保存エリアに、SC_Bログは重大SCログ保存エリアにそれぞれ書き込んで保存させるようにする。あるいは、保守料金に関係しないログ(例えば通信ログ)は一般SCログ、保守料金に関係するログ(例えばサプライログ)を重大SCログとし、保守料金に関係しないログは一般SCログ保存エリアに、保守料金に関係するログは重大SCログ保存エリアにそれぞれ書き込んで保存させるようにする。この場合、操作パネル205又は外部装置からの要求により、送信,表示,又は印刷すべきログが記憶される分割エリアを指定することもできる。 (A) Management information for managing a plurality of divided areas by dividing the log storage area of the HDD 201 into a plurality of importance levels so that logs to be sequentially generated can be grouped and stored according to the importance levels; Based on the management information, a log writing destination divided area is designated. For example, the SC_A log is a general SC log, the SC_B log is a critical SC log, the SC_A log storage area is a general SC log storage area, the SC_B log storage area is a critical SC log storage area, and the SC_A log is a general SC log storage area. The SC_B log is written and stored in the critical SC log storage area. Alternatively, a log not related to the maintenance fee (for example, communication log) is a general SC log, a log related to the maintenance fee (for example, supply log) is a critical SC log, and a log not related to the maintenance fee is maintained in the general SC log storage area. Logs related to charges are written and stored in the critical SC log storage area. In this case, a divided area in which a log to be transmitted, displayed, or printed can be specified by a request from the operation panel 205 or an external device.

(b)順次作成するログをその作成要因別にグループ分けして保存できるように、その作成要因別にHDD201のログ保存エリアを複数に分割して複数の分割エリアを管理するための管理情報を持ち、その管理情報に基づいてログの書き込み先の分割エリアを指定する。
(c)順次作成するログを各プログラム(処理実行手段)別にグループ分けして保存できるように、その各プログラム別にHDD201のログ保存エリアを複数に分割して複数の分割エリアを管理するための管理情報を持ち、その管理情報に基づいてログの書き込み先の分割エリアを指定する。
(B) Management information for managing a plurality of divided areas by dividing the log storage area of the HDD 201 into a plurality of divisions according to the creation factors so that the logs to be sequentially created can be grouped and saved according to the creation factors, Based on the management information, a log writing destination divided area is designated.
(C) Management for managing a plurality of divided areas by dividing the log storage area of the HDD 201 into a plurality of programs for each program (processing execution means) so that the logs to be sequentially created can be stored in groups. It has information, and specifies the log write destination division area based on the management information.

第1実施例によれば、画像形成装置100のSCS306が、ログ管理が必要なアプリを含む各プログラムのいずれかからの通知がある度に、その各通知に関するログを順次作成し、HDD201のログ保存エリア(所定記憶領域)におけるログの種類別,重要度別,生成要因別,又はプログラム別の各分割エリアのうち、対応する分割エリアに順次書き込み、その分割エリアに空きがなくなった場合に最も古いログに上書きするため、定期通知やポーリング等の頻繁に行われる通信に係わる処理によって発生する通知により、対応する分割エリア(通信ログ保存エリア)上のログが次々に上書きされても、その分割エリア以外の分割エリア上のログ(重要なログ)は次々に上書きされることはない。
したがって、重要なログを機器利用者もしくは機器管理者がコストアップせずに容易に確認することが可能になる。
According to the first embodiment, every time the SCS 306 of the image forming apparatus 100 receives a notification from any of the programs including an application that requires log management, the SCS 306 sequentially creates a log regarding each notification, and logs the HDD 201. When the log area in the storage area (predetermined storage area) is divided into log areas by severity, importance level, generation factor, or program, it is written to the corresponding divided area in sequence, and this is the most Even if logs in the corresponding divided area (communication log storage area) are overwritten one after another due to notifications generated by processing related to frequent communication such as periodic notifications and polling, etc., the old log is overwritten. Logs (important logs) on divided areas other than the area are not overwritten one after another.
Therefore, it becomes possible for the device user or the device manager to easily check important logs without increasing the cost.

また、初めてのログ生成時にのみ、管理情報に基づいてHDD201のログ保存エリアの各分割エリアを決定し、その決定結果に従ってログの書き込み先の分割エリアを指定する処理を行うようにすれば、その処理をログを生成する度に行う必要がないため、処理効率の向上につながる。
さらに、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをNRS305および仲介装置101によって管理装置102へ送信させることにより、管理装置102によって管理すべきログが減るため、管理効率の向上につながる。操作パネル205あるいは外部装置(管理装置102やウェブデバイス等)からの要求により、送信すべきログが記憶される分割エリアを指定可能にすれば、管理装置102では必要最小限のログのみを管理すればよく、一層管理効率の向上につながる。
Further, only when the log is generated for the first time, if each divided area of the log storage area of the HDD 201 is determined based on the management information, and processing for designating the divided area where the log is written is performed according to the determination result, Since it is not necessary to perform processing every time a log is generated, processing efficiency is improved.
Furthermore, the log to be managed by the management apparatus 102 by causing the NRS 305 and the mediation apparatus 101 to transmit a log stored in a preset division area among the respective divided areas of the log storage area of the HDD 201 to the management apparatus 102. As a result, the management efficiency is improved. If it is possible to specify a divided area in which logs to be transmitted are stored by a request from the operation panel 205 or an external device (such as the management device 102 or web device), the management device 102 can manage only the minimum necessary logs. This will lead to further improvement in management efficiency.

〔第2実施例〕
図21は、この画像形成装置遠隔管理システムにおける画像形成装置110によるこの発明に係わるログ保存処理を含む動作時の通信シーケンスの一例を示す図である。なお、画像形成装置110は、画像形成装置100の機能に仲介装置101の機能を加えたものである。よって、画像形成装置110の構成(ハード構成およびソフト構成)は、画像形成装置100の構成に仲介装置101の構成を加えたものとなるため、再び図4および図5等の各図面も使用する。
[Second Embodiment]
FIG. 21 is a diagram showing an example of a communication sequence during operation including log storage processing according to the present invention by the image forming apparatus 110 in this image forming apparatus remote management system. The image forming apparatus 110 is obtained by adding the function of the mediation apparatus 101 to the function of the image forming apparatus 100. Therefore, the configuration (hardware configuration and software configuration) of the image forming apparatus 110 is obtained by adding the configuration of the mediation apparatus 101 to the configuration of the image forming apparatus 100. Therefore, the drawings such as FIGS. 4 and 5 are also used again. .

画像形成装置110では、ログ管理が必要なアプリ等のプログラムがそれぞれ、対応するハードウェア資源で異常等の所定の事象が発生した場合あるいは処理結果等の通知を行いたい場合、その事象が発生した旨あるいは処理結果等をSCS306へ通知する。
この例では、まずプロッタエンジンを制御するアプリが、そのプロッタエンジンの状態を監視し、プロッタエンジン内でトナーボトルのトナーニアエンドが発生した場合、そのトナーボトル事象をセンサを用いて検出し、トナーニアエンドが発生した旨をSCS306へ通知する。
In the image forming apparatus 110, when a program such as an application that requires log management has caused a predetermined event such as an abnormality in the corresponding hardware resource or wants to notify a processing result or the like, the event has occurred. The SCS 306 is notified of the fact or the processing result.
In this example, an application that controls a plotter engine first monitors the state of the plotter engine, and when a toner bottle toner near-end occurs in the plotter engine, the toner bottle event is detected using a sensor, and the toner near-end is detected. Is notified to the SCS 306.

そのSCS306は、プロッタエンジンを制御するアプリからトナーニアエンドが発生した旨の通知を受けると、第1実施例と同様に、プロッタエンジン内でトナーニアエンドが発生したと判定し、トナーサプライコール要求をNRS305へ通知する。
NRS305は、トナーサプライコール要求の通知を受けると、トナーボトルの発注(トナーニアエンドの発生)を知らせるトナーサプライコール情報であるトナーサプライコール用のSOAPメッセージ(トナーサプライコール要求に付加された機番情報を含む)を生成し、更にそのSOAPメッセージに基づいてHTTPメッセージを生成した後、インタネット103経由でサービスセンタの管理装置102に対してトナーサプライコールを行う。つまり、トナーサプライコール用のSOAPメッセージを含むHTTPメッセージをインタネット103経由でサービスセンタの管理装置102へ自動通報する。
When the SCS 306 receives a notification that a toner near-end has occurred from an application that controls the plotter engine, the SCS 306 determines that a toner near-end has occurred in the plotter engine, as in the first embodiment, and sends a toner supply call request to the NRS 305. To notify.
When the NRS 305 receives the toner supply call request notification, the NRS 305 receives a toner bottle call order (occurrence of toner near-end) and toner supply call SOAP message (machine number information added to the toner supply call request). And an HTTP message based on the SOAP message, and then a toner supply call is made to the service center management apparatus 102 via the Internet 103. That is, an HTTP message including a SOAP message for a toner supply call is automatically notified to the service center management apparatus 102 via the Internet 103.

サービスセンタの管理装置102は、いずれかの機器利用者側の画像形成装置110から通報されたトナーサプライコール用のSOAPメッセージを含むHTTPメッセージを受信すると、第1実施例のトナーサプライコール用のSOAPメッセージを含むHTTPメッセージの受信時の処理と同様の処理を行い、コールOK又はコールNGを示すSOAPメッセージを含むHTTPメッセージを通報元の画像形成装置110へ送信する。
画像形成装置110のNRS305は、サービスセンタの管理装置102に対してトナーサプライコールを行った後、センタ通知が終了した旨をSCS306へ通知する。
SCS306は、NRS305からセンタ通知が終了した旨の通知を受けると、トナーニアエンドが発生した旨の通知に関するログとして、サービスセンタに対してトナーサプライコールを行った旨を示すセンタ通知ログを作成し、それをHDD201(NV−RAM202等の他の記憶手段でもよい)のログ保存エリアの通信ログ保存エリアに書き込む。このとき、その通信ログ保存エリアに空きがなければ、最も古いログに上書きする。
When the service center management apparatus 102 receives an HTTP message including a SOAP message for toner supply call notified from the image forming apparatus 110 on the device user side, the SOAP for toner supply call of the first embodiment is received. A process similar to the process at the time of reception of the HTTP message including the message is performed, and the HTTP message including the SOAP message indicating the call OK or the call NG is transmitted to the image forming apparatus 110 that is the report source.
The NRS 305 of the image forming apparatus 110 makes a toner supply call to the service center management apparatus 102 and then notifies the SCS 306 that the center notification has been completed.
Upon receiving notification from the NRS 305 that the center notification has ended, the SCS 306 creates a center notification log indicating that a toner supply call has been made to the service center as a log relating to the notification that the toner near end has occurred. It is written in the communication log storage area of the log storage area of the HDD 201 (or other storage means such as NV-RAM 202). At this time, if there is no space in the communication log storage area, the oldest log is overwritten.

SCS306は、センタ通知ログの書き込み(作成)が終了した後、センタ通知ログの作成が終了した旨をNRS305へ通知する。
NRS305は、SCS306からセンタ通知ログの作成が終了した旨の通知を受けた後、サービスセンタの管理装置102へのトナーサプライコール(トナーサプライコール用のSOAPメッセージを含むHTTPメッセージの自動通報)の結果として、その管理装置102からコールOK(上記HTTPメッセージの受信が正常に終了した旨のコール結果)を示すSOAPメッセージを含むHTTPメッセージを受信すると、そのHTTPメッセージに基づいてコールOKをSCS306へコールOK(トナーサプライコールが正常に終了した旨)を通知する。
After the center notification log has been written (created), the SCS 306 notifies the NRS 305 that the creation of the center notification log has been completed.
After receiving notification that the creation of the center notification log has been completed from the SCS 306, the NRS 305 results in the toner supply call to the service center management apparatus 102 (automatic notification of an HTTP message including a SOAP message for toner supply call). When an HTTP message including a SOAP message indicating a call OK (call result indicating that the reception of the HTTP message has been normally completed) is received from the management apparatus 102, the call OK is sent to the SCS 306 based on the HTTP message. (Toner supply call has been completed normally).

SCS306は、NRS305からコールOKの通知を受けると、第1実施例のコールOK通知時の処理と同様の処理を行う。
NRS305は、定期的に定期通知(又はポーリング)用のSOAPメッセージを生成し、そのSOAPメッセージに自己の識別情報である仲介装置識別子を付加し、更にそのSOAPメッセージに基づいてHTTPメッセージを生成した後、インタネット103経由でサービスセンタの管理装置102に対して定期通知を行う。つまり、自己の仲介装置識別子を付加した定期通知用のSOAPメッセージを含むHTTPメッセージをインタネット103経由でサービスセンタの管理装置102へ自動送信する。
When the SCS 306 receives the call OK notification from the NRS 305, the SCS 306 performs the same process as the call OK notification process of the first embodiment.
The NRS 305 periodically generates a SOAP message for periodic notification (or polling), adds an intermediary device identifier that is its own identification information to the SOAP message, and further generates an HTTP message based on the SOAP message. Then, a periodic notification is sent to the service center management apparatus 102 via the Internet 103. That is, an HTTP message including a periodic notification SOAP message with its own intermediary device identifier added is automatically transmitted to the service center management device 102 via the Internet 103.

サービスセンタの管理装置102への定期通知が終了すると、その旨をSCS306へ通知する。
SCS306は、NRS305から定期通知が終了した旨の通知を受けると、定期通知に関するログとして、サービスセンタに対して定期通知を行った旨を示す定期通知ログを作成し、それをHDD201のログ保存エリアの通信ログ保存エリアに書き込む。このとき、その通信ログ保存エリアに空きがなければ、最も古いログに上書きする。
センタ通知ログの書き込み(作成)が終了すると、センタ通知ログの作成が終了した旨をNRS305へ通知する。
When the regular notification to the service center management apparatus 102 is completed, the SCS 306 is notified of this.
Upon receiving notification from the NRS 305 that the periodic notification has ended, the SCS 306 creates a periodic notification log indicating that the periodic notification has been made to the service center as a log related to the periodic notification, and stores it in the log storage area of the HDD 201. Write to the communication log storage area. At this time, if there is no space in the communication log storage area, the oldest log is overwritten.
When the writing (creation) of the center notification log is completed, the NRS 305 is notified that the creation of the center notification log is completed.

プロッタエンジンを含む各ハードウェア資源を制御するアプリはそれぞれ、対応するハードウェア資源でSC_A(又はSC_B等のSC)が発生した場合、そのSC_Aを検出し、そのSC_Aが発生した旨をSCS306へ通知する。
そのSCS306は、各ハードウェア資源をそれぞれ制御するアプリのいずれかからSC_Aが発生した旨の通知を受けると、第1実施例と同様に、そのアプリ(又はハードウェア資源)でSC_Aが発生したと判定し、SC_Aコール要求をNRS305へ通知する。
When an SC_A (or SC_B or other SC) occurs in the corresponding hardware resource, each application that controls each hardware resource including the plotter engine detects the SC_A and notifies the SCS 306 that the SC_A has occurred. To do.
When the SCS 306 receives a notification that an SC_A has occurred from any of the applications that control each hardware resource, the SC_A has occurred in that application (or hardware resource) as in the first embodiment. Determine and notify the NRS 305 of the SC_A call request.

NRS305は、SC_Aコール要求の通知を受けると、図示は省略するが、SC_Aの発生を知らせるSC_Aコール情報であるSC_Aコール用のSOAPメッセージ(SC_Aコール要求に付加された機番情報を含む)を生成し、更にそのSOAPメッセージに基づいてHTTPメッセージを生成した後、インタネット103経由でサービスセンタの管理装置102に対してSC_Aコールを行った後、センタ通知が終了した旨をSCS306へ通知する。なお、SC_Aコール等の各SCコールについては、上述したトナーサプライコールとコールの種類が異なるだけで処理内容は略同様なので、詳細な説明は省略する。
SCS306は、NRS305へのSC_Aコール要求に対して、NRS305からセンタ通知が終了した旨の通知を受けると、SC_Aが発生した旨の通知に関するログとして、サービスセンタに対してSC_Aコールを行った旨を示すセンタ通知ログを作成し、それを上述と同様にHDD201のログ保存エリアの通信ログ保存エリアに書き込む。
Upon receiving the notification of the SC_A call request, the NRS 305 generates a SOAP message for SC_A call (including the machine number information added to the SC_A call request), which is SC_A call information notifying the occurrence of SC_A, although not shown. Further, after generating an HTTP message based on the SOAP message, an SC_A call is made to the service center management apparatus 102 via the Internet 103, and then the SCS 306 is notified that the center notification is completed. Since each SC call such as the SC_A call has substantially the same processing contents as the above-described toner supply call except for the type of call, detailed description thereof will be omitted.
In response to the SC_A call request to the NRS 305, when the SCS 306 receives notification from the NRS 305 that the center notification has ended, the SCS 306 indicates that the SC_A call has been made to the service center as a log related to the notification that the SC_A has occurred. A center notification log is created and written in the communication log storage area of the HDD 201 in the same manner as described above.

SCS306は、センタ通知ログの書き込みが終了した後、センタ通知ログの作成が終了した旨をNRS305へ通知する。
NRS305は、SCS306からセンタ通知ログの作成が終了した旨の通知を受けた後、サービスセンタの管理装置102へのSC_Aコールの結果として、その管理装置102からコールOKを示すSOAPメッセージを含むHTTPメッセージを受信すると、そのHTTPメッセージに基づいてコールOKをSCS306へコールOK(SC_Aコールが正常に終了した旨)を通知する。
After the center notification log has been written, the SCS 306 notifies the NRS 305 that the center notification log has been created.
After receiving notification that the creation of the center notification log has been completed from the SCS 306, the NRS 305 receives an HTTP message including a SOAP message indicating the call OK from the management device 102 as a result of the SC_A call to the management device 102 of the service center. Is received, the call OK is notified to the SCS 306 based on the HTTP message (call that the SC_A call has been completed normally).

SCS306は、NRS305からコールOKの通知を受けると、第1実施例と同様の処理を行う。
なお、各ハードウェア資源をそれぞれ制御するアプリのいずれかからSC_B等の他のSCが発生した旨の通知がなされた場合のSCS306,NRS305,仲介装置101による処理については、SC_Aが発生した旨の通知がなされた場合とSCの種類が異なるだけで処理内容は略同様なので、詳細な説明は省略する。
また、画像形成装置110のSCS306によるログ保存処理は、図15〜図19によって説明したログ保存処理と同様である。
When the SCS 306 receives a call OK notification from the NRS 305, it performs the same processing as in the first embodiment.
Regarding the processing performed by the SCS 306, NRS 305, and the intermediary device 101 when notification that another SC has occurred, such as SC_B, from any of the applications that control each hardware resource, the fact that SC_A has occurred Since the processing contents are substantially the same except that the notification is made and the type of SC is different, detailed description thereof is omitted.
Further, the log storage processing by the SCS 306 of the image forming apparatus 110 is the same as the log storage processing described with reference to FIGS.

このように、画像形成装置110のSCS306は、ログ管理が必要なアプリを含む各プログラムのいずれかからの通知がある度に、その各通知に関するログを順次作成し、例えば図20に示すように、HDD201のログ保存エリアにおけるログの種類別の各分割エリアのうちの対応する分割エリアに順次書き込み、その分割エリアに空きがなくなった場合に最も古いログに上書きする。
画像形成装置110のSCS306はまた、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをNRS305によって管理装置102へ送信させる。
As described above, the SCS 306 of the image forming apparatus 110 sequentially creates a log regarding each notification whenever there is a notification from any of the programs including an application that requires log management. For example, as illustrated in FIG. In the log storage area of the HDD 201, data is sequentially written in the corresponding divided area among the divided areas according to log types, and the oldest log is overwritten when there is no more space in the divided area.
The SCS 306 of the image forming apparatus 110 also causes the NRS 305 to transmit the log stored in a preset divided area among the divided areas of the log storage area of the HDD 201 to the management apparatus 102.

すなわち、予め設定された分割エリアに記憶されているログを送信するためのログ送信要求をNRS305へ通知する。このとき、そのログ送信要求に、画像形成装置110の識別情報である機番情報を付加する。
NRS305は、ログ送信要求の通知を受けると、ログの内容を示すログ送信用のSOAPメッセージ(ログ送信要求に付加された機番情報を含む)を生成して、そのSOAPメッセージに自己の識別情報である仲介装置識別子を付加し、更にそのSOAPメッセージに基づいてHTTPメッセージを生成した後、そのHTTPメッセージをインタネット103経由でサービスセンタの管理装置102へ自動送信する。
That is, the NRS 305 is notified of a log transmission request for transmitting a log stored in a preset divided area. At this time, machine number information that is identification information of the image forming apparatus 110 is added to the log transmission request.
Upon receiving the notification of the log transmission request, the NRS 305 generates a log transmission SOAP message (including the machine number information added to the log transmission request) indicating the contents of the log, and identifies itself in the SOAP message. And an HTTP message is generated based on the SOAP message, and the HTTP message is automatically transmitted to the service center management apparatus 102 via the Internet 103.

SCS306はさらに、操作パネル205あるいは外部装置(管理装置102,ウェブデバイスなど)からの要求により、送信すべきログが記憶される分割エリアを指定することもできる。
なお、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをOCS300に渡し、操作パネル205上の文字表示器に表示させることもできる。そして、この場合、操作パネル205又は外部装置からの要求により、表示すべきログが記憶される分割エリアを指定することもできる。
The SCS 306 can also specify a divided area in which a log to be transmitted is stored by a request from the operation panel 205 or an external device (such as the management device 102 or a web device).
Of the divided areas of the log storage area of the HDD 201, a log stored in a preset divided area can be transferred to the OCS 300 and displayed on a character display on the operation panel 205. In this case, a divided area in which a log to be displayed can be stored can be designated by a request from the operation panel 205 or an external device.

あるいは、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをプリンタアプリ311に渡し、用紙への印刷(画像形成)を行わせることもできる。そして、この場合、操作パネル205又は外部装置からの要求により、印刷すべきログが記憶される分割エリアを指定することもできる。
あるいはまた、HDD201のログ保存エリアの各分割エリアのうち、予め設定された分割エリアに記憶されているログをウェブアプリ314を介してNCS303に渡し、上述したようなウェブデバイスに送信させ、その表示部に表示させることもできる。そして、この場合、操作パネル205又は外部装置からの要求により、送信すべきログが記憶される分割エリアを指定することもできる。
Alternatively, a log stored in a preset divided area among the divided areas of the log storage area of the HDD 201 can be transferred to the printer application 311 to perform printing (image formation) on paper. In this case, a divided area where a log to be printed can be stored can be designated by a request from the operation panel 205 or an external device.
Alternatively, among the divided areas of the log storage area of the HDD 201, a log stored in a preset divided area is passed to the NCS 303 via the web application 314 and transmitted to the web device as described above, and displayed. It can also be displayed on the section. In this case, a divided area in which logs to be transmitted can be stored can be designated by a request from the operation panel 205 or an external device.

また、この第2実施例では、画像形成装置110のSCS306が、順次作成するログをその種類別にグループ分けして保存できるように、その種類別にHDD201のログ保存エリアを複数に分割して複数の分割エリアを管理するための管理情報を持ち、その管理情報に基づいてログの書き込み先の分割エリアを指定する(但し、初めてのログ作成時には、管理情報に基づいて各ログ保存エリアの各分割エリアを決定する)ようにしたが、上記(a)〜(c)に示すようにしてもよい。
この第2実施例によれば、画像形成装置110のSCS306が、仲介装置101を利用せずに、第1実施例と同様の効果を得ることができる。
In the second embodiment, the SCS 306 of the image forming apparatus 110 divides the log storage area of the HDD 201 into a plurality of types by dividing the logs to be sequentially created into groups according to the types. Has management information for managing the divided areas, and specifies the log writing destination divided area based on the management information (however, when creating the first log, each divided area of each log storage area based on the management information) However, you may make it show to said (a)-(c).
According to the second embodiment, the SCS 306 of the image forming apparatus 110 can obtain the same effects as the first embodiment without using the mediation apparatus 101.

〔第3実施例〕
以下、ログ取得処理の具体例について、図22〜図32を参照して説明する。なお、以下に示す各アプリ,OCS300,NCS303,NRS305,およびSCS306による各処理は、実際にはCPUがそれらのプログラムに従って動作することによって実行するが、説明の都合上、それらのプログラムが処理を実行するものとする。また、HDD201のログ保存エリアの分割エリアであるSC_Aログ保存エリアに保存されているログをSC_Aログ、SC_Bログ保存エリアに保存されているログをSC_Bログ、サプライログ保存エリアに保存されているログをサプライログ、通信ログ保存エリアに保存されているログを通信ログという。
[Third embodiment]
Hereinafter, specific examples of the log acquisition process will be described with reference to FIGS. In addition, although each process by the following applications, OCS 300, NCS 303, NRS 305, and SCS 306 is actually executed by the CPU operating according to those programs, these programs execute the processes for convenience of explanation. It shall be. In addition, logs stored in the SC_A log storage area which is a divided area of the log storage area of the HDD 201 are SC_A logs, logs stored in the SC_B log storage area are SC_B logs, and logs stored in the supply log storage area. Is a supply log, and a log stored in a communication log storage area is called a communication log.

まず、画像形成装置100,110による操作パネル205からのログ表示要求時の処理について、図22〜図24を参照して説明する。
図22は、画像形成装置100,110によるログ取得処理時の通信シーケンスの第1例を示す図である。
図23および図24は、画像形成装置100,110の操作パネル205にログを表示させるための操作手順を説明するための説明図である。
First, processing when a log display is requested from the operation panel 205 by the image forming apparatuses 100 and 110 will be described with reference to FIGS.
FIG. 22 is a diagram illustrating a first example of a communication sequence during log acquisition processing by the image forming apparatuses 100 and 110.
23 and 24 are explanatory diagrams for explaining an operation procedure for displaying a log on the operation panel 205 of the image forming apparatuses 100 and 110.

画像形成装置100,110は、操作パネル205,プロッタエンジンを含む周辺装置,外部装置(管理装置102やウェブデバイス等)とそれぞれやりとりするための各種の入力又は出力のI/F(インタフェース)を備えているため、第1実施例又は第2実施例と同様のログ書き込み制御に加え、以下に示す処理を行うことができる。
画像形成装置100,110のOCS300は、操作パネル205に設けられているタッチパネル上のログ取得要求用の操作キーであるログ表示キー(ログ取得キー)1001がタッチ(押下)されると、図23に示すように、通信ログキー1002,SC_Aログキー1003,SC_Bログキー1004,サプライログキー1005を含む各種ログキーを文字表示器のタッチパネル上に表示する。
The image forming apparatuses 100 and 110 include various input / output I / Fs (interfaces) for communicating with an operation panel 205, peripheral devices including a plotter engine, and external devices (such as the management device 102 and a web device). Therefore, in addition to the log write control similar to the first embodiment or the second embodiment, the following processing can be performed.
When the OCS 300 of the image forming apparatuses 100 and 110 is touched (pressed), a log display key (log acquisition key) 1001 that is an operation key for log acquisition request on a touch panel provided on the operation panel 205 is touched (pressed). As shown, various log keys including a communication log key 1002, an SC_A log key 1003, an SC_B log key 1004, and a supply log key 1005 are displayed on the touch panel of the character display.

その後、その各種ログキーのうち、サプライログキー1005がタッチされると、HDD201(NV−RAM202等の他の記憶手段でもよい)のログ保存エリアの分割エリアの1つであるサプライログ保存エリア内の各サプライログ(例えば最新5個のサプライログ)がそれぞれ保存されている各エリアにそれぞれ対応する複数のサプライログ保存エリア番号キーをタッチパネル上に表示させる。なお、図23では、サプライログ保存エリア番号キーの図示は省略している。   After that, when the supply log key 1005 is touched among the various log keys, the inside of the supply log storage area which is one of the divided areas of the log storage area of the HDD 201 (or other storage means such as NV-RAM 202) may be used. A plurality of supply log storage area number keys respectively corresponding to each area in which each supply log (for example, the latest five supply logs) is stored is displayed on the touch panel. In FIG. 23, the supply log storage area number key is not shown.

続いて、複数のサプライログ保存エリア番号キーのいずれかがタッチされると、図22に示すように、サプライログ表示指示(サプライログ取得要求)をSCS306へ通知する。このとき、そのサプライログ表示指示に、タッチされたサプライログ保存エリア番号キーに対応するログ取得先およびログ出力先の情報を付加する。
SCS306は、OCS300からサプライログ表示指示があった場合に、そのサプライログ表示指示に付加された(サプライログ表示指示によって指示された)ログ取得先およびログ出力先(この例ではログ取得元)を判別し、HDD201のサプライログ保存エリア内の各サプライログがそれぞれ保存されている各エリアのうち、その判別したログ取得先のエリアに保存(記憶)されているサプライログを取得する。
Subsequently, when one of the plurality of supply log storage area number keys is touched, a supply log display instruction (supply log acquisition request) is notified to the SCS 306 as shown in FIG. At this time, information on the log acquisition destination and log output destination corresponding to the touched supply log storage area number key is added to the supply log display instruction.
When there is a supply log display instruction from the OCS 300, the SCS 306 displays the log acquisition destination and the log output destination (in this example, the log acquisition source) added to the supply log display instruction (instructed by the supply log display instruction). A supply log stored (stored) in the determined log acquisition destination area is acquired from the areas where each supply log in the supply log storage area of the HDD 201 is stored.

そして、その取得したサプライログ(データ)を先に判別したログ出力先のOCS300へ送信する。このとき、サプライログの取得が正常に終了していれば、その旨を示す応答情報(OK)もOCS300へ送信する。サプライログの取得が正常に終了しなかった場合には、その旨を示す応答情報(NG)のみをOCS300へ送信する。
OCS300は、SCS306からサプライログおよびそのサプライログの取得が正常に終了した旨を示す応答情報(OK)を受け取ると、そのサプライログを操作パネル205へ出力してそのタッチパネルのログ表示エリア1006上に表示させる。このとき、サプライログの取得が正常に終了した旨のメッセージを操作パネル205へ出力してそのタッチパネルのログ表示エリア1006上に表示させてもよい。SCS306からサプライログの取得が正常に終了しなかった旨を示す応答情報(NG)のみを受け取った場合には、サプライログの取得が正常に終了しなかった旨のメッセージを操作パネル205へ出力してそのタッチパネルのログ表示エリア1006上に表示させてもよい。
Then, the acquired supply log (data) is transmitted to the log output destination OCS 300 previously determined. At this time, if the acquisition of the supply log has been completed normally, response information (OK) indicating that is also transmitted to the OCS 300. When the supply log acquisition is not normally completed, only response information (NG) indicating that is transmitted to the OCS 300.
When the OCS 300 receives the supply log and the response information (OK) indicating that the acquisition of the supply log has been normally completed from the SCS 306, the OCS 300 outputs the supply log to the operation panel 205 and puts it on the log display area 1006 of the touch panel. Display. At this time, a message indicating that the supply log acquisition has been completed normally may be output to the operation panel 205 and displayed on the log display area 1006 of the touch panel. When only the response information (NG) indicating that the supply log acquisition has not ended normally is received from the SCS 306, a message indicating that the supply log acquisition has not ended normally is output to the operation panel 205. May be displayed on the log display area 1006 of the touch panel.

OCS300は、ログ表示キーのタッチによって操作パネル205のタッチパネル上に表示された各種ログキーのうち、SC_Aログキー1003がタッチされると、図23に示すように、HDD201のSC_Aログ保存エリア内の各SC_Aログ(この例では最新10個のSC_Aログ)がそれぞれ保存されている各エリアにそれぞれ対応する複数のSC_Aログ保存エリア番号キー1003a,1003b,・・・,1003jをタッチパネル上に表示させる。また、タッチ(選択)されたキーの表示の白黒を反転させる(斜線を施して示す)。   When the SC_A log key 1003 among the various log keys displayed on the touch panel of the operation panel 205 by touching the log display key is touched, the OCS 300 touches each SC_A in the SC_A log storage area of the HDD 201 as shown in FIG. A plurality of SC_A log storage area number keys 1003a, 1003b,..., 1003j respectively corresponding to the respective areas where the logs (the latest 10 SC_A logs in this example) are stored are displayed on the touch panel. In addition, the display of the touched (selected) key is reversed (shown with diagonal lines).

続いて、操作パネル205のタッチパネル上の複数のSC_Aログ保存エリア番号キー1003a,1003b,・・・,1003jのうち、SC_Aログ保存エリア番号キー1003a又は1003bがタッチされると、図22に示すように、SC_Aログ表示指示(SC_Aログ取得要求)をSCS306へ通知する。このとき、そのSC_Aログ表示指示に、タッチされたSC_Aログ保存エリア番号キー1003a又は1003bに対応するログ取得先およびログ出力先の情報を付加する。また、例えば図23又は図24に示すように、タッチされたキーの表示の白黒を反転させる。   Subsequently, when the SC_A log storage area number key 1003a or 1003b among the plurality of SC_A log storage area number keys 1003a, 1003b,..., 1003j on the touch panel of the operation panel 205 is touched, as shown in FIG. And notifies the SCS 306 of an SC_A log display instruction (SC_A log acquisition request). At this time, information on the log acquisition destination and log output destination corresponding to the touched SC_A log storage area number key 1003a or 1003b is added to the SC_A log display instruction. Further, for example, as shown in FIG. 23 or FIG. 24, the display of the touched key is reversed in black and white.

SCS306は、OCS300からSC_Aログ表示指示があった場合に、そのSC_Aログ表示指示に付加された(SC_Aログ表示指示によって指示された)ログ取得先およびログ出力先を判別し、HDD201のSC_Aログ保存エリア内の各SC_Aログがそれぞれ保存されている各エリアのうち、その判別したログ取得先のエリアに保存されているSC_Aログを取得する。
そして、その取得したSC_Aログを先に判別した出力先であるOCS300へ送信する。このとき、SC_Aログの取得が正常に終了していれば、その旨を示す応答情報(OK)もOCS300へ送信する。SC_Aログの取得が正常に終了しなかった場合には、その旨を示す応答情報(NG)のみをOCS300へ送信する。
When there is an SC_A log display instruction from the OCS 300, the SCS 306 determines the log acquisition destination and log output destination (instructed by the SC_A log display instruction) added to the SC_A log display instruction, and saves the SC_A log of the HDD 201 Of each area where each SC_A log in the area is stored, the SC_A log stored in the determined log acquisition destination area is acquired.
Then, the acquired SC_A log is transmitted to the OCS 300 which is the output destination determined earlier. At this time, if acquisition of the SC_A log has been completed normally, response information (OK) indicating that is also transmitted to the OCS 300. When acquisition of the SC_A log is not normally completed, only response information (NG) indicating that is transmitted to the OCS 300.

OCS300は、SCS306からSC_AログおよびそのSC_Aログの取得が正常に終了した旨を示す応答情報(OK)を受け取ると、そのSC_Aログを操作パネル205へ出力してそのタッチパネルのログ表示エリア1006上に表示させる(図23又は図24)。このとき、SC_Aログの取得が正常に終了した旨のメッセージを操作パネル205へ出力してそのタッチパネルのログ表示エリア1006上に表示させてもよい。SCS306からSC_Aログの取得が正常に終了しなかった旨を示す応答情報(NG)のみを受け取った場合に、SC_Aログの取得が正常に終了しなかった旨のメッセージを操作パネル205へ出力してそのタッチパネルのログ表示エリア1006上に表示させてもよい。   When the OCS 300 receives the SC_A log and the response information (OK) indicating that the acquisition of the SC_A log has been normally completed from the SCS 306, the OCS 300 outputs the SC_A log to the operation panel 205 and displays it on the log display area 1006 of the touch panel. It is displayed (FIG. 23 or FIG. 24). At this time, a message indicating that the SC_A log acquisition has been completed normally may be output to the operation panel 205 and displayed on the log display area 1006 of the touch panel. When only the response information (NG) indicating that the SC_A log acquisition has not ended normally is received from the SCS 306, a message indicating that the SC_A log acquisition has not ended normally is output to the operation panel 205. You may display on the log display area 1006 of the touch panel.

OCS300は、ログ表示キーのタッチによって操作パネル205のタッチパネル上に表示された各種ログキーのうち、通信ログキー1002がタッチされると、HDD201のサプライログ保存エリア内の各通信ログ(例えば最新20個の通信ログ)がそれぞれ保存されている各エリアにそれぞれ対応する複数の通信ログ保存エリア番号キーをタッチパネル上に表示させる。なお、図23では、通信ログ保存エリア番号キーの図示も省略している。 続いて、複数の通信ログ保存エリア番号キーのいずれかがタッチされると、図22に示すように、通信ログ表示指示(通信ログ取得要求)をSCS306へ通知する。このとき、その通信ログ表示指示に、タッチされた通信ログ保存エリア番号キーに対応するログ取得先およびログ出力先の情報を付加する。   When the communication log key 1002 is touched among the various log keys displayed on the touch panel of the operation panel 205 by touching the log display key, the OCS 300 displays each communication log (for example, the latest 20 logs) in the supply log storage area of the HDD 201. A plurality of communication log storage area number keys respectively corresponding to the respective areas storing the communication logs) are displayed on the touch panel. In FIG. 23, the communication log storage area number key is not shown. Subsequently, when any one of the plurality of communication log storage area number keys is touched, a communication log display instruction (communication log acquisition request) is notified to the SCS 306 as shown in FIG. At this time, information on the log acquisition destination and log output destination corresponding to the touched communication log storage area number key is added to the communication log display instruction.

SCS306は、OCS300から通信ログ表示指示があった場合に、その通信ログ表示指示に付加された(通信ログ表示指示によって指示された)ログ取得先およびログ出力先を判別し、HDD201の通信ログ保存エリア内の各通信ログがそれぞれ保存されている各エリアのうち、その判別したログ取得先のエリアに保存されている通信ログを取得する。
以後のSCS306による処理およびOCS300による処理は、サプライログキー1005およびSC_Aログキー1003がタッチされた場合と略同様なので、説明を省略する。
When there is a communication log display instruction from the OCS 300, the SCS 306 determines a log acquisition destination and a log output destination (instructed by the communication log display instruction) added to the communication log display instruction, and stores the communication log of the HDD 201 A communication log stored in the determined log acquisition destination area is acquired from each area in which each communication log in the area is stored.
Subsequent processing by the SCS 306 and processing by the OCS 300 are substantially the same as when the supply log key 1005 and the SC_A log key 1003 are touched, and thus description thereof is omitted.

なお、SC_Aログキー1003を含む各種ログキーのいずれかががタッチされた場合に、直ちに対応するログ表示指示をSCS306へ通知してもよい。このとき、そのログ表示指示に、タッチされたログキーに対応するログ取得先(又はログの種類)およびログ出力先の情報を付加する。
SCS306は、OCS300から対応するログ表示指示があった場合に、そのログ表示指示に付加された(ログ表示指示によって指示された)ログ取得先およびログ出力先を判別し、HDD201の対応するログ保存エリア(分割エリア)に保存されている各ログを取得する。
以後のSCS306による処理およびOCS300による処理は、サプライログキー1005およびSC_Aログキー1003がタッチされた場合と略同様なので、説明を省略する。
Note that when any of various log keys including the SC_A log key 1003 is touched, a corresponding log display instruction may be immediately notified to the SCS 306. At this time, information on the log acquisition destination (or log type) and log output destination corresponding to the touched log key is added to the log display instruction.
When there is a corresponding log display instruction from the OCS 300, the SCS 306 determines the log acquisition destination and log output destination (instructed by the log display instruction) added to the log display instruction, and stores the corresponding log storage in the HDD 201 Acquire each log saved in the area (divided area).
Subsequent processing by the SCS 306 and processing by the OCS 300 are substantially the same as when the supply log key 1005 and the SC_A log key 1003 are touched, and thus description thereof is omitted.

次に、画像形成装置100,110による操作パネル205からのログ印刷要求時の処理について、図25を参照して説明する。
図25は、画像形成装置100,110によるログ取得処理時の通信シーケンスの第2例を示す図である。
画像形成装置100,110のOCS300は、操作パネル205に設けられているタッチパネル上のログ取得要求用の操作キーである図示しないログ印刷キー(ログ取得キー)がタッチされた場合でも、通信ログキー,SC_Aログキー,SC_Bログキー,サプライログキーを含む各種ログキーをタッチパネル上に表示する。
Next, processing at the time of log print request from the operation panel 205 by the image forming apparatuses 100 and 110 will be described with reference to FIG.
FIG. 25 is a diagram illustrating a second example of a communication sequence during log acquisition processing by the image forming apparatuses 100 and 110.
The OCS 300 of the image forming apparatuses 100 and 110 has a communication log key, even when a log print key (log acquisition key) (not shown) that is an operation key for log acquisition request on the touch panel provided on the operation panel 205 is touched. Various log keys including an SC_A log key, an SC_B log key, and a supply log key are displayed on the touch panel.

その後、操作パネル205の各種ログキーのうち、サプライログキーがタッチされると、サプライログ印刷指示(サプライログ取得要求)をSCS306へ通知する。このとき、そのサプライログ印刷指示に、ログ取得元,タッチされたサプライログキーに対応するログ取得先,およびログ出力先の情報を付加する。
SCS306は、OCS300からサプライログ印刷指示があった場合に、そのサプライログ印刷指示に付加された(サプライログ印刷指示によって指示された)ログ取得元,ログ取得先,およびログ出力先を判別し、その判別したログ取得先のサプライログ保存エリアに保存されている各サプライログを取得する。
そして、各サプライログの取得結果を示す応答情報をOCS300へ送信する。つまり、各サプライログの取得が正常に終了した場合にはその旨を示す応答情報(OK)を、各サプライログの取得が正常に終了しなかった場合にはその旨を示す応答情報(NG)をそれぞれログ取得元のOCS300へ送信する。
その後、各サプライログの取得が正常に終了している場合に、その取得した各サプライログをログ出力先のプリンタアプリ311へ送信する。
Thereafter, when the supply log key of the various log keys on the operation panel 205 is touched, a supply log print instruction (supply log acquisition request) is notified to the SCS 306. At this time, information on the log acquisition source, the log acquisition destination corresponding to the touched supply log key, and the log output destination is added to the supply log print instruction.
When there is a supply log print instruction from the OCS 300, the SCS 306 determines a log acquisition source, a log acquisition destination, and a log output destination (instructed by the supply log print instruction) added to the supply log print instruction. Each supply log stored in the supply log storage area of the determined log acquisition destination is acquired.
And the response information which shows the acquisition result of each supply log is transmitted to OCS300. That is, response information (OK) indicating that the acquisition of each supply log is normally completed, and response information (NG) indicating that when acquisition of each supply log is not normally completed. Are transmitted to the OCS 300 of the log acquisition source.
Thereafter, when the acquisition of each supply log is normally completed, the acquired supply log is transmitted to the printer application 311 that is the log output destination.

OCS300は、SCS306から応答情報を受け取った場合に、その応答情報の内容を示すメッセージを操作パネル205へ出力してそのタッチパネルのログ表示エリア上に表示させる。なお、SCS306から各サプライログの取得が正常に終了しなかった旨を示す応答情報(NG)を受け取った場合にのみ、各サプライログの取得が正常に終了しなかった旨のメッセージを操作パネル205へ出力してそのタッチパネルのログ表示エリア上に表示させてもよい。
プリンタアプリ311は、SCS306から各サプライログを受け取ると、その各サプライログをプロッタエンジンへ出力して用紙上に印刷させる。
When the OCS 300 receives response information from the SCS 306, the OCS 300 outputs a message indicating the content of the response information to the operation panel 205 and displays it on the log display area of the touch panel. Only when response information (NG) indicating that acquisition of each supply log has not ended normally is received from the SCS 306, a message indicating that acquisition of each supply log has not ended normally is displayed on the operation panel 205. May be displayed on the log display area of the touch panel.
When the printer application 311 receives each supply log from the SCS 306, the printer application 311 outputs the supply log to the plotter engine and prints it on paper.

OCS300は、ログ印刷キーのタッチによって操作パネル205のタッチパネル上に表示された各種ログキーのうち、SC_Aログキーがタッチされると、SC_Aログ印刷指示(SC_Aログ取得要求)をSCS306へ通知する。このとき、そのSC_Aログ印刷指示に、ログ取得元,タッチされたSC_Aログキーに対応するログ取得先,およびログ出力先の情報を付加する。
SCS306は、OCS300からSC_Aログ印刷指示があった場合に、そのSC_Aログ印刷指示に付加された(SC_Aログ印刷指示によって指示された)ログ取得元,ログ取得先,およびログ出力先を判別し、その判別したログ取得先のSC_Aログ保存エリアに保存されている各SC_Aログを取得する。
以後のSCS306による処理,OCS300による処理,およびプリンタアプリ311による処理は、サプライログキーがタッチされた場合と略同様なので、説明を省略する。
When the SC_A log key is touched among various log keys displayed on the touch panel of the operation panel 205 by touching the log print key, the OCS 300 notifies the SCS 306 of an SC_A log print instruction (SC_A log acquisition request). At this time, information on the log acquisition source, the log acquisition destination corresponding to the touched SC_A log key, and the log output destination is added to the SC_A log print instruction.
When there is an SC_A log print instruction from the OCS 300, the SCS 306 determines a log acquisition source, a log acquisition destination, and a log output destination (instructed by the SC_A log print instruction) added to the SC_A log print instruction. Each SC_A log stored in the determined log acquisition destination SC_A log storage area is acquired.
Subsequent processing by the SCS 306, processing by the OCS 300, and processing by the printer application 311 are substantially the same as when the supply log key is touched, and thus description thereof is omitted.

OCS300は、ログ印刷キーのタッチによって操作パネル205のタッチパネル上に表示された各種ログキーのうち、通信ログキーがタッチされると、通信ログ印刷指示(通信ログ取得要求)をSCS306へ通知する。このとき、その通信ログ印刷指示に、ログ取得元,タッチされたSC_Aログキーに対応するログ取得先,およびログ出力先の情報を付加する。
SCS306は、OCS300から通信ログ印刷指示があった場合に、その通信ログ印刷指示に付加された(通信ログ印刷指示によって指示された)ログ取得元,ログ取得先,およびログ出力先を判別し、その判別したログ取得先の通信ログ保存エリアに保存されている各通信ログを取得する。
以後のSCS306による処理,OCS300による処理,およびプリンタアプリ311による処理は、サプライログキーがタッチされた場合と略同様なので、説明を省略する。
When the communication log key is touched among various log keys displayed on the touch panel of the operation panel 205 by touching the log print key, the OCS 300 notifies the SCS 306 of a communication log print instruction (communication log acquisition request). At this time, information on the log acquisition source, the log acquisition destination corresponding to the touched SC_A log key, and the log output destination are added to the communication log print instruction.
When there is a communication log print instruction from the OCS 300, the SCS 306 determines a log acquisition source, a log acquisition destination, and a log output destination (instructed by the communication log print instruction) added to the communication log print instruction. Each communication log stored in the communication log storage area of the determined log acquisition destination is acquired.
Subsequent processing by the SCS 306, processing by the OCS 300, and processing by the printer application 311 are substantially the same as when the supply log key is touched, and thus description thereof is omitted.

次に、画像形成装置100,110によるウェブデバイスからのログ取得要求時の処理について、図26〜図28を参照して説明する。
図26は、画像形成装置100,110によるログ取得処理時の通信シーケンスの第3例を示す図である。
図27および図28は、Webデバイスの表示部にログを表示させるための操作手順を説明するための説明図である。
ウェブデバイスは、ウェブブラウザを用いてインタネット103等のネットワーク経由で通信可能なパソコン等の情報処理装置(外部装置)である。
このウェブデバイスのCPUはそれぞれ、キーボードやポインティングデバイス等の入力部により、図27に示すような表示部上に各種操作を示す画面を表示させることができる。
Next, processing when a log acquisition request is issued from the web device by the image forming apparatuses 100 and 110 will be described with reference to FIGS.
FIG. 26 is a diagram illustrating a third example of a communication sequence during log acquisition processing by the image forming apparatuses 100 and 110.
27 and 28 are explanatory diagrams for explaining an operation procedure for displaying a log on the display unit of the Web device.
The web device is an information processing device (external device) such as a personal computer that can communicate via a network such as the Internet 103 using a web browser.
Each CPU of the web device can display a screen showing various operations on a display unit as shown in FIG. 27 by an input unit such as a keyboard or a pointing device.

そして、表示部上のログ取得要求用の操作キーである各種ログキーのうち、サプライログ取得キー1014が入力部によって選択されると、図26に示すように、サプライログ取得指示(サプライログ取得要求)を示すHTTPメッセージをネットワーク経由でいずれかの画像形成装置のNCS303へ送信する。このとき、サプライログ取得指示に選択されたサプライログ取得キー1014に対応するログの種類(ログ取得先)を付加してHTMLメッセージを生成し(HTML形式に変換し)、そのHTMLメッセージにログ取得元(命令送信元)の情報であるウェブデバイスの識別情報を付加してHTTPメッセージを生成する。この場合、ログ取得元がログ出力先を兼ねているが、ログ出力先の情報を別に付加してもよい。   When the supply log acquisition key 1014 is selected by the input unit among various log keys that are operation keys for log acquisition requests on the display unit, as shown in FIG. 26, a supply log acquisition instruction (supply log acquisition request) ) Is transmitted to the NCS 303 of one of the image forming apparatuses via the network. At this time, an HTML message is generated by adding the log type (log acquisition destination) corresponding to the selected supply log acquisition key 1014 to the supply log acquisition instruction (converted to the HTML format), and the log is acquired in the HTML message. An HTTP message is generated by adding the identification information of the web device which is the original (command transmission source) information. In this case, the log acquisition source also serves as the log output destination, but information on the log output destination may be added separately.

各画像形成装置100,110のNCS303はそれぞれ、ウェブデバイスからネットワーク経由でサプライログ取得指示を示すHTTPメッセージを受信すると、サプライログ取得指示をSCS306へ通知する。このとき、受信したHTTPメッセージ中の(サプライログ表示指示によって指示された)ログ取得元(ログ出力先)を判別する。
SCS306は、NCS303からサプライログ取得指示があった場合に、そのサプライログ取得指示に付加された(サプライログ取得指示によって指示された)ログの種類(又はログ取得先)を判別し、その判別したログの種類に対応するサプライログ保存エリア(又はログ取得先のサプライログ保存エリア)に保存されている各サプライログを取得する。
When the NCS 303 of each of the image forming apparatuses 100 and 110 receives the HTTP message indicating the supply log acquisition instruction from the web device via the network, the NCS 303 notifies the SCS 306 of the supply log acquisition instruction. At this time, the log acquisition source (log output destination) in the received HTTP message (instructed by the supply log display instruction) is determined.
When there is a supply log acquisition instruction from the NCS 303, the SCS 306 determines the type of log (or log acquisition destination) added to the supply log acquisition instruction (instructed by the supply log acquisition instruction), and the determination Each supply log stored in the supply log storage area (or the supply log storage area of the log acquisition destination) corresponding to the log type is acquired.

そして、その取得した各サプライログをNCS303へ送信する。このとき、各サプライログの取得が正常に終了していれば、その旨を示す応答情報(OK)もNCS303へ送信する。各サプライログの取得が正常に終了しなかった場合には、その旨を示す応答情報(NG)のみをNCS303へ送信する。
NCS303は、SCS306から各サプライログ(ログ情報)およびその各サプライログの取得が正常に終了した旨を示す応答情報(OK)あるいは各サプライログの取得が正常に終了しなかった旨を示す応答情報(NG)を受け取ると、その受け取った情報(データ)を示すHTMLメッセージを生成し、そのHTMLメッセージに画像形成装置の識別情報である機番情報を付加し、そのHTMLメッセージに基づいてHTTPメッセージを生成した後、そのHTTPメッセージをネットワーク経由で先に判別したログ取得元のウェブデバイスへ送信する。
The acquired supply logs are transmitted to the NCS 303. At this time, if acquisition of each supply log has been completed normally, response information (OK) indicating that is also transmitted to the NCS 303. If acquisition of each supply log is not normally completed, only response information (NG) indicating that is transmitted to the NCS 303.
The NCS 303 sends each supply log (log information) from the SCS 306 and response information (OK) indicating that acquisition of each supply log has ended normally or response information indicating that acquisition of each supply log has not ended normally. (NG) is received, an HTML message indicating the received information (data) is generated, machine number information which is identification information of the image forming apparatus is added to the HTML message, and an HTTP message is sent based on the HTML message. After the generation, the HTTP message is transmitted to the log acquisition source web device previously determined via the network.

各ウェブデバイスのCPUはそれぞれ、いずれかの画像形成装置からネットワーク経由で各サプライログおよびその各サプライログの取得が正常に終了した旨を示す応答情報(OK)を示すHTTPメッセージを受信すると、そのHTTPメッセージ中の各サプライログを表示部に表示させる。このとき、各サプライログの取得が正常に終了した旨のメッセージも表示部に表示させてもよい。いずれかの画像形成装置からネットワーク経由で各サプライログの取得が正常に終了しなかった旨を示す応答情報(NG)を示すHTTPメッセージを受信した場合には、各サプライログの取得が正常に終了しなかった旨のメッセージを表示部に表示させてもよい。   When the CPU of each web device receives an HTTP message indicating response log (OK) indicating that acquisition of each supply log and each supply log has been normally completed from one of the image forming apparatuses via the network, Each supply log in the HTTP message is displayed on the display unit. At this time, a message indicating that the acquisition of each supply log has been completed normally may be displayed on the display unit. When an HTTP message indicating response information (NG) indicating that acquisition of each supply log has not been normally completed via any network from any image forming apparatus, acquisition of each supply log is normally completed. You may display the message to the effect that it did not do on a display part.

各ウェブデバイスのCPUはそれぞれ、表示部上の各種ログキーのうち、SC_Aログ取得キー1012が入力部によって選択されると、図26に示すように、SC_Aログ取得指示(SC_Aログ取得要求)を示すHTTPメッセージをネットワーク経由でいずれかの画像形成装置のNCS303へ送信する。このとき、SC_Aログ取得指示に選択されたSC_Aログ取得キー1012に対応するログの種類を付加してHTMLメッセージを生成し、そのHTMLメッセージにログ取得元の情報を付加してHTTPメッセージを生成する。   When the SC_A log acquisition key 1012 among the various log keys on the display unit is selected by the input unit, the CPU of each web device indicates an SC_A log acquisition instruction (SC_A log acquisition request) as shown in FIG. An HTTP message is transmitted to the NCS 303 of any image forming apparatus via the network. At this time, an HTML message is generated by adding the log type corresponding to the selected SC_A log acquisition key 1012 to the SC_A log acquisition instruction, and an HTTP message is generated by adding log acquisition source information to the HTML message. .

各画像形成装置100,110のNCS303はそれぞれ、ウェブデバイスからネットワーク経由でSC_Aログ取得指示を示すHTTPメッセージを受信すると、SC_Aログ取得指示をSCS306へ通知する。このとき、受信したHTTPメッセージ中の(SC_Aログ表示指示によって指示された)ログ取得元を判別する。
SCS306は、NCS303からSC_Aログ取得指示があった場合に、そのSC_Aログ取得指示に付加された(SC_Aログ取得指示によって指示された)ログの種類を判別し、その判別したログの種類に対応するSC_Aログ保存エリアに保存されている各SC_Aログを取得する。
以後のSCS306による処理,OCS300による処理,ウェブデバイスによる処理は、サプライログ取得キー1014が選択された場合と略同様なので、説明を省略する。
When the NCS 303 of each of the image forming apparatuses 100 and 110 receives the HTTP message indicating the SC_A log acquisition instruction from the web device via the network, the NCS 303 notifies the SCS 306 of the SC_A log acquisition instruction. At this time, the log acquisition source (instructed by the SC_A log display instruction) in the received HTTP message is determined.
When there is an SC_A log acquisition instruction from the NCS 303, the SCS 306 determines the type of log added to the SC_A log acquisition instruction (instructed by the SC_A log acquisition instruction), and corresponds to the determined log type Each SC_A log stored in the SC_A log storage area is acquired.
Subsequent processing by the SCS 306, processing by the OCS 300, and processing by the web device are substantially the same as when the supply log acquisition key 1014 is selected, and thus description thereof is omitted.

各ウェブデバイスのCPUはそれぞれ、表示部上の各種ログキーのうち、通信ログ取得キー1011が入力部によって選択されると、図26に示すように、通信ログ取得指示(通信ログ取得要求)を示すHTTPメッセージをネットワーク経由でいずれかの画像形成装置のNCS303へ送信する。このとき、通信ログ取得指示に選択された通信ログ取得キー1011に対応するログの種類を付加してHTMLメッセージを生成し、そのHTMLメッセージにログ取得元の情報を付加してHTTPメッセージを生成する。   When the communication log acquisition key 1011 among the various log keys on the display unit is selected by the input unit, the CPU of each web device indicates a communication log acquisition instruction (communication log acquisition request) as shown in FIG. An HTTP message is transmitted to the NCS 303 of any image forming apparatus via the network. At this time, an HTML message is generated by adding the type of log corresponding to the selected communication log acquisition key 1011 to the communication log acquisition instruction, and an HTTP message is generated by adding log acquisition source information to the HTML message. .

各画像形成装置100,110のNCS303はそれぞれ、ウェブデバイスからネットワーク経由で通信ログ取得指示を示すHTTPメッセージを受信すると、通信ログ取得指示をSCS306へ通知する。このとき、受信したHTTPメッセージ中の(通信ログ表示指示によって指示された)ログ取得元を判別する。
SCS306は、NCS303から通信ログ取得指示があった場合に、その通信ログ取得指示に付加された(通信ログ取得指示によって指示された)ログの種類を判別し、その判別したログの種類に対応する通信ログ保存エリアに保存されている各通信ログを取得する。
When the NCS 303 of each of the image forming apparatuses 100 and 110 receives an HTTP message indicating a communication log acquisition instruction from the web device via the network, the NCS 303 notifies the SCS 306 of the communication log acquisition instruction. At this time, the log acquisition source (instructed by the communication log display instruction) in the received HTTP message is determined.
When there is a communication log acquisition instruction from the NCS 303, the SCS 306 determines the type of log added to the communication log acquisition instruction (instructed by the communication log acquisition instruction), and corresponds to the determined log type. Get each communication log stored in the communication log storage area.

以後のSCS306による処理およびOCS300による処理は、サプライログ取得キー1014およびSC_Aログ取得キー1012が選択された場合と略同様なので、ほとんどの説明を省略する。
各ウェブデバイスのCPUはそれぞれ、いずれかの画像形成装置からネットワーク経由で各通信ログおよびその各通信ログの取得が正常に終了した旨を示す応答情報(OK)を示すHTTPメッセージを受信すると、図28に示すように、そのHTTPメッセージ中の各通信ログを表示部に表示させる。なお、図28は、2個の通信ログを表示する例を示しているが、表示するログの個数は2個に限らない。例えば、図19に示したログ種別保存数決定テーブルに合わせることもできる。
Subsequent processing by the SCS 306 and processing by the OCS 300 are substantially the same as the case where the supply log acquisition key 1014 and the SC_A log acquisition key 1012 are selected, and thus the description thereof is omitted.
When the CPU of each web device receives an HTTP message indicating each communication log and response information (OK) indicating that acquisition of each communication log has been normally completed from any of the image forming apparatuses via the network, FIG. As shown in 28, each communication log in the HTTP message is displayed on the display unit. 28 shows an example in which two communication logs are displayed, the number of logs to be displayed is not limited to two. For example, it can be matched with the log type storage number determination table shown in FIG.

次に、画像形成装置100,110による管理装置102からのログ取得要求時の処理について、図29〜図31を参照して説明する。
図29は、画像形成装置100,110によるログ取得処理時の通信シーケンスの第4例を示す図である。
サービスセンタの管理装置102の制御装置606は、操作者端末604の入力部により、表示部上に各種操作キーを示す画面を表示させることができる。
Next, processing when the image forming apparatuses 100 and 110 perform a log acquisition request from the management apparatus 102 will be described with reference to FIGS.
FIG. 29 is a diagram illustrating a fourth example of a communication sequence during log acquisition processing by the image forming apparatuses 100 and 110.
The control device 606 of the service center management device 102 can display a screen showing various operation keys on the display unit by the input unit of the operator terminal 604.

そして、表示部上のログ取得要求用の操作キーである各種ログキーのうち、サプライログ取得キーが入力部によって選択されると、図29に示すように、サプライログ取得指示(サプライログ取得要求)を示すHTTPメッセージをインタネット103経由でいずれかの画像形成装置110のNRS305へ送信する。このとき、サプライログ取得指示に選択されたサプライログ取得キーに対応するログの種類(ログ取得先)を付加してSOAPメッセージを生成し(構造化言語形式であるXML形式に変換し)、そのSOAPメッセージにログ取得元(命令送信元)の情報を付加してHTTPメッセージを生成する。この場合、ログ取得元がログ出力先を兼ねているが、ログ出力先の情報を別に付加してもよい。   When a supply log acquisition key is selected by the input unit among various log keys that are operation keys for log acquisition requests on the display unit, as shown in FIG. 29, a supply log acquisition instruction (supply log acquisition request) Is transmitted to the NRS 305 of any one of the image forming apparatuses 110 via the Internet 103. At this time, a SOAP message is generated by adding the log type (log acquisition destination) corresponding to the selected supply log acquisition key to the supply log acquisition instruction (converted to XML format which is a structured language format), and An HTTP message is generated by adding log acquisition source (command transmission source) information to the SOAP message. In this case, the log acquisition source also serves as the log output destination, but information on the log output destination may be added separately.

ここで、HTTPメッセージ内のSOAPメッセージのフォーマット例について、図30および図31を参照して簡単に説明する。
図30はHTTPメッセージ内のSOAPメッセージのフォーマット例を、図31はそのHTTPメッセージの主要部分(データ)の構成をそれぞれ示す説明図である。
これらの図を見て分かるように、サプライログやSC_Aログ等のログの取得指示(取得要求)を示すHTTPメッセージのSOAPメッセージは、ログ取得指示の名称(情報取得命令名)および取得したいログの種類(取得情報種類)の情報を有している。ログ取得元(命令送信元)の情報は、HTTPメッセージのヘッダ部に位置する。
Here, a format example of the SOAP message in the HTTP message will be briefly described with reference to FIG. 30 and FIG.
FIG. 30 is an explanatory diagram showing a format example of a SOAP message in the HTTP message, and FIG.
As can be seen from these figures, the SOAP message of the HTTP message indicating a log acquisition instruction (acquisition request) such as a supply log or an SC_A log includes the name of the log acquisition instruction (information acquisition instruction name) and the log to be acquired. It has type (acquired information type) information. Information of the log acquisition source (command transmission source) is located in the header part of the HTTP message.

各画像形成装置110のNRS305はそれぞれ、図29に示すように、サービスセンタの管理装置102からインタネット103経由でサプライログ取得指示を示すHTTPメッセージを受信すると、サプライログ取得指示をSCS306へ通知する。このとき、受信したHTTPメッセージ中の(サプライログ表示指示によって指示された)ログ取得元を判別する。
SCS306は、NRS305からサプライログ取得指示があった場合に、そのサプライログ取得指示に付加された(サプライログ取得指示によって指示された)ログの種類(又はログ取得先)を判別し、その判別したログの種類に対応するサプライログ保存エリア(又はログ取得先のサプライログ保存エリア)に保存されている各サプライログを取得する。
When the NRS 305 of each image forming apparatus 110 receives an HTTP message indicating a supply log acquisition instruction from the service center management apparatus 102 via the Internet 103 as shown in FIG. 29, the NRS 305 notifies the SCS 306 of the supply log acquisition instruction. At this time, the log acquisition source (instructed by the supply log display instruction) in the received HTTP message is determined.
When there is a supply log acquisition instruction from the NRS 305, the SCS 306 determines the type of log (or log acquisition destination) added to the supply log acquisition instruction (instructed by the supply log acquisition instruction), and the determination Each supply log stored in the supply log storage area (or the supply log storage area of the log acquisition destination) corresponding to the log type is acquired.

そして、その取得した各サプライログをNRS305へ送信する。このとき、各サプライログの取得が正常に終了していれば、その旨を示す応答情報(OK)もNRS305へ送信する。各サプライログの取得が正常に終了しなかった場合には、その旨を示す応答情報(NG)のみをNRS305へ送信する。
NRS305は、SCS306から各サプライログおよびその各サプライログの取得が正常に終了した旨を示す応答情報(OK)あるいは各サプライログの取得が正常に終了しなかった旨を示す応答情報(NG)を受け取ると、その受け取った情報を示すSOAPメッセージを生成し、そのSOAPメッセージに画像形成装置の識別情報である機番情報を付加し、そのSOAPメッセージに基づいてHTTPメッセージを生成した後、そのHTTPメッセージをインタネット103経由で先に判別したログ取得元の管理装置102へ送信する。
The acquired supply logs are transmitted to the NRS 305. At this time, if acquisition of each supply log has been completed normally, response information (OK) indicating that is also transmitted to the NRS 305. If acquisition of each supply log is not normally completed, only response information (NG) indicating that is transmitted to the NRS 305.
The NRS 305 receives each supply log from the SCS 306 and response information (OK) indicating that acquisition of each supply log has ended normally or response information (NG) indicating that acquisition of each supply log has not ended normally. Upon receipt, a SOAP message indicating the received information is generated, machine number information which is identification information of the image forming apparatus is added to the SOAP message, an HTTP message is generated based on the SOAP message, and then the HTTP message is generated. Is transmitted to the management apparatus 102 of the log acquisition source determined earlier via the Internet 103.

サービスセンタの管理装置102の制御装置606は、いずれかの画像形成装置110からインタネット103経由で各サプライログおよびその各サプライログの取得が正常に終了した旨を示す応答情報(OK)を示すHTTPメッセージを受信すると、そのHTTPメッセージ中の各サプライログを操作者端末604の表示部に表示させる。このとき、各サプライログの取得が正常に終了した旨のメッセージも表示部に表示させてもよい。いずれかの画像形成装置110からインタネット103経由で各サプライログの取得が正常に終了しなかった旨を示す応答情報(NG)を示すHTTPメッセージを受信した場合には、各サプライログの取得が正常に終了しなかった旨のメッセージを表示部に表示させてもよい。   The control device 606 of the service center management apparatus 102 sends HTTP indicating response information (OK) indicating that acquisition of each supply log and each supply log from one of the image forming apparatuses 110 via the Internet 103 has ended normally. When the message is received, each supply log in the HTTP message is displayed on the display unit of the operator terminal 604. At this time, a message indicating that the acquisition of each supply log has been completed normally may be displayed on the display unit. When an HTTP message indicating response information (NG) indicating that acquisition of each supply log has not been normally completed from any of the image forming apparatuses 110 via the Internet 103, acquisition of each supply log is normal. A message indicating that the process has not been completed may be displayed on the display unit.

サービスセンタの管理装置102の制御装置606は、操作者端末604の表示部上の各種ログキーのうち、SC_Aログ取得キーが入力部によって選択されると、SC_Aログ取得指示(ログ取得要求)を示すHTTPメッセージをネットワーク経由でいずれかの画像形成装置のNRS305へ送信する。このとき、SC_Aログ取得指示に選択されたSC_Aログ取得キーに対応するログの種類を付加してHTMLメッセージを生成し、そのHTMLメッセージにログ取得元の情報を付加してHTTPメッセージを生成する。   When the SC_A log acquisition key is selected by the input unit among the various log keys on the display unit of the operator terminal 604, the control device 606 of the service center management apparatus 102 indicates an SC_A log acquisition instruction (log acquisition request). An HTTP message is transmitted to the NRS 305 of any image forming apparatus via the network. At this time, an HTML message is generated by adding a log type corresponding to the selected SC_A log acquisition key to the SC_A log acquisition instruction, and an HTTP message is generated by adding log acquisition source information to the HTML message.

各画像形成装置110のNRS305はそれぞれ、サービスセンタの管理装置102からインタネット103経由でSC_Aログ取得指示を示すHTTPメッセージを受信すると、SC_Aログ取得指示をSCS306へ通知する。このとき、受信したHTTPメッセージ中の(SC_Aログ表示指示によって指示された)ログ取得元を判別する。
SCS306は、NRS305からSC_Aログ取得指示があった場合に、そのSC_Aログ取得指示に付加された(SC_Aログ取得指示によって指示された)ログの種類を判別し、その判別したログの種類に対応するSC_Aログ保存エリアに保存されている各SC_Aログを取得する。
以後のSCS306による処理,NRS305による処理,管理装置102による処理は、サプライログ取得キーが選択された場合と略同様なので、説明を省略する。
When the NRS 305 of each image forming apparatus 110 receives an HTTP message indicating an SC_A log acquisition instruction from the service center management apparatus 102 via the Internet 103, the NRS 305 notifies the SCS 306 of the SC_A log acquisition instruction. At this time, the log acquisition source (instructed by the SC_A log display instruction) in the received HTTP message is determined.
When there is an SC_A log acquisition instruction from the NRS 305, the SCS 306 determines the type of log added to the SC_A log acquisition instruction (instructed by the SC_A log acquisition instruction), and corresponds to the determined log type Each SC_A log stored in the SC_A log storage area is acquired.
Subsequent processing by the SCS 306, processing by the NRS 305, and processing by the management apparatus 102 are substantially the same as when the supply log acquisition key is selected, and thus description thereof is omitted.

なお、管理装置102が仲介装置101経由で画像形成装置100からログを取得する場合における管理装置102,仲介装置101,画像形成装置100の処理についても簡単に説明しておく。
サービスセンタの管理装置102の制御装置606は、操作者端末604の表示部上の各種ログキーのうち、例えばサプライログ取得キーが入力部によって選択されると、サプライログ取得指示(サプライログ取得要求)を示すHTTPメッセージをインタネット103経由でいずれかの仲介装置101へ送信する。このとき、サプライログ取得指示に選択されたサプライログ取得キーに対応するログの種類を付加してSOAPメッセージを生成し、そのSOAPメッセージにログ取得元の情報を付加してHTTPメッセージを生成する。この場合、ログ取得元がログ出力先を兼ねているが、ログ出力先の情報を別に付加してもよい。
The processing of the management apparatus 102, the mediation apparatus 101, and the image forming apparatus 100 when the management apparatus 102 acquires a log from the image forming apparatus 100 via the mediation apparatus 101 will be briefly described.
When the control unit 606 of the service center management apparatus 102 selects, for example, a supply log acquisition key from among various log keys on the display unit of the operator terminal 604 by the input unit, a supply log acquisition instruction (supply log acquisition request) Is transmitted to any of the intermediary apparatuses 101 via the Internet 103. At this time, a SOAP message is generated by adding a log type corresponding to the supply log acquisition key selected in the supply log acquisition instruction, and an HTTP message is generated by adding log acquisition source information to the SOAP message. In this case, the log acquisition source also serves as the log output destination, but information on the log output destination may be added separately.

各仲介装置101はそれぞれ、サービスセンタの管理装置102からインタネット103経由でサプライログ取得指示を示すHTTPメッセージを受信すると、そのHTTPメッセージに基づいてSOAPメッセージを生成し、そのSOAPメッセージを対応する画像形成装置100のNRS305へ送出(送信)する。このとき、受信したHTTPメッセージ中の(サプライログ表示指示によって指示された)ログ取得元を判別する。
各画像形成装置100のNRS305はそれぞれ、仲介装置101からサプライログ取得指示を示すSOAPメッセージを受信すると、サプライログ取得指示をSCS306へ通知する。
SCS306は、NRS305からサプライログ取得指示があった場合に、そのサプライログ取得指示に付加された(サプライログ取得指示によって指示された)ログの種類(又はログ取得先)を判別し、その判別したログの種類に対応するサプライログ保存エリア(又はログ取得先のサプライログ保存エリア)に保存されている各サプライログを取得する。
When each intermediary device 101 receives an HTTP message indicating a supply log acquisition instruction from the management device 102 of the service center via the Internet 103, it generates a SOAP message based on the HTTP message, and forms an image corresponding to the SOAP message. Transmit (transmit) to the NRS 305 of the apparatus 100. At this time, the log acquisition source (instructed by the supply log display instruction) in the received HTTP message is determined.
When the NRS 305 of each image forming apparatus 100 receives a SOAP message indicating a supply log acquisition instruction from the mediation apparatus 101, the NRS 305 notifies the SCS 306 of a supply log acquisition instruction.
When there is a supply log acquisition instruction from the NRS 305, the SCS 306 determines the type of log (or log acquisition destination) added to the supply log acquisition instruction (instructed by the supply log acquisition instruction), and the determination Each supply log stored in the supply log storage area (or the supply log storage area of the log acquisition destination) corresponding to the log type is acquired.

そして、その取得した各サプライログをNRS305へ送信する。このとき、各サプライログの取得が正常に終了していれば、その旨を示す応答情報(OK)もNRS305へ送信する。各サプライログの取得が正常に終了しなかった場合には、その旨を示す応答情報(NG)のみをNRS305へ送信する。
NRS305は、SCS306から各サプライログおよびその各サプライログの取得が正常に終了した旨を示す応答情報(OK)あるいは各サプライログの取得が正常に終了しなかった旨を示す応答情報(NG)を受け取ると、その受け取った情報を示すSOAPメッセージを生成し、そのSOAPメッセージを仲介装置101へ送出する。
仲介装置101は、NRS305からSOAPメッセージを受信すると、そのSOAPメッセージに自己の識別情報である仲介装置識別子を付加し、そのSOAPメッセージに基づいてHTTPメッセージを生成し、そのHTTPメッセージをインタネット103経由で先に判別したログ取得元の管理装置102へ送信する。
The acquired supply logs are transmitted to the NRS 305. At this time, if acquisition of each supply log has been completed normally, response information (OK) indicating that is also transmitted to the NRS 305. If acquisition of each supply log is not normally completed, only response information (NG) indicating that is transmitted to the NRS 305.
The NRS 305 receives each supply log from the SCS 306 and response information (OK) indicating that acquisition of each supply log has ended normally or response information (NG) indicating that acquisition of each supply log has not ended normally. Upon receipt, a SOAP message indicating the received information is generated, and the SOAP message is sent to the mediation apparatus 101.
When the mediation device 101 receives the SOAP message from the NRS 305, it adds a mediation device identifier, which is its own identification information, to the SOAP message, generates an HTTP message based on the SOAP message, and sends the HTTP message via the Internet 103. It transmits to the management apparatus 102 of the log acquisition origin discriminate | determined previously.

サービスセンタの管理装置102の制御装置606は、いずれかの仲介装置101からインタネット103経由で各サプライログおよびその各サプライログの取得が正常に終了した旨を示す応答情報(OK)を示すHTTPメッセージを受信すると、そのHTTPメッセージ中の各サプライログを操作者端末604の表示部に表示させる。このとき、各サプライログの取得が正常に終了した旨のメッセージも表示部に表示させてもよい。いずれかの仲介装置101からインタネット103経由で各サプライログの取得が正常に終了しなかった旨を示す応答情報(NG)を示すHTTPメッセージを受信した場合には、各サプライログの取得が正常に終了しなかった旨のメッセージを表示部に表示させてもよい。   The control device 606 of the service center management device 102 sends an HTTP message indicating response logs (OK) indicating that the acquisition of each supply log and each supply log from one of the intermediary devices 101 via the Internet 103 has been completed normally. Is received, each supply log in the HTTP message is displayed on the display unit of the operator terminal 604. At this time, a message indicating that the acquisition of each supply log has been completed normally may be displayed on the display unit. When an HTTP message indicating response information (NG) indicating that acquisition of each supply log has not been normally completed from any of the intermediary devices 101 via the Internet 103, acquisition of each supply log is normally performed. A message indicating that the process has not been completed may be displayed on the display unit.

次に、画像形成装置100,110のSCS306によるログ取得処理について、図32を参照してもう少し詳細に説明する。但し、ログ送信の詳細は省略する。
図32は、画像形成装置100,110のSCS306によるログ取得処理の概略例を示すフローチャートである。
画像形成装置100,110のSCS306は、操作パネル205,ウェブデバイス,管理装置102とのやりとりを制御する各アプリやOCS300,NCS303,NRS305を含む各プログラムのいずれかからログ取得要求があった場合に、図32の処理を開始し、ログ取得要求によって指示されたログ取得先(又はログの種類)を判別する。
Next, log acquisition processing by the SCS 306 of the image forming apparatuses 100 and 110 will be described in a little more detail with reference to FIG. However, details of log transmission are omitted.
FIG. 32 is a flowchart illustrating a schematic example of log acquisition processing by the SCS 306 of the image forming apparatuses 100 and 110.
The SCS 306 of the image forming apparatuses 100 and 110 is used when there is a log acquisition request from any of the applications including the operation panel 205, the web device, and the management apparatus 102 and each program including the OCS 300, NCS 303, and NRS 305. 32 is started, and the log acquisition destination (or log type) instructed by the log acquisition request is determined.

すなわち、まずステップS31でログ取得要求によって指示されたログ取得先が通信ログ保存エリア(又はログ取得要求によって指示されたログが通信ログ)であるか否かを判別し、通信ログ保存エリアであればステップS32でログ取得エリア(ログ取得先)を通信ログ保存エリアと設定する。
次に、ステップS33でHDD201の通信ログ保存エリアからログ種別保存数決定テーブル(図19参照)で定義された数のログを取得し、ステップS34でその取得したログを送信する。
That is, first, in step S31, it is determined whether or not the log acquisition destination specified by the log acquisition request is a communication log storage area (or a log specified by the log acquisition request is a communication log). In step S32, the log acquisition area (log acquisition destination) is set as a communication log storage area.
Next, the number of logs defined in the log type storage number determination table (see FIG. 19) is acquired from the communication log storage area of the HDD 201 in step S33, and the acquired logs are transmitted in step S34.

ステップS31でログ取得要求によって指示されたログ取得先が通信ログ保存エリア(又はログ取得要求によって指示されたログが通信ログ)でないと判別した場合には、ステップS35でそのログ取得先がSC_Aログ保存エリア(又はログ取得要求によって指示されたログがSC_Aログ)であるか否かを判別し、SC_Aログ保存エリアであればステップS36でログ取得エリアをSC_Aログ保存エリアと設定する。
次に、ステップS33でHDD201のSC_Aログ保存エリアからログ種別保存数決定テーブルで定義された数のログを取得し、ステップS34でその取得したログを送信する。
If it is determined in step S31 that the log acquisition destination indicated by the log acquisition request is not the communication log storage area (or the log specified by the log acquisition request is a communication log), the log acquisition destination is the SC_A log in step S35. It is determined whether or not it is a storage area (or the log instructed by the log acquisition request is an SC_A log). If it is an SC_A log storage area, the log acquisition area is set as an SC_A log storage area in step S36.
Next, the number of logs defined in the log type storage number determination table is acquired from the SC_A log storage area of the HDD 201 in step S33, and the acquired logs are transmitted in step S34.

ステップS35でログ取得要求によって指示されたログ取得先が通信ログ保存エリア(又はログ取得要求によって指示されたログが通信ログ)でないと判別した場合には、ステップS37でそのログ取得先がサプライログ保存エリア(又はログ取得要求によって指示されたログがサプライログ)であるか否かを判別し、サプライログ保存エリアであればステップS38でログ取得エリアをサプライログ保存エリアと設定する。
次に、ステップS33でHDD201のサプライログ保存エリアからログ種別保存数決定テーブルで定義された数のログを取得し、ステップS34でその取得したログを送信する。
If it is determined in step S35 that the log acquisition destination specified by the log acquisition request is not the communication log storage area (or the log specified by the log acquisition request is a communication log), the log acquisition destination is the supply log in step S37. It is determined whether or not it is a storage area (or the log instructed by the log acquisition request is a supply log). If it is a supply log storage area, the log acquisition area is set as a supply log storage area in step S38.
Next, the number of logs defined in the log type storage number determination table is acquired from the supply log storage area of the HDD 201 in step S33, and the acquired logs are transmitted in step S34.

ステップS37でログ取得要求によって指示されたログ取得先がサプライログ保存エリア(又はログ取得要求によって指示されたログがサプライログ)でないと判別した場合には、そのログ取得先がSC_Bログ保存エリア等の他の分割エリア(又はログ取得要求によって指示されたログがSC_Bログ等の他のログ)であるか否かを判別し、その判別結果に応じて他の分割エリア(又は他のログ)に対する処理を行うが、その処理は上述した通信ログ保存エリア等に対する処理と同様に行う。
但し、ステップS31,ステップS35,ステップS37等で通信ログ保存エリア番号キー,SC_Aログ保存エリア番号キー,サプライログ保存エリア番号キー等に対応するログ取得先を判別した場合には、ログ取得エリアをそのログ取得先のエリアに保存されている1個のログのみを取得し、その取得したログを送信する。
If it is determined in step S37 that the log acquisition destination specified by the log acquisition request is not the supply log storage area (or the log specified by the log acquisition request is the supply log), the log acquisition destination is the SC_B log storage area or the like. It is determined whether or not another divided area (or another log such as the SC_B log is specified by the log acquisition request), and other divided areas (or other logs) are determined according to the determination result. The process is performed in the same manner as the process for the communication log storage area described above.
However, when the log acquisition destination corresponding to the communication log storage area number key, the SC_A log storage area number key, the supply log storage area number key, etc. is determined in step S31, step S35, step S37, etc., the log acquisition area is changed. Only one log stored in the log acquisition destination area is acquired, and the acquired log is transmitted.

なお、前述したように、OCS300(操作パネル205),NCS303(ウェブデバイス),又はNRS305(管理装置102)等からログ取得要求があった場合に、取得したログをログ取得要求元以外にも送信することができる。
例えば、OCS300からログ取得要求があった場合に、取得したログをNCS303又はNRS305に送信する。あるいは、NCS303又はNRS305からログ取得要求があった場合に、取得したログをOCS300又はプリンタアプリ311へ送信する。
また、この第3実施例では、ログの種類別に決定した各分割エリアのうち、ログ取得要求によって指示されたログ取得先の分割エリアに保存されているログを取得するようにしたが、ログの重要度別,作成要因別,又はプログラム別に決定した各分割エリアのうち、ログ取得要求によって指示されたログ取得先の分割エリアに保存されているログを取得するようにすることもできる。
As described above, when there is a log acquisition request from the OCS 300 (operation panel 205), NCS 303 (web device), or NRS 305 (management apparatus 102), the acquired log is transmitted to other than the log acquisition request source. can do.
For example, when there is a log acquisition request from the OCS 300, the acquired log is transmitted to the NCS 303 or the NRS 305. Alternatively, when there is a log acquisition request from the NCS 303 or the NRS 305, the acquired log is transmitted to the OCS 300 or the printer application 311.
Further, in the third embodiment, the log stored in the log acquisition destination divided area designated by the log acquisition request among the divided areas determined for each log type is acquired. Of the divided areas determined by importance level, creation factor, or program, logs stored in the log acquisition destination divided area designated by the log acquisition request may be acquired.

第3実施例によれば、第1実施例又は第2実施例と同様の作用に加え、以下の作用も達成できる。
すなわち、画像形成装置100,110のCPUがそれぞれ、操作パネル205又は外部装置(管理装置102やウェブデバイスなど)からログ取得要求があった場合に、そのログ取得要求によって指示されたログ取得先(又はログの種類)およびログ出力先を判別し、HDD201のログ保存エリアの各分割エリアのうち、その判別したログ取得先の分割エリア(又はログの種類に対応する分割エリア)に保存されているログを取得し、その取得したログをログ出力先へ送信させる。
よって、重要なログを機器利用者もしくは機器管理者がコストアップせずに簡単且つ確実に確認することができる。
According to the third embodiment, the following operation can be achieved in addition to the same operation as the first embodiment or the second embodiment.
That is, when the CPUs of the image forming apparatuses 100 and 110 receive a log acquisition request from the operation panel 205 or an external apparatus (such as the management apparatus 102 or web device), respectively, the log acquisition destination (indicated by the log acquisition request ( Log type) and log output destination, and among the divided areas of the log storage area of the HDD 201, the log is stored in the determined log acquisition destination divided area (or the divided area corresponding to the log type). Acquire the log and send the acquired log to the log output destination.
Therefore, the important log can be easily and reliably confirmed by the device user or the device manager without increasing the cost.

また、電子装置(通信装置)の例として通信機能(仲介機能)を持つ画像形成装置110および通信機能を果たす仲介装置101を接続した画像形成装置100について説明したが、この発明はこれらに限られるものではなく、通信機能を持つか、通信機能を果たす仲介装置を接続したネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等や、ネットワークに接続可能なコンピュータ等も含め、通信機能を備えた各種電子装置に適用可能である。また、これらの装置を被管理装置とした場合にも、遠隔管理システムを上述した場合と同様に動作させることができる。さらに、通信装置の遠隔管理システムについても、通信装置,遠隔管理仲介装置,管理装置の構成及びこれらの接続形式は、以上の実施例に限られるものではない。   Further, the image forming apparatus 110 having the communication function (mediation function) and the image forming apparatus 100 to which the mediation apparatus 101 performing the communication function is connected have been described as examples of the electronic apparatus (communication apparatus). However, the present invention is not limited thereto. Connect to network home appliances, vending machines, medical equipment, power supplies, air-conditioning systems, gas / water / electric metering systems, etc. that have communication functions or that connect communication devices that perform communication functions The present invention can be applied to various electronic devices having a communication function, including possible computers. Further, when these devices are managed devices, the remote management system can be operated in the same manner as described above. Further, with regard to the remote management system of the communication device, the configuration of the communication device, the remote management mediating device, and the management device and their connection types are not limited to the above embodiments.

例えば、図1に示した遠隔管理システムにおいて、上述した各種電子装置を被管理装置とし、図33に示すような遠隔管理システムを構成することが考えられる。この図33においては、仲介装置101を別途設ける被管理装置の例として、テレビ受像機12aや冷蔵庫12bのようなネットワーク家電、医療機器12c,自動販売機12d,計量システム12e,空調システム12fを挙げている。そして、仲介装置101の機能を併せ持つ被管理装置の例として、自動車13aや航空機13bを挙げている。また、自動車13aや航空機13bのように広範囲を移動する装置においては、ファイアウォール(FW)104の機能も併せ持つようにすることが好ましい。   For example, in the remote management system shown in FIG. 1, it is conceivable that the above-described various electronic devices are used as managed devices to form a remote management system as shown in FIG. In FIG. 33, network appliances such as a television receiver 12a and a refrigerator 12b, a medical device 12c, a vending machine 12d, a weighing system 12e, and an air conditioning system 12f are given as examples of managed devices in which the intermediary device 101 is separately provided. ing. As an example of a managed device that also has the function of the intermediary device 101, an automobile 13a and an aircraft 13b are cited. In addition, it is preferable that an apparatus that moves over a wide range, such as an automobile 13a or an aircraft 13b, also has a firewall (FW) 104 function.

また、この発明によるプログラムは、外部装置と通信を行う通信手段を備えた上述の画像形成装置等の通信装置を制御するコンピュータに、この発明による各機能、つまり処理実行手段,ログ生成手段,ログ書込制御手段,領域管理手段,ログ取得手段,ログ出力手段,ログ送信手段,ログ送出手段としての機能としての機能を実現させるためのプログラムであり、このようなプログラムをコンピュータに実行させることにより、上述したような効果を得ることができる。   In addition, the program according to the present invention allows a computer that controls a communication apparatus such as the above-described image forming apparatus provided with a communication unit to communicate with an external apparatus to each function according to the present invention, that is, a process execution unit, a log generation unit, This is a program for realizing functions as functions of write control means, area management means, log acquisition means, log output means, log transmission means, log transmission means, and by causing a computer to execute such a program. The effects as described above can be obtained.

このようなプログラムは、はじめからコンピュータに備えるROMあるいはHDD等の記憶手段に格納しておいてもよいが、記録媒体であるCD−ROMあるいはフレキシブルディスク,SRAM,EEPROM,メモリカード等の不揮発性記録媒体(メモリ)に記録して提供することもできる。そのメモリに記録されたプログラムをコンピュータにインストールしてCPUに実行させるか、CPUにそのメモリからこのプログラムを読み出して実行させることにより、上述した各手順を実行させることができる。
さらに、ネットワークに接続され、プログラムを記録した記録媒体を備える外部機器あるいはプログラムを記憶手段に記憶した外部機器からダウンロードして実行させることも可能である。
Such a program may be stored in a storage means such as a ROM or HDD provided in the computer from the beginning, but a non-volatile recording such as a CD-ROM or flexible disk, SRAM, EEPROM, memory card or the like as a recording medium. It can also be recorded on a medium (memory) and provided. Each procedure described above can be executed by installing a program recorded in the memory in a computer and causing the CPU to execute the program, or causing the CPU to read and execute the program from the memory.
Furthermore, it is also possible to download and execute an external device that is connected to a network and includes a recording medium that records the program, or an external device that stores the program in the storage unit.

この発明を、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等や、ネットワークに接続可能なコンピュータ等も含め、通信機能を備えた各種電子装置(被管理装置,仲介装置)、その電子装置とそれを管理する管理装置とからなる遠隔管理システムに適用可能である。   Various electronic devices having communication functions, including network home appliances, vending machines, medical devices, power supply devices, air conditioning systems, gas / water / electricity measuring systems, computers that can be connected to a network, etc. The present invention can be applied to a remote management system including (managed device, mediation device), an electronic device, and a management device that manages the electronic device.

この発明による電子装置を被管理装置とする遠隔管理システムの構成例を示す概念図である。It is a conceptual diagram which shows the structural example of the remote management system which uses the electronic device by this invention as a to-be-managed device. その遠隔管理システムにおけるデータ送受モデルを示す概念図である。It is a conceptual diagram which shows the data transmission / reception model in the remote management system. この発明による電子装置を画像形成装置とする画像形成装置遠隔管理システムの構成例を示す概念図である。1 is a conceptual diagram illustrating a configuration example of an image forming apparatus remote management system in which an electronic apparatus according to the present invention is an image forming apparatus. 図3の画像形成装置100のハードウェア構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a hardware configuration example of the image forming apparatus 100 in FIG. 3. 図3の画像形成装置100のソフトウェア構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a software configuration example of the image forming apparatus 100 in FIG. 3.

図4,図5に示した画像形成装置100におけるENGRDY信号とPWRCTL信号について説明するための図である。FIG. 6 is a diagram for describing an ENGRDY signal and a PWRCTL signal in the image forming apparatus 100 shown in FIGS. 4 and 5. 図5のNRS305の構成例を示す機能ブロック図である。FIG. 6 is a functional block diagram illustrating a configuration example of the NRS 305 in FIG. 5. 図3の管理装置102の概略構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a schematic configuration example of a management apparatus 102 in FIG. 3. 図3に示した画像形成装置遠隔管理システム内で行われるデータ送受信の際の通信シーケンスの一例を示す図である。FIG. 4 is a diagram showing an example of a communication sequence for data transmission / reception performed in the image forming apparatus remote management system shown in FIG. 3. 図3の画像形成装置100から管理装置102へデータを送信する場合の通信シーケンスの一例を示す図である。FIG. 4 is a diagram illustrating an example of a communication sequence when data is transmitted from the image forming apparatus 100 of FIG. 3 to a management apparatus 102.

異常の種類を判定するための基準となる情報のテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the table of the information used as the reference | standard for determining the kind of abnormality. 図3に示した画像形成装置遠隔管理システムにおける画像形成装置100によるこの発明に係わるログ保存処理を含む動作時の通信シーケンスの一例を示す図である。It is a figure which shows an example of the communication sequence at the time of operation | movement including the log preservation | save process concerning this invention by the image forming apparatus 100 in the image forming apparatus remote management system shown in FIG. 図5のSCS306によって作成されるログの内容の一例を示す説明図である。It is explanatory drawing which shows an example of the content of the log produced by SCS306 of FIG. 図5のSCS306によって作成されるログの内容の具体例を示す説明図である。FIG. 6 is an explanatory diagram showing a specific example of the contents of a log created by the SCS 306 in FIG. 5. 図5のSCS306によるログ保存処理の一例を示すフロー図である。FIG. 6 is a flowchart showing an example of log storage processing by the SCS 306 in FIG. 5.

その続きを示すフロー図である。It is a flowchart which shows the continuation. 図15のログ保存エリア決定処理のサブルーチンを示すフロー図である。FIG. 16 is a flowchart showing a subroutine of log storage area determination processing in FIG. 15. 図4のコントローラボード200のRAM上のこの発明に係わるメモリを説明するための図である。FIG. 5 is a diagram for explaining a memory according to the present invention on a RAM of a controller board 200 of FIG. 4. 図5のSCS306が有するログ種別保存数決定テーブルを説明するための図である。FIG. 6 is a diagram for explaining a log type storage number determination table included in the SCS 306 of FIG. 5. 図5のSCS306によるログ保存処理を説明するためのメモリマップ図である。FIG. 6 is a memory map diagram for explaining log storage processing by the SCS 306 in FIG. 5.

図3に示した画像形成装置遠隔管理システムにおける画像形成装置110によるこの発明に係わるログ保存処理を含む動作時の通信シーケンスの一例を示す図である。It is a figure which shows an example of the communication sequence at the time of operation | movement including the log preservation | save process concerning this invention by the image forming apparatus 110 in the image forming apparatus remote management system shown in FIG. 図3に示した画像形成装置遠隔管理システムにおける画像形成装置100,110によるログ取得処理時の通信シーケンスの第1例を示す図である。FIG. 4 is a diagram illustrating a first example of a communication sequence during log acquisition processing by the image forming apparatuses 100 and 110 in the image forming apparatus remote management system illustrated in FIG. 3. 同じく画像形成装置100,110の操作パネル205にログを表示させるための操作手順を説明するための説明図である。3 is an explanatory diagram for explaining an operation procedure for displaying a log on operation panel 205 of image forming apparatuses 100 and 110 in the same manner. FIG. その続きを示す説明図である。It is explanatory drawing which shows the continuation. 図3に示した画像形成装置遠隔管理システムにおける画像形成装置100,110によるログ取得処理時の通信シーケンスの第2例を示す図である。FIG. 4 is a diagram illustrating a second example of a communication sequence during log acquisition processing by the image forming apparatuses 100 and 110 in the image forming apparatus remote management system illustrated in FIG. 3.

図3に示した画像形成装置遠隔管理システムにおける画像形成装置100,110によるログ取得処理時の通信シーケンスの第3例を示す図である。FIG. 10 is a diagram showing a third example of a communication sequence during log acquisition processing by the image forming apparatuses 100 and 110 in the image forming apparatus remote management system shown in FIG. 3. ウェブデバイスの表示部にログを表示させるための操作手順を説明するための説明図である。It is explanatory drawing for demonstrating the operation procedure for displaying a log on the display part of a web device. その続きを示す説明図である。It is explanatory drawing which shows the continuation. 図3に示した画像形成装置遠隔管理システムにおける画像形成装置100,110によるログ取得処理時の通信シーケンスの第4例を示す図である。FIG. 10 is a diagram illustrating a fourth example of a communication sequence during log acquisition processing by the image forming apparatuses 100 and 110 in the image forming apparatus remote management system illustrated in FIG. 3. HTTPメッセージ内のSOAPメッセージのフォーマット例を示す説明図である。It is explanatory drawing which shows the example of a format of the SOAP message in an HTTP message.

そのHTTPメッセージの主要部分の構成を示す説明図である。It is explanatory drawing which shows the structure of the principal part of the HTTP message. 図3に示した画像形成装置遠隔管理システムにおける画像形成装置100,110のSCS306によるログ取得処理の概略例を示すフロー図である。FIG. 4 is a flowchart showing a schematic example of log acquisition processing by the SCS 306 of the image forming apparatuses 100 and 110 in the image forming apparatus remote management system shown in FIG. 3. 図1に示した遠隔管理システムの別の構成例を示す図である。It is a figure which shows another structural example of the remote management system shown in FIG. 従来の画像形成装置遠隔管理システムにおける画像形成装置によるログ保存処理を含む動作時の通信シーケンスの一例を示す図である。It is a figure which shows an example of the communication sequence at the time of operation | movement including the log preservation | save process by the image forming apparatus in the conventional image forming apparatus remote management system. 同じくログ保存処理を含む動作時の通信シーケンスの他の例を示す図である。It is a figure which shows the other example of the communication sequence at the time of operation | movement similarly including a log preservation | save process.

従来の画像形成装置遠隔管理システムにおける画像形成装置によるログ保存処理の一例を示すフロー図である。It is a flowchart which shows an example of the log | save preservation | save process by the image forming apparatus in the conventional image forming apparatus remote management system. 同じくログ保存処理を説明するためのメモリマップ図である。It is a memory map figure for demonstrating log storage processing similarly. 従来の画像形成装置の操作パネルによるログ取得のための操作手順を説明するための説明図である。It is explanatory drawing for demonstrating the operation procedure for the log acquisition by the operation panel of the conventional image forming apparatus. その続きを示す説明図である。It is explanatory drawing which shows the continuation. 従来の画像形成装置と通信可能な外部装置によるログ取得のための操作手順を説明するための説明図である。It is explanatory drawing for demonstrating the operation procedure for the log acquisition by the external device which can communicate with the conventional image forming apparatus. その続きを示す説明図である。It is explanatory drawing which shows the continuation.

符号の説明Explanation of symbols

10:被管理装置 11:仲介機能付被管理装置 100:画像形成装置 101:仲介装置 102:管理装置 103:インタネット 104:ファイアウォール 110:仲介機能付画像形成装置 200:コントローラボード 201:HDD 202:NV−RAM 203:PIボード 204:PHY 205:操作パネル 206:プロッタ/スキャナエンジンボード 207:電源ユニット 212:PCI−BUS 300:OCS 301:ECS 302:MCS 303:NCS 304:FCS 305:NRS 306:SCS 307:SRM 308:IMH 309:コピーアプリ 310:ファクスアプリ 311:プリンタアプリ 312:スキャナアプリ 313:ネットファイルアプリ 314:ウェブアプリ 601:モデム 602:通信端末 603:プロキシサーバ 604:操作者端末 605:データベース 606:制御装置 10: Managed device 11: Managed device with mediation function 100: Image forming device 101: Mediation device 102: Management device 103: Internet 104: Firewall 110: Image forming device with mediation function 200: Controller board 201: HDD 202: NV -RAM 203: PI board 204: PHY 205: Operation panel 206: Plotter / scanner engine board 207: Power supply unit 212: PCI-BUS 300: OCS 301: ECS 302: MCS 303: NCS 304: FCS 305: NRS 306: SCS 307: SRM 308: IMH 309: Copy application 310: Fax application 311: Printer application 312: Scanner application 313: Network File application 314: web app 601: Modem 602: communication terminal 603: the proxy server 604: the operator terminal 605: Database 606: controller

Claims (22)

情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段と、該手段によって生成されるログを前記記憶手段の所定記憶領域に書き込み、該所定記憶領域に空きがなくなった場合に最も古いログに上書きするログ書込制御手段とを有する電子装置であって、
前記ログ生成手段によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理手段と、
ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得手段と、
該手段によって取得されたログを前記ログ取得要求によって指示された出力先へ出力するログ出力手段とを設け
前記管理情報は、前記ログ生成手段によって生成されるログを前記グループ分けして前記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものであり、
前記ログ書込制御手段は、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断手段を有し、該判断手段による判断の結果、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に前記ログ生成手段によって生成されるログを書き込み、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに前記ログ生成手段によって生成されるログを上書きする手段であることを特徴とする電子装置。
When there is a notification that one of a plurality of types of abnormality has occurred from any of a storage unit that stores and saves information and a plurality of processing execution units that require log management , or a plurality that includes an abnormality and a warning If any of the types of events there is a notification to the effect that occurs, write the log generating means for generating respective logs of the notification, the logs generated by the unit in a predetermined storage area of the storage means An electronic device having log writing control means for overwriting the oldest log when the predetermined storage area is full,
The log generation unit has management information for managing the plurality of divided areas by dividing the predetermined storage area so that the logs generated by the log generation unit can be grouped and stored, and the log based on the management information Area management means for designating a divided area of a log writing destination generated by the generation means;
Log acquisition means for acquiring a log stored in a log acquisition destination divided area designated by the log acquisition request when there is a log acquisition request;
Log output means for outputting the log acquired by the means to the output destination specified by the log acquisition request ;
The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by grouping the logs generated by the log generation unit,
The log writing control means has a judging means for judging whether or not the log storage count of the divided area designated by the area management means has reached the corresponding log storable number, and the judgment by the judgment means As a result, if the log storage count of the divided area designated by the area management means does not reach the corresponding log storable number, the log generated by the log generation means is written to the divided area, and the area management Means for overwriting the log generated by the log generating means over the oldest log stored in the divided area when the number of logs stored in the divided area designated by the means reaches the corresponding log storable number electronic device characterized in that it.
請求項1記載の電子装置において、
前記領域管理手段が、前記ログ生成手段による初めてのログ生成時に、前記管理情報に基づいて該ログを含む前記ログ生成手段によって生成されるログを前記グループ分けして保存するための前記複数の分割領域を決定する手段を有し、該手段による決定結果に従って前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する手段であることを特徴とする電子装置。
The electronic device according to claim 1.
The plurality of divisions for storing the log generated by the log generation unit including the log based on the management information in the group when the area management unit generates the log for the first time by the log generation unit An electronic apparatus comprising: means for determining an area; and a means for designating a divided area to which a log generated by the log generation means is written according to a determination result by the means.
請求項1又は2記載の電子装置において、
前記出力先が、情報を表示する表示部を有する操作手段であることを特徴とする電子装置。
The electronic device according to claim 1 or 2,
The electronic device is characterized in that the output destination is an operation unit having a display unit for displaying information.
請求項1又は2記載の電子装置において、
前記出力先が、情報を印刷する印刷手段であることを特徴とする電子装置。
The electronic device according to claim 1 or 2,
The electronic apparatus is characterized in that the output destination is a printing means for printing information.
請求項1又は2記載の電子装置において、
外部装置と通信する通信手段を設け、
前記ログ出力手段は、前記ログ取得要求によって指示された出力先が前記外部装置の場合に、前記ログ取得手段によって取得されたログを前記通信手段によって前記外部装置へ送信させる手段であることを特徴とする電子装置。
The electronic device according to claim 1 or 2,
A communication means for communicating with an external device is provided,
The log output unit is a unit that causes the communication unit to transmit the log acquired by the log acquisition unit to the external device when the output destination instructed by the log acquisition request is the external device. An electronic device.
請求項5記載の電子装置において、
前記通信手段は、前記外部装置へ送信すべきログを構造化言語形式に変換する手段を有することを特徴とする電子装置。
The electronic device according to claim 5.
The electronic apparatus according to claim 1, wherein the communication means includes means for converting a log to be transmitted to the external device into a structured language format.
管理装置によりネットワークを介して複数の電子装置を遠隔管理する遠隔管理システムであって、
前記複数の電子装置にそれぞれ、前記管理装置と通信する通信手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段と、該手段によって生成されるログを前記記憶手段の所定記憶領域に書き込み、該所定記憶領域に空きがなくなった場合に最も古いログに上書きするログ書込制御手段と、前記ログ生成手段によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理手段と、ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得手段と、前記ログ取得要求によって指示された出力先が前記外部装置の場合に、前記ログ取得手段によって取得されたログに自己の識別情報を付加して前記通信手段によって前記管理装置へ送信させるログ送信手段とを設け
前記管理情報は、前記ログ生成手段によって生成されるログを前記グループ分けして前記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものであり
前記ログ書込制御手段は、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断手段を有し、該判断手段による判断の結果、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に前記ログ生成手段によって生成されるログを書き込み、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに前記ログ生成手段によって生成されるログを上書きする手段であることを特徴とする遠隔管理システム。
A remote management system for remotely managing a plurality of electronic devices via a network by a management device,
Any of a plurality of types of abnormality from any one of a communication unit that communicates with the management device, a storage unit that stores and saves information, and a plurality of process execution units that require log management, respectively, in the plurality of electronic devices If but there is notification that either has occurred among the plurality of types of events including when there is notification of the occurrence, or abnormal and warning, and log generation means for generating respective logs of the notification Log writing control means for writing the log generated by the means to a predetermined storage area of the storage means and overwriting the oldest log when the predetermined storage area is full, and the log generation means Management information for managing a plurality of divided areas by dividing the predetermined storage area so that the logs can be stored in groups, and based on the management information Wherein the area management means for specifying a divided area of the write destination of logs generated by the log generation unit, when a log acquisition request, is stored in the divided region of the logging destination instructed by the log acquisition request Log acquisition means for acquiring a log, and when the output destination instructed by the log acquisition request is the external device, the communication means adds self identification information to the log acquired by the log acquisition means. Log transmission means for transmitting to the management device ;
The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by grouping the logs generated by the log generation unit.
The log writing control means has a judging means for judging whether or not the log storage count of the divided area designated by the area management means has reached the corresponding log storable number, and the judgment by the judgment means As a result, if the log storage count of the divided area designated by the area management means does not reach the corresponding log storable number, the log generated by the log generation means is written to the divided area, and the area management Means for overwriting the log generated by the log generating means over the oldest log stored in the divided area when the number of logs stored in the divided area designated by the means reaches the corresponding log storable number remote management system, characterized in that it.
請求項7記載の遠隔管理システムにおいて、
前記複数の電子装置にそれぞれ、ログ取得要求用の操作スイッチを有する操作手段を設け、
前記ログ取得手段は、前記操作手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得する手段であることを特徴とする遠隔管理システム。
The remote management system according to claim 7, wherein
Each of the plurality of electronic devices is provided with operation means having an operation switch for log acquisition request,
The log acquisition unit is a unit for acquiring a log stored in a log acquisition destination divided area instructed by the log acquisition request when a log acquisition request is received from the operation unit. Remote management system.
請求項7記載の遠隔管理システムにおいて、
前記ログ取得手段は、前記管理装置からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得する手段であることを特徴とする遠隔管理システム。
The remote management system according to claim 7, wherein
The log acquisition means is means for acquiring a log stored in a log acquisition destination divided area instructed by the log acquisition request when there is a log acquisition request from the management apparatus. Remote management system.
管理装置によりネットワークおよび複数の仲介装置を介して複数の電子装置を遠隔管理する遠隔管理システムであって、
前記複数の電子装置にそれぞれ、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段と、該手段によって生成されるログを前記記憶手段の所定記憶領域に書き込み、該所定記憶領域に空きがなくなった場合に最も古いログに上書きするログ書込制御手段と、前記ログ生成手段によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定する領域管理手段と、ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得手段と、前記ログ取得要求によって指示されたログ出力先が前記管理装置の場合に、前記ログ取得手段によって取得されたログに自己の識別情報を付加して自己に接続されている仲介装置へ送出するログ送出手段とを設け、
前記管理情報は、前記ログ生成手段によって生成されるログを前記グループ分けして前記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものであり
前記ログ書込制御手段は、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断手段を有し、該判断手段による判断の結果、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に前記ログ生成手段によって生成されるログを書き込み、前記領域管理手段によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに前記ログ生成手段によって生成されるログを上書きする手段であり、
前記複数の仲介装置にそれぞれ、前記管理装置と通信する通信手段と、自己に接続されている電子装置から送られてくるログに自己の識別情報を付加して前記通信手段によって前記管理装置へ送信させるログ送信手段とを設けたことを特徴とする遠隔管理システム。
A remote management system for remotely managing a plurality of electronic devices via a network and a plurality of mediation devices by a management device,
When there is a notification that any of a plurality of types of abnormalities has occurred from any one of a storage unit that stores and saves information in each of the plurality of electronic devices and a plurality of processing execution units that require log management or if any of the plurality of types of events including abnormal and warnings had notification of the occurrence, the a log generation means for generating respective logs of the notification, the logs generated by the means Log writing control means for writing to a predetermined storage area of the storage means and overwriting the oldest log when the predetermined storage area is full, and logs generated by the log generation means can be stored in groups wherein the predetermined memory area is divided into a plurality has management information for managing the plurality of divided regions, generated by the log generation means on the basis of the management information to the A region managing means for specifying a divided area of the write destination of the log, when a log acquisition request, a log obtaining means for obtaining a log stored in the divided region of the logging destination instructed by the log acquisition request When the log output destination instructed by the log acquisition request is the management apparatus, the identification information is added to the log acquired by the log acquisition unit, and the log is sent to the intermediary apparatus connected to the log Log sending means,
The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by grouping the logs generated by the log generation unit.
The log writing control means has a judging means for judging whether or not the log storage count of the divided area designated by the area management means has reached the corresponding log storable number, and the judgment by the judgment means As a result, if the log storage count of the divided area designated by the area management means does not reach the corresponding log storable number, the log generated by the log generation means is written to the divided area, and the area management Means for overwriting the log generated by the log generating means over the oldest log stored in the divided area when the number of logs stored in the divided area designated by the means reaches the corresponding log storable number And
Each of the plurality of mediation devices communicates with the management device, and adds its own identification information to a log sent from the electronic device connected to the mediation device, and transmits the log to the management device by the communication device. A remote management system comprising log sending means for enabling the remote management system.
請求項10記載の遠隔管理システムにおいて、
前記複数の電子装置にそれぞれ、ログ取得要求用の操作スイッチを有する操作手段を設け、
前記ログ取得手段は、前記操作手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得する手段であることを特徴とする遠隔管理システム。
The remote management system according to claim 10, wherein
Each of the plurality of electronic devices is provided with operation means having an operation switch for log acquisition request,
The log acquisition unit is a unit for acquiring a log stored in a log acquisition destination divided area instructed by the log acquisition request when a log acquisition request is received from the operation unit. Remote management system.
請求項10記載の遠隔管理システムにおいて、
前記ログ取得手段は、前記管理装置から自己に接続されている仲介装置を介してログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得する手段であることを特徴とする遠隔管理システム。
The remote management system according to claim 10, wherein
The log acquisition means, when there is a log acquisition request from the management device via the mediation device connected to itself, the log stored in the log acquisition destination divided area instructed by the log acquisition request A remote management system, characterized in that it is a means for obtaining a password.
情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に該通知に関するログ生成手段とを有する電子装置におけるログ管理方法であって、
前記ログ生成手段によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、前記指定した分割領域に前記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、前記指定した分割領域に保存されている最も古いログに前記ログ生成手段によって生成されるログを上書きすると共に、
ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを該ログ取得要求によって指示された出力先へ出力することを特徴とするログ管理方法。
When there is a notification that one of a plurality of types of abnormality has occurred from any of a storage unit that stores and saves information and a plurality of processing execution units that require log management , or a plurality that includes an abnormality and a warning A log management method in an electronic device having a log generation means for the notification when there is a notification that any of the types of events has occurred ,
The predetermined storage area is divided into a plurality of numbers so that the logs generated by the log generation means can be stored in groups, and the number can be stored in each of the plurality of divided areas for managing the plurality of divided areas. Log information having management information including the log storable number, designating a divided area to which a log generated by the log generation unit is written based on the management information, and corresponding log number of the designated divided area Judgment whether or not the possible number has been reached and if the corresponding log storable number has not been reached, the log generated by the log generation means can be written into the specified divided area and the corresponding log can be saved When the number reaches, the oldest log stored in the specified divided area is overwritten with the log generated by the log generation means ,
When there is a log acquisition request, after acquiring the log stored in the log acquisition destination divided area instructed by the log acquisition request, the log is output to the output destination instructed by the log acquisition request A log management method.
ログ取得要求用の操作スイッチおよび情報を表示する表示部を有する操作手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、
前記ログ生成手段によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、前記指定した分割領域に前記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、前記指定した分割領域に保存されている最も古いログに前記ログ生成手段によって生成されるログを上書きすると共に、
前記操作表示手段からログ取得要求があり、該ログ取得要求によって指示された出力先が前記操作表示手段の場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを前記操作手段に出力して前記表示部に表示させることを特徴とするログ管理方法。
One of a plurality of types of abnormalities from any one of an operation unit for log acquisition request and an operation unit having a display unit for displaying information, a storage unit for storing and storing information, and a plurality of processing execution units requiring log management Log generation that generates a log for each notification when there is a notification that one of them has occurred or when there is a notification that one of multiple types of events including abnormalities and warnings has occurred A log management method in an electronic device having means,
The predetermined storage area is divided into a plurality of numbers so that the logs generated by the log generation means can be stored in groups, and the number can be stored in each of the plurality of divided areas for managing the plurality of divided areas. Log information having management information including the log storable number, designating a divided area to which a log generated by the log generation unit is written based on the management information, and corresponding log number of the designated divided area Judgment whether or not the possible number has been reached and if the corresponding log storable number has not been reached, the log generated by the log generation means can be written into the specified divided area and the corresponding log can be saved When the number reaches, the oldest log stored in the specified divided area is overwritten with the log generated by the log generation means ,
When there is a log acquisition request from the operation display means, and the output destination instructed by the log acquisition request is the operation display means, the log stored in the divided area of the log acquisition destination instructed by the log acquisition request After the log is acquired, the log is output to the operation means and displayed on the display unit.
ログ取得要求用の操作スイッチを有する操作手段と、情報を印刷する印刷手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、
前記ログ生成手段によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、前記指定した分割領域に前記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、前記指定した分割領域に保存されている最も古いログに前記ログ生成手段によって生成されるログを上書きすると共に、
前記操作手段からログ取得要求があり、該ログ取得要求によって指示された出力先が前記印刷手段の場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを前記印刷手段に出力して用紙に印刷させることを特徴とするログ管理方法。
Among a plurality of types of abnormalities from one of an operation means having an operation switch for log acquisition request, a printing means for printing information, a storage means for storing and storing information, and a plurality of processing execution means requiring log management If any of the plurality of types of events including if either there is a notification of the occurrence, or abnormal and warning there was a notification of the occurrence log to generate respective logs of the notification A log management method in an electronic device having a generation means,
The predetermined storage area is divided into a plurality of numbers so that the logs generated by the log generation means can be stored in groups, and the number can be stored in each of the plurality of divided areas for managing the plurality of divided areas. Log information having management information including the log storable number, designating a divided area to which a log generated by the log generation unit is written based on the management information, and corresponding log number of the designated divided area Judgment whether or not the possible number has been reached and if the corresponding log storable number has not been reached, the log generated by the log generation means can be written into the specified divided area and the corresponding log can be saved When the number reaches, the oldest log stored in the specified divided area is overwritten with the log generated by the log generation means ,
When there is a log acquisition request from the operation means and the output destination specified by the log acquisition request is the printing means, the log stored in the log acquisition destination divided area specified by the log acquisition request is acquired. And then outputting the log to the printing means and printing it on paper.
ログ取得要求用の操作スイッチを有する操作手段と、外部装置と通信する通信手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、
前記ログ生成手段によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、前記指定した分割領域に前記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、前記指定した分割領域に保存されている最も古いログに前記ログ生成手段によって生成されるログを上書きすると共に、
前記操作手段からログ取得要求があり、該ログ取得要求によって指示された出力先が前記外部装置の場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを前記通信手段によって前記外部装置へ送信させることを特徴とするログ管理方法。
The operation means having an operation switch for log acquisition request, the communication means for communicating with the external device, the storage means for storing and storing information, and a plurality of processing execution means requiring log management are used to detect a plurality of types of abnormalities. When there is a notification that one of them has occurred, or when there is a notification that one of multiple types of events including abnormalities and warnings has occurred, a log is generated for each notification A log management method in an electronic device having log generation means,
The predetermined storage area is divided into a plurality of numbers so that the logs generated by the log generation means can be stored in groups, and the number can be stored in each of the plurality of divided areas for managing the plurality of divided areas. Log information having management information including the log storable number, designating a divided area to which a log generated by the log generation unit is written based on the management information, and corresponding log number of the designated divided area Judgment whether or not the possible number has been reached and if the corresponding log storable number has not been reached, the log generated by the log generation means can be written into the specified divided area and the corresponding log can be saved When the number reaches, the oldest log stored in the specified divided area is overwritten with the log generated by the log generation means ,
When there is a log acquisition request from the operation means and the output destination instructed by the log acquisition request is the external device, the log stored in the divided area of the log acquisition destination instructed by the log acquisition request is acquired And then transmitting the log to the external device by the communication means.
外部装置と通信する通信手段と、情報を記憶保存する記憶手段と、ログ管理が必要な複数の処理実行手段のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成手段とを有する電子装置におけるログ管理方法であって、
前記ログ生成手段によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための該複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含む管理情報を持ち、該管理情報に基づいて前記ログ生成手段によって生成されるログの書き込み先の分割領域を指定し、該指定した分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断して、対応するログ保存可能数に達していない場合には、前記指定した分割領域に前記ログ生成手段によって生成されるログを書き込み、対応するログ保存可能数に達した場合には、前記指定した分割領域に保存されている最も古いログに前記ログ生成手段によって生成されるログを上書きすると共に、
前記外部装置からログ取得要求があり、該ログ取得要求によって指示された出力先が前記外部装置の場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得した後、該ログを前記通信手段によって前記外部装置へ送信させることを特徴とするログ管理方法。
There was a notification that one of a plurality of types of abnormalities occurred from any one of a communication unit that communicates with an external device, a storage unit that stores and saves information, and a plurality of processing execution units that require log management . If, or when one of the plurality of types of events including abnormal and warnings there is a notification to the effect that occurs, the log management method in an electronic device having a log generation means for generating respective logs of the notification There,
The predetermined storage area is divided into a plurality of numbers so that the logs generated by the log generation means can be stored in groups, and the number can be stored in each of the plurality of divided areas for managing the plurality of divided areas. Log information having management information including the log storable number, designating a divided area to which a log generated by the log generation unit is written based on the management information, and corresponding log number of the designated divided area Judgment whether or not the possible number has been reached and if the corresponding log storable number has not been reached, the log generated by the log generation means can be written into the specified divided area and the corresponding log can be saved When the number reaches, the oldest log stored in the specified divided area is overwritten with the log generated by the log generation means ,
When there is a log acquisition request from the external device and the output destination instructed by the log acquisition request is the external device, the log stored in the divided area of the log acquisition destination instructed by the log acquisition request is acquired And then transmitting the log to the external device by the communication means.
情報を記憶保存する記憶手段を有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて前記ログ生成機能によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に前記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、ログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、該機能によって取得されたログを前記ログ取得要求によって指示された出力先へ出力するログ出力機能とを実現させるためのプログラムであり、
前記管理情報は、前記ログ生成機能によって生成されるログを前記グループ分けして前記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものであり、
前記ログ書込制御機能は、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に前記ログ生成機能によって生成されるログを書き込み、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに前記ログ生成機能によって生成されるログを上書きする機能であることを特徴とするプログラム。
When a computer that controls an electronic device having storage means for storing and storing information is notified that one of a plurality of types of abnormalities has occurred from one of a plurality of processing execution functions that require log management group when one of the plurality of types of events had notification of the occurrence, the log generation function of generating respective logs of the notification, the logs generated by the functions, including, or abnormal and warning It has management information for managing the plurality of divided areas by dividing the predetermined storage area into a plurality of parts so that it can be stored separately, and the log write destination of the log generated by the log generation function based on the management information An area management function for designating a divided area, and a log generated by the log generation function is written in the divided area designated by the function, and the divided area is empty. Log write control function that overwrites the oldest log when there is no more log, and when there is a log acquisition request, acquires the log stored in the log acquisition destination split area specified by the log acquisition request A program for realizing a log acquisition function and a log output function for outputting a log acquired by the function to an output destination instructed by the log acquisition request ;
The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by grouping the logs generated by the log generation function,
The log writing control function has a determination function for determining whether or not the log storage count of the divided area designated by the area management function has reached the corresponding log storage capacity, As a result, if the log storage count of the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, and the area management A function for overwriting the log generated by the log generation function with the oldest log stored in the divided area when the number of logs stored in the divided area specified by the function reaches the corresponding log storable number A program characterized by being.
ログ取得要求用の操作スイッチおよび情報を表示する表示部を有する操作手段と、情報を記憶保存する記憶手段とを有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて前記ログ生成機能によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に前記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、前記操作手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、前記ログ取得要求によって指示されたログ出力先が前記操作表示手段の場合に、前記ログ取得機能によって取得されたログを前記操作手段に出力して前記表示部に表示させるログ出力機能とを実現させるためのプログラムであり、
前記管理情報は、前記ログ生成機能によって生成されるログを前記グループ分けして前記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものであり、
前記ログ書込制御機能は、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に前記ログ生成機能によって生成されるログを書き込み、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに前記ログ生成機能によって生成されるログを上書きする機能であることを特徴とするプログラム。
Any of a plurality of processing execution functions requiring log management in a computer that controls an electronic device having an operation switch for log acquisition request and an operation unit having a display unit for displaying information and a storage unit for storing and storing information When there is a notification that any of multiple types of abnormalities has occurred, or when there is a notification that any of multiple types of events including abnormalities and warnings has occurred , a log generation function of generating a log about the notification respectively, the management information for said predetermined storage area to be able to store grouped the logs generated by the function is divided into a plurality managing a plurality of divided regions have a space management feature that specifies the divided region of write destination of the log generated by the log generation function based on the management information, as specified by the function When there is a log acquisition control function that writes the log generated by the log generation function to a divided area and overwrites the oldest log when there is no space in the divided area, and a log acquisition request from the operation means A log acquisition function for acquiring a log stored in a log acquisition destination divided area instructed by the log acquisition request, and when the log output destination instructed by the log acquisition request is the operation display unit, A log output function for outputting a log acquired by a log acquisition function to the operation unit and displaying the log on the display unit .
The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by grouping the logs generated by the log generation function,
The log writing control function has a determination function for determining whether or not the log storage count of the divided area designated by the area management function has reached the corresponding log storage capacity, As a result, if the log storage count of the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, and the area management A function for overwriting the log generated by the log generation function with the oldest log stored in the divided area when the number of logs stored in the divided area specified by the function reaches the corresponding log storable number A program characterized by being.
ログ取得要求用の操作スイッチを有する操作手段と、情報を印刷する印刷手段と、情報を記憶保存する記憶手段とを有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて前記ログ生成機能によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に前記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、前記操作表示手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、前記ログ取得要求によって指示された出力先が前記印刷手段の場合に、前記ログ取得機能によって取得されたログを前記印刷手段に出力して用紙に印刷させるログ出力機能とを実現させるためのプログラムであり、
前記管理情報は、前記ログ生成機能によって生成されるログを前記グループ分けして前記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものであり、
前記ログ書込制御機能は、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に前記ログ生成機能によって生成されるログを書き込み、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに前記ログ生成機能によって生成されるログを上書きする機能であることを特徴とするプログラム。
A plurality of processing execution functions that require log management in a computer that controls an electronic device having an operation unit having an operation switch for log acquisition request, a printing unit that prints information, and a storage unit that stores and saves information. When there is a notification that one of multiple types of abnormalities has occurred from any one, or when there is a notification that one of multiple types of events including abnormalities and warnings has occurred , management information for managing a log generation function of generating respective logs of the notification, by dividing the predetermined storage area to be able to store grouped the logs generated by the functions to a plurality of plurality of divided regions the have a space management feature that specifies the writing destination of the divided regions of a log generated by the log generation function based on the management information, as specified by the function When there is a log acquisition control function that writes the log generated by the log generation function to a divided area and overwrites the oldest log when there is no space in the divided area, and a log acquisition request from the operation display means A log acquisition function for acquiring a log stored in a log acquisition destination divided area instructed by the log acquisition request, and when the output destination instructed by the log acquisition request is the printing unit, the log A log output function for outputting a log acquired by an acquisition function to the printing unit and printing the paper on a sheet ;
The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by grouping the logs generated by the log generation function,
The log writing control function has a determination function for determining whether or not the log storage count of the divided area designated by the area management function has reached the corresponding log storage capacity, As a result, if the log storage count of the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, and the area management A function for overwriting the log generated by the log generation function with the oldest log stored in the divided area when the number of logs stored in the divided area specified by the function reaches the corresponding log storable number A program characterized by being.
ログ取得要求用の操作スイッチを有する操作手段と、外部装置と通信する通信手段と、情報を記憶保存する記憶手段とを有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて前記ログ生成機能によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に前記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、前記操作手段からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、前記ログ取得要求によって指示された出力先が前記外部装置の場合に、前記ログ取得機能によって取得されたログを前記通信手段によって前記外部装置へ送信させるログ出力機能とを実現させるためのプログラムであり、
前記管理情報は、前記ログ生成機能によって生成されるログを前記グループ分けして前記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものであり、
前記ログ書込制御機能は、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に前記ログ生成機能によって生成されるログを書き込み、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに前記ログ生成機能によって生成されるログを上書きする機能であることを特徴とするプログラム。
A plurality of processing execution functions that require log management in a computer that controls an electronic device having an operation unit having an operation switch for log acquisition request, a communication unit that communicates with an external device, and a storage unit that stores and saves information When there is a notification that one of multiple types of abnormalities has occurred from any of the above, or when there is a notification that one of multiple types of events including abnormalities and warnings has occurred a log generation function of generating respective logs of the notification, the management for the predetermined storage area to be able to store grouped the logs generated by the function is divided into a plurality managing a plurality of divided regions It holds information, and space management function of specifying the divided region of write destination of the log generated by the log generation function based on the management information, specified by the function There was a log acquisition control function that writes the log generated by the log generation function to the divided area and overwrites the oldest log when there is no space in the divided area, and a log acquisition request from the operation means A log acquisition function for acquiring a log stored in a log acquisition destination divided area instructed by the log acquisition request, and when the output destination instructed by the log acquisition request is the external device, A log output function for causing a log acquired by a log acquisition function to be transmitted to the external device by the communication means ;
The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by grouping the logs generated by the log generation function,
The log writing control function has a determination function for determining whether or not the log storage count of the divided area designated by the area management function has reached the corresponding log storage capacity, As a result, if the log storage count of the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, and the area management A function for overwriting the log generated by the log generation function with the oldest log stored in the divided area when the number of logs stored in the divided area specified by the function reaches the corresponding log storable number A program characterized by being.
外部装置と通信する通信手段と、情報を記憶保存する記憶手段とを有する電子装置を制御するコンピュータに、ログ管理が必要な複数の処理実行機能のいずれかから複数種類の異常のうちのいずれかが発生した旨の通知があった場合、あるいは異常および警告を含む複数種類の事象のうちのいずれかが発生した旨の通知があった場合に、該通知に関するログをそれぞれ生成するログ生成機能と、該機能によって生成されるログをグループ分けして保存できるように前記所定記憶領域を複数に分割して複数の分割領域を管理するための管理情報を持ち、該管理情報に基づいて前記ログ生成機能によって生成されるログの書き込み先の分割領域を指定する領域管理機能と、該機能によって指定された分割領域に前記ログ生成機能によって生成されるログを書き込み、該分割領域に空きがなくなった場合に最も古いログに上書きするログ書込制御機能と、前記外部装置からログ取得要求があった場合に、該ログ取得要求によって指示されたログ取得先の分割領域に記憶されているログを取得するログ取得機能と、前記ログ取得要求によって指示された出力先が前記外部装置の場合に、前記ログ取得機能によって取得されたログを前記通信手段によって前記外部装置へ送信させるログ出力機能とを実現させるためのプログラムであり、
前記管理情報は、前記ログ生成機能によって生成されるログを前記グループ分けして前記複数の分割領域にそれぞれ保存可能な数であるログ保存可能数を含むものであり、
前記ログ書込制御機能は、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達したか否かを判断する判断機能を有し、該判断機能による判断の結果、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達していない場合には、該分割領域に前記ログ生成機能によって生成されるログを書き込み、前記領域管理機能によって指定された分割領域のログ保存数が対応するログ保存可能数に達した場合には、該分割領域に保存されている最も古いログに前記ログ生成機能によって生成されるログを上書きする機能であることを特徴とするプログラム。
Any of a plurality of types of abnormalities from any of a plurality of processing execution functions that require log management in a computer that controls an electronic device having a communication unit that communicates with an external device and a storage unit that stores and saves information A log generation function that generates a log for each notification when there is a notification that an error has occurred, or when there is a notification that any of multiple types of events including abnormalities and warnings has occurred , Having management information for managing the plurality of divided areas by dividing the predetermined storage area so that the logs generated by the function can be grouped and stored, and generating the log based on the management information It is generated and the area management function that specifies the writing destination of the divided region of logs generated by the log generation function in the specified split region by the function by the function A log write control function for writing a log and overwriting the oldest log when there is no more space in the divided area, and log acquisition instructed by the log acquisition request when there is a log acquisition request from the external device A log acquisition function for acquiring a log stored in a previous divided area; and a log acquired by the log acquisition function when the output destination instructed by the log acquisition request is the external device by the communication unit A program for realizing a log output function to be transmitted to the external device ,
The management information includes a log storable number that is a number that can be stored in the plurality of divided areas by grouping the logs generated by the log generation function,
The log writing control function has a determination function for determining whether or not the log storage count of the divided area designated by the area management function has reached the corresponding log storage capacity, As a result, if the log storage count of the divided area specified by the area management function has not reached the corresponding log storable number, the log generated by the log generation function is written in the divided area, and the area management A function for overwriting the log generated by the log generation function with the oldest log stored in the divided area when the number of logs stored in the divided area specified by the function reaches the corresponding log storable number A program characterized by being.
JP2004035433A 2003-03-11 2004-02-12 Electronic device, remote management system thereof, log management method and program Expired - Lifetime JP4381839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004035433A JP4381839B2 (en) 2003-03-11 2004-02-12 Electronic device, remote management system thereof, log management method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003065234 2003-03-11
JP2004035433A JP4381839B2 (en) 2003-03-11 2004-02-12 Electronic device, remote management system thereof, log management method and program

Publications (2)

Publication Number Publication Date
JP2004297777A JP2004297777A (en) 2004-10-21
JP4381839B2 true JP4381839B2 (en) 2009-12-09

Family

ID=33421538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004035433A Expired - Lifetime JP4381839B2 (en) 2003-03-11 2004-02-12 Electronic device, remote management system thereof, log management method and program

Country Status (1)

Country Link
JP (1) JP4381839B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4606273B2 (en) 2004-08-30 2011-01-05 株式会社リコー Log collection device, log collection program
JP2007022006A (en) * 2005-07-20 2007-02-01 Sato Corp Printer
JP2007287065A (en) * 2006-04-20 2007-11-01 Sony Corp Electronic apparatus and log output method
JP4795987B2 (en) * 2007-02-15 2011-10-19 シャープ株式会社 Job management device
JP5417837B2 (en) * 2008-12-19 2014-02-19 富士ゼロックス株式会社 Image processing device
JP5396894B2 (en) * 2009-02-06 2014-01-22 富士通モバイルコミュニケーションズ株式会社 Portable terminal
JP2014222464A (en) * 2013-05-14 2014-11-27 株式会社東芝 Control device
JP6658093B2 (en) * 2016-02-29 2020-03-04 株式会社リコー Information processing system and program
JP6478965B2 (en) * 2016-12-13 2019-03-06 キヤノン株式会社 Information processing apparatus, method and program

Also Published As

Publication number Publication date
JP2004297777A (en) 2004-10-21

Similar Documents

Publication Publication Date Title
JP4408033B2 (en) Remote management system
JP4019038B2 (en) Communication device, communication device remote management system, communication device control method, and program
US8166153B2 (en) Remote control system and controlled apparatus therein capable of sending e-mail if communication request fails
US7640314B2 (en) Network system, device and program
JPH05241746A (en) Image processing system
JP4318975B2 (en) Remote management system and electronic device, control method in case of abnormality, and program
JP4381839B2 (en) Electronic device, remote management system thereof, log management method and program
JP4184247B2 (en) Management device, remote management system, and program
JP4327541B2 (en) Remote management system, managed device, and program
US20040168109A1 (en) Efficient remote management of devices by accurately removing abnormal condition reports
JP4163550B2 (en) Remote management system and its intermediary device, management device, secret information setting method, and program
JP4809272B2 (en) Remote management system and management information acquisition control method
JP4347645B2 (en) Remote management system and its communication device, control method, and program
JP2004295866A (en) Electronic device, its remote management system, log management method and program
US20040158632A1 (en) Recovery of interrupted communication for remote management of devices
JP4133579B2 (en) Image processing device management system
JP4744808B2 (en) Communication device, remote management system and program thereof
JP4376811B2 (en) Remote management system and its management device
JP2005229592A (en) Image processing system, its image processing device, process number processing method, program, and storage medium
JP3958676B2 (en) COMMUNICATION DEVICE, ITS REMOTE MANAGEMENT SYSTEM, ABNORMAL TRANSMISSION METHOD AND PROGRAM
JP4298494B2 (en) Management device, remote management system, and counter monitoring type remote management method
JP4767036B2 (en) Image forming apparatus and computer program
JP2013179545A (en) Equipment, information processing method and program
JP4726659B2 (en) Remote management system
JP2004208295A (en) Communication device, remote management system and control mehtod of communication device, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090305

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090916

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4381839

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131002

Year of fee payment: 4