JP2016088057A - Information processing equipment, control method of information processing equipment, and program - Google Patents

Information processing equipment, control method of information processing equipment, and program Download PDF

Info

Publication number
JP2016088057A
JP2016088057A JP2014229023A JP2014229023A JP2016088057A JP 2016088057 A JP2016088057 A JP 2016088057A JP 2014229023 A JP2014229023 A JP 2014229023A JP 2014229023 A JP2014229023 A JP 2014229023A JP 2016088057 A JP2016088057 A JP 2016088057A
Authority
JP
Japan
Prior art keywords
power
power state
log
information processing
transition
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
JP2014229023A
Other languages
Japanese (ja)
Inventor
豪 中川原
Takeshi Nakagawara
豪 中川原
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 JP2014229023A priority Critical patent/JP2016088057A/en
Publication of JP2016088057A publication Critical patent/JP2016088057A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Power Sources (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To manage a power state, based on which power consumption can be properly calculated by information processing equipment, even when the power state that makes a transition is managed with a limited memory resource.SOLUTION: In information processing equipment that communicates with a management device, if a change in a power state that makes a transition is detected, whether the power state that makes a transition meets a predetermined transition pattern condition is decided, and whether the power state meets a predetermined output policy condition under which the power state that makes a transition should be output is decided. If a decision is made that the predetermined output policy condition is met, the change in the power state is controlled to be stored in storage means. If a decision is made that the predetermined output policy condition is not met, the change in the power state is controlled not to be stored in the storage means.SELECTED DRAWING: Figure 5

Description

本発明は、情報処理装置、情報処理装置の制御方法、及びプログラムに関するものである。   The present invention relates to an information processing apparatus, a control method for the information processing apparatus, and a program.

従来、ネットワーク機器管理の一環としてネットワーク機器を管理する管理装置がネットワーク機器(情報処理装置)の電力ログ情報を取得し、電力消費量など、機器の稼働状況をレポートすることで、ネットワーク機器の運用を効率化するという方法がある。特に、電力消費量や電力状態別の電力消費推移などのレポートは、ネットワーク機器稼働にかかるコスト等の改善に用いられ、ネットワーク機器の電力状態遷移のログ情報は、レポート出力にとって重要なログ情報となる。このような重要なログ情報を正確に管理する技術として、ネットワーク機器がログの保存先を外部HDDに切り替えることで、大量のログ出力によるメモリの圧迫や、メモリ不足によるログの消失を防ぐという従来技術がある。(例えば、特許文献1参照)   Conventionally, a management device that manages network devices as part of network device management acquires the power log information of network devices (information processing devices) and reports the operation status of devices such as power consumption. There is a method to improve efficiency. In particular, reports such as power consumption and power consumption trends by power state are used to improve the cost of operating network devices, and log information on power state transitions of network devices is important log information for report output. Become. Conventionally, as a technology for accurately managing such important log information, the network device switches the log storage destination to an external HDD, thereby preventing compression of memory due to a large amount of log output and loss of log due to insufficient memory. There is technology. (For example, see Patent Document 1)

特開2011−59874号公報JP 2011-59874 A

ローエンドモデルのネットワーク機器では、ログ出力に利用可能なメモリ容量が少なく、電力状態遷移のログ出力に割り当てられる保存領域が大きく制限されている。さらに、これらのネットワーク機器では、製造コストを抑えるため外部ストレージ等の容量拡張機能が搭載されていないものがある。
この場合、従来技術のようにログの保存先を切り替えるようなことは行えないため、ネットワーク機器のログ削除サイクルが早まり、管理装置がネットワーク機器の稼働状況をレポートするために必要な電力状態遷移ログの情報が欠落してしまう。そのため従来技術では、ローエンドのネットワーク機器では正しい稼働レポートを出力できないという課題があった。
In the low-end model network device, the memory capacity available for log output is small, and the storage area allocated to the log output of power state transition is greatly limited. Furthermore, some of these network devices are not equipped with a capacity expansion function such as an external storage in order to reduce manufacturing costs.
In this case, the log storage destination cannot be switched as in the prior art, so the log deletion cycle of the network device is accelerated, and the power state transition log necessary for the management device to report the operation status of the network device. Information will be missing. Therefore, the conventional technology has a problem that a low-end network device cannot output a correct operation report.

本発明は、上記の課題を解決するためになされたもので、本発明の目的は、少ないメモリ資源で遷移する電力状態を管理する場合でも、情報処理装置で算出する電力消費量を適正に算出するための電力状態を管理できる仕組みを提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to appropriately calculate the power consumption calculated by the information processing device even when managing the power state transitioned with a small amount of memory resources. It is to provide a mechanism that can manage the power state for the purpose.

上記目的を達成する本発明の情報処理装置は以下に示す構成を備える。
管理装置と通信する情報処理装置であって、情報処理装置で遷移する電力状態の変化を検出する検出手段と、遷移する電力状態を記憶手段に記憶して管理する管理手段と、前記検出手段が遷移する電力状態の変化を検出した場合、前記遷移する電力状態が所定の遷移パターン条件を満たしているかどうかを判断する第1の判断手段と、前記遷移する電力状態を出力すべき所定の出力ポリシー条件を満たしているかどうかを判断する第2の判断手段と、前記所定の遷移パターン条件を満たしていると判断し、かつ、前記所定の出力ポリシー条件を満たしていると判断した場合、前記電力状態の変化を前記記憶手段に記憶させ、前記所定の遷移パターン条件を満たしていると判断し、かつ、前記所定の出力ポリシー条件を満たしていないと判断した場合、前記電力状態の変化を前記記憶手段に記憶させないように制御する制御手段と、を備えることを特徴とする。
The information processing apparatus of the present invention that achieves the above object has the following configuration.
An information processing apparatus that communicates with a management apparatus, a detection unit that detects a change in a power state that transitions in the information processing apparatus, a management unit that stores and manages the transitioned power state in a storage unit, and the detection unit First detection means for determining whether or not the transition power state satisfies a predetermined transition pattern condition when a change in the transition power state is detected; and a predetermined output policy for outputting the transition power state A second determination means for determining whether or not a condition is satisfied; and when determining that the predetermined transition pattern condition is satisfied and determining that the predetermined output policy condition is satisfied, the power state Is stored in the storage means, it is determined that the predetermined transition pattern condition is satisfied, and it is determined that the predetermined output policy condition is not satisfied. When, characterized in that it comprises a control means for controlling so as not to be stored in said storage means a change in the power state.

本発明によれば、少ないメモリ資源で遷移する電力状態を管理する場合でも、情報処理装置で算出する電力消費量を適正に算出するための電力状態を管理できる。   According to the present invention, it is possible to manage the power state for appropriately calculating the power consumption calculated by the information processing apparatus even when managing the power state that transitions with a small amount of memory resources.

ネットワークシステムの構成を説明するブロック図である。It is a block diagram explaining the structure of a network system. ネットワークシステムのソフトウェア構成を示すブロック図である。It is a block diagram which shows the software structure of a network system. 管理装置内のテーブル構成の一例を示す図である。It is a figure which shows an example of the table structure in a management apparatus. 情報処理装置内のテーブル構成の一例を示す図である。It is a figure which shows an example of the table structure in information processing apparatus. 情報処理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of information processing apparatus. 情報処理装置で表示されるUI画面の一例を示す図である。FIG. 11 illustrates an example of a UI screen displayed on the information processing apparatus. 管理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of a management apparatus. 情報処理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of information processing apparatus. 情報処理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of information processing apparatus. 情報処理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of information processing apparatus. 管理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of a management apparatus.

次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第1実施形態〕
Next, the best mode for carrying out the present invention will be described with reference to the drawings.
<Description of system configuration>
[First Embodiment]

本発明に係るネットワーク機器を管理する管理装置を含むネットワークシステムの一実施形態について説明する。ここでは、管理装置の一例としてアプリケーションサーバを取り上げて説明する。また、ネットワーク機器の一例として、本実施形態ではMFP(Multifunction Peripheral)、複合機能を有する複写機を取り上げて説明する。ネットワーク機器には、プリンタ、FAXなどのMFP以外のものも含む。 An embodiment of a network system including a management device that manages network devices according to the present invention will be described. Here, an application server will be described as an example of a management apparatus. Also, as an example of a network device, in the present embodiment, an MFP (Multifunction Peripheral) and a copier having a composite function will be described. Network devices include devices other than MFPs such as printers and FAX machines.

図1は、本実施形態を示す管理装置を含むネットワークシステムの構成を説明するブロック図である。
図1において、ネットワークシステムは、ネットワーク170により接続されるアプリケーションサーバ100、クライアントコンピュータ120およびMFP150より構成される。なお、アプリケーションサーバ100およびクライアントコンピュータ120は汎用コンピュータの構成を有する。クライアントコンピュータ120のハードウェア構成についてはアプリケーションサーバ100と同様のため、説明を省略する。
FIG. 1 is a block diagram illustrating a configuration of a network system including a management apparatus according to the present embodiment.
In FIG. 1, the network system includes an application server 100, a client computer 120, and an MFP 150 connected via a network 170. The application server 100 and the client computer 120 have a general-purpose computer configuration. Since the hardware configuration of the client computer 120 is the same as that of the application server 100, the description thereof is omitted.

アプリケーションサーバ100において、101はCPUであり、ROM103あるいは外部メモリ110に記憶されたアプリケーションプログラム等に基づいて処理を実行する。さらに、CPU101はシステムバス112に接続される各デバイスを総括的に制御する。
また、CPU101は、ディスプレイ109上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のアプリケーションウィンドウを開き、種々のデータ処理を実行する。102はRAMであり、CPU101の主メモリ、ワークエリア等として機能する。103はROMであり、基本I/Oプログラム等の記憶領域として機能する読み出し専用のメモリである。このROM103あるいは外部メモリ111には、CPU101の制御プログラムであるオペレーティングシステムプログラム(以下OS)等が記憶される。
In the application server 100, reference numeral 101 denotes a CPU, which executes processing based on application programs stored in the ROM 103 or the external memory 110. Further, the CPU 101 comprehensively controls each device connected to the system bus 112.
Further, the CPU 101 opens various application windows registered based on commands instructed by a mouse cursor (not shown) on the display 109 and executes various data processing. Reference numeral 102 denotes a RAM which functions as a main memory, work area, and the like for the CPU 101. Reference numeral 103 denotes a ROM, which is a read-only memory that functions as a storage area for basic I / O programs and the like. The ROM 103 or the external memory 111 stores an operating system program (hereinafter referred to as OS) which is a control program for the CPU 101.

さらにROM103あるいは外部メモリ110には上記アプリケーションプログラム等に基づく処理の際に使用するファイルやその他各種データを記憶する。104はネットワークI/Fであり、ネットワーク170へ接続しネットワーク通信を行う。
105は入力I/Fであり、キーボード106やマウス等のポインティングデバイス107からの入力を制御する。108はディスプレイI/Fであり、ディスプレイ109の表示を制御する。110は外部メモリI/Fであり、ハードディスク(HD)等の外部メモリ111とのアクセスを制御する。外部メモリ111は、ブートプログラム、各種のアプリケーション、ユーザファイル、編集ファイル等を記憶する。アプリケーションサーバ100は、CPU101がROM103や外部メモリ111に書き込まれた基本I/OプログラムおよびOSを実行している状態で動作する。
基本I/OプログラムはROM103に書き込まれており、OSはROM103もしくは外部メモリ110に書き込まれている。そして、コンピュータの電源がONされたときに、基本I/Oプログラム中のイニシャルプログラムロード機能により、ROM103もしくは外部メモリ111からOSがRAM102に書き込まれ、OSの動作が開始される。112はシステムバスであり、各デバイスを接続する。
Further, the ROM 103 or the external memory 110 stores files and other various data used for processing based on the application program and the like. A network I / F 104 connects to the network 170 and performs network communication.
An input I / F 105 controls input from a pointing device 107 such as a keyboard 106 or a mouse. Reference numeral 108 denotes a display I / F, which controls display on the display 109. An external memory I / F 110 controls access to the external memory 111 such as a hard disk (HD). The external memory 111 stores a boot program, various applications, user files, edit files, and the like. The application server 100 operates in a state where the CPU 101 is executing a basic I / O program and an OS written in the ROM 103 or the external memory 111.
The basic I / O program is written in the ROM 103, and the OS is written in the ROM 103 or the external memory 110. When the computer is turned on, the OS is written from the ROM 103 or the external memory 111 to the RAM 102 by the initial program load function in the basic I / O program, and the operation of the OS is started. A system bus 112 connects each device.

MFP150において、151はネットワークI/Fであり、ネットワーク170へ接続しネットワーク通信を行う。152はCPUであり、制御プログラム等に基づいてシステムバス165に接続されるプリンタI/F157を介してプリンタ158に出力情報としての画像信号を出力する。
なお、制御プログラムはROM154や外部メモリ162等に記憶される。CPU152はネットワークI/F151を介してコンピュータとの通信処理が可能となっており、MFP150内の情報等をアプリケーションサーバ100に通知可能なように構成されている。
さらにCPU152はROM154あるいは外部メモリ162に記憶されたアプリケーションプログラム等に基づいて処理を実行する。153はRAMであり、CPU152の主メモリ、ワークエリア等として機能し、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。
なお、RAM153は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。154はROMであり、162はハードディスク(HD)等の外部メモリである。このROM154あるいは外部メモリ162には、CPU152の制御プログラムやアプリケーションプログラムおよび上記出力情報を生成する際に使用するフォントデータ、MFP150上で利用される情報等が記憶される。
In the MFP 150, reference numeral 151 denotes a network I / F, which connects to the network 170 and performs network communication. A CPU 152 outputs an image signal as output information to the printer 158 via the printer I / F 157 connected to the system bus 165 based on a control program or the like.
The control program is stored in the ROM 154, the external memory 162, or the like. The CPU 152 can perform communication processing with a computer via the network I / F 151 and is configured to notify the application server 100 of information in the MFP 150.
Furthermore, the CPU 152 executes processing based on application programs stored in the ROM 154 or the external memory 162. A RAM 153 functions as a main memory, a work area, and the like of the CPU 152, and is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown).
The RAM 153 is used for an output information expansion area, an environment data storage area, NVRAM, and the like. Reference numeral 154 denotes a ROM, and 162 denotes an external memory such as a hard disk (HD). The ROM 154 or the external memory 162 stores control data and application programs for the CPU 152, font data used when generating the output information, information used on the MFP 150, and the like.

