JP2018098608A - Information processing apparatus, control method thereof, and program - Google Patents
Information processing apparatus, control method thereof, and program Download PDFInfo
- Publication number
- JP2018098608A JP2018098608A JP2016240564A JP2016240564A JP2018098608A JP 2018098608 A JP2018098608 A JP 2018098608A JP 2016240564 A JP2016240564 A JP 2016240564A JP 2016240564 A JP2016240564 A JP 2016240564A JP 2018098608 A JP2018098608 A JP 2018098608A
- Authority
- JP
- Japan
- Prior art keywords
- event
- information processing
- processing apparatus
- cancellation
- notification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Control Or Security For Electrophotography (AREA)
- Facsimiles In General (AREA)
Abstract
【課題】必要なイベントの発生と解消を取りこぼすことなく、不要なイベントの検知を極力抑える仕組みを提供する。【解決手段】本情報処理装置は、周辺デバイスからイベントの発生通知を受信すると、当該イベントを記憶デバイスに記憶させる。この際、情報処理装置は、既に記憶されているイベントであって、解消されていないイベントについては多重にイベントを記録することなる発生通知を破棄する。また、本情報処理装置は、周辺デバイスからイベントの解消通知を受信すると、受信した解消通知のイベントが記憶デバイスに記憶されているイベントであって、かつ、所定のイベントでなければ、当該イベントの解消を記憶デバイスに記憶させる。一方、所定のイベントである場合は、当該解消通知は破棄される。【選択図】 図5PROBLEM TO BE SOLVED: To provide a mechanism for suppressing detection of an unnecessary event as much as possible without failing to generate and eliminate a necessary event. Upon receiving an event occurrence notification from a peripheral device, the information processing apparatus stores the event in a storage device. At this time, the information processing device discards the occurrence notification, which is an event that has already been stored and has not been resolved, and that multiple events will be recorded. Further, when the information processing apparatus receives the event cancellation notification from the peripheral device, if the event of the received cancellation notification is an event stored in the storage device and is not a predetermined event, the event The resolution is stored in the storage device. On the other hand, if the event is a predetermined event, the cancellation notification is discarded. [Selection diagram]
Description
本発明は、設けられた機器の状態変化によって発生するイベントを制御する情報処理装置、その制御方法、及びプログラムに関する。 The present invention relates to an information processing apparatus that controls an event that occurs due to a change in the state of an installed device, a control method thereof, and a program.
パソコン等の情報処理装置は、物理的に又はネットワークを介して接続された様々なデバイスと連携し、ユーザに機能を提供している。接続されるデバイスには、例えば、キーボードやマウス、タッチパネルといった入力デバイスや、ディスプレイ、プリンタ、スピーカといった出力デバイスがある。また、近年パソコンに限らず、多くのデバイスが相互に接続、連携してサービスを提供するIoT(Internet of Things)が注目されている。IoTの普及により、エアコンや照明器具等の家電も連携の対象となり、デバイス間での連携は今後益々重要度を増し、送受される情報も増加することが予想される。 Information processing apparatuses such as personal computers provide functions to users in cooperation with various devices connected physically or via a network. Examples of connected devices include input devices such as a keyboard, mouse, and touch panel, and output devices such as a display, a printer, and a speaker. In recent years, not only personal computers but also IoT (Internet of Things), in which many devices are connected to each other and cooperated to provide services, has attracted attention. With the spread of IoT, home appliances such as air conditioners and lighting fixtures are also subject to cooperation, and cooperation between devices is expected to become increasingly important in the future, and information sent and received will also increase.
ところで、MFPに代表される画像形成装置においても、コントローラ制御部はプリンタやスキャナと接続され、連携することで、コピー、スキャン、FAX等多くの機能を提供している。これらのデバイスを構成する部品、消耗品は、故障や経年劣化に伴い、正常に機能しなくなることがある。その場合、連携している情報処理装置は、ユーザに対して正常に機能を提供することができなくなる。そのため、異常を検知したデバイスからイベント通知を受け、交換を促すためのメッセージを表示させたり、継続して利用するために縮退して動作させたり、といった対処が必要になる。例えば、交換については、LED点灯やディスプレイ表示してユーザに通知したり、ネットワークを介してサーバに情報を送信してサービスマンに通知したりすることが考えられる。また、縮退動作については、例えばMFPであれば、スキャナが動作不能な場合に、コピーやFAX送信のスキャン機能を無効化し、パソコンからのプリントやFAX受信といったプリント機能だけを有効にする方法もある。 Incidentally, also in an image forming apparatus represented by an MFP, a controller control unit is connected to a printer or a scanner and cooperates to provide many functions such as copying, scanning, and FAX. Parts and consumables constituting these devices may not function normally due to failure or deterioration over time. In this case, the linked information processing apparatus cannot normally provide functions to the user. For this reason, it is necessary to take measures such as receiving an event notification from a device that has detected an abnormality, displaying a message for prompting replacement, or operating in a degraded manner for continued use. For example, regarding the replacement, it is conceivable to notify the user by turning on an LED or displaying the display, or by sending information to a server via a network and notifying a service person. As for the degeneration operation, for example, in the case of an MFP, when the scanner cannot operate, there is a method of disabling the scan function for copying or FAX transmission and enabling only the print function such as printing from a personal computer or FAX reception. .
また、情報処理装置の中には、部品、消耗品の故障を検知した場合に、イベントの内容を発生履歴として記憶し、交換や補充のメンテナンスを完了した場合にイベントの解消履歴として記憶するものもある。これらの履歴はユーザやサービスマンがメンテナンスの時期を判断したり、装置の傾向を判断したりすることに利用される。しかし、異常を検知したデバイスからのイベント通知により、迅速なメンテナンスを可能とすることでユーザの利便性を高める一方、例えば電源を入れるたびに異常を検知してイベントを通知してしまうケースも発生しうる。即ち、ユーザに対して過剰に通知することによる部品や消耗品の誤発注や、ネットワークやサーバへの負荷を高めてしまうことに繋がる。 Also, some information processing devices store the contents of events as occurrence histories when parts or consumable failures are detected, and store them as event resolution histories when replacement or replenishment maintenance is completed. There is also. These histories are used by the user or service person to determine the maintenance time or the tendency of the apparatus. However, while an event notification from a device that has detected an abnormality improves the convenience of the user by enabling quick maintenance, for example, there are cases in which an abnormality is detected and an event is notified each time the power is turned on. Yes. In other words, excessive notification to the user leads to erroneous ordering of parts and consumables, and increases the load on the network and server.
この問題を解決するために、例えば、特許文献1では、印刷装置の消耗品や寿命部品の交換予告のイベントをユーザに対して繰り返し通知しないように制御している。これにより、未解消であるイベントについて、イベントの発生を繰り返し検知した場合に、ユーザに繰り返し通知してしまうことを防止している。
In order to solve this problem, for example, in
しかしながら、上記従来技術には以下に記載する課題がある。例えば、各々のデバイスが多様な状態の変化を監視する必要がある中で、イベントの発生と解消を短期間に繰り返してしまうケースがある。例えば、環境センサを用いて温度を監視し、閾値を上回った際に異常とみなしてイベントの発生を検知し、閾値を下回った際に正常とみなしイベントの解消を検知する場合である。このとき、イベント検知の閾値を環境センサの計測結果が細かく行き来すると、イベントの発生と解消を繰り返し検知してしまう。これにより、イベント履歴の記憶領域を逼迫したり、大量のイベント通知によりネットワークやサーバへの負荷が高まったりしてしまう。また、各々のデバイスで多重にイベント発生を検知しないようにした場合、全てのデバイスで統一的な検知方法を実現する必要があり、システム動作の一貫性を保つことが難しくなる。 However, the above prior art has the following problems. For example, there is a case where an event is generated and canceled in a short time while each device needs to monitor various state changes. For example, when the temperature is monitored using an environmental sensor, the occurrence of an event is detected when the temperature exceeds a threshold, and the occurrence of the event is detected when the temperature falls below the threshold. At this time, if the measurement result of the environmental sensor goes back and forth between the event detection thresholds, the occurrence and cancellation of the event are repeatedly detected. As a result, the storage area of the event history becomes tight, and a load on the network or server increases due to a large number of event notifications. In addition, when each device does not detect multiple event occurrences, it is necessary to realize a unified detection method for all devices, and it becomes difficult to maintain consistency in system operation.
本発明は、上述の問題に鑑みて成されたものであり、必要なイベントの発生と解消を取りこぼすことなく、不要なイベントの検知を極力抑える仕組みを提供することを目的とする。 The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a mechanism that suppresses detection of unnecessary events as much as possible without losing the occurrence and cancellation of necessary events.
本発明は、例えば、情報処理装置であって、周辺デバイスからイベントの発生通知又は解消通知を受信する受信手段と、前記受信手段によってイベントの発生通知が受信されると、当該イベントを記憶手段に記憶させるイベント登録手段と、前記受信手段によってイベントの解消通知が受信されると、受信した解消通知のイベントが前記記憶手段に記憶されているイベントであって、かつ、所定のイベントでなければ、当該イベントの解消を前記記憶手段に記憶させるイベント解除手段とを備えることを特徴とする。 The present invention is an information processing apparatus, for example, a receiving unit that receives an event occurrence notification or a cancellation notification from a peripheral device, and when the event occurrence notification is received by the receiving unit, the event is stored in the storage unit. When an event cancellation notification is received by the event registration means to be stored and the reception means, the received cancellation notification event is an event stored in the storage means and is not a predetermined event, An event canceling unit for storing the cancellation of the event in the storage unit.
本発明によれば、必要なイベントの発生と解消を取りこぼすことなく、不要なイベントの検知を極力抑えることができる。 According to the present invention, detection of an unnecessary event can be suppressed as much as possible without losing the occurrence and cancellation of the required event.
以下、添付図面を参照して本発明の実施形態を詳しく説明する。なお、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the present invention according to the claims, and all combinations of features described in the present embodiments are not necessarily essential to the solution means of the present invention. .
<画像形成装置の概略構成>
以下では、本発明の一実施形態について説明する。本実施形態では、本発明を適用する情報処理装置の一例として、画像形成装置1について説明する。まず、図1を参照して、本実施形態に係る画像形成装置1の構成について説明する。本画像形成装置1は、スキャナ(画像読取デバイス)2、コントローラ(情報処理装置)3、プリンタ(画像形成デバイス)4、画像処理ユニット(画像処理デバイス)5、電源装置6、操作部8、LAN9、及びスイッチ30を備える。なお、本実施形態に係る画像形成装置1は、上記各デバイスを備える1つの装置として説明するが、本発明はこれに限定されない。例えば、情報処理装置であるコントローラ3に周辺デバイスとして、画像読取デバイス、画像形成デバイス、画像処理デバイス、及び後述するハードディスク14等の記憶デバイスが接続されたこうせいであってもよい。
<Schematic configuration of image forming apparatus>
Hereinafter, an embodiment of the present invention will be described. In the present embodiment, an
スキャナ2は、原稿から光学的に画像を読み取りデジタル画像に変換するエンジンである。スキャナ2は自動的に原稿束を逐次入れ替えることが可能な原稿給紙ユニット11と、原稿を光学スキャンしデジタル画像に変換することが可能なスキャナユニット12とを備える。スキャナユニット12によって変換された画像データはコントローラ3に送信される。
The scanner 2 is an engine that optically reads an image from a document and converts it into a digital image. The scanner 2 includes a document feeding unit 11 that can automatically and sequentially replace a bundle of documents, and a scanner unit 12 that can optically scan a document and convert it into a digital image. The image data converted by the scanner unit 12 is transmitted to the
プリンタ4は、デジタル画像をシート(記録媒体)に出力するエンジンである。プリンタ4は、マーキングユニット16、排紙ユニット17、給紙ユニット18、プリンタコントローラ50、温度センサ51、及びフィニッシャユニット500を備える。給紙ユニット18は、シート束から一枚ずつ逐次給紙することができる。マーキングユニット16は、給紙されたシートに画像データを印刷するための画像形成部である。排紙ユニット17は、印刷後のシートを機外に排紙する。フィニッシャユニット500は、排紙したシートに後処理を施す。プリンタコントローラ50は、温度センサ51によってプリンタ4内部の温度を監視し、一定の温度を超えた場合に各ユニットを緊急停止すると共に、コントローラ3に緊急停止情報を送信する。
The
コントローラ3は、接続された各モジュールに指示を出し、画像形成装置1を統括的に制御して、ジョブを実行する。コントローラ3は、CPU13、ハードディスク(記憶デバイス)14、メモリ15、SRAM40、及びROM160を備える。ハードディスク14は、デジタル画像や制御プログラム等を記憶する。SRAM40は、不揮発性メモリであり、ユーザ設定等を、電源がOFFに制御された場合であっても継続して保持する。ROM160にはコントローラ3のCPU13が実行するプログラムを格納される。SRAM40同様に設定値を保持する目的でも利用できる。画像形成装置1は、LAN9経由でコンピュータ10からデジタル画像の入出力、ジョブの発行や機器の指示等も行なうことが可能である。
The
コントローラ3はCPU13を有し、スキャナ2及びプリンタ4と画像データの送受信及び保存を行う。即ち、コントローラ3ではスキャナ2から受信した画像データを、メモリ15に一時的に保存する。その後、ハードディスク14へと画像データを格納することで画像のスキャンと保存が完了する。コントローラ3はハードディスク14から画像データをメモリ15に一時保存し、メモリ15からプリンタ4に画像データを送信することによりプリント出力を行うことができる。
The
画像処理ユニット5は、汎用画像処理部19を備える。汎用画像処理部19は、メモリ15に保存した画像データに対して、例えば縮小等の処理を実施する。汎用画像処理部19によって処理された画像データは、再度メモリ15に保存される。操作部8は、本画像形成装置1の操作や表示を行うためのユーザインタフェースデバイスであり、コントローラ3によって制御され、オペレータ操作又はLAN9からの指示をCPU13が解釈し、多彩なジョブを実行可能である。また、操作部8ではジョブの状態を表示したり、スキャナ2やプリンタ4などのエンジンの状態を表示したりすることもできる。
The image processing unit 5 includes a general-purpose image processing unit 19. The general-purpose image processing unit 19 performs a process such as reduction on the image data stored in the
電源装置6は、画像形成装置1における電源を供給する装置である。画像形成装置1の電源OFF時においては、AC電源29はスイッチ30により絶縁されている。つまり、スイッチ30をOFFに制御することにより画像形成装置1への電源供給を遮断する。一方、スイッチ30をONに制御することでAC−DCコンバータ20にAC電源が供給され、DC電源が作られる。本画像形成装置1は、CPU13の指示により装置全体を4つの独立した系統に電源制御することが可能である。即ち、CPU13からの信号によりスイッチ21を制御し、コントローラ部電力25の電源をOFF/ON制御可能である。同様に、CPU13からの信号によりスイッチ22を制御し、プリンタ部電力28の電源をOFF/ON制御可能である。また、CPU13からの信号によりスイッチ23を制御し、スキャナ部電力26の電源をOFF/ON制御可能である。また、CPU13からの信号によりスイッチ24を制御し、汎用画像処理部電力27の電源をOFF/ON制御可能である。
The
CPU13はこれらのスイッチ21〜24を制御することで、適切に画像形成装置1の必要な場所に電力を供給する。電源供給時にスイッチ30をOFFに制御すると、コントローラ3がシステムのシャットダウンを完了した後、AC−DCコンバータ20へのAC電源が供給を停止する。ところで、近年の高機能化が進んだ画像形成装置1においては、スイッチ30をONに制御してから、ハードウェアとソフトウェアを初期化し、ユーザが使えるようになるまでの起動時間が長くなる問題がある。この問題の対策として、ユーザがスイッチ30をOFFに制御したときに、メモリ15を通電したままにしておき、ユーザがスイッチ30をONに制御した時に、前回起動時の情報を使って起動を高速化する方法がある。
The
具体的には、スイッチをOFFに制御したときに、ACPI(Advanced Configuration and Power Interface)が規定するS3状態に移行し、その後スイッチがONに制御されたときに高速に起動させる手法である。S3状態は、スイッチ30をOFF操作した場合にも、画像形成装置1の一部の負荷(デバイス)へ電源供給を維持するものであり、例えば揮発性メモリへの通電状態を保ち、画像形成装置1のCPU等、他の構成部分への通電を停止した状態である。この揮発性メモリには、スイッチ30をOFFに制御する前に画像形成装置1において実行されていたプログラム等が展開された状態で記憶される。スイッチ30をOFFに制御した後もこれらの情報は揮発性メモリに保持され続けるので、その後スイッチ30をONに制御した際に、いわゆるシャットダウン状態(ACPIのS5状態)からの起動よりも短い時間でユーザが使用可能な状態に復帰することができる。以下では、ACPI−S3方式の高速化手法を、クイック起動と称する。また、スイッチ30のOFF操作に伴ってS3状態へ移行する動作をクイックOFFと称する。上記シャットダウン状態(S5状態)とは、S3状態とは異なり、全ての画像形成装置1の一部の負荷(デバイス)へ電源供給を遮断する状態である。
Specifically, when the switch is controlled to be OFF, the state shifts to an S3 state defined by ACPI (Advanced Configuration and Power Interface), and then the method is started at a high speed when the switch is controlled to be ON. The S3 state maintains power supply to some loads (devices) of the
ユーザは、スイッチ30のOFF操作に応じて画像形成装置1をクイックOFF(第2動作)させるか、シャットダウン(第1動作)させるかを設定により切り替えることができる。ただし、後述の通り、スイッチ30のOFF操作に応じて画像形成装置1をクイックOFFさせる設定がなされている場合であっても、画像形成装置1の状態が所定の状態を満たす場合には、スイッチ30のOFF操作に応じてシャットダウンする場合がある。即ち、ユーザがスイッチ30をOFFに制御したときに、システムが高速化起動を目的にクイックOFFに制御するか否かは画像形成装置1の動作状況によって選択的に行われる。例えば、プリンタ4やスキャナ2に再起動が必要な何らかの異常が発生して正常に動作することができない場合、画像形成装置1はクイックOFFではなくシャットダウンする。また、データの反映に再起動が必要な設定をユーザが変更した場合、同様に画像形成装置1はクイックOFFではなくシャットダウンする。これらの画像形成装置1の動作状況は、各負荷で発生するイベントの履歴情報に従って判断される。
The user can switch according to the setting whether the
<イベント履歴情報>
次に、図2を参照して、画像形成装置1が保持するイベントの履歴情報について説明する。ここでは、一例として、プリンタコントローラ50が検知したイベントをCPU13が受信した際に、ハードディスク14に記憶されるイベント履歴情報201について説明する。
<Event history information>
Next, event history information held by the
イベント履歴情報201はイベントの内容を示すイベントコード202、イベント発生時刻203、及びイベント解消時刻204を含むレコードである。イベントコード202は、デバイス(負荷)ごとに予め決められており、例えばプリンタ4やスキャナ2の異常等特定の状態を示す。なお、さらに細分化した単位でもよく、例えば、マーキングユニット16や給紙ユニット18等のレベルで異常等が発生した場合にイベントを発生し、記憶するようにしてもよい。イベントが発生した場合、ハードディスク14に記憶されると共に、LAN9からネットワークを介してサーバ(コンピュータ10)に通知する。発生したイベントは発生要因からの復旧を検知することによって解消される。
The
例えば、トナー残量が少なくなったことにより発生したイベントは、トナーボトルを新品に交換することによって解消される。また、温度センサ51によって測定した画像形成装置1内の温度が閾値を超えたことにより発生したイベントは、放熱され、規定の温度を下回ることによって解消される。このようにしてイベントが解消された場合、新たなイベントの発生を受け付け、登録(記憶)することができる。これらの仕組みによって、イベントの発生と解消をサーバで管理することができ、メンテナンスの時期を自動的に判断し、消耗品を配送する等の応用が可能となる。
For example, an event that occurs due to a low amount of toner remaining can be resolved by replacing a toner bottle with a new one. In addition, an event that occurs when the temperature in the
図2の例では、イベントコードが0003のイベントの発生と解消が2回され、1001と1004のイベントがそれぞれ発生し、解消されない状態であることを示す。なお、イベント履歴情報201は、SRAM40に記憶される構成であってもよい。つまり、本実施形態によれば、0003のイベントが複数回発生している場合であっても、イベント履歴情報201に登録された当該イベントが解消するまでは、同一のイベントコードである0003のイベントが発生してもイベント履歴情報201には登録されない。
In the example of FIG. 2, an event having an
<解消除外対象イベント>
次に、図3を参照して、ハードディスク14に保持される解消除外対象イベントリスト301について説明する。プリンタコントローラ50からCPU13が受信したイベントの解消要求が、解消除外対象イベントリスト301に含まれるイベントコード302であった場合に、イベントの解消要求を破棄する。これにより、以降の未解消イベントの発生通知を破棄するため、新たなイベントの登録ができなくなる。また、これらのイベントは未解消の状態が維持されるため、再起動時に一度自動的に解消される。或いは、登録されて所定時間が経過した後に解消されてもよい。図3のイベントリスト301では、1001と1004のイベントが解消除外対象であることを示す。なお、解消除外対象イベントリスト301は、イベント履歴情報201と同様にSRAM40に記憶される構成であってもよい。
<Events targeted for elimination>
Next, with reference to FIG. 3, the elimination exclusion
<イベントの登録>
次に、図4を参照して、本実施形態に係る画像形成装置1において、CPU13がプリンタコントローラ50からイベントの発生を登録する際の処理手順について説明する。以下で説明する処理は、例えば、ROM160に格納されたプログラムを、コントローラ3のCPU13が実行することによって実現される。なお、ここでは、一例としてプリンタコントローラ50からのイベント発生について説明するが、他のデバイス、例えばスキャナ2の不図示の制御部からのイベント発生についても同様に本発明を適用することができる。或いは、ハードディスク14からのイベント発生であってもよい。また、本フローチャートの処理においてCPU13はイベント受信手段及びイベント登録手段の一例である。
<Register event>
Next, a processing procedure when the
S101で、CPU13は、プリンタコントローラ50からイベント発生の通知を受信したか否かを判断する。イベント発生の通知を受信したと判断した場合はS102に進み、イベント発生の通知を受信していないと判断した場合は受信を待ち続ける。S102で、CPU13は、イベント履歴情報201に含まれるイベントコード202とイベント解消時刻204を用いて、受信したイベント通知(発生通知)のイベントコードが未解消のイベントか否かを判断する。受信したイベント通知のイベントコードが未解消のイベントであると判断した場合、多重にイベント発生履歴を記憶しないため、処理を終了する。
In step S <b> 101, the
一方、受信したイベント通知のイベントコードが解消済みのイベントであると判断した場合はS103に進む。S103で、CPU13は、イベント履歴情報201にレコードを追加し、イベントコード202とイベント発生時刻203と共に記憶(登録)し、S104に進む。なお、ここで、CPU13は、LAN9を介してサーバであるコンピュータ10に対して当該イベントのレコードを追加した旨を通知してもよい。或いは、S104又はS105の処理後に通知するようにしてもよい。この場合には、解消除外対象のイベントであるか否かの情報も合わせて通知することとなる。S104で、CPU13は、解消除外対象イベントリスト301を用いて、受信したイベント通知のイベントコードが解消除外対象のイベントか否かを判断する。受信したイベント通知のイベントコードが解消除外対象のイベントであると判断した場合、S105に進む。一方、受信したイベント通知のイベントコードが解消対象のイベントであると判断した場合、S105をスキップし、スイッチ30をOFFに制御したときの動作を選択することなく、処理を終了する。
On the other hand, if it is determined that the event code of the received event notification is an already resolved event, the process proceeds to S103. In S103, the
S105で、CPU13は、スイッチ30をOFFに制御したときの動作として、画像形成装置1をクイックOFFではなくシャットダウンするように選択し、処理を終了する。これにより、シャットダウン後の再起動でイベント履歴情報が初期化され、解消除外対象のイベント発生後、イベントが全く解消されず、イベントを1回しか記憶できない状況に陥ることを回避することができる。
In S105, the
なお、上述したように、イベント履歴情報を初期化するタイミングは、シャットダウン後の再起動時のみに限らず、解消除外対象のイベントを登録してから所定時間が経過すると、当該イベントのみを初期化、即ち、イベント履歴情報から削除してもよい。また、シャットダウン後の再起動時における初期化は、所定のイベントコードのレコードのみを初期化するようにしてもよい。例えば、トナー残量が少なくなったことにより発生したイベントはトナーカートリッジが交換されるまでイベント履歴情報に残るようにしてもよい。 As described above, the event history information is initialized not only at the time of restart after shutdown, but only when a predetermined time elapses after the event to be eliminated is registered. That is, the event history information may be deleted. In addition, initialization at the time of restart after shutdown may be performed by initializing only a record of a predetermined event code. For example, an event that has occurred due to the remaining amount of toner remaining may remain in the event history information until the toner cartridge is replaced.
また、図4のフローチャートでは、解消除外対象のイベントの場合のみ電源オフ時の動作を選択する制御について説明したが、本発明はこれに限定されず、解消対象のイベントであっても電源オフ時の動作を選択するように制御してもよい。この場合、はクイックOFF動作が選択されることとなり、一部の負荷への電源供給を維持した状態での電源オフが行われることとなる。 In the flowchart of FIG. 4, the control for selecting the operation at the time of power-off only in the case of the event to be eliminated is described. However, the present invention is not limited to this, and the event at the time of power-off is also the event to be eliminated. It may be controlled to select the operation. In this case, the quick OFF operation is selected, and the power is turned off while the power supply to some of the loads is maintained.
上述のように、本実施形態によれば、多重に同じイベントをイベント履歴情報として記憶し、サーバへの通知が行われることを回避することができる。 As described above, according to the present embodiment, the same event can be stored as event history information multiple times, and notification to the server can be avoided.
<イベントの解除>
次に、図5を参照して、本実施形態において、CPU13がプリンタコントローラ50からイベントの解除通知を受信した際の処理手順について説明する。以下で説明する処理は、例えば、ROM160に格納されたプログラムを、コントローラ3のCPU13が実行することによって実現される。なお、本フローチャートの処理においてCPU13はイベント受信手段及びイベント解除手段の一例である。
<Release event>
Next, a processing procedure when the
S201で、CPU13は、プリンタコントローラ50からイベント解消通知を受信したか否かを確認する。イベント解消の通知を受信したと判断した場合、S202に進む。イベント解消通知を受信していないと判断した場合、受信を待ち続ける。S202で、CPU13は、解消除外対象イベントリスト301を用いて、受信したイベント解消通知のイベントコードが解消除外対象か否かを判断する。受信したイベント解消通知のイベントコードが解消除外対象であると判断した場合、イベント解消を履歴に記憶することなく、処理を終了する。つまり、ここでは、解消除外対象のイベントについてはイベントの解消を履歴として記憶しないように制御している。これにより、イベント解消後に同一のイベントがすぐに発生するようなケースにおいて、当該イベントの発生の記憶やサーバへの通知が頻繁に行われることを回避することができる。
In step S <b> 201, the
一方、受信したイベント解消通知のイベントコードが解消対象のイベントであると判断した場合、S203に進む。なお、解消除外対象のイベントコードであるかの判定は、解消除外対象イベントリスト301の参照ではなく、予め決められた特定のビットが有効であるか否かを確認する方法であってもよい。S203で、CPU13は、イベント履歴情報201を参照し、イベントコード202が合致するレコードのイベント解消時刻204を記憶する。そして処理を終了する。
On the other hand, if it is determined that the event code of the received event resolution notification is an event to be resolved, the process proceeds to S203. The determination as to whether the event code is a cancellation exclusion target event code may be a method of confirming whether a predetermined specific bit is valid, instead of referring to the cancellation exclusion
以上説明したように、本実施形態に係る情報処理装置(画像形成装置)は、周辺デバイスからイベントの発生通知を受信すると、当該イベントを記憶デバイスに記憶させる。この際、情報処理装置は、既に記憶されているイベントであって、解消されていないイベントについては多重にイベントを記録することなる発生通知を破棄する。また、本情報処理装置は、周辺デバイスからイベントの解消通知を受信すると、受信した解消通知のイベントが記憶デバイスに記憶されているイベントであって、かつ、所定のイベントでなければ、当該イベントの解消を記憶デバイスに記憶させる。一方、所定のイベントである場合は、当該解消通知は破棄される。このように、本実施形態においては、環境センサのように、デバイス異常のイベントの発生と解消を繰り返し検知し、通知してしまう可能性のある場合に、受け取ったイベント解消通知を破棄することにより、以降の未解消イベントの発生通知を破棄する。これにより、イベントの多重発生を回避することができ、イベント発生履歴の記憶に必要となる容量を低減することができる。また、イベントを検知するデバイスの各々において多重検知を回避する必要がなく、統一的にイベントの多重記憶を抑制することができる。そのため、プログラム容量の増加を抑え、システムの動作の一貫性を保つことができる。さらには、イベント発生をサーバへ通知する運用をしているケースにおいて、トラフィック増加によるネットワークやサーバへの負荷も軽減することができる。 As described above, when receiving an event occurrence notification from a peripheral device, the information processing apparatus (image forming apparatus) according to the present embodiment stores the event in the storage device. At this time, the information processing apparatus discards an occurrence notification that records an event in a multiple manner for an event that has already been stored and has not been resolved. Further, when the information processing apparatus receives an event cancellation notification from a peripheral device, the received information of the cancellation notification is an event stored in the storage device and is not a predetermined event, the event The resolution is stored in the storage device. On the other hand, in the case of a predetermined event, the cancellation notification is discarded. As described above, in the present embodiment, when there is a possibility of repeatedly detecting and notifying the occurrence and cancellation of a device abnormality event as in the environment sensor, by discarding the received event resolution notification, , Discard the subsequent occurrence notification of unresolved events. Thereby, multiple occurrences of events can be avoided, and the capacity required for storing event occurrence history can be reduced. In addition, it is not necessary to avoid multiple detection in each device that detects an event, and it is possible to uniformly suppress multiple storage of events. As a result, the increase in program capacity can be suppressed and the consistency of the system operation can be maintained. Furthermore, in the case where the operation of notifying the event occurrence to the server is performed, it is possible to reduce the load on the network and the server due to an increase in traffic.
なお、本実施形態においては、プリンタコントローラ50がイベントを検知する構成をとったが、コントローラ3が接続されたデバイスの状態を監視することでイベントを検知してもよい。また、コントローラ3が自身の状態を監視する構成であってもよい。
In the present embodiment, the
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
1:画像形成装置、2:スキャナ、3:コントローラ、4:プリンタ、5:画像処理ユニット、6:電源装置、8:操作部、9:LAN、10:。コンピュータ、29:AC電源、30:スイッチ 1: image forming apparatus, 2: scanner, 3: controller, 4: printer, 5: image processing unit, 6: power supply device, 8: operation unit, 9: LAN, 10: Computer, 29: AC power supply, 30: Switch
Claims (13)
周辺デバイスからイベントの発生通知又は解消通知を受信する受信手段と、
前記受信手段によってイベントの発生通知が受信されると、当該イベントを記憶手段に記憶させるイベント登録手段と、
前記受信手段によってイベントの解消通知が受信されると、受信した解消通知のイベントが前記記憶手段に記憶されているイベントであって、かつ、所定のイベントでなければ、当該イベントの解消を前記記憶手段に記憶させるイベント解除手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus,
Receiving means for receiving an event occurrence notification or cancellation notification from a peripheral device;
When an event occurrence notification is received by the receiving means, an event registration means for storing the event in a storage means;
When an event cancellation notification is received by the receiving means, if the received cancellation notification event is an event stored in the storage means and is not a predetermined event, the cancellation of the event is stored in the storage. An information processing apparatus comprising: an event canceling unit that is stored in the unit.
前記イベント登録手段は、
前記記憶手段にイベントを記憶させる際に、前記スイッチが操作された際の前記情報処理装置の電源供給を遮断する動作として、当該イベントが前記所定のイベントである場合は前記情報処理装置及び前記周辺デバイスの電源供給を遮断する第1動作を設定し、当該イベントが前記所定のイベントでない場合は前記情報処理装置及び前記周辺デバイスの少なくとも一部への電源供給を維持した状態で他の部分への電源供給を遮断する第2動作を設定することを特徴とする請求項1又は2に記載の情報処理装置。 A switch for cutting off power supply to the information processing apparatus and peripheral devices;
The event registration means includes:
When storing the event in the storage means, as an operation of shutting off the power supply of the information processing apparatus when the switch is operated, if the event is the predetermined event, the information processing apparatus and the peripheral A first operation for cutting off the power supply of the device is set, and when the event is not the predetermined event, the power supply to at least a part of the information processing apparatus and the peripheral device is maintained and the other part is The information processing apparatus according to claim 1, wherein a second operation for cutting off power supply is set.
前記所定のイベントとは、前記画像形成手段に設けられた温度センサによって測定された温度が閾値を超えると発生するイベントであることを特徴とする請求項1乃至9の何れか1項に記載の情報処理装置。 The information processing apparatus is an image forming apparatus including an image forming unit as the peripheral device,
10. The predetermined event is an event that occurs when a temperature measured by a temperature sensor provided in the image forming unit exceeds a threshold value. Information processing device.
受信手段が、周辺デバイスからイベントの発生通知又は解消通知を受信する受信工程と、
イベント登録手段が、前記受信工程でイベントの発生通知が受信されると、当該イベントを記憶手段に記憶させるイベント登録工程と、
イベント解除手段が、前記受信工程でイベントの解消通知が受信されると、受信した解消通知のイベントが前記記憶手段に記憶されているイベントであって、かつ、所定のイベントでなければ、当該イベントの解消を前記記憶手段に記憶させるイベント解除工程と
を実行することを特徴とする情報処理装置の制御方法。 A method for controlling an information processing apparatus,
A receiving step in which a receiving means receives an event occurrence notification or a cancellation notification from a peripheral device; and
When the event registration unit receives an event occurrence notification in the reception step, the event registration step stores the event in the storage unit;
When the event cancellation means receives an event cancellation notification in the receiving step, if the received cancellation notification event is an event stored in the storage means and is not a predetermined event, the event And an event canceling step of causing the storage means to store the cancellation of the information.
受信手段が、周辺デバイスからイベントの発生通知又は解消通知を受信する受信工程と、
イベント登録手段が、前記受信工程でイベントの発生通知が受信されると、当該イベントを記憶手段に記憶させるイベント登録工程と、
イベント解除手段が、前記受信工程でイベントの解消通知が受信されると、受信した解消通知のイベントが前記記憶手段に記憶されているイベントであって、かつ、所定のイベントでなければ、当該イベントの解消を前記記憶手段に記憶させるイベント解除工程と
を実行することを特徴とするプログラム。 A program for causing a computer to execute each step in a control method for an information processing apparatus, wherein the control method includes:
A receiving step in which a receiving means receives an event occurrence notification or a cancellation notification from a peripheral device; and
When the event registration unit receives an event occurrence notification in the reception step, the event registration step stores the event in the storage unit;
When the event cancellation means receives an event cancellation notification in the receiving step, if the received cancellation notification event is an event stored in the storage means and is not a predetermined event, the event An event canceling step for causing the storage means to store the cancellation of the event is executed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016240564A JP2018098608A (en) | 2016-12-12 | 2016-12-12 | Information processing apparatus, control method thereof, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016240564A JP2018098608A (en) | 2016-12-12 | 2016-12-12 | Information processing apparatus, control method thereof, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2018098608A true JP2018098608A (en) | 2018-06-21 |
Family
ID=62634770
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016240564A Pending JP2018098608A (en) | 2016-12-12 | 2016-12-12 | Information processing apparatus, control method thereof, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2018098608A (en) |
-
2016
- 2016-12-12 JP JP2016240564A patent/JP2018098608A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5949017B2 (en) | Image forming apparatus, network printing system, power saving control method, and power saving control program | |
| US8934126B1 (en) | Image processing controller for performing image processing in cooperation with image forming apparatus, image forming system including image processing controller, method of controlling image forming system, and storage medium | |
| US8854648B2 (en) | Printing system and printing control apparatus | |
| JP2013254423A (en) | Information processing apparatus and control method, and program | |
| JP6789713B2 (en) | Image forming device and control method | |
| US20160156798A1 (en) | Image forming apparatus, image forming apparatus control method, and storage medium storing program | |
| US10469676B2 (en) | Image forming systems, and methods of using same | |
| US8922805B2 (en) | Image processing apparatus having updatable firmware, method for controlling image processing apparatus, and program | |
| US9367272B2 (en) | Image processing apparatus, and method for controlling image processing apparatus | |
| CN104349001B (en) | Information processor and its control method | |
| US10455103B2 (en) | Power control method of printing apparatus | |
| JP6618286B2 (en) | Information processing apparatus, control method therefor, and program | |
| US9291983B2 (en) | Image forming apparatus, control method and program | |
| JP2014104726A (en) | Image formation device, control method for the same and program | |
| US9148540B2 (en) | Image forming apparatus, controlling method therefor, and storage medium | |
| JP2018098608A (en) | Information processing apparatus, control method thereof, and program | |
| JP2012232533A (en) | Image forming apparatus, image forming system, image forming control method, image forming control program and recording medium | |
| JP2020001220A (en) | Image processing device, image processing system and image processing program | |
| JP2011233959A (en) | Data processor and image output device | |
| US9491322B2 (en) | Image forming apparatus, method for controlling image forming apparatus, and system | |
| US9736328B2 (en) | Image forming apparatus and method for controlling an image forming apparatus | |
| JP2021026319A (en) | Image forming apparatus and method for controlling image forming apparatus | |
| JP2009130824A (en) | Printing device | |
| JP4915103B2 (en) | Image forming apparatus and apparatus management program | |
| CN107404594A (en) | The control method of image processing system and image processing system |