JP2005174244A - Network device management apparatus, network device management method, computer-readable storage medium stored with program, and program - Google Patents

Network device management apparatus, network device management method, computer-readable storage medium stored with program, and program Download PDF

Info

Publication number
JP2005174244A
JP2005174244A JP2003416981A JP2003416981A JP2005174244A JP 2005174244 A JP2005174244 A JP 2005174244A JP 2003416981 A JP2003416981 A JP 2003416981A JP 2003416981 A JP2003416981 A JP 2003416981A JP 2005174244 A JP2005174244 A JP 2005174244A
Authority
JP
Japan
Prior art keywords
plug
network device
device management
program
network
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
JP2003416981A
Other languages
Japanese (ja)
Inventor
Noriyuki Nakazawa
紀之 中澤
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 JP2003416981A priority Critical patent/JP2005174244A/en
Publication of JP2005174244A publication Critical patent/JP2005174244A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To freely construct a plug-in environment having superior convenience by which plug-in allowing a call after waiting for the occurrence of a specific event is easily incorporated into a network management program. <P>SOLUTION: This apparatus comprises: a first discrimination process for discriminating whether or not each stored plug-in 13 is openable when a network device management body 103 has initiation; a second discrimination process for discriminating whether or not the plug-in is involved in a specific group when the possibility of the opening is discriminated by the first discrimination process; and a registration process for classifying the plugs-in for every specific group discriminated by the second discrimination process basis for registration on a management file. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置およびネットワークデバイス管理方法およびコンピュータが読み取り可能なプログラムを格納した記憶媒体およびプログラムに関するものである。   The present invention relates to a network device management apparatus and a network device management method for managing network devices connected to a network, a storage medium storing a computer-readable program, and a program.

従来、この種のネットワークデバイス管理装置は、ネットワークに接続されるネットワークデバイスを探索する手段と、該探索されたネットワークデバイスを管理するためのデバイスリスト管理手段と、該探索されたネットワークデバイスに対する設定値の変更や情報の取得等の種々の操作を行うデバイス操作手段等により構成されている。   Conventionally, this type of network device management apparatus includes a means for searching for a network device connected to the network, a device list management means for managing the searched network device, and a setting value for the searched network device. Device operation means for performing various operations such as change of information and acquisition of information.

また、プラグインによる拡張が可能である場合でも、ユーザが、探索されたデバイスから任意のデバイスを選択した後、メニューからプラグインを選択することにより、選択されたデバイスに対してプラグインを呼び出す手段が用いられる。   In addition, even when expansion by a plug-in is possible, the user selects an arbitrary device from the searched devices, and then calls the plug-in for the selected device by selecting the plug-in from the menu. Means are used.

なお、従来、この種の技術として、下記特許文献1が既に公開されている。
特開2003−338819号公報
Conventionally, the following Patent Document 1 has already been published as this type of technology.
JP 2003-338819 A

しかしながら、上記従来例では、ネットワークデバイス管理プログラム本体にプラグイン機能がない場合、装置の機能拡張を行おうとした場合、ネットワークデバイス管理プログラム本体に、機能拡張を施す必要があり、機能の増大と共にプログラムのサイズ及び複雑さが増大するという欠点があった。   However, in the above conventional example, if the network device management program main body does not have a plug-in function, and if an attempt is made to extend the function of the apparatus, it is necessary to perform the function expansion on the network device management program main body, Has the disadvantage of increasing the size and complexity of the.

また、ネットワークデバイス管理プログラム本体にプラグイン拡張が可能な場合でも、ユーザからの指示を待って、プラグインの呼出しがなされるため、プラグインにより拡張可能な機能に制限があるという課題があった。   In addition, even when plug-in expansion is possible in the network device management program body, the plug-in is called after waiting for an instruction from the user, so there is a problem that the functions that can be expanded by the plug-in are limited. .

本発明は、上記の問題点を解決するためになされたもので、本発明の第1の目的は、プラグインを独立して記憶管理して、ネットワークデバイスの初期化処理等に伴って、ユーザからの指示がなくても、特定のイベントの発生を待って呼出し可能なプラグインをネットワーク管理プログラムに容易に組み込むことができる利便性に優れたプラグイン環境を自在に構築できるネットワークデバイス管理装置およびネットワークデバイス管理方法およびコンピュータが読み取り可能なプログラムを格納した記憶媒体およびプログラムを提供することにある。   The present invention has been made to solve the above-described problems. The first object of the present invention is to store and manage plug-ins independently and to perform user initialization processing for network devices. Network device management apparatus capable of freely constructing a highly convenient plug-in environment in which a plug-in that can be called after waiting for the occurrence of a specific event can be easily incorporated into the network management program without any instruction from A network device management method and a storage medium storing a computer-readable program and a program are provided.

本発明の第2の目的は、プラグインを独立して記憶管理して、ユーザの指示、或いはネットワークデバイス管理プログラム本体からの呼出しがなくても、プラグインを自律的にネットワーク管理プログラムに容易に組み込むことができる利便性に優れたプラグイン環境を自在に構築できるネットワークデバイス管理装置およびネットワークデバイス管理方法およびコンピュータが読み取り可能なプログラムを格納した記憶媒体およびプログラムを提供することにある。   The second object of the present invention is to store and manage the plug-in independently, and to easily make the plug-in autonomously into the network management program without a user instruction or a call from the network device management program main body. It is an object of the present invention to provide a network device management apparatus and a network device management method capable of freely constructing a plug-in environment excellent in convenience that can be incorporated, and a storage medium and a program storing a computer-readable program.

本発明に係る第1の発明は、ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置であって、ネットワークデバイス管理プログラムに基づいて各ネットワークデバイスを管理するネットワークデバイス管理手段(図1に示すネットワークデバイス管理プログラム103)と、前記ネットワークデバイス管理手段により前記ネットワークデバイス管理プログラムを起動した場合に、記憶される各プラグインをオープン可能かどうかを判別する第1の判別処理と、前記第1の判別処理によりオープン可能と判別された場合に、特定のグループに属するプラグインかどうかを判別する第2の判別処理と、前記第2の判別処理により判別される特定のグループ毎にプラグインを分類して管理ファイルに登録する登録処理とを実行するプラグイン管理手段(図1に示すプラグイン管理モジュール111)を備えることを特徴とする。   A first invention according to the present invention is a network device management apparatus for managing network devices connected to a network, the network device management means for managing each network device based on a network device management program (shown in FIG. 1) Network device management program 103), first determination processing for determining whether each stored plug-in can be opened when the network device management program is started by the network device management means, and the first When it is determined by the determination process that the plug-in can be opened, a second determination process for determining whether or not the plug-in belongs to a specific group, and a plug-in is classified for each specific group determined by the second determination process And register it in the management file. Plug-in management means for executing the process, characterized in that it comprises a (plug-in management module 111 shown in FIG. 1).

本発明に係る第2の発明は、前記プラグイン管理手段は、特定のイベントが発生するか否かを監視する監視処理と、前記監視処理により前記特定のイベントが発生したと判断した場合に、前記管理ファイルを参照して対応するプラグインの特定のイベント処理を呼び出す呼出し処理とを実行可能とすることを特徴とする。   According to a second aspect of the present invention, when the plug-in management unit determines that the specific event has occurred by the monitoring process for monitoring whether or not the specific event occurs, and the monitoring process, Call processing for calling a specific event processing of a corresponding plug-in with reference to the management file can be executed.

本発明に係る第3の発明は、前記プラグイン管理手段は、前記ネットワークデバイス管理プログラムの終了時に、動作中のプラグインからの終了応答を判別する第3の判別処理と、前記第3の判別処理による判別結果に基づき、各プラグインの終了処理、あるいは終了取消処理の実行を制御する終了処理とを実行可能とすることを特徴とする。   According to a third aspect of the present invention, the plug-in management means includes a third determination process for determining an end response from an operating plug-in when the network device management program ends, and the third determination Based on the determination result of the process, the termination process of each plug-in or the termination process for controlling the execution of the termination cancellation process can be executed.

本発明に係る第4の発明は、ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置であって、ネットワークデバイス管理プログラムに基づいて各ネットワークデバイスを管理するネットワークデバイス管理手段と、前記ネットワークデバイス管理手段により前記ネットワークデバイス管理プログラムから呼び出し可能な、初期化処理、ユーザ要求により呼び出されるユーザ処理、イベントにより呼び出されるイベント処理、プラグイン終了の確認の為の終了誰何処理、終了待ち状態から初期状態への復帰のための終了取消処理、プラグイン処理を終了する終了処理の夫々の呼び出しを各プラグイン毎に管理するプラグイン管理手段(図1に示すプラグインモジュール111)と、プログラムの起動時に、格納手段のディレクトリを参照して、プラグインファイルを検索するプラグインファイル検索手段(図1に示す検索モジュール109)とを有することを特徴とする。   A fourth invention according to the present invention is a network device management apparatus for managing network devices connected to a network, the network device management means for managing each network device based on a network device management program, and the network device Initialization process that can be called from the network device management program by the management means, user process that is called by a user request, event process that is called by an event, end process for confirmation of plug-in end, initial process from waiting for end Plug-in management means (plug-in module 111 shown in FIG. 1) for managing each call of termination cancellation processing for returning to the state and termination processing for ending plug-in processing, and program activation Sometimes, It refers to a directory of paid means, and having a plug-in file retrieval means for retrieving a plug-in file (search module 109 shown in FIG. 1).

本発明に係る第5の発明は、プラグイン管理手段は、前記プラグインファイル検索手段により検索されたプラグイン夫々に対して、プラグインを記憶装置上にロードし、前記プラグインの初期化関数を呼び出すプラグイン初期化処理と、ユーザからの要求に応じて、前記プラグインのユーザ処理を呼び出すユーザ処理呼出し処理と、ユーザ要求とは無関係なイベントに応じて、前記プラグインのイベント処理を呼び出すイベント処理呼出し処理と、プログラムの終了確認時、前記プラグインの終了誰何処理を呼び出す終了誰何処理呼出し処理と、プラグラム終了中断時に、前記終了誰何処理を呼び出したプラグインに対して、終了取消処理を呼び出す終了取消処理呼出し処理と、プログラム終了時に、前記プラグインの終了処理を呼び出す終了処理呼出し処理とを実行することを特徴とする。   According to a fifth aspect of the present invention, the plug-in management means loads a plug-in on a storage device for each plug-in searched by the plug-in file search means, and initializes the plug-in. A plug-in initialization process for invoking the user, a user process invoking process for invoking the user process of the plug-in in response to a request from the user, and an event process of the plug-in in response to an event unrelated to the user request When the event processing call processing and program termination confirmation, the plug-in termination and who-to-call processing termination. Termination cancellation processing call processing that calls cancellation processing, and termination of calling the plug-in termination processing when the program ends. And executes a process call processing.