またROM154あるいは外部メモリ162には、MFP150のアプリケーションインストール時にアプリケーションが一時的に格納される。155は操作部I/Fであり、操作部156との間のインタフェースをつかさどり、表示すべき画像データを操作部156に対して出力する。また、ユーザが操作部156を介して入力した情報の受信も行う。156は操作部であり、操作のためのスイッチおよびLED表示器等が配されている操作パネル等に相当する。157はプリンタI/Fであり、プリンタ158(プリンタエンジン)に出力情報としての画像信号を出力する。
159はスキャナーI/Fであり、スキャナー160(スキャナーエンジン)からの入力情報として画像信号を受信する。161は外部メモリI/F(メモリコントローラ)であり、ハードディスク(HD)、ICカード等の外部メモリ162へのアクセスを制御する。また、前述した外部メモリは1個に限らず、少なくとも1個以上備え、内蔵フォントに加えてオプションフォントカード、言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていてもよい。
Further, the application is temporarily stored in the ROM 154 or the external memory 162 when the application of the MFP 150 is installed. Reference numeral 155 denotes an operation unit I / F which controls an interface with the operation unit 156 and outputs image data to be displayed to the operation unit 156. In addition, information input by the user via the operation unit 156 is also received. Reference numeral 156 denotes an operation unit, which corresponds to an operation panel or the like on which a switch for operation and an LED display are arranged. A printer I / F 157 outputs an image signal as output information to the printer 158 (printer engine).
A scanner I / F 159 receives an image signal as input information from the scanner 160 (scanner engine). Reference numeral 161 denotes an external memory I / F (memory controller) that controls access to the external memory 162 such as a hard disk (HD) or an IC card. Further, the number of external memories is not limited to one, and at least one external memory is provided so that an optional font card and a plurality of external memories storing programs for interpreting printer control languages with different language systems can be connected in addition to built-in fonts. It may be configured.

さらに、図示しないNVRAMを有し、操作部156からのプリンタモード設定情報を記憶するようにしてもよい。163はオプション機器I/Fであり、フィニッシャー、カセットユニット等のオプション機器164へのアクセスを制御する。オプション機器は、フィニッシャーやカセットユニットの他に、カメラやICカードリーダー等のMFPの機能及び機構を拡張する周辺機器でもよい。165はシステムバスであり、各デバイスを接続する。   Further, an NVRAM (not shown) may be provided, and printer mode setting information from the operation unit 156 may be stored. Reference numeral 163 denotes an optional device I / F, which controls access to the optional device 164 such as a finisher and a cassette unit. The optional device may be a peripheral device that expands the functions and mechanisms of the MFP, such as a camera and an IC card reader, in addition to the finisher and the cassette unit. Reference numeral 165 denotes a system bus, which connects each device.

図2は、本実施形態を示す管理装置を含むネットワークシステムのソフトウェア構成を説明するブロック図である。
図2に示すアプリケーションサーバ100において、管理アプリケーション200および各モジュールは、外部メモリ111に保存されたファイルとして存在する。これらは実行時にOSやそのモジュールを利用するモジュールによってRAM102にロードされ実行されるプログラムモジュールである。また、管理アプリケーション200は、外部メモリ111の不図示のCD−ROM、あるいはネットワーク170を経由して外部メモリ111のHDに追加することが可能となっている。
FIG. 2 is a block diagram illustrating the software configuration of the network system including the management apparatus according to the present embodiment.
In the application server 100 shown in FIG. 2, the management application 200 and each module exist as files stored in the external memory 111. These are program modules that are loaded into the RAM 102 and executed by the OS and modules that use the module during execution. The management application 200 can be added to the HD of the external memory 111 via a CD-ROM (not shown) of the external memory 111 or the network 170.

201はネットワークモジュールであり、任意の通信プロトコルを使用してクライアントコンピュータ120やMFP150とのネットワーク通信を行う。205はWebサーバサービスモジュールであり、クライアントコンピュータ120のWebブラウザー221からのHTTPリクエストを受け取るとHTTPレスポンスを応答するサービスを提供する。応答するHTTPレスポンスの例として、外部メモリ111に保存されたWebページデータを返信してもよい。または、管理アプリケーション200のUIモジュール204にHTTPレスポンスの生成を要求してもよい。   A network module 201 performs network communication with the client computer 120 and the MFP 150 using an arbitrary communication protocol. A web server service module 205 provides a service that responds to an HTTP response when receiving an HTTP request from the web browser 221 of the client computer 120. As an example of the HTTP response to respond, Web page data stored in the external memory 111 may be returned. Alternatively, the UI module 204 of the management application 200 may be requested to generate an HTTP response.

200は管理アプリケーションであり、アプリケーションサーバ100とネットワーク170で接続されたMFP150を管理するアプリケーションである。管理アプリケーション200は、例えばWebサーバサービスモジュール205が提供するWebページへのリクエストに応答して処理を実行するプログラムとして実装される。上記のように、管理アプリケーション200はWebサーバサービスモジュール205とともに、MFP150を管理するWebアプリケーションを実現している。   A management application 200 is an application that manages the MFP 150 connected to the application server 100 via the network 170. The management application 200 is implemented as a program that executes processing in response to a request for a Web page provided by the Web server service module 205, for example. As described above, the management application 200 implements a Web application that manages the MFP 150 together with the Web server service module 205.

管理アプリケーション200において204はUIモジュールであり、Webサーバサービスモジュール205からの要求に応じてHTTPレスポンスを生成する。また、クライアントコンピュータ120のWebブラウザー221から送信されたユーザ入力情報を受信し、必要に応じて各モジュールを呼び出す。UIモジュール204が呼び出すモジュールの例として、Webサーバサービスモジュール205、探索モジュール206、電力ログ管理モジュール207、タスク管理モジュール208を挙げる。また、UIモジュール204がこれら以外のモジュールを呼び出してもよい。   In the management application 200, reference numeral 204 denotes a UI module, which generates an HTTP response in response to a request from the Web server service module 205. Also, user input information transmitted from the web browser 221 of the client computer 120 is received, and each module is called as necessary. Examples of modules called by the UI module 204 include a Web server service module 205, a search module 206, a power log management module 207, and a task management module 208. Further, the UI module 204 may call other modules.

206は探索モジュールであり、アプリケーションサーバ100とネットワーク170で接続されたMFP150を、任意の通信プロトコルを使って探索する。探索モジュール206が探索に使用する通信プロトコルの例としては、SNMP(Simple Network Management Protocol)やSLP(Service Location Protocol)等が挙げられる。他にもWS−Discovery(Web Services Dynamic Discovery)などの通信プロトコルを使用してもよい。探索モジュール206はMFP150を探索し、MFP150から機器情報を取得して後述のデータベースサーバサービスモジュール203のネットワーク機器管理テーブル300へ格納する。   A search module 206 searches for the MFP 150 connected to the application server 100 via the network 170 using an arbitrary communication protocol. Examples of communication protocols used by the search module 206 for searching include SNMP (Simple Network Management Protocol) and SLP (Service Location Protocol). In addition, a communication protocol such as WS-Discovery (Web Services Dynamic Discovery) may be used. The search module 206 searches the MFP 150, acquires device information from the MFP 150, and stores it in the network device management table 300 of the database server service module 203 described later.

207は電力ログ管理モジュールであり、ネットワーク170を経由しMFP150に対して電力ログ情報の取得と算出を行う。電力状態遷移のログ(以下、電力ログと呼ぶ)情報の例としては、後述の電力状態遷移ログ管理テーブル400及び電力状態情報管理テーブル402が挙げられる。電力状態遷移ログ管理テーブル400はMFP150の電力状態の遷移履歴情報が記録されたテーブルであり、電力状態情報管理テーブル402は各電力状態における消費電力値が記録されたテーブルである。電力ログ管理モジュール207は、前記ログ情報を取得し、MFP150の消費電力量を時間別、電力状態別に算出することができる。また、消費電力の推移から、電力消費量を予測することも可能である。なお、MFP150から取得する電力ログ情報は、電力に関する情報であれば前記以外の情報であってもよい。電力状態情報管理テーブル402では、ポリシーの優先順位を特定するポリシー優先度を設定することが可能に構成されている。   A power log management module 207 acquires and calculates power log information for the MFP 150 via the network 170. Examples of power state transition log (hereinafter referred to as power log) information include a power state transition log management table 400 and a power state information management table 402 described later. The power state transition log management table 400 is a table in which the power state transition history information of the MFP 150 is recorded, and the power state information management table 402 is a table in which the power consumption value in each power state is recorded. The power log management module 207 can acquire the log information and calculate the power consumption amount of the MFP 150 by time and by power state. It is also possible to predict power consumption from the transition of power consumption. Note that the power log information acquired from the MFP 150 may be information other than the above as long as it is information related to power. The power state information management table 402 is configured to be able to set policy priorities that specify policy priorities.

208はタスク管理モジュールであり、レポート作成タスクの管理、MFP150への設定変更操作タスクの管理を行うモジュールである。ここでレポート作成タスクとは、レポート作成モジュール209に対してレポート作成処理を依頼するタスクである。設定変更操作は、例えばMFP150から電力ログ情報を取得する操作や、MFP150のファームウェアをアップデートする操作が挙げられる。その他にも、MFP150にアプリケーションをインストール、もしくはアンインストールする操作、デバイスに搭載された種々の機能を無効化、もしくは有効化する操作等が挙げられる。もちろん、前述の操作以外の操作をタスクとして管理してもよく、実行日時指定のタスクとして実行を予約できてもよい。   Reference numeral 208 denotes a task management module, which manages a report creation task and a setting change operation task for the MFP 150. Here, the report creation task is a task for requesting report creation processing to the report creation module 209. Examples of the setting change operation include an operation of acquiring power log information from the MFP 150 and an operation of updating the firmware of the MFP 150. In addition, an operation for installing or uninstalling an application in the MFP 150, an operation for disabling or enabling various functions installed in the device, and the like can be given. Of course, operations other than those described above may be managed as tasks, and execution may be reserved as tasks for specifying execution dates.

209はレポート作成モジュールであり、MFP150から取得した電力ログ情報をもとにレポートを作成する。作成されたレポートは、ファイルサーバサービスモジュール202に保存される。もちろん、その他の場所に保存されてもよい。レポートの内容として、例えばMFP150の消費電力量が年月別、時間別にグラフや数値として出力される。   A report creation module 209 creates a report based on the power log information acquired from the MFP 150. The created report is stored in the file server service module 202. Of course, it may be stored in another location. As the contents of the report, for example, the power consumption of the MFP 150 is output as a graph or a numerical value by year and month and by time.

また、個々のMFPだけでなく、管理アプリケーション200が管理する複数のMFPの消費電力量の統計を出力してもよい。その他にも、過去の消費電力量の推移から、将来の消費電力量推移を予測し、その結果をレポートに出力してもよい。もちろん、消費電力量以外の情報をレポートに出力してもよく、レポートの作成は、ネットワーク170のファイアーウォール外に接続された外部サーバで行われてもよい。レポートの作成、閲覧等の操作は、Webブラウザー221に表示されたWebサーバサービスモジュール205が提供するMFP150のWebUIによって行う。ユーザがWebUIを操作後、Webサーバサービスモジュール205を経由してタスク管理モジュール208にレポート作成タスクが予約される。   Further, statistics of the power consumption of not only individual MFPs but also a plurality of MFPs managed by the management application 200 may be output. In addition, it is also possible to predict a future power consumption transition from the past power consumption transition and output the result to a report. Of course, information other than the amount of power consumption may be output to the report, and the creation of the report may be performed by an external server connected outside the firewall of the network 170. Operations such as report creation and browsing are performed by the Web UI of the MFP 150 provided by the Web server service module 205 displayed on the Web browser 221. After the user operates the Web UI, a report creation task is reserved in the task management module 208 via the Web server service module 205.

その後、レポート作成モジュール209にレポート作成処理が依頼される。もちろん、プログラムが定期的にレポート作成タスクを予約してもよく、その他の手段によってレポート作成タスクが予約されてもよい。作成されたレポートは、任意の表示形式でWebUIに表示され、さらに、レポートデータをダウンロードすることもできる。もちろん、その他の手段によってレポートデータをユーザに提供してもよい。
202はファイルサーバサービスモジュールであり、ファイルを管理し、他モジュールからの要求に合わせてファイルの格納と取り出しを行う。
Thereafter, a report creation process is requested to the report creation module 209. Of course, the program may periodically reserve a report creation task, or the report creation task may be reserved by other means. The created report is displayed on the Web UI in an arbitrary display format, and the report data can also be downloaded. Of course, the report data may be provided to the user by other means.
A file server service module 202 manages files and stores and retrieves files according to requests from other modules.

ファイルサーバサービスモジュール202は、管理アプリケーション200からアクセス可能であれば、アプリケーションサーバ100とは別の機器上にあってもよい。ネットワーク170経由でのファイル送受信にはFTP(File Transfer Protocol)やWebDAV(Web−based Distributed Authoring and Versioning)等のプロトコルを使用してもよい。   The file server service module 202 may be on a different device from the application server 100 as long as it can be accessed from the management application 200. Protocols such as FTP (File Transfer Protocol) and WebDAV (Web-based Distributed Authoring and Versioning) may be used for file transmission / reception via the network 170.

203はデータベースサーバサービスモジュールであり、データを管理し、他モジュールからの要求に合わせてデータの格納と取り出しを行う。データベースサーバサービスモジュール203は、管理アプリケーション200からアクセス可能であれば、アプリケーションサーバ100とは別の機器上にあってもよい。   A database server service module 203 manages data and stores and retrieves data in accordance with requests from other modules. The database server service module 203 may be on a device different from the application server 100 as long as it can be accessed from the management application 200.

図3は、図2に示したデータベースサーバサービスモジュール203内のテーブル構成の一例を示す図である。なお、図3のテーブル構成はあくまで一例であり、本例とは異なるテーブル構成であってもよい。
図3において、300はネットワーク機器管理テーブルであり、管理アプリケーション200が管理するMFP150に関する情報を管理するテーブルである。ネットワーク機器管理テーブル300で管理する情報は、例えばネットワーク機器識別子、機器名称、ユーザアカウント、パスワード、IPアドレス、HTTPポート番号、シリアルナンバー等が挙げられる。ここでネットワーク機器識別子とは、MFP150を一意に識別する識別子である。ユーザアカウントとは、MFP150のユーザ認証に必要なログイン情報であり、MFP150にログイン可能なユーザ名である。またパスワードもユーザ認証に用いるものである。
FIG. 3 is a diagram showing an example of a table configuration in the database server service module 203 shown in FIG. Note that the table configuration in FIG. 3 is merely an example, and a different table configuration may be used.
In FIG. 3, reference numeral 300 denotes a network device management table that manages information related to the MFP 150 managed by the management application 200. Examples of information managed by the network device management table 300 include a network device identifier, a device name, a user account, a password, an IP address, an HTTP port number, and a serial number. Here, the network device identifier is an identifier that uniquely identifies the MFP 150. The user account is login information necessary for user authentication of the MFP 150 and is a user name that can log in to the MFP 150. The password is also used for user authentication.

301はタスク管理テーブルであり、タスク管理モジュール208がMFP150に対して情報取得操作や設定変更操作を実行するためのタスク情報を管理するテーブルである。タスク管理テーブル301で管理する情報は、例えばタスク識別子、ネットワーク機器識別子、実行種別、タスク実行間隔、次回実行日時、タスク種別等が挙げられる。   A task management table 301 is a table for managing task information for the task management module 208 to execute an information acquisition operation or a setting change operation on the MFP 150. Examples of information managed by the task management table 301 include a task identifier, a network device identifier, an execution type, a task execution interval, a next execution date and time, and a task type.

ここでタスク識別子とは、タスクを一意に識別する識別子である。実行種別は、タスク実行周期を指定する。例えば、一定時間間隔、もしくは年毎、月毎、週毎などで指定可能な、定期的に実行するという種別もあれば、指定の日時に1回のみ実行するという種別も挙げられる。タスク実行間隔では、前述のタスクの実行間隔を指定するものとする。次回実行日時では、次回のタスク実行予定日時が指定されており、この日時にタスクを実行する。ネットワーク機器識別子とは、ネットワーク機器管理テーブル300におけるネットワーク機器識別子を指しており、特定のMFP150を関連付けるための識別子である。ここで関連付けられたMFP150に対して、タスクを実行する。タスク種別は、タスクの操作内容を判別するための識別子やキーワードであり、タスク管理モジュール208はタスク種別をもとにタスクの内容を判断し実行する。   Here, the task identifier is an identifier for uniquely identifying a task. The execution type specifies a task execution cycle. For example, there is a type that can be specified at regular time intervals, or every year, every month, every week, or the like, and a type that is executed only once at a specified date and time. In the task execution interval, the task execution interval is specified. As the next execution date and time, the next scheduled task execution date and time is specified, and the task is executed at this date and time. The network device identifier refers to a network device identifier in the network device management table 300, and is an identifier for associating a specific MFP 150. The task is executed for the MFP 150 associated here. The task type is an identifier or a keyword for determining the operation content of the task, and the task management module 208 determines and executes the task content based on the task type.

302は一時電力ログ管理テーブルであり、MFP150から通知された電力ログ情報を一時的に保存するためのテーブルである。一時電力ログ管理テーブル302で管理する情報は、例えばログ識別子、ネットワーク機器識別子、電力状態、状態遷移日時、受信日時等が挙げられる。ここで一時ログ識別子とは、受信した電力ログ情報を一意に識別する識別子である。ネットワーク機器識別子は、各電力ログ情報の送信元のネットワーク機器識別子である。電力状態と状態遷移日時は、図4の電力状態遷移ログ管理テーブル400のものと同じであり、これらの内容については後述する。受信日時は、管理アプリケーション200が、MFP150から通知を受信した時刻である。   A temporary power log management table 302 is a table for temporarily storing power log information notified from the MFP 150. Examples of information managed by the temporary power log management table 302 include a log identifier, a network device identifier, a power state, a state transition date and time, and a reception date and time. Here, the temporary log identifier is an identifier for uniquely identifying the received power log information. The network device identifier is the network device identifier of the transmission source of each power log information. The power state and the state transition date and time are the same as those of the power state transition log management table 400 of FIG. 4, and the contents thereof will be described later. The reception date and time is the time when the management application 200 receives a notification from the MFP 150.

303は電力ログ管理テーブルであり、タスク管理モジュール208の電力ログ取得タスクによってMFP150から収集した電力ログが保存されるテーブルである。電力ログ管理テーブル303で管理する情報は、例えば、ログ識別子、ネットワーク機器識別子、電力状態、状態遷移日時等である。ここで一時ログ識別子とは、電力ログ取得タスクによって収集した電力ログ情報を一意に識別する識別子である。ネットワーク機器識別子は、各電力ログ情報の取得元のネットワーク機器識別子である。電力状態と状態遷移日時は、図4の電力状態遷移ログ管理テーブル400のものと同じであり、これらの内容については後述する。   A power log management table 303 stores a power log collected from the MFP 150 by the power log acquisition task of the task management module 208. Information managed by the power log management table 303 includes, for example, a log identifier, a network device identifier, a power state, a state transition date and time, and the like. Here, the temporary log identifier is an identifier for uniquely identifying the power log information collected by the power log acquisition task. The network device identifier is a network device identifier from which each power log information is acquired. The power state and the state transition date and time are the same as those of the power state transition log management table 400 of FIG. 4, and the contents thereof will be described later.

304はレポート作成予約管理テーブルであり、レポート作成モジュール209によって作成されたレポートデータを管理するためのテーブルである。レポート作成予約管理テーブル304で管理する情報は、例えば、レポート識別子、ネットワーク機器識別子、ステータス、データファイルパス、作成完了日時等である。ここでレポート識別子とは、作成されたレポートを一意に識別する識別子である。ネットワーク機器識別子は、ネットワーク機器の一意に識別する識別子である。ここで指定された識別子のネットワーク機器の電力ログをもとにレポートが作成される。ステータスは、レポート作成処理の状態情報である。例えば、完了や、処理中、エラー等の状態情報が挙げられる。もちろん、その他の状態情報であってもよい。データファイルパスはレポートデータが保存されているファイルサーバサービスモジュール202のファイルシステムのパスが指定される。パスの指定方法は、使用するファイルシステムによって異なっていてもよい。作成完了日時は、レポート作成が完了し、ファイルサーバサービスモジュール202にレポートデータが保存された日時である。以上で、図3の説明を終わる。   A report creation reservation management table 304 is a table for managing report data created by the report creation module 209. Information managed by the report creation reservation management table 304 includes, for example, a report identifier, a network device identifier, a status, a data file path, and a creation completion date / time. Here, the report identifier is an identifier for uniquely identifying the created report. The network device identifier is an identifier that uniquely identifies the network device. A report is created based on the power log of the network device with the identifier specified here. The status is status information of the report creation process. For example, status information such as completion, processing, and error can be mentioned. Of course, other state information may be used. As the data file path, the file system path of the file server service module 202 in which the report data is stored is designated. The path designation method may be different depending on the file system to be used. The creation completion date and time is the date and time when report creation is completed and report data is saved in the file server service module 202. This is the end of the description of FIG.

次にクライアントコンピュータ120のソフトウェア構成を示す。クライアントコンピュータ120を構成する各モジュールはそれぞれROM103もしくは外部メモリ111に保存されたファイルとして存在するプログラムモジュールである。そして、実行時にOSやそのモジュールを利用するモジュールによってRAM102にロードされ実行される。   Next, the software configuration of the client computer 120 is shown. Each module constituting the client computer 120 is a program module existing as a file stored in the ROM 103 or the external memory 111. Then, it is loaded into the RAM 102 and executed by the OS and modules that use the module at the time of execution.

220はネットワークモジュールであり、任意の通信プロトコルを使用してアプリケーションサーバ100およびMFP150とのネットワーク通信を行う。221はWebブラウザーであり、ネットワークモジュール220を介してHTTPリクエストメッセージを送信し、HTTPレスポンスメッセージを受信して表示する。クライアントコンピュータ120からアプリケーションサーバ100へのアクセスはWebブラウザー221を通じて行われる。ユーザは、Webブラウザー221を経由して管理アプリケーション200で生成したレポートを取得することができ、また電力ログ情報を直接取得できてもよい。   A network module 220 performs network communication with the application server 100 and the MFP 150 using an arbitrary communication protocol. A web browser 221 transmits an HTTP request message via the network module 220, and receives and displays an HTTP response message. Access from the client computer 120 to the application server 100 is performed through the Web browser 221. The user can acquire a report generated by the management application 200 via the Web browser 221 and may be able to directly acquire power log information.

続いて、MFP150のソフトウェア構成を示す。
図2に示すMFP150において、各種モジュールはROM154あるいは外部メモリ162に保存されたファイルとして存在し、実行時にRAM153にロードされ実行される。230はネットワークモジュールであり、任意の通信プロトコルを使用してアプリケーションサーバ100やクライアントコンピュータ120とのネットワーク通信を行う。231は電力状態管理モジュールであり、後述の電力状態変更予約管理テーブル404の内容に従いMFP150の電力状態を操作するモジュールである。電力状態とは、MFP150の動作モードを意味している。例えば、電源ON直後の状態はOn、MFPの準備が終了し、印刷等の各種機能が使用可能な状態はStandbyと表現できる。
Next, the software configuration of the MFP 150 is shown.
In the MFP 150 shown in FIG. 2, various modules exist as files stored in the ROM 154 or the external memory 162, and are loaded into the RAM 153 and executed at the time of execution. A network module 230 performs network communication with the application server 100 and the client computer 120 using an arbitrary communication protocol. Reference numeral 231 denotes a power state management module that operates the power state of the MFP 150 in accordance with the contents of a power state change reservation management table 404 described later. The power state means an operation mode of the MFP 150. For example, the state immediately after the power is turned on can be expressed as On, the state where the preparation of the MFP is completed, and various functions such as printing can be used as Standby.

また、いくつかの機能を停止し、電力消費を抑えた状態をSleep、さらに、ネットワーク機能など最小限の機能のみ稼働し電力消費を最小限に抑えた状態をDeepSleepと表現することができる。もちろん、MFP150の各機能の状態やそれらの組み合わせによって、他の電力状態で表現してもよく、これらの電力状態は各ベンダー共通であっても、ベンダー独自のものであっても良い。232は電力ログ出力モジュールであり、後述の電力ログ出力ポリシーに従ってMFP150の電力状態遷移ログをデータ管理モジュール235に記録する。
電力ログは、メモリの使用状態や予め設定された最大ログ保持数に応じて記録してもよく、ログ記録数が限界の場合は最も古いログから削除し、次に新しいログを記録する。ログに含まれる情報としては、後述の電力状態遷移ログ管理テーブル400に示すように、各電力ログ情報の識別子と電力状態、前記電力状態に遷移した日時が含まれる。もちろん、その他の情報を含めてもよい。
Further, a state in which some functions are stopped and power consumption is suppressed can be expressed as Sleep, and a state in which only a minimum function such as a network function is operated and power consumption is minimized can be expressed as DeepSleep. Of course, other power states may be expressed depending on the state of each function of the MFP 150 or a combination thereof, and these power states may be common to each vendor or may be unique to the vendor. A power log output module 232 records a power state transition log of the MFP 150 in the data management module 235 in accordance with a power log output policy described later.
The power log may be recorded in accordance with the use state of the memory or the preset maximum log holding number. When the log recording number is the limit, the oldest log is deleted, and then a new log is recorded. As shown in the power state transition log management table 400 described later, the information included in the log includes an identifier of each power log information, a power state, and a date and time when the state transitions to the power state. Of course, other information may be included.

また電力ログ出力モジュール232は、タスク管理モジュール208によって電力ログ取得タスクが実行された場合に、ネットワークモジュール201、230を経由して電力ログ取得要求を受信し、レスポンスとして電力ログ情報を返す。管理アプリケーション200は、前記手段によって、複数のMFPから電力ログ情報を収集し、個々のMFPや、全体の消費電力量を算出できる。もちろん、その他の用途で電力ログ情報を収集してもよい。   Further, when a power log acquisition task is executed by the task management module 208, the power log output module 232 receives a power log acquisition request via the network modules 201 and 230, and returns power log information as a response. The management application 200 can collect power log information from a plurality of MFPs by the above-described means, and calculate individual MFPs and overall power consumption. Of course, the power log information may be collected for other purposes.

