JP2020042425A - Information processing apparatus, control method, and program - Google Patents

Information processing apparatus, control method, and program Download PDF

Info

Publication number
JP2020042425A
JP2020042425A JP2018168079A JP2018168079A JP2020042425A JP 2020042425 A JP2020042425 A JP 2020042425A JP 2018168079 A JP2018168079 A JP 2018168079A JP 2018168079 A JP2018168079 A JP 2018168079A JP 2020042425 A JP2020042425 A JP 2020042425A
Authority
JP
Japan
Prior art keywords
information
data
event
information processing
management 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
JP2018168079A
Other languages
Japanese (ja)
Inventor
隆志 大薄
Takashi Ousu
隆志 大薄
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 JP2018168079A priority Critical patent/JP2020042425A/en
Publication of JP2020042425A publication Critical patent/JP2020042425A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

To change the priority of an event log that a device management server acquires from an information processing apparatus.SOLUTION: The information processing apparatus collects data generated in connection with processing performed by the information processing apparatus, temporarily stores the collected data, receives information from a management server, determines priority of the data based on the information, and manages the data to be stored according to the determination result.SELECTED DRAWING: Figure 5

Description

本発明は、情報処理装置、制御方法、およびプログラムに関する。   The present invention relates to an information processing device, a control method, and a program.

近年、情報処理装置の状態を遠隔から把握する目的で、情報処理装置内で行われる各種処理に関するデータを収集し、イベントログとしてデバイス管理サーバへ送信することが行われている。デバイス管理サーバと情報処理装置の間の通信手段として、一般にはインターネット等のネットワークが用いられるが、これらのネットワークは、通信速度の低下や、通信断によって、イベントログの送信が失敗する場合がある。このような場合に備え、情報処理装置内で収集したイベントログは、送信が行われるまで一時的にバッファ領域に蓄積しうる。しかしながら、バッファ領域は有限であり、未送信のイベントログが所定量を超えると、デバイス管理サーバに送信できないイベントログが発生する。   2. Description of the Related Art In recent years, for the purpose of remotely grasping the state of an information processing apparatus, data relating to various processes performed in the information processing apparatus has been collected and transmitted as an event log to a device management server. Generally, networks such as the Internet are used as communication means between the device management server and the information processing apparatus. However, in these networks, transmission of an event log may fail due to a decrease in communication speed or a disconnection of communication. . In preparation for such a case, the event log collected in the information processing apparatus may be temporarily accumulated in a buffer area until transmission is performed. However, the buffer area is limited, and if the unsent event log exceeds a predetermined amount, an event log that cannot be sent to the device management server occurs.

例えば特許文献1には、バッファ領域が満杯であることを検出したことに応じて、重要度の低いログ情報のうちの最も古いものを削除する情報処理装置が記載されている。   For example, Patent Literature 1 describes an information processing apparatus that deletes the oldest log information of low importance in response to detecting that the buffer area is full.

特開2007−241540号公報JP 2007-241540 A

ここで、情報処理装置のイベントログの重要度は、情報処理装置の置かれた状況によって変化しうる。例えば、消耗品の配送サービスを契約している情報処理装置は、消耗品の状態に関する情報をデバイス管理サーバに通知する必要がある。一方、そのようなサービスを契約していない情報処理装置は、消耗品の状態に関する情報をデバイス管理サーバに通知しなくてもよい。そのため、情報処理装置から取得するイベントログの優先度を変更したいという課題がある。   Here, the importance of the event log of the information processing device may change depending on the situation where the information processing device is placed. For example, an information processing apparatus that has contracted for a consumable supply service needs to notify the device management server of information on the state of the consumable. On the other hand, an information processing apparatus that does not subscribe to such a service does not need to notify the device management server of information on the status of consumables. Therefore, there is a problem that it is desired to change the priority of the event log acquired from the information processing device.

上記課題を解決するため、本発明の情報処理装置は、前記情報処理装置で行われる処理に関連して発生するデータを収集する収集手段と、前記収集手段が収集したデータを一時的に蓄積する蓄積手段と、管理サーバから情報を受け取る受信手段と、前記情報に基づいてデータの優先度を判定する判定手段と、前記判定手段の判定結果に従って前記蓄積手段で蓄積するデータを管理する管理手段と、を有する。   In order to solve the above problems, an information processing apparatus according to the present invention includes a collecting unit that collects data generated in association with a process performed by the information processing device, and temporarily stores the data collected by the collecting unit. Storing means, receiving means for receiving information from a management server, determining means for determining the priority of data based on the information, and managing means for managing data to be stored in the storing means according to the determination result of the determining means. And

本発明によれば、情報処理装置から取得するイベントログの優先度を変更することが可能になる。   According to the present invention, it is possible to change the priority of an event log acquired from an information processing device.

一実施形態に係るシステム構成例を示す図。FIG. 1 is a diagram illustrating a system configuration example according to an embodiment. 一実施形態に係る複合機のハードウェア構成図。FIG. 1 is a hardware configuration diagram of a multifunction peripheral according to one embodiment. 一実施形態に係る複合機のソフトウェア構成図。FIG. 1 is a software configuration diagram of a multifunction peripheral according to an embodiment. 一実施形態に係る複合機を登録する処理の一例を示すシーケンス図。FIG. 4 is a sequence diagram illustrating an example of a process for registering a multifunction peripheral according to an embodiment. 一実施形態に係る複合機とデバイス管理サーバとの処理シーケンスの一例を示す図。FIG. 4 is a diagram illustrating an example of a processing sequence between the multifunction peripheral and the device management server according to the embodiment. 一実施形態に係る、定期同期によって制御情報を取得するシーケンスの一例を示す図。FIG. 4 is a diagram showing an example of a sequence for acquiring control information by periodic synchronization according to one embodiment. 一実施形態に係る、PUSH通知によって制御情報を取得するシーケンスの一例を示す図。FIG. 6 is a diagram showing an example of a sequence for acquiring control information by a PUSH notification according to one embodiment. 一実施形態に係る複合機がイベントデータを蓄積する処理のフローチャートを示す図。FIG. 5 is a diagram illustrating a flowchart of a process in which the multifunction peripheral according to the embodiment accumulates event data. 一実施形態に係る複合機がイベントデータを送信する処理のフローチャートを示す図。FIG. 5 is a diagram illustrating a flowchart of a process in which the multifunction peripheral according to the embodiment transmits event data. 第1の実施形態に係るイベント優先度テーブルの一例を示す図。FIG. 4 is a diagram illustrating an example of an event priority table according to the first embodiment. 第1の実施形態に係るイベント優先度テーブルの一例を示す図。FIG. 4 is a diagram illustrating an example of an event priority table according to the first embodiment. 第2の実施形態に係るイベント優先度テーブルの一例を示す図。FIG. 13 is a diagram illustrating an example of an event priority table according to the second embodiment. 一実施形態に係る複合機がイベントデータを管理する処理のフローチャートを示す図。FIG. 4 is a diagram illustrating a flowchart of a process in which the multifunction peripheral according to the embodiment manages event data. 一実施形態に係る複合機がイベントデータを表示する表示画面の一例を示す図。FIG. 2 is a diagram illustrating an example of a display screen on which an MFP according to an embodiment displays event data.

以下、本発明を実施するための最良の形態について図面を用いて説明する。なお、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings. The following embodiments do not limit the invention according to the claims, and all combinations of the features described in the embodiments are not necessarily essential for solving the invention.

<第1の実施形態>
図1は、本実施形態に係る通信システムの一例を示すシステム構成図である。本実施形態に係る通信システムは、管理サーバ110および複合機(情報処理装置)120を含む。管理サーバ110と複合機120とは、ネットワーク100によって接続される。
<First embodiment>
FIG. 1 is a system configuration diagram illustrating an example of a communication system according to the present embodiment. The communication system according to the present embodiment includes a management server 110 and a multifunction device (information processing device) 120. The management server 110 and the MFP 120 are connected by the network 100.

管理サーバ110は、複合機120に関する情報を管理するコンピュータである。具体的には、管理サーバ110は、複合機120の契約情報と各種サービス情報とを関連づけて管理する契約管理サービスを提供する。また、複合機120などで実行されたジョブやユーザ操作といったイベントデータをイベントログとして収集するイベントログ収集サービス、およびイベントログ情報を分析するイベントログ分析サービスも提供する。   The management server 110 is a computer that manages information about the MFP 120. Specifically, the management server 110 provides a contract management service that manages the contract information of the MFP 120 in association with various service information. Also provided are an event log collection service for collecting event data such as jobs executed by the multifunction peripheral 120 and user operations as an event log, and an event log analysis service for analyzing event log information.

なお、本実施形態では、管理サーバ110は複数のサーバ群により構成されるクラウドサーバであるものとして説明を行う。しかしながら、管理サーバ110が複数のサーバ群によって構成されるよう限定するものではなく、管理サーバ110は単一のサーバマシンによって構成されてもよい。   In the present embodiment, the description will be given on the assumption that the management server 110 is a cloud server composed of a plurality of server groups. However, it is not limited that the management server 110 is configured by a plurality of server groups, and the management server 110 may be configured by a single server machine.

複合機120は複数種類の機能、例えばコピーやFAXなどの機能を実現する機器である。一例では、複合機120は、コンピュータ、スマートフォン、プリンタ、およびスキャナを含みうる。また、複合機120は、それらの機能の実行履歴を保存する機能、機能の実行時に利用する設定値やデバイスの状態に関する情報を管理する機能、およびデバイスの情報を管理サーバ110に送信する機能を具備している。複合機120の機能についての詳細な説明は後述する。   The multifunction peripheral 120 is an apparatus that implements a plurality of types of functions, for example, functions such as copying and facsimile. In one example, the MFP 120 may include a computer, a smartphone, a printer, and a scanner. The multifunction peripheral 120 also has a function of saving the execution history of those functions, a function of managing setting values used at the time of executing the functions and information on the state of the device, and a function of transmitting device information to the management server 110. I have it. A detailed description of the functions of the MFP 120 will be described later.

次に、図2を参照して、本実施形態に係る複合機120の構成の一例を説明する。複合機120は、CPU(Central Processing Unit)201、ROM(Read Only Memory)202、およびRAM(Random Access Memory)203を有する。また、複合機120は、HDD(Hard Disk Drive)、ネットワークI/F(インタフェース)205、操作部I/F206、操作部207を有する。また、複合機120は、画像処理部208、デバイスI/F209、プリンタ210、およびスキャナ211を有する。これらの複合機120の構成要素は、バス212によって通信可能に接続される。   Next, an example of a configuration of the MFP 120 according to the present embodiment will be described with reference to FIG. The multifunction peripheral 120 includes a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, and a RAM (Random Access Memory) 203. Further, the multifunction peripheral 120 includes an HDD (Hard Disk Drive), a network I / F (interface) 205, an operation unit I / F 206, and an operation unit 207. The multifunction peripheral 120 includes an image processing unit 208, a device I / F 209, a printer 210, and a scanner 211. The components of the multifunction peripheral 120 are communicably connected by a bus 212.

CPU201は、ROM202に格納されているブートプログラムによって、複合機120の全体の動作を制御するためのオペレーティングシステム(OS)を実行する。また、CPU201は、このOS上で、ROM202またはHDD204に格納されているアプリケーションプログラムを実行し、これによって複合機120の各種機能を実現するための処理を実行する。   The CPU 201 executes an operating system (OS) for controlling the overall operation of the MFP 120 by a boot program stored in the ROM 202. Further, the CPU 201 executes an application program stored in the ROM 202 or the HDD 204 on the OS, and thereby executes a process for realizing various functions of the multifunction peripheral 120.

ROM202は、eMMC(embedded Multi Media Card)などのフラッシュメモリとそのコントローラで構成され、CPUが実行するプログラムを格納する。RAM203は、CPU201のワークエリアとして用いられる。また、RAM203は、画像データを一時記憶するための画像メモリ領域としても用いられる。ROM202またはHDD204は、上記アプリケーションプログラムや画像データ、複合機120の各種設定値を格納する。なお、一例では、複合機120はHDD204を有していなくてもよい。   The ROM 202 includes a flash memory such as an eMMC (embedded Multi Media Card) and its controller, and stores a program to be executed by the CPU. The RAM 203 is used as a work area of the CPU 201. The RAM 203 is also used as an image memory area for temporarily storing image data. The ROM 202 or the HDD 204 stores the application program, the image data, and various setting values of the multifunction peripheral 120. In one example, the multifunction peripheral 120 may not have the HDD 204.

ネットワークI/F205は、ネットワーク100に接続され、ネットワーク100を介してネットワーク100上の各装置との間で情報の入出力を行う。操作部I/F206は、タッチパネルを有する操作部207とのインタフェースであり、操作部207に表示すべき画像データを操作部207に対して出力する。また、操作部I/F206は、操作部207によって受け付けたユーザ入力をCPU201に送出する。すなわち、操作部207は表示部として機能すると共に、ユーザ入力I/Fとしても機能する。   The network I / F 205 is connected to the network 100, and inputs and outputs information to and from each device on the network 100 via the network 100. The operation unit I / F 206 is an interface with the operation unit 207 having a touch panel, and outputs image data to be displayed on the operation unit 207 to the operation unit 207. The operation unit I / F 206 sends the user input received by the operation unit 207 to the CPU 201. That is, the operation unit 207 functions as a display unit and also functions as a user input I / F.

画像処理部208は、プリンタ210への画像出力処理、スキャナ211からの画像入力処理、および回転、圧縮、解像度変換、色空間変換、および階調変換の少なくとも何れかを含む処理を行う。   The image processing unit 208 performs an image output process to the printer 210, an image input process from the scanner 211, and a process including at least one of rotation, compression, resolution conversion, color space conversion, and gradation conversion.

デバイスI/F209には、プリンタ210およびスキャナ211が接続され、画像出力デバイスであるプリンタ210や画像入力デバイスであるスキャナ211を制御する。また、デバイスI/F209は、画像データの同期系/非同期系の変換を行う。   A printer 210 and a scanner 211 are connected to the device I / F 209, and control the printer 210 as an image output device and the scanner 211 as an image input device. The device I / F 209 performs synchronous / asynchronous conversion of image data.

図3は本実施形態に係る複合機120上で動作するソフトウェア300の機能モジュールを表すブロック図である。ソフトウェア300は、ROM202、RAM203、およびHDD204の少なくともいずれかの記憶手段に記憶され、CPU201によって実行される。   FIG. 3 is a block diagram illustrating functional modules of software 300 operating on the multifunction peripheral 120 according to the present embodiment. The software 300 is stored in at least one of the ROM 202, the RAM 203, and the HDD 204, and is executed by the CPU 201.

ジョブ管理モジュール301は、ネットワークI/F205を介してネットワーク100と接続され、特定の通信プロトコルにより外部機器からプリント等のジョブを受け付け、コピーやプリント、スキャン等のジョブを開始する。その際、ジョブ管理モジュール301は、他のモジュールからの要求に応じて、ジョブに関するデータを返却したり、ジョブの状態が変化したタイミングなどでイベントに関するデータを各種モジュールに伝達したりすることができる。例えば、ジョブの開始、一時停止、および終了の少なくとも何れかのイベントが発生したタイミングで、デバイスI/F制御モジュール316にイベントを通知するとともに、イベントの発生をイベントデータ生成モジュール303に伝達しうる。   The job management module 301 is connected to the network 100 via the network I / F 205, receives a job such as printing from an external device using a specific communication protocol, and starts a job such as copying, printing, or scanning. At that time, the job management module 301 can return data relating to the job in response to a request from another module, or transmit data relating to an event to various modules at a timing when the state of the job changes. . For example, when at least one of a job start, suspension, and end event occurs, the event is notified to the device I / F control module 316, and the occurrence of the event is transmitted to the event data generation module 303. .

操作部I/F制御モジュール302は、操作部207から操作部I/F206を介して、コピーやスキャン等のジョブの実行を指示するユーザ入力を受け付け、ジョブ管理モジュール301に通知する。また、操作部I/F制御モジュール302は、ユーザから受け付けた操作内容をイベントとしてイベントデータ生成モジュール303に伝達する役割も持つ。   The operation unit I / F control module 302 receives a user input for instructing execution of a job such as copying or scanning from the operation unit 207 via the operation unit I / F 206, and notifies the job management module 301. The operation unit I / F control module 302 also has a role of transmitting the operation content received from the user to the event data generation module 303 as an event.

デバイスI/F制御モジュール316は、ジョブ管理モジュール301から処理対象の画像データや制御内容を受け付け、デバイスI/F209を制御するモジュールである。また、デバイスI/F制御モジュール316は、デバイスI/F209を介してプリンタ210またはスキャナ211に実行させる制御に関する情報や、デバイスI/F209の状態の変化に関する情報をイベントデータ生成モジュール303に伝達する。   The device I / F control module 316 is a module that receives image data to be processed and control contents from the job management module 301 and controls the device I / F 209. Further, the device I / F control module 316 transmits to the event data generation module 303 information about control to be executed by the printer 210 or the scanner 211 via the device I / F 209 and information about a change in the state of the device I / F 209. .

イベントデータ生成モジュール303は、ジョブ管理モジュール301、操作部I/F制御モジュール302、およびデバイスI/F制御モジュール316から受信した情報に基づいてイベントデータ(イベントログ)を生成する。すなわち、イベントデータは、ジョブの進行状況に関する情報、ユーザ操作の内容、デバイスI/F209が実行する制御に関する情報、およびデバイスI/F209の状態の変化に関する情報に基づいて生成される。複合機120で行われる処理に関連して発生するデータである。   The event data generation module 303 generates event data (event log) based on information received from the job management module 301, the operation unit I / F control module 302, and the device I / F control module 316. That is, the event data is generated based on the information on the progress of the job, the content of the user operation, the information on the control executed by the device I / F 209, and the information on the change in the state of the device I / F 209. The data is generated in connection with processing performed by the multifunction peripheral 120.

イベントデータは、操作部I/F制御モジュール302を介して受け付けたユーザ操作、ネットワーク100を介して受け付けたジョブ、およびデバイスI/F制御モジュール316を介して取得したデバイスの少なくとも何れかに関する情報を含みうる。イベントデータのデータ形式は、バッファDB309に蓄積可能なデータ形式であれば、どのような形式であってもよい。イベントデータ生成モジュール303は、例えば、イベントの発生日時やイベントを一意に特定するためのUUID(Universal Unique Identifier)を付与する処理や、各種イベントを所定の階層構造や表現形式とする処理を行う。これらの処理は、複数種類のイベントデータを統一的に扱ったり、処理の効率性のために符号化または簡略化しているイベントデータを、分析しやすくなるよう加工したりするために行う。   The event data includes information on at least one of a user operation received via the operation unit I / F control module 302, a job received via the network 100, and a device obtained via the device I / F control module 316. May be included. The data format of the event data may be any format as long as it can be stored in the buffer DB 309. The event data generation module 303 performs, for example, a process of assigning a UUID (Universal Unique Identifier) for uniquely identifying an event occurrence date and time or an event, and a process of converting various events into a predetermined hierarchical structure or expression format. These processes are performed in order to handle a plurality of types of event data in a unified manner or to process event data coded or simplified for processing efficiency so as to be easily analyzed.

なお、本実施形態で示した処理内容以外にも、イベントデータを管理サーバ110に送信するために、あらかじめデータ構造の加工をする必要があれば、イベントデータ生成モジュール303が加工してもよい。   Note that, in addition to the processing contents described in the present embodiment, if it is necessary to process the data structure in advance in order to transmit event data to the management server 110, the event data generation module 303 may perform processing.

また、イベントデータ生成モジュール303は、優先度判定モジュール304から、イベントの分類に応じた優先度情報を取得し、内部管理情報としてイベントデータに付加する。内部管理情報とは、複合機120内でのみ利用され、複合機120の外部には送信されない情報である。しかしながら、一例では、優先度情報を内部管理情報として扱わず、イベントデータに付加し、イベント情報として複合機120の外部に送信してもよい。例えば、イベントデータ生成モジュール303は優先度判定モジュール304から、イベント分類に応じた優先度情報が送信しないイベントを示す優先度情報であった場合、イベント情報の生成を行わない。優先度判定モジュール304の詳細については後述する。   Further, the event data generation module 303 acquires the priority information according to the event classification from the priority determination module 304, and adds the priority information to the event data as internal management information. The internal management information is information that is used only in the MFP 120 and is not transmitted outside the MFP 120. However, in one example, the priority information may not be treated as internal management information, but may be added to event data and transmitted to the outside of the multifunction peripheral 120 as event information. For example, the event data generation module 303 does not generate event information from the priority determination module 304 when the priority information corresponding to the event classification is the priority information indicating the event to be not transmitted. Details of the priority determination module 304 will be described later.

バッファDB(Database)制御モジュール307は、バッファすべきイベントデータをバッファDB309に保存する。また、バッファDB制御モジュール307は、バッファしたイベントデータ生成の通知をバッファデータ通知モジュール310に指示する役割も持つ。   The buffer DB (Database) control module 307 stores event data to be buffered in the buffer DB 309. Further, the buffer DB control module 307 has a role of instructing the buffer data notification module 310 of notification of generation of buffered event data.

バッファDB309は、イベントデータの発生タイミングと、当該イベントデータを管理サーバ110に送信するタイミングの差を吸収するために用いられる。例えば、ネットワーク100に生じた通信障害によって管理サーバ110との間の通信が切断されている間は、発生したイベントデータはバッファDB309に一時的に蓄積し続けられる。その後、通信障害が回復し、通信可能な状態に復帰した場合は、複合機120はバッファDB309に格納されたイベントデータを順次送信するとともに、送信したイベントデータをバッファDB309から削除する。   The buffer DB 309 is used to absorb a difference between the generation timing of the event data and the transmission timing of the event data to the management server 110. For example, while communication with the management server 110 is cut off due to a communication failure that has occurred in the network 100, event data that has occurred is temporarily stored in the buffer DB 309. After that, when the communication failure is recovered and the communication is restored, the multifunction peripheral 120 sequentially transmits the event data stored in the buffer DB 309 and deletes the transmitted event data from the buffer DB 309.

ここで、バッファDB309に格納されたデータ量が、格納可能な容量に対応する所定の閾値に達した場合、バッファDB制御モジュール307はイベントデータに付加された優先度情報に従い、イベントデータの少なくとも一部を削除するか否かを判断する。   Here, when the amount of data stored in the buffer DB 309 reaches a predetermined threshold corresponding to the storable capacity, the buffer DB control module 307 determines at least one of the event data in accordance with the priority information added to the event data. It is determined whether to delete the copy.

ここで、図13を参照し、バッファDB制御モジュール307がイベントデータを管理するための処理を説明する。まず、S1301で、バッファDB制御モジュール307は、イベントデータ生成モジュール303から新たに保存すべきイベントデータを受信する。続いて、バッファDB制御モジュール307は、S1302で、受信したイベントデータをバッファDBに格納するか否かを判断する。バッファDBに格納しないと判断すると(S1302でNo)、バッファDB制御モジュール307は処理をS1303に進め、受信したイベントデータを管理サーバ110に送信する。バッファDBに格納すると判断すると(S1302でYes)、バッファDB制御モジュール307は処理をS1304に進める。なお、S1303でも、送信が完了するまで、データを一時的に保持していてもよい。また、複合機120がイベントデータを送信する順番は、優先度に従って決定されてもよい。例えば、優先度が高いイベントデータから順に管理サーバ110に送信してもよい。   Here, a process for the buffer DB control module 307 to manage event data will be described with reference to FIG. First, in S1301, the buffer DB control module 307 receives event data to be newly stored from the event data generation module 303. Subsequently, in S1302, the buffer DB control module 307 determines whether to store the received event data in the buffer DB. If it is determined that the event data is not to be stored in the buffer DB (No in S1302), the buffer DB control module 307 advances the process to S1303, and transmits the received event data to the management server 110. If it is determined that the data is to be stored in the buffer DB (Yes in S1302), the buffer DB control module 307 advances the processing to S1304. In S1303, the data may be temporarily held until the transmission is completed. The order in which the MFP 120 transmits the event data may be determined according to the priority. For example, the event data may be transmitted to the management server 110 in descending order of priority.

S1304において、バッファDB制御モジュール307はバッファDBに格納されたデータ量が閾値以上であるか否かを判断する。例えば、格納可能なデータ量に対する格納されているデータ量の割合が閾値以上であるか否かを判断する。格納されているデータ量が閾値以下である場合(S1304でNo)、バッファDB制御モジュール307は、処理をS1305に進め、受信したイベントデータをバッファDBに格納する。格納されているデータ量が閾値より多い場合(S1304でYes)、バッファDB制御モジュール307は、処理をS1306に進める。   In step S1304, the buffer DB control module 307 determines whether the amount of data stored in the buffer DB is equal to or larger than a threshold. For example, it is determined whether or not the ratio of the stored data amount to the storable data amount is equal to or greater than a threshold. If the amount of data stored is equal to or smaller than the threshold (No in S1304), the buffer DB control module 307 advances the process to S1305, and stores the received event data in the buffer DB. If the stored data amount is larger than the threshold (Yes in S1304), the buffer DB control module 307 advances the processing to S1306.

S1306において、バッファDB制御モジュール307は、受信したイベントデータの優先度と、バッファDB309に格納されているイベントデータの優先度とを判定し、判定結果を比較する。続いて、バッファDB制御モジュール307は、バッファDB309に格納されているイベントデータの中から、受信したイベントデータの優先度より優先度の低いイベントデータを検索する。そして、バッファDB制御モジュール307は処理をS1307に進め、新たに受信したイベントデータの優先度より優先度の低いイベントデータを、古い順にバッファDB309から削除する。新たに受信したイベントデータの優先度より優先度の低いイベントデータが無い場合、バッファDB制御モジュール307は、S1306で新たに受信したイベントデータと同一優先度のイベントデータを検索する。続いて、バッファDB制御モジュール307は処理をS1307に進め、イベントデータを、例えば古い順にバッファDB309から削除する。なお、S1307では、イベントデータを削除したことをバッファDB309に蓄積してもよい。新たなイベントデータの優先度より低いまたは同一の優先度のイベントデータがバッファDB309にない場合には、バッファDB制御モジュール307はS1307でイベントデータ生成モジュール303から受信したイベントデータを削除する。   In step S1306, the buffer DB control module 307 determines the priority of the received event data and the priority of the event data stored in the buffer DB 309, and compares the determination results. Subsequently, the buffer DB control module 307 searches the event data stored in the buffer DB 309 for event data having a lower priority than the received event data. Then, the buffer DB control module 307 advances the process to S1307, and deletes event data having a lower priority than the newly received event data from the buffer DB 309 in chronological order. If there is no event data having a lower priority than the newly received event data, the buffer DB control module 307 searches for event data having the same priority as the newly received event data in S1306. Subsequently, the buffer DB control module 307 advances the process to S1307, and deletes event data from the buffer DB 309, for example, in chronological order. In S1307, the fact that the event data has been deleted may be accumulated in the buffer DB 309. If there is no event data with a lower priority or the same priority as the new event data in the buffer DB 309, the buffer DB control module 307 deletes the event data received from the event data generation module 303 in S1307.

図3の説明に戻る。バッファデータ通知モジュール310は、通知するイベントログをクラウド送信モジュール312に通知するモジュールである。なお、バッファデータ通知モジュール310は、複数の管理サーバ110に対して、異なるバッファデータを送信してもよい。例えば、バッファデータ通知モジュール310は、バッファDB309に格納されたバッファデータのうち、ジョブに関する情報をある管理サーバ110に送信し、消耗品の状態に関する情報を、異なる管理サーバ110に送信してもよい。   Returning to the description of FIG. The buffer data notification module 310 is a module that notifies the event log to be notified to the cloud transmission module 312. Note that the buffer data notification module 310 may transmit different buffer data to a plurality of management servers 110. For example, the buffer data notification module 310 may transmit information about a job among the buffer data stored in the buffer DB 309 to a certain management server 110, and may transmit information about the status of consumables to a different management server 110. .

データ形式変換モジュール311は、イベントデータ生成モジュール303が生成したイベントデータを、管理サーバ110のイベントログ管理サービスが解釈可能なイベントログ(イベント情報)の形式にデータ変換する。ここで、データ形式変換モジュール311は優先度が高く、古いイベントデータから順にデータ変換をおこなう。本実施形態においては、データ形式変換モジュール311がデータ変換によって生成するイベント情報のデータ形式は、JSON(Javascript Object Notation)であるものとする。JSONのような一般的に広く用いられる形式を使用することにより、イベントログを加工、分析、または可視化する際に使用する各種ソフトウェア間での相互運用性を高めることが可能となる。別の例では、イベント情報のデータ形式は、XML(Extensible Markup Language)またはCSV(Comma−Separated Values)であってもよい。   The data format conversion module 311 converts the event data generated by the event data generation module 303 into a format of an event log (event information) that can be interpreted by the event log management service of the management server 110. Here, the data format conversion module 311 performs data conversion in the order of higher priority and older event data. In the present embodiment, the data format of the event information generated by the data format conversion module 311 by the data conversion is JSON (Javascript Object Notation). By using a generally widely used format such as JSON, it is possible to enhance interoperability between various software used when processing, analyzing, or visualizing an event log. In another example, the data format of the event information may be XML (Extensible Markup Language) or CSV (Comma-Separated Values).

クラウド送信モジュール312は、ネットワーク100を介してイベントログを管理サーバ110に送信する。クラウド送信モジュール312は、イベントログだけではなく、管理サーバ110に対する各種情報の要求や、通知を行う。クラウド送信モジュール312がイベントログ以外の情報を取得または通知する処理については、図5の説明において後述する。   The cloud transmission module 312 transmits an event log to the management server 110 via the network 100. The cloud transmission module 312 requests and notifies various information to the management server 110 in addition to the event log. The process in which the cloud transmission module 312 acquires or notifies information other than the event log will be described later with reference to FIG.

クラウド受信モジュール315は、ネットワーク100を介して管理サーバ110から各種情報を受信する。各種情報は、後述するように、複合機120が管理サーバ110に送信すべきイベントデータの優先度を判定するための制御情報を含む。本実施形態においては管理サーバ110からクラウド受信モジュール315が受信するデータの形式もJSONであるものとする。   The cloud receiving module 315 receives various information from the management server 110 via the network 100. The various types of information include control information for the MFP 120 to determine the priority of event data to be transmitted to the management server 110, as described later. In the present embodiment, it is assumed that the format of the data received by the cloud receiving module 315 from the management server 110 is also JSON.

受信データ解析モジュール314は、クラウド受信モジュール315を介して受信したJSON形式のデータを解析し、解析により取得した受信データを受信データDB制御モジュール313に通知する。受信データDB制御モジュール313は、受信データを受信データDB308に格納するとともに、受信データの内容に基づいて、各モジュールに対しデータ受信通知を伝達することができる。本実施形態においては、受信データDB制御モジュール313は、優先度テーブル設定モジュール306に対して、データ受信通知を行う。   The reception data analysis module 314 analyzes the JSON format data received via the cloud reception module 315, and notifies the reception data DB control module 313 of the reception data obtained by the analysis. The reception data DB control module 313 can store the reception data in the reception data DB 308 and transmit a data reception notification to each module based on the content of the reception data. In the present embodiment, the reception data DB control module 313 notifies the priority table setting module 306 of data reception.

優先度テーブル設定モジュール306は、受信データDB制御モジュール313からデータの受信通知を受け取ると、通知されたデータまたは受信データDB308に格納されているデータに基づいて、優先度テーブル305を設定する。優先度判定モジュール304は、所定のタイミングで優先度テーブル305からデータを読み出し、当該データに基づいてイベントの分類ごとの優先度を判断し、イベントデータを生成しているイベントデータ生成モジュール303に優先度情報を提供する。   Upon receiving the data reception notification from the reception data DB control module 313, the priority table setting module 306 sets the priority table 305 based on the notified data or the data stored in the reception data DB 308. The priority determination module 304 reads data from the priority table 305 at a predetermined timing, determines the priority of each event classification based on the data, and gives priority to the event data generation module 303 that is generating event data. Provide degree information.

次に、図4を参照して、複合機120を管理サーバ110に登録する処理の一例を説明する。ユーザが複合機120の操作部207を介して登録操作を行うと、複合機120はS401で、管理サーバ110に、登録要求およびデバイス情報を所定の手順で送信する。デバイス情報は、デバイスのシリアル番号、製品名、出荷仕向け、タイムゾーン情報など、デバイス個体を一意に特定する情報と、デバイスの種類を特定する情報とが含まれうる。管理サーバ110は、登録要求およびデバイス情報を受け取ると、複合機120のデバイス情報を記憶し、登録情報と制御情報とを複合機120に通知する。登録情報または制御情報は、複合機120または複合機120に設置されたデバイスに関連付けられた契約情報や、送信すべきイベントデータ情報、イベントデータの優先度などが含まれる。S401、S402の詳細に関しては、図5の説明において後述する。   Next, an example of a process of registering the MFP 120 in the management server 110 will be described with reference to FIG. When the user performs a registration operation via the operation unit 207 of the multifunction peripheral 120, the multifunction peripheral 120 transmits a registration request and device information to the management server 110 in a predetermined procedure in S401. The device information may include information for uniquely identifying a device individual such as a device serial number, a product name, shipping destination, time zone information, and information for identifying a device type. Upon receiving the registration request and the device information, the management server 110 stores the device information of the MFP 120, and notifies the MFP 120 of the registration information and the control information. The registration information or control information includes contract information associated with the multifunction peripheral 120 or a device installed in the multifunction peripheral 120, event data information to be transmitted, priority of event data, and the like. Details of S401 and S402 will be described later in the description of FIG.

