JP2010258498A - Device to be managed and management system, and management program - Google Patents
Device to be managed and management system, and management program Download PDFInfo
- Publication number
- JP2010258498A JP2010258498A JP2009102734A JP2009102734A JP2010258498A JP 2010258498 A JP2010258498 A JP 2010258498A JP 2009102734 A JP2009102734 A JP 2009102734A JP 2009102734 A JP2009102734 A JP 2009102734A JP 2010258498 A JP2010258498 A JP 2010258498A
- Authority
- JP
- Japan
- Prior art keywords
- storage area
- management
- managed
- control unit
- storage
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、被管理装置及び管理システム並びに管理プログラムに関し、特に、画像形成装置及び当該画像形成装置を含む管理システム並びに画像形成装置の異常時のログを管理する管理プログラムに関する。 The present invention relates to a managed apparatus, a management system, and a management program, and more particularly, to an image forming apparatus, a management system including the image forming apparatus, and a management program for managing a log when the image forming apparatus is abnormal.
コピー機能やファクシミリ機能、プリンタ機能、スキャナ機能などを備える複合機(MFP:Multi Function Peripheral)などの画像形成装置が普及している。この画像形成装置は稼働率が高く、安定して動作させる必要があることから、画像形成装置の状態を示す装置情報(ログ)を記憶しておき、その装置情報に基づいて画像形成装置の管理を行っている。 Image forming apparatuses such as MFPs (Multi Function Peripherals) having a copy function, a facsimile function, a printer function, a scanner function, and the like have become widespread. Since this image forming apparatus has a high operating rate and needs to operate stably, device information (log) indicating the state of the image forming apparatus is stored, and management of the image forming apparatus is performed based on the apparatus information. It is carried out.
ここで、画像形成装置の電源がオフされる状況としては、アイドル状態となった後に電源がオフされる正常終了と、画像形成装置がエラーや警告を発生した場合、あるいは誤動作、停止した場合に、その状態を解消するために電源がオフされる異常終了とがある。この異常終了時における装置情報を収集することで、異常の発生要因を突き止めることが容易になる。 Here, the power of the image forming apparatus is turned off when the power is turned off after entering the idle state, when the image forming apparatus generates an error or warning, or when the image forming apparatus malfunctions or stops. There is an abnormal termination in which the power is turned off to eliminate the state. By collecting device information at the time of abnormal termination, it becomes easy to find out the cause of the abnormality.
上記装置情報を収集する技術として、例えば、下記特許文献1には、電源がオフされたことを検出する電源オフ検出手段と、前記電源オフ検出手段により電源のオフが検出された場合に、当該印刷装置の状態における情報を収集する情報収集手段と、前記情報収集手段で収集された情報を記憶する不揮発性記憶手段とを有する印刷装置が開示されている。 As a technique for collecting the device information, for example, the following Patent Document 1 includes a power-off detection unit that detects that a power source has been turned off. There is disclosed a printing apparatus having information collecting means for collecting information on the state of the printing apparatus and non-volatile storage means for storing information collected by the information collecting means.
しかしながら、装置情報は画像形成装置の状態が変化するたびに生成されるため、異常終了時に記憶した装置情報が、その後に生成された装置情報によって上書きされてしまい、異常終了時の装置情報が利用できなくなるという問題がある。 However, since the device information is generated every time the state of the image forming apparatus changes, the device information stored at the time of abnormal termination is overwritten by the device information generated thereafter, and the device information at the time of abnormal termination is used. There is a problem that it cannot be done.
この問題に対して、特許文献1の技術を利用することによって電源オフ時の装置情報を収集することはできる。しかしながら、この方法では異常終了と正常終了とを判別することができないため、異常終了よりも頻繁に発生する正常終了時の装置情報で記憶領域が占有されてしまい、異常終了時の装置情報を確実に保存することができないという問題が生じる。 With respect to this problem, it is possible to collect apparatus information when the power is turned off by using the technique of Patent Document 1. However, since this method cannot discriminate between abnormal end and normal end, the storage area is occupied by the device information at the normal end that occurs more frequently than the abnormal end, and the device information at the abnormal end is surely obtained. The problem that it is not possible to save the file occurs.
また、このような問題は、画像形成装置に限らず、異常終了時の装置情報を収集して管理することが求められる被管理装置全般に対して同様に生じる。 Such a problem occurs not only in the image forming apparatus but also in all managed apparatuses that are required to collect and manage apparatus information at the time of abnormal termination.
本発明は上記問題点に鑑みてなされたものであり、その主たる目的は、異常終了時の装置情報を確実に保存することができる被管理装置及び管理システム並びに管理プログラムを提供することにある。 The present invention has been made in view of the above problems, and a main object thereof is to provide a managed device, a management system, and a management program capable of reliably storing device information at the time of abnormal termination.
上記目的を達成するため、本発明は、第1記憶領域及び第2記憶領域を備える被管理装置において、自装置の状態が変化したときに、自装置の状態を示す装置情報を逐次、前記第1記憶領域に保存する第1記憶制御部と、前回の自装置の終了状態が正常終了であるか異常終了であるかを判定する判定部と、前記判定部が異常終了と判定した場合に、前記第1記憶領域に保存している装置情報を前記第2記憶領域に保存する第2記憶制御部と、を少なくとも備えるものである。 In order to achieve the above object, according to the present invention, in a managed device having a first storage area and a second storage area, when the state of the own apparatus changes, device information indicating the state of the own apparatus is sequentially updated. A first storage control unit that saves in one storage area, a determination unit that determines whether the previous end state of the own device is a normal end or an abnormal end, and when the determination unit determines an abnormal end, And a second storage control unit that stores the device information stored in the first storage area in the second storage area.
また、本発明は、第1記憶領域を備える被管理装置と、第2記憶領域を備える管理装置と、が通信ネットワークで接続されてなる管理システムにおいて、前記被管理装置は、自装置の状態が変化したときに、自装置の状態を示す装置情報を逐次、前記第1記憶領域に保存する第1記憶制御部と、前記第1記憶領域に保存している装置情報を前記管理装置の前記第2記憶領域に転送する第2記憶制御部と、を少なくとも備え、前記管理装置は、前回の前記被管理装置の終了状態が正常終了であるか異常終了であるかを判定して前記被管理装置に通知する判定部、を少なくとも備え、前記第2記憶制御部は、前記管理装置の前記判定部から異常終了が通知された場合に、前記装置情報の転送を行うものである。 According to the present invention, in a management system in which a managed device having a first storage area and a management device having a second storage area are connected via a communication network, the managed device has a status of its own device. When there is a change, device information indicating the state of the device itself is sequentially stored in the first storage area, and the device information stored in the first storage area is stored in the first storage area. A second storage control unit that transfers to two storage areas, and the management device determines whether the previous termination state of the managed device is normal termination or abnormal termination, and the managed device The second storage control unit is configured to transfer the device information when an abnormal end is notified from the determination unit of the management device.
また、本発明は、被管理装置と、第1記憶領域及び第2記憶領域を備える管理装置と、が通信ネットワークで接続されてなる管理システムにおいて、前記管理装置は、前記被管理装置から、当該装置の状態が変化したときに逐次、転送される、当該装置の状態を示す装置情報を取得し、前記第1記憶領域に保存する第1記憶制御部と、前回の前記被管理装置の終了状態が正常終了であるか異常終了であるかを判定する判定部と、前記被管理装置の電源オフを検知し、かつ、前記判定部が異常終了と判定した場合に、前記第1記憶領域に保存されている装置情報を前記第2記憶領域に保存する第2記憶制御部と、を少なくとも備えるものである。 Further, the present invention provides a management system in which a managed device and a management device including a first storage area and a second storage area are connected via a communication network. The first storage control unit that acquires the device information indicating the state of the device, which is sequentially transferred when the state of the device changes, and stores the device information in the first storage area, and the previous end state of the managed device Is stored in the first storage area when the power-off of the managed device is detected and the determination unit determines that the process ends abnormally. A second storage control unit that stores the stored device information in the second storage area.
また、本発明は、第1記憶領域及び第2記憶領域を備え、被管理装置と通信ネットワークで接続されるコンピュータ装置で動作する管理プログラムであって、前記コンピュータ装置を、前記被管理装置から、当該装置の状態が変化したときに逐次、転送される、当該装置の状態を示す装置情報を取得し、前記第1記憶領域に保存する第1記憶制御部、前回の前記被管理装置の終了状態が正常終了であるか異常終了であるかを判定する判定部、前記被管理装置の電源オフを検知し、かつ、前記判定部が異常終了と判定した場合に、前記第1記憶領域に保存している装置情報を前記第2記憶領域に保存する第2記憶制御部、として機能させるものである。 Further, the present invention is a management program comprising a first storage area and a second storage area and operating on a computer device connected to the managed device via a communication network, wherein the computer device is moved from the managed device, A first storage control unit that acquires device information indicating the state of the device, which is sequentially transferred when the state of the device changes, and stores the device information in the first storage area, the previous end state of the managed device A determination unit for determining whether the device is normally terminated or abnormally terminated, and when the power-off of the managed device is detected, and the determination unit determines abnormal termination, the determination unit stores the data in the first storage area. Functioning as a second storage control unit that stores the stored device information in the second storage area.
本発明の被管理装置及び管理システム並びに管理プログラムによれば、異常終了時の装置情報を確実に保存することができる。 According to the managed device, the management system, and the management program of the present invention, the device information at the time of abnormal termination can be reliably stored.
その理由は、管理システム内に、全ての装置情報を逐次保存する第1記憶領域と、異常終了時の装置情報を保存する第2記憶領域とを設け、異常終了を検知したら、第1記憶領域に保存している装置情報を異常終了時の装置情報として第2記憶領域に保存する制御を行うからである。 The reason is that in the management system, a first storage area for sequentially storing all device information and a second storage area for storing device information at the time of abnormal termination are provided. This is because control is performed to save the device information stored in the second storage area as device information at the time of abnormal termination.
背景技術で示したように、画像形成装置などの被管理装置は、異常終了時における装置情報を収集することで、異常の発生要因を突き止めることが容易になり、装置を安定して動作させることができる。 As shown in the background art, a managed device such as an image forming device can collect the device information at the time of abnormal termination, thereby making it easy to find out the cause of the abnormality and make the device operate stably. Can do.
しかしながら、従来の技術では、異常終了時の装置情報がその後の装置情報によって上書きされてしまい、異常終了時の装置情報を確実に保存することができない。また、電源オフ時の装置情報を収集する方法も提案されているが、この方法では異常終了と正常終了とを判別することができないため、正常終了時の装置情報によって記憶領域が占有されてしまい、やはり、異常終了時の装置情報を確実に保存することができないという問題があった。 However, in the prior art, the device information at the time of abnormal termination is overwritten by the subsequent device information, and the device information at the time of abnormal termination cannot be reliably saved. Also, a method for collecting device information when the power is turned off has been proposed. However, since this method cannot distinguish between abnormal end and normal end, the storage area is occupied by the device information at the normal end. After all, there was a problem that the device information at the time of abnormal termination could not be saved reliably.
そこで、本発明の一実施の形態では、図1に示すように、少なくとも被管理装置1と管理装置2とが通信ネットワークで接続されてなる管理システムにおいて、図2(b)に示すように、管理システム内に、イベント毎に発生する装置情報(以下、ログと呼ぶ。)を逐次、保存する第1記憶領域(例えば、被管理装置の記憶部)と異常終了時のログのみを保存する第2記憶領域(例えば、管理装置や被管理装置、ネットワーク接続されるサーバ等の他の機器の記憶部)とを設ける。
Therefore, in an embodiment of the present invention, as shown in FIG. 2, in a management system in which at least the managed device 1 and the
そして、図2に示すように、被管理装置1の電源投入時に(S101)、管理装置若しくは被管理装置で、被管理装置の前回の終了状態が正常終了であったか異常終了であったかを判断し(S102)、異常終了と判断した場合は、第1記憶領域に保存したログを異常終了時のログとして第2記憶領域に保存し(S103)、その後、定常動作のログを第1記憶領域に逐次、上書き保存する制御を行う(S104)。 Then, as shown in FIG. 2, when the managed device 1 is powered on (S101), the management device or the managed device determines whether the previous termination state of the managed device was normal termination or abnormal termination ( S102) When it is determined that the abnormal end has occurred, the log stored in the first storage area is stored in the second storage area as a log at the time of abnormal end (S103), and then the steady operation log is sequentially stored in the first storage area. Then, overwriting control is performed (S104).
これにより、異常終了時のログが上書きされてしまうことを防止することができ、異常終了時のログを確実に保存することができる。また、第2記憶領域は異常終了時のログのみを記憶するため、記憶領域を効率的に使用することができる。 Thereby, it is possible to prevent the log at the abnormal end from being overwritten, and the log at the abnormal end can be reliably saved. Further, since the second storage area stores only the log at the time of abnormal termination, the storage area can be used efficiently.
なお、本発明は、ログを管理する必要がある任意の被管理装置に対して適用可能であるが、以下の実施例では、使用頻度が高く、安定した動作が求められる画像形成装置に対して本発明を適用する場合について説明する。 The present invention can be applied to any managed apparatus that needs to manage logs. However, in the following embodiments, an image forming apparatus that is frequently used and requires stable operation is used. A case where the present invention is applied will be described.
上記した本発明の実施の形態についてさらに詳細に説明すべく、本発明の第1の実施例に係る画像形成装置及び管理システム並びに管理プログラムについて、図3乃至図11を参照して説明する。図3は本実施例の管理システムの構成を模式的に示す図であり、図4は画像形成装置の構成を示すブロック図、図5は管理装置の構成を示すブロック図である。また、図6、7、9は、本実施例の管理システムの動作を示すフローチャート図、図8は、画像形成装置の動作状態とログの保存状態との関係を示す図であり、図10及び図11は、正常/異常の判定方法を示す図である。 In order to describe the above-described embodiment of the present invention in more detail, an image forming apparatus, a management system, and a management program according to the first embodiment of the present invention will be described with reference to FIGS. FIG. 3 is a diagram schematically showing the configuration of the management system of this embodiment, FIG. 4 is a block diagram showing the configuration of the image forming apparatus, and FIG. 5 is a block diagram showing the configuration of the management device. 6, 7, and 9 are flowcharts illustrating the operation of the management system according to the present exemplary embodiment, and FIG. 8 is a diagram illustrating the relationship between the operation state of the image forming apparatus and the log storage state. FIG. 11 is a diagram illustrating a normal / abnormal determination method.
図3に示すように、本実施例の管理システムは、1又は複数の画像形成装置10と、画像形成装置10を管理する1又は複数の管理装置20とを含み、これらはLAN(Local Area Network)やWAN(Wide Area Network)などの通信ネットワークで接続されている。以下、画像形成装置10及び管理装置20について詳述する。
As shown in FIG. 3, the management system of the present embodiment includes one or a plurality of
[画像形成装置]
本実施例の画像形成装置10は、図4に示すように、制御部11と、印刷部12と、ネットワーク接続部13と、記憶部14と、表示・操作部15などを備え、各部はバスにより接続されている。
[Image forming apparatus]
As shown in FIG. 4, the
制御部11は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などにより構成される。CPUは、表示・操作部15の操作により、ROMに記憶されている各種プログラムを読み出してRAMに展開し、展開されたプログラムに従って、画像形成装置10の各部の動作を制御する。
The
また、制御部11は、画像形成装置10の状態を示すログを第1記憶領域に逐次上書き保存する第1記憶制御部と、異常終了時に、第1記憶部14aに保存したログを第2記憶領域に保存(ここでは管理装置20に転送)する第2記憶制御部としても機能する。この第1記憶制御部及び第2記憶制御部はハードウェアとして構成してもよいし、画像形成装置10を第1記憶制御部及び第2記憶制御部として機能させる管理プログラムとして構成し、当該管理プログラムを制御部11で動作させる構成としてもよい。
The
印刷部12は、転写紙に印刷する画像を形成する画像形成部、形成した画像を転写紙に転写する転写部、転写した画像を定着させる定着部、転写紙を搬送する搬送部、画像形成部や転写部、定着部をそれぞれクリーニングするクリーニング部などを備え、電子写真方式により、入力されたデータに基づいて、転写紙上に画像を形成して出力する。 The printing unit 12 includes an image forming unit that forms an image to be printed on a transfer paper, a transfer unit that transfers the formed image to the transfer paper, a fixing unit that fixes the transferred image, a transport unit that transports the transfer paper, and an image forming unit. And a cleaning unit for cleaning each of the transfer unit and the fixing unit, and forms and outputs an image on a transfer sheet based on input data by an electrophotographic method.
ネットワーク接続部13は、NIC(Network Interface Card)、モデム、LANアダプタ、ルータ、TA(Terminal Adapter)等により構成され、通信ネットワークを介して管理装置20との通信制御を行う。
The
記憶部14は、フラッシュメモリやハードディスク等により構成され、各種データやプログラムを記憶する。本実施例では、特に、正常終了/異常終了にかかわらず全てのログを保存する第1記憶領域(第1記憶部14a)を備える。
The
表示・操作部15は、液晶表示装置(LCD:Liquid Crystal Display)や有機EL(electroluminescence)表示装置などの表示部上に、透明電極が格子状に配置された感圧式の操作部(タッチパネル)を設けたものであり、手指やタッチペン等で押下された力点のXY座標を電圧値で検出し、検出された位置信号を操作信号として制御部11に出力する。
The display /
[管理装置]
また、本実施例の管理装置20は、図5に示すように、制御部21と、記憶部22と、ネットワーク接続部23と、表示部24と、操作部25などで構成され、各部はバスにより接続されている。
[Management device]
Further, as shown in FIG. 5, the management apparatus 20 of this embodiment includes a
制御部21は、CPU、ROM、RAMなどにより構成される。CPUは、操作部25の操作により、ROMに記憶されている各種プログラムを読み出してRAMに展開し、展開されたプログラムに従って、管理装置20の各部の動作を制御すると共に、画像形成装置10から転送されたログを異常終了時のログとして第2記憶領域(第2記憶部22a)に保存する。
The
また、制御部21は、画像形成装置10の電源状態を監視し、通信情報や環境情報に基づいて正常終了/異常終了を判定し、異常終了と判定した場合に、画像形成装置10の電源が再度オンになったときに、前回の停止が異常終了であったことを画像形成装置10に通知する判定部としても機能する。この判定部はハードウェアとして構成してもよいし、管理装置20を上記判定部として機能させる管理プログラムとして構成し、当該管理プログラムを制御部21で動作させる構成としてもよい。
In addition, the
記憶部22は、フラッシュメモリやハードディスク等により構成され、各種データやプログラムを記憶する。本実施例では、特に、画像形成装置10の異常終了時のログを保存する第2記憶領域(第2記憶部22a)を備える。
The storage unit 22 is configured by a flash memory, a hard disk, or the like, and stores various data and programs. In the present embodiment, in particular, a second storage area (second storage unit 22a) for storing a log when the
ネットワーク接続部23は、NIC、モデム、LANアダプタ、ルータ、TA等により構成され、通信ネットワークを介して接続される画像形成装置10との通信制御を行う。
The network connection unit 23 includes a NIC, a modem, a LAN adapter, a router, a TA, and the like, and performs communication control with the
表示部24は、液晶表示装置や有機EL表示装置等からなり、各種画面を表示する。また、操作部25は、キーボードやマウス等からなり、各種操作などを可能とする。
The
なお、図3乃至図5は本実施例の管理システムの一例であり、本発明の動作が可能な限りにおいて、その構成は適宜変更可能である。 3 to 5 are examples of the management system of the present embodiment, and the configuration can be appropriately changed as long as the operation of the present invention is possible.
次に、本実施例の管理システムにおける画像形成装置の動作について、図6乃至図8を参照して説明する。 Next, the operation of the image forming apparatus in the management system of this embodiment will be described with reference to FIGS.
[通常時のログ記憶制御]
第1記憶領域へのログ記録動作に際して、第1記憶領域に保存した異常終了時のログが新たなログによって上書きされるのを防止するために、本実施例では「ログ保存フラグ」を用いる。この「ログ保存フラグ」は所定の値をセットすることができ、制御部11のメモリ等に記憶される。
[Normal log storage control]
In the present embodiment, a “log saving flag” is used in order to prevent the log at the time of abnormal termination saved in the first storage area from being overwritten by a new log during the log recording operation to the first storage area. This “log saving flag” can be set to a predetermined value and is stored in the memory or the like of the
そして、図6のフローチャート図に示すように、画像形成装置10が何らかの動作を行うか、あるいは画像形成装置10に何らかの状態変化が起こると(S201)、制御部11(第1記憶制御部)は、「ログ保存フラグ」がセットされているかを判断し(S202)、「ログ保存フラグ」がセットされていれば、ログを第1記憶領域(第1記憶部14a)に保存する(S203)。
Then, as shown in the flowchart in FIG. 6, when the
[異常終了時のログ記憶制御]
図7のフローチャート図に示すように、画像形成装置10の電源を投入すると、制御部11は、装置の初期化動作を行うと共に、「ログ保存フラグ」をリセットする(S301)。次に、制御部11は、ネットワーク接続部13を用いて管理装置20と交信し、管理装置20から前回の終了要因(正常終了/異常終了のどちらであったか)を取得する(S302)。
[Log storage control at abnormal termination]
As shown in the flowchart of FIG. 7, when the
そして、制御部11(第2記憶制御部)は、前回の終了要因が異常終了の場合(S303のYes)は、第1記憶領域(第1記憶部14a)に保存しているログ(複数のログを保存している場合は直近のログ)を異常ログとして管理装置20に転送する(S304)。その後、制御部11は、「ログ保存フラグ」をセットする(S305)。
Then, when the previous termination factor is abnormal termination (Yes in S303), the control unit 11 (second storage control unit) logs (the plurality of logs) stored in the first storage area (
このように、「ログ保存フラグ」を用いることにより、図8に示すように、装置起動からログ保存までに起こる装置の動作によって上書きされてしまうログを保持することが可能となり、異常終了時のログを確実に管理装置20に転送することができる。 In this way, by using the “log save flag”, it is possible to hold a log that is overwritten by the operation of the apparatus that occurs from the start of the apparatus to the log save, as shown in FIG. The log can be reliably transferred to the management device 20.
次に、管理装置20の動作について、図9乃至図11を参照して説明する。 Next, the operation of the management apparatus 20 will be described with reference to FIGS.
[画像形成装置の監視及び異常終了時のログ記憶制御]
図9のフローチャート図に示すように、管理装置20の制御部21(判定部)は、画像形成装置10の電源状態を監視し、電源オフを検知すると(S401のYes)、そのときの画像形成装置10の使用環境から終了要因(正常終了か異常終了か)を判定する。この終了要因の判定については後述する。
[Monitoring of image forming apparatus and log storage control at abnormal termination]
As shown in the flowchart of FIG. 9, the control unit 21 (determination unit) of the management apparatus 20 monitors the power state of the
次に、制御部21(判定部)は、画像形成装置10の電源状態を監視し、電源オンを検知すると(S403のYes)、画像形成装置10に判定した終了要因を通知する(S404)。
Next, the control unit 21 (determination unit) monitors the power state of the
次に、制御部21は、画像形成装置10に異常終了を通知したかを判断し(S405)、異常終了を通知した場合は、画像形成装置10から異常終了時のログを取得し(S406)、取得した異常終了時のログを第2記憶領域(第2記憶部22a)に記憶する(S407)。
Next, the
次に、上記ステップS402の終了要因の判定方法について、2つの例を示す。 Next, two examples of the termination factor determination method in step S402 will be described.
[通信情報を用いた異常検知]
図10に示すように、管理装置20から画像形成装置10にメッセージを送信し、画像形成装置10はその応答メッセージを管理装置20に返すようにして、画像形成装置10と管理装置20間で定期的に通信を行う。また、画像形成装置10は、通信を終了する際に、応答メッセージとして通信終了を示すメッセージ(終了通知)を送るようにする。
[Abnormality detection using communication information]
As shown in FIG. 10, a message is transmitted from the management apparatus 20 to the
そして、管理装置20の制御部21(判定部)は通信状況を監視し、(a)に示すように、終了通知を受け取った後に通信が途切れた(画像形成装置10の電源オフを検知した)場合には正常終了と判断し、(b)に示すように、終了通知を受け取ることなく通信が途切れた(画像形成装置10の電源オフを検知した)場合には異常終了と判断する。
Then, the control unit 21 (determination unit) of the management apparatus 20 monitors the communication status, and as shown in (a), communication is interrupted after receiving the end notification (detection of power-off of the image forming apparatus 10). In this case, it is determined as normal termination, and as shown in (b), when communication is interrupted without receiving a termination notification (when power-off of the
[環境情報を用いた異常検知]
また、環境情報を用いて異常検知を行うことも可能である。例えば、画像形成装置10が使われている部屋で多くの人が作業を行っている状態で、正常時に画像形成装置10の電源をオフすることは起こりにくいことから、このような状況での電源オフを異常終了とみなすことができる。そこで、管理システムに各種センサを設け、その各種センサからの情報を管理装置10が取得できるようにする。
[Abnormality detection using environmental information]
It is also possible to detect abnormality using environmental information. For example, when many people are working in a room where the
その場合の動作として、図11のフローチャート図に示すように、管理装置20の制御部21(判定部)は、各種センサから環境情報を取得する(S501)。この環境情報として、例えば、入退室管理装置から取得する部屋の残人数情報、電力監視装置から取得する部屋の電力使用量、画像形成装置10の使用許可/不許可を判断するサーバから取得するログイン人数などがある。
As an operation in that case, as shown in the flowchart of FIG. 11, the control unit 21 (determination unit) of the management apparatus 20 acquires environmental information from various sensors (S501). As this environmental information, for example, the remaining number of rooms information acquired from the entrance / exit management device, the power usage of the room acquired from the power monitoring device, and the login acquired from the server that determines permission / non-permission of use of the
次に、制御部21(判定部)は、取得した環境情報と予め記憶部22などに記憶した基準値とを比較し(S502)、その結果に応じて異常終了と判定(S503)若しくは正常終了と判定(S504)する。例えば、上記例では、部屋の残人数や電力使用量、サーバへのログイン人数が基準値よりも多ければ異常終了と判定し、少なければ正常終了と判定する。なお、ここでは取得した環境情報が基準値より大きい場合に異常終了と判定しているが、この判定は用いるセンサによって異なり、環境情報が基準値より大きい場合に正常終了と判定する場合もある。 Next, the control unit 21 (determination unit) compares the acquired environmental information with a reference value stored in advance in the storage unit 22 or the like (S502), and determines that the process has ended abnormally (S503) or completes normally. Is determined (S504). For example, in the above example, if the remaining number of people in the room, the amount of power used, and the number of people logged in to the server are larger than the reference value, it is determined that the process ends abnormally, and if it is less, the process ends normally. Here, when the acquired environmental information is larger than the reference value, the abnormal end is determined. However, this determination varies depending on the sensor used, and when the environmental information is larger than the reference value, the normal end may be determined.
このように、管理装置20では、通信情報又は環境情報に基づいて画像形成装置10の終了要因を判定し、判定した終了要因を次回の電源オン時に画像形成装置10に送信し、画像形成装置10から送信されるログを異常時のログとして第2記憶領域に保存する制御を行うため、確実に異常時のログを保存することができる。
As described above, the management apparatus 20 determines the termination factor of the
次に、本発明の第2の実施例に係る画像形成装置及び管理システム並びに管理プログラムについて、図12乃至図14を参照して説明する。図12は、本実施例の画像形成装置の構成を示すブロック図であり、図13及び図14は、本実施例の画像形成装置の動作を示すフローチャート図である。 Next, an image forming apparatus, a management system, and a management program according to a second embodiment of the present invention will be described with reference to FIGS. FIG. 12 is a block diagram illustrating a configuration of the image forming apparatus according to the present exemplary embodiment, and FIGS. 13 and 14 are flowcharts illustrating operations of the image forming apparatus according to the present exemplary embodiment.
前記した第1の実施例では、管理装置20の記憶部22に異常終了時のログを保存する構成としたが、管理システムを画像形成装置10単独で構成することも可能である。その場合、図12に示すように、画像形成装置10の記憶部14に第1記憶領域(第1記憶部14a)に加えて第2記憶領域(第2記憶部14b)を設けると共に、制御部11を第1記憶制御部、第2記憶制御部及び判定部として機能させる(若しくは、制御部11を第1記憶制御部、第2記憶制御部及び判定部として機能させる管理プログラムを実行する)。
In the first embodiment described above, the log at the time of abnormal termination is stored in the storage unit 22 of the management apparatus 20, but the management system can be configured by the
以下、画像形成装置10の動作について、図12及び図13のフローチャート図を参照して説明する。なお、通常のログ記憶制御は第1の実施例の図6と同様であるため、説明は省略する。
Hereinafter, the operation of the
[通常動作]
本実施例では、画像形成装置10側で前回の終了要因が正常であったか異常であったかを判定する必要があるため、「正常終了フラグ」を用いる。この「正常終了フラグ」は所定の値をセットすることができ、制御部11のメモリ等に記憶される。
[Normal operation]
In this embodiment, since it is necessary on the
そして、図13のフローチャート図に示すように、画像形成装置10の起動から終了までの動作を行い(S601)、通常の終了シーケンスに従って終了した場合は、制御部11は、「正常終了フラグ」をセットする(S602)。
Then, as shown in the flowchart of FIG. 13, the operation from the start to the end of the
[異常終了時のログ記憶制御]
図14のフローチャート図に示すように、画像形成装置10の電源を投入すると、制御部11は、装置の初期化動作を行うと共に、「ログ保存フラグ」をリセットする(S701)。次に、制御部11(判定部)は、「正常終了フラグ」がセットされているかを判断する(S702)。
[Log storage control at abnormal termination]
As shown in the flowchart of FIG. 14, when the
そして、判定の結果、終了要因が異常終了の場合(S702のNo)は、制御部11(第2記憶制御部)は、第1記憶領域(第1記憶部14a)に保存しているログ(複数のログを保存している場合は直近のログ)を異常時のログとして第2記憶領域(第2記憶部14b)に保存する(S703)。
As a result of the determination, if the termination factor is abnormal termination (No in S702), the control unit 11 (second storage control unit) logs stored in the first storage area (
その後、制御部11は、「正常終了フラグ」をリセットした後(S704)、「ログ保存フラグ」をセットする(S705)。
Thereafter, the
このように、本実施例では、画像形成装置10の記憶部14に全てのログを逐次保存する第1記憶領域(第1記憶部14a)と異常終了時のログのみを保存する第2記憶領域(第2記憶部14b)を設け、画像形成装置10の制御部11では、「正常終了フラグ」を利用して前回の終了要因を判定し、異常終了と判定した場合には第1記憶領域に保存しているログを異常時のログとして第2記憶領域に保存するため、確実に異常終了時のログを保存することができる。
As described above, in this embodiment, the first storage area (
次に、本発明の第3の実施例に係る画像形成装置及び管理システム並びに管理プログラムについて、図15及び図16を参照して説明する。図15は、本実施例の管理装置の構成を示すブロック図であり、図16は、本実施例の管理装置の動作を示すフローチャート図である。 Next, an image forming apparatus, a management system, and a management program according to a third embodiment of the present invention will be described with reference to FIGS. FIG. 15 is a block diagram showing the configuration of the management apparatus of this embodiment, and FIG. 16 is a flowchart showing the operation of the management apparatus of this embodiment.
前記した第1及び第2の実施例では、第1記憶領域を画像形成装置10に設ける構成としたが、この第1記憶領域は、図15に示すように、管理装置20(又は、通信ネットワークに接続される他の装置)に設けることも可能である。その場合、制御部21を第1記憶制御部、第2記憶制御部及び判定部として機能させる(若しくは、制御部21を第1記憶制御部、第2記憶制御部及び判定部として機能させる管理プログラムを実行する)。以下、第1記憶領域を管理装置20に設けた場合の管理装置20の動作について説明する。
In the first and second embodiments described above, the first storage area is provided in the
図16のフローチャート図に示すように、管理装置20の制御部21は、画像形成装置10の電源状態を監視し、電源オンを検知すると(S801のYes)、画像形成装置10に対してログの送信要求を行う(S802)。
As shown in the flowchart of FIG. 16, the
ログの送信要求に対して画像形成装置10はログを出力し、制御部21(第1記憶制御部)は、ログを取得したら(S803)、取得したログを第1記憶領域(第1記憶部22b)に保存する(S804)。そして、制御部21は、画像形成装置10の電源状態を監視し(S805)、電源オフを検知するまでログの取得を繰り返し、電源オフを検知したらステップS806に移行する。なお、ここでは管理装置20からログの送信要求を行って画像形成装置10が応答する構成としたが、画像形成装置10からログを送り続け、管理装置20がログを受け取ったら第1記憶領域に保存するようにしてもよい。
In response to the log transmission request, the
次に、制御部21(判定部)は、終了要因の正常/異常判定を行う(S806)。この判定は前記した第1の実施例と同様に、通信情報又は環境情報に基づいて行うことができる。 Next, the control unit 21 (determination unit) performs normal / abnormal determination of the termination factor (S806). This determination can be made based on communication information or environmental information, as in the first embodiment.
そして、異常終了と判定した場合(S807のYes)は、制御部21(第2記憶制御部)は、第1記憶領域(第1記憶部22b)に保存しているログ(複数のログを保存している場合は直近のログ)を異常ログとして第2記憶領域(第2記憶部22a)に保存する(S808)。 And when it determines with abnormal end (Yes of S807), the control part 21 (2nd memory | storage control part) preserve | saved the log (several logs) preserve | saved in the 1st storage area (1st memory | storage part 22b). If it is, the latest log) is saved as an abnormal log in the second storage area (second storage unit 22a) (S808).
このように、本実施例では、管理装置20の記憶部22に全てのログを逐次保存する第1記憶領域(第1記憶部22b)と、異常終了時のログのみを保存する第2記憶領域(第2記憶部22a)を設け、第1記憶領域にログを逐次、保存すると共に、通信情報又は環境情報に基づいて画像形成装置10の終了要因を判定し、異常終了と判定した場合に第1記憶領域のログを異常時のログとして第2記憶領域に保存する制御を行うため、確実に異常時のログを保存することができる。
As described above, in this embodiment, the first storage area (first storage section 22b) that sequentially stores all logs in the storage section 22 of the management apparatus 20, and the second storage area that stores only logs at the time of abnormal termination. (Second storage unit 22a) is provided, and logs are sequentially stored in the first storage area, and the cause of termination of the
なお、上記各実施例では、画像形成装置10の異常終了時のログを保存する場合について記載したが、本発明は上記実施例に限定されるものではなく、任意の装置の特定の状態のログを保存する場合に対して、同様に適用することができる。
In each of the above-described embodiments, the case where a log at the time of abnormal termination of the
本発明は、画像形成装置などの被管理装置及び当該被管理装置の状態を管理する管理装置、並びにこれらの装置で動作する管理プログラムに利用可能である。 The present invention is applicable to a managed device such as an image forming apparatus, a management device that manages the state of the managed device, and a management program that operates on these devices.
10 画像形成装置
11 制御部
12 印刷部
13 ネットワーク接続部
14 記憶部
14a 第1記憶部
14b 第2記憶部
15 表示・操作部
20 管理装置
21 制御部
22 記憶部
22a 第1記憶部
22b 第2記憶部
23 ネットワーク接続部
24 表示部
25 操作部
DESCRIPTION OF
Claims (11)
自装置の状態が変化したときに、自装置の状態を示す装置情報を逐次、前記第1記憶領域に保存する第1記憶制御部と、
前回の自装置の終了状態が正常終了であるか異常終了であるかを判定する判定部と、
前記判定部が異常終了と判定した場合に、前記第1記憶領域に保存している装置情報を前記第2記憶領域に保存する第2記憶制御部と、を少なくとも備えることを特徴とする被管理装置。 In a managed device comprising a first storage area and a second storage area,
A first storage control unit that sequentially stores device information indicating the state of the own device in the first storage area when the state of the own device changes;
A determination unit that determines whether the previous end state of the own device is a normal end or an abnormal end;
And a second storage control unit that stores the device information stored in the first storage area in the second storage area when the determination unit determines that the abnormal end has occurred. apparatus.
前記第1記憶制御部は、前記第1フラグが設定されている場合に、前記装置情報を前記第1記憶領域に保存することを特徴とする請求項1に記載の被管理装置。 A first flag is provided that is set after the device information is stored in the second storage area, and is released when the device is started,
The managed device according to claim 1, wherein the first storage control unit stores the device information in the first storage area when the first flag is set.
前記判定部は、前記第2フラグが設定されていない場合に、自装置が異常終了したと判定することを特徴とする請求項1又は2に記載の被管理装置。 A second flag is provided that is set when the own device is terminated according to a normal sequence, and the setting is canceled after the device information is stored in the second storage area,
The managed device according to claim 1, wherein the determination unit determines that the own device has ended abnormally when the second flag is not set.
前記被管理装置は、
自装置の状態が変化したときに、自装置の状態を示す装置情報を逐次、前記第1記憶領域に保存する第1記憶制御部と、
前記第1記憶領域に保存している装置情報を前記管理装置の前記第2記憶領域に転送する第2記憶制御部と、を少なくとも備え、
前記管理装置は、
前回の前記被管理装置の終了状態が正常終了であるか異常終了であるかを判定して前記被管理装置に通知する判定部、を少なくとも備え、
前記第2記憶制御部は、前記管理装置の前記判定部から異常終了が通知された場合に、前記装置情報の転送を行うことを特徴とする管理システム。 In a management system in which a managed device having a first storage area and a management apparatus having a second storage area are connected by a communication network,
The managed device is
A first storage control unit that sequentially stores device information indicating the state of the own device in the first storage area when the state of the own device changes;
A second storage control unit for transferring the device information stored in the first storage area to the second storage area of the management device,
The management device
A determination unit that determines whether the previous end state of the managed device is a normal end or an abnormal end and notifies the managed device, at least,
The second storage control unit transfers the device information when an abnormal end is notified from the determination unit of the management device.
前記第1記憶制御部は、前記第1フラグが設定されている場合に、前記装置情報を前記第1記憶領域に保存することを特徴とする請求項4に記載の管理システム。 The managed device is provided with a first flag that is set after the device information is transferred to the management device, and the setting is canceled when the device is started,
The management system according to claim 4, wherein the first storage control unit stores the device information in the first storage area when the first flag is set.
前記管理装置は、
前記被管理装置から、当該装置の状態が変化したときに逐次、転送される、当該装置の状態を示す装置情報を取得し、前記第1記憶領域に保存する第1記憶制御部と、
前回の前記被管理装置の終了状態が正常終了であるか異常終了であるかを判定する判定部と、
前記被管理装置の電源オフを検知し、かつ、前記判定部が異常終了と判定した場合に、前記第1記憶領域に保存されている装置情報を前記第2記憶領域に保存する第2記憶制御部と、を少なくとも備えることを特徴とする管理システム。 In a management system in which a managed device and a management device having a first storage area and a second storage area are connected by a communication network,
The management device
A first storage control unit for acquiring device information indicating the state of the device, which is sequentially transferred when the state of the device changes from the managed device, and storing the device information in the first storage area;
A determination unit that determines whether the previous end state of the managed device is a normal end or an abnormal end;
Second storage control for storing device information stored in the first storage area in the second storage area when the power-off of the managed device is detected and the determination unit determines that the management is abnormally ended. A management system.
前記コンピュータ装置を、
前記被管理装置から、当該装置の状態が変化したときに逐次、転送される、当該装置の状態を示す装置情報を取得し、前記第1記憶領域に保存する第1記憶制御部、
前回の前記被管理装置の終了状態が正常終了であるか異常終了であるかを判定する判定部、
前記被管理装置の電源オフを検知し、かつ、前記判定部が異常終了と判定した場合に、前記第1記憶領域に保存している装置情報を前記第2記憶領域に保存する第2記憶制御部、として機能させることを特徴とする管理プログラム。 A management program comprising a first storage area and a second storage area and operating on a computer device connected to a managed device via a communication network,
Said computer device,
A first storage control unit for acquiring device information indicating the state of the device, which is sequentially transferred from the managed device when the state of the device is changed, and storing the device information in the first storage area;
A determination unit that determines whether the previous end state of the managed device is a normal end or an abnormal end;
Second storage control for storing device information stored in the first storage area in the second storage area when the power-off of the managed device is detected and the determination unit determines that the abnormal end has occurred. A management program that functions as a part.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009102734A JP5234430B2 (en) | 2009-04-21 | 2009-04-21 | Managed apparatus, management program, and management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009102734A JP5234430B2 (en) | 2009-04-21 | 2009-04-21 | Managed apparatus, management program, and management method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010258498A true JP2010258498A (en) | 2010-11-11 |
JP5234430B2 JP5234430B2 (en) | 2013-07-10 |
Family
ID=43318980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009102734A Expired - Fee Related JP5234430B2 (en) | 2009-04-21 | 2009-04-21 | Managed apparatus, management program, and management method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5234430B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012067048A1 (en) | 2010-11-19 | 2012-05-24 | Canon Kabushiki Kaisha | Photoacoustic measuring device and method |
JP2014212454A (en) * | 2013-04-18 | 2014-11-13 | 京セラドキュメントソリューションズ株式会社 | Apparatus management system, electronic apparatus, apparatus management program, and apparatus management method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10186950A (en) * | 1996-12-25 | 1998-07-14 | Canon Inc | Image forming device |
JP2005065023A (en) * | 2003-08-18 | 2005-03-10 | Noritsu Koki Co Ltd | System and program for storing operation history data |
JP2007118331A (en) * | 2005-10-27 | 2007-05-17 | Konica Minolta Medical & Graphic Inc | Printer |
-
2009
- 2009-04-21 JP JP2009102734A patent/JP5234430B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10186950A (en) * | 1996-12-25 | 1998-07-14 | Canon Inc | Image forming device |
JP2005065023A (en) * | 2003-08-18 | 2005-03-10 | Noritsu Koki Co Ltd | System and program for storing operation history data |
JP2007118331A (en) * | 2005-10-27 | 2007-05-17 | Konica Minolta Medical & Graphic Inc | Printer |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012067048A1 (en) | 2010-11-19 | 2012-05-24 | Canon Kabushiki Kaisha | Photoacoustic measuring device and method |
JP2014212454A (en) * | 2013-04-18 | 2014-11-13 | 京セラドキュメントソリューションズ株式会社 | Apparatus management system, electronic apparatus, apparatus management program, and apparatus management method |
Also Published As
Publication number | Publication date |
---|---|
JP5234430B2 (en) | 2013-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
USRE48925E1 (en) | Information processing apparatus, method for controlling power state shift and clearing or not clearing a shift time measured | |
JP5822527B2 (en) | Information processing apparatus, control method thereof, and control program | |
JP2010231814A (en) | Job processing system | |
US9262102B2 (en) | Image forming systems, and methods of using same | |
JP5879918B2 (en) | Information processing apparatus and remote management system | |
JP6033067B2 (en) | Image processing apparatus, information processing method, and program | |
JP6308828B2 (en) | Management system and management method | |
JP5234430B2 (en) | Managed apparatus, management program, and management method | |
JP5987797B2 (en) | Information processing apparatus and program | |
JP2015026251A (en) | Information processing device, control method for information processing device, and program | |
JP2013008228A (en) | Information processing apparatus, printing device and monitoring method | |
JP2012232533A (en) | Image forming apparatus, image forming system, image forming control method, image forming control program and recording medium | |
JP2008148106A (en) | Monitoring device, and network management system | |
JP2014052495A (en) | Image forming device, control method for image forming device, and program | |
CN110286861B (en) | Information processing apparatus, device management apparatus, and recording medium | |
JP2014021626A (en) | Image processor, information processing method and program | |
JP7446857B2 (en) | Image processing device, image processing method and program | |
JP6798278B2 (en) | Multifunction device, control method executed in the multifunction device, and control program of the multifunction device | |
JP2011194749A (en) | Image forming device | |
JP2004109661A (en) | Image forming device, image forming system, and computer program | |
CN111683186B (en) | Electronic apparatus and control method thereof | |
JP7251081B2 (en) | Information processing device and program | |
JP2011170429A (en) | Print system, printer, program, and storage medium | |
JP2018089885A (en) | Image forming device and method for controlling power source of image forming device | |
JP6074810B2 (en) | Image processing apparatus, image processing system, power saving mode shift control method, computer program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111018 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120911 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120921 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121113 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121204 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130129 |
|
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: 20130301 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130314 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5234430 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160405 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |