JP2012168610A - Management system, management device, control method, and program - Google Patents
Management system, management device, control method, and program Download PDFInfo
- Publication number
- JP2012168610A JP2012168610A JP2011027063A JP2011027063A JP2012168610A JP 2012168610 A JP2012168610 A JP 2012168610A JP 2011027063 A JP2011027063 A JP 2011027063A JP 2011027063 A JP2011027063 A JP 2011027063A JP 2012168610 A JP2012168610 A JP 2012168610A
- Authority
- JP
- Japan
- Prior art keywords
- task
- network device
- time
- notification
- management
- 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.)
- Withdrawn
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
Abstract
Description
本発明は、ネットワーク機器と前記ネットワーク機器を管理する管理装置とを含む管理システムの制御に関する。 The present invention relates to control of a management system including a network device and a management device that manages the network device.
プリンタや複合機などのネットワーク機器では、決められた時刻や決められた時間が経過すると、ネットワーク機器を待機状態(省電力状態、スリープ状態ともいう)や電源断の状態に遷移する機能を持つものがある。 Network devices such as printers and multi-function devices that have a function to transition the network device to a standby state (also called a power-saving state or sleep state) or a power-off state when a predetermined time or a predetermined time elapses There is.
例えば、ネットワーク機器が待機状態となった時刻から、ネットワーク機器管理者の設定したある一定の時間が経過すると、自動的に電源断の状態になるネットワーク機器が挙げられる。なお、経過時間による電源断のためにタイマー(以下、「電源断タイマー」または単に「タイマー」と記載する)が用いられる。 For example, there is a network device that automatically turns off when a certain time set by the network device administrator elapses from the time when the network device is in a standby state. A timer (hereinafter referred to as “power-off timer” or simply “timer”) is used for power-off due to elapsed time.
このタイマーは、待機状態から通常動作状態に状態遷移する、またはネットワーク機器が再起動されることでリセットされることがある。電源断するための時刻や経過時間の設定は、ネットワーク機器の管理者によってネットワーク機器に登録されている。 This timer may be reset when the state transitions from the standby state to the normal operation state or when the network device is restarted. The setting of the time for turning off the power and the elapsed time are registered in the network device by the administrator of the network device.
これらのネットワーク機器は管理装置によって管理される。管理装置には、管理対象のネットワーク機器に対して、ファームウェア等のプログラムを配信可能なものも存在しており、更にプログラム配信処理をスケジューリングすることで指定時刻に臨時処理や定期処理を実行可能なものも存在する。 These network devices are managed by a management device. Some management devices can distribute firmware and other programs to network devices to be managed, and by scheduling program distribution processing, temporary processing and periodic processing can be executed at specified times. There are also things.
なお、ネットワーク機器や管理装置の管理者などによる処理のスケジューリングの際、ネットワーク機器に設定された電源断時刻より後に処理を登録してしまうことがある。このような場合、ネットワーク機器が電源断の状態であるため、ネットワーク機器や管理装置はスケジューリングされた処理を実行できない。 When scheduling a process by an administrator of a network device or management apparatus, the process may be registered after the power-off time set for the network device. In such a case, since the network device is in a power-off state, the network device and the management device cannot execute the scheduled processing.
この問題を回避するため、また処理を再登録する手間を軽減するための技術として、特許文献1が挙げられる。特許文献1は、登録された処理の完了時刻が電源断時刻を過ぎてしまう場合に、自動的に処理の再スケジューリングを行い、電源断までに処理を完了させるものである。
管理装置により配信処理されるファームウェア等のプログラムには、設定を反映させるためにネットワーク機器の再起動を要求するものがある。また、プログラム以外にも、例えばネットワーク設定など、設定項目によってはネットワーク機器の再起動が必要になる項目もある。管理装置において、再起動を要するプログラムの配信をスケジューリングされると、指定時刻にプログラムの配信・設定処理と、ネットワーク機器の再起動を実行する方法が一般的である。 Some programs such as firmware to be distributed by the management apparatus request restart of the network device in order to reflect the setting. In addition to the program, there are items such as network settings that require restart of the network device depending on the setting items. In a management apparatus, when distribution of a program that requires restart is scheduled, a method of executing program distribution / setting processing and network device restart at a specified time is generally used.
しかし、上述したような、電源断タイマーを持つネットワーク機器を管理する管理装置であって再起動を要するプログラムの配信を行うのも管理装置では、電源断タイマーによる電源断時刻前に、プログラムの配信処理が実行されることがある。 However, as described above, the management device that manages the network device having the power-off timer and distributes the program that needs to be restarted. The management device also distributes the program before the power-off time by the power-off timer. Processing may be executed.
この場合、プログラムの配信処理により再起動が発生し、電源断タイマーがリセットされてしまう。このため、ネットワーク機器では、再度、待機状態に移行するまでの時間と電源断タイマーにより電源断されるまでの時間だけ、無駄に電力を消費することになってしまう。 In this case, restart occurs due to the program distribution process, and the power-off timer is reset. For this reason, the network device consumes power wastefully only for the time until it again enters the standby state and the time until the power is turned off by the power-off timer.
本発明は、上記の問題点を解決するためになされたものである。本発明の目的は、ネットワーク機器のもつ電源断タイマーをリセットすることなく、電源断までの無駄な時間や、その時間に消費される無駄な電力消費を軽減し、且つ適切に処理を実行することができる仕組みを提供することである。 The present invention has been made to solve the above problems. An object of the present invention is to reduce wasteful time until power-off and wasteful power consumption consumed during that time without resetting the power-off timer of the network device, and to execute processing appropriately. It is to provide a mechanism that can do.
本発明は、ネットワーク機器と、前記ネットワーク機器を管理する管理装置とを含む管理システムであって、前記管理装置は、前記ネットワーク機器の再起動を伴うタスクの生成を行う生成手段と、前記生成手段で生成されたタスクを実行する実行手段と、前記ネットワーク機器のシャットダウンの時期を特定するための通知を受信する受信手段と、を有し、前記ネットワーク機器は、前記管理装置に対して、前記ネットワーク機器のシャットダウンの時期を特定するための通知を行う通知手段と、前記管理装置において実行されたタスクで要求される処理を行う処理手段と、を有し、前記生成手段は、前記通知に従って、前記通知を行ったネットワーク機器を対象として生成されるタスクを、実行に伴ってネットワーク機器が再起動しない設定とし、前記処理手段は、前記通知に従って前記生成手段で生成されたタスクが前記管理装置で実行されたことに応じて、再起動することなく、当該タスクで要求される処理を行うことを特徴とする。 The present invention is a management system including a network device and a management device that manages the network device, wherein the management device generates a task that involves restarting the network device, and the generation unit An execution means for executing the task generated in step (b), and a reception means for receiving a notification for specifying a shutdown timing of the network device, wherein the network device sends the network to the management device. Notification means for performing notification for specifying the time of shutdown of the device, and processing means for performing processing required by the task executed in the management device, and the generation means, according to the notification, The network device does not restart when the task generated for the notified network device is executed The processing means performs the processing requested by the task without restarting when the task generated by the generating means is executed by the management device according to the notification. And
本発明によれば、ネットワーク機器のもつ電源断タイマーをリセットすることなく、電源断までの無駄な時間や、その時間に消費される無駄な電力消費を軽減し、且つ適切に処理を実行することができる。 According to the present invention, without resetting the power-off timer of the network device, it is possible to reduce wasteful time until power-off and wasteful power consumption consumed during that time, and execute processing appropriately. Can do.
以下、本発明を実施するための形態について図面を用いて説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
図1は、本発明の一実施例を示すネットワーク機器の管理システムの全体構成の一例を示す図である。
図1に示すように、本実施例の管理システムは、ネットワーク100により互いに接続された管理装置101、ネットワーク機器102、及びクライアント装置103から構成される。
FIG. 1 is a diagram showing an example of the overall configuration of a network device management system according to an embodiment of the present invention.
As illustrated in FIG. 1, the management system according to the present exemplary embodiment includes a
管理装置101は、ネットワーク機器102を管理するための装置である。また、管理装置101やクライアント装置103は、一般的なパーソナルコンピュータに含まれるような構成を有している。
The
ネットワーク機器102は、ネットワーク100により管理装置101と接続されている。ネットワーク機器102は、MFP(Multifunction Peripheral)やプリンタ、FAX等であり、管理装置101で管理可能な機器を指す。なお、図1において管理装置101、ネットワーク機器102、クライアント装置103が接続されるネットワーク100は、インターネットでもイントラネットでも良い。また、管理装置101やネットワーク機器102、クライアント装置103は、任意の数だけネットワーク100に接続されていて良い。
The
以下、図2〜図5を用いて、本実施例の管理システムを構成する各装置のハードウェア構成及びソフトウェア構成を以下で説明する。
図2は、管理装置101やクライアント装置103のハードウェア構成の一例を示すブロック図である。
図2において、システムバス200は、コンピュータを構成する各コンポーネント同士の共通データ交換経路である。CPU(Central Processing Unit)201は、コンピュータ全体の制御や演算処理等を行う装置である。RAM(Random Access Memory)202は、処理を行う際にプログラムやデータを記憶、実行する領域を指す。ROM(Read Only Memory)203は、システム起動プログラムなどのプログラムをコンピュータ読み取り可能に記憶する領域である。
Hereinafter, the hardware configuration and the software configuration of each device constituting the management system of the present embodiment will be described with reference to FIGS.
FIG. 2 is a block diagram illustrating an example of a hardware configuration of the
In FIG. 2, a
DKC(Disk Controller)204は、HD(Hard Disk)205やSSD(Solid State Drive)などの外部記憶装置の制御を行う。HD205は、プログラムやデータをコンピュータ読み取り可能に記憶しており、必要に応じてRAM202やHD205へプログラムやデータをロード可能である。なお、HD205の代わりに、SSDやその他の外部記憶装置を用いてもよい。
A DKC (Disk Controller) 204 controls an external storage device such as an HD (Hard Disk) 205 and an SSD (Solid State Drive). The
Network I/F206は、ネットワーク100と接続しネットワーク通信を行う。入出力I/F207は、不図示のキーボードやマウス、ディスプレイなどに接続されており、データの入出力を行う。
A network I /
管理装置101やクライアント装置103は、CPU201が基本I/Oプログラム及びOSを実行している状態で動作する。基本I/Oプログラムは、ROM203に記憶されており、OSはHD205に記憶されている。コンピュータの電源が入れられた際、基本I/Oプログラム中のイニシャルプログラムのロード機能により、HD205からOSがRAM202にロードされ、CPU201により実行されて、OSの動作が開始される。
The
図3は、管理装置101のソフトウェア構成の一例を示すブロック図である。
図3に示すように、管理装置101のソフトウェアには、ネットワークモジュール300、Webサービス301、機器管理モジュール302、タスク管理モジュール303、データベース304が含まれている。なお、図3のソフトウェア構成は、プログラムとして管理装置101のHD205に格納されており、該プログラムを管理装置101のCPU201が実行することにより実現される。即ち、図2に示したようなハードウェア構成のコンピュータを、図3に示すソフトウェア構成で機能させるためのプログラムが管理装置101のHD205にコンピュータ読み取り可能に記録されている。
FIG. 3 is a block diagram illustrating an example of the software configuration of the
As shown in FIG. 3, the software of the
ネットワークモジュール300は、ネットワーク100を介して接続されたネットワーク機器102やクライアント装置103との通信を行う。Webサービス301は、クライアント装置103のWebブラウザからHTTP(Hypertext Transfer Protocol)によるGETリクエストを受け取ると、HD205に保存されたWebページデータを返信するサービスを提供する。なお、ここではHTTPによる通信で説明しているが、HTTPS(HTPPS over Secure Socket Layer)やFTP(File Transfer Protocol)などのその他の通信プロトコルを利用しても良く、HTTPに限定されない。また、Webサービス301が受け取るリクエストは、クライアント装置103からのリクエストに限定されず、Webサービス301を利用できる環境からのリクエストであればよい。
The
機器管理モジュール302は、ネットワーク機器102を管理するための処理(以下、タスクと記載する)を実行するモジュールである。例えば、ネットワーク機器102の動作状態を確認し確認結果をデータベース304へ保存するタスクや、ネットワーク機器102に対して再起動を要求・実行するタスクが挙げられる。
The
タスク管理モジュール303は、前述のタスクの生成や、前述のタスクのスケジューリング、タスクの内容を書き換えることができるモジュールである。例えば、毎日0時にタスクを実行するようにスケジューリングすることや、再起動や電源断を伴うタスクにおいて、それらの処理を実行するかどうかを制御することができる。なお、タスクのスケジューリングに関する情報は、データベース304に保存されている。
The
上記のように機器管理モジュール302、タスク管理モジュール303は、Webサービス301と共にネットワーク機器102を管理するWebアプリケーションを実現している。なお、Webアプリケーションに限定されず、ネイティブアプリケーションであっても良い。
As described above, the
データベース304には、ネットワーク機器102の情報や、機器管理モジュール302により取得した情報、タスク管理モジュール303によるタスクの情報などが記憶されている。なお、データベース304は機器管理モジュール302やタスク管理モジュールからアクセス可能であれば、管理装置101とは別の機器上にあっても良い。
The
図4は、ネットワーク機器102のハードウェア構成の一例を示す図であり、ここではMFPの例を示す。
図4に示すように、ネットワーク機器102は、制御ユニット400、操作部401、プリンタ402、スキャナ403を有する。
制御ユニット400の操作部関連の構成は、CPU410、RAM411、操作部I/F412、Network I/F413、ROM414、DKC415、HD416、Image Bus I/F417、システムバス418を備える。制御ユニット400の印刷、スキャン関連の構成は、画像バス419、スキャナ画像処理部420、プリンタ画像処理部421、RIP422、デバイスI/F423を備える。
FIG. 4 is a diagram illustrating an example of a hardware configuration of the
As illustrated in FIG. 4, the
The configuration related to the operation unit of the control unit 400 includes a
CPU410は、制御ユニット400全体を制御するためのコントローラである。RAM411は、画像データを一時記憶するための画像メモリである。操作部I/F412は、操作部401とのインタフェースであり、操作部401で表示する画像データを操作部401に対して出力する。また、ユーザが操作部401により入力した情報をCPU410へ伝達する役割を有する。
The
Network I/F413は、ネットワーク100と接続しており、ネットワーク100を介して、外部の装置と情報のやり取りをするインタフェースである。また、Network I/F413は、ネットワーク機器102の各種情報を格納したMIB(Management Information Base)を備える。MIBが有する各種情報は、IPアドレスやネットワーク機器の名称、状態などの情報を指す。
The network I /
ROM414は、ブートROMであり、システムのブートプログラムがコンピュータ読み取り可能に記録されている。DKC415は、HD416やSSD等の外部記憶装置の制御を行う。HD416は、外部記憶装置であり、システムソフトウェアや画像データをコンピュータ読み取り可能に記録する。なお、HD416の代わりにSSD等の他の外部記憶装置を用いてもよい。
The
Image Bus I/F417は、システムバス418と画像バス419とを接続し、データ変換を行うバスブリッジである。システムバス418は、制御ユニット400を構成する各コンポーネント同士の共通データ交換経路である。
The Image Bus I / F 417 is a bus bridge that connects the
画像バス419は、PCIバス、またはIEEE1394で構成されており、画像データを高速に転送する経路である。スキャナ画像処理部420は、入力画像に対し、補正や加工、編集を行う。プリンタ画像処理部421は、プリント出力画像データに対して、プリンタの性能に応じた補正、解像度の変換などを行う。
The
RIP(Raster Image Processor)422は、ネットワーク100から送られてきたPDL(Page Description Language)コマンドをビットマップイメージに展開する。デバイスI/F423は、画像入出力デバイスであるプリンタ402、及びスキャナ403と制御ユニット400とを接続し、画像データの変換を行う。
A RIP (Raster Image Processor) 422 expands a PDL (Page Description Language) command sent from the
ネットワーク機器102の電源が入れられた際、ROM414内のブートプログラム中のロード機能により、HD416からシステムソフトウェアがRAM411にロードされ、CPU410により実行されて、ネットワーク機器の各種機能が使用可能になる。
When the
図5は、ネットワーク機器102のソフトウェア構成の一例を示すブロック図である。
図5に示すように、ネットワーク機器102のソフトウェア構成は、ネットワークモジュール500、及び管理モジュール501を含む。
ネットワークモジュール500は、ネットワーク100に接続された外部装置(管理装置101やクライアント装置103)とのインタフェースの役割をする。例えば管理装置101からネットワーク機器の機器情報の取得要求を受け取り、管理モジュール501へ要求を伝える。管理装置101などとの通信は、SNMP(Simple Network Management Protocol)による通信や、SOAP(Simple Object Access Protocol)メッセージによる通信などが挙げられる。また、ネットワークモジュール500は、管理モジュール501から機器情報を受け取り、ネットワーク100を介して管理装置101へ応答する。
FIG. 5 is a block diagram illustrating an example of a software configuration of the
As shown in FIG. 5, the software configuration of the
The
管理モジュール501は、ネットワーク機器102の内部操作を行うためのモジュールであり、タスク実行モジュール502、情報管理モジュール503、状態監視モジュール504を含んでいる。
The
タスク実行モジュール502は、管理装置101やネットワーク機器102の管理者によって設定されたタスクを実行するためのモジュールである。例えば、管理装置101からネットワーク機器102の再起動要求をされた場合、タスク実行モジュール502は、再起動要求を解釈し、再起動に必要な内部処理を実行する。
The
情報管理モジュール503は、ネットワーク機器102に設定されている情報(名称、IPアドレス、電源断タイマー設定値など)を管理するモジュールである。具体的には、管理装置101などからの機器設定情報の取得要求に対して、ネットワーク機器102の設定情報を返答することができる。
The
状態監視モジュール504は、ネットワーク機器102が正常に動作しているか、待機状態(省電力状態、スリープ状態ともいう)であるか、エラーが発生している状態であるか、などを監視するモジュールである。例えば、状態監視モジュール504は、ネットワーク機器102が通常動作状態から待機状態に遷移すると、管理装置101に対して、状態変化した旨を通知することも可能である。また、状態監視モジュール504は、ネットワーク機器102が通常動作状態から待機状態に遷移すると、状態監視モジュール504においてネットワーク機器102の電源断タイマーを起動する。さらに、状態監視モジュール504は、ネットワーク機器102がスリープ状態に移行して電源断タイマーを起動した旨を、ネットワーク機器102の電源断(シャットダウン)の時期を特定するための通知として、管理装置101に通知する。そして、タイマー時間(ネットワーク機器毎に設定される時間)になると、状態監視モジュール504は、電源断タスクをタスク実行モジュール502に要求・実行させることができる。
The
なお、ネットワーク機器102の機器情報を代表とする情報は、HD416に格納されている。また、ネットワーク機器102の情報は、図5に示されていないがデータベースによって管理されていても良い。さらに、電源断タイマーは、状態監視モジュール504と別モジュールであっても良い。
Information representative of device information of the
図6は、実施例1における主な処理の流れを示すシーケンス図である。なお、図6では、タスク処理の一例としてファームウェア更新タスクを例に挙げて説明する。ファームウェア更新タスクは、ネットワーク機器102に組み込まれているファームウェアを別のファームウェアに更新する処理を指す。また、ファームウェア更新タスクは、新たに組み込まれたファームウェア設定を反映させるため、ネットワーク機器102の再起動が必要なものとする。なお、図6中の管理装置101の処理は、管理装置101のCPU201がHD205にコンピュータ読み取り可能に記録されたプログラムを実行することにより実現される。また、図6中のネットワーク機器102の処理は、ネットワーク機器102のCPU410がHD416にコンピュータ読み取り可能に記録されたプログラムを実行することにより実現される。なお、601〜607は各ステップを示す。
FIG. 6 is a sequence diagram illustrating a main processing flow in the first embodiment. In FIG. 6, a firmware update task will be described as an example of task processing. The firmware update task refers to a process for updating firmware incorporated in the
図6では、まず管理装置101の管理者600により、ファームウェア更新タスクの設定が行われる(601)。601のタスクの設定では、どのネットワーク機器に対して、どのファームウェアを、いつ更新するかなどを管理装置101に設定する。このタスク設定の機能は、管理装置101のWebサービス301及びタスク管理モジュール303により提供されている。管理者600は、クライアント装置103のWebブラウザから管理装置101のWebサービスにアクセスし、クライアント装置103のWebブラウザ上でタスク設定の操作を行う。この操作に応じてクライアント装置103のWebブラウザからタスク設定のリクエストが管理装置101のWebサービス301に送信され、タスク管理モジュール303に渡される。タスク管理モジュール303は、上記タスク設定のリクエストに応じて、タスクを設定する(タスクを生成し、データベース304に登録する)。なお、タスクの設定は、管理者からの設定に限定されるものではない。例えば、インターネット等のネットワークを介してメーカーや販売会社等に設置されたサーバ等からも、タスクの設定が行われる構成であってもよい。
In FIG. 6, first, the firmware update task is set by the
タスク管理モジュール303でタスクの設定が完了すると、Webサービス301は、タスクの設定完了通知を、タスク設定をリクエストしたクライアント装置103のWebブラウザに送信する(602)。即ち、タスクの設定完了通知を、タスクを設定した管理者600に対して行う。
When the task setting is completed in the
管理者600によるタスク設定(601)が完了した後、該601で設定したタスクの実行時間より前に、該タスクの対象となっているネットワーク機器102の状態監視モジュール504から電源断タイマーが起動した旨が、管理装置101に通知された場合(603)、管理装置101のタスク管理モジュール303は、前記タスクの再設定処理(図7)を行う(604)。
After the task setting (601) by the
なお、電源断タイマーは、前記ネットワーク機器102が待機状態となった際等に、状態監視モジュール504により起動される。また、604のタスクの再設定処理では、図7にて詳細に示すように、ネットワーク機器の再起動実施の有無を判断し、判断結果に応じてタスクの設定を変更する。例えば、ファームウェア更新タスクの再設定の場合、電源断タイマーが起動されているときには、ファームウェア更新タスクで必要な再起動を実施しない設定に変更する。
The power-off timer is activated by the
そして、上記601で設定した、及び/又は、上記604で再設定したタスクの実行時間になると、タスク管理モジュール303は、管理装置101の機器管理モジュール302に要求して、上記タスクを実行させる(605)。例えば、前記ネットワーク機器102のファームウェアを更新するタスクを実行する。このタスクの場合、管理装置101の機器管理モジュール302は、前記ネットワーク機器102に更新するファームウェアを送信し、ファームウェアの更新を要求する。この要求に応じて、前記ネットワーク機器102のタスク実行モジュール502は、管理装置101から受信したファームウェアを用いてファームウェアを更新するための処理(タスク)を実行する。
When the execution time of the task set in 601 and / or reset in 604 is reached, the
そして、前記ネットワーク機器102のタスク実行モジュール502によるタスクの実行が完了すると、タスク実行モジュール502は、管理装置101に対して実行完了通知を行う(606)。また、タスク実行モジュール502は、管理者600に対しても実行完了通知を行う(607)。なお、607の実行完了通知は、前記ネットワーク機器102から通知するのではなく、上記606の実行完了通知を受けた管理装置101から通知するものでもよい。また、上記607の管理者600への実行完了通知は、管理者600のクライアント装置103の表示装置の画面上でのポップアップ表示でも良いし、予め登録されている管理者600のメールアドレスへのメール通知などでも良い。また606、607の実行完了通知を行わない構成であっても良い。
When task execution by the
図7は、実施例1における図6のタスクの再設定処理(604)の詳細を示すフローチャートである。本処理は、管理装置101のタスク管理モジュール303が動作の主体である。即ち、図7の処理は、管理装置101のCPU201がHD205にコンピュータ読み取り可能に記録されたプログラムを実行することにより実現される。
FIG. 7 is a flowchart illustrating details of the task resetting process (604) in FIG. 6 according to the first embodiment. This process is mainly performed by the
なお、本処理は再起動を伴うタスクとして、ネットワーク機器102にファームウェア(プログラム)を適用するタスクについての再設定処理について述べた。しかし、本発明はこれに限定されるものではなく、タイマーがリセットされるような動作を伴うタスクであれば良い。また、実行するネットワーク機器102の設定変更などのタスク処理自体は、その処理を行ってもタイマーがリセットされないものとする。
In addition, this process described the reset process about the task which applies firmware (program) to the
管理装置101のタスク管理モジュール303は、ネットワーク機器102において電源断タイマーが起動されたことを示す通知(即ち、ネットワーク機器102のシャットダウンの時期を特定するための通知)を受信すると(S700)、S701に処理を進める。S700の通知は、前述の603に該当しており、ネットワーク機器102により発せられる。また、S700の通知は一度ネットワークモジュール300により受信され、ネットワークモジュール300からタスク管理モジュール303に本通知が伝えられる。
When the
S701では、タスク管理モジュール303は、上記S701で受信した電源断タイマー開始通知を行ったネットワーク機器102に設定された電源断タイマーの設定情報をデータベース304から取得する。電源断タイマー設定情報は、タイマー開始から電源断するまでの時間を指している。この電源断タイマー設定情報は、データベース304に登録された設定情報を利用するのではなく、機器管理モジュール302を利用して直接ネットワーク機器102から取得しても良い。
In step S <b> 701, the
S702では、タスク管理モジュール303は、上記S701で受信した電源断タイマー開始通知を行ったネットワーク機器102の電源断の予定時刻を計算する。電源断の予定時刻は、上記S700の電源断タイマーを受信した時点でのシステム時間と、上記S701で取得したネットワーク機器102の電源断タイマー設定時刻を利用して計算される。
In S702, the
次に、S703において、タスク管理モジュール303は、予め管理装置101に登録されている、上記S701で受信した電源断タイマー開始通知を行ったネットワーク機器を対象として生成されたタスクの一覧をデータベース304から取得する。
次に、S704において、タスク管理モジュール303は、上記S703で取得したタスクの一覧における個々のタスクの設定情報を先頭から順にチェックする。
そして、S705において、タスク管理モジュール303は、全てのタスクに対して処理が完了したかを判定する。
タスク管理モジュール303は、上記S704にて次のタスクが取得できた場合は、まだ全タスクのチェックが完了していないと判定し(S705でNo)、S706へ処理を進める。
In step S <b> 703, the
In step S <b> 704, the
In step S <b> 705, the
If the next task can be acquired in S704, the
S706では、タスク管理モジュール303は、現在参照しているタスクが上記S702で計算した電源断予定時刻より前に実行されるタスクか否かを判定する。なお、S706は、実行するタスクが電源断前に完了することを前提とした判断でも、タスクが電源断前に開始されることを前提とした判断でも良い。また、S706は、実行するタスクが電源断の時期より所定時間前から前記電源断の時期までの期間に実行されるタスクか否かを判定するようにしてもよい。即ち、S706では、上記S701で受信した電源断タイマー開始通知を行ったネットワーク機器を対象として生成されるタスクで指定される実行すべき時期が、上記S702で計算した電源断予定時刻より前の所定期間に含まれるタスクか否かを判定するようにしてもよい。
In step S706, the
そして、現在参照しているタスクが上記S702で計算した電源断予定時刻より前に実行されるタスクでないと判定した場合(S706でNo)、タスク管理モジュール303は、次のタスクのチェックをするため、S704へ処理を移行させる。
If it is determined that the currently referenced task is not a task that is executed before the scheduled power-off time calculated in S702 (No in S706), the
一方、現在参照しているタスクが上記S702で計算した電源断予定時刻より前に実行されるタスクであると判定した場合(S706でYes)、タスク管理モジュール303は、S707へ処理を移行させる。
On the other hand, if it is determined that the currently referenced task is a task executed before the scheduled power-off time calculated in S702 (Yes in S706), the
S707では、タスク管理モジュール303は、現在処理しているタスクがネットワーク機器102の再起動を伴うタスクであるか否かを判断する。再起動を伴うタスクとは、例えば前述のファームウェア更新タスクが挙げられる。ファームウェア更新タスクは、ネットワーク機器102に設定したファームウェアを反映させるために再起動をする必要がある。タスク実行時にネットワーク機器102を再起動するかどうかは、タスク作成・登録時にユーザが指定してもよいし、タスク実行モジュールが自動判別してもよい。
In step S <b> 707, the
そして、再起動を伴わないタスクと判断された場合(S707でNo)、タスク管理モジュール303は、次のタスクのチェックをするため、S704へ処理を移行させる。
一方、再起動を伴うタスクと判断された場合(S707でYes)、タスク管理モジュール303は、S708へ処理を移行させる。
S708では、タスク管理モジュール303は、現在処理しているタスクの実行時に再起動を実行しないようにタスクの再設定(変更)を行う。このS708の処理を実施することで、タスクの実行に伴い電源断タイマーがリセットされることを回避することができる。なお、タスクの再設定は、一度古いタスクをデータベース304から削除し、新しく再起動しないタスクとしてデータベース304に登録し直しても良い。また複数のネットワーク機器102に対して1つのタスクが設定されている場合、そのタスクから電源断タイマーに影響されるネットワーク機器102だけをデータベース304から削除し、新たに影響されるネットワーク機器102だけのタスクをデータベース304に作成しても良い。
If it is determined that the task does not involve restart (No in S707), the
On the other hand, when it is determined that the task is associated with a restart (Yes in S707), the
In step S <b> 708, the
なおS708の処理を完了すると、タスク管理モジュール303は、次のタスクのチェックをするため、S704へ処理を移行させる。
そして、上記S704にて次のタスクが取得できなかった場合、タスク管理モジュール303は、全タスクのチェックが完了したとみなし(S705でYes)、S709へ処理を移行させる。
When the process of S708 is completed, the
If the next task cannot be acquired in S704, the
S709では、タスク管理モジュール303はWebサービス301に要求して、上記S708でタスクの再設定がなされた場合には再設定がなされた旨の通知、また、電源断タイマーの影響によりタスクが実行されない可能性がある場合にはその旨の通知などを含む変更通知を行い、図7に示す処理を終了する。
In S709, the
図8は、図7のS709の変更通知の一例を示す図である。
図8において、800は、管理装置101のWebサービス301で提供され、汎用コンピュータであるクライアント装置103のWebブラウザなどに表示される画面である。また、800は管理装置101の管理画面の一部として表示され、タスクの設定に変更が加えられた場合に表示される。
FIG. 8 is a diagram illustrating an example of the change notification in S709 of FIG.
In FIG. 8, 800 is a screen provided by the
801はデバイス情報を示している。デバイス情報801は、ネットワーク機器102の設定情報(機器名など)やネットワーク機器102の状態などを示している。
802は、上記図7のS703にて取得したタスクの一覧を表示し、さらにタスクの設定に変更のあったものや電源断タイマーにより影響の出たものをユーザに提示する画面である。例えば、図8における「Task01」は、再起動を伴うファームウェア更新タスクであり、タスク実行時間が1時と指定されている。「Task01」が、図7の処理により再起動を伴わないタスクに変更されたため、アイコンやコメントに情報が追加されている。また、「Task03」においてもタスクが実行されない可能性があるため、その旨がアイコンとコメントに追加されている。なお、図8の画面例はウィンドウによる表示形式であるが、この表示形式等に限定されない。
また、この変更通知は、予め登録された管理者のメールアドレスにメール送信される構成でもよい。
Reference numeral 802 denotes a screen that displays the list of tasks acquired in S703 of FIG. 7 and presents to the user what has been changed in the task settings or has been affected by the power-off timer. For example, “Task01” in FIG. 8 is a firmware update task that accompanies restarting, and the task execution time is specified as 1 o'clock. Since “Task01” has been changed to a task that does not involve restart by the processing of FIG. 7, information is added to the icon and the comment. In addition, since there is a possibility that the task is not executed also in “Task03”, this is added to the icon and the comment. Note that the screen example of FIG. 8 is a display format using a window, but is not limited to this display format.
The change notification may be sent by e-mail to an administrator's e-mail address registered in advance.
以上により、本実施例では管理装置101に登録された電源断タイマーをリセットする動作を伴うタスク(例えば、再起動を伴うタスク)により電源断タイマーをリセットせず、電源断までの無駄な時間を軽減することができる。また管理装置101及びネットワーク機器102の管理者に対し、適切な通知をすることができる。
よって、ネットワーク機器102へファームなどのプログラムを配信する管理装置101からファームウェアのバージョンアップ等のタスクを実行しても、ネットワーク機器102を効率的にシャットダウンさせることができ、無駄な電力消費を軽減できる。
As described above, in this embodiment, the task for resetting the power-off timer registered in the management apparatus 101 (for example, a task accompanied by restart) is not reset, and the wasted time until the power is turned off. Can be reduced. In addition, it is possible to appropriately notify the manager of the
Therefore, even if a task such as firmware upgrade is executed from the
実施例1では、電源断タイマーによる電源断予定時刻より前のタスクに対して、再起動をしないように設定する方法について述べた。実施例1における処理により、再起動しない設定をすることで、次の電源断タイマーによる電源断までの無駄な時間を軽減することが出来たが、タイマーによる電源断が実施されなかった場合はタスクの設定が反映されることがない。そこで本実施例では実施例1における処理を実施した後、タスクを適切に処理するための方法について述べる。 In the first embodiment, the method for setting the task before the scheduled power-off time by the power-off timer so as not to restart is described. By performing the setting in the first embodiment so as not to restart, it was possible to reduce the wasted time until the power was turned off by the next power-off timer, but if the power-off by the timer was not performed, the task The setting of is not reflected. Therefore, in this embodiment, a method for appropriately processing tasks after performing the processing in the first embodiment will be described.
なお、システム全体構成、及び管理装置101、ネットワーク機器102、クライアント装置103のハードウェア構成とソフトウェア構成については実施例1と同様のため、ここでの説明は省略する。また、実施例1におけるタスク再設定処理(図7)、変更通知(図8)についても実施例1と同様であるため、説明を省略する。
The overall system configuration and the hardware configuration and software configuration of the
図9は、実施例2における主な処理の流れを示すシーケンス図である。なお、図9中の管理装置101の処理は、管理装置101のCPU201がHD205にコンピュータ読み取り可能に記録されたプログラムを実行することにより実現される。また、図9中のネットワーク機器102の処理は、ネットワーク機器102のCPU410がHD416にコンピュータ読み取り可能に記録されたプログラムを実行することにより実現される。なお、601〜615は各ステップを示す。また、600〜607の説明は図6と同様のため説明を省略する。
FIG. 9 is a sequence diagram illustrating a main processing flow in the second embodiment. The processing of the
608は、ユーザがネットワーク機器102を操作したこと等により、ネットワーク機器102でセット(タイマー開始)された電源断タイマーがリセット(解除)されるか否かの分岐の処理を示す。以下、詳細に説明する。
電源断タイマーが解除されていない場合は609〜610の処理が実行され、電源断タイマーが解除された場合は611〜615の処理が実行される。
609〜610は、608において電源断タイマーが解除されていない場合の処理を示している。
電源断タイマーが解除されなかった場合、ネットワーク機器102の機器状態監視モジュールは、電源断タイマーがタイマー時間を経過すると、タスク実行モジュール502に要求してネットワーク機器102の電源をオフにする。
When the power-off timer is not released, the processes of 609 to 610 are executed, and when the power-off timer is released, the processes of 611 to 615 are executed.
When the power-off timer is not canceled, the device status monitoring module of the
管理装置101のタスク管理モジュール303は、604(図7のS702)で計算した電源断予定時刻を過ぎると、ネットワーク機器102が電源断されたかを確認する死活確認を行う(610)。この610の死活確認において、ネットワーク機器102からの応答が無かった場合、管理装置101のタスク管理モジュール303は、ネットワーク機器102が電源断タイマーにより電源オフ状態になったと判断し、図6に示す処理を終了する。
When the scheduled power-off time calculated in 604 (S702 in FIG. 7) has passed, the
611〜615は、608において電源断タイマーが解除された場合の処理を示している。
電源断タイマーがタイマー時間を経過する前に電源断タイマーが解除されるジョブが発生すると、ネットワーク機器102の機器状態監視モジュールは、電源断タイマーを解除し(611)、タスク実行モジュール502等が該ジョブを実行し、ジョブ結果を出力する(612)。例えば、電源断タイマーが解除される処理として、ユーザによる印刷実行が挙げられる。なお、611や612の電源断タイマー解除は、ユーザによる動作に限定されず、管理装置101からのタイマー解除されるタスクの実行などでも良い。
Reference numerals 611 to 615 denote processing when the power-off timer is canceled in 608.
If a job for releasing the power-off timer occurs before the power-off timer elapses, the device status monitoring module of the
管理装置101のタスク管理モジュール303は、604(図7のS702)で計算した電源断予定時刻を過ぎると、ネットワーク機器102が電源断されたかを確認する死活確認を行う(610)。この610の死活確認において、ネットワーク機器102からの応答を受信すると(613)、管理装置101のタスク管理モジュール303は、ネットワーク機器102の電源断タイマーが解除されたと判断する。電源断タイマーが解除されたと判断すると、上記605のタスク実行により設定された情報を反映させるため、管理装置101のタスク管理モジュール303は、機器管理モジュール302に要求して、ネットワーク機器102に対し再起動要求を行う(614)。
When the scheduled power-off time calculated in 604 (S702 in FIG. 7) has passed, the
ネットワーク機器102は再起動要求をされると、ネットワーク機器102のタスク実行モジュール502が再起動を行い、再起動完了後に、管理装置101に対して再起動を実行した旨を伝える(615)。なお、615の応答は、再起動直前に管理装置101対して通知しても良い。
When the
図10は、図9の608における管理装置101のタスク管理モジュール303の詳細な動作を示すフローチャートである。即ち、図7の処理は、管理装置101のCPU201がHD205にコンピュータ読み取り可能に記録されたプログラムを実行することにより実現される。
FIG. 10 is a flowchart showing the detailed operation of the
設定されたタスクの実行時間になると、タスク管理モジュール303は、機器管理モジュール302に要求して、タスクを実行させる(S900)。S900は、図6の605に該当しており、ここでは図6の604にて再起動要求をしない設定に変更されたタスクを実行するものとする。
When the set task execution time is reached, the
次に、S901において、タスク管理モジュール303は、ネットワーク機器102から電源断通知を受けたかどうかを判断する。電源断通知とは、ネットワーク機器102が電源オフ状態になる直前に状態監視モジュール504からマルチキャストなどを利用して出される通知を指す。なお、通知するための手段はマルチキャストに限らず、管理装置101が、どのネットワーク機器102においていつ電源断されるかを判断出来れば良い。
In step S <b> 901, the
そして、電源断通知の受信が確認できたと判断した場合(S901でYes)、タスク管理モジュール303は、図9に示す処理を終了する。
一方、電源断通知の受信が確認できなかったと判断した場合(S901でNo)、タスク管理モジュール303は、S902へ処理を進める。
If it is determined that the power-off notification has been received (S901: Yes), the
On the other hand, if it is determined that the reception of the power-off notification has not been confirmed (No in S901), the
S902では、タスク管理モジュール303は、図7のS702で計算された電源断予定時刻+αになったかを判断する。図10では、電源断予定時刻と実際の電源断時間とのズレ(α)を考慮し電源断予定時刻に幅を持たせている。αはユーザにより任意の時間を設定してもよい。
そして、未だ電源断予定時刻+αになっていないと判断した場合(S902でNo)、タスク管理モジュール303は、S901へ処理を戻す。
In S902, the
If it is determined that the scheduled power-off time + α is not yet reached (No in S902), the
一方、電源断予定時刻+αになっていると判断した場合(S902でYes)、タスク管理モジュール303は、S903へ処理を移行させる。
S903では、タスク管理モジュール303は、ネットワーク機器102が電源断されたかを確認する死活確認を行う。なお、S903は図6の610に該当するものであり、ネットワーク機器102に対して電源断されたか否かを確認するための処理である。なお、死活確認の一例として、ネットワーク機器102に対しpingなどのパケットを送り、応答があるかを確認する方法が挙げられる。
On the other hand, if it is determined that the scheduled power-off time + α is reached (Yes in S902), the
In step S <b> 903, the
そして、S904において、タスク管理モジュール303は、上記S903の死活確認の結果を受け、ネットワーク機器102が電源断されているか否かを判断する。
そして、上記S903の死活確認に対し応答がなかった場合、タスク管理モジュール303は、ネットワーク機器102の電源が電源オフ状態(デバイス電源断)と判断して(S904でYes)、図9に示す処理を終了する。
In step S <b> 904, the
If there is no response to the confirmation of life and death in S903, the
一方、上記S903の死活確認に対し応答(図6の613)があった場合は、タスク管理モジュール303は、ネットワーク機器102の電源が入っているものと判断して(S904でNo)、S905に処理を移行させる。
On the other hand, if there is a response (613 in FIG. 6) to the confirmation of life and death in S903, the
S905では、タスク管理モジュール303は、ネットワーク機器102に対して再起動要求をする。なお、図10で示される処理はネットワーク機器102からの電源断通知を待つ処理をしているが、タスク実行直後からネットワーク機器102の死活監視を開始しても良い。
In step S <b> 905, the
以上により、本実施例では電源断予定時刻を経過した後、ネットワーク機器102が電源断されていない場合は再起動を要求することで、タスクを適切に処理することができ、電源断までの無駄な時間を軽減することができる。
As described above, in this embodiment, after the scheduled power-off time elapses, if the
実施例1、実施例2では、管理装置101に登録されたタスクが電源断予定時刻より前の時間帯におけるタスクの再設定について述べた。本実施例では、電源断予定時刻より後の時間帯に登録されたタスクを適切に処理するための方法について述べる。
In the first and second embodiments, the task re-setting in the time zone before the scheduled power-off scheduled time for the task registered in the
なお、システム全体構成、及び管理装置101、ネットワーク機器102、クライアント装置103のハードウェア構成とソフトウェア構成については実施例1と同様のため、ここでの説明は省略する。
The overall system configuration and the hardware configuration and software configuration of the
図11は、実施例3における図6のタスクの再設定処理(604)の詳細を示すフローチャートである。本処理は、管理装置101のタスク管理モジュール303が動作の主体である。即ち、図11の処理は、管理装置101のCPU201がHD205にコンピュータ読み取り可能に記録されたプログラムを実行することにより実現される。なお、S700〜S709の説明は図7と同様のため説明を省略する。
FIG. 11 is a flowchart illustrating details of the task resetting process (604) in FIG. 6 according to the third embodiment. This process is mainly performed by the
S710では、タスク管理モジュール303は、電源断予定時刻後にスケジューリングされたタスクにおいて、管理装置101で設定されデータベース304に格納されている再スケジューリング可能範囲内にスケジューリングされているタスクか判断する。再スケジューリング可能範囲とは、電源断予定時刻から所定時間後まで(例えば2時間後まで)、という時間範囲を指す。つまりS710は、電源予定時刻から時間範囲を加えた時刻の間に開始されるタスクを、再スケジューリング可能と判断する。即ち、S710では、上記S701で受信した電源断タイマー開始通知を行ったネットワーク機器を対象として生成されるタスクで指定される実行すべき時期が、上記S702で計算した電源断予定時刻より後の所定期間に含まれるタスクを、再スケジューリング可能範囲のタスクと判断する。
In step S <b> 710, the
そして、再スケジューリング可能範囲内でないと判断した場合(S710でNo)、タスク管理モジュール303は、次のタスクのチェックをするため、S704へ処理を移行させる。
If it is determined that it is not within the reschedulable range (No in S710), the
一方、再スケジューリング可能範囲内であると判断した場合(S710でYes)、タスク管理モジュール303は、S711へ処理を移行させる。
S711では、タスク管理モジュール303は、現在参照しているタスクが再起動を伴うタスク(再起動が必要なタスク)であるか否かを判断する。
そして、現在参照しているタスクが再起動が必要なタスクでないと判断した場合(S711でNo)、タスク管理モジュール303は、次のタスクのチェックをするため、S704へ処理を移行させる。
On the other hand, if it is determined that it is within the reschedulable range (Yes in S710), the
In step S <b> 711, the
If it is determined that the currently referenced task is not a task that needs to be restarted (No in S711), the
一方、現在参照しているタスクが再起動が必要なタスクであると判断した場合(S711でYes)、タスク管理モジュール303は、S712へ処理を移行させる。
S712では、タスク管理モジュール303は、現在参照しているタスクの再スケジューリングを行う。なお、S712の詳細な処理については図13に示す。
On the other hand, when it is determined that the currently referenced task is a task that needs to be restarted (Yes in S711), the
In step S712, the
次に、S713において、タスク管理モジュール303は、上記S712で再スケジューリングしたタスクの実行時に再起動を実行しないようにタスクの再設定を行う。なお、S713の処理はS708の処理と同様である。
Next, in S713, the
なお、図11では、上記S711の判断において再起動が必要ないタスクであった場合、何も処理を行っていないが、タスクの再スケジューリングを行うように構成してもよい。 In FIG. 11, if the task is a task that does not need to be restarted in the determination of S711, no processing is performed, but the task may be rescheduled.
図12は、図11のS709の変更通知の一例を示す図である。なお、800及び801の説明は図8と同様のため説明を省略する。
図12において、802は図11のS703にて取得したタスク一覧を表示し、さらにタスクの再設定や再スケジューリングがあった対象をユーザに提示する画面である。例えば、図12における「Task03」は、図11におけるタスクの再設定や図13で述べるタスクの再スケジューリングがされたタスクである。これらは、アイコンやコメントに変更情報が追加されていることや、Start Time(タスクの開始時間)を示す文字「00:30」がボールド(太字)で強調表示されていることから判断可能になっている。
FIG. 12 is a diagram illustrating an example of the change notification in S709 of FIG. In addition, since description of 800 and 801 is the same as that of FIG. 8, description is abbreviate | omitted.
In FIG. 12, reference numeral 802 denotes a screen that displays the task list acquired in step S703 of FIG. 11 and presents to the user targets for which tasks have been reset or rescheduled. For example, “Task03” in FIG. 12 is a task that has been reset in FIG. 11 or re-scheduled in FIG. These can be determined from the fact that the change information is added to the icons and comments, and the letters “00:30” indicating Start Time (task start time) are highlighted in bold (bold). ing.
図13は、図11のタスクの再スケジューリング処理(S712)の詳細を示すフローチャートである。本処理は、管理装置101のタスク管理モジュール303が動作の主体である。即ち、図13の処理は、管理装置101のCPU201がHD205にコンピュータ読み取り可能に記録されたプログラムを実行することにより実現される。
FIG. 13 is a flowchart showing details of the task rescheduling process (S712) of FIG. This process is mainly performed by the
まず、S1000において、タスク管理モジュール303は、再スケジューリング前倒し許容時刻(以下、前倒し許容時刻と記載する)をデータベース304から取得する。前倒し許容時刻とは、タスクの開始時間を限定する時刻であり、例えば、あるタスクは22時以降でないと実行されないといった処理制限をかける時刻である。前倒し許容時刻は予め管理装置101のデータベース304に登録されているものとする。
First, in S1000, the
次に、S1001において、タスク管理モジュール303は、タスクの処理時間をデータベース304から取得する。このタスクの処理時間は、タスクを開始してから完了するまでの時間を指し、タスク種類により処理時間が異なる。タスクの処理時間は予め管理装置101のデータベース304に登録されているものとする。
In step S <b> 1001, the
次に、S1002において、タスク管理モジュール303は、現在参照しているタスクを実行すべき時刻を、電源断予定時刻の直前に仮設定する。仮設定する時刻は、電源断予定時刻から上記S1001で取得した時間分前の時刻に設定しても良い。
In step S <b> 1002, the
次に、S1003において、タスク管理モジュール303は、上記S1002、後述するS1008、及びS1010で仮設定したタスクが、前倒し許容時刻から電源断予定時刻までに収まっているかを判断する。
Next, in S1003, the
そして、仮設定した時間が前倒し許容時刻から電源断予定時刻までに収まっていないと判断した場合(S1003でNo)、タスク管理モジュール303は、S1004に処理を移行させる。
If it is determined that the temporarily set time is not advanced from the allowable time to the scheduled power-off time (No in S1003), the
S1004では、タスク管理モジュール303は、仮設定したタスクが前倒し許容時刻から電源断予定時刻までに収まらず、タスクの再スケジューリングが不可能であったため、その旨をユーザに対して通知し、図13の処理を終了する。なお、S1004の通知は、管理者に対してメールを通知する処理でも良いし、図12のような画面で示されても良い。
In step S1004, the
一方、仮設定した時間が前倒し許容時刻から電源断予定時刻までに収まっていると判断した場合(S1003でYes)、タスク管理モジュール303は、S1005に処理を移行させる。
On the other hand, when it is determined that the temporarily set time is advanced and within the allowable power-off time and the scheduled power-off time (Yes in S1003), the
S1005では、タスク管理モジュール303は、仮設定した時刻(即ち、変更後の時刻)に既に別のタスクが登録されているかどうかを判断する。
そして、仮設定した時刻に登録されている別のタスクはないと判断した場合(S1005でNo)、タスク管理モジュール303は、タスクの実行時刻の重複はないとみなし、図13に示す処理を終了する。
In step S1005, the
If it is determined that there is no other task registered at the temporarily set time (No in S1005), the
一方、仮設定した時刻に登録されている別のタスクがあると判断した場合(S1005でYes)、タスク管理モジュール303は、タスクの実行時刻が重複しているとみなし、S1006へ処理を移行させる。なお、S1005の判断においてタスクが重複されていると判断された場合でも、重複処理が可能なタスクであった場合は再スケジューリング可能と判断し、図13に示す処理を終了するようにしても良い。
On the other hand, if it is determined that there is another task registered at the temporarily set time (Yes in S1005), the
S1006は、タスク管理モジュール303は、重複している各々のタスク(実行タスクと仮設定タスク)の優先度をデータベース304から取得する。タスクの優先度は予め管理装置101のデータベース304に登録されているものとする。
In step S <b> 1006, the
なお、上記S1006で示される仮設定タスクとは、上記S1002又は後述するS1009で時刻を仮設定されたタスク(Aとする)を指し、実行タスクとは時刻を仮設定したタスクと重複しているタスク(Bとする)のことを指す。 The temporary setting task shown in S1006 refers to the task whose time is temporarily set in S1002 or S1009 described later (referred to as A), and the execution task overlaps the task whose time is temporarily set. Refers to task (B).
次に、S1007において、タスク管理モジュール303は、仮設定タスク(A)と実行タスク(B)の優先度を比較する。そして、仮設定タスク(A)のほうが実行タスク(B)より優先度が高い(A>B)と判断した場合(S1007でYes)、タスク管理モジュール303は、S1008へ処理を移行させる。
In step S1007, the
S1008では、タスク管理モジュール303は、仮設定タスク(A)が優先度の高いタスクである場合(A>B)の処理であるため、優先度の低い実行タスク(B)を再スケジューリングする。S1008により実行タスクは、元の時間より前に仮設定される。
In step S1008, the
次に、S1009において、タスク管理モジュール303は、仮設定タスクを実行タスクとして再スケジューリング対象からはずし、元々設定されていた実行タスクを再スケジューリング対象のタスク(仮設定タスク)とする。即ち、BをAに置き換える。これにより、優先度の低いタスクは予定時刻を前へとずらすことができる。
In step S1009, the
一方、仮設定タスク(A)の優先度が実行タスク(B)の優先度以下である(A≦B)と判断した場合(S1007でNo)、タスク管理モジュール303は、S1010へ処理を移行させる。
On the other hand, when it is determined that the priority of the temporary setting task (A) is equal to or lower than the priority of the execution task (B) (A ≦ B) (No in S1007), the
S1010では、タスク管理モジュール303は、上記S1007の判断において、実行タスク(B)が仮設定タスク(A)より優先度が高いか、又は優先度が等しい場合(A≦B)の処理であるため、優先度の低い仮設定タスク(A)を再度スケジューリングする。
そして、タスク管理モジュール303は、上記S1003〜S1010の処理を繰り返すことで、タスクの再スケジューリングを行う。即ち、タスク管理モジュール303は、上記S1002〜S1010において、他のタスクとの相対的な優先度に従い、タスクの実行すべき時期を指定するように、タスクの再スケジューリングを行う。
In S1010, the
Then, the
以上により、本実施例では、電源断予定時刻より後の時間帯に登録されたタスクも適切に処理することができ、かつ電源断までの無駄な時間を軽減することができる。 As described above, in this embodiment, tasks registered in a time zone after the scheduled power-off time can be appropriately processed, and a useless time until power-off can be reduced.
なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。
以上、一実施例について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。
また、上記各実施例を組み合わせた構成も全て本発明に含まれるものである。
It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.
Although one embodiment has been described above, the present invention can take an embodiment as a system, apparatus, method, program, storage medium, or the like. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.
Moreover, all the structures which combined said each Example are also contained in this invention.
(他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施例の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) for realizing the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。
本発明は上記実施例に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施例の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。即ち、上述した各実施例及びその変形例を組み合わせた構成も全て本発明に含まれるものである。
Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device.
The present invention is not limited to the above embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not. That is, the present invention includes all the combinations of the above-described embodiments and modifications thereof.
101 管理装置
102 ネットワーク機器
302 機器管理モジュール
303 タスク管理モジュール
502 タスク実行モジュール
503 情報管理モジュール
504 状態監視モジュール
DESCRIPTION OF
Claims (22)
前記管理装置は、
前記ネットワーク機器の再起動を伴うタスクの生成を行う生成手段と、
前記生成手段で生成されたタスクを実行する実行手段と、
前記ネットワーク機器のシャットダウンの時期を特定するための通知を受信する受信手段と、を有し、
前記ネットワーク機器は、
前記管理装置に対して、前記ネットワーク機器のシャットダウンの時期を特定するための通知を行う通知手段と、
前記管理装置において実行されたタスクで要求される処理を行う処理手段と、を有し、
前記生成手段は、前記通知に従って、前記通知を行ったネットワーク機器を対象として生成されるタスクを、実行に伴ってネットワーク機器が再起動しない設定とし、
前記処理手段は、前記通知に従って前記生成手段で生成されたタスクが前記管理装置で実行されたことに応じて、再起動することなく、当該タスクで要求される処理を行うことを特徴とする管理システム。 A management system including a network device and a management device that manages the network device,
The management device
Generating means for generating a task with restart of the network device;
Execution means for executing the task generated by the generation means;
Receiving means for specifying a timing for shutting down the network device,
The network device is:
A notification means for performing notification to the management device to specify the shutdown time of the network device;
Processing means for performing processing required by the task executed in the management device,
The generation means, according to the notification, a task generated for the network device that made the notification, a setting that does not restart the network device with execution,
The processing means performs the processing requested by the task without restarting in response to the task generated by the generating means being executed by the management device in accordance with the notification. system.
前記処理手段は、前記通知に従って前記生成手段で変更されたタスクが前記管理装置で実行されたことに応じて、再起動することなく、前記タスクで要求されるプログラムを適用することを特徴とする請求項1に記載の管理システム。 The task involving restart of the network device is a task for applying a program to the network device,
The processing means applies a program required by the task without restarting in response to the task changed by the generation means being executed by the management device in accordance with the notification. The management system according to claim 1.
前記ネットワーク機器に設定されているスリープ状態への移行からシャットダウンするまでの時間に基づき、ネットワーク機器のシャットダウンの時期が当該通知により特定されることを特徴とする請求項1又は2に記載の管理システム。 The notification is a notification that the network device shifts to a sleep state,
3. The management system according to claim 1, wherein the network device shutdown time is specified by the notification based on a time from the transition to the sleep state set in the network device to the shutdown. .
さらに、前記生成手段は、前記通知を行ったネットワーク機器を対象として生成されるタスクで指定される実行すべき時期が、前記シャットダウンの時期より前である場合には、実行に伴ってネットワーク機器が再起動しない設定としたタスクを生成することを特徴とする請求項1乃至3のいずれか1項に記載の管理システム。 The generation means generates the task by specifying a time to be executed,
Further, when the time to be executed specified by the task generated for the network device that has performed the notification is earlier than the time of the shutdown, the generation unit is configured so that the network device The management system according to any one of claims 1 to 3, wherein a task set to not restart is generated.
前記生成手段は、他のタスクとの相対的な優先度に従い、生成するタスクの実行すべき時期を指定することを特徴とする請求項6に記載の管理システム。 The task has a priority;
The management system according to claim 6, wherein the generation unit specifies a time to execute a generated task according to a relative priority with respect to another task.
前記シャットダウンの時期の後に、前記ネットワーク機器がシャットダウンしたか否かを確認するための確認手段と、
前記確認手段により前記ネットワーク機器がシャットダウンしていないことが確認された場合には、前記ネットワーク機器に対して再起動を要求する要求手段と、
を有することを特徴とする請求項1乃至7のいずれか1項に記載の管理システム。 The management device
Confirmation means for confirming whether or not the network device has been shut down after the time of the shutdown;
If it is confirmed by the confirmation means that the network device is not shut down, request means for requesting the network device to restart,
8. The management system according to claim 1, wherein the management system includes:
前記ネットワーク機器の再起動を伴うタスクを、実行すべき時期を指定して生成する生成手段と、
前記生成手段で生成されたタスクを実行する実行手段と、
前記ネットワーク機器のシャットダウンの時期を特定するための通知を受信する受信手段と、を有し、
前記生成手段は、実行すべき時期が前記シャットダウンの時期より前である場合には、前記通知を行ったネットワーク機器を対象として生成されるタスクを、実行に伴ってネットワーク機器が再起動しない設定とすることを特徴とする管理装置。 A management device for managing network equipment,
Generating means for generating a task involving restart of the network device by designating a time to be executed;
Execution means for executing the task generated by the generation means;
Receiving means for specifying a timing for shutting down the network device,
When the generation time is before the shutdown time, the generation unit is configured so that the network device does not restart with execution of a task generated for the network device that performed the notification. A management device characterized by:
前記ネットワーク機器に設定されているスリープ状態への移行からシャットダウンするまでの時間に基づき、ネットワーク機器のシャットダウンの時期が当該通知により特定されることを特徴とする請求項9又は10に記載の管理装置。 The notification is a notification that the network device shifts to a sleep state,
The management device according to claim 9 or 10, wherein the notification specifies the time of shutdown of the network device based on the time from the transition to the sleep state set for the network device to the shutdown. .
前記生成手段は、他のタスクとの相対的な優先度に従い、生成するタスクの実行すべき時期を指定することを特徴とする請求項13に記載の管理装置。 The task has a priority;
14. The management apparatus according to claim 13, wherein the generation unit specifies a time to execute a generated task according to a relative priority with respect to another task.
前記シャットダウンの時期の後に、前記ネットワーク機器がシャットダウンしたか否かを確認するための確認手段と、
前記確認手段により前記ネットワーク機器がシャットダウンしていないことが確認された場合には、前記ネットワーク機器に対して再起動を要求する要求手段と、
を有することを特徴とする請求項9乃至14のいずれか1項に記載の管理装置。 The management device
Confirmation means for confirming whether or not the network device has been shut down after the time of the shutdown;
If it is confirmed by the confirmation means that the network device is not shut down, request means for requesting the network device to restart,
The management apparatus according to claim 9, further comprising:
前記ネットワーク機器が有する前記ネットワーク機器をシャットダウンするためのタイマーをリセットする動作を伴うタスクを、実行すべき時期を指定して生成する生成手段と、
前記生成手段で生成されたタスクを実行する実行手段と、
前記ネットワーク機器に設定されている前記タイマーの起動から所定時間が経過した時期をシャットダウンの時期として特定するための、前記ネットワーク機器のタイマーが起動されたことを示す通知を受信する受信手段と、を有し、
前記生成手段は、実行すべき時期が前記シャットダウンの時期より前である場合には、前記通知を行ったネットワーク機器を対象として生成されるタスクを、実行に伴ってネットワーク機器のタイマーをリセットしない設定とすることを特徴とする管理装置。 A management device for managing network equipment,
Generation means for generating a task with an operation of resetting a timer for shutting down the network device included in the network device by designating a time to be executed;
Execution means for executing the task generated by the generation means;
Receiving means for receiving a notification indicating that the timer of the network device has been started, for specifying a time when a predetermined time has elapsed since the start of the timer set in the network device as a shutdown time; Have
The generation unit is configured not to reset the timer of the network device when executing the task generated for the network device that has performed the notification when the time to be executed is before the shutdown time. A management device characterized by that.
前記管理装置における、
前記ネットワーク機器の再起動を伴うタスクの生成を行う生成ステップと、
前記生成されたタスクを実行する実行ステップと、
前記ネットワーク機器のシャットダウンの時期を特定するための通知を受信する受信ステップと、
前記ネットワーク機器における、
前記管理装置に対して、前記ネットワーク機器のシャットダウンの時期を特定するための通知を行う通知ステップと、
前記管理装置において実行されたタスクで要求される処理を行う処理ステップと、を有し、
前記生成ステップでは、前記通知に従って、前記通知を行ったネットワーク機器を対象として生成されるタスクを、実行に伴ってネットワーク機器が再起動しない設定とし、
前記処理ステップでは、前記通知に従って前記生成ステップで生成されたタスクが前記管理装置で実行されたことに応じて、再起動することなく、当該タスクで要求される処理を行うことを特徴とする制御方法。 A control method in a management system including a network device and a management device that manages the network device,
In the management device,
A generation step for generating a task accompanied by restart of the network device;
An execution step of executing the generated task;
A receiving step of receiving a notification for specifying a timing of shutdown of the network device;
In the network device,
A notification step for notifying the management device for specifying a shutdown timing of the network device;
A processing step for performing processing required by the task executed in the management device,
In the generation step, according to the notification, a task generated for the network device that performed the notification is set so that the network device does not restart with execution,
In the processing step, in response to the task generated in the generation step being executed in the management device according to the notification, the processing requested by the task is performed without restarting. Method.
前記ネットワーク機器の再起動を伴うタスクを、実行すべき時期を指定して生成する生成ステップと、
前記生成されたタスクを実行する実行ステップと、
前記ネットワーク機器のシャットダウンの時期を特定するための通知を受信する受信ステップと、を有し、
前記生成ステップでは、実行すべき時期が前記シャットダウンの時期より前である場合には、前記通知を行ったネットワーク機器を対象として生成されるタスクを、実行に伴ってネットワーク機器が再起動しない設定とすることを特徴とする制御方法。 A control method in a management device that manages network devices,
A generation step for generating a task involving restart of the network device by designating a time to be executed;
An execution step of executing the generated task;
Receiving a notification for specifying the time of shutdown of the network device,
In the generation step, when the time to be executed is before the time of the shutdown, the task generated for the network device that has performed the notification is set so that the network device does not restart with execution. A control method characterized by:
前記ネットワーク機器が有する前記ネットワーク機器をシャットダウンするためのタイマーをリセットする動作を伴うタスクを、実行すべき時期を指定して生成する生成ステップと、
前記生成されたタスクを実行する実行ステップと、
前記ネットワーク機器に設定されている前記タイマーの起動から所定時間が経過した時期をシャットダウンの時期として特定するための、前記ネットワーク機器のタイマーが起動されたことを示す通知を受信する受信ステップと、を有し、
前記生成ステップでは、実行すべき時期が前記シャットダウンの時期より前である場合には、前記通知を行ったネットワーク機器を対象として生成されるタスクを、実行に伴ってネットワーク機器のタイマーをリセットしない設定とすることを特徴とする制御方法。 A control method in a management device that manages network devices,
A generation step of generating a task with an operation of resetting a timer for shutting down the network device included in the network device by designating a time to be executed;
An execution step of executing the generated task;
A reception step of receiving a notification indicating that the timer of the network device has been started, for specifying a time when a predetermined time has elapsed since the start of the timer set in the network device as a time of shutdown; and Have
In the generation step, if the time to be executed is earlier than the time of the shutdown, a task generated for the network device that has performed the notification is set not to reset the timer of the network device upon execution. The control method characterized by these.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011027063A JP2012168610A (en) | 2011-02-10 | 2011-02-10 | Management system, management device, control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011027063A JP2012168610A (en) | 2011-02-10 | 2011-02-10 | Management system, management device, control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012168610A true JP2012168610A (en) | 2012-09-06 |
Family
ID=46972740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011027063A Withdrawn JP2012168610A (en) | 2011-02-10 | 2011-02-10 | Management system, management device, control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012168610A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020197930A (en) * | 2019-06-03 | 2020-12-10 | ブラザー工業株式会社 | Program, information processing device, and communication system |
JP2021109354A (en) * | 2020-01-08 | 2021-08-02 | ブラザー工業株式会社 | Printing device and communication processing program |
-
2011
- 2011-02-10 JP JP2011027063A patent/JP2012168610A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020197930A (en) * | 2019-06-03 | 2020-12-10 | ブラザー工業株式会社 | Program, information processing device, and communication system |
JP7298311B2 (en) | 2019-06-03 | 2023-06-27 | ブラザー工業株式会社 | Program, information processing device, and communication system |
JP2021109354A (en) * | 2020-01-08 | 2021-08-02 | ブラザー工業株式会社 | Printing device and communication processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5326918B2 (en) | Electronic device, software update method, program, and recording medium | |
JP3963692B2 (en) | Power control method for a plurality of information processing apparatuses, information processing apparatus, and program | |
US8760692B2 (en) | System, apparatus, method, and computer program for information processing resource adjustment | |
US8543677B2 (en) | Communication control device, method, and computer readable medium allowing an information processing device to be in a power saving mode for an extended period and allowing an application part to continue functioning | |
JP5979822B2 (en) | Management device, method thereof, and program | |
US20170308151A1 (en) | System and method for energy efficient power saving on multifunction devices | |
US9870183B2 (en) | System and method for energy efficient print job queuing | |
JP2010049364A (en) | Equipment management device, equipment management system, equipment information management method, equipment information management program and recording medium recording the program | |
JP6249693B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
JP6157282B2 (en) | Image processing apparatus, information processing method, and program | |
JP7080604B2 (en) | Client equipment, control methods, and programs | |
JP2012168610A (en) | Management system, management device, control method, and program | |
JP5838872B2 (en) | Image forming apparatus, energy saving control method, and program | |
JP2015097080A (en) | Image formation device management apparatus and management program | |
JP2010154318A (en) | Image processing apparatus, power source control method, power source control program, and recording medium with the program recorded thereon | |
JP7034757B2 (en) | Systems, methods of using them, programs, and network devices | |
JP2011192020A (en) | Device for control of image formation, image forming apparatus, image forming system, image formation control method and program | |
JP2006099187A (en) | Information processor | |
JP2010181943A (en) | Job monitoring system, job monitoring method, program, and recording medium | |
JP2006095741A (en) | Information processing equipment | |
JP2017227990A (en) | Image processing apparatus, time management method, and program | |
JP5732755B2 (en) | Distribution system, distribution apparatus, distribution method, and program | |
JP4720596B2 (en) | Image processing apparatus, access operation control method, and program | |
JP2013103402A (en) | Image forming apparatus | |
JP5712606B2 (en) | Image processing apparatus, device management system, device management method, device management program, and recording medium recording the program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140513 |