デバイスの登録情報、制御情報を受信すると、複合機120は管理サーバ110から受信した情報に従いイベントデータの送信処理の開始設定及び、イベントの優先度設定を行う。複合機120において、イベントデータ送信対象のイベントが発生すると、S403において、複合機120はイベントデータの優先度に従い、イベントデータの生成・保護・削除を判断し、一時領域にバッファリングする。その後、管理サーバ110へ当該イベントデータを送信可能なタイミングで送信を行う。イベント発生からバッファリング、イベント送信に関しては、図8および図9を参照して後述する。   Upon receiving the device registration information and the control information, the multifunction peripheral 120 sets the start of the event data transmission process and the event priority according to the information received from the management server 110. When an event to be transmitted with event data occurs in the multifunction peripheral 120, in S403, the multifunction peripheral 120 determines generation, protection, and deletion of event data according to the priority of the event data, and buffers the event data in a temporary area. After that, the event data is transmitted to the management server 110 at a transmittable timing. Buffering and event transmission from event occurrence will be described later with reference to FIGS.

例えば、複合機120のトナーなどの消耗品の交換が必要になった場合に、消耗品を自動配送するサービスが契約されている場合、イベントとは、消耗品の寿命低下検知を示すイベントでありうる。この場合、当該イベントのイベントデータを受け取った管理サーバ110は、消耗品自動配送システムに消耗品の寿命低下検知を通知し、複合機120に対する消耗品配送指示を行うことができる。なお、複合機120で契約しているサービスは、消耗品の自動配送サービスに加え、複合機120の保守点検サービスをも含みうる。   For example, if a service for automatically delivering consumables is contracted when replacement of consumables such as toner of the multifunction peripheral 120 is required, the event is an event indicating that the life of the consumables has been reduced. sell. In this case, the management server 110 that has received the event data of the event notifies the automatic supply system of the consumables of the detection of the shortened life of the consumables, and can instruct the multifunction peripheral 120 to deliver the consumables. The service contracted for the multifunction peripheral 120 may include a maintenance and inspection service for the multifunction peripheral 120 in addition to an automatic delivery service for consumables.

図5は、複合機120の情報を管理サーバ110に登録する処理の一例を示すシーケンス図である。図5の処理は、複合機120がイベント情報を管理サーバ110に通知する前に実行される。複合機120は管理サーバ110に対して、登録処理を行った後、イベントが発生すると、イベントログに関わる情報を管理サーバ110に対して送信し、管理サーバ110から当該情報を受信する。   FIG. 5 is a sequence diagram illustrating an example of a process of registering information of the multifunction peripheral 120 in the management server 110. The process in FIG. 5 is executed before the MFP 120 notifies the management server 110 of the event information. When an event occurs after performing a registration process with respect to the management server 110, the multifunction peripheral 120 transmits information related to the event log to the management server 110, and receives the information from the management server 110.

まず、S501で、複合機120は、ユーザから管理サーバ110への接続操作を受け付けると、接続先情報要求を行う。本例では、S501で複合機120が送信する情報は、複合機120の設置地域に関する情報を含むものとする。ここで、S501の接続操作は、管理サーバ110への情報送信に対する同意を示す操作部のユーザ操作、サービスマンによる接続開始操作、および外部機器から複合機120に対する接続指示コマンドの受信を含みうる。   First, in step S501, when the MFP 120 receives a connection operation from the user to the management server 110, the MFP 120 requests connection destination information. In this example, it is assumed that the information transmitted by the MFP 120 in S501 includes information on the installation area of the MFP 120. Here, the connection operation in S501 may include a user operation of the operation unit indicating consent to information transmission to the management server 110, a connection start operation by a serviceman, and reception of a connection instruction command to the MFP 120 from an external device.

続いて、管理サーバ110は、接続先情報取得に対する応答として、S502で接続先情報を返送する。本例では、S502で管理サーバ110が送信する情報はリージョン情報を含むものとする。   Subsequently, the management server 110 returns the connection destination information in S502 as a response to the connection destination information acquisition. In this example, the information transmitted by the management server 110 in S502 includes region information.

S503において、複合機120は管理サーバ110に対し、登録要求を送信する。登録要求には、デバイスシリアル番号、製品名、出荷仕向け、およびタイムゾーン情報の少なくとも何れかを含む、デバイスを一意に特定する情報と、デバイスの種類を特定する情報とが含まれる。管理サーバ110はS503で登録要求を受信すると、管理サーバ110は、S504でデバイスの登録IDを含む登録結果を返送する。   In S503, the multifunction peripheral 120 transmits a registration request to the management server 110. The registration request includes information for uniquely specifying a device, including at least one of a device serial number, a product name, shipping destination, and time zone information, and information for specifying a device type. When the management server 110 receives the registration request in S503, the management server 110 returns a registration result including the registration ID of the device in S504.

続いて、複合機120は管理サーバ110へ、S505で申込み情報要求を送信する。管理サーバ110はS505で申込み情報要求を受信すると、S506で複合機120の登録IDに紐づけられた申込み情報を返送する。申込み情報とは、管理サーバ110が、契約申し込みや、サービスの停止、仕様の変更等により、変更を行うための情報である。例えば、申込み情報には、申込みID、申込みサービス名、申込みサービスID、および申込みサービスの種別情報の少なくとも何れかが含まれる。複合機120の登録IDに紐づけられた申込み情報は1つもない場合もあり、また、複数である場合もある。   Subsequently, the multifunction peripheral 120 transmits an application information request to the management server 110 in S505. Upon receiving the application information request in S505, the management server 110 returns the application information associated with the registration ID of the MFP 120 in S506. The application information is information for the management server 110 to make a change by applying for a contract, stopping a service, changing a specification, or the like. For example, the application information includes at least one of an application ID, an application service name, an application service ID, and application service type information. There may be no application information associated with the registration ID of the multifunction peripheral 120, or there may be a plurality of application information.

続いて、複合機120は管理サーバ110へ、S507で送信設定要求を送信する。送信設定要求を受信した管理サーバ110は、S508で送信設定を返送する。送信設定とは、管理サーバ110が、契約申し込みや、サービスの停止、仕様の変更等により、変更を行う情報である。例えば、送信設定には、管理サーバ110が複合機120に要求する送信設定(以後、所望の設定)、管理サーバ110が認識している複合機120の送信設定(以後、現在の設定)、およびその差分情報の少なくとも何れかが含まれる。   Subsequently, the multifunction peripheral 120 transmits a transmission setting request to the management server 110 in S507. The management server 110 that has received the transmission setting request returns the transmission setting in S508. The transmission setting is information for the management server 110 to change by applying for a contract, stopping a service, changing a specification, and the like. For example, the transmission settings include a transmission setting requested by the management server 110 to the MFP 120 (hereinafter, a desired setting), a transmission setting of the MFP 120 recognized by the management server 110 (hereinafter, a current setting), and At least one of the difference information is included.

例えば、本実施形態において、送信設定は、図10に示すイベントの分類を示す情報(event_categoly)と、イベントの優先度を示す情報(event_priority)とが組み合わせられたイベント優先度情報を含むものとする。複合機120は、S508で送信設定を受信すると、優先度テーブル設定モジュール306により、所望の設定に基づいて優先度テーブル305を変更する。続いて、変更した優先度テーブル305に基づいて、複合機120は、S509で現在の設定またはイベント情報を制御結果として管理サーバ110に通知する。   For example, in the present embodiment, the transmission setting includes event priority information in which information (event_category) indicating the classification of an event illustrated in FIG. 10 and information (event_priority) indicating the priority of the event are combined. When the MFP 120 receives the transmission setting in S508, the priority table setting module 306 changes the priority table 305 based on the desired setting. Subsequently, based on the changed priority table 305, the MFP 120 notifies the management server 110 of the current setting or event information as a control result in S509.

例えば、複合機120で契約中のサービスが変更されることなどによって、申込み情報や送信設定が変化しうる。そのような場合であっても管理サーバ110が複合機120を管理することができるように、複合機120は定期的に管理サーバ110と通信してもよい。図6に、定期的に申込み情報と送信設定とを受信する、管理サーバ110と複合機120との処理を示す。本実施形態においては、複合機120の電源ON時と、電源ONから24時間ごととに図6に示すシーケンスを実行するものとする。   For example, application information and transmission settings may change due to a change in a service under contract in the multifunction peripheral 120. Even in such a case, the multifunction peripheral 120 may periodically communicate with the management server 110 so that the management server 110 can manage the multifunction peripheral 120. FIG. 6 shows processing of the management server 110 and the multifunction peripheral 120 that periodically receives the application information and the transmission setting. In the present embodiment, the sequence shown in FIG. 6 is executed when the power of the MFP 120 is turned on and every 24 hours after the power is turned on.