本発明に係る第6の発明は、前記プラグイン管理手段は、複数の分類を備えるプラグインを分類毎に管理し、前記分類に対応する特定のユーザ処理及び特定のイベント処理を呼び出すことを特徴とする。   According to a sixth aspect of the present invention, the plug-in management means manages a plug-in having a plurality of classifications for each classification, and calls a specific user process and a specific event process corresponding to the classification. And

本発明に係る第7の発明は、前記プラグイン管理手段は、単一のプラグインが複数の分類に属する機能を備え、前記複数分類を持つプラグインを管理することを特徴とする。   The seventh invention according to the present invention is characterized in that the plug-in managing means has a function in which a single plug-in belongs to a plurality of categories, and manages the plug-ins having the plurality of categories.

本発明に係る第8の発明は、前記プラグイン管理手段は、前記ネットワークデバイス管理手段から呼び出されるユーザ処理及びイベント処理に加え、予め前記プラグインが指定した既定時間後、或いは既定時間毎に、システムのタイマによりにプラグイン内部のタイマ処理を呼び出すことを特徴とする。   According to an eighth aspect of the present invention, the plug-in management means includes, in addition to user processing and event processing called from the network device management means, after a predetermined time designated in advance by the plug-in or at every predetermined time, A feature is that the timer processing in the plug-in is called by the system timer.

本発明に係る第9の発明は、ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置におけるネットワークデバイス管理方法であって、ネットワークデバイス管理プログラムに基づいて各ネットワークデバイスを管理するネットワークデバイス管理ステップと、前記ネットワークデバイス管理ステップにより前記ネットワークデバイス管理プログラムを起動した場合に、記憶される各プラグインをオープン可能かどうかを判別する第1の判別処理(図5のステップS304)と、前記第1の判別処理によりオープン可能と判別された場合に、特定のグループに属するプラグインかどうかを判別する第2の判別処理と、前記第2の判別処理により判別される特定のグループ毎にプラグインを分類して管理ファイルに登録する登録処理とを実行するプラグイン管理ステップ(図5のステップS306,S308,S310)とを備えることを特徴とする。   According to a ninth aspect of the present invention, there is provided a network device management method in a network device management apparatus for managing network devices connected to a network, wherein each network device is managed based on a network device management program. And a first determination process (step S304 in FIG. 5) for determining whether or not each stored plug-in can be opened when the network device management program is started in the network device management step, and the first When it is determined that the plug-in can be opened by the determination process, a second determination process for determining whether the plug-in belongs to a specific group, and a plug-in for each specific group determined by the second determination process. Categorize and manage Characterized in that it comprises a plug-in management step of performing a registration process for registering the Le (step S306, S308, S310 in FIG. 5).

本発明に係る第10の発明は、前記プラグイン管理ステップは、特定のイベントが発生するか否かを監視する監視処理と、前記監視処理により前記特定のイベントが発生したと判断した場合に、前記管理ファイルを参照して対応するプラグインの特定のイベント処理を呼び出す呼出し処理とを実行可能とすることを特徴とする。   According to a tenth aspect of the present invention, when the plug-in management step determines that the specific event has occurred by the monitoring process for monitoring whether or not the specific event occurs, and the monitoring process, Call processing for calling a specific event processing of a corresponding plug-in with reference to the management file can be executed.

本発明に係る第11の発明は、前記プラグイン管理ステップは、前記ネットワークデバイス管理プラグラムの終了時に、動作中のプラグインからの終了応答を判別する第3の判別処理と、前記第3の判別処理による判別結果に基づき、各プラグインの終了処理、あるいは終了取消処理の実行を制御する終了処理とを実行可能とすることを特徴とする。   According to an eleventh aspect of the present invention, in the plug-in management step, a third determination process for determining an end response from an operating plug-in at the end of the network device management program, and the third determination Based on the determination result of the process, the termination process of each plug-in or the termination process for controlling the execution of the termination cancellation process can be executed.

本発明に係る第12の発明は、ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置におけるネットワークデバイス管理方法であって、ネットワークデバイス管理プログラムに基づいて各ネットワークデバイスを管理するネットワークデバイス管理ステップと、前記ネットワークデバイス管理ステップにより前記ネットワークデバイス管理プログラムから呼び出し可能な、初期化処理、ユーザ要求により呼び出されるユーザ処理、イベントにより呼び出されるイベント処理、プラグイン終了の確認の為の終了誰何処理、終了待ち状態から初期状態への復帰のための終了取消処理、プラグイン処理を終了する終了処理の夫々の呼び出しを各プラグイン毎に管理するプラグイン管理ステップ(図5のステップS306,S308,S310等)と、プログラムの起動時に、ディレクトリを捜査して、前記プラグインを格納するプラグインファイルを検索するプラグインファイル検索ステップ(図5のステップS302)とを有することを特徴とする。   A twelfth aspect of the present invention is a network device management method in a network device management apparatus for managing network devices connected to a network, wherein each network device is managed based on a network device management program. And an initialization process that can be called from the network device management program by the network device management step, a user process that is called by a user request, an event process that is called by an event, and an end process for confirmation of plug-in completion, A plug-in management step (step in FIG. 5) for managing each call of the end cancellation processing for returning from the end waiting state to the initial state and the end processing for ending the plug-in processing. 306, S308, S310, etc.) and a plug-in file search step (step S302 in FIG. 5) for searching a directory and searching for a plug-in file storing the plug-in when the program is started. And

本発明に係る第13の発明は、前記プラグイン管理ステップは、前記プラグインファイル検索ステップにより検索されたプラグイン夫々に対して、プラグインを記憶装置上にロードし、前記プラグインの初期化関数を呼び出すプラグイン初期化処理と、ユーザからの要求に応じて、前記プラグインのユーザ処理を呼び出すユーザ処理呼出し処理と、ユーザ要求とは無関係なイベントに応じて、前記プラグインのイベント処理を呼び出すイベント処理呼出し処理と、プログラムの終了確認時、前記プラグインの終了誰何処理を呼び出す終了誰何処理呼出し処理と、プラグラム終了中断時に、前記終了誰何処理を呼び出したプラグインに対して、終了取消処理を呼び出す終了取消処理呼出し処理と、プログラム終了時に、前記プラグインの終了処理を呼び出す終了処理呼出し処理と実行することを特徴とする。   In a thirteenth aspect of the present invention, the plug-in management step loads a plug-in on a storage device for each plug-in searched in the plug-in file search step, and initializes the plug-in. A plug-in initialization process for calling a function, a user process call process for calling a user process of the plug-in according to a request from a user, and an event process of the plug-in according to an event unrelated to the user request When calling the event process call process and the program end confirmation, when the plug-in end process is called, the end process is called the end process, and when the program is interrupted, the plug-in that called the end process is called Termination cancellation processing call processing that calls termination cancellation processing, and the termination processing of the plug-in at the end of the program And executes a termination processing call processing calling a.

本発明に係る第14の発明は、前記プラグイン管理ステップは、複数の分類を備えるプラグインを分類毎に管理し、前記分類に対応する特定のユーザ処理及び特定のイベント処理を呼び出すことを特徴とする。   In a fourteenth aspect of the present invention, the plug-in management step manages a plug-in having a plurality of classifications for each classification, and calls a specific user process and a specific event process corresponding to the classification. And

本発明に係る第15の発明は、前記プラグイン管理ステップは、単一のプラグインが複数の分類に属する機能を備え、前記複数分類を持つプラグインを管理することを特徴とする。   According to a fifteenth aspect of the present invention, the plug-in management step includes a function in which a single plug-in belongs to a plurality of classifications, and manages the plug-ins having the plurality of classifications.

本発明に係る第16の発明は、前記プラグイン管理ステップは、前記ネットワークデバイス管理手段から呼び出されるユーザ処理及びイベント処理に加え、予め前記プラグインが指定した既定時間後、或いは既定時間毎に、システムのタイマによりにプラグイン内部のタイマ処理を呼び出すことを特徴とする。   In a sixteenth aspect of the present invention, the plug-in management step includes, in addition to user processing and event processing called from the network device management means, after a predetermined time specified in advance by the plug-in or at every predetermined time, A feature is that the timer processing in the plug-in is called by the system timer.

本発明に係る第17の発明は、第9〜第16の発明のいずれかのネットワークデバイス管理方法を実行させるためのプログラムをコンピュータが読み取り可能な記憶媒体を格納したことを特徴とする。   According to a seventeenth aspect of the present invention, there is provided a computer-readable storage medium storing a program for executing the network device management method according to any of the ninth to sixteenth aspects.

本発明に係る第18の発明は、第9〜第16の発明のいずれかのネットワークデバイス管理方法を実行させることを特徴とするプログラム。   According to an eighteenth aspect of the present invention, there is provided a program that causes a network device management method according to any one of the ninth to sixteenth aspects to be executed.

本発明によれば、プラグインを独立して記憶管理して、ネットワークデバイスの初期化処理等に伴って、ユーザからの指示がなくても、特定のイベントの発生を待って呼出し可能なプラグインをネットワーク管理プログラムに容易に組み込むことができる利便性に優れたプラグイン環境を自在に構築できる。   According to the present invention, a plug-in that stores and manages plug-ins independently, and can be called after waiting for the occurrence of a specific event without an instruction from the user in response to initialization processing of a network device or the like. Can be easily built into a network management program, and a highly convenient plug-in environment can be freely constructed.

また、プラグインを独立して記憶管理して、ユーザの指示、或いはネットワークデバイス管理プログラム本体からの呼出しがなくても、プラグインを自律的にネットワーク管理プログラムに容易に組み込むことができる利便性に優れたプラグイン環境を自在に構築できる等の効果を奏する。   In addition, the plug-in can be stored and managed independently, so that the plug-in can be easily incorporated into the network management program autonomously without a user instruction or a call from the network device management program body. There are effects such as the ability to freely build an excellent plug-in environment.

次に本発明を実施するための最良の形態について図面を参照して説明する。   Next, the best mode for carrying out the present invention will be described with reference to the drawings.

〔第1実施形態〕
図1は、本発明の第1実施形態を示すネットワークデバイス管理装置上で動作するネットワークデバイス管理プログラムのモジュール構成を説明するブロック図である。
[First Embodiment]
FIG. 1 is a block diagram illustrating a module configuration of a network device management program that operates on the network device management apparatus according to the first embodiment of the present invention.

図1において、101はネットワークデバイス管理装置が接続されているネットワークである。102はSocketAPIで、ネットワークデバイス管理プログラムが操作するオペレーティングシステムが提供するネットワークAPI(Application Program Interface)である。なお、本例では、Unix(登録商標)はMicrosoft(登録商標) Windows(登録商標)で利用されるSoket APIを用いている。   In FIG. 1, reference numeral 101 denotes a network to which a network device management apparatus is connected. A socket API 102 is a network API (Application Program Interface) provided by the operating system operated by the network device management program. In this example, Unix (registered trademark) uses a Socket API used in Microsoft (registered trademark) Windows (registered trademark).

次に、図1に示す破線部内のネットワークデバイス管理プログラムの構成を説明する。   Next, the configuration of the network device management program in the broken line part shown in FIG. 1 will be described.

ネットワークデバイス管理プログラムは、ネットワークデバイス管理プログラム本体103と、プラグインモジュール群104、及びこれらモジュールから共通に利用される共有ライブラリ105より構成される。   The network device management program includes a network device management program main body 103, a plug-in module group 104, and a shared library 105 that is commonly used by these modules.

106はUDPハンドラで、上位のモジュールがUDP(User Datagram Protocol)パケットの送受信をするためのモジュールである。107はSNMPハンドラで、上位のモジュールがSNMP(Simple Network Management Protocol)パケットの送受信をするためのモジュールであり、SNMPパケット内データの解析もここで処理される。この例では、ネットワークデバイス管理のために、IP(Internet Protocol)上のSNMPを用いている。108はその他の共有ライブラリで、その他の機能を提供する。   Reference numeral 106 denotes a UDP handler, which is a module for an upper module to transmit and receive a UDP (User Datagram Protocol) packet. Reference numeral 107 denotes an SNMP handler, which is a module for an upper module to transmit / receive an SNMP (Simple Network Management Protocol) packet, and analysis of data in the SNMP packet is also processed here. In this example, SNMP over IP (Internet Protocol) is used for network device management. Reference numeral 108 denotes another shared library that provides other functions.

109は探索手段で、ネットワーク101に接続されたネットワークデバイスを探索するモジュールであり、探索されたネットワークデバイスは、デバイスリスト・デバイスグループモジュール110により管理される。デバイスリスト・デバイスグループ管理モジュール110はネットワークデバイスグループの管理も行う。   A search unit 109 is a module for searching for a network device connected to the network 101, and the searched network device is managed by a device list / device group module 110. The device list / device group management module 110 also manages network device groups.

ここで、ネットワークデバイスグループとは、探索されたネットワークデバイスをその属性や、ユーザの指定によりグループとしてまとめる機能である。   Here, the network device group is a function for grouping the searched network devices into groups according to their attributes or user designation.

プラグインモジュール113は、ネットワークデバイス管理装置内にあり、プラグインモジュール管理モジュール111により管理される。   The plug-in module 113 is in the network device management apparatus and is managed by the plug-in module management module 111.

ユーザインタフェースモジュール114は、ネットワークデバイス管理プログラムとユーザとのやり取りを司る。   The user interface module 114 manages communication between the network device management program and the user.

図2は、本発明の第1実施形態を示すネットワーク管理装置を適用可能なネットワークシステムの構成を説明するブロック図であり、ネットワークデバイス管理装置203及び、ネットワークデバイス204、205、206及び207夫々が、ルータ202で接続されたネットワーク101及びネットワーク201に接続された状態に対応する。   FIG. 2 is a block diagram illustrating the configuration of a network system to which the network management apparatus according to the first embodiment of the present invention can be applied. The network device management apparatus 203 and the network devices 204, 205, 206, and 207 are respectively This corresponds to the state of being connected to the network 101 and the network 201 connected by the router 202.

図2において、203は図1に示したネットワーク管理モジュール群を記憶装置に記憶されたネットワークデバイス管理装置であり、ネットワーク101に、ネットワークデバイス管理装置203と、管理対象となるネットワークデバイス204及び205が接続されている。   2, reference numeral 203 denotes a network device management apparatus in which the network management module group shown in FIG. 1 is stored in a storage device. The network 101 includes a network device management apparatus 203 and network devices 204 and 205 to be managed. It is connected.

また、ネットワーク101はルータ202を介して、ネットワーク101とは別のサブネットであるネットワーク201に接続されている。ネットワーク201にも、ネットワークデバイス管理装置203の管理対象となるネットワークデバイス206及び例えばプリンタやMFPといったネットワークデバイス207が接続されている。   The network 101 is connected to a network 201 that is a subnet different from the network 101 via a router 202. Also connected to the network 201 are a network device 206 to be managed by the network device management apparatus 203 and a network device 207 such as a printer or MFP.

本ネットワークシステムにおいて、ネットワークデバイスの探索は、例えばネットワークデバイス管理装置203と同じサブネットに接続されたネットワークデバイス204及びネットワークデバイス205の探索には、プロトコルとしてSNMPのブロードキャストが、別サブネットに接続されたネットワークデバイス206及びネットワークデバイス207の探索には、指定されたアドレスに対するSNMP要求の送信が用いられる。   In this network system, the search for the network device is performed by, for example, searching for the network device 204 and the network device 205 connected to the same subnet as the network device management apparatus 203. The search for the device 206 and the network device 207 uses transmission of an SNMP request for a designated address.

[ネットワークデバイス管理装置の構成]
図3は、図2に示したネットワークデバイス管理装置203の構成を説明するブロック図であり、図1と同一のものには同一の符号を付してある。
[Configuration of network device management device]
3 is a block diagram for explaining the configuration of the network device management apparatus 203 shown in FIG. 2, and the same components as those in FIG. 1 are denoted by the same reference numerals.

図において、501はCPUで、ROM502に保持された制御プログラムコードに基づいて、CPUバス509に接続されたデバイスを総括的に制御する。503はRAMで、CPU501が使用する一時記憶用メモリとして機能し、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張できるように構成されている。   In the figure, reference numeral 501 denotes a CPU, which comprehensively controls devices connected to a CPU bus 509 based on control program codes held in a ROM 502. Reference numeral 503 denotes a RAM which functions as a temporary storage memory used by the CPU 501 and is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown).

また、RAM503は、印刷用データとして作成された描画オブジェクト格納や、ROM502に保持された制御プログラム(図1に示したネットワークデバイス管理プログラム本体103と、プラグインモジュール群104、及びこれらモジュールから共通に利用される共有ライブラリ105を含む)によって一時的に使用されるワークメモリ等に用いられる。   The RAM 503 stores drawing objects created as print data and a control program stored in the ROM 502 (the network device management program main body 103 shown in FIG. 1, the plug-in module group 104, and these modules in common. Used as a work memory temporarily used by the shared library 105).

504はメディアドライブであり、フレキシブルディスク、CD、DVDといった各種メディアとのアクセスインタフェースとなる。505はハードディスク(HDD)であり、各種プログラム、データ等の格納が行われる。506はキーボード・マウスでユーザからの入力を受け付けるインタフェース部であり、507はディスプレイであり、ユーザに情報を伝えるアウトプット部となる。508は、ネットワークを介してプリンタ等の周辺機器と双方向に通信接続するための周辺機器インタフェース部である。   A media drive 504 serves as an access interface with various media such as a flexible disk, CD, and DVD. A hard disk (HDD) 505 stores various programs and data. Reference numeral 506 denotes an interface unit that receives input from the user with a keyboard / mouse. Reference numeral 507 denotes a display that serves as an output unit that transmits information to the user. Reference numeral 508 denotes a peripheral device interface unit for two-way communication connection with a peripheral device such as a printer via a network.

509はCPUバスで、アドレス、データ、コントロールバスを含み、ROM502、RAM503、メディアドライブ504、HD505、キーボード・マウス506、ディプレイ507および周辺機器インタフェース部508は、それぞれCPUバス509に接続されたすべてのデバイスにアクセス可能である。   Reference numeral 509 denotes a CPU bus including an address, data, and control bus. The ROM 502, RAM 503, media drive 504, HD 505, keyboard / mouse 506, display 507, and peripheral device interface unit 508 are all connected to the CPU bus 509. Is accessible to other devices.

[ネットワークデバイスの構成]
図4は、図2に示したネットワークデバイス207の構成を説明するブロック図であり、画像入出力装置(複合機)は、イーサネット(登録商標)等のLAN(Local Area Network)201に接続されている例である。
[Network device configuration]
4 is a block diagram for explaining the configuration of the network device 207 shown in FIG. 2. An image input / output device (multifunction device) is connected to a LAN (Local Area Network) 201 such as Ethernet (registered trademark). This is an example.

図4において、上記画像入出力装置(複合機)等のネットワークデバイス207は、画像データの読取処理を行うリーダ部200と、画像データの出力処理を行うプリンタ部300と、画像データの入出力操作を行うキーボード、及び画像データや各種機能の表示/設定などを行う液晶パネルを備えた操作部170と、リーダ装置200を制御して読み込んだ画像データや、LAN201を介してホストコンピュータより受信したコードデータから生成される画像データを格納/保存できる画像記憶部180、さらには印刷用紙を排紙するフィニッシング部400を装着可能であり、これら各構成要素に接続されて該構成要素を制御するコントローラ部207Cで構成されている。   In FIG. 4, a network device 207 such as the image input / output device (multifunction device) includes a reader unit 200 that performs image data reading processing, a printer unit 300 that performs image data output processing, and image data input / output operations. Operation unit 170 including a liquid crystal panel for displaying / setting image data and various functions, image data read by controlling the reader device 200, and codes received from the host computer via the LAN 201 An image storage unit 180 that can store / save image data generated from data, and a finishing unit 400 that discharges printing paper can be mounted, and a controller unit that is connected to these components and controls the components 207C.

リーダ部200は、原稿用紙を搬送する原稿給紙ユニット250と、原稿画像を光学的に読み取って電気信号としての画像データに変換するスキャナユニット210とを有し、プリンタ部300は、記録用紙を収容する複数段の給紙カセットを備えた給紙ユニット310と、画像データを記録用紙に転写/定着するマーキングユニット320と、印字された記録用紙の反転処理などを行い、フィニッシング部へ用紙を搬送する排紙ユニット330とを有している。   The reader unit 200 includes a document feeding unit 250 that transports a document sheet, and a scanner unit 210 that optically reads a document image and converts it into image data as an electrical signal. A paper feed unit 310 having a plurality of paper feed cassettes to be accommodated, a marking unit 320 for transferring / fixing image data onto a recording paper, a reversing process of the printed recording paper, and the like are carried to the finishing section. And a paper discharge unit 330.

