JP2019016985A - Information processor, control method and program, and system - Google Patents

Information processor, control method and program, and system Download PDF

Info

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
Application number
JP2017134955A
Other languages
Japanese (ja)
Inventor
聡一朗 片山
Soichiro Katayama
聡一朗 片山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2017134955A priority Critical patent/JP2019016985A/en
Publication of JP2019016985A publication Critical patent/JP2019016985A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide an information processor capable of reducing events in which log information is not transmitted to a server.SOLUTION: The information processor is configured to transmit log information stored in a storage unit according to generation of an event to a server for managing the log information through a first communication path and to delete the log information transmitted to the server from the storage unit, and is further configured to, when it cannot communicate with the server depending on a state of connecting to the first communication path, transmit log information to an external apparatus connectable with the information processor through a second communication path and connectable with the server through the first communication path.SELECTED DRAWING: Figure 6

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.

特開2010−61562号公報JP 2010-61562 A

特許文献1では、ネットワークに複数の装置が接続されている構成において、MFPの動作履歴の一時的な保存領域をMFP内の記憶領域に限定することなく記憶容量を拡張可能としている。しかしながら、例えば家庭用のMFPは、常にネットワークに接続されているとは限らない。このため、家庭用のMFPにおいては長期間ネットワークに未接続で使用した場合、ログ情報が大量に蓄積することが考えられる。そのような場合、サーバに送信することができないおそれがある。   In Patent Document 1, in a configuration in which a plurality of devices are connected to a network, the storage capacity can be expanded without limiting the temporary storage area of the operation history of the MFP to the storage area in the MFP. However, for example, home MFPs are not always connected to the network. For this reason, it is conceivable that a large amount of log information is accumulated in a home MFP when it is used without being connected to a network for a long period of time. In such a case, there is a possibility that it cannot be transmitted to the server.

本発明の目的は、このような従来の問題点を解決することにある。上記の点に鑑み、本発明は、ログ情報がサーバに送信されないケースを低減する情報処理装置、制御方法およびプログラム、並びに、システムを提供することを目的とする。   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.

情報処理システムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of an information processing system. MFPのブロック構成を示す図である。FIG. 2 is a diagram illustrating a block configuration of an MFP. PCのブロック構成を示す図である。It is a figure which shows the block structure of PC. ログ収集サーバのブロック構成を示す図である。It is a figure which shows the block configuration of a log collection server. MFPからログ収集サーバへのログ情報送信の処理を示す図である。FIG. 6 is a diagram illustrating processing for transmitting log information from an MFP to a log collection server. MFPからPCへのログ情報送信の処理を示す図である。FIG. 6 is a diagram illustrating processing for transmitting log information from the MFP to the PC. PCからログ収集サーバへのログ情報送信の処理を示す図である。It is a figure which shows the process of log information transmission to a log collection server from PC. ログ情報削除の処理を示す図である。It is a figure which shows the process of log information deletion. 識別情報を含むログ情報を示す図である。It is a figure which shows the log information containing identification information.

以下、添付図面を参照して本発明の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一の構成要素には同一の参照番号を付して、説明を省略する。   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 log collection server 300 connected to a communication network 400 configured from the Internet, an intranet, or the like. The MFP 100 is an image forming apparatus capable of executing a plurality of functions such as printing and scanning, and stores an operation history as log information when a print job is executed or an ink tank is replaced. The stored log information is transmitted to the log collection server 300 at a predetermined timing, for example.

図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 dedicated communication path 500, but can be used without being connected to the communication network 400, or can be used while connected to the communication network 400. . The PC 200 is a control device that controls the MFP 100 in which a printer driver is installed, for example. In addition, the log collection server 300 is a server for collecting log information of the MFP 100 currently arranged in each location in order for the manufacturer of the MFP 100 to provide a better service of the MFP 100, for example.

本実施形態では、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 communication network 400, MFP 100 transmits untransmitted log information to PC 200 during communication with PC 200. In that case, the PC 200 transmits the log information received from the MFP 100 to the log collection server 300 via the communication network 400. Communication between the PC 200 and the log collection server 300 is performed according to a protocol such as HTTP or XMPP.

図2は、MFP100のブロック構成を示す図である。MFP100において、CPU101は、システム制御部であり、MFP100全体の動作を統括的に制御する。ROM102は、CPU101が実行する制御プログラムやデータテーブル、組込みオペレーティングシステム(OS)プログラム等を格納する。本実施形態では、ROM102に記憶されている各制御プログラムは、ROM102に記憶されている組込みOSの管理下で、スケジューリングやタスクスイッチ、割込み処理等のソフトウェア実行制御を行う。   FIG. 2 is a diagram showing a block configuration of MFP 100. In MFP 100, CPU 101 is a system control unit and controls the overall operation of MFP 100. The ROM 102 stores a control program executed by the CPU 101, a data table, an embedded operating system (OS) program, and the like. In this embodiment, each control program stored in the ROM 102 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 102.