なお、図6のS601は図5のS505と、S602はS506と、S603はS507と、S604はS508と、およびS605はS509と同様の処理を行うため、説明を省略する。また、S601およびS602の処理と、S603、S604、およびS605の処理とを連続して実施する必要はない。   Note that S601 in FIG. 6 performs the same processing as S505 in FIG. 5, S602 and S506, S603 and S507, S604 and S508, and S605 and S509, and a description thereof will be omitted. Further, the processing of S601 and S602 and the processing of S603, S604, and S605 do not need to be performed continuously.

また、図7に示すように、管理サーバ110が情報変更した際に、その情報をPUSH通知にて通知するような形態でも構わない。図7のS701は図5のS506と、S702はS508と、S703はS509と同様の処理を行うため、説明を省略する。   Also, as shown in FIG. 7, when the management server 110 changes information, the information may be notified by a PUSH notification. S701 in FIG. 7 performs the same processing as S506, S702, and S508 in FIG. 5, and S703 performs the same processing as S509, and a description thereof will be omitted.

図8は、デバイスI/F制御モジュール316、ジョブ管理モジュール301、または操作部I/F制御モジュール302からのデータに基づいてイベントデータを生成し、バッファDB309に蓄積する処理を表すフローチャートである。図8のフローチャートはROM202もしくはHDD204に格納されたプログラムを必要に応じRAM203に展開し、CPU201で実行することにより実現される。図8に示す処理は、デバイスI/F制御モジュール316、ジョブ管理モジュール301、または操作部I/F制御モジュール302が何らかのイベントをイベントデータ生成モジュール303に伝達したことを契機に開始されるものとする。本実施形態では、主にデバイスI/F制御モジュール316からのイベントを契機に処理を開始する例について説明する。   FIG. 8 is a flowchart illustrating a process of generating event data based on data from the device I / F control module 316, the job management module 301, or the operation unit I / F control module 302 and storing the event data in the buffer DB 309. 8 is realized by expanding a program stored in the ROM 202 or the HDD 204 into the RAM 203 as necessary, and executing the program by the CPU 201. The processing illustrated in FIG. 8 is started when the device I / F control module 316, the job management module 301, or the operation unit I / F control module 302 transmits some event to the event data generation module 303. I do. In the present embodiment, an example will be described in which a process is started mainly by an event from the device I / F control module 316.

まず、S801で、イベントを受信したイベントデータ生成モジュール303は、イベント種別などのイベントの内容を確認する。イベント種別とは、複合機120の状態変化の具体的な内容を指し、例えば、カートリッジ交換要求、カードリッジ寿命到達、電源ON、節電モードIN、ジョブ開始、およびジョブ終了の少なくとも何れかを含む。また、イベント種別はイベント分類に属する。例えば、カートリッジ交換およびカートリッジ寿命到達といった複合機120が有する消耗品の状態に関する情報は「Parts」のイベント分類に属する。また、電源ONおよび節電モードINといった電力管理情報は「Power」のイベント分類に属する。また、ジョブ開始およびジョブ終了といった複合機120が実行するジョブに関するデータは「Job」のイベント分類に属する。   First, in S801, the event data generation module 303 that has received the event checks the content of the event such as the event type. The event type indicates a specific content of a change in the state of the multifunction peripheral 120, and includes, for example, at least one of a cartridge replacement request, a cartridge life expiration, power ON, a power saving mode IN, a job start, and a job end. The event type belongs to the event classification. For example, information on the state of consumables of the multifunction peripheral 120 such as cartridge replacement and cartridge life end belongs to the event classification of “Parts”. Power management information such as power-on and power-saving mode IN belongs to an event classification of “Power”. Data relating to a job executed by the multifunction peripheral 120, such as a job start and a job end, belongs to the “Job” event classification.

イベントデータ生成モジュール303がイベント内容を確認すると、優先度判定モジュール304は当該イベントのイベント分類から、優先度テーブル305に格納した優先度情報に基づいて、イベント優先度を判定する。優先度テーブル305に優先度情報が無い場合、当該イベントは送信対象外のイベントと判断する。優先度判定モジュール304が当該イベントは送信対象外のイベントであると判定した場合、イベントデータ生成モジュール303はイベントデータを生成せずに、処理を終了する。   When the event data generation module 303 confirms the content of the event, the priority determination module 304 determines the event priority based on the priority information stored in the priority table 305 from the event classification of the event. If there is no priority information in the priority table 305, it is determined that the event is not an event to be transmitted. If the priority determination module 304 determines that the event is an event not to be transmitted, the event data generation module 303 ends the process without generating event data.

優先度判定モジュール304により当該イベントが送信対象であると判定された場合、イベントデータ生成モジュール303はS803でイベントデータのデータ共通部を作成する。S803では、上述したように、イベントの優先度情報は内部管理情報としてイベントデータに付加される。データ共通部とは、イベントデータに含まれるデータの一部であり、イベントの発生日時、イベント種別、複合機120の識別ID等から構成され、イベントの内容に関わらず必ず付与される。   If the priority determination module 304 determines that the event is a transmission target, the event data generation module 303 creates a data common part of the event data in S803. In S803, as described above, the event priority information is added to the event data as internal management information. The data common part is a part of the data included in the event data, and is composed of the date and time of occurrence of the event, the event type, the identification ID of the MFP 120, and the like, and is always given regardless of the content of the event.

次に、イベントデータ生成モジュール303は、S801で確認したイベント種別に対応して、S804でイベントデータに含めるべきデータを決定する。例えば、カートリッジ交換イベントであれば、交換したカートリッジの種類、残量、色といったカートリッジに関する情報が、ジョブ開始イベントであれば、コピー、プリントといったジョブの種別に関する情報がイベントデータに含められうる。これらに限らず必要なデータを任意の方法で決定してもよい。   Next, the event data generation module 303 determines data to be included in the event data in S804 corresponding to the event type confirmed in S801. For example, in the case of a cartridge replacement event, information on the cartridge such as the type, the remaining amount, and the color of the replaced cartridge may be included in the event data. Not limited to these, necessary data may be determined by an arbitrary method.

次に、イベントデータ生成モジュール303は、S805で、イベント種別毎に個別で定められた、イベントデータ中のデータ個別部を作成する。最後に、イベントデータ生成モジュール303は、S803で作成したデータ共通部と、S805で作成したデータ個別部を連結してイベントデータを作成するとともに、S806でバッファDB制御モジュール307にイベントデータを伝達して処理を終了する。バッファDB制御モジュール307は、受信したイベントデータをバッファDB309に格納するとともに、バッファデータ通知モジュール310にバッファリングした旨を通知する。   Next, in S805, the event data generation module 303 creates a data individual part in the event data that is individually defined for each event type. Lastly, the event data generation module 303 creates event data by linking the data common part created in S803 and the data individual part created in S805, and transmits the event data to the buffer DB control module 307 in S806. To end the processing. The buffer DB control module 307 stores the received event data in the buffer DB 309, and notifies the buffer data notification module 310 that the event data has been buffered.

図9は、バッファDB309に格納されたイベントデータを管理サーバ110に送信する際の処理を表すフローチャートである。図9のフローチャートはROM202もしくはHDD204に格納されたプログラムを必要に応じRAM203に展開し、CPU201で実行することにより実現される。本処理は、バッファDB制御モジュール307がイベントデータを受け付け、このイベントデータをバッファDB309に格納したことを契機として行われる。   FIG. 9 is a flowchart illustrating a process when transmitting the event data stored in the buffer DB 309 to the management server 110. The flowchart of FIG. 9 is realized by expanding the program stored in the ROM 202 or the HDD 204 into the RAM 203 as necessary, and executing the program by the CPU 201. This process is performed when the buffer DB control module 307 receives the event data and stores the event data in the buffer DB 309.

バッファDB制御モジュール307は、S901で、受け付けたイベントデータをバッファDB309に格納すると、バッファデータ通知モジュール310を通じてイベントデータの発生通知をクラウド送信モジュール312に通知する。この通知を行う際、バッファデータ通知モジュール310はデータ形式変換モジュール311を通じて、イベントデータをJSON形式などの所定の形式のイベントログに変換する。   After storing the received event data in the buffer DB 309 in S901, the buffer DB control module 307 notifies the cloud transmission module 312 of the occurrence notification of the event data via the buffer data notification module 310. When performing this notification, the buffer data notification module 310 converts the event data into an event log in a predetermined format such as the JSON format through the data format conversion module 311.

