JP2019016985A - Information processor, control method and program, and system - Google Patents
Information processor, control method and program, and system Download PDFInfo
- Publication number
- JP2019016985A JP2019016985A JP2017134955A JP2017134955A JP2019016985A JP 2019016985 A JP2019016985 A JP 2019016985A JP 2017134955 A JP2017134955 A JP 2017134955A JP 2017134955 A JP2017134955 A JP 2017134955A JP 2019016985 A JP2019016985 A JP 2019016985A
- Authority
- JP
- Japan
- Prior art keywords
- processing apparatus
- information processing
- log information
- information
- server
- 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
Abstract
Description
本発明は、イベントに応じてログ情報を生成する情報処理装置、制御方法およびプログラム、並びに、システムに関する。 The present invention relates to an information processing apparatus, a control method, a program, and a system that generate log information according to an event.
近年、プリンタ、スキャン、カードスロット、FAX、ネットワーク機能を備えた複合機(以下、MFP)が普及してきている。MFPの機能の一つに、ユーザがMFPを利用したログ情報をネットワーク経由でサーバに送信する機能がある。この機能は、例えば、サーバがユーザの利用状況を把握することにより、ユーザにより良いMFPのサービスを提供するための情報収集のために行われる。一方、MFPは、ネットワークに接続されず、パーソナルコンピュータ(以下、PC)のみと接続して使用される場合がある。そこで、ネットワークに接続していないMFPからもログ情報を収集する技術が望まれている。 In recent years, multifunction devices (hereinafter referred to as MFPs) equipped with printers, scans, card slots, faxes, and network functions have become widespread. One of the functions of the MFP is a function for a user to send log information using the MFP to a server via a network. This function is performed, for example, for collecting information for providing a better MFP service to the user by the server grasping the usage status of the user. On the other hand, the MFP may be used by being connected to only a personal computer (hereinafter, PC) without being connected to a network. Therefore, a technique for collecting log information from MFPs not connected to the network is desired.
特許文献1では、ネットワークに複数の装置が接続されている構成において、MFPの動作履歴の一時的な保存領域をMFP内の記憶領域に限定することなく記憶容量を拡張可能としている。しかしながら、例えば家庭用のMFPは、常にネットワークに接続されているとは限らない。このため、家庭用のMFPにおいては長期間ネットワークに未接続で使用した場合、ログ情報が大量に蓄積することが考えられる。そのような場合、サーバに送信することができないおそれがある。
In
本発明の目的は、このような従来の問題点を解決することにある。上記の点に鑑み、本発明は、ログ情報がサーバに送信されないケースを低減する情報処理装置、制御方法およびプログラム、並びに、システムを提供することを目的とする。 An object of the present invention is to solve such conventional problems. In view of the above points, an object of the present invention is to provide an information processing apparatus, a control method, a program, and a system that reduce cases in which log information is not transmitted to a server.
上記課題を解決するため、本発明に係る情報処理装置は、情報処理装置であって、イベントの発生に応じてログ情報を記憶部に記憶させる記憶手段と、前記記憶部に記憶された前記ログ情報を、第1の通信路を介して前記ログ情報を管理するサーバへ送信する送信手段と、前記送信手段により前記サーバへ送信された前記ログ情報を前記記憶部から削除する削除手段と、前記情報処理装置の前記第1の通信路への接続状況により前記サーバと通信可能でない場合、前記情報処理装置と第2の通信路を介して接続可能であり且つ前記第1の通信路を介して前記サーバと接続可能な外部の装置に、前記ログ情報を送信するよう前記送信手段を制御する送信制御手段と、を備えることを特徴とする。 In order to solve the above-described problem, an information processing apparatus according to the present invention is an information processing apparatus, which stores log information in a storage unit according to the occurrence of an event, and the log stored in the storage unit Transmitting means for transmitting information to a server that manages the log information via a first communication path; deleting means for deleting the log information transmitted to the server by the transmitting means; If communication with the server is not possible due to the connection status of the information processing apparatus to the first communication path, the information processing apparatus can be connected to the information processing apparatus via the second communication path and via the first communication path. Transmission control means for controlling the transmission means to transmit the log information to an external device connectable to the server.
本発明によれば、ログ情報がサーバに送信されないケースを低減することができる。 ADVANTAGE OF THE INVENTION According to this invention, the case where log information is not transmitted to a server can be reduced.
以下、添付図面を参照して本発明の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一の構成要素には同一の参照番号を付して、説明を省略する。 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 embodiments are not necessarily essential to the solution means of the present invention. . The same constituent elements are denoted by the same reference numerals, and the description thereof is omitted.
図1は、本実施形態における情報処理システムの全体構成を示す図である。情報処理システム10は、MFP100と、インターネットやイントラネット等から構成される通信ネットワーク400に接続されたPC200及びログ収集サーバ300と、を含んで構成される。MFP100は、印刷やスキャン等、複数の機能を実行可能な画像形成装置であり、印刷ジョブ実行時やインクタンク交換時などに、動作履歴をログ情報として保存する。保存されたログ情報は、例えば、所定のタイミングでログ収集サーバ300に送信される。
FIG. 1 is a diagram showing an overall configuration of an information processing system in the present embodiment. The information processing system 10 includes an MFP 100, a PC 200 and a
図1では、MFP100はPC200とのみ専用通信路500を介して接続されているが、通信ネットワーク400と未接続で使用されることも、通信ネットワーク400と接続されて使用されることも可能である。PC200は、例えば、プリンタドライバがインストールされたMFP100を制御する制御装置である。また、ログ収集サーバ300は、例えば、MFP100の製造業者がより良いMFP100のサービスを提供していくために、現在各ロケーションに配置されているMFP100のログ情報を収集するためのサーバである。
In FIG. 1, the MFP 100 is connected only to the PC 200 via the
本実施形態では、MFP100がPC200とのみ接続され、通信ネットワーク400と未接続の場合、MFP100は、PC200との通信時に、未送信のログ情報をPC200へ送信する。その場合、PC200は、MFP100から受信したログ情報を、通信ネットワーク400を介してログ収集サーバ300へ送信する。PC200とログ収集サーバ300との間の通信は、HTTPやXMPPなどのプロトコルに従って行われる。
In the present embodiment, when MFP 100 is connected only to PC 200 and not connected to
図2は、MFP100のブロック構成を示す図である。MFP100において、CPU101は、システム制御部であり、MFP100全体の動作を統括的に制御する。ROM102は、CPU101が実行する制御プログラムやデータテーブル、組込みオペレーティングシステム(OS)プログラム等を格納する。本実施形態では、ROM102に記憶されている各制御プログラムは、ROM102に記憶されている組込みOSの管理下で、スケジューリングやタスクスイッチ、割込み処理等のソフトウェア実行制御を行う。
FIG. 2 is a diagram showing a block configuration of
また、CPU101は、MFP100内でイベントが発生すると、そのイベントの実行情報に基づいてログ情報を生成して、ROM102等の記憶部に保存する。イベントとは、例えば、MFP100の実行可能な機能、例えば、印刷やスキャンのジョブの実行情報である。また、インクタンク等の消耗部材の交換時の情報もイベントのログ情報として保存される。CPU101は、このようなログ情報を、所定のタイミング、例えばMFP100が所定の状態であるときにログ収集サーバ300へ送信する。また、CPU101は、ログ情報を生成する際には、図9に示すように、識別情報をログ情報に付与する。識別情報は、ログ情報に対して各固有の情報として付与される。本実施形態では、このような識別情報により、既にログ収集サーバ300に送信したログ情報を重複して送信してしまったり、ログ収集サーバ300が同じログ情報を重複して受信してしまったりということを防ぐことができる。
Further, when an event occurs in the
RAM103は、バックアップ電源を必要とするSRAM(Static Random Access Memory)等で構成され、不図示のデータバックアップ用の1次電池によってデータが保持されている。また、RAM103には、例えばプログラム制御変数等が記憶される。また、RAM103には、インターネットに接続されていない場合など、ログ情報をログ収集サーバ300に送信できなかった場合のログ情報を記憶するメモリエリアが設けられている。画像メモリ104は、DRAM(Dynamic Random Access Memory)等で構成され、画像データを蓄積する。また、一部の領域がソフトウェア処理の実行のためのワークエリアとして確保される。
The
データ変換部105は、ページ記述言語(PDL:Page Description Language)等の解析や、キャラクタデータのCG(Computer Graphics)展開等、画像データの変換を行う。読取制御部106は、読取部107が、CISイメージセンサによって原稿を光学的に読み取り、電気的な画像データに変換した画像信号を、不図示の画像処理制御部を介して、2値化処理や中間調処理等の各種画像処理を実行し、画像データを出力する。なお、読取制御部106、読取部107は、下記の2つの読取制御方式のうちいずれで構成されても良い。第1の方式は、原稿を搬送しながら、固定されているCISイメージセンサで読取りを行うシート読取制御方式である。また、第2の方式は、原稿台に固定されている原稿を、移動するCISイメージセンサでスキャンするブック読取制御方式である。
The
操作表示部108は、数値入力キー、モード設定キー、決定キー、取消しキー等必要最低限のキーと、LED(発光ダイオード)や7セグメント(seg)表示部などから構成され、ユーザからの複合機の各種機能の指示や設定操作を受付可能である。LCDについては、ジョブの実行中でなく一定時間、ユーザによる操作がない場合、消費電力低減のためにバックライトがOFFとされる。
The
通信制御部109は、通信ネットワーク400に接続し、インターネットプロバイダへの接続や、ログ収集サーバ300との間でのデータや画像情報等の通信を行う。また、通信制御部109は、MFP100が通信ネットワーク400に接続されているのか、若しくは、LANなどのPC200との間での専用通信路のみに接続されているのかを判定可能である。なお、通信ネットワーク400への接続に関しては、HTTPやXMPP等のプロトコルに従って行われる。
The
解像度変換処理部110は、例えば、ミリ系の画像データとインチ系の画像データの相互変換等の解像度変換制御を行う。なお、解像度変換部110において、画像データの拡大縮小処理が可能である。符号復号化処理部111は、MFP100で扱う画像データ(非圧縮、MH、MR、MMR、JBIG、JPEG等)に対して、符号化/復号化処理や拡大/縮小処理を実行する。記録制御部112は、印刷対象の画像データに対して、不図示の画像処理制御部を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を実行することにより高精細な画像データに変換し、記録部113に出力する。また、記録制御部112は、USBホスト制御部115を制御することにより、定期的に記録部113の状態情報を取得する。記録部113は、レーザビームプリンタやインクジェットプリンタ等からなる記録部であり、記録制御部112で生成したカラー画像データ、またはモノクロ画像データをシート等の記録媒体に印刷する。
The resolution
USBファンクション制御部114は、USBインタフェースの通信制御を行い、USB通信規格に従って、プロトコル制御を行う。CPU101が実行するUSBファンクション制御タスクからのデータをパケットに変換し、PC200にUSBパケット送信を行ったり、PC200から送信されたUSBパケットをデータに変換してCPU101に送信する。本実施形態では、このようなデータ通信により、MFP100とPC200間の専用通信路500におけるログ情報の送受信が行われる。USBホスト制御部115は、USB通信規格で定められたプロトコルで通信を行うための制御部である。USB通信規格は、双方向のデータ通信を高速に行うための規格であり、1台のホスト(マスタ)に対し、複数のハブまたはファンクション(スレーブ)が接続可能である。USBホスト制御部115は、USB通信におけるホストの機能を有する。図2の読取部107以外の各構成要素は、CPU101が管理するCPUバス121を介して、相互に接続されている。
The USB
図3は、PC200のブロック構成を示す図である。CPU201は、ROM202、RAM203、または、内部記憶装置204、外部記憶装置インタフェース(IF)205を介して外部記憶媒体206、から読み出されたプログラムに従って、PC200全体の動作を統括的に制御する。ROM202は、CPU201の制御プログラム等を記憶する。RAM203は、一時的にプログラムや画像データを記憶し、PC200の処理を高速に動作させるためのワークメモリとして機能する。RAM203は、MFP100から受信したログ情報の記憶のためにも用いられる。内部記憶装置204には、オペレーティングシステム、MFP100のドライバ、各種アプリケーションプログラムや画像データ等が記憶されている。
FIG. 3 is a diagram illustrating a block configuration of the
通常、これらのアプリケーションソフトウェアは、これらが記憶された他のコンピュータ可読媒体から外部記憶ディスク206(CD/DVDメディアなど)を介してデータを受け取り、外部記憶装置IF205によりインストールされる。操作部207は、オペレータからの指示を受付可能な構成としてのキーボードやポインティングデバイス(不図示)を制御する。表示部208は、オペレータ(ユーザ)に対して各種ユーザインタフェース画面の表示を行う。通信部209は、通信ネットワーク400に接続することで、インターネットプロバイダへの接続や、ログ収集サーバ300との間でのデータ等の通信を行う。なお、通信ネットワーク400への接続は、HTTPやXMPP等のプロトコルに従って行われる。USBホスト制御部210は、USB通信規格で定められたプロトコルで通信を行うための制御部であり、MFP100との接続に利用され、ログ情報の送受信を行う。
Normally, these application softwares receive data from other computer-readable media in which they are stored via an external storage disk 206 (such as CD / DVD media) and are installed by the external storage device IF 205. The
図4は、ログ収集サーバ300のブロック構成を示す図である。CPU301は、ROM302、RAM303、または、内部記憶装置304、外部記憶装置IF305を介して外部記憶媒体306、から読み出されたプログラムに従って、ログ収集サーバ300全体の動作を統括的に制御する。ROM302は、CPU301の制御プログラム等を記憶する。RAM303は、一時的にプログラムや画像データを記憶し、ログ収集サーバ300の処理を高速に動作させるためのワークメモリとして機能する。内部記憶装置304には、オペレーティングシステム、各種アプリケーションプログラムや画像データ等が記憶されている。
FIG. 4 is a diagram illustrating a block configuration of the
通常、これらのアプリケーションソフトウェアは、これらが記憶された他のコンピュータ可読媒体から外部記憶ディスク306(CD/DVDメディアなど)を介してデータを受け取り、外部記憶装置IF305によりインストールされる。操作部307は、オペレータからの指示を受付可能な構成としてのキーボードやポインティングデバイス(不図示)を制御する。表示部308は、オペレータ(ユーザ)に対して各種ユーザインタフェース画面の表示を行う。通信部309は、通信ネットワーク400に接続することで、インターネットプロバイダへの接続や、MFP100やPC200との間でのデータ等の通信を行う。なお、通信ネットワーク400への接続は、HTTPやXMPP等のプロトコルに従って行われる。図4の外部記憶媒体306以外の各構成要素は、CPU301が管理するCPUバス310を介して、相互に接続されている。
Normally, these application softwares receive data from other computer-readable media in which they are stored via an external storage disk 306 (such as CD / DVD media) and are installed by the external storage device IF 305. The
図5は、MFP100が通信ネットワーク400に接続されている場合に、MFP100からログ収集サーバ300にログ情報を送信する処理を示すフローチャートである。図5において、MFP100の処理は、例えば、CPU101がROM102に記憶されたプログラムをRAM103に読み出して実行することにより実現される。また、ログ収集サーバ300の処理は、例えば、CPU301がROM302に記憶されたプログラムをRAM303に読み出して実行することにより実現される。
FIG. 5 is a flowchart illustrating processing for transmitting log information from
S501において、MFP100のCPU101は、現在のMFP100が印刷動作や操作中ではなくアイドル状態であることを確認する。アイドル状態でない場合は、以降の処理を実行せず、S501の処理を繰り返す。S502において、CPU101は、まだログ収集サーバ300への送信処理が完了していない未送信のログ情報がRAM103に存在するか否かを判定する。ここで、未送信のログ情報には、後述するPC200へ送信しその結果の通知を待機している状態のログ情報は含まれない。S502で未送信ログが存在しないと判定された場合、以降の処理を実行せず、S501の処理から繰り返す。未送信のログ情報が存在すると判定された場合、S503へ進む。
In step S <b> 501, the
S503において、CPU101は、通信制御部109によりネットワーク接続状態の確認を行い、MFP100が通信ネットワーク400に接続されているか否かを判定する。ここで、MFP100が通信ネットワーク400に接続されていると判定された場合、S504へ進む。一方、通信ネットワーク400に接続されていないと判定された場合、S512へ進む。S512の処理は、図6のS604以降の処理に対応しており、後述する。
In step S <b> 503, the
S504において、CPU101は、ログ収集サーバ300との間の接続確認を行う。接続確認は、例えばPingコマンド等の接続確認コマンドの送信に対する応答を確認することにより行われても良い。ログ収集サーバ300との接続が確認できない場合、以降の処理を実行せず、S501の処理から繰り返す。ログ収集サーバ300との接続が確認できた場合、S505において、CPU101は、未送信のログ情報をログ収集サーバ300に送信する。S506において、CPU101は、ログ収集サーバ300からの応答を待機する。
In step S <b> 504, the
一方、S505で未送信のログ情報をログ収集サーバ300に送信した後、S507において、ログ収集サーバ300のCPU301は、MFP100から受信したログ情報を重複して受信していないかを、図9に示すような固有情報を用いて確認する。図9については、後述する。そして、S508において、CPU301は、MFP100にログ情報受信の結果を通知する。
On the other hand, after transmitting unsent log information to the
S509において、MFP100のCPU101は、ログ収集サーバ300からログ情報受信の成功の通知を受信したか否かを判定する。成功の通知を受信したと判定された場合、S510において、CPU101は、RAM103から送信済みログ情報の削除を行い、S511において、MFP100をアイドル状態に遷移させる。一方、S509において、成功通知を受信しなかったと判定された場合、RAM103からのログ情報の削除を行わず、S511へ進み、MFP100をアイドル状態に遷移させる。ここで、成功通知を受信しなかった場合とは、例えば、MFP100とログ収集サーバ300との通信がネットワーク環境やサーバの状況により所定の時間内に完了しなかった場合やログ情報の送信失敗の場合が該当する。
In step S <b> 509, the
図6は、MFP100からPC200へログ情報を送信する処理を示すフローチャートである。図6において、MFP100の処理は、例えば、CPU101がROM102に記憶されたプログラムをRAM103に読み出して実行することにより実現される。また、PC200の処理は、例えば、CPU201がROM202に記憶されたプログラムをRAM203に読み出して実行することにより実現される。
FIG. 6 is a flowchart showing processing for transmitting log information from
S601において、MFP100のCPU101は、現在のMFP100が印刷動作や操作中ではなくアイドル状態であることを確認する。アイドル状態でない場合は、以降の処理を実行せず、S601の処理を繰り返す。S602において、CPU101は、まだログ収集サーバ300への送信処理を完了していない未送信のログ情報がRAM103上に存在するか否かを判定する。ここで、未送信のログ情報には、後述するPC200へ送信しその結果の通知を待機している状態のログ情報は含まれない。未送信のログ情報がRAM103上に存在しないと判定された場合、以降の処理を実行せず、S601の処理を繰り返す。未送信のログ情報がRAM103上に存在すると判定された場合、S603へ進む。
In step S <b> 601, the
S603において、CPU101は、通信制御部109によりネットワーク接続状態の確認を行い、MFP100が通信ネットワーク400に接続されているか否かを判定する。ここで、通信ネットワーク400に接続されていないと判定された場合、S604へ進み、通信ネットワーク400に接続されていると判定された場合、S609へ進む。
In step S <b> 603, the
通信ネットワーク400に接続されていると判定された場合、S609において、CPU101は、ログ収集サーバ300と通信可能であるか否かを判定する。ログ収集サーバ300と通信可能であると判定された場合、S610において、CPU101は、ログ収集サーバ300へログ情報を送信する。S610以降は、図5のS505以降の処理が行われる。一方、ログ収集サーバ300と通信可能でないと判定された場合、S601の処理を繰り返す。つまり、通信ネットワーク400に接続されておらず、ログ収集サーバ300とも通信できない場合には、ログ収集サーバ300へのログ情報の送信は、保留される。
If it is determined that the
S603でMFP100が通信ネットワーク400に接続されていないと判定された場合、S604において、CPU101は、PC200との通信確認を行い、PC200と通信可能であるか否かを判定する。PC200と通信可能でないと判定された場合、S601の処理を繰り返す。PC200と通信可能であると判定された場合、S605へ進む。
If it is determined in step S603 that the
S605において、CPU101は、ログ情報と、ログ収集サーバ300のURLと、MFP100を識別するための情報とをPC200に送信する。MFP100を識別するための情報とは、例えば、個体を識別できる製造時のシリアルナンバーである。そして、S606において、CPU101は、PC200に送信中のログ情報に対して、送信中であることを示すフラグを付加する。その後、S607において、CPU101は、PC200からの応答を待機する。一方、S605で上記の各情報をPC200に送信した後、S608において、PC200のCPU201は、MFP100から受信した各情報をRAM203に格納する。
In step S <b> 605, the
このように、本実施形態では、MFP100の通信ネットワーク400への接続状況に応じたログ情報の送信制御が行われる。送信制御としては、上記で説明したように、MFP100が通信ネットワーク400に接続されている場合、ログ収集サーバ300へのログ情報の送信が行われる。一方、MFP100が通信ネットワーク400に接続されていない場合には、PC200を介してのログ収集サーバ300へのログ情報の送信が行われる。このような構成により、MFP100が通信ネットワーク400に接続されていない場合においても、ログ情報をPC200に送信することでログ収集サーバ300へ送信される可能性を確保する。その結果、MFP100内でログ情報が滞留し、容量オーバーによりログ情報が削除されてしまうことを防ぐことができる。
As described above, in the present embodiment, transmission control of log information is performed according to the connection status of the
次に、PC200からログ収集サーバ300にログ情報を送信する処理について、図7を参照しながら説明する。
Next, processing for transmitting log information from the
図7は、PC200からログ収集サーバ300にログ情報を送信する処理を示すフローチャートである。図7において、PC200の処理は、例えば、CPU201がROM202に記憶されたプログラムをRAM203に読み出して実行することにより実現される。また、ログ収集サーバ300の処理は、例えば、CPU301がROM302に記憶されたプログラムをRAM303に読み出して実行することにより実現される。図7の処理は、例えば、図6のS605により、MFP100からログ情報を受信すると開始する。
FIG. 7 is a flowchart illustrating processing for transmitting log information from the
S701において、PC200のCPU201は、ログ収集サーバ300との間の接続確認を行う。接続を確認できた場合、S702において、CPU201は、未送信のログ情報をログ収集サーバ300に送信する。S703において、CPU201は、ログ収集サーバ300からの応答を待機する。
In step S <b> 701, the
一方、S702で未送信のログ情報をログ収集サーバ300に送信した後、S704において、ログ収集サーバ300のCPU301は、PC200から受信したログ情報を重複して受信しているか否かを図9に示す固有情報を用いて確認を行う。そして、S705において、CPU301は、PC200にログ情報受信の結果を通知する。
On the other hand, after transmitting unsent log information to the
S706において、PC200のCPU201は、ログ収集サーバ300から受信した結果の通知をMFP100に送信する。ここで、S701でログ収集サーバ300との接続を確認できなかった場合、S706において、CPU201は、送信失敗通知としてMFP100に送信する。また、不図示であるが、S702でのログ収集サーバ300との通信がネットワーク環境やサーバの状況により所定の時間内に完了しなかった場合にも、CPU201は、送信失敗通知としてMFP100に送信する。S706の後、S707において、CPU201は、MFP100から受信したログ情報の削除を行う。
In step S <b> 706, the
図8は、MFP100とPC200とログ収集サーバ間300とにおけるログ情報削除の処理を示すフローチャートである。図8において、MFP100の処理は、例えば、CPU101がROM102に記憶されたプログラムをRAM103に読み出して実行することにより実現される。また、PC200の処理は、例えば、CPU201がROM202に記憶されたプログラムをRAM203に読み出して実行することにより実現される。また、ログ収集サーバ300の処理は、例えば、CPU301がROM302に記憶されたプログラムをRAM303に読み出して実行することにより実現される。
FIG. 8 is a flowchart illustrating log information deletion processing between the
PC200がMFP100から受信したログ情報をログ収集サーバ300に送信した場合、S801において、ログ収集サーバ300のCPU301は、PC200に通信結果を送信する。S802において、PC200のCPU201は、ログ収集サーバ300から通信結果を受信する。ここで、例えば、ログ収集サーバ300からの応答がない状態が所定の時間続いた場合、CPU201は、送信に失敗したと判断する。S803において、CPU201は、MFP100に対して、S802で受信した通信結果を送信する。そして、S804において、CPU201は、RAM203上からログ情報の削除を行う。
When the
S805において、MFP100のCPU101は、ログ情報の送信成功の通知を受信したか否かを判定する。ログ情報の送信成功の通知を受信したと判定された場合、S806において、CPU101は、送信中フラグが付加されているログ情報の削除を行う。その後、S807において、CPU101は、MFP100をアイドル状態に遷移させる。一方、ログ情報の送信成功の通知を受信していない場合、ログ情報の削除は行わず、ログ情報の送信中フラグを除去し、S807において、MFP100をアイドル状態に遷移させる。ここで、S805においてPC200からの応答がない状態が所定の時間続いた場合も、CPU101は、ログ情報の送信に失敗したと判断し、ログ情報の削除は行わず、S807においてMFP100をアイドル状態に遷移させる。
In step S805, the
図9は、MFP100で生成される識別情報を含むログ情報の一例を示す図である。本実施形態において、MFP100からログ収集サーバ300へのログ情報が送信される経路としては、MFP100からログ収集サーバ300への直接の経路と、PC200を介したログ収集サーバ300への経路との2つがある。MFP100またはPC200のシステムが何らかの異常状態になった場合、同一のログが重複してログ収集サーバ300へ送信される可能性がある。例えば、PC200がS803でログ情報の送信成功の通知をMFP100に何らかの原因により送信できず、MFP100が、S606で送信中フラグをログ情報に付与しなかった場合である。そのような場合には、MFP100は、S502やS602で未送信のログ情報があると判定し、送信処理を行ってしまう可能性がある。
FIG. 9 is a diagram illustrating an example of log information including identification information generated by the
そこで、本実施形態では、ログ情報に固有の識別情報を付与する。例えば、図9に示すように、用紙枚数、用紙種類、使用インク量の情報の組に対して、「12345」という識別情報を付与する。ログ収集サーバ300は、MFP100やPC200からログ情報を受信すると、その識別情報を保持するようにする。そして、S507やS704では、ログ収集サーバ300のCPU301は、受信したログ情報の識別情報が、従前に受信したログ情報の識別情報と合致するか否かを判定する。合致していると判定した場合には、CPU301は、重複してログ情報を受信したと判断し、S507やS704で受信したログ情報を破棄し、S508やS705において、破棄の旨をMFP100やPC200に通知する。その場合、MFP100とPC200はそれぞれ、ログ情報の送信が成功した場合と同様に、自装置に保存されているログ情報の削除を行うようにする。一方、合致していないと判定した場合には、既に説明したようにS508やS705の処理が行われる。このような構成により、ログ収集サーバ300が重複したログ情報を収集することを防ぐことができる。
Therefore, in this embodiment, unique identification information is added to the log information. For example, as shown in FIG. 9, identification information “12345” is given to a set of information on the number of sheets, the type of paper, and the amount of ink used. When the
また、ログ収集サーバ300での重複したログ情報の受信を防ぐための構成でなく、MFP100において重複したログ情報の送信を防ぐように構成されても良い。例えば、MFP100のCPU101は、既にログ収集サーバ300に送信されたログ情報の識別情報を保持しておくようにする。そして、S502やS602において、CPU101は、未送信のログ情報が存在するかを判定する際に、既に送信されたログ情報の識別情報と合致するか否かを判定する。合致していると判定した場合には、CPU101は、重複するログ情報の送信と判断し、そのログ情報についての送信を行わない。一方、合致していないと判定した場合には、既に説明したようにS503やS603の処理が行われる。このような構成により、例えば、MFP100がログ収集サーバ300に送信済みのログ情報を何らかの原因により削除できなかった場合でも、重複して送信してしまうことを防ぐことができる。
Further, the
また、PC200において重複したログ情報の送信を防ぐように構成されても良い。例えば、PC200のCPU201は、既にログ収集サーバ300に送信されたログ情報の識別情報を保持しておくようにする。そして、S702において、CPU201は、ログ情報をログ収集サーバ300に送信する前に、既に送信されたログ情報の識別情報と合致するか否かを判定する。合致していると判定した場合には、CPU201は、重複するログ情報の送信と判断し、そのログ情報についての送信を行わない。その場合、CPU201は、その旨をMFP100に通知し、MFP100は、ログ情報の送信が成功した場合と同様に、自装置に保存されているログ情報の削除を行うようにする。一方、合致していないと判定した場合には、既に説明したようにS703及びS704の処理が行われる。このような構成により、例えば、PC200がログ収集サーバ300に送信済みのログ情報を何らかの原因により削除できなかった場合でも、重複して送信してしまうことを防ぐことができる。
Further, the
上記のログ収集サーバ300、MFP100、PC200での構成のいずれかが構成されても良いし、組み合わされて構成されても良い。
Any of the configurations of the
本実施形態では、MFP100とPC200との間の接続にUSB通信の規格を使用していたが、ローカルエリアで接続するBluetooth(登録商標)等その他の通信規格に従った通信による接続でも良い。また、MFP100から外部記憶装置、例えばUSBフラッシュメモリやSDカードに書き込み、それらの記憶媒体からPC200にコピーするような接続でも良い。
In this embodiment, the USB communication standard is used for the connection between the
また、MFP100からPC200へのログ情報の送信は、MFP100に保存されているログ情報の1件ごとに行われても良いし、複数件ごとに纏めて同時に送信するようにしても良い。
The log information may be transmitted from the
また、MFP100からPC200へ送信されるMFP100の識別情報としてシリアルナンバーを使用すると説明したが、他の情報が用いられても良い。例えば、事前にユーザがログ収集サーバ300に作成しMFP100に登録しているアカウント情報が識別情報として用いられても良い。
Further, although the serial number is used as the identification information of
また、本実施形態では、MFP100の代わりにログ情報をログ収集サーバ300に送信する装置としてPC200を説明したが、通信ネットワーク400に接続可能な情報処理装置であれば、他の形態の装置であっても良い。例えば、スマートフォンのような携帯端末がPC200の代わりに用いられても良い。
In the present embodiment, the
また、MFP100がログ情報を保存する動作を、記録部113による印刷やインクタンクの交換時と説明したが、これに限定されるものではない。例えば、読取部107によるスキャン機能やFAX機能の実施を、ログ情報を保存するイベントとしてもよい。
Further, although the operation of storing log information by the
また、1件のログ情報に含まれる情報として、図9では、識別情報以外に、用紙枚数、用紙種類、使用インク量、を記載したが、他の情報が含まれても良い。例えば、用紙サイズが含まれても良い。また、印刷、FAXなど、実施された機能名を保存しても良いし、ログ情報がPC200に送信済みであることを示すフラグを保存するようにしても良い。また、ログ情報を識別するための識別情報は、重複することのない情報であるならば他の情報が用いられても良い。例えば、ログの生成回数が識別情報として用いられても良い。
In addition to the identification information, FIG. 9 shows the number of sheets, the sheet type, and the amount of ink used as information included in one log information. However, other information may be included. For example, the paper size may be included. In addition, the name of an executed function such as printing or FAX may be stored, or a flag indicating that log information has been transmitted to the
また、MFP100がPC200へログ情報を送信した場合、S606でログ情報に送信中フラグを付与し、図8のS805でPC200から送信成功の通知を受信した場合に、ログ情報を削除すると説明した。しかしながら、MFP100のCPU101は、PC200へログ情報を送信すると、MFP100からログ情報を削除するようにしても良い。そのような構成により、MFP100にログ情報が滞留し、ログ情報が容量オーバーにより削除されてしまう可能性をより低減することができる。
Further, it has been described that when the
(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other examples)
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.
100 MFP: 200 PC: 300 ログ収集サーバ: 101、201、301 CPU: 102、202、302 ROM: 103、203、303 RAM 100 MFP: 200 PC: 300 Log collection server: 101, 201, 301 CPU: 102, 202, 302 ROM: 103, 203, 303 RAM
Claims (17)
イベントの発生に応じてログ情報を記憶部に記憶させる記憶手段と、
前記記憶部に記憶された前記ログ情報を、第1の通信路を介して前記ログ情報を管理するサーバへ送信する送信手段と、
前記送信手段により前記サーバへ送信された前記ログ情報を前記記憶部から削除する削除手段と、
前記情報処理装置の前記第1の通信路への接続状況により前記サーバと通信可能でない場合、前記情報処理装置と第2の通信路を介して接続可能であり且つ前記第1の通信路を介して前記サーバと接続可能な外部の装置に、前記ログ情報を送信するよう前記送信手段を制御する送信制御手段と、
を備えることを特徴とする情報処理装置。 An information processing apparatus,
Storage means for storing log information in the storage unit in response to the occurrence of an event;
Transmitting means for transmitting the log information stored in the storage unit to a server that manages the log information via a first communication path;
Deleting means for deleting the log information transmitted to the server by the transmitting means from the storage unit;
If communication with the server is not possible due to the connection status of the information processing apparatus to the first communication path, the information processing apparatus can be connected to the information processing apparatus via a second communication path and via the first communication path. Transmission control means for controlling the transmission means to transmit the log information to an external device connectable to the server,
An information processing apparatus comprising:
前記削除手段は、前記受信手段により前記通知を受信すると、前記ログ情報を前記記憶部から削除する、
ことを特徴とする請求項1に記載の情報処理装置。 Receiving means for receiving a notification that the log information has been sent to the server;
The deleting unit deletes the log information from the storage unit when the notification is received by the receiving unit.
The information processing apparatus according to claim 1.
前記第1の判定手段により前記情報処理装置が前記第1の通信路に接続されていないと判定された場合、前記送信制御手段は、前記外部の装置を介して前記ログ情報を前記サーバへ送信するよう前記送信手段を制御する、
ことを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。 First determination means for determining a connection status of the information processing apparatus to the first communication path;
When the first determination unit determines that the information processing apparatus is not connected to the first communication path, the transmission control unit transmits the log information to the server via the external apparatus. Controlling the transmitting means to
The information processing apparatus according to claim 1, wherein the information processing apparatus is an information processing apparatus.
前記第2の判定手段により前記サーバと通信可能でないと判定された場合、前記送信制御手段は、前記ログ情報の前記サーバへの送信を保留する、
ことを特徴とする請求項5に記載の情報処理装置。 Second determination means for determining whether or not communication with the server is possible when the first determination means determines that the information processing apparatus is connected to the first communication path; Prepared,
If it is determined by the second determination means that communication with the server is not possible, the transmission control means suspends transmission of the log information to the server.
The information processing apparatus according to claim 5.
前記第3の判定手段により前記外部の装置と通信可能であると判定された場合、前記送信制御手段は、前記外部の装置を介して前記ログ情報を前記サーバへ送信するよう前記送信手段を制御する、
ことを特徴とする請求項5又は6に記載の情報処理装置。 Third determination means for determining whether or not communication with the external device is possible when it is determined by the first determination means that the information processing apparatus is not connected to the first communication path; Further comprising
When it is determined by the third determination means that communication with the external device is possible, the transmission control means controls the transmission means to transmit the log information to the server via the external device. To
The information processing apparatus according to claim 5 or 6.
前記生成手段により生成された前記ログ情報は、当該ログ情報を識別する識別情報を含む、
ことを特徴とする請求項1乃至7のいずれか1項に記載の情報処理装置。 Generating means for generating the log information in response to the occurrence of an event;
The log information generated by the generating unit includes identification information for identifying the log information.
The information processing apparatus according to claim 1, wherein the information processing apparatus is an information processing apparatus.
前記第4の判定手段により、前記サーバへ既に送信されたログ情報でないと判定された場合、前記送信制御手段は、当該ログ情報を前記サーバへ送信するよう前記送信手段を制御する、
ことを特徴とする請求項8に記載の情報処理装置。 Based on the identification information, further comprising fourth determination means for determining whether the log information to be transmitted by the transmission means is log information already transmitted to the server;
When it is determined by the fourth determination means that the log information is not already transmitted to the server, the transmission control means controls the transmission means to transmit the log information to the server.
The information processing apparatus according to claim 8.
イベントの発生に応じてログ情報を記憶部に記憶させる記憶工程と、
前記記憶部に記憶された前記ログ情報を、第1の通信路を介して前記ログ情報を管理するサーバへ送信する送信工程と、
前記送信工程において前記サーバへ送信された前記ログ情報を前記記憶部から削除する削除工程と、
前記情報処理装置の前記第1の通信路への接続状況により前記サーバと通信可能でない場合、前記情報処理装置と第2の通信路を介して接続可能であり且つ前記第1の通信路を介して前記サーバと接続可能な外部の装置に、前記ログ情報を送信するよう前記送信工程を制御する送信制御工程と、
を有することを特徴とする制御方法。 A control method executed in an information processing apparatus,
A storage step of storing log information in a storage unit according to the occurrence of an event;
A transmitting step of transmitting the log information stored in the storage unit to a server that manages the log information via a first communication path;
A deletion step of deleting the log information transmitted to the server in the transmission step from the storage unit;
If communication with the server is not possible due to the connection status of the information processing apparatus to the first communication path, the information processing apparatus can be connected to the information processing apparatus via a second communication path and via the first communication path. A transmission control step for controlling the transmission step to transmit the log information to an external device connectable to the server;
A control method characterized by comprising:
前記情報処理装置は、
イベントの発生に応じてログ情報を記憶部に記憶させる記憶手段と、
前記記憶部に記憶された前記ログ情報を、第1の通信路を介して前記ログ情報を管理するサーバへ送信する第1の送信手段と、
前記第1の送信手段により前記サーバへ送信された前記ログ情報を前記記憶部から削除する削除手段と、
前記情報処理装置の前記第1の通信路への接続状況により前記サーバと通信可能でない場合、前記情報処理装置と第2の通信路を介して接続可能であり且つ前記第1の通信路を介して前記サーバと接続可能な前記制御装置に送信するよう前記第1の送信手段を制御する送信制御手段と、を備え、
前記制御装置は、
前記情報処理装置から前記ログ情報を受信する受信手段と、
前記受信手段により受信した前記ログ情報を、前記第1の通信路を介して前記サーバへ送信する第2の送信手段と、を備える、
ことを特徴とするシステム。 A system that includes an information processing device and a control device that controls the information processing device,
The information processing apparatus includes:
Storage means for storing log information in the storage unit in response to the occurrence of an event;
First transmission means for transmitting the log information stored in the storage unit to a server that manages the log information via a first communication path;
Deleting means for deleting the log information transmitted to the server by the first transmitting means from the storage unit;
If communication with the server is not possible due to the connection status of the information processing apparatus to the first communication path, the information processing apparatus can be connected to the information processing apparatus via a second communication path and via the first communication path. Transmission control means for controlling the first transmission means to transmit to the control device connectable to the server,
The control device includes:
Receiving means for receiving the log information from the information processing apparatus;
A second transmission unit configured to transmit the log information received by the reception unit to the server via the first communication path;
A system characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017134955A JP2019016985A (en) | 2017-07-10 | 2017-07-10 | Information processor, control method and program, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017134955A JP2019016985A (en) | 2017-07-10 | 2017-07-10 | Information processor, control method and program, and system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019016985A true JP2019016985A (en) | 2019-01-31 |
Family
ID=65358593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017134955A Pending JP2019016985A (en) | 2017-07-10 | 2017-07-10 | Information processor, control method and program, and system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019016985A (en) |
-
2017
- 2017-07-10 JP JP2017134955A patent/JP2019016985A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5300332B2 (en) | Network device, workflow processing system, and workflow processing method | |
JP6976748B2 (en) | Image forming device, server device, information processing system, image forming device control method, and program | |
JP5732865B2 (en) | Image forming system, print data management apparatus, control method for print data management apparatus, control program for print data management apparatus, and recording medium | |
JP2011086280A (en) | Printing system, printing device, program and storage medium | |
JP2015203981A (en) | Printing system, print server and print control method, and program | |
JP7218103B2 (en) | Server system, communication device, control method, and communication system | |
US8659782B2 (en) | Image forming apparatus using option controller for printing | |
KR101700481B1 (en) | Information processing apparatus, information processing method, and information processing system | |
JP5517606B2 (en) | Processing server, control method thereof, policy server, and computer program | |
JP2020082468A (en) | Printer, printing system and print processing method | |
JP2006041764A (en) | Log recording apparatus, log recording program, and recording medium | |
JP6011368B2 (en) | Image processing apparatus, image processing system, and log management method | |
US8520235B2 (en) | System and method for storing image and image processing apparatus, wherein each of a plurality of the image processing apparatuses engaged in the collaborative image processing terminates its own respective portion of the collaborative image processing, and wherein a master one of the information processing apparatus controls which of the image processing apparatuses transmits the collaborative result data of the collaborative image processing to the storage unit | |
US9836255B2 (en) | Image forming apparatus, non-transitory computer-readable storage medium storing operation control program, and operation control method | |
CN111726468B (en) | Image processing system, image processing apparatus, information processing apparatus, and recording medium | |
US20130107302A1 (en) | Image processing apparatus, image processing method and memory medium | |
JP2009042840A (en) | Image forming apparatus | |
JP2019016985A (en) | Information processor, control method and program, and system | |
JP2020005045A (en) | Image forming apparatus, control method of image forming apparatus, program, and image forming system | |
US20240146850A1 (en) | Information processing apparatus, method of controlling information processing apparatus, and storage medium | |
JP2005071302A (en) | Image-forming device | |
JP7293317B2 (en) | IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE | |
US20230060868A1 (en) | Information processing apparatus, information processing system, information processing method, and storage medium | |
JP2007328382A (en) | Data processor, data processing method, data processing program, and recording medium | |
JP2023130395A (en) | Image forming apparatus, method for controlling image forming apparatus, program, and image forming system |