フィニッシング部400は、ジョブや用紙の束毎に用紙を一時的に蓄積する中間ユニット410と、ステイプルやジョブオフセットなどのフィニッシング加工を行ったり、最終的に印刷物を蓄積したりするオプション排紙ユニット420とを有している。   The finishing unit 400 includes an intermediate unit 410 that temporarily stores sheets for each bundle of jobs and sheets, and an optional discharge unit 420 that performs finishing processing such as stapling and job offset, and finally stores printed matter. And have.

コントローラ部207Cは、リーダ部200を制御して原稿の画像データを読込み、プリンタ部300を制御して画像データを記録用紙に出力するコピー機能を提供する。また、リーダ部200から読み取った画像データをコードデータに変換し、ネットワーク201を介してホストコンピュータへ送信するネットワークスキャナ機能や、ホストコンピュータからネットワーク201を介して受信したPDLなどの描画命令やコードデータを画像データに変換し、プリンタ部300に出力するネットワークプリンタ機能などの機能ブロックを有している。   The controller unit 207C provides a copy function for controlling the reader unit 200 to read image data of a document and controlling the printer unit 300 to output the image data to a recording sheet. In addition, a network scanner function that converts image data read from the reader unit 200 into code data and transmits the code data to the host computer via the network 201, or a drawing command or code data such as PDL received from the host computer via the network 201 Are converted into image data, and output to the printer unit 300, such as a network printer function.

さらにコピー機能、ネットワークプリンタ機能等で印刷された用紙を蓄積、ステイプル、製本、ジョブオフセットするフィニッシング機能ブロックを有し、あるまとまった単位毎に仕分けを行ったり、加工したりすることも可能となっている。   Furthermore, it has finishing function blocks for storing, stapling, bookbinding, and job offset for paper printed by the copy function, network printer function, etc., making it possible to sort and process each unit. ing.

図5は、本発明に係るネットワーク管理装置における第1のデータ処理手順の一例を示すフローチャートであり、図2に示したネットワークデバイス管理装置203のCPUが実行するネットワークデバイス管理プログラムの開始時の処理の一部(一手順)に対応する。なお、S301〜S312は各ステップを示し、図3に示したCPU501がRAM503上にロードして実行される。   FIG. 5 is a flowchart showing an example of a first data processing procedure in the network management apparatus according to the present invention, and processing at the start of the network device management program executed by the CPU of the network device management apparatus 203 shown in FIG. Corresponds to a part of (one procedure). Note that S301 to S312 indicate steps, and the CPU 501 shown in FIG. 3 is loaded onto the RAM 503 and executed.

CPU501により、プログラムが開始されると、必要な初期化処理を行った後、ステップS301で、外部記憶装置(図3に示すハードディスク505)に保存されている、例えば、前回のプログラム終了時のデバイスグループ及びデバイスリストに関するデータをRAM503上に読み込み、デバイスグループ及びデバイスリストを作成する。   When the CPU 501 starts the program, it performs necessary initialization processing, and then is stored in the external storage device (hard disk 505 shown in FIG. 3) in step S301. For example, the device at the end of the previous program Data related to the group and device list is read into the RAM 503, and a device group and a device list are created.

次に、外部記憶装置に記憶されているプラグインの読み出しを行う。プラグインファイルは複数の特定のディレクトリに格納されており、プログラムはこれらディレクトリ内に格納された、特定の拡張子を持つファイルをプラグインファイルと判断し、これらを順次取り出す(S302)、全てのプラグインに対する処理が終わるまで各プラグインに対する処理を行う(S303)。   Next, the plug-in stored in the external storage device is read. Plug-in files are stored in a plurality of specific directories, and the program determines that files having a specific extension stored in these directories are plug-in files, and sequentially extracts them (S302). The process for each plug-in is performed until the process for the plug-in is completed (S303).

そして、ネットワークデバイス管理プログラム本体103は先ず、ステップS304で、指定されたプラグインファイルをオープンして、オープン成功かどうかを判断して、オープンに失敗したと判断した場合は、次のプラグインファイルの処理を行う。   In step S304, the network device management program main body 103 first opens the specified plug-in file, determines whether the opening is successful, and if it is determined that the opening has failed, the next plug-in file is determined. Perform the process.

一方、ステップS304で、プラグインファイルのオープンに成功したと判断した場合、ステップS305で、プラグイン内に関数名Aを持つ関数が存在するか調べ、これが存在しないと判断(失敗)した場合、ステップS307に進む。   On the other hand, if it is determined in step S304 that the plug-in file has been successfully opened, it is checked in step S305 whether a function having the function name A exists in the plug-in. If it is determined that this function does not exist (failure), The process proceeds to step S307.

一方、ステップS305で、関数名Aを持つ関数が存在する(成功)と判断した場合、プログラムは、ステップS306において、プラグインファイルが型Aのプラグインであると判断し、プラグインの初期化関数を呼び出した後、このプラグインを型Aのプラグインリストに追加し、ステップS302へ戻り。次のプラグインファイルの処理を行う。   On the other hand, if it is determined in step S305 that a function having the function name A exists (success), the program determines in step S306 that the plug-in file is a type A plug-in, and initializes the plug-in. After calling the function, this plug-in is added to the plug-in list of type A, and the process returns to step S302. Process the next plug-in file.

一方、ステップS305で、プラグインファイルが型Aのプラグインでないと判断した場合、型Bのプラグインであるか否かを判断して(S307)、型Bのプラグインであったと判断した場合、その初期化と型Bのプラグインリストへの追加登録処理を行い(S308)、ステップS302へ戻り。次のプラグインファイルの処理を行う。   On the other hand, if it is determined in step S305 that the plug-in file is not a type A plug-in, it is determined whether the plug-in file is a type B plug-in (S307), and it is determined that the plug-in file is a type B plug-in. The initialization and the additional registration process to the type B plug-in list are performed (S308), and the process returns to step S302. Process the next plug-in file.

以下、同様の処理を、プログラムがサポートするプラグインの型全てに対して行う(S309),(S310)。なお、図中では、都合上、最後のプラグイン名をZと表記している場合である。   Thereafter, the same processing is performed for all types of plug-ins supported by the program (S309) and (S310). In the figure, for the sake of convenience, the last plug-in name is represented as Z.

一方、ステップS309で、プラグインファイルが、どの型にも属さないとCPU501が判断した場合、ステップS311で、プラグインファイルをクローズし、ステップS302へ戻り、次のプラグインファイルの処理を行う。   On the other hand, if the CPU 501 determines in step S309 that the plug-in file does not belong to any type, the plug-in file is closed in step S311, and the process returns to step S302 to process the next plug-in file.

そして、全てのプラグインのロード及び初期化が完了後,プログラムはネットワークデバイスの探索を開始して(S312)、処理を終了する。   Then, after all plug-ins have been loaded and initialized, the program starts searching for network devices (S312) and ends the process.

図6は、図3に示したネットワークデバイス管理装置203のディスプレイ507に表示されるデバイス一覧表示画面の一例を示す図であり、ネットワークデバイス管理プログラムによる表示例である。   FIG. 6 is a diagram showing an example of a device list display screen displayed on the display 507 of the network device management apparatus 203 shown in FIG. 3, and is a display example by the network device management program.

図6では、画面左側にデバイスグループが、画面右側に左側で選択されたデバイスグループに属するデバイスの一覧が表示されており、プラグインの型として、(1)Device、(2)Devices、(3)Groups、(4)All Devicesの4種類があり、現在(1)Deviceの型のプラグインとして「Save/Revert Settings...」というプラグインが登録されていることを階層的に表示している状態に対応する。   In FIG. 6, a device group is displayed on the left side of the screen, and a list of devices belonging to the device group selected on the left side is displayed on the right side of the screen. The plug-in types are (1) Device, (2) Devices, (3 ) Groups, (4) All Devices, and (1) Hierarchical display that plug-ins of “Save / Revert Settings ...” are registered as (1) Device type plug-ins. Corresponds to the state of being.

図7は、本発明に係るネットワーク管理装置における第2のデータ処理手順の一例を示すフローチャートであり、図2に示したネットワークデバイス管理装置203のCPU501が実行するプログラムが発生したイベントに対して、プラグインのイベント関数を呼び出す処理手順に対応する。なお、S501〜S509は各ステップを示す。   FIG. 7 is a flowchart showing an example of a second data processing procedure in the network management apparatus according to the present invention. In response to an event generated by a program executed by the CPU 501 of the network device management apparatus 203 shown in FIG. Corresponds to the processing procedure that calls the plug-in event function. S501 to S509 indicate each step.

プログラムは、ステップS501で、プラグインを呼び出す必要のあるイベントが発生するのを待つ。   In step S501, the program waits for an event that needs to call a plug-in.

そして、イベントが型Aのプラグインの型A−1のイベントであるかどうかを判断して(S502)、プラグインの型A−1のイベントであると判断した場合は、型Aのプラグインリストに登録されているプラグインの夫々に対して、イベントA−1に対するイベント関数を呼び出し(S503)、ステップS504へ進む。   Then, it is determined whether or not the event is a type A-1 event of the type A plug-in (S502), and if it is determined that the event is a type A-1 event of the plug-in, the type A plug-in is determined. For each plug-in registered in the list, an event function for event A-1 is called (S503), and the process proceeds to step S504.

一方、ステップS502で、プラグインの型A−1のイベントでないと判断した場合は、イベントが型Aのプラグインの型A−2のイベントであるかどうかを判断して(S504)、プラグインの型A−2のイベントであると判断した場合、型Aのプラグインリストに登録されているプラグインの夫々に対して、イベントA−2に対するイベント関数を呼び出し(S505)、ステップS506へ進む。   On the other hand, if it is determined in step S502 that the event is not a plug-in type A-1, it is determined whether or not the event is a type A plug-in type A-2 event (S504). If it is determined that the event is an event of type A-2, an event function for event A-2 is called for each plug-in registered in the plug-in list of type A (S505), and the process proceeds to step S506. .

そして、イベントが型Aのプラグインの型B−1のイベントであるかどうかを判断して(S506)、プラグインの型B−1のイベントであると判断した場合は、型Aのプラグインリストに登録されているプラグインの夫々に対して、イベントB−1に対するイベント関数を呼び出し(S507)、ステップS508へ進む。   Then, it is determined whether or not the event is a type B-1 event of a type A plug-in (S506), and if it is determined that the event is a type B-1 event of a plug-in, the type A plug-in is determined. An event function for event B-1 is called for each plug-in registered in the list (S507), and the process proceeds to step S508.

一方、ステップS506で、プラグインの型B−1のイベントでないと判断した場合は、イベントが型Bのプラグインの型B−2のイベントであるかどうかを判断して、プラグインの型B−2のイベントであると判断した場合、型Bのプラグインリストに登録されているプラグインの夫々に対して、イベントB−2に対するイベント関数を呼び出し、ステップS508へ進む。   On the other hand, if it is determined in step S506 that the event is not an event of type B-1 of the plug-in, it is determined whether the event is an event of type B-2 of the plug-in of type B, and the type B of the plug-in is determined. -2 event is called, an event function for event B-2 is called for each of the plug-ins registered in the type B plug-in list, and the process proceeds to step S508.