S902において、クラウド送信モジュール312は管理サーバ110を宛先として、ネットワークI/F205及びネットワーク100を通じてイベントログを送信する。本実施形態では、複合機120がイベントログを送信する際に用いるプロトコルは、HTTP(Hypertext Transfer Protocol)であるものとする。つまり、本実施形態においては、JSON形式で表現されたイベントログが、HTTPプロトコルのペイロードに付与されて送信される。なお、ネットワーク100を通じてイベントログを送信できるのであれば、他の形式、通信プロトコル、または通信手段を用いてもよい。例えば、MQTT(Message Queue Telemetry Transport)等のプロトコルを用いることも可能である。クラウド送信モジュール312はバッファデータ通知モジュール310に対してS903でデータの処理が完了した旨を伝達し、これに対応してバッファDB309からイベントデータが削除される。   In step S902, the cloud transmission module 312 transmits an event log to the management server 110 via the network I / F 205 and the network 100. In the present embodiment, it is assumed that a protocol used when the multifunction peripheral 120 transmits an event log is HTTP (Hypertext Transfer Protocol). That is, in the present embodiment, the event log expressed in the JSON format is attached to the payload of the HTTP protocol and transmitted. Note that another format, communication protocol, or communication means may be used as long as the event log can be transmitted through the network 100. For example, a protocol such as MQTT (Message Queue Telemetry Transport) can be used. The cloud transmission module 312 notifies the buffer data notification module 310 that the data processing has been completed in S903, and the event data is deleted from the buffer DB 309 in response to this.

なお、本実施形態においてはバッファDB309を複合機120のソフトウェア300内で管理する形式としたが、複合機120とは別個にバッファDB309を管理するバッファDBサーバをネットワーク100上に配置してもよい。この構成においては、複合機120はイベントデータをバッファDBサーバに対して送信し、バッファDBサーバは受信したイベントデータをバッファリングし、イベントデータのデータ形式に変換し、管理サーバ110に送信する。   In the present embodiment, the buffer DB 309 is managed in the software 300 of the MFP 120. However, a buffer DB server that manages the buffer DB 309 separately from the MFP 120 may be arranged on the network 100. . In this configuration, the multifunction peripheral 120 transmits the event data to the buffer DB server, and the buffer DB server buffers the received event data, converts the event data into a data format of the event data, and transmits the event data to the management server 110.

以上説明したように、第1の実施形態において、複合機120は、バッファするイベントデータの優先度を管理サーバ110からの要求に基づいて判定することができる。これによって、情報処理装置から取得するイベントログの優先度を変更することが可能になり、重要度の高いデータを喪失する可能性を削減することができる。   As described above, in the first embodiment, the multifunction peripheral 120 can determine the priority of the buffered event data based on the request from the management server 110. This makes it possible to change the priority of the event log acquired from the information processing device, and reduce the possibility of losing data of high importance.

<第2の実施形態>
第1の実施形態では、バッファするイベントデータの優先度を管理サーバ110からの要求に基づいて変更する複合機120を説明した。第2の実施形態では、管理サーバ110から複合機120が取得する申込み情報に基づいて、イベントデータの優先度を設定し、提供するサービスにとって重要度の高いデータが喪失する可能性を削減する複合機120を説明する。なお、第1の実施形態と同様の構成、処理については説明を省略する。
<Second embodiment>
In the first embodiment, the MFP 120 that changes the priority of buffered event data based on a request from the management server 110 has been described. In the second embodiment, the priority of event data is set based on the application information obtained by the multifunction peripheral 120 from the management server 110, and the multifunction that reduces the possibility of losing data that is highly important to the provided service is set. The device 120 will be described. The description of the same configuration and processing as in the first embodiment will be omitted.

第2の実施形態においては、管理サーバ110が図5のS505の申込み情報要求を受信した際に、以下に説明する処理を行う。   In the second embodiment, when the management server 110 receives the application information request in S505 in FIG. 5, the following processing is performed.

管理サーバ110は、S505で申込み情報要求を受信すると、S506で、複合機120の登録IDに紐づけられた申込み情報を返送する。申込み情報には申込みID、申込みサービス名、申込みサービスID、および申込みサービスの種別情報の少なくとも何れかが含まれる。複合機120の登録IDに紐づけられた申込み情報は1つもない場合もあり、また、複数である場合もある。   Upon receiving the application information request in S505, the management server 110 returns the application information associated with the registration ID of the MFP 120 in S506. The application information includes at least one of an application ID, an application service name, an application service ID, and application service type information. There may be no application information associated with the registration ID of the multifunction peripheral 120, or there may be a plurality of application information.

本実施形態においては、申込みサービスの種別情報とは消耗品配送サービス、ジョブ管理サービス、電力管理サービスなど、複合機120に対して提供されているサービスの種別を示す情報である。複合機120は、S506でクラウド受信モジュール315によって申込み情報を受信すると、受信データ解析モジュール314で解析を行い、イベント優先度情報を優先度テーブル設定モジュール306に伝達する。一例では、イベント優先度情報は、図11に示すように、イベント分類(event_categoly)と、優先度を示す情報(event_priority)とが関連付けられている。優先度テーブル設定モジュール306は、イベント優先度情報を申込みサービスの種別情報毎に優先度テーブル305に格納する。   In the present embodiment, the type information of the application service is information indicating the type of service provided to the MFP 120, such as a consumables delivery service, a job management service, and a power management service. Upon receiving the application information by the cloud receiving module 315 in S506, the multifunction peripheral 120 analyzes the received data by the received data analysis module 314 and transmits the event priority information to the priority table setting module 306. In one example, as shown in FIG. 11, the event priority information is associated with an event classification (event_category) and information indicating the priority (event_priority). The priority table setting module 306 stores the event priority information in the priority table 305 for each type of service application information.

優先度テーブル設定モジュール306は、受け取った申込みサービスの種別情報に基づいて、優先度テーブル305を設定する。ここで、複数の申込みサービスの種別情報が取得された場合、図12に示すように、同一のイベント分類に関しては、より優先度の高い設定が採用される。また、本実施形態においては、S508の制御情報には、所望の状態が含まれていないものとする。あるいは、S508の制御情報に申込みサービスの種別情報に基づく優先度設定を行うか、所望の状態に基づく優先度設定を行うかを指示するための情報が付加されてもよい。   The priority table setting module 306 sets the priority table 305 based on the received application service type information. Here, when the type information of a plurality of application services is acquired, as shown in FIG. 12, a setting with a higher priority is adopted for the same event classification. In the present embodiment, it is assumed that the control information in S508 does not include a desired state. Alternatively, information for instructing whether to perform priority setting based on the type information of the applied service or to perform priority setting based on a desired state may be added to the control information in S508.

また、本実施形態においても、S601は図5のS505と、S602はS506と、S603はS507と、S604はS508と、およびS605はS509と同様の処理を行うため、説明を省略する。また、S601およびS602の処理と、S603、S604、およびS605の処理とを連続して実施する必要はない。   Also in this embodiment, S601 performs the same processing as S505 in FIG. 5, S602, S506, S603, S507, S604, and S508, and S605 performs the same processing as S509, and thus the description is omitted. Further, the processing of S601 and S602 and the processing of S603, S604, and S605 do not need to be performed continuously.

また、図6に示す処理シーケンスを実行するタイミングも、複合機120の電源ON時と、電源ONから24時間ごととに限定されない。例えば、1週間おき、またはユーザ操作によって複合機120の設定が変更されたときに図6の処理シーケンスを実行してもよい。また、第1の実施形態と同様に、管理サーバ110は、情報変更した際に、その情報をPUSH通知にて通知する図7の処理を実行してもよい。   The timing at which the processing sequence shown in FIG. 6 is executed is not limited to when the power of the MFP 120 is turned on and every 24 hours after the power is turned on. For example, the processing sequence of FIG. 6 may be executed every other week or when the setting of the MFP 120 is changed by a user operation. Further, similarly to the first embodiment, when the information is changed, the management server 110 may execute the processing of FIG. 7 in which the information is notified by a PUSH notification.

以上説明したように、第2の実施形態では、複合機120が管理サーバ110から取得する申込み情報に基づいて、イベントデータの送信優先度を設定する。これによって、複合機120に対応付けられたサービスにとって重要度の高いデータを喪失する可能性を削減することができる。   As described above, in the second embodiment, the transmission priority of event data is set based on the application information acquired by the multifunction peripheral 120 from the management server 110. As a result, it is possible to reduce the possibility of losing data having high importance for the service associated with the multifunction peripheral 120.