また、CPU101は、MFP100内でイベントが発生すると、そのイベントの実行情報に基づいてログ情報を生成して、ROM102等の記憶部に保存する。イベントとは、例えば、MFP100の実行可能な機能、例えば、印刷やスキャンのジョブの実行情報である。また、インクタンク等の消耗部材の交換時の情報もイベントのログ情報として保存される。CPU101は、このようなログ情報を、所定のタイミング、例えばMFP100が所定の状態であるときにログ収集サーバ300へ送信する。また、CPU101は、ログ情報を生成する際には、図9に示すように、識別情報をログ情報に付与する。識別情報は、ログ情報に対して各固有の情報として付与される。本実施形態では、このような識別情報により、既にログ収集サーバ300に送信したログ情報を重複して送信してしまったり、ログ収集サーバ300が同じログ情報を重複して受信してしまったりということを防ぐことができる。   Further, when an event occurs in the MFP 100, the CPU 101 generates log information based on the execution information of the event and stores it in a storage unit such as the ROM 102. The event is, for example, information that can be executed by the MFP 100, for example, execution information of a print or scan job. Information at the time of replacement of consumable members such as ink tanks is also stored as event log information. The CPU 101 transmits such log information to the log collection server 300 at a predetermined timing, for example, when the MFP 100 is in a predetermined state. Further, when generating the log information, the CPU 101 gives identification information to the log information as shown in FIG. The identification information is given as unique information to the log information. In the present embodiment, log information that has already been transmitted to the log collection server 300 is duplicated due to such identification information, or the log collection server 300 receives the same log information in duplicate. Can be prevented.

RAM103は、バックアップ電源を必要とするSRAM(Static Random Access Memory)等で構成され、不図示のデータバックアップ用の1次電池によってデータが保持されている。また、RAM103には、例えばプログラム制御変数等が記憶される。また、RAM103には、インターネットに接続されていない場合など、ログ情報をログ収集サーバ300に送信できなかった場合のログ情報を記憶するメモリエリアが設けられている。画像メモリ104は、DRAM(Dynamic Random Access Memory)等で構成され、画像データを蓄積する。また、一部の領域がソフトウェア処理の実行のためのワークエリアとして確保される。   The RAM 103 is constituted by an SRAM (Static Random Access Memory) that requires a backup power source, and data is held by a primary battery for data backup (not shown). The RAM 103 stores, for example, program control variables. The RAM 103 is provided with a memory area for storing log information when log information cannot be transmitted to the log collection server 300, such as when not connected to the Internet. The image memory 104 is configured by a DRAM (Dynamic Random Access Memory) or the like, and stores image data. Also, a part of the area is secured as a work area for executing software processing.

データ変換部105は、ページ記述言語(PDL:Page Description Language)等の解析や、キャラクタデータのCG(Computer Graphics)展開等、画像データの変換を行う。読取制御部106は、読取部107が、CISイメージセンサによって原稿を光学的に読み取り、電気的な画像データに変換した画像信号を、不図示の画像処理制御部を介して、2値化処理や中間調処理等の各種画像処理を実行し、画像データを出力する。なお、読取制御部106、読取部107は、下記の2つの読取制御方式のうちいずれで構成されても良い。第1の方式は、原稿を搬送しながら、固定されているCISイメージセンサで読取りを行うシート読取制御方式である。また、第2の方式は、原稿台に固定されている原稿を、移動するCISイメージセンサでスキャンするブック読取制御方式である。   The data conversion unit 105 performs conversion of image data such as analysis of a page description language (PDL) and the like, and CG (Computer Graphics) development of character data. The reading control unit 106 uses the CIS image sensor to optically read a document and converts the image signal converted into electrical image data into a binarization process or the like via an image processing control unit (not shown). Various image processing such as halftone processing is executed, and image data is output. Note that the reading control unit 106 and the reading unit 107 may be configured by any of the following two reading control methods. The first method is a sheet reading control method in which reading is performed by a fixed CIS image sensor while conveying a document. The second method is a book reading control method in which a document fixed on a document table is scanned with a moving CIS image sensor.

操作表示部108は、数値入力キー、モード設定キー、決定キー、取消しキー等必要最低限のキーと、LED(発光ダイオード)や7セグメント(seg)表示部などから構成され、ユーザからの複合機の各種機能の指示や設定操作を受付可能である。LCDについては、ジョブの実行中でなく一定時間、ユーザによる操作がない場合、消費電力低減のためにバックライトがOFFとされる。   The operation display unit 108 includes minimum necessary keys such as a numeric input key, a mode setting key, an enter key, and a cancel key, and an LED (light emitting diode) or 7 segment (seg) display unit. It is possible to accept instructions and setting operations for various functions. As for the LCD, when the job is not being executed and there is no operation by the user for a certain time, the backlight is turned off to reduce power consumption.

通信制御部109は、通信ネットワーク400に接続し、インターネットプロバイダへの接続や、ログ収集サーバ300との間でのデータや画像情報等の通信を行う。また、通信制御部109は、MFP100が通信ネットワーク400に接続されているのか、若しくは、LANなどのPC200との間での専用通信路のみに接続されているのかを判定可能である。なお、通信ネットワーク400への接続に関しては、HTTPやXMPP等のプロトコルに従って行われる。   The communication control unit 109 is connected to the communication network 400 to connect to an Internet provider and communicate data and image information with the log collection server 300. Further, the communication control unit 109 can determine whether the MFP 100 is connected to the communication network 400 or only connected to a dedicated communication path with the PC 200 such as a LAN. The connection to the communication network 400 is performed according to a protocol such as HTTP or XMPP.

解像度変換処理部110は、例えば、ミリ系の画像データとインチ系の画像データの相互変換等の解像度変換制御を行う。なお、解像度変換部110において、画像データの拡大縮小処理が可能である。符号復号化処理部111は、MFP100で扱う画像データ(非圧縮、MH、MR、MMR、JBIG、JPEG等)に対して、符号化/復号化処理や拡大/縮小処理を実行する。記録制御部112は、印刷対象の画像データに対して、不図示の画像処理制御部を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を実行することにより高精細な画像データに変換し、記録部113に出力する。また、記録制御部112は、USBホスト制御部115を制御することにより、定期的に記録部113の状態情報を取得する。記録部113は、レーザビームプリンタやインクジェットプリンタ等からなる記録部であり、記録制御部112で生成したカラー画像データ、またはモノクロ画像データをシート等の記録媒体に印刷する。   The resolution conversion processing unit 110 performs resolution conversion control such as mutual conversion between millimeter image data and inch image data, for example. Note that the resolution conversion unit 110 can perform enlargement / reduction processing of image data. The encoding / decoding processing unit 111 executes encoding / decoding processing and enlargement / reduction processing on image data (non-compressed, MH, MR, MMR, JBIG, JPEG, etc.) handled by the MFP 100. The recording control unit 112 performs various image processing, such as smoothing processing, recording density correction processing, and color correction, on the image data to be printed via an image processing control unit (not shown), thereby obtaining a high-definition image. The data is converted and output to the recording unit 113. In addition, the recording control unit 112 acquires the state information of the recording unit 113 periodically by controlling the USB host control unit 115. The recording unit 113 is a recording unit including a laser beam printer, an inkjet printer, or the like, and prints color image data or monochrome image data generated by the recording control unit 112 on a recording medium such as a sheet.

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 function control unit 114 performs communication control of the USB interface, and performs protocol control according to the USB communication standard. Data from the USB function control task executed by the CPU 101 is converted into a packet and USB packet transmission is performed to the PC 200, or a USB packet transmitted from the PC 200 is converted into data and transmitted to the CPU 101. In the present embodiment, log data is transmitted and received on the dedicated communication path 500 between the MFP 100 and the PC 200 by such data communication. The USB host control unit 115 is a control unit for performing communication using a protocol defined by the USB communication standard. The USB communication standard is a standard for performing bidirectional data communication at high speed, and a plurality of hubs or functions (slaves) can be connected to one host (master). The USB host control unit 115 has a host function in USB communication. Each component other than the reading unit 107 in FIG. 2 is connected to each other via a CPU bus 121 managed by the CPU 101.

図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 PC 200. The CPU 201 controls the overall operation of the PC 200 according to a program read from the ROM 202, the RAM 203, the internal storage device 204, and the external storage medium 206 via the external storage device interface (IF) 205. The ROM 202 stores a control program for the CPU 201 and the like. The RAM 203 temporarily stores programs and image data, and functions as a work memory for operating the PC 200 at high speed. The RAM 203 is also used for storing log information received from the MFP 100. The internal storage device 204 stores an operating system, a driver for the MFP 100, various application programs, image data, and the like.

通常、これらのアプリケーションソフトウェアは、これらが記憶された他のコンピュータ可読媒体から外部記憶ディスク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 operation unit 207 controls a keyboard and a pointing device (not shown) configured to accept an instruction from the operator. The display unit 208 displays various user interface screens for the operator (user). The communication unit 209 is connected to the communication network 400 to connect to an Internet provider and communicate data and the like with the log collection server 300. Connection to the communication network 400 is performed according to a protocol such as HTTP or XMPP. The USB host control unit 210 is a control unit for performing communication using a protocol defined by the USB communication standard, and is used for connection with the MFP 100 to transmit and receive log information.

図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 log collection server 300. The CPU 301 comprehensively controls the operation of the entire log collection server 300 according to a program read from the ROM 302, the RAM 303, the internal storage device 304, and the external storage medium 306 via the external storage device IF 305. The ROM 302 stores a control program for the CPU 301 and the like. The RAM 303 temporarily stores programs and image data, and functions as a work memory for operating the log collection server 300 at high speed. The internal storage device 304 stores an operating system, various application programs, image data, and the like.

通常、これらのアプリケーションソフトウェアは、これらが記憶された他のコンピュータ可読媒体から外部記憶ディスク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 operation unit 307 controls a keyboard and a pointing device (not shown) that can receive an instruction from the operator. The display unit 308 displays various user interface screens for the operator (user). The communication unit 309 is connected to the communication network 400 to connect to an Internet provider and communicate data and the like with the MFP 100 and the PC 200. Connection to the communication network 400 is performed according to a protocol such as HTTP or XMPP. Components other than the external storage medium 306 in FIG. 4 are connected to each other via a CPU bus 310 managed by the CPU 301.

図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 MFP 100 to log collection server 300 when MFP 100 is connected to communication network 400. In FIG. 5, the processing of the MFP 100 is realized, for example, when the CPU 101 reads out a program stored in the ROM 102 to the RAM 103 and executes it. Further, the processing of the log collection server 300 is realized, for example, when the CPU 301 reads out a program stored in the ROM 302 to the RAM 303 and executes it.