233は自機構成管理モジュールであり、MFP150のハードウェア構成情報とソフトウェア構成情報の管理を行う。ハードウェア構成情報とは、例えば、自機の製造番号や製造地等の自機固有情報、MFP150に接続されたオプション機器の製品情報や使用状態等が挙げられる。オプション機器の例としては、フィニッシャーやカセットユニット等が挙げられる。オプション機器内部にトナーやヒンジ等の消耗摩耗品が使用されている場合、これらの消耗状態及び摩耗状態も取得し、ネットワークモジュール230及びネットワーク170を通して管理アプリケーションに通知してもよい。
ここで、ソフトウェア構成情報とは、例えばMFP150のファームウェア情報、インストールされているアプリケーション情報等が挙げられる。また自機構成管理モジュール233は、管理アプリケーション200のタスク管理モジュール208から送信されたファームウェアのアップデート要求を受信する。
Reference numeral 233 denotes a self-configuration management module that manages hardware configuration information and software configuration information of the MFP 150. The hardware configuration information includes, for example, own device unique information such as a manufacturing number and a manufacturing place of the own device, product information and use state of an optional device connected to the MFP 150, and the like. Examples of optional equipment include finishers and cassette units. When consumable wear items such as toner and hinges are used in the optional device, the wear state and wear state may be acquired and notified to the management application through the network module 230 and the network 170.
Here, the software configuration information includes, for example, firmware information of the MFP 150, installed application information, and the like. The own device configuration management module 233 receives the firmware update request transmitted from the task management module 208 of the management application 200.

また、アプリケーションのインストール要求をネットワークモジュール230経由で受信し、自機のファームウェアアップデート及びアプリケーションのインストールを実行する。234はUIモジュールであり、MFP150の操作部156に表示されるUIの描画および操作部156上でユーザのUI操作により入力されたユーザ入力値の受信を行う。235はデータ管理モジュールであり、MFP150の各種設定データや電力ログデータを、メモリやHDD等の記憶領域に記録、管理するモジュールである。MFP150の各モジュールは、データ管理モジュール235から必要なデータを取得、変更、削除することができる。   Also, an application installation request is received via the network module 230, and firmware update and application installation of the own device are executed. Reference numeral 234 denotes a UI module that draws a UI displayed on the operation unit 156 of the MFP 150 and receives a user input value input by a user UI operation on the operation unit 156. A data management module 235 records and manages various setting data and power log data of the MFP 150 in a storage area such as a memory or an HDD. Each module of the MFP 150 can acquire, change, and delete necessary data from the data management module 235.

図4は、図2に示したデータ管理モジュール235内のテーブル構成の一例示す図である。なお、図4のテーブル構成はあくまで一例であり、本例とは異なるテーブル構成であってもよい。
図4において、400は電力状態遷移ログ管理テーブルであり、MFP150の電力状態遷移のログ情報を管理するテーブルである。管理アプリケーション200から電力ログ取得要求を受信した場合に返す情報が記録される。電力状態遷移ログ管理テーブル400で管理する情報は、例えばログ識別子、電力状態、状態遷移日時等が挙げられる。ここでログ識別子とは、電力状態遷移のログを一意に識別する識別子である。電力状態は、StandbyやSleep、DeepSleep、SleepVendor1など、MFP150の動作モードを指す。状態遷移日時とは、前記状態に遷移した日時である。なお、その他の情報を管理してもよく、例えば消費電力量値を電力ログ情報に含めてもよい。
FIG. 4 is a diagram showing an example of a table configuration in the data management module 235 shown in FIG. Note that the table configuration in FIG. 4 is merely an example, and a table configuration different from this example may be used.
In FIG. 4, reference numeral 400 denotes a power state transition log management table, which manages log information of power state transitions of the MFP 150. Information returned when a power log acquisition request is received from the management application 200 is recorded. Examples of information managed by the power state transition log management table 400 include a log identifier, a power state, a state transition date and time, and the like. Here, the log identifier is an identifier for uniquely identifying a power state transition log. The power state indicates an operation mode of the MFP 150 such as Standby, Sleep, Deep Sleep, or Sleep Vendor1. The state transition date and time is the date and time when the state transitions. Other information may be managed. For example, a power consumption value may be included in the power log information.

401は電力状態情報管理テーブルであり、各電力状態の消費電力情報を管理するテーブルである。電力状態情報管理テーブル401で管理する情報として、例えば電力状態識別子、電力状態、消費電力量単位、消費電力値、仮定義フラグなどがある。ここで電力状態識別子は、電力状態を一意に識別する識別子である。消費電力量単位とは、消費電力量の単位である。消費電力量単位の例として、W(ワット)やWh(ワット時)等が挙げられる。もちろん、その他の単位でもよい。消費電力値とは、当該電力状態の消費電力値である。仮定義フラグとは、電力状態が予め定義されているものか、アプリケーションによって動的に定義されたものかを判別するためのフラグである。例えば、フラグの値がFALSEの場合は、アプリケーション等で書き換え不可能な電力状態定義であることを意味している。   Reference numeral 401 denotes a power state information management table for managing power consumption information in each power state. Examples of information managed by the power state information management table 401 include a power state identifier, a power state, a power consumption unit, a power consumption value, and a temporary definition flag. Here, the power state identifier is an identifier for uniquely identifying the power state. The power consumption unit is a unit of power consumption. Examples of the power consumption unit include W (watt) and Wh (watt hour). Of course, other units may be used. The power consumption value is a power consumption value in the power state. The temporary definition flag is a flag for determining whether the power state is defined in advance or dynamically defined by an application. For example, when the value of the flag is FALSE, it means that the power state definition cannot be rewritten by an application or the like.

また、アプリケーションで動的に電力状態を追加する場合は、TRUEを付加することで、動的に追加された電力状態か否かを判別することができる。管理アプリケーション200は、MFP150から電力状態遷移ログ管理テーブル400と電力状態情報管理テーブル401を取得し、消費電力値と消費電力単位、状態が遷移した時刻から、各電力状態における単位時間あたりの消費電力量を算出できる。   When the power state is dynamically added by the application, it is possible to determine whether or not the power state is dynamically added by adding TRUE. The management application 200 acquires the power state transition log management table 400 and the power state information management table 401 from the MFP 150, and the power consumption per unit time in each power state from the power consumption value, the power consumption unit, and the state transition time. The amount can be calculated.

402は電力ログ出力ポリシー管理テーブルであり、電力ログ出力モジュール232が電力状態遷移ログ管理テーブル400に電力ログを記録する際の、電力ログの出力条件が定義されたテーブルである。ここで電力ログ出力ポリシーとは、電力状態遷移が発生した際に、電力ログを記録するか否かの条件が定義されたものである。電力ログ出力ポリシー管理テーブル402で管理する情報として、例えば電力ログ出力ポリシー識別子、消費電力値条件、状態継続時間
条件、ポリシー優先度などがある。
ここで、電力ログ出力ポリシー識別子は、電力ログ出力ポリシーを一意に識別する識別子である。消費電力値条件とは、電力状態遷移前後の消費電力値の差が、任意の値以上の場合にログ出力したい際に設定される条件である。状態継続時間条件とは、電力状態の継続時間の長さによってログ出力するか否かを判断したい場合に設定される条件である。
A power log output policy management table 402 defines a power log output condition when the power log output module 232 records a power log in the power state transition log management table 400. Here, the power log output policy defines a condition for determining whether or not to record a power log when a power state transition occurs. Examples of information managed by the power log output policy management table 402 include a power log output policy identifier, a power consumption value condition, a state duration condition, and a policy priority.
Here, the power log output policy identifier is an identifier for uniquely identifying the power log output policy. The power consumption value condition is a condition set when log output is desired when the difference between the power consumption values before and after the power state transition is an arbitrary value or more. The state duration condition is a condition that is set when it is desired to determine whether to output a log according to the duration of the power state.

ポリシー優先度とは、複数のポリシーが存在する場合の各ポリシーの優先度である。優先度の高いポリシーから適用し、該ポリシーで適用条件が満たされなかった場合に、次に低いポリシーを適用するといった運用が可能になる。   The policy priority is the priority of each policy when there are a plurality of policies. When a policy with a higher priority is applied, and the application condition is not satisfied with the policy, an operation of applying the next lower policy becomes possible.

403は機器状態条件管理テーブルであり、電力ログ出力ポリシー管理テーブル402の各ポリシーに紐付けられた電力ログ出力時の機器状態に関する条件が定義されたテーブルである。機器の状態が特定の条件を満たす場合に、任意の電力ログ出力ポリシーを適用するために用いられる。機器状態条件管理テーブル403で管理する情報として、例えば機器状態条件識別子、遷移パターン条件、機器機能条件、ログ保持数条件、電力ログ出力ポリシー識別子などがある。ここで機器状態条件識別子とは、機器状態の条件を一意に識別する識別子である。遷移パターン条件とは、特定の電力状態遷移の場合のみにポリシーを適用したい際に設定される条件である。   A device state condition management table 403 is a table in which conditions relating to a device state at the time of power log output associated with each policy of the power log output policy management table 402 are defined. Used to apply an arbitrary power log output policy when the state of the device satisfies a specific condition. Examples of information managed by the device state condition management table 403 include a device state condition identifier, a transition pattern condition, a device function condition, a log retention number condition, and a power log output policy identifier. Here, the device state condition identifier is an identifier for uniquely identifying a device state condition. The transition pattern condition is a condition set when a policy is to be applied only in the case of a specific power state transition.

例えば、電力状態Sleepと電力状態SleepVendor1間の電力状態遷移の時のみ、任意の電力ログ出力ポリシーを適用し、前記電力状態以外の電力状態遷移では標準設定の電力ログ出力ポリシーを適用する、といった運用ができる。機器機能条件とは、MFP150の各種機能の状態が特定の状態の場合のみにポリシーを適用したい場合に設定される条件である。   For example, an operation in which an arbitrary power log output policy is applied only during a power state transition between the power state Sleep and the power state SleepVendor1, and a standard power log output policy is applied in a power state transition other than the power state. Can do. The device function condition is a condition set when it is desired to apply a policy only when the state of various functions of the MFP 150 is in a specific state.

例えば、ネットワークの切断時のみに別のポリシーを適用するといった運用が可能である。ログ保持数条件とは、MFP150の保持可能な電力ログ数が任意の数のときにポリシーを適用したい場合に設定される条件である。例えば、MFP150の電力ログ保持件数の最大数が100件以下の場合にのみポリシーを適用する、といった運用が可能である。   For example, it is possible to operate such that another policy is applied only when the network is disconnected. The log retention number condition is a condition set when a policy is to be applied when the number of power logs that can be retained by the MFP 150 is an arbitrary number. For example, it is possible to operate such that the policy is applied only when the maximum number of power log holdings of the MFP 150 is 100 or less.

404は電力状態変更予約管理テーブルであり、特定の日時や電力状態に遷移した場合に、予め設定した電力状態遷移を実行するための情報を管理するテーブルである。電力状態変更予約管理テーブル404で管理する情報として、例えば予約識別子、電力状態遷移パターン、実行日時、状態遷移実行間隔、実行中フラグなどがある。
ここで、予約識別子とは、電力状態の変更予約を一意に識別する識別子である。電力状態遷移パターンとは、実行する電力状態遷移のパターンである。例えば、電源On直後に必ずStandby状態に遷移し、その後StandbyVendor1状態に遷移する場合、遷移させたい順に電力状態名を指定することで、指定した順序で電力状態を遷移させることができる。
A power state change reservation management table 404 is a table for managing information for executing a preset power state transition when a transition is made to a specific date and time or a power state. Examples of information managed by the power state change reservation management table 404 include a reservation identifier, a power state transition pattern, an execution date and time, a state transition execution interval, and an executing flag.
Here, the reservation identifier is an identifier that uniquely identifies a power state change reservation. The power state transition pattern is a pattern of power state transition to be executed. For example, when the state always transits to the Standby state immediately after the power source On and then transitions to the StandbyVendor1 state, the power state can be transitioned in the designated order by designating the power state name in the order of transition.

もちろん、その他の指定方法によって、電力遷移の順序を指定してもよい。実行日時とは、前記電力状態の遷移を開始する日時である。状態遷移実行間隔とは、電力状態遷移パターンにおいて複数の電力状態が指定されている場合に、各電力状態に遷移するまでの待ち時間である。時間の指定がない場合は、必要な処理が終了したタイミングで次の電力状態に遷移してもよい。実行中フラグとは、MFP150が予約された電力状態遷移パターンで電力遷移を実行中か否かを管理するためのフラグである。例えば、実行中フラグがTRUEの場合は予約された電力状態遷移パターンに従って電源状態を遷移中であると判別できる。以上で、図4の説明を終わる。   Of course, the power transition order may be specified by other specification methods. The execution date and time is the date and time when the power state transition starts. The state transition execution interval is a waiting time until a transition is made to each power state when a plurality of power states are specified in the power state transition pattern. When the time is not specified, transition to the next power state may be made at a timing when necessary processing is completed. The in-execution flag is a flag for managing whether or not the power transition is being executed by the reserved power state transition pattern of the MFP 150. For example, when the in-execution flag is TRUE, it can be determined that the power state is in transition according to the reserved power state transition pattern. This is the end of the description of FIG.