同様の処理を、全ての型のプラグインの、全てのイベント型に対して行う(S506),(S509)。   Similar processing is performed for all event types of all types of plug-ins (S506) and (S509).

そして、全ての処理が終了すると、プログラムは、ステップS501のイベント待状態に戻る。   When all the processes are completed, the program returns to the event waiting state in step S501.

図8は、本発明に係るネットワーク管理装置における第3のデータ処理手順の一例を示すフローチャートであり、図2に示したネットワークデバイス管理装置203のCPUが実行するネットワークデバイス管理プラグラム終了時の、プラグインに対する処理手順に対応する。なお、S601〜S611は各ステップを示す。   FIG. 8 is a flowchart showing an example of a third data processing procedure in the network management apparatus according to the present invention. The plug at the end of the network device management program executed by the CPU of the network device management apparatus 203 shown in FIG. Corresponds to the processing procedure for in. In addition, S601-S611 shows each step.

プログラムは先ず、ステップS601で、エラーカウントをゼロ(error_count=0)にする。この値が非ゼロの場合、終了処理の中で、終了誰何呼出しに対してエラーを返したプラグインが存在することを意味する。   First, in step S601, the program sets an error count to zero (error_count = 0). If this value is non-zero, it means that there is a plug-in that returned an error for the call of termination in the termination processing.

プログラムは、全てのプラグインを順に取り出し(S602)、リストの終了かどうかを判断して(S603)、リストの終了であると判断した場合は、ステップS607へ進む。   The program extracts all plug-ins in order (S602), determines whether the list is complete (S603), and if it is determined that the list is complete, proceeds to step S607.

一方、ステップS603で、終了でないと判断した場合は、プラグイン夫々に対して(S602及びステップS603)、プラグインの終了誰何処理can_close()を呼び出する(S604)。   On the other hand, if it is determined in step S603 that the processing is not finished, the plug-in completion process can_close () is called for each plug-in (S602 and step S603) (S604).

各プラグインは、終了誰何処理の中で、現在プラグインを終了しても良い場合、プラグインの状態を終了待状態にして、呼出し元であるネットワークデバイス管理プログラムに正常を返す。   Each plug-in returns the normality to the calling network device management program by setting the plug-in state to the end-waiting state when the current plug-in can be terminated in the process of termination.

プラグインを終了しては不都合な場合、プラグインは、呼出し元であるネットワークデバイス管理プログラム本体103にエラーを返す。   If it is inconvenient to terminate the plug-in, the plug-in returns an error to the network device management program main body 103 that is the call source.

そこで、ネットワークデバイス管理プログラム本体103は、ステップS605で、プラグイン113が終了誰何呼出しに対してエラーを返したか否かを検査し、エラーが発生したと判断した場合、ステップS606で、ステップS601でゼロクリアしたエラーカウントに「1」を加えて、ステップS602へ戻る。   Therefore, the network device management program main body 103 checks in step S605 whether or not the plug-in 113 has returned an error for the call of termination, and if it is determined that an error has occurred, the network device management program main body 103 determines in step S606 whether or not an error has occurred. In step S602, “1” is added to the error count cleared to zero in step S602.

そして、ステップS603で、全てのプラグインに対して行ったと判断した後、プログラムは、エラーカウントが「0」かどうかを検査し(S607)、これが非ゼロであると判断した場合、終了誰何呼出しに対してエラーを返したデバイスがある、即ち、終了してはいけないプラグインがあると判断して、ユーザに対して、その旨を通知すると共に、終了の確認を行う(S608)。   Then, after determining in step S603 that all plug-ins have been performed, the program checks whether the error count is “0” (S607). It is determined that there is a device that has returned an error in response to the call, that is, there is a plug-in that should not be terminated, and that is notified to the user and the termination is confirmed (S608).

そして、ユーザが終了しないを選択していると判断した場合(S609)、プログラムはネットワークデバイス管理処理を続けるため、プラグインを元の処理待ち状態に戻すため、全てのプラグインに対して夫々終了取消処理cancel_close()を呼び出し(ステップS611)、処理を中止する。   If it is determined that the user has selected not to terminate (S609), the program continues the network device management process, so that the plug-in is returned to the original process waiting state. Cancel processing cancel_close () is called (step S611), and the processing is stopped.

一方、ステップS609で、ユーザが終了に同意したと判断した場合、或いは、ステップS607で、エラーカウントがゼロであったと判断した場合、プラグラムを終了するために、全てのプラグインに対して夫々プラグインの終了処理close()を呼び出し(S610)、終了処理を完了する。   On the other hand, if it is determined in step S609 that the user has agreed to terminate, or if it is determined in step S607 that the error count is zero, all plug-ins are plugged in to terminate the program. The in termination process close () is called (S610), and the termination process is completed.

図9は、図1に示したプラグイン113の状態遷移を示す第1の状態遷移図であり、S701〜S705は各状態を示す。   FIG. 9 is a first state transition diagram showing the state transition of the plug-in 113 shown in FIG. 1, and S701 to S705 indicate the respective states.

プラグイン113は、先ず、外部記憶装置(例えば図3に示すハードディスク505)の記憶状態S701より、ステップS304によりオープン及びロードされ、不定状態S702になる。   First, the plug-in 113 is opened and loaded in step S304 from the storage state S701 of the external storage device (for example, the hard disk 505 shown in FIG. 3), and becomes indefinite state S702.

次に、プラグインの型の検査の為の関数名の検索が行われ(図5に示したステップS305、S307、S309)、どのプラグインの型にも一致しない場合、これはネットワークデバイス管理プラグインではないため、ステップS311によりクローズされ、記憶装置から削除される(終了状態S705)。   Next, a function name search for a plug-in type check is performed (steps S305, S307, and S309 shown in FIG. 5). If the plug-in type does not match any plug-in type, this is a network device management plug. Since it is not in, it is closed in step S311 and deleted from the storage device (end state S705).

そして、プラグインがネットワークデバイス管理プログラムによりサポートされるものである場合、ステップS306、S308或いはS310により初期化処理が呼び出され、プラグインは、処理待ち状態S703になる。   If the plug-in is supported by the network device management program, the initialization process is called in step S306, S308, or S310, and the plug-in enters the process waiting state S703.

そして、処理待ち状態S703から、ユーザ要求に起因するイベント、或いはユーザ要求とは無関係なイベントの発生により、ユーザ処理、或いはイベント処理が呼び出され、処理の終了と共に、プラグインは再び処理待ち状態S703に戻る。   Then, the user process or event process is called from the process waiting state S703 due to the occurrence of an event caused by the user request or an event unrelated to the user request. Upon completion of the process, the plug-in is again in the process waiting state S703. Return to.

終了時には、図8に示したステップS604により、プラグインの終了誰何処理が呼び出され、プラグインが終了可能な状態の場合、呼出し元であるネットワークデバイス管理プログラムに成功を返すと共に、処理待ち状態S703から、終了待ち状態S705への状態は変化する。   At the end, when the plug-in end process is called in step S604 shown in FIG. 8 and the plug-in is in a state that can be ended, a success is returned to the network device management program that is the call source, and the process waits. The state from S703 to the end wait state S705 changes.

そして、プラグインが終了可能な状態にない場合、終了誰何呼出しに対してエラーを返し、プラグインは処理待ち状態に留まる。   If the plug-in is not in a state where it can be terminated, an error is returned for the termination call, and the plug-in remains in a process waiting state.

そして、終了待ち状態S704から、ユーザの終了取消要求により終了が取り消された場合、プログラムはプラグインの終了取消処理cancel_close()を呼び出し、プラグインは、処理待ち状態S703へと戻る(図8に示すステップS611)。   When the termination is canceled by the user termination cancellation request from the termination waiting state S704, the program calls the plug-in termination cancellation processing cancel_close (), and the plug-in returns to the processing waiting state S703 (FIG. 8). Step S611).

一方、プログラムを終了する場合(ステップS610)は、処理待ち状態703からの強制終了と、終了待ち状態からの正常終了の二種類がある。   On the other hand, when the program is terminated (step S610), there are two types, forcible termination from the processing wait state 703 and normal termination from the termination waiting state.

図10は、図1に示したプラグイン113のソースコードの一部を示す図であり、本例は、型Aのプラグインの構造を示すC言語のソースコードの一部である。なお、801〜814はコード番号を示す。   FIG. 10 is a diagram showing a part of the source code of the plug-in 113 shown in FIG. 1, and this example is a part of the C language source code showing the structure of the type A plug-in. Reference numerals 801 to 814 denote code numbers.

図10において、プラグインは構造体として宣言され、構造対中には、
− handle: プラグインのハンドル
− plugin_name: プラグインの名称を示す文字列へのポインタ
− plugin_description: プラグインの説明文字列へのポインタ
− (*init): 初期化処理を行う関数へのポインタ
− (*can_process): ユーザ処理が呼出し可能か否かを返す関数へのポインタ
− (process): ユーザ処理を行う関数へのポインタ
− (*event_a_callback): イベントaの処理を行う関数へのポインタ
− (*event_b_callback): イベントbの処理を行う関数へのポインタ
− (*can_close): 終了誰何処理を行う関数へのポインタ
− (*cancel_close): 終了取消処理を行う関数へのポインタ
− (*close): 終了処理を行う関数へのポインタ
が夫々格納される。また、プラグインは、上記構造体へのポインタを返す関数plugin_typeA_propertiesを持つ。
In FIG. 10, the plug-in is declared as a structure, and in the structure pair,
-Handle: Plug-in handle-plug_name: pointer to the character string indicating the name of the plug-in-plug_description: pointer to the plug-in description character string-(* init): pointer to the function that performs initialization processing-( * Can_process): Pointer to a function that returns whether or not user processing can be called-(process): Pointer to a function that performs user processing-(* event_a_callback): Pointer to a function that performs processing of event a-(* event_b_callback): Pointer to the function that performs event b processing-(* can_close): Pointer to the function that performs termination processing-(* cancel_close): Pointer to the function that performs termination cancellation processing (* Close): a pointer to a function that performs the termination process are respectively stored. In addition, the plug-in has a function plugin_typeA_properties that returns a pointer to the structure.

図11は、図10に示すソースコードで宣言されるプラグインをオープン、ロードし初期化するためのC言語のコードの一部を示す図である。なお、901〜905,907〜918はコード番号を示す。   FIG. 11 is a diagram showing a part of C language code for opening, loading and initializing the plug-in declared in the source code shown in FIG. Reference numerals 901 to 905 and 907 to 918 indicate code numbers.