S501において、MFP100のCPU101は、現在のMFP100が印刷動作や操作中ではなくアイドル状態であることを確認する。アイドル状態でない場合は、以降の処理を実行せず、S501の処理を繰り返す。S502において、CPU101は、まだログ収集サーバ300への送信処理が完了していない未送信のログ情報がRAM103に存在するか否かを判定する。ここで、未送信のログ情報には、後述するPC200へ送信しその結果の通知を待機している状態のログ情報は含まれない。S502で未送信ログが存在しないと判定された場合、以降の処理を実行せず、S501の処理から繰り返す。未送信のログ情報が存在すると判定された場合、S503へ進む。   In step S <b> 501, the CPU 101 of the MFP 100 confirms that the current MFP 100 is in an idle state, not in a printing operation or operation. If not in the idle state, the subsequent processing is not executed and the processing of S501 is repeated. In step S <b> 502, the CPU 101 determines whether there is untransmitted log information in the RAM 103 that has not yet been transmitted to the log collection server 300. Here, the log information that has not been transmitted does not include log information that is transmitted to the PC 200 described later and is waiting for notification of the result. If it is determined in S502 that there is no unsent log, the subsequent processing is not executed and the processing from S501 is repeated. If it is determined that there is untransmitted log information, the process proceeds to S503.

S503において、CPU101は、通信制御部109によりネットワーク接続状態の確認を行い、MFP100が通信ネットワーク400に接続されているか否かを判定する。ここで、MFP100が通信ネットワーク400に接続されていると判定された場合、S504へ進む。一方、通信ネットワーク400に接続されていないと判定された場合、S512へ進む。S512の処理は、図6のS604以降の処理に対応しており、後述する。   In step S <b> 503, the CPU 101 confirms the network connection state using the communication control unit 109, and determines whether the MFP 100 is connected to the communication network 400. If it is determined that the MFP 100 is connected to the communication network 400, the process advances to step S504. On the other hand, if it is determined that the communication network 400 is not connected, the process proceeds to S512. The process of S512 corresponds to the process after S604 in FIG. 6 and will be described later.

S504において、CPU101は、ログ収集サーバ300との間の接続確認を行う。接続確認は、例えばPingコマンド等の接続確認コマンドの送信に対する応答を確認することにより行われても良い。ログ収集サーバ300との接続が確認できない場合、以降の処理を実行せず、S501の処理から繰り返す。ログ収集サーバ300との接続が確認できた場合、S505において、CPU101は、未送信のログ情報をログ収集サーバ300に送信する。S506において、CPU101は、ログ収集サーバ300からの応答を待機する。   In step S <b> 504, the CPU 101 confirms connection with the log collection server 300. The connection confirmation may be performed by confirming a response to transmission of a connection confirmation command such as a Ping command. If the connection with the log collection server 300 cannot be confirmed, the subsequent processing is not executed and the processing from S501 is repeated. When the connection with the log collection server 300 can be confirmed, the CPU 101 transmits untransmitted log information to the log collection server 300 in S505. In step S <b> 506, the CPU 101 waits for a response from the log collection server 300.

一方、S505で未送信のログ情報をログ収集サーバ300に送信した後、S507において、ログ収集サーバ300のCPU301は、MFP100から受信したログ情報を重複して受信していないかを、図9に示すような固有情報を用いて確認する。図9については、後述する。そして、S508において、CPU301は、MFP100にログ情報受信の結果を通知する。   On the other hand, after transmitting unsent log information to the log collection server 300 in S505, in S507, the CPU 301 of the log collection server 300 determines whether or not the log information received from the MFP 100 has been received in duplicate in FIG. Confirm using unique information as shown. FIG. 9 will be described later. In step S <b> 508, the CPU 301 notifies the MFP 100 of the log information reception result.

S509において、MFP100のCPU101は、ログ収集サーバ300からログ情報受信の成功の通知を受信したか否かを判定する。成功の通知を受信したと判定された場合、S510において、CPU101は、RAM103から送信済みログ情報の削除を行い、S511において、MFP100をアイドル状態に遷移させる。一方、S509において、成功通知を受信しなかったと判定された場合、RAM103からのログ情報の削除を行わず、S511へ進み、MFP100をアイドル状態に遷移させる。ここで、成功通知を受信しなかった場合とは、例えば、MFP100とログ収集サーバ300との通信がネットワーク環境やサーバの状況により所定の時間内に完了しなかった場合やログ情報の送信失敗の場合が該当する。   In step S <b> 509, the CPU 101 of the MFP 100 determines whether a log information reception success notification has been received from the log collection server 300. If it is determined that the notification of success has been received, the CPU 101 deletes the transmitted log information from the RAM 103 in S510, and transitions the MFP 100 to the idle state in S511. On the other hand, if it is determined in S509 that the success notification has not been received, the log information is not deleted from the RAM 103, the process proceeds to S511, and the MFP 100 is changed to the idle state. Here, when the success notification is not received, for example, when the communication between the MFP 100 and the log collection server 300 is not completed within a predetermined time depending on the network environment or the status of the server, or when the log information transmission fails. Cases apply.

図6は、MFP100からPC200へログ情報を送信する処理を示すフローチャートである。図6において、MFP100の処理は、例えば、CPU101がROM102に記憶されたプログラムをRAM103に読み出して実行することにより実現される。また、PC200の処理は、例えば、CPU201がROM202に記憶されたプログラムをRAM203に読み出して実行することにより実現される。   FIG. 6 is a flowchart showing processing for transmitting log information from MFP 100 to PC 200. In FIG. 6, the processing of the MFP 100 is realized, for example, when the CPU 101 reads out a program stored in the ROM 102 to the RAM 103 and executes it. Further, the processing of the PC 200 is realized, for example, when the CPU 201 reads a program stored in the ROM 202 into the RAM 203 and executes it.