図5は、本実施形態を示す情報処理装置の制御方法を説明するフローチャートである。本例は、図1に示したMFP150が電力状態遷移時に電力ログ出力ポリシーとMFP150の電力状態とを比較し、電力ログ出力ポリシーの条件を満たす場合に電力ログを出力する処理例である。なお、各ステップは、図1に示したCPU152が記憶された制御プログラムを実行することで実現される。なお、以下、図2に示したモジュールを主体として説明する。   FIG. 5 is a flowchart illustrating a method for controlling the information processing apparatus according to the present embodiment. This example is a processing example in which the MFP 150 illustrated in FIG. 1 compares the power log output policy with the power state of the MFP 150 when the power state transitions, and outputs a power log when the condition of the power log output policy is satisfied. Each step is realized by executing a control program stored in the CPU 152 shown in FIG. Hereinafter, the module shown in FIG. 2 will be mainly described.

S500で、電力状態管理モジュール231がMFP150の電力状態遷移が発生したか否かを監視し、電力状態が遷移したことを検出したと判断した場合は、S501に進み、電力状態が遷移していないと判断した場合は監視を継続する。S501で、電力ログ出力モジュール232が電力状態管理モジュール231から電力状態情報を取得する。ここで、電力状態情報とは、例えば電源オン時の状態を意味するOnや、スタンバイ状態を意味するStandby、スリープ状態を意味するSleepなどのMFP150における電源状態の動作モードである。また、その他の情報として、遷移前の電力状態の情報や、電源状態が遷移した時刻、遷移時のMFP150のステータス情報などを取得してもよい。   In S500, the power state management module 231 monitors whether or not the power state transition of the MFP 150 has occurred, and if it is determined that the power state transition has been detected, the process proceeds to S501 and the power state has not transitioned. Monitoring is continued if it is determined. In step S <b> 501, the power log output module 232 acquires power state information from the power state management module 231. Here, the power state information is, for example, an operation mode of a power state in the MFP 150 such as On that indicates a power-on state, Standby that indicates a standby state, and Sleep that indicates a sleep state. Further, as other information, information on the power state before the transition, the time when the power state transitions, the status information of the MFP 150 at the time of transition, and the like may be acquired.

S502で、電力ログ出力モジュール232がデータ管理モジュール235の電力ログ出力ポリシー管理テーブル402から優先度の高い順にポリシー情報の有無を判断する。ここで、電力ログ出力ポリシーが有ると電力ログ出力モジュール232が判断した場合はS503に進み、電力ログ出力ポリシーが無いと判断した場合はS510に進む。
なお、電力ログ出力ポリシーは管理アプリケーション200の設定配信タスクによって配信されてもよい。さらに、MFP150に予め設定されていてもよく、ユーザがWebUIや操作パネルによって任意のポリシーを追加、編集してもよい。もちろん、その他の手段によって電力ログ出力ポリシーが設定されてもよい。
In step S <b> 502, the power log output module 232 determines whether there is policy information in descending order of priority from the power log output policy management table 402 of the data management module 235. If the power log output module 232 determines that there is a power log output policy, the process proceeds to S503. If it is determined that there is no power log output policy, the process proceeds to S510.
The power log output policy may be distributed by a setting distribution task of the management application 200. Further, the MFP 150 may be set in advance, and the user may add or edit an arbitrary policy through the Web UI or the operation panel. Of course, the power log output policy may be set by other means.

図6は、図1に示した情報処理装置で表示されるUI画面の一例を示す図である。本例は、図1に示した操作部156で電力ログ出力ポリシーを管理する場合の電力ログ出力ポリシー管理画面の例である。
図6において、600は電力ログ出力ポリシー管理画面であり、MFP150の操作パネル上に表示される画面である。もちろん、WebUI等の他の画面上に表示されてもよい。601は、登録されている電力ログ出力ポリシーの一覧であり、各ポリシー選択用のチェックボックス、ポリシー番号、消費電力値条件、状態継続時間条件、遷移パターン条件、機器機能条件、ポリシー優先度、詳細画面遷移リンクボタンなどが表示される。602は各電力ログ出力ポリシーの詳細画面に遷移するためのボタンである。詳細画面では、例えば、選択した電力ログ出力ポリシーの変更履歴などの情報を表示する。もちろん、その他の電力ログ出力ポリシー情報を表示してもよい。
FIG. 6 is a diagram illustrating an example of a UI screen displayed by the information processing apparatus illustrated in FIG. This example is an example of a power log output policy management screen when a power log output policy is managed by the operation unit 156 shown in FIG.
In FIG. 6, reference numeral 600 denotes a power log output policy management screen, which is a screen displayed on the operation panel of the MFP 150. Of course, it may be displayed on another screen such as a Web UI. 601 is a list of registered power log output policies. Each policy selection check box, policy number, power consumption value condition, state duration condition, transition pattern condition, device function condition, policy priority, and details A screen transition link button or the like is displayed. Reference numeral 602 denotes a button for transitioning to a detailed screen of each power log output policy. In the detail screen, for example, information such as a change history of the selected power log output policy is displayed. Of course, other power log output policy information may be displayed.

603は、新規電力ログ出力ポリシー作成画面に遷移するためのボタンである。新規電力ログ出力ポリシー作成画面では、パネル操作により、新しい電力ログ出力ポリシーを作成できる。もちろん、その他の手段によって作成できてもよい。
604は、選択した電力ログ出力ポリシーを削除するためのボタンである。605は、選択した電力ログ出力ポリシーを編集するためのボタンである。ボタンを押下すると、選択された電力ログ出力ポリシーの編集用画面に遷移し、既存の電力ログ出力ポリシーを編集できる。以上で、図6の説明を終わる。
Reference numeral 603 denotes a button for transitioning to a new power log output policy creation screen. On the new power log output policy creation screen, a new power log output policy can be created by panel operation. Of course, it may be created by other means.
Reference numeral 604 denotes a button for deleting the selected power log output policy. Reference numeral 605 denotes a button for editing the selected power log output policy. When the button is pressed, the screen changes to the screen for editing the selected power log output policy, and the existing power log output policy can be edited. This is the end of the description of FIG.

続いて、図5のフロー図に戻って説明する。S503で、電力ログ出力モジュール232は電力ログ出力ポリシー管理テーブル402から電力ログ出力ポリシー情報と、前記ポリシー情報に紐付けられた機器状態条件情報を機器状態条件管理テーブル403から取得する。S504で、電力ログ出力モジュール232が自機構成管理モジュール233からMFP150の各機能の状態情報と、ログの最大保持数情報を取得する。ここで各機能の状態情報とは、例えばネットワーク機能の状態、FAX機能の状態、コピー機能の状態などが挙げられる。ネットワーク機能の状態の例として、ネットワーク接続中や、ネットワーク切断中などの状態がある。もちろん、その他の機能の状態であってもよい。   Subsequently, returning to the flowchart of FIG. In step S <b> 503, the power log output module 232 acquires the power log output policy information from the power log output policy management table 402 and the device state condition information associated with the policy information from the device state condition management table 403. In step S <b> 504, the power log output module 232 acquires the status information of each function of the MFP 150 and the maximum number of log information from the own configuration management module 233. Here, the status information of each function includes, for example, a network function status, a FAX function status, a copy function status, and the like. Examples of the state of the network function include a state where the network is connected or the network is disconnected. Of course, it may be in the state of other functions.

またS504では、ログ記録に割り当てられるメモリの容量情報など、他の情報を取得できてもよい。S505で、S501で取得した電力状態遷移情報と、S504で取得したMFP150の機能状態情報を、S503で取得した機器状態条件と比較し、機器状態がS503で取得した所定の電力ログ出力ポリシーの適用条件を満たすか否かを判断する。   In S504, other information such as the capacity information of the memory allocated for log recording may be acquired. In step S505, the power state transition information acquired in step S501 and the function state information of the MFP 150 acquired in step S504 are compared with the device state condition acquired in step S503, and the application of the predetermined power log output policy in which the device state is acquired in step S503 is applied. Determine whether the condition is met.

例えば、電力状態がSleepからSleepVnedor1に遷移した場合や、ネットワーク機能が切断中の場合、MFP150の電力ログ保持数が100件以下の場合にMFP150の状態に応じてポリシーを適用する。なお、機器条件情報は、機器状態条件管理テーブル403から取得する。
電力ログ出力モジュール232が、S504で取得した機器状態情報が前記機器状態条件を満たすと判断した場合、S506に進む。機器状態条件を満たさないと判断した場合はS502に戻る。この時S502は、既にS503で取得済みの電力ログ出力ポリシーを探索対象から除外して、ポリシーの探索を行う。S506で、電力ログ出力モジュール232は、電力状態遷移ログ管理テーブル400と電力状態情報管理テーブル401から、電力ログと消費電力値を取得する。
For example, the policy is applied according to the state of the MFP 150 when the power state transitions from Sleep to SleepVnedor1, when the network function is disconnected, or when the number of power logs held by the MFP 150 is 100 or less. The device condition information is acquired from the device state condition management table 403.
When the power log output module 232 determines that the device state information acquired in S504 satisfies the device state condition, the process proceeds to S506. If it is determined that the device state condition is not satisfied, the process returns to S502. At this time, in S502, the power log output policy already acquired in S503 is excluded from the search targets, and the policy is searched. In step S <b> 506, the power log output module 232 acquires the power log and the power consumption value from the power state transition log management table 400 and the power state information management table 401.

S507で、電力ログ出力モジュールがS506で取得した電力ログと消費電力値から、電力遷移前の電力状態の消費電力値と遷移後の電力状態の消費電力値を取得し、さらに前記消費電力値の差分値を算出する。S508で、電力ログ出力モジュールが現在のMFP150の電力状態に遷移した日時と、前回の電力状態遷移発生時の日時を取得する。次に前記日時の差分を計算し、前回の電力状態遷の継続時間を算出する。   In S507, the power log output module acquires the power consumption value of the power state before the power transition and the power consumption value of the power state after the transition from the power log and the power consumption value acquired in S506, and further, The difference value is calculated. In step S508, the date and time when the power log output module transitions to the current power state of the MFP 150 and the date and time when the previous power state transition occurred are acquired. Next, the difference between the date and time is calculated, and the duration of the previous power state transition is calculated.

S509で、電力ログ出力モジュール232が、S507、S508で取得した消費電力値の差分値と継続時間がS503で取得した電力ログ出力ポリシーの適用条件(出力ポリシー条件)を満たしているか否かを判断する。ここで、電力ログ出力モジュール232が前記適用条件を満たしていると判断した場合はS510に進み、満たしていないと判断した場合は処理を終了する。
例えばポリシーの消費電力値条件で、遷移前と遷移後の消費電力値の差が5Wh以上の場合に電力ログを電力状態遷移ログ管理テーブル400に出力し、5Wh未満の電力ログは出力しない、といった条件を設定できる。
In step S509, the power log output module 232 determines whether or not the difference value between the power consumption values acquired in steps S507 and S508 and the duration time satisfy the application condition (output policy condition) of the power log output policy acquired in step S503. To do. If the power log output module 232 determines that the application condition is satisfied, the process proceeds to S510. If it is determined that the power log output module 232 does not satisfy the application condition, the process ends.
For example, if the difference between the power consumption value before and after the transition is 5 Wh or more under the power consumption value condition of the policy, the power log is output to the power state transition log management table 400 and the power log less than 5 Wh is not output. You can set conditions.

また、電力状態継続時間の条件で、前回の電力状態の継続時間が1分以下の場合はログに出力しないといった条件も設定できる。これにより、消費電力変化の小さいログや、消費電力値が短時間で急上昇しすぐに急降下するようなスパイクが発生した場合に、ログの出力量を抑制しつつ、管理アプリケーション200等で消費電力量レポートを作成する際の誤差を最小限に抑えることができる。S510で、電力ログ出力モジュール232が電力状態遷移ログ管理テーブル400に電力状態遷移ログを出力する。尚、図5の例では、処理順は一例にすぎず、例えば、S503、S504、S506〜S508を実行後、S505の判断結果とS509の判断結果とから、S510を実行するかを判断してもよい。   In addition, it is also possible to set a condition that, when the duration of the previous power state is 1 minute or less, the log is not output in the condition of the power state duration. As a result, when a log with a small change in power consumption or a spike in which the power consumption value suddenly rises quickly and falls quickly occurs, the management application 200 or the like consumes power while suppressing the output amount of the log. Errors in creating reports can be minimized. In S510, the power log output module 232 outputs the power state transition log to the power state transition log management table 400. In the example of FIG. 5, the processing order is merely an example. For example, after executing S503, S504, and S506 to S508, it is determined whether to execute S510 from the determination result of S505 and the determination result of S509. Also good.