プログラムは、コード番号902で、dlopen関数によりplugin_fullpathで指示されるファイル名を持つプラグインのオープン及びロードを行う。プラグインのロードに成功した場合(904)、プラグイン中に、関数plugin_typeA_get_propertiesが存在するか否かを調べ(905)、存在する場合、この関数を呼び出す(907)。plugin_typeA_get_properties関数は、図10に示す構造体を適当な値で埋め、構造体へのポインタを返す。   The program opens and loads a plug-in with a code number 902 and a file name indicated by plug-in_fullpath by the droppen function. When the plug-in has been successfully loaded (904), it is checked whether or not the function plugin_typeA_get_properties exists in the plug-in (905). If it exists, this function is called (907). The plugin_typeA_get_properties function fills the structure shown in FIG. 10 with an appropriate value and returns a pointer to the structure.

plugin_typeA_get_properties関数の呼出しが正常終了した場合(908)、構造体のフィールドに必要な値を代入し(909)、プラグインの初期化関数を呼び出す(910)。プラグインの初期化が成功した場合(910)、型Aのプラグインリストにプラグインを追加する(911)。   When the calling of the plugin_typeA_get_properties function is completed normally (908), a necessary value is substituted for the structure field (909), and the initialization function of the plug-in is called (910). If the initialization of the plug-in is successful (910), the plug-in is added to the type A plug-in list (911).

プラグインの追加が失敗した場合(916)、ロードしたプラグインをクローズする(917)。 If the addition of the plug-in fails (916), the loaded plug-in is closed (917).

〔第2実施形態〕
第2実施形態においては、単一のプラグインが複数のプラグイン型に属することを可能とするようにしたものである。
[Second Embodiment]
In the second embodiment, a single plug-in can belong to a plurality of plug-in types.

図12は、本発明に係るネットワーク管理装置における第4のデータ処理手順の一例を示すフローチャートであり、図2に示したネットワークデバイス管理装置203のCPUが実行するネットワークデバイス管理プログラムの開始時の処理の一部(一手順)に対応する。なお、S301〜S312は各ステップを示し、図3に示したCPU501がRAM503上にロードして実行される。   FIG. 12 is a flowchart showing an example of a fourth data processing procedure in the network management apparatus according to the present invention, and processing at the start of the network device management program executed by the CPU of the network device management apparatus 203 shown in FIG. Corresponds to a part of (one procedure). Note that S301 to S312 indicate steps, and the CPU 501 shown in FIG. 3 is loaded onto the RAM 503 and executed.

CPU501により、プログラムが開始されると、必要な初期化処理を行った後、ステップS301で、外部記憶装置(図3に示すハードディスク505)に保存されている、例えば、前回のプログラム終了時のデバイスグループ及びデバイスリストに関するデータをRAM503上に読み込み、デバイスグループ及びデバイスリストを作成する。   When the CPU 501 starts the program, it performs necessary initialization processing, and then is stored in the external storage device (hard disk 505 shown in FIG. 3) in step S301. For example, the device at the end of the previous program Data related to the group and device list is read into the RAM 503, and a device group and a device list are created.

次に、プラグインの読み出しを行う。プラグインファイルは複数の特定のディレクトリに格納されており、プログラムはこれらディレクトリ内に格納された、特定の拡張子を持つファイルをプラグインファイルと判断し、これらを順次取り出す(S302)、全てのプラグインに対する処理が終わりか否かを判断して(S303)、NOならばステップS304へ進み、YESならばステップS312へ進み、ネットワークデバイスを検索して処理を終了する。   Next, the plug-in is read out. Plug-in files are stored in a plurality of specific directories, and the program determines that files having a specific extension stored in these directories are plug-in files, and sequentially extracts them (S302). It is determined whether or not the process for the plug-in is finished (S303). If NO, the process proceeds to step S304, and if YES, the process proceeds to step S312 to search for a network device and the process is terminated.

そして、ネットワークデバイス管理プログラム103は先ず、ステップS304で、指定されたプラグインファイルをオープンして、オープン成功かどうかを判断して、オープンに失敗したと判断した場合は、次のプラグインファイルの処理を行う。   In step S304, the network device management program 103 first opens the specified plug-in file, determines whether the open is successful, and if it is determined that the open has failed, Process.

一方、ステップS304で、プラグインファイルのオープンに成功したと判断した場合、ステップS305で、プラグイン内に関数名Aを持つ関数が存在するか調べ、これが存在しない(失敗)と判断した場合、ステップS307に進む。   On the other hand, if it is determined in step S304 that the plug-in file has been successfully opened, it is checked in step S305 whether a function having the function name A exists in the plug-in. If it is determined that this does not exist (failure), The process proceeds to step S307.

一方、ステップS305で、関数名Aを持つ関数が存在する(成功)と判断した場合、プログラムは、ステップS306aにおいて、プラグインファイルが型Aのプラグインであると判断し、プラグインの初期化関数を呼び出した後、このプラグインを型Aのプラグインリストに追加し、ステップS307へ進む。   On the other hand, if it is determined in step S305 that a function having the function name A exists (success), the program determines in step S306a that the plug-in file is a type A plug-in, and initializes the plug-in. After calling the function, this plug-in is added to the plug-in list of type A, and the process proceeds to step S307.

一方、ステップS305で、プラグインファイルが型Aのプラグインでないと判断した場合、型Bのプラグインであるか否かを判断して(S307)、型Bのプラグインであったと判断した場合、その初期化と型Bのプラグインリストへの追加登録処理を行い(S308a)、ステップS309へ進む。   On the other hand, if it is determined in step S305 that the plug-in file is not a type A plug-in, it is determined whether the plug-in file is a type B plug-in (S307), and it is determined that the plug-in file is a type B plug-in. The initialization and the additional registration process to the plug-in list of type B are performed (S308a), and the process proceeds to step S309.

以下、同様の処理を、プログラムがサポートするプラグインの型全てに対して行う(S309),(S310a)。なお、図中では、都合上、最後のプラグイン名をZと表記している場合である。   Thereafter, the same processing is performed for all types of plug-ins supported by the program (S309) and (S310a). In the figure, for the sake of convenience, the last plug-in name is represented as Z.

一方、ステップS309で、プラグインファイルが、どの型にも属さないとCPU501が判断した場合、ステップS311で、プラグインファイルをクローズし、ステップS302へ戻り、次のプラグインファイルの処理を行う。   On the other hand, if the CPU 501 determines in step S309 that the plug-in file does not belong to any type, the plug-in file is closed in step S311, and the process returns to step S302 to process the next plug-in file.

そして、全てのプラグインのロード及び初期化が完了後,プログラムはネットワークデバイスの探索を開始して(S312)、処理を終了する。   Then, after all plug-ins have been loaded and initialized, the program starts searching for network devices (S312) and ends the process.

本例は、図3の初期化処理を変更したものであり、図3の場合とは、ステップS306a、S308a及びS310aに於いて、夫々のステップの処理終了後次のプラグインの処理を行う代わりに、次のプラグイン型の検査を行うようにした部分が異なる。   In this example, the initialization process of FIG. 3 is changed, and in the case of FIG. 3, instead of performing the next plug-in process after the process of each step in steps S306a, S308a, and S310a. The difference is that the following plug-in type inspection is performed.

〔第3実施形態〕
第1,第2実施形態において、プラグインが自身の設定した時間間隔あるいは、自身が設定した時間経過後にプラグイン自身の指定した関数を呼び出すような処理を追加する。
[Third Embodiment]
In the first and second embodiments, a process is added in which the plug-in calls a function specified by the plug-in itself after the time interval set by the plug-in or after the time set by the plug-in has elapsed.

図13は、図1に示したプラグイン113の状態遷移を示す第2の状態遷移図であり、S701〜S705は各状態を示す。   FIG. 13 is a second state transition diagram showing the state transition of the plug-in 113 shown in FIG. 1, and S701 to S705 indicate the respective states.

本例は、図9に示した状態遷移に対して、タイマ割り込みによる処理が追加されている点が異なる。   This example is different from the state transition shown in FIG. 9 in that processing by a timer interrupt is added.

以下、図14に示すメモリマップを参照して本発明に係るネットワークデバイス管理装置で読み取り可能なデータ処理プログラムの構成について説明する。   The configuration of a data processing program that can be read by the network device management apparatus according to the present invention will be described below with reference to the memory map shown in FIG.

図14は、本発明に係るネットワークデバイス管理装置で読み取り可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。   FIG. 14 is a diagram illustrating a memory map of a storage medium that stores various data processing programs readable by the network device management apparatus according to the present invention.

なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。   Although not particularly illustrated, information for managing a program group stored in the storage medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.

さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。   Further, data depending on various programs is also managed in the directory. In addition, a program for installing various programs in the computer, and a program for decompressing when the program to be installed is compressed may be stored.

本実施形態における図5,図7,図8,図12に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。   The functions shown in FIGS. 5, 7, 8, and 12 in this embodiment may be performed by a host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Is.

以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the programmed program code.

この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

従って、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。   Therefore, as long as it has the function of the program, the form of the program such as an object code, a program executed by an interpreter, or script data supplied to the OS is not limited.

プログラムを供給するための記憶媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVDなどを用いることができる。   As a storage medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD, etc. Can be used.

この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のコンピュータプログラムそのもの、もしくは、圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバやftpサーバ等も本発明の請求項に含まれるものである。   As another program supply method, a browser of a client computer is used to connect to a homepage on the Internet, and the computer program itself of the present invention or a compressed file including an automatic installation function is stored on a recording medium such as a hard disk from the homepage. It can also be supplied by downloading. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server, an ftp server, and the like that allow a plurality of users to download a program file for realizing the functional processing of the present invention on a computer are also included in the claims of the present invention.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. It is also possible to execute the encrypted program by using the key information and install the program on a computer.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組合せを含む)が可能であり、それらを本発明の範囲から排除するものではない。   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.

本発明の様々な例と実施形態を示して説明したが、当業者であれば、本発明の趣旨と範囲は、本明細書内の特定の説明に限定されるのではない。   Although various examples and embodiments of the present invention have been shown and described, those skilled in the art will not limit the spirit and scope of the present invention to the specific description in the present specification.

なお、本発明は、上記した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。   Note that the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications can be made without departing from the gist of the present invention.

上記実施形態によれば、プラグインをユーザからの要求とは独立したイベントの発生により呼び出す機能を追加することにより、プラグインにより拡張可能な機能の自由度が増加する。   According to the above-described embodiment, by adding a function for calling a plug-in when an event independent of a request from a user is added, the degree of freedom of a function that can be expanded by the plug-in increases.