S601において、MFP100のCPU101は、現在のMFP100が印刷動作や操作中ではなくアイドル状態であることを確認する。アイドル状態でない場合は、以降の処理を実行せず、S601の処理を繰り返す。S602において、CPU101は、まだログ収集サーバ300への送信処理を完了していない未送信のログ情報がRAM103上に存在するか否かを判定する。ここで、未送信のログ情報には、後述するPC200へ送信しその結果の通知を待機している状態のログ情報は含まれない。未送信のログ情報がRAM103上に存在しないと判定された場合、以降の処理を実行せず、S601の処理を繰り返す。未送信のログ情報がRAM103上に存在すると判定された場合、S603へ進む。   In step S <b> 601, the CPU 101 of the MFP 100 confirms that the current MFP 100 is in an idle state, not in a printing operation or operation. If not in the idle state, the subsequent processing is not executed and the processing of S601 is repeated. In step S <b> 602, the CPU 101 determines whether there is untransmitted log information on the RAM 103 that has not yet been transmitted to the log collection server 300. Here, the log information that has not been transmitted does not include log information that is transmitted to the PC 200 described later and is waiting for notification of the result. If it is determined that unsent log information does not exist on the RAM 103, the subsequent processing is not executed and the processing of S601 is repeated. If it is determined that unsent log information exists on the RAM 103, the process proceeds to S603.

S603において、CPU101は、通信制御部109によりネットワーク接続状態の確認を行い、MFP100が通信ネットワーク400に接続されているか否かを判定する。ここで、通信ネットワーク400に接続されていないと判定された場合、S604へ進み、通信ネットワーク400に接続されていると判定された場合、S609へ進む。   In step S <b> 603, the CPU 101 confirms the network connection state using the communication control unit 109 and determines whether the MFP 100 is connected to the communication network 400. If it is determined that the communication network 400 is not connected, the process proceeds to S604. If it is determined that the communication network 400 is connected, the process proceeds to S609.

通信ネットワーク400に接続されていると判定された場合、S609において、CPU101は、ログ収集サーバ300と通信可能であるか否かを判定する。ログ収集サーバ300と通信可能であると判定された場合、S610において、CPU101は、ログ収集サーバ300へログ情報を送信する。S610以降は、図5のS505以降の処理が行われる。一方、ログ収集サーバ300と通信可能でないと判定された場合、S601の処理を繰り返す。つまり、通信ネットワーク400に接続されておらず、ログ収集サーバ300とも通信できない場合には、ログ収集サーバ300へのログ情報の送信は、保留される。   If it is determined that the communication network 400 is connected, the CPU 101 determines in step S609 whether communication with the log collection server 300 is possible. If it is determined that communication with the log collection server 300 is possible, the CPU 101 transmits log information to the log collection server 300 in S610. After S610, the processes after S505 in FIG. 5 are performed. On the other hand, if it is determined that communication with the log collection server 300 is not possible, the processing of S601 is repeated. That is, when the communication is not connected to the communication network 400 and communication with the log collection server 300 is impossible, transmission of log information to the log collection server 300 is suspended.

S603でMFP100が通信ネットワーク400に接続されていないと判定された場合、S604において、CPU101は、PC200との通信確認を行い、PC200と通信可能であるか否かを判定する。PC200と通信可能でないと判定された場合、S601の処理を繰り返す。PC200と通信可能であると判定された場合、S605へ進む。   If it is determined in step S603 that the MFP 100 is not connected to the communication network 400, in step S604, the CPU 101 confirms communication with the PC 200 and determines whether communication with the PC 200 is possible. If it is determined that communication with the PC 200 is not possible, the process of S601 is repeated. If it is determined that communication with the PC 200 is possible, the process proceeds to S605.

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 CPU 101 transmits log information, the URL of the log collection server 300, and information for identifying the MFP 100 to the PC 200. The information for identifying MFP 100 is, for example, a serial number at the time of manufacture that can identify an individual. In step S <b> 606, the CPU 101 adds a flag indicating that transmission is in progress to the log information being transmitted to the PC 200. Thereafter, in S <b> 607, the CPU 101 waits for a response from the PC 200. On the other hand, after transmitting each of the above information to the PC 200 in S605, the CPU 201 of the PC 200 stores each information received from the MFP 100 in the RAM 203 in S608.

このように、本実施形態では、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 MFP 100 to the communication network 400. As the transmission control, when the MFP 100 is connected to the communication network 400 as described above, log information is transmitted to the log collection server 300. On the other hand, when the MFP 100 is not connected to the communication network 400, log information is transmitted to the log collection server 300 via the PC 200. With such a configuration, even when the MFP 100 is not connected to the communication network 400, the possibility that the log information is transmitted to the PC 200 is ensured by transmitting the log information to the PC 200. As a result, it is possible to prevent log information from staying in the MFP 100 and deleting the log information due to a capacity overage.

次に、PC200からログ収集サーバ300にログ情報を送信する処理について、図7を参照しながら説明する。   Next, processing for transmitting log information from the PC 200 to the log collection server 300 will be described with reference to FIG.

図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 PC 200 to the log collection server 300. In FIG. 7, the processing of the PC 200 is realized, for example, when the CPU 201 reads out a program stored in the ROM 202 to the RAM 203 and executes it. Further, the processing of the log collection server 300 is realized, for example, when the CPU 301 reads out a program stored in the ROM 302 to the RAM 303 and executes it. The process in FIG. 7 is started when log information is received from the MFP 100 in, for example, S605 in FIG.