図7は、本実施形態を示した管理装置の制御方法を説明するフローチャートである。本例は、管理アプリケーション200が消費電力量のレポートを作成する処理例である。なお、各ステップは、図1に示したCPU101が記憶された制御プログラムを実行することで実現される。なお、以下、図2に示したモジュールを主体として説明する。
S1000で、管理アプリケーション200のタスク管理モジュール208がデータベースサーバサービスモジュール203のタスク管理テーブル301を参照する。その後、タスクの実行日時等の情報から、実行予定時刻に達している消費電力量レポート作成タスクの有無を判断する。レポート作成タスクがあると判断した場合はレポート作成予約管理テーブル304のステータスを「処理中」に変更してS1001に進み、レポート作成タスクが無いと判断した場合は、タスクの監視を継続する。S1001で、レポート作成モジュール209がレポート作成予約管理テーブル304及びネットワーク機器管理テーブル300からレポート対象となるネットワーク機器の情報を取得する。
S1002で、レポート作成モジュール209がS1001で取得したネットワーク機器情報に紐付けられた電力ログ情報を電力ログ管理テーブル303から取得する。S1003で、レポート作成モジュール209が、S1001及びS1002で取得したネットワーク機器情報と電力ログ情報をもとにネットワーク機器の消費電力量を計算し、その結果をグラフや数値等でレポートに出力する。S1004で、レポート作成モジュール209が、ファイルサーバサービスモジュール202に、作成したレポートデータを保存する。
FIG. 7 is a flowchart for explaining a control method of the management apparatus according to the present embodiment. In this example, the management application 200 creates a power consumption report. Each step is realized by executing a control program stored in the CPU 101 shown in FIG. Hereinafter, the module shown in FIG. 2 will be mainly described.
In S1000, the task management module 208 of the management application 200 refers to the task management table 301 of the database server service module 203. Thereafter, the presence / absence of a power consumption report creation task that has reached the scheduled execution time is determined from information such as the task execution date and time. If it is determined that there is a report creation task, the status of the report creation reservation management table 304 is changed to “processing” and the process proceeds to S1001. If it is determined that there is no report creation task, task monitoring is continued. In step S <b> 1001, the report creation module 209 acquires information on the network device to be reported from the report creation reservation management table 304 and the network device management table 300.
In step S1002, the report creation module 209 acquires power log information associated with the network device information acquired in step S1001 from the power log management table 303. In S1003, the report creation module 209 calculates the power consumption of the network device based on the network device information and power log information acquired in S1001 and S1002, and outputs the result to the report as a graph or numerical value. In step S <b> 1004, the report creation module 209 stores the created report data in the file server service module 202.

また、レポート作成予約管理テーブル304のステータスを「完了」に変更する。以上、管理アプリケーション200が消費電力量のレポートを作成する方法を説明したが、もちろん、この他の手段によってMFP150のレポートが作成されてもよい。   Also, the status of the report creation reservation management table 304 is changed to “completed”. The method for generating the power consumption report by the management application 200 has been described above. Of course, the report of the MFP 150 may be generated by other means.

以上の処理により、MFP150が電力状態遷移時に電力ログを出力する際、電力ログ出力ポリシーを適用することで、電力ログ管理によるメモリ消費量、及び電力ログの書き換えサイクルを少なくすることができる。さらに、管理アプリケーション200等で消費電力量を計算する際のレポート結果の誤差を最小限に抑えることが可能となる。
〔第2実施形態〕
With the above processing, when the MFP 150 outputs a power log at the time of power state transition, the memory consumption by the power log management and the power log rewrite cycle can be reduced by applying the power log output policy. Furthermore, it is possible to minimize the error in the report result when calculating the power consumption amount by the management application 200 or the like.
[Second Embodiment]

第1実施形態では、MFP150が電力状態遷移時に電力ログを出力する際に電力ログ出力ポリシーを適用した。MFPの一部のモデルでは、ログ管理テーブルにログを出力する前に、ログを仮テーブルに保存する。
その後、任意のタイミング、もしくは一定のログ数に達した場合にログの整理を実施し、必要なログのみ外部から参照可能なテーブルに出力する。これにより、不要なログを間引くことができ、メモリが圧迫されることを抑制できる。ここで仮テーブルとは、電力ログを電力状態遷移ログ管理テーブル400に出力する前にログを一時保管するための保存領域を意味する。
In the first embodiment, the power log output policy is applied when the MFP 150 outputs a power log when the power state transitions. In some models of the MFP, the log is stored in a temporary table before the log is output to the log management table.
After that, the log is organized at an arbitrary timing or when a certain number of logs are reached, and only necessary logs are output to a table that can be referred to from the outside. As a result, unnecessary logs can be thinned out and the memory can be prevented from being compressed. Here, the temporary table means a storage area for temporarily storing the log before outputting the power log to the power state transition log management table 400.

仮テーブルに一定量のログが溜まった時点で、仮テーブル内の各電力ログに対して電力ログ出力ポリシーを適用することができる。なお、仮テーブルはMFP150のメモリ上、またはその他のストレージ領域で管理してもよい。本実施形態では、実施形態1の処理に加え、仮テーブルに保存された電力ログに対して電力ログ出力ポリシーを適用し、ポリシー条件を満たす電力ログをまとめて電力状態遷移ログ管理テーブル400に出力する方法について説明する。   When a certain amount of logs accumulates in the temporary table, the power log output policy can be applied to each power log in the temporary table. The temporary table may be managed on the memory of the MFP 150 or in another storage area. In the present embodiment, in addition to the processing of the first embodiment, the power log output policy is applied to the power log stored in the temporary table, and the power logs satisfying the policy condition are collectively output to the power state transition log management table 400. How to do will be described.

なお、本実施形態のクライアント・サーバシステムのシステム構成、ハードウェア構成、ソフトウェア構成、データ構成については、第1実施形態における図1、図2、図3、図4と同様のため説明を省略する。   Note that the system configuration, hardware configuration, software configuration, and data configuration of the client / server system of this embodiment are the same as those in FIGS. 1, 2, 3, and 4 in the first embodiment, and thus description thereof is omitted. .

図8は、本実施形態を示す情報処理装置の制御方法を説明するフローチャートである。本例は、図1に示したMFP150が仮テーブルに保存された電力ログに対して電力ログ出力ポリシーを適用し、ポリシー条件を満たす電力ログをまとめて電力状態遷移ログ管理テーブル400に出力する処理例である。なお、第1実施形態における図5と同様のステップについては説明を省略する。また、各ステップは、図1に示したCPU152が記憶された制御プログラムを実行することで実現される。なお、以下、図2に示したモジュールを主体として説明する。   FIG. 8 is a flowchart illustrating a method for controlling the information processing apparatus according to the present embodiment. In this example, the MFP 150 illustrated in FIG. 1 applies a power log output policy to the power log stored in the temporary table, and collectively outputs power logs that satisfy the policy condition to the power state transition log management table 400. It is an example. Note that description of steps similar to those in FIG. 5 in the first embodiment is omitted. Each step is realized by executing a control program stored in the CPU 152 shown in FIG. Hereinafter, the module shown in FIG. 2 will be mainly described.

S500、S501で、電力状態管理モジュール231が電力状態遷移の発生を監視し、電力状態遷移が発生した場合に電力ログ出力モジュール232が当該電力状態の情報を取得する。S700で、電力ログ出力モジュール232がデータ管理モジュール235で管理されている電力ログ一時保存用の仮テーブルを参照する。その後、仮テーブル内のログ数が、規定値に達しているか否かを判断する。ここで規定値とは、仮テーブルに保存できるログ数の最大値である。もちろん、その他にも任意の時刻や他機能に紐付いたイベント処理などを規定値としてもよい。   In S500 and S501, the power state management module 231 monitors the occurrence of a power state transition, and when a power state transition occurs, the power log output module 232 acquires information on the power state. In step S <b> 700, the power log output module 232 refers to the temporary table for temporarily storing the power log managed by the data management module 235. Thereafter, it is determined whether or not the number of logs in the temporary table has reached a specified value. Here, the specified value is the maximum number of logs that can be stored in the temporary table. Of course, any other time or event processing associated with another function may be used as the specified value.

仮テーブルの状態が規定値に達していると判断した場合はS702に進み、規定値に達していないと判断した場合にはS701に進む。S701で、電力ログ出力モジュール232が、仮テーブルの状態が規定値に達していない場合にS501で取得した電力状態情報及び状態遷移情報を仮テーブルに記録する。その後、処理を終了する。S702で、電力ログ出力モジュール232が仮テーブルから電力ログ情報を1件取得し、S502に進む。S502〜S505、S507〜S510の処理は、実施形態1と同様のため説明を省略する。ただし、S507、S508では、S702で取得した電力ログ情報をもとに消費電力値と電力状態の継続時間を算出する。   When it is determined that the state of the temporary table has reached the specified value, the process proceeds to S702, and when it is determined that the specified value has not been reached, the process proceeds to S701. In S701, the power log output module 232 records the power status information and the state transition information acquired in S501 in the temporary table when the status of the temporary table does not reach the specified value. Thereafter, the process ends. In S702, the power log output module 232 acquires one piece of power log information from the temporary table, and the process proceeds to S502. Since the processing of S502 to S505 and S507 to S510 is the same as that of the first embodiment, the description thereof is omitted. However, in S507 and S508, the power consumption value and the duration of the power state are calculated based on the power log information acquired in S702.

S703で、電力ログ出力モジュール232が仮テーブルに保存された全ての電力ログ情報を参照したか否かを判断する。全て参照したと判断した場合はS704に進み、全て参照していないと判断した場合はS702に戻り、未取得の電力ログ情報を1件取得する。   In S703, it is determined whether the power log output module 232 has referred to all the power log information stored in the temporary table. If it is determined that all have been referred to, the process proceeds to S704. If it is determined that all have not been referred to, the process returns to S702 and one unacquired power log information is acquired.

このとき電力ログ出力モジュール232は、S502〜S505、S507〜S510、S703の処理を、仮テーブルに保存された全てのログ情報が参照し終わるまで繰り返す。S704で、電力ログ出力モジュールが仮テーブル内に保存されたログ情報削除し、処理を終了する。
続いて、図7を用いて管理アプリケーション200が消費電力量のレポートを作成する方法を説明するが、S1000〜S1004の処理は、第1実施形態と同様のため説明を省略する。
At this time, the power log output module 232 repeats the processes of S502 to S505, S507 to S510, and S703 until all the log information stored in the temporary table has been referred to. In S704, the power log output module deletes the log information stored in the temporary table, and the process ends.
Next, a method for the management application 200 to generate a power consumption report will be described with reference to FIG. 7, but the processing in S1000 to S1004 is the same as that in the first embodiment, and thus the description thereof is omitted.

以上の処理により、MFP150が、仮テーブルを用いて整理済みの電力ログのみを管理アプリケーション200から参照可能なログ管理テーブルに出力するような仕様となっている場合でも、電力ログ出力ポリシーを動的に適用することができる。   With the above processing, even when the specification is such that the MFP 150 outputs only the power log that has been organized using the temporary table to the log management table that can be referred to from the management application 200, the power log output policy is dynamically changed. Can be applied to.

〔第3実施形態〕
第3実施形態では、MFP150が固定、あるいは予約された電力状態遷移パターンをもつ場合に、その遷移パターン内の複数の電力状態のログを、一つの電力状態のログとして管理テーブルに出力する方法について説明する。ここで予約された遷移パターンとは、例えば電源On後、必ずStnadby状態に遷移し、その後StandbyVendor1状態に遷移するなどの、MFPに予め予約された電力状態の遷移のパターンを意味する。
[Third Embodiment]
In the third embodiment, when the MFP 150 has a fixed or reserved power state transition pattern, a plurality of power state logs in the transition pattern are output to the management table as one power state log. explain. Here, the reserved transition pattern means a power state transition pattern reserved in advance for the MFP, such as a transition to the Standby state after the power is turned on, and then a transition to the StandbyVendor1 state.

もちろん、前記のパターン以外に、複数の異なる電力状態が組み合わさった遷移パターンでもよい。また、前記状態遷移を開始するトリガーとして、時間指定による開始や、他モジュールでのイベント処理等によって開始してもよい。一つの電力ログとは、例えば、電源On後の電力状態遷移のパターンがOn、Standby、StandbyVendor1という順で予約されている場合がある。このとき、前記3つの電力状態をPowerOnSequenceという仮の電力状態に再定義することで、3つの電力ログを一つの電力ログとして置き換えることができる。   Of course, other than the above pattern, a transition pattern in which a plurality of different power states are combined may be used. Further, as a trigger for starting the state transition, the trigger may be started by time designation or event processing in another module. In one power log, for example, a pattern of power state transition after power on may be reserved in the order of On, Standby, and StandbyVendor1. At this time, by redefining the three power states into a temporary power state called PowerOnSequence, the three power logs can be replaced with one power log.

本実施形態のクライアント・サーバシステムのシステム構成、ハードウェア構成、ソフトウェア構成、データ構成については、第1実施形態における図1、図2、図3、図4と同様のため説明を省略する。   Since the system configuration, hardware configuration, software configuration, and data configuration of the client / server system of this embodiment are the same as those of the first embodiment shown in FIGS. 1, 2, 3, and 4, description thereof is omitted.

図9は、本実施形態を示す情報処理装置の制御方法を説明するフローチャートである。本例は、図1に示したMFP150の電力状態の予約された遷移パターンが存在する場合に、その電力遷移ごとに生成される複数の電力ログを、一つの電力ログとして管理テーブルに出力する処理例である。なお、第1実施形態の図5と同様のステップについては説明を省略する。また、各ステップは、図1に示したCPU152が記憶された制御プログラムを実行することで実現される。なお、以下、図2に示したモジュールを主体として説明する。   FIG. 9 is a flowchart illustrating a method for controlling the information processing apparatus according to the present embodiment. In this example, when there is a reserved transition pattern of the power state of the MFP 150 shown in FIG. 1, a plurality of power logs generated for each power transition are output to the management table as one power log. It is an example. Note that description of steps similar to those in FIG. 5 of the first embodiment is omitted. Each step is realized by executing a control program stored in the CPU 152 shown in FIG. Hereinafter, the module shown in FIG. 2 will be mainly described.