<その他の実施形態>
第1または第2の実施形態では、複合機120は管理サーバ110にイベントログを送信するものとして説明を行った。一例では、複合機120は、送信を行わず、図14に示すように、操作部207が備える表示部にイベントログを表示してもよい。あるいは、複合機120は、Webサーバとしても機能し、複合機120にアクセスしてきたユーザ端末に対して、イベントログをHTML形式で配信してもよい。
<Other embodiments>
In the first or second embodiment, the multifunction peripheral 120 has been described as transmitting an event log to the management server 110. In one example, the MFP 120 may display the event log on a display unit included in the operation unit 207 without performing transmission, as illustrated in FIG. Alternatively, the MFP 120 may also function as a Web server, and deliver the event log in an HTML format to the user terminal accessing the MFP 120.

また、本実施形態において、管理サーバ110は、それぞれのイベント分類ごとに、優先度を設定するものとしたが、これには限らない。例えば、管理サーバ110は、イベント分類に加え、期間ごとに優先度を指定してもよい。例として、あるイベント分類(分類A)は所定の期間、例えば直近かつ短期間のイベントデータが保存できればよく、それ以外の分類Aのイベントデータは削除しても構わない(低優先度である)場合を考える。このような場合、例えば分類Aの所定の期間のイベントデータは高優先度、それ以外の分類Aのイベントデータは低優先度、そして分類A以外のイベントデータは中優先度と設定することで、イベント分類ごとのログを保存する期間を変更することができる。   In the present embodiment, the management server 110 sets the priority for each event classification, but is not limited to this. For example, the management server 110 may specify the priority for each period in addition to the event classification. As an example, a certain event category (class A) only needs to be able to store event data for a predetermined period, for example, the latest and short-term, and other event data of category A may be deleted (low priority). Consider the case. In such a case, for example, event data of a predetermined period of category A is set to high priority, other event data of class A is set to low priority, and event data other than class A is set to medium priority. The period for storing logs for each event category can be changed.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。   The present invention supplies a program for realizing one or more functions of the above-described embodiments to a system or an apparatus via a network or a storage medium, and one or more processors in a computer of the system or the apparatus read and execute the program. This processing can be realized. Further, it can also be realized by a circuit (for example, an ASIC) that realizes one or more functions.

Claims (11)

情報処理装置であって、
前記情報処理装置で行われる処理に関連して発生するデータを収集する収集手段と、
前記収集手段が収集したデータを一時的に蓄積する蓄積手段と、
管理サーバから情報を受け取る受信手段と、
前記情報に基づいてデータの優先度を判定する判定手段と、
前記判定手段の判定結果に従って前記蓄積手段で蓄積するデータを管理する管理手段と、
を有することを特徴とする情報処理装置。
An information processing device,
Collection means for collecting data generated in connection with the processing performed in the information processing apparatus,
Accumulation means for temporarily accumulating data collected by the collection means,
Receiving means for receiving information from the management server;
Determining means for determining the priority of data based on the information;
Management means for managing data stored in the storage means according to the determination result of the determination means;
An information processing apparatus comprising:
前記情報は、前記情報処理装置に関連付けられたサービスに基づく申込み情報であることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the information is application information based on a service associated with the information processing apparatus. 前記管理手段は、前記収集手段が収集したデータおよび前記蓄積手段で蓄積するデータの少なくとも一部に基づいて生成したイベントログを外部装置に送信することを特徴とする請求項1または2に記載の情報処理装置。   3. The apparatus according to claim 1, wherein the management unit transmits an event log generated based on at least a part of the data collected by the collection unit and the data stored by the storage unit to an external device. 4. Information processing device. 前記外部装置は、前記管理サーバであることを特徴とする請求項3に記載の情報処理装置。   The information processing apparatus according to claim 3, wherein the external device is the management server. 前記管理手段は、前記判定手段の判定結果に従ってイベントログを送信する順番を決定することを特徴とする請求項3または4に記載の情報処理装置。   The information processing apparatus according to claim 3, wherein the management unit determines an order of transmitting the event logs according to a determination result of the determination unit. 前記管理手段は、前記判定手段の判定結果に従って前記収集手段が収集したデータおよび前記蓄積手段で蓄積するデータの少なくとも一部を削除することを特徴とする請求項1乃至5の何れか1項に記載の情報処理装置。   6. The apparatus according to claim 1, wherein the management unit deletes at least a part of data collected by the collection unit and data stored in the storage unit according to a determination result of the determination unit. 7. An information processing apparatus according to claim 1. 前記データは、前記情報処理装置が有する消耗品の状態に関するデータ、前記情報処理装置が実行するジョブに関するデータ、および前記情報処理装置の電力管理に関するデータの少なくとも何れかを含むことを特徴とする請求項1乃至6の何れか1項に記載の情報処理装置。   The data may include at least one of data related to a state of a consumable provided in the information processing device, data related to a job executed by the information processing device, and data related to power management of the information processing device. Item 7. The information processing device according to any one of Items 1 to 6. 前記データの少なくとも一部を表示する表示手段をさらに有することを特徴とする請求項1乃至7の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, further comprising a display unit that displays at least a part of the data. 前記情報は、データを前記蓄積手段で蓄積する期間を指定する情報を含むことを特徴とする請求項1乃至8の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the information includes information that specifies a period in which data is stored in the storage unit. 情報処理装置の制御方法であって、
前記情報処理装置で行われる処理に関連して発生するデータを収集する収集工程と、
前記収集工程において収集したデータを一時的に蓄積する蓄積工程と、
管理サーバから情報を受け取る受信工程と、
前記情報に基づいてデータの優先度を判定する判定工程と、
前記判定工程における判定結果に従って前記蓄積工程で蓄積するデータを管理する管理工程と、
を有することを特徴とする制御方法。
A method for controlling an information processing device, comprising:
A collection step of collecting data generated in connection with the processing performed by the information processing apparatus,
An accumulation step of temporarily accumulating the data collected in the collection step,
A receiving step of receiving information from the management server;
A determining step of determining a priority of data based on the information;
A management step of managing data stored in the storage step according to a determination result in the determination step;
A control method comprising:
コンピュータに請求項10に記載の制御方法の各工程を実行させるためのプログラム。   A program for causing a computer to execute each step of the control method according to claim 10.
JP2018168079A 2018-09-07 2018-09-07 Information processing apparatus, control method, and program Pending JP2020042425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018168079A JP2020042425A (en) 2018-09-07 2018-09-07 Information processing apparatus, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018168079A JP2020042425A (en) 2018-09-07 2018-09-07 Information processing apparatus, control method, and program

Publications (1)

Publication Number Publication Date
JP2020042425A true JP2020042425A (en) 2020-03-19

Family

ID=69798333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018168079A Pending JP2020042425A (en) 2018-09-07 2018-09-07 Information processing apparatus, control method, and program

Country Status (1)

Country Link
JP (1) JP2020042425A (en)

Similar Documents

Publication Publication Date Title
US8970876B2 (en) Printing system, cloud computing system, printing system control method, and storage medium
US7613404B2 (en) Image forming apparatus transferring log information
JP5473651B2 (en) Management system, monitoring apparatus, and information processing method
JP7071161B2 (en) Information processing equipment, its control method, and programs
US20120086978A1 (en) Cloud computing system, information processing method, and storage medium
US8953193B2 (en) Management system, monitoring apparatus and management
US8621110B2 (en) Image forming apparatus and control method therefor
JP6223152B2 (en) Image forming system, image processing apparatus, and image processing apparatus control method
JP2018190031A (en) Management apparatus, method and program
JP2018061142A (en) Management device, control method, and program
JP7080604B2 (en) Client equipment, control methods, and programs
JP5657062B2 (en) Image forming apparatus, image forming apparatus control method, and program
JP2017010227A (en) Web server, management system, and control method thereof
JP4978047B2 (en) Monitored device and control method of monitored device
US9423992B2 (en) Management system and control method
JP2020042425A (en) Information processing apparatus, control method, and program
JP2019144949A (en) System, method using same, and program
JP6287174B2 (en) Information processing system, information processing apparatus, information processing method, and information processing program
US20150106060A1 (en) Monitoring apparatus, monitoring method and non-transitory computer-readable medium
JP2017091037A (en) System, management device, control method of system, control method of management device, and program
JP2019040307A (en) Administrative system, information processing equipment and image formation device
JP6340786B2 (en) Information processing system, information processing apparatus, information processing method, and information processing program
JP2014232443A (en) Network system, control method, monitoring device, and program
JP7293317B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE
JP6074923B2 (en) Information processing apparatus, network system, operation information capturing method, and operation information capturing program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113