S701において、PC200のCPU201は、ログ収集サーバ300との間の接続確認を行う。接続を確認できた場合、S702において、CPU201は、未送信のログ情報をログ収集サーバ300に送信する。S703において、CPU201は、ログ収集サーバ300からの応答を待機する。   In step S <b> 701, the CPU 201 of the PC 200 confirms connection with the log collection server 300. If the connection can be confirmed, the CPU 201 transmits unsent log information to the log collection server 300 in step S702. In step S <b> 703, the CPU 201 waits for a response from the log collection server 300.

一方、S702で未送信のログ情報をログ収集サーバ300に送信した後、S704において、ログ収集サーバ300のCPU301は、PC200から受信したログ情報を重複して受信しているか否かを図9に示す固有情報を用いて確認を行う。そして、S705において、CPU301は、PC200にログ情報受信の結果を通知する。   On the other hand, after transmitting unsent log information to the log collection server 300 in S702, in S704, the CPU 301 of the log collection server 300 determines whether or not the log information received from the PC 200 is received in duplicate in FIG. Confirmation is performed using the specific information shown. In step S <b> 705, the CPU 301 notifies the PC 200 of the result of log information reception.

S706において、PC200のCPU201は、ログ収集サーバ300から受信した結果の通知をMFP100に送信する。ここで、S701でログ収集サーバ300との接続を確認できなかった場合、S706において、CPU201は、送信失敗通知としてMFP100に送信する。また、不図示であるが、S702でのログ収集サーバ300との通信がネットワーク環境やサーバの状況により所定の時間内に完了しなかった場合にも、CPU201は、送信失敗通知としてMFP100に送信する。S706の後、S707において、CPU201は、MFP100から受信したログ情報の削除を行う。   In step S <b> 706, the CPU 201 of the PC 200 transmits a notification of the result received from the log collection server 300 to the MFP 100. If the connection with the log collection server 300 cannot be confirmed in S701, the CPU 201 transmits to the MFP 100 as a transmission failure notification in S706. Although not shown, the CPU 201 also transmits to the MFP 100 as a transmission failure notification even when the communication with the log collection server 300 in S702 is not completed within a predetermined time due to the network environment and server conditions. . After S706, in S707, the CPU 201 deletes the log information received from the MFP 100.

図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 MFP 100, the PC 200, and the log collection server 300. In FIG. 8, the processing of the MFP 100 is realized, for example, when the CPU 101 reads a program stored in the ROM 102 into the RAM 103 and executes it. Further, the processing of the PC 200 is realized, for example, when the CPU 201 reads a program stored in the ROM 202 into the RAM 203 and executes it. Further, the processing of the log collection server 300 is realized, for example, when the CPU 301 reads out a program stored in the ROM 302 to the RAM 303 and executes it.

PC200がMFP100から受信したログ情報をログ収集サーバ300に送信した場合、S801において、ログ収集サーバ300のCPU301は、PC200に通信結果を送信する。S802において、PC200のCPU201は、ログ収集サーバ300から通信結果を受信する。ここで、例えば、ログ収集サーバ300からの応答がない状態が所定の時間続いた場合、CPU201は、送信に失敗したと判断する。S803において、CPU201は、MFP100に対して、S802で受信した通信結果を送信する。そして、S804において、CPU201は、RAM203上からログ情報の削除を行う。   When the PC 200 transmits the log information received from the MFP 100 to the log collection server 300, the CPU 301 of the log collection server 300 transmits the communication result to the PC 200 in S801. In step S <b> 802, the CPU 201 of the PC 200 receives a communication result from the log collection server 300. Here, for example, when there is no response from the log collection server 300 for a predetermined time, the CPU 201 determines that the transmission has failed. In step S <b> 803, the CPU 201 transmits the communication result received in step S <b> 802 to the MFP 100. In step S <b> 804, the CPU 201 deletes log information from the RAM 203.

S805において、MFP100のCPU101は、ログ情報の送信成功の通知を受信したか否かを判定する。ログ情報の送信成功の通知を受信したと判定された場合、S806において、CPU101は、送信中フラグが付加されているログ情報の削除を行う。その後、S807において、CPU101は、MFP100をアイドル状態に遷移させる。一方、ログ情報の送信成功の通知を受信していない場合、ログ情報の削除は行わず、ログ情報の送信中フラグを除去し、S807において、MFP100をアイドル状態に遷移させる。ここで、S805においてPC200からの応答がない状態が所定の時間続いた場合も、CPU101は、ログ情報の送信に失敗したと判断し、ログ情報の削除は行わず、S807においてMFP100をアイドル状態に遷移させる。   In step S805, the CPU 101 of the MFP 100 determines whether or not a log information transmission success notification has been received. If it is determined that the log information transmission success notification has been received, in step S806, the CPU 101 deletes the log information to which the transmission flag is added. In step S807, the CPU 101 changes the MFP 100 to the idle state. On the other hand, if the log information transmission success notification has not been received, the log information is not deleted, the log information transmission flag is removed, and the MFP 100 is shifted to the idle state in S807. Here, also in the case where there is no response from the PC 200 for a predetermined time in S805, the CPU 101 determines that the transmission of log information has failed, does not delete the log information, and sets the MFP 100 to the idle state in S807. Transition.

図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 MFP 100. In the present embodiment, there are two routes for transmitting log information from the MFP 100 to the log collection server 300: a direct route from the MFP 100 to the log collection server 300 and a route from the MFP 100 to the log collection server 300. There is one. When the system of the MFP 100 or the PC 200 is in some abnormal state, there is a possibility that the same log is duplicated and transmitted to the log collection server 300. For example, the PC 200 cannot transmit a log information transmission success notification to the MFP 100 for some reason in S803, and the MFP 100 does not add a transmission flag to the log information in S606. In such a case, the MFP 100 may determine that there is untransmitted log information in S502 and S602, and may perform transmission processing.