S500、S501で、電力状態管理モジュール231が電力状態遷移の発生を監視し、電力状態遷移が発生した場合に電力ログ出力モジュール232が当該電力状態の情報を取得する。S800で、電力ログ出力モジュール232が、データ管理モジュール235の電力状態変更予約管理テーブル404を参照し、予約された電力状態遷移パターン情報があるか否かを判断する。前記パターン情報があると判断した場合はS801に進み、前記パターン情報が無いと判断した場合はS502に進む。
S801で、電力ログ出力モジュール232が、電力状態変更予約管理テーブル404から電力状態遷移パターン情報を取得する。S802で、電力ログ出力モジュールが、S501で取得した電力状態の遷移情報と、S801で取得した電力状態遷移パターン情報を比較し、現在の電力状態が前記遷移パターンに含まれるか否かを判断する。判断する手段として、例えば、電力状態変更予約管理テーブル404の実行中フラグを参照し、フラグがTRUEとなっているか否かで判断する方法がある。もちろん、その他の手段によって判断してもよい。
In S500 and S501, the power state management module 231 monitors the occurrence of a power state transition, and when a power state transition occurs, the power log output module 232 acquires information on the power state. In S800, the power log output module 232 refers to the power state change reservation management table 404 of the data management module 235, and determines whether there is reserved power state transition pattern information. If it is determined that there is the pattern information, the process proceeds to S801. If it is determined that there is no pattern information, the process proceeds to S502.
In step S <b> 801, the power log output module 232 acquires power state transition pattern information from the power state change reservation management table 404. In step S802, the power log output module compares the power state transition information acquired in step S501 with the power state transition pattern information acquired in step S801, and determines whether the current power state is included in the transition pattern. . As a determination means, for example, there is a method of referring to an executing flag in the power state change reservation management table 404 and determining whether or not the flag is TRUE. Of course, it may be determined by other means.

現在の電力状態が前記遷移パターンに含まれると判断した場合はS803に進み、含まれないと判断した場合はS502に進む。S502〜S510は実施形態1と同様であるため、説明を省略する。S803で、電力ログ出力モジュール232が、S501で取得した電力状態の遷移情報と、S801で取得した電力状態遷移パターン情報を比較し、現在の電力状態が前記遷移パターンの初期電力状態に合致するか否かを判断する。例えば、前記遷移パターンがOn、Standby、StandbyVendor1という順で予約されている場合に、現在の電力状態がOnのときに、前記遷移パターンの初期電力状態と判断できる。
電力ログ出力モジュール232が、現在の電力状態が前記遷移パターンの初期電力状態に合致すると判断した場合はS804に進み、合致しないと判断した場合は処理を終了する。S804で、電力ログ出力モジュール232が、データ管理モジュール235の電力状態情報管理テーブル401に仮の電力状態、消費電力量値、消費電力量単位、仮定義フラグ等の情報を追加する。仮の電力状態名は、PowerOnSequenceのようなユニークな文字列を生成して指定する。もちろん、既存の電力状態名に無い名前であれば英数字のランダム文字列でもよく、他の手段で文字列を生成してもよい。消費電力量値や消費電力量単位は、遷移パターン内の各電力状態の合計を状態数で割った平均値と、その単位を指定する。もちろん、その他の手段によって消費電力量値や消費電力量単位を決定してもよい。
If it is determined that the current power state is included in the transition pattern, the process proceeds to S803. If it is determined that the current power state is not included in the transition pattern, the process proceeds to S502. Since S502 to S510 are the same as those in the first embodiment, description thereof is omitted. In step S803, the power log output module 232 compares the power state transition information acquired in step S501 with the power state transition pattern information acquired in step S801. Whether the current power state matches the initial power state of the transition pattern. Judge whether or not. For example, when the transition pattern is reserved in the order of On, Standby, StandbyVendor1, when the current power state is On, it can be determined that the initial power state of the transition pattern.
If the power log output module 232 determines that the current power state matches the initial power state of the transition pattern, the process proceeds to S804, and if it does not match, the process ends. In step S <b> 804, the power log output module 232 adds information such as a temporary power state, a power consumption value, a power consumption unit, and a temporary definition flag to the power state information management table 401 of the data management module 235. The temporary power state name is specified by generating a unique character string such as PowerOnSequence. Of course, an alphanumeric random character string may be used as long as the name does not exist in the existing power state name, and the character string may be generated by other means. As the power consumption value and the power consumption unit, an average value obtained by dividing the total of each power state in the transition pattern by the number of states and the unit are designated. Of course, the power consumption value and the power consumption unit may be determined by other means.

仮定義フラグは、追加する電力状態が動的に生成されたものであることを識別できるように、例えばTRUE等のフラグ値を指定する。データ管理モジュール235は、仮の電力状態を電力状態情報管理テーブル401に追加後、電力状態遷移ログ管理テーブル400に前記仮の電力状態が指定された電力ログを出力する。その後、処理を終了する。
なお、管理アプリケーション200は、電力ログ情報取得タスクの実行時に、MFP150の電力状態遷移ログ管理テーブル400と電力状態情報管理テーブル401の両方を参照することで、新たに定義された電力状態の消費電力量を算出することができる。
このとき、管理アプリケーション200が、MFP150の電力状態変更予約管理テーブル404の電力状態遷移パターン情報を取得することで、仮の電力状態で記録されたログを本来の電力ログ群に戻すこともできる。これにより、MFP150の本来の電力ログ情報をもとにした消費電力量の算出やレポートを出力することができる。もちろん、その他の手段によって消費電力量を算出してもよい。
続いて、図7を用いて管理アプリケーション200が消費電力量のレポートを作成する方法を説明するが、S1000〜S1004の処理は、実施形態1と同様のため説明を省略する。
The tentative definition flag specifies a flag value such as TRUE so that it can be identified that the power state to be added is dynamically generated. The data management module 235 adds the temporary power state to the power state information management table 401, and then outputs a power log in which the temporary power state is specified to the power state transition log management table 400. Thereafter, the process ends.
The management application 200 refers to both the power state transition log management table 400 and the power state information management table 401 of the MFP 150 when executing the power log information acquisition task, so that the power consumption of the newly defined power state is determined. The amount can be calculated.
At this time, the management application 200 acquires the power state transition pattern information of the power state change reservation management table 404 of the MFP 150, so that the log recorded in the temporary power state can be returned to the original power log group. Accordingly, it is possible to calculate a power consumption amount based on the original power log information of the MFP 150 and to output a report. Of course, the power consumption may be calculated by other means.
Next, a method for the management application 200 to generate a power consumption report will be described with reference to FIG. 7, but the processing in S1000 to S1004 is the same as that in the first embodiment, and thus the description thereof is omitted.

以上の処理により、複数の電力状態遷移を一つの電力ログとして管理テーブルに出力し、ログ管理によるメモリ消費量、及びログの書き換えサイクルを少なくすることができる。また、管理アプリケーション200等で消費電力量を計算する際のレポート結果の誤差を最小限に抑えることが可能となる。   Through the above processing, a plurality of power state transitions are output to the management table as one power log, and the memory consumption by log management and the log rewrite cycle can be reduced. In addition, it is possible to minimize an error in a report result when calculating the power consumption amount by the management application 200 or the like.

〔第4実施形態〕
本実施形態では、MFP150が、電力ログ出力ポリシーの適用によってログ管理テーブルに出力されない電力ログ情報を、管理アプリケーション200に通知する方法について説明する。また、管理アプリケーション200が、電力ログ情報取得タスク実行時に前記通知された電力ログと、前記電力ログ情報取得タスクによって取得した電力ログ情報とを整理、結合することで、電力ログ情報を本来のログ内容に復元する方法についても説明する。
[Fourth Embodiment]
In the present embodiment, a method will be described in which the MFP 150 notifies the management application 200 of power log information that is not output to the log management table due to application of the power log output policy. In addition, the management application 200 organizes and combines the notified power log and the power log information acquired by the power log information acquisition task when the power log information acquisition task is executed, thereby converting the power log information into the original log. A method for restoring content is also described.

本実施形態のクライアント・サーバシステムのシステム構成、ハードウェア構成、ソフトウェア構成、データ構成については、第1実施形態における図1、図2、図3、図4と同様のため説明を省略する。
図10は、本実施形態を示す情報処理装置の制御方法を説明するフローチャートである。本例は、図1に示したMFP150が電力ログ情報を管理アプリケーション200に通知する処理例である。なお、第1実施形態における図5と同様のステップについては説明を省略する。また、各ステップは、図1に示したCPU152が記憶された制御プログラムを実行することで実現される。なお、以下、図2に示したモジュールを主体として説明する。また、各ステップは、図1に示したCPU152が記憶された制御プログラムを実行することで実現される。なお、以下、図2に示したモジュールを主体として説明する。S500〜S508の処理は、第1実施形態と同様のため説明を省略する。
Since the system configuration, hardware configuration, software configuration, and data configuration of the client / server system of this embodiment are the same as those of the first embodiment shown in FIGS. 1, 2, 3, and 4, description thereof is omitted.
FIG. 10 is a flowchart illustrating a method for controlling the information processing apparatus according to the present embodiment. In this example, the MFP 150 illustrated in FIG. 1 notifies the management application 200 of power log information. Note that description of steps similar to those in FIG. 5 in the first embodiment is omitted. Each step is realized by executing a control program stored in the CPU 152 shown in FIG. Hereinafter, the module shown in FIG. 2 will be mainly described. Each step is realized by executing a control program stored in the CPU 152 shown in FIG. Hereinafter, the module shown in FIG. 2 will be mainly described. Since the processing of S500 to S508 is the same as that of the first embodiment, the description thereof is omitted.

S509で、電力ログ出力モジュール232がS503で取得した電力ログ出力ポリシーの適用条件を満たしていると判断した場合はS510に進み、満たしていないと判断した場合はS900に進む。S510の処理は、実施形態1と同様のため説明を省略する。S900で、電力ログ出力モジュール232が管理アプリケーション200の電力ログ管理モジュール207に対して、S509で電力ログ出力ポリシーの条件を満たさないと判断された電力ログ情報を通知する。このとき、電力ログ管理モジュール207は通知された電力ログ情報をデータベースサーバサービスモジュール203の一時電力ログ管理テーブル302に記録する。
電力ログ情報を管理アプリケーション200に通知する手段として、例えば、SNMPのTrap通知や、InformRequest等を用いることで、管理アプリケーション200に対してブロードキャストする手段がある。管理アプリケーション200の宛先情報が分かっている場合は、マルチキャスト及びユニキャストによって通知してもよい。もちろん、その他の手段によって電力ログ情報を通知してもよい。通知処理を行った後、電力ログ出力モジュール232は処理を終了する。
If it is determined in S509 that the power log output module 232 satisfies the application conditions of the power log output policy acquired in S503, the process proceeds to S510. If it is determined that the power log output module 232 does not satisfy the conditions, the process proceeds to S900. Since the processing of S510 is the same as that of the first embodiment, description thereof is omitted. In step S900, the power log output module 232 notifies the power log management module 207 of the management application 200 of the power log information determined in step S509 that the power log output policy condition is not satisfied. At this time, the power log management module 207 records the notified power log information in the temporary power log management table 302 of the database server service module 203.
As means for notifying the power log information to the management application 200, for example, there is means for broadcasting to the management application 200 by using SNMP Trap notification, Inform Request, or the like. When the destination information of the management application 200 is known, it may be notified by multicast and unicast. Of course, the power log information may be notified by other means. After performing the notification process, the power log output module 232 ends the process.

図11は、本実施形態を示す管理装置の制御方法を説明するフローチャートである。本例は、図2に示したアプリケーションサーバ100の管理アプリケーション200が電力ログ情報取得タスク実行時に、電力ログ情報を本来のログ内容に復元する処理例である。なお、各ステップは、図1に示したCPU101が記憶された制御プログラムを実行することで実現される。なお、以下、図2に示したモジュールを主体として説明する。
S1100で、管理アプリケーション200のタスク管理モジュール208がデータベースサーバサービスモジュール203のタスク管理テーブル301を参照し、タスクの実行日時等の情報から、実行予定時刻に達している電力ログ取得タスクの有無を判断する。電力ログ取得タスクがあると判断した場合はS1101に進み、電力ログ取得タスクが無いと判断した場合は、タスクの監視を継続する。S1101で、タスク管理モジュール208が、S1100で判断した電力ログ取得タスクを実行し、MFP150のデータ管理モジュール235の電力状態遷移ログ管理テーブル400にアクセスし、電力ログ情報を取得する。S1102で、タスク管理モジュール208がS1101の電力ログ取得タスクの実行が成功したか否かを判断する。MFP150の電力ログ情報を取得でき、成功と判断した場合はS1103に進み、MFP150の障害やネットワーク障害によって正しい電力ログが取得できないと判断した場合は、処理を終了する。
このとき、タスクの実行に回数制限を設けて、タスクを再実行もよい。S1103で、電力ログ管理モジュール207が、データベースサーバサービスモジュール203の一時電力ログ管理テーブル302に記録されたMFP150に該当する電力ログ情報を取得する。S1104で、電力ログ管理モジュール207がS1101で取得した電力ログ情報と、S1103で取得した電力ログ情報を時系列順にソートし整理し、電力ログ情報を結合する。S1105で、電力ログ管理モジュール207が、S1104で結合した電力ログ情報をデータベースサーバサービスモジュール203に保存し、処理を終了する。
FIG. 11 is a flowchart for explaining a control method of the management apparatus according to the present embodiment. In this example, the management application 200 of the application server 100 illustrated in FIG. 2 restores the power log information to the original log contents when the power log information acquisition task is executed. Each step is realized by executing a control program stored in the CPU 101 shown in FIG. Hereinafter, the module shown in FIG. 2 will be mainly described.
In step S1100, the task management module 208 of the management application 200 refers to the task management table 301 of the database server service module 203 and determines whether there is a power log acquisition task that has reached the scheduled execution time from information such as the task execution date and time. To do. If it is determined that there is a power log acquisition task, the process advances to step S1101. If it is determined that there is no power log acquisition task, task monitoring is continued. In step S1101, the task management module 208 executes the power log acquisition task determined in step S1100, accesses the power state transition log management table 400 of the data management module 235 of the MFP 150, and acquires power log information. In step S1102, the task management module 208 determines whether the execution of the power log acquisition task in step S1101 has succeeded. If the power log information of the MFP 150 can be acquired and it is determined that the process is successful, the process advances to step S1103. If it is determined that the correct power log cannot be acquired due to a failure of the MFP 150 or a network failure, the process ends.
At this time, the task may be re-executed by limiting the number of executions of the task. In step S <b> 1103, the power log management module 207 acquires power log information corresponding to the MFP 150 recorded in the temporary power log management table 302 of the database server service module 203. In step S1104, the power log management module 207 sorts and sorts the power log information acquired in step S1101 and the power log information acquired in step S1103 in chronological order, and combines the power log information. In step S1105, the power log management module 207 stores the power log information combined in step S1104 in the database server service module 203, and the process ends.