また、プラグイン終了時の処理を追加することにより、安全にプラグインを終了することが可能となる。   In addition, it is possible to safely terminate the plug-in by adding processing at the end of the plug-in.

さらに、単一のプラグインが複数のプラグイン型を実装可能とすることにより、類似機能を複数のプラグイン型に実装する場合、或いは、複数のプラグイン型に渡って関連する機能を実装する場合、複数のプラグインファイルを用意する必要が無くなり、プラグインファイルの管理が容易になり、コードの共有が可能となるという効果がある。   Furthermore, by enabling a single plug-in to implement multiple plug-in types, when implementing similar functions in multiple plug-in types, or implementing related functions across multiple plug-in types In this case, there is no need to prepare a plurality of plug-in files, which makes it easy to manage plug-in files and share codes.

また、プラグインに、タイマによりプラグイン自身を呼び出す機能追加することにより、ネットワークデバイス管理プラグラム本体から独立して、プラグインを動作させることが可能となり、拡張可能な機能の自由度が増加する。   Further, by adding a function for calling the plug-in itself with a timer to the plug-in, the plug-in can be operated independently from the network device management program body, and the degree of freedom of the expandable function is increased.

本発明の第1実施形態を示すネットワークデバイス管理装置上で動作するネットワークデバイス管理プログラムのモジュール構成を説明するブロック図である。It is a block diagram explaining the module structure of the network device management program which operate | moves on the network device management apparatus which shows 1st Embodiment of this invention. 本発明の第1実施形態を示すネットワーク管理装置を適用可能なネットワークシステムの構成を説明するブロック図である。It is a block diagram explaining the structure of the network system which can apply the network management apparatus which shows 1st Embodiment of this invention. 図2に示したネットワークデバイス管理装置の構成を説明するブロック図である。FIG. 3 is a block diagram illustrating a configuration of a network device management apparatus illustrated in FIG. 2. 図2に示したネットワークデバイスの構成を説明するブロック図である。FIG. 3 is a block diagram illustrating a configuration of the network device illustrated in FIG. 2. 本発明に係るネットワーク管理装置における第1のデータ処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 1st data processing procedure in the network management apparatus which concerns on this invention. 図3に示したネットワークデバイス管理装置のディスプレイに表示あれるデバイス一覧表示画面の一例を示す図である。It is a figure which shows an example of the device list display screen displayed on the display of the network device management apparatus shown in FIG. 本発明に係るネットワーク管理装置における第2のデータ処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 2nd data processing procedure in the network management apparatus which concerns on this invention. 本発明に係るネットワーク管理装置における第3のデータ処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 3rd data processing procedure in the network management apparatus which concerns on this invention. 図1に示したプラグインの状態遷移を示す第1の状態遷移図である。FIG. 3 is a first state transition diagram illustrating state transition of the plug-in illustrated in FIG. 1. 図1に示したプラグインのソースコードの一部を示す図である。It is a figure which shows a part of source code of the plug-in shown in FIG. 図10に示すソースコードで宣言されるプラグインをオープン、ロードし初期化するためのC言語のコードの一部を示す図である。It is a figure which shows a part of C language code for opening, loading, and initializing the plug-in declared by the source code shown in FIG. 本発明に係るネットワーク管理装置における第4のデータ処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 4th data processing procedure in the network management apparatus which concerns on this invention. 図1に示したプラグインの状態遷移を示す第2の状態遷移図である。FIG. 6 is a second state transition diagram illustrating state transition of the plug-in illustrated in FIG. 1. 本発明に係る画像処理装置で読み取り可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。It is a figure explaining the memory map of the storage medium which stores the various data processing program which can be read with the image processing apparatus which concerns on this invention.

符号の説明Explanation of symbols

101,201 ネットワーク
202 ルータ
203 ネットワークデバイス管理装置
204,205,206,207 ネットワークデバイス
101, 201 Network 202 Router 203 Network device management device 204, 205, 206, 207 Network device