そこで、本実施形態では、ログ情報に固有の識別情報を付与する。例えば、図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 log collection server 300 receives log information from the MFP 100 or the PC 200, the log collection server 300 holds the identification information. In S507 and S704, the CPU 301 of the log collection server 300 determines whether the identification information of the received log information matches the identification information of the previously received log information. If it is determined that they match, the CPU 301 determines that the log information has been received redundantly, discards the log information received in S507 and S704, and in S508 and S705, indicates that the information is discarded. Notify In this case, each of MFP 100 and PC 200 deletes the log information stored in the own apparatus, as in the case where the log information has been successfully transmitted. On the other hand, if it is determined that they do not match, the processing of S508 and S705 is performed as described above. With such a configuration, it is possible to prevent the log collection server 300 from collecting duplicate log information.

また、ログ収集サーバ300での重複したログ情報の受信を防ぐための構成でなく、MFP100において重複したログ情報の送信を防ぐように構成されても良い。例えば、MFP100のCPU101は、既にログ収集サーバ300に送信されたログ情報の識別情報を保持しておくようにする。そして、S502やS602において、CPU101は、未送信のログ情報が存在するかを判定する際に、既に送信されたログ情報の識別情報と合致するか否かを判定する。合致していると判定した場合には、CPU101は、重複するログ情報の送信と判断し、そのログ情報についての送信を行わない。一方、合致していないと判定した場合には、既に説明したようにS503やS603の処理が行われる。このような構成により、例えば、MFP100がログ収集サーバ300に送信済みのログ情報を何らかの原因により削除できなかった場合でも、重複して送信してしまうことを防ぐことができる。   Further, the MFP 100 may be configured not to prevent the log collection server 300 from receiving duplicate log information but to prevent the MFP 100 from transmitting duplicate log information. For example, the CPU 101 of the MFP 100 holds the identification information of the log information that has already been transmitted to the log collection server 300. In S502 and S602, when determining whether there is untransmitted log information, the CPU 101 determines whether it matches the identification information of the already transmitted log information. If it is determined that they match, the CPU 101 determines that overlapping log information is transmitted, and does not transmit the log information. On the other hand, if it is determined that they do not match, the processing of S503 and S603 is performed as described above. With such a configuration, for example, even when the log information transmitted from the MFP 100 to the log collection server 300 cannot be deleted for some reason, it is possible to prevent redundant transmission.

また、PC200において重複したログ情報の送信を防ぐように構成されても良い。例えば、PC200のCPU201は、既にログ収集サーバ300に送信されたログ情報の識別情報を保持しておくようにする。そして、S702において、CPU201は、ログ情報をログ収集サーバ300に送信する前に、既に送信されたログ情報の識別情報と合致するか否かを判定する。合致していると判定した場合には、CPU201は、重複するログ情報の送信と判断し、そのログ情報についての送信を行わない。その場合、CPU201は、その旨をMFP100に通知し、MFP100は、ログ情報の送信が成功した場合と同様に、自装置に保存されているログ情報の削除を行うようにする。一方、合致していないと判定した場合には、既に説明したようにS703及びS704の処理が行われる。このような構成により、例えば、PC200がログ収集サーバ300に送信済みのログ情報を何らかの原因により削除できなかった場合でも、重複して送信してしまうことを防ぐことができる。   Further, the PC 200 may be configured to prevent transmission of duplicate log information. For example, the CPU 201 of the PC 200 holds the identification information of the log information that has already been transmitted to the log collection server 300. In step S <b> 702, the CPU 201 determines whether or not the log information matches the identification information of the already transmitted log information before transmitting the log information to the log collection server 300. If it is determined that they match, the CPU 201 determines that overlapping log information is transmitted and does not transmit the log information. In that case, the CPU 201 notifies the MFP 100 to that effect, and the MFP 100 deletes the log information stored in the self apparatus, as in the case where the log information has been successfully transmitted. On the other hand, if it is determined that they do not match, the processes of S703 and S704 are performed as described above. With such a configuration, for example, even when the log information transmitted from the PC 200 to the log collection server 300 cannot be deleted for some reason, it is possible to prevent redundant transmission.

上記のログ収集サーバ300、MFP100、PC200での構成のいずれかが構成されても良いし、組み合わされて構成されても良い。   Any of the configurations of the log collection server 300, the MFP 100, and the PC 200 may be configured, or may be configured in combination.

本実施形態では、MFP100とPC200との間の接続にUSB通信の規格を使用していたが、ローカルエリアで接続するBluetooth(登録商標)等その他の通信規格に従った通信による接続でも良い。また、MFP100から外部記憶装置、例えばUSBフラッシュメモリやSDカードに書き込み、それらの記憶媒体からPC200にコピーするような接続でも良い。   In this embodiment, the USB communication standard is used for the connection between the MFP 100 and the PC 200. However, a connection based on communication according to another communication standard such as Bluetooth (registered trademark) connected in the local area may be used. Further, the connection may be such that the MFP 100 writes to an external storage device, for example, a USB flash memory or an SD card, and copies from the storage medium to the PC 200.