続いて、図7を用いて管理アプリケーション200が消費電力量のレポートを作成する方法を説明するが、S1000〜S1004の処理は、実施形態1と同様のため説明を省略する。なお、S1000〜S1004の処理は、図11のS1100〜S1105の後に実行される。   Next, a method for the management application 200 to generate a power consumption report will be described with reference to FIG. 7, but the processing in S1000 to S1004 is the same as that in the first embodiment, and thus the description thereof is omitted. Note that the processing of S1000 to S1004 is executed after S1100 to S1105 of FIG.

以上の処理により、MFP150はログ管理によるメモリ消費量、及びログの書き換えサイクルを少なくすることができる。また、管理アプリケーション200がMFP150から断続的に通知された電力ログ情報を結合することで、電力ログ情報を本来の内容に戻し、消費電力量を計算する際のレポート結果の誤差を最小限に抑えることが可能となる。   With the above processing, the MFP 150 can reduce the memory consumption by log management and the log rewrite cycle. Further, by combining the power log information notified from the MFP 150 intermittently by the management application 200, the power log information is restored to the original content, and the error of the report result when calculating the power consumption is minimized. It becomes possible.

〔第5実施形態〕
上記実施形態では、第1のログ出力ポリシーと、第2のログ出力ポリシーとに基づいて、遷移する電力状態を電力状態遷移ログ管理テーブル400に登録する制御について説明した。
これに加えて、アプリケーションサーバ100と通信するネットワークが遮断した場合に備えて、第3のログ出力ポリシーをあらかじめ設定しておく構成としてもよい。これにより、アプリケーションサーバ100がMFP150に対するポーリング処理で、上記電力状態遷移ログ管理テーブル400の内容をネットワーク切断で取得できない場合、以下の処理を行う。具体的には、第1のログ出力ポリシーと、第2のログ出力ポリシーに対応づけるしきい値を2倍とするように調整する。
このように第3のログ出力ポリシーをあらかじめ設定することで、アプリケーションサーバ100に通知される電力状態遷移ログ管理テーブル400の誤差を最小限に抑えることができる。
[Fifth Embodiment]
In the above embodiment, the control for registering the power state to be transitioned in the power state transition log management table 400 based on the first log output policy and the second log output policy has been described.
In addition to this, the third log output policy may be set in advance in case the network communicating with the application server 100 is shut off. Accordingly, when the application server 100 cannot acquire the contents of the power state transition log management table 400 by network disconnection in the polling process for the MFP 150, the following process is performed. Specifically, the threshold value associated with the first log output policy and the second log output policy is adjusted to be doubled.
Thus, by setting the third log output policy in advance, the error of the power state transition log management table 400 notified to the application server 100 can be minimized.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステムまたは装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えばASIC)によっても実現可能である。   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 アプリケーションサーバ
120 クライアントコンピュータ
150 MFP
100 Application server 120 Client computer 150 MFP

Claims (13)

管理装置と通信する情報処理装置であって、
情報処理装置で遷移する電力状態の変化を検出する検出手段と、
遷移する電力状態を記憶手段に記憶して管理する管理手段と、
前記検出手段が遷移する電力状態の変化を検出した場合、前記遷移する電力状態が所定の遷移パターン条件を満たしているかどうかを判断する第1の判断手段と、
前記遷移する電力状態を出力すべき所定の出力ポリシー条件を満たしているかどうかを判断する第2の判断手段と、
前記所定の遷移パターン条件を満たしていると判断し、かつ、前記所定の出力ポリシー条件を満たしていると判断した場合、前記電力状態の変化を前記記憶手段に記憶させ、前記所定の遷移パターン条件を満たしていると判断し、かつ、前記所定の出力ポリシー条件を満たしていないと判断した場合、前記電力状態の変化を前記記憶手段に記憶させないように制御する制御手段と、
を備えることを特徴とする情報処理装置。
An information processing apparatus that communicates with a management apparatus,
Detecting means for detecting a change in the power state transitioned in the information processing apparatus;
Management means for storing and managing the transition power state in the storage means;
A first determination unit that determines whether or not the transitioned power state satisfies a predetermined transition pattern condition when the detection unit detects a change in the transitioned power state;
Second determination means for determining whether or not a predetermined output policy condition for outputting the transition power state is satisfied;
When it is determined that the predetermined transition pattern condition is satisfied, and it is determined that the predetermined output policy condition is satisfied, the change of the power state is stored in the storage unit, and the predetermined transition pattern condition And control means for controlling not to store the change in the power state in the storage means when it is determined that the predetermined output policy condition is not satisfied, and
An information processing apparatus comprising:
前記所定の出力ポリシー条件は、前記管理装置から取得することを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the predetermined output policy condition is acquired from the management apparatus. 前記所定の出力ポリシー条件は、複数の出力ポリシー条件を有し、各出力ポリシー条件には、優先順位を設定することができることを特徴とする請求項1乃至2のいずれか1項に記載の情報処理装置。   3. The information according to claim 1, wherein the predetermined output policy condition includes a plurality of output policy conditions, and a priority can be set for each output policy condition. 4. Processing equipment. 前記所定の出力ポリシー条件は、電力状態の変化で消費される電力量に基づく第1の出力ポリシー条件と、変化した電力状態の継続時間に基づく第2の出力ポリシー条件とを含むことを特徴とする請求項1記載の情報処理装置。   The predetermined output policy condition includes a first output policy condition based on an amount of power consumed by a change in a power state, and a second output policy condition based on a duration of the changed power state. The information processing apparatus according to claim 1. 前記第2の判断手段は、前記第1の出力ポリシー条件を満たし、かつ、前記第2の出力ポリシー条件を満たす場合に、前記所定の出力ポリシー条件を満たしていると判断することを特徴とする請求項1記載の情報処理装置。   The second determination means determines that the predetermined output policy condition is satisfied when the first output policy condition is satisfied and the second output policy condition is satisfied. The information processing apparatus according to claim 1. 前記第1の出力ポリシー条件は、遷移する前と遷移する後とで変化する電力量の差分から特定される電力量が所定の電力しきい値を超えていることであることを特徴とする請求項1または5に記載の情報処理装置。   The first output policy condition is that a power amount specified from a difference in power amount that changes between before and after transition exceeds a predetermined power threshold value. Item 6. The information processing apparatus according to Item 1 or 5. 前記第2の出力ポリシー条件は、遷移する電力状態の継続時間が所定の時間しきい値を超えていることであることを特徴とする請求項1または5に記載の情報処理装置。   6. The information processing apparatus according to claim 1, wherein the second output policy condition is that a duration time of the transitioning power state exceeds a predetermined time threshold value. 前記所定の時間しきい値は、前記記憶手段に記憶させる電力状態の最大数に基づいて決定することを特徴とする請求項7記載の情報処理装置。   The information processing apparatus according to claim 7, wherein the predetermined time threshold is determined based on a maximum number of power states stored in the storage unit. 前記所定の電力しきい値は、前記記憶手段に記憶させる電力状態の最大数に基づいて決定することを特徴とする請求項6記載の情報処理装置。   The information processing apparatus according to claim 6, wherein the predetermined power threshold is determined based on a maximum number of power states stored in the storage unit. 前記管理装置からの取得要求に従い、前記記憶手段に記憶された電力状態を返信する返信手段を備えることを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, further comprising a reply unit that returns a power state stored in the storage unit in accordance with an acquisition request from the management apparatus. 管理装置と通信する情報処理装置の制御方法であって、
前記情報処理装置で遷移する電力状態の変化を検出する検出工程と、
前記遷移する電力状態を記憶手段に記憶して管理する管理工程と、
前記検出工程が遷移する電力状態の変化を検出した場合、前記遷移する電力状態が所定の遷移パターン条件を満たしているかどうかを判断する第1の判断工程と、
前記遷移する電力状態を出力すべき所定の出力ポリシー条件を満たしているかどうかを判断する第2の判断工程と、
前記所定の遷移パターン条件を満たしていると判断し、かつ、前記所定の出力ポリシー条件を満たしていると判断した場合、前記電力状態の変化を前記記憶手段に記憶させ、前記所定の遷移パターン条件を満たしていると判断し、かつ、前記所定の出力ポリシー条件を満たしていないと判断した場合、前記電力状態の変化を前記記憶手段に記憶させないように制御する制御工程と、
を備えることを特徴とする情報処理装置の制御方法。
A method of controlling an information processing apparatus that communicates with a management apparatus,
A detection step of detecting a change in a power state transitioned in the information processing apparatus;
A management step of storing and managing the transition power state in a storage means;
A first determination step of determining whether the transitioning power state satisfies a predetermined transition pattern condition when the detection step detects a transition of the transitioning power state;
A second determination step of determining whether or not a predetermined output policy condition to output the transition power state is satisfied;
When it is determined that the predetermined transition pattern condition is satisfied, and it is determined that the predetermined output policy condition is satisfied, the change of the power state is stored in the storage unit, and the predetermined transition pattern condition And a control step for controlling not to store the change in the power state in the storage unit when it is determined that the predetermined output policy condition is not satisfied, and
An information processing apparatus control method comprising:
請求項11に記載の情報処理装置の制御方法をコンピュータに実行させることを特徴とするプログラム。   A program for causing a computer to execute the control method of the information processing apparatus according to claim 11. 管理装置と通信する情報処理装置であって、
情報処理装置で遷移する電力状態の変化を検出することに応じて、遷移する電力状態を記憶手段に記憶して管理する管理手段と、
前記記憶手段に記憶できる遷移する電力状態の数に応じて、前記記憶手段に記憶させる遷移する電力状態を出力するための出力ポリシー条件を調整する調整手段と、
を備えることを特徴とする情報処理装置。
An information processing apparatus that communicates with a management apparatus,
A management unit for storing and managing the transition power state in the storage unit in response to detecting a change in the power state transition in the information processing apparatus;
Adjusting means for adjusting an output policy condition for outputting a transition power state to be stored in the storage means according to the number of transition power states that can be stored in the storage means;
An information processing apparatus comprising:
JP2014229023A 2014-11-11 2014-11-11 Information processing equipment, control method of information processing equipment, and program Pending JP2016088057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014229023A JP2016088057A (en) 2014-11-11 2014-11-11 Information processing equipment, control method of information processing equipment, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014229023A JP2016088057A (en) 2014-11-11 2014-11-11 Information processing equipment, control method of information processing equipment, and program

Publications (1)

Publication Number Publication Date
JP2016088057A true JP2016088057A (en) 2016-05-23

Family

ID=56018089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014229023A Pending JP2016088057A (en) 2014-11-11 2014-11-11 Information processing equipment, control method of information processing equipment, and program

Country Status (1)

Country Link
JP (1) JP2016088057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019106072A (en) * 2017-12-13 2019-06-27 株式会社リコー Information processor, program, used amount prediction method, and information processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019106072A (en) * 2017-12-13 2019-06-27 株式会社リコー Information processor, program, used amount prediction method, and information processing system

Similar Documents

Publication Publication Date Title
JP7158864B2 (en) System and method of using it
JP2007066189A (en) Program and method for managing device driver, and information processor
JP2004227359A (en) Operation management method for storage system based on policy
KR101959601B1 (en) Management system and method for controlling management system
CN103176756B (en) Information processor, data management system and information processing method
JP2006107456A (en) Method and system for managing state of user or state of device in information processing system
JP2011128995A (en) Log information management system, control method therefor, and storage medium
JP5835291B2 (en) COMMUNICATION DEVICE, ITS CUSTOMIZATION METHOD, AND COMPUTER PROGRAM
JP2012043071A (en) Adjusting system, adjusting device, adjusting method and program for the same
JP2015121989A (en) Network device, control method for network device and program thereof
JP2015219890A (en) Management device, and control method and program for the same
US7904613B2 (en) Network device, network device management method, network device management system
US8301807B2 (en) Device management apparatus, device management method, and recording medium
JP6274758B2 (en) Network device management apparatus, network device management method, and program for executing network device management method
JP2016088057A (en) Information processing equipment, control method of information processing equipment, and program
US8892796B2 (en) Image forming apparatus and control method thereof
US20220067019A1 (en) Data cooperation system and control system
CN114817134A (en) Snapshot task monitoring method, device, equipment and medium
JP6195352B2 (en) Delivery control apparatus, delivery control method, program, delivery control system, and control method therefor
JP2015095053A (en) Management device and method of the same
CN112769954A (en) Method and system for automatically storing and routing WEB program
JP2015232780A (en) Information processing apparatus and system, management device, and power state control method
JP4421669B2 (en) Resource management program, resource management method, and resource management apparatus
JP2020149327A (en) Information processor and program
CN117806815B (en) Data processing method, system, electronic device and storage medium