Claims (18)

ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置であって、
ネットワークデバイス管理プログラムに基づいて各ネットワークデバイスを管理するネットワークデバイス管理手段と、
前記ネットワークデバイス管理手段により前記ネットワークデバイス管理プログラムが起動した場合に、記憶される各プラグインをオープン可能かどうかを判別する第1の判別処理と、前記第1の判別処理によりオープン可能と判別された場合に、特定のグループに属するプラグインかどうかを判別する第2の判別処理と、前記第2の判別処理により判別される特定のグループ毎にプラグインを分類して管理ファイルに登録する登録処理とを実行するプラグイン管理手段と、
を備えることを特徴とするネットワークデバイス管理装置。
A network device management apparatus that manages network devices connected to a network,
Network device management means for managing each network device based on the network device management program;
When the network device management program is activated by the network device management means, it is determined that the stored plug-ins can be opened by the first determination process and the first determination process. Second determination process for determining whether or not a plug-in belongs to a specific group, and registration for classifying the plug-in for each specific group determined by the second determination process and registering it in the management file Plug-in management means for executing processing;
A network device management apparatus comprising:
前記プラグイン管理手段は、特定のイベントが発生するか否かを監視する監視処理と、前記監視処理により前記特定のイベントが発生したと判断した場合に、前記管理ファイルを参照して対応するプラグインの特定のイベント処理を呼び出す呼出し処理とを実行可能とすることを特徴とする請求項1記載のネットワークデバイス管理装置。   The plug-in management means refers to a monitoring process for monitoring whether or not a specific event occurs, and a plug that corresponds to the management file by referring to the management file when the monitoring process determines that the specific event has occurred. The network device management apparatus according to claim 1, wherein a call process for calling a specific event process of an in can be executed. 前記プラグイン管理手段は、前記ネットワークデバイス管理プログラムの終了時に、動作中のプラグインからの終了応答を判別する第3の判別処理と、前記第3の判別処理による判別結果に基づき、各プラグインの終了処理、あるいは終了取消処理の実行を制御する終了処理とを実行可能とすることを特徴とする請求項1記載のネットワークデバイス管理装置。   The plug-in management means determines whether each plug-in is based on a third determination process for determining an end response from an operating plug-in when the network device management program ends, and a determination result obtained by the third determination process. The network device management apparatus according to claim 1, wherein an end process for controlling the execution of the end process or an end cancellation process is executable. ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置であって、
ネットワークデバイス管理プログラムに基づいて各ネットワークデバイスを管理するネットワークデバイス管理手段と、
前記ネットワークデバイス管理手段により前記ネットワークデバイス管理プログラムから呼び出し可能な、初期化処理、ユーザ要求により呼び出されるユーザ処理、イベントにより呼び出されるイベント処理、プラグイン終了の確認の為の終了誰何処理、終了待ち状態から初期状態への復帰のための終了取消処理、プラグイン処理を終了する終了処理の夫々の呼び出しを各プラグイン毎に管理するプラグイン管理手段と、
前記ネットワーク管理プログラムの起動時に、ディレクトリを捜査して、前記プラグインを格納するプラグインファイルを検索するプラグインファイル検索手段と、
を有することを特徴とするネットワークデバイス管理装置。
A network device management apparatus that manages network devices connected to a network,
Network device management means for managing each network device based on the network device management program;
Initialization process that can be called from the network device management program by the network device management means, user process that is called by a user request, event process that is called by an event, end process for confirmation of plug-in end, process for waiting for end Plug-in management means for managing each call of termination cancellation processing for returning from the state to the initial state and termination processing for terminating plug-in processing for each plug-in,
Plug-in file search means for searching a directory and searching for a plug-in file storing the plug-in when the network management program is started,
A network device management apparatus comprising:
前記プラグイン管理手段は、前記プラグインファイル検索手段により検索されたプラグイン夫々に対して、プラグインを記憶装置上にロードし、前記プラグインの初期化関数を呼び出すプラグイン初期化処理と、ユーザからの要求に応じて、前記プラグインのユーザ処理を呼び出すユーザ処理呼出し処理と、ユーザ要求とは無関係なイベントに応じて、前記プラグインのイベント処理を呼び出すイベント処理呼出し処理と、前記ネットワーク管理プログラムの終了確認時、前記プラグインの終了誰何処理を呼び出す終了誰何処理呼出し処理と、プログラム終了中断時に、前記終了誰何処理を呼び出したプラグインに対して、終了取消処理を呼び出す終了取消処理呼出し処理と、プログラム終了時に、前記プラグインの終了処理を呼び出す終了処理呼出し処理とを実行することを特徴とする請求項4記載のネットワークデバイス管理装置。   The plug-in management means loads a plug-in on a storage device for each plug-in searched by the plug-in file search means, and calls a plug-in initialization function to call the plug-in initialization function; A user process call process that calls a user process of the plug-in in response to a request from a user; an event process call process that calls an event process of the plug-in in response to an event unrelated to the user request; and the network management When the program termination is confirmed, the plug-in termination process is called. When the program termination is interrupted, the termination cancellation process is called for the plug-in that called the termination process. Processing call processing and termination of calling the plug-in termination processing at the end of the program Network device management apparatus according to claim 4, wherein performing a physical call processing. 前記プラグイン管理手段は、複数の分類を備えるプラグインを分類毎に管理し、前記分類に対応する特定のユーザ処理及び特定のイベント処理を呼び出すことを特徴とする請求項4または5記載のネットワークデバイス管理装置。   6. The network according to claim 4, wherein the plug-in managing means manages a plug-in having a plurality of classifications for each classification and calls a specific user process and a specific event process corresponding to the classification. Device management device. 前記プラグイン管理手段は、単一のプラグインが複数の分類に属する機能を備え、前記複数分類を持つプラグインを管理することを特徴とする請求項4〜6のいずれかに記載のネットワークデバイス管理装置。   The network device according to claim 4, wherein the plug-in management unit has a function in which a single plug-in belongs to a plurality of classifications, and manages the plug-ins having the plurality of classifications. Management device. 前記プラグイン管理手段は、前記ネットワークデバイス管理手段から呼び出されるユーザ処理及びイベント処理に加え、予め前記プラグインが指定した既定時間後、或いは既定時間毎に、システムのタイマによりにプラグイン内部のタイマ処理を呼び出すことを特徴とする請求項4〜7のいずれかに記載のネットワークデバイス管理装置。   In addition to user processing and event processing called from the network device management unit, the plug-in management unit includes a timer in the plug-in by a system timer after a predetermined time specified by the plug-in in advance or every predetermined time. The network device management apparatus according to claim 4, wherein the network device management apparatus calls a process. ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置におけるネットワークデバイス管理方法であって、
ネットワークデバイス管理プログラムに基づいて各ネットワークデバイスを管理するネットワークデバイス管理ステップと、
前記ネットワークデバイス管理ステップにより前記ネットワークデバイス管理プログラムの起動した場合に、記憶される各プラグインをオープン可能かどうかを判別する第1の判別処理と、前記第1の判別処理によりオープン可能と判別された場合に、特定のグループに属するプラグインかどうかを判別する第2の判別処理と、前記第2の判別処理により判別される特定のグループ毎にプラグインを分類して管理ファイルに登録する登録処理とを実行するプラグイン管理ステップと、
を備えることを特徴とするネットワークデバイス管理方法。
A network device management method in a network device management apparatus for managing network devices connected to a network,
A network device management step for managing each network device based on the network device management program;
When the network device management program is activated by the network device management step, it is determined that the stored plug-ins can be opened by the first determination process and the first determination process determines that the plug-in can be opened. A second determination process for determining whether or not a plug-in belongs to a specific group, and a registration for classifying the plug-in for each specific group determined by the second determination process and registering it in the management file Plug-in management steps to perform processing,
A network device management method comprising:
前記プラグイン管理ステップは、特定のイベントが発生するか否かを監視する監視処理と、前記監視処理により前記特定のイベントが発生したと判断した場合に、前記管理ファイルを参照して対応するプラグインの特定のイベント処理を呼び出す呼出し処理とを実行可能とすることを特徴とする請求項9記載のネットワークデバイス管理方法。   The plug-in management step includes a monitoring process for monitoring whether or not a specific event occurs, and a plug corresponding to the management file when the monitoring process determines that the specific event has occurred. The network device management method according to claim 9, wherein a call process for calling a specific event process of an in-line can be executed. 前記プラグイン管理ステップは、前記ネットワークデバイス管理プラグラムの終了時に、動作中のプラグインからの終了応答を判別する第3の判別処理と、前記第3の判別処理による判別結果に基づき、各プラグインの終了処理、あるいは終了取消処理の実行を制御する終了処理とを実行可能とすることを特徴とする請求項9記載のネットワークデバイス管理方法。   The plug-in management step includes a third determination process for determining an end response from an operating plug-in at the end of the network device management program, and each plug-in based on a determination result obtained by the third determination process. 10. The network device management method according to claim 9, wherein the termination process for controlling the execution of the termination process or the termination cancellation process can be executed. ネットワークに接続されるネットワークデバイスを管理するネットワークデバイス管理装置におけるネットワークデバイス管理方法であって、
ネットワークデバイス管理プログラムに基づいて各ネットワークデバイスを管理するネットワークデバイス管理ステップと、
前記ネットワークデバイス管理ステップにより前記ネットワークデバイス管理プログラムから呼び出し可能な、初期化処理、ユーザ要求により呼び出されるユーザ処理、イベントにより呼び出されるイベント処理、プラグイン終了の確認の為の終了誰何処理、終了待ち状態から初期状態への復帰のための終了取消処理、プラグイン処理を終了する終了処理の夫々の呼び出しを各プラグイン毎に管理するプラグイン管理ステップと、
前記ネットワーク管理プログラムの起動時に、ディレクトリを捜査して、前記プラグインを格納するプラグインファイルを検索するプラグインファイル検索ステップと、
を有することを特徴とするネットワークデバイス管理方法。
A network device management method in a network device management apparatus for managing network devices connected to a network,
A network device management step for managing each network device based on the network device management program;
Initialization process that can be called from the network device management program by the network device management step, user process that is called by a user request, event process that is called by an event, end process for confirmation of plug-in end, process for waiting for end A plug-in management step for managing each call of termination cancellation processing for returning from the state to the initial state and termination processing for terminating the plug-in processing;
A plug-in file search step of searching a directory and searching for a plug-in file storing the plug-in when starting the network management program;
A network device management method comprising:
前記プラグイン管理ステップは、前記プラグインファイル検索ステップにより検索されたプラグイン夫々に対して、プラグインを記憶装置上にロードし、前記プラグインの初期化関数を呼び出すプラグイン初期化処理と、ユーザからの要求に応じて、前記プラグインのユーザ処理を呼び出すユーザ処理呼出し処理と、ユーザ要求とは無関係なイベントに応じて、前記プラグインのイベント処理を呼び出すイベント処理呼出し処理と、プログラムの終了確認時、前記プラグインの終了誰何処理を呼び出す終了誰何処理呼出し処理と、プラグラム終了中断時に、前記終了誰何処理を呼び出したプラグインに対して、終了取消処理を呼び出す終了取消処理呼出し処理と、プログラム終了時に、前記プラグインの終了処理を呼び出す終了処理呼出し処理とを実行することを特徴とする請求項12記載のネットワークデバイス管理方法。   The plug-in management step loads a plug-in on a storage device for each plug-in searched in the plug-in file search step, and calls a plug-in initialization process for calling the plug-in initialization function; A user process call process that calls a user process of the plug-in in response to a request from the user, an event process call process that calls an event process of the plug-in in response to an event unrelated to the user request, and an end of the program Termination process call process that calls the termination process of the plug-in upon confirmation and termination cancellation process call process that calls the termination cancellation process for the plug-in that called the termination process when the program termination is interrupted And an end process call process that calls the end process of the plug-in when the program ends. Network device management method according to claim 12, wherein the performing and. 前記プラグイン管理ステップは、複数の分類を備えるプラグインを分類毎に管理し、前記分類に対応する特定のユーザ処理及び特定のイベント処理を呼び出すことを特徴とする請求項12または13記載のネットワークデバイス管理方法。   14. The network according to claim 12, wherein the plug-in management step manages a plug-in having a plurality of classifications for each classification, and calls a specific user process and a specific event process corresponding to the classification. Device management method. 前記プラグイン管理ステップは、単一のプラグインが複数の分類に属する機能を備え、前記複数分類を持つプラグインを管理することを特徴とする請求項12〜14のいずれかに記載のネットワークデバイス管理方法。   15. The network device according to claim 12, wherein in the plug-in management step, a single plug-in has a function belonging to a plurality of classifications, and manages the plug-ins having the plurality of classifications. Management method. 前記プラグイン管理ステップは、前記ネットワークデバイス管理手段から呼び出されるユーザ処理及びイベント処理に加え、予め前記プラグインが指定した既定時間後、或いは既定時間毎に、システムのタイマによりにプラグイン内部のタイマ処理を呼び出すことを特徴とする請求項12〜15のいずれかに記載のネットワークデバイス管理方法。   In addition to user processing and event processing called from the network device management means, the plug-in management step includes a timer in the plug-in by a system timer after a predetermined time specified by the plug-in in advance or every predetermined time. The network device management method according to claim 12, wherein the process is called. 請求項9〜16のいずれかに記載のネットワークデバイス管理方法を実行させるためのプログラムを格納したことを特徴とするコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for executing the network device management method according to claim 9. 請求項9〜16のいずれかに記載のネットワークデバイス管理方法を実行させることを特徴とするプログラム。   A program for executing the network device management method according to any one of claims 9 to 16.
JP2003416981A 2003-12-15 2003-12-15 Network device management apparatus, network device management method, computer-readable storage medium stored with program, and program Pending JP2005174244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003416981A JP2005174244A (en) 2003-12-15 2003-12-15 Network device management apparatus, network device management method, computer-readable storage medium stored with program, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003416981A JP2005174244A (en) 2003-12-15 2003-12-15 Network device management apparatus, network device management method, computer-readable storage medium stored with program, and program

Publications (1)

Publication Number Publication Date
JP2005174244A true JP2005174244A (en) 2005-06-30

Family

ID=34736031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003416981A Pending JP2005174244A (en) 2003-12-15 2003-12-15 Network device management apparatus, network device management method, computer-readable storage medium stored with program, and program

Country Status (1)

Country Link
JP (1) JP2005174244A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010150312A1 (en) * 2009-06-24 2010-12-29 株式会社日立製作所 Node management device and method
US8553564B2 (en) 2010-06-28 2013-10-08 Hitachi, Ltd. Management system and computer system management method
US8935373B2 (en) 2010-06-14 2015-01-13 Hitachi, Ltd. Management system and computer system management method
JP2017146892A (en) * 2016-02-19 2017-08-24 富士通株式会社 Information processing device, processing execution management method, and processing execution management program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010150312A1 (en) * 2009-06-24 2010-12-29 株式会社日立製作所 Node management device and method
US8271638B2 (en) 2009-06-24 2012-09-18 Hitachi, Ltd. Node management apparatus and method
US8935373B2 (en) 2010-06-14 2015-01-13 Hitachi, Ltd. Management system and computer system management method
US8553564B2 (en) 2010-06-28 2013-10-08 Hitachi, Ltd. Management system and computer system management method
JP2017146892A (en) * 2016-02-19 2017-08-24 富士通株式会社 Information processing device, processing execution management method, and processing execution management program

Similar Documents

Publication Publication Date Title
US8804172B2 (en) Non-transitory computer readable recording medium stored with printer driver updating program and printer driver updating method
JP4240690B2 (en) Information processing apparatus, information processing method, information processing system, and recording medium
US7719703B2 (en) Print control program and medium and information processing apparatus
US8451484B2 (en) Information processing apparatus, printing apparatus, electronic device, and computer program therefor based on existence of printer configuration file
JP2007041976A (en) Data processing apparatus, file processing method, storage medium and program
US7826083B2 (en) Management of multiple page description languages
US8379259B2 (en) Image forming system, device managing method thereof, and program therefor
JP2004078281A (en) Printer equipment information setting method, image printing device and program
JP2005242781A (en) Information processor and printing control method and computer-readable program-stored storage medium and program
US20060033944A1 (en) Status information processor
JP4246620B2 (en) Information processing apparatus, information processing system, information processing method, program, and recording medium
JP2006344210A (en) Terminal device, its control method, and computer program
JP2012155401A (en) Printing system, printing device, control method of printing system, control method of printing device, and program
US20090190154A1 (en) Image Forming System and Method, Management Apparatus, and Recording Medium
JP2004341728A (en) Printer, printing system and cancellation method
EP1460531A2 (en) Printer information setting method, server and program
JP2005174244A (en) Network device management apparatus, network device management method, computer-readable storage medium stored with program, and program
JP4087788B2 (en) Information processing apparatus, control method therefor, and program
JP2011116088A (en) Image forming apparatus, data control method, and program
JP4498045B2 (en) Image processing apparatus, control method therefor, and program
JP3829798B2 (en) Image forming apparatus and program
JP2003223295A (en) Printing system and its print resource using method
JP6673025B2 (en) Information processing device and program
JP2000156760A (en) Image processing unit, image processing system and storage medium
JP2004021455A (en) Information processor and job processing method