また、MFP100からPC200へのログ情報の送信は、MFP100に保存されているログ情報の1件ごとに行われても良いし、複数件ごとに纏めて同時に送信するようにしても良い。   The log information may be transmitted from the MFP 100 to the PC 200 for each log information stored in the MFP 100 or may be transmitted simultaneously for a plurality of log information.

また、MFP100からPC200へ送信されるMFP100の識別情報としてシリアルナンバーを使用すると説明したが、他の情報が用いられても良い。例えば、事前にユーザがログ収集サーバ300に作成しMFP100に登録しているアカウント情報が識別情報として用いられても良い。   Further, although the serial number is used as the identification information of MFP 100 transmitted from MFP 100 to PC 200, other information may be used. For example, account information created in advance in the log collection server 300 by the user and registered in the MFP 100 may be used as identification information.

また、本実施形態では、MFP100の代わりにログ情報をログ収集サーバ300に送信する装置としてPC200を説明したが、通信ネットワーク400に接続可能な情報処理装置であれば、他の形態の装置であっても良い。例えば、スマートフォンのような携帯端末がPC200の代わりに用いられても良い。   In the present embodiment, the PC 200 has been described as an apparatus that transmits log information to the log collection server 300 instead of the MFP 100. However, as long as the information processing apparatus can be connected to the communication network 400, the PC 200 may be in another form. May be. For example, a mobile terminal such as a smartphone may be used instead of the PC 200.

また、MFP100がログ情報を保存する動作を、記録部113による印刷やインクタンクの交換時と説明したが、これに限定されるものではない。例えば、読取部107によるスキャン機能やFAX機能の実施を、ログ情報を保存するイベントとしてもよい。   Further, although the operation of storing log information by the MFP 100 has been described as printing by the recording unit 113 or replacement of an ink tank, the operation is not limited to this. For example, the scanning function or the FAX function performed by the reading unit 107 may be an event for storing log information.

また、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 PC 200 may be stored. In addition, as the identification information for identifying the log information, other information may be used as long as the information does not overlap. For example, the number of log generations may be used as identification information.

また、MFP100がPC200へログ情報を送信した場合、S606でログ情報に送信中フラグを付与し、図8のS805でPC200から送信成功の通知を受信した場合に、ログ情報を削除すると説明した。しかしながら、MFP100のCPU101は、PC200へログ情報を送信すると、MFP100からログ情報を削除するようにしても良い。そのような構成により、MFP100にログ情報が滞留し、ログ情報が容量オーバーにより削除されてしまう可能性をより低減することができる。   Further, it has been described that when the MFP 100 transmits log information to the PC 200, a log transmission flag is added to the log information in S606, and the log information is deleted when a transmission success notification is received from the PC 200 in S805 of FIG. However, the CPU 101 of the MFP 100 may delete the log information from the MFP 100 when transmitting the log information to the PC 200. With such a configuration, it is possible to further reduce the possibility that the log information stays in the MFP 100 and the log information is deleted due to the capacity exceeding.

(その他の実施例)
本発明は、上述の実施形態の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又は2に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein when the log information is transmitted to the external apparatus, the storage unit stores the log information in the storage unit as information being transmitted. . 前記削除手段は、前記ログ情報が前記外部の装置に送信されると、当該ログ情報を前記記憶部から削除することを特徴とする請求項1又は2に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein when the log information is transmitted to the external apparatus, the deletion unit deletes the log information from the storage unit. 前記情報処理装置の前記第1の通信路への接続状況を判定する第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.
前記第1の判定手段により前記情報処理装置が前記第1の通信路に接続されていると判定された場合、前記サーバと通信可能であるか否かを判定する第2の判定手段、をさらに備え、
前記第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.
前記第1の判定手段により前記情報処理装置が前記第1の通信路に接続されていないと判定された場合、前記外部の装置と通信可能であるか否かを判定する第3の判定手段、をさらに備え、
前記第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の判定手段、をさらに備え、
前記第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乃至9のいずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the first communication path is a communication network. 前記第2の通信路は、前記情報処理装置と前記外部の装置との間の専用通信路であることを特徴とする請求項1乃至10のいずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the second communication path is a dedicated communication path between the information processing apparatus and the external apparatus. 前記イベントは、前記情報処理装置の機能の実行を含むことを特徴とする請求項1乃至11のいずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the event includes execution of a function of the information processing apparatus. 前記情報処理装置は、画像形成装置であることを特徴とする請求項1乃至12のいずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the information processing apparatus is an image forming apparatus. 前記外部の装置は、前記画像形成装置を制御する制御装置であることを特徴とする請求項13に記載の情報処理装置。   The information processing apparatus according to claim 13, wherein the external apparatus is a control apparatus that controls the image forming apparatus. 情報処理装置において実行される制御方法であって、
イベントの発生に応じてログ情報を記憶部に記憶させる記憶工程と、
前記記憶部に記憶された前記ログ情報を、第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乃至14のいずれか1項に記載の情報処理装置の各手段としてコンピュータを機能させるためのプログラム。   The program for functioning a computer as each means of the information processing apparatus of any one of Claims 1 thru | or 14. 情報処理装置と、前記情報処理装置を制御する制御装置と、を含むシステムであって、
前記情報処理装置は、
イベントの発生に応じてログ情報を記憶部に記憶させる記憶手段と、
前記記憶部に記憶された前記ログ情報を、第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.
JP2017134955A 2017-07-10 2017-07-10 Information processor, control method and program, and system Pending JP2019016985A (en)

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)

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