JP2003218900A - Network device control apparatus and method - Google Patents
Network device control apparatus and methodInfo
- Publication number
- JP2003218900A JP2003218900A JP2002018444A JP2002018444A JP2003218900A JP 2003218900 A JP2003218900 A JP 2003218900A JP 2002018444 A JP2002018444 A JP 2002018444A JP 2002018444 A JP2002018444 A JP 2002018444A JP 2003218900 A JP2003218900 A JP 2003218900A
- Authority
- JP
- Japan
- Prior art keywords
- server
- client
- network device
- shared resource
- device control
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、コンピュータネッ
トワークに関し、具体的にはネットワーク管理ソフトウ
ェアを含むネットワークデバイス制御装置および方法に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer network, and more particularly to a network device control apparatus and method including network management software.
【0002】[0002]
【従来の技術】ネットワークデバイスを管理する方法と
して、SNMP/MIBを使用する方法がある。(SN
MP/MIBの詳細に関しては「TCP/IPネットワ
ーク管理入門実用的な管理をめざして」M.T.ローズ
=著/西田竹志=訳(株)トッパン発行1992年8月
20日初版を参照のこと)。2. Description of the Related Art As a method for managing a network device, there is a method using SNMP / MIB. (SN
For details of MP / MIB, refer to “Introduction to TCP / IP Network Management Aiming for Practical Management.” T. Rose = Author / Takeshi Nishida = Translated by Toppan Co., Ltd. See the first edition on August 20, 1992).
【0003】SNMPネットワーク管理技術によれば、
ネットワーク管理システムには、少なくとも1つのネッ
トワーク管理ステーション(NMS)、各々がエージェ
ントを含むいくつかの管理対象ノード、及び管理ステー
ションやエージェントが管理情報を交換するために使用
するネットワーク管理プロトコルが含まれる。ユーザ
は、NMS上でネットワーク管理ソフトウェアを用いて
管理対象ノード上のエージェントソフトウェアと通信す
ることにより、ネットワーク上のデータを得、またデー
タを変更することができる。According to the SNMP network management technology,
The network management system includes at least one network management station (NMS), a number of managed nodes each including an agent, and a network management protocol used by the management station or agents to exchange management information. The user can obtain the data on the network and change the data by communicating with the agent software on the managed node using the network management software on the NMS.
【0004】このようなネットワーク管理ソフトウェア
を分散環境で使用する場合、SNMPネットワーク管理
機能を持つサーバアプリケーションと各端末で起動され
るGUI部分である複数のクライアントアプリケーショ
ンによる構成をとることが一般的である。When such network management software is used in a distributed environment, it is generally configured by a server application having an SNMP network management function and a plurality of client applications which are GUI parts activated on each terminal. .
【0005】異なる端末間でクライアントアプリケーシ
ョンとサーバアプリケーションでプロセス間通信を行う
標準としてRFC1057 RPC(Remote P
rocedure Call)が定義されている。RP
Cとは、ネットワークサービスを提供する関数群をサー
バ側で用意し、その中の関数をローカルマシン内の関数
と同様に、ネットワーク上の別端末のクライアントプロ
セスから呼び出せるようにしたものである。RPCにお
けるプロセス間通信の流れは以下のようになる。クライ
アントは、サーバに対するサービス要求として、サーバ
に用意されているRPC関数を呼び出す。この時点で、
関数の呼び出し情報を格納したデータパケットがサーバ
に送られ、クライアントのプログラムは中断される。サ
ーバがパケットを受け取ると、呼び出された関数をディ
スパッチし、関数の引数を取り出した後、その引数をも
とにサービスを実行して、その結果をクライアントに返
す。クライアントは関数の結果を受け取った後で、プロ
グラムの実行を再開する。RPCにおけるクライアント
とサーバの接続形体には、コネクション型とコネクショ
ンレス型の2種類がある。RFC1057 RPC (Remote P) is a standard for inter-process communication between client applications and server applications between different terminals.
The location call) is defined. RP
C is a group of functions that provides a network service prepared on the server side so that the functions therein can be called from a client process of another terminal on the network like the functions in the local machine. The flow of inter-process communication in RPC is as follows. The client calls the RPC function prepared in the server as a service request to the server. at this point,
A data packet containing the function call information is sent to the server, and the client program is interrupted. When the server receives the packet, it dispatches the called function, extracts the function argument, executes the service based on that argument, and returns the result to the client. The client resumes program execution after receiving the result of the function. There are two types of connection forms of a client and a server in RPC, a connection type and a connectionless type.
【0006】[0006]
【発明が解決しようとする課題】しかしながら上記従来
例では、ネットワーク管理ソフトウェアのクライアント
アプリケーションがサーバアプリケーションにデータを
送信するとき、サーバアプリケーションのクラッシュも
しくはサーバアプリケーションの再起動中等の理由でサ
ーバアプリケーションと通信できない場合、クライアン
トアプリケーションがサーバアプリケーションに対しデ
ータの再送もしくはサーバアプリケーションとの再接続
等を試み、サーバアプリケーションとの通信ができない
ことを認識するまでに時間がかかりクライアントアプリ
ケーションの処理が停止されるという問題がある。However, in the above-mentioned conventional example, when the client application of the network management software sends data to the server application, the server application cannot communicate with the server application because of the crash of the server application or the restart of the server application. In this case, there is a problem that the client application tries to retransmit data to the server application or reconnects with the server application, and it takes time to recognize that communication with the server application is not possible and the processing of the client application is stopped. is there.
【0007】そこで本出願に係る発明の目的は、ネット
ワークデバイス制御装置および方法において、上記のよ
うな問題を解決するようなネットワークデバイス制御装
置および方法を提供することにある。Therefore, an object of the present invention is to provide a network device control apparatus and method that solves the above problems.
【0008】[0008]
【課題を解決するための手段】請求項1の発明にかかる
ネットワークデバイス制御装置は、デバイス情報を表示
する表示手段と、デバイスの情報を取得設定するデバイ
ス情報取得設定手段と、前記デバイス情報取得設定手段
により送受信するデータを変換するデータ変換手段と、
クライアントとサーバ間のプロセス間通信を行うプロセ
ス間通信手段と、共有リソースの作成管理を行う共有リ
ソース管理手段と、を設けることにより、クライアント
アプリケーションがサーバアプリケーションに対してデ
ータ送信をする前に、クライアントアプリケーションと
サーバアプリケーションの共有リソースを確認すること
により、サーバアプリケーションの生存確認を迅速に行
うことが可能となる。According to another aspect of the present invention, there is provided a network device control apparatus, a display unit for displaying device information, a device information acquisition setting unit for acquiring and setting device information, and the device information acquisition setting. Data conversion means for converting the data transmitted and received by the means,
By providing an inter-process communication means for performing inter-process communication between the client and the server and a shared resource management means for creating and managing the shared resource, the client application can send data to the server application before the client application sends the data. By confirming the shared resource of the application and the server application, it becomes possible to quickly confirm the existence of the server application.
【0009】請求項2の発明にかかるネットワークデバ
イス制御装置は、前記ネットワークデバイス制御方法の
前記共有リソース管理手段において、共有リソースとし
てウィンドウの作成及び検索を行うことにより、クライ
アントアプリケーションがサーバアプリケーションに対
してデータ送信をする前に、サーバアプリケーションの
所有するウィンドウの存在を確認することにより、サー
バアプリケーションの生存確認を迅速に行うことが可能
となる。In the network device control apparatus according to the invention of claim 2, the shared resource management means of the network device control method creates and retrieves a window as a shared resource so that the client application can execute a search for the server application. By confirming the existence of the window owned by the server application before transmitting the data, it becomes possible to quickly confirm the existence of the server application.
【0010】請求項3の発明にかかるネットワークデバ
イス制御装置は、前記ネットワークデバイス制御方法の
前記共有リソース管理手段において、共有リソースの検
索時に検索時刻を併用することにより、共有リソースを
検索した時刻が一定範囲を超えた場合のみ共有リソース
の検索を行うことにより、検索回数を削減し各APIコ
ールのパフォーマンスを向上させることが可能となる。In the network device control apparatus according to the invention of claim 3, in the shared resource management means of the network device control method, the search time is also used when searching the shared resource, so that the search time of the shared resource is constant. By searching the shared resource only when the range is exceeded, the number of searches can be reduced and the performance of each API call can be improved.
【0011】請求項4の発明にかかるコンピュータで読
み取り可能な記憶媒体は、デバイス情報を表示する表示
ステップと、デバイスの情報を取得設定するデバイス情
報取得設定ステップと、前記デバイス情報取得設定ステ
ップにより送受信するデータを変換するデータ変換ステ
ップと、クライアントとサーバ間のプロセス間通信を行
うプロセス間通信ステップと、共有リソースの作成管理
を行う共有リソース管理ステップと、から成るプログラ
ムを有したコンピュータで読み取り可能な記憶媒体であ
る。A computer-readable storage medium according to a fourth aspect of the present invention transmits and receives a display step for displaying device information, a device information acquisition setting step for acquiring and setting device information, and a device information acquisition setting step. Readable by a computer having a program including a data conversion step of converting data to be processed, an interprocess communication step of performing interprocess communication between a client and a server, and a shared resource management step of creating and managing shared resources. It is a storage medium.
【0012】請求項5の発明にかかるコンピュータで読
み取り可能な記憶媒体は、前記ネットワークデバイス制
御方法の前記共有リソース管理ステップにおいて、共有
リソースとしてウィンドウの作成及び検索を行うことを
特徴を持つプログラムを有したコンピュータで読み取り
可能な記憶媒体である。A computer-readable storage medium according to a fifth aspect of the present invention has a program characterized in that, in the shared resource management step of the network device control method, a window is created and searched as a shared resource. It is a computer-readable storage medium.
【0013】請求項5の発明にかかるコンピュータで読
み取り可能な記憶媒体は、前記ネットワークデバイス制
御方法の前記共有リソース管理ステップにおいて、共有
リソースの検索時に検索時刻を併用することを特徴を持
つプログラムを有したコンピュータで読み取り可能な記
憶媒体である。A computer-readable storage medium according to a fifth aspect of the present invention has a program characterized in that, in the shared resource management step of the network device control method, a search time is also used when searching for a shared resource. It is a computer-readable storage medium.
【0014】[0014]
【発明の実施の形態】本発明のネットワーク管理装置
は、図2に示したような従来のネットワーク管理装置を
実現可能なPCと同様の構成のPC上に実現される。ハ
ードディスク(HD)211には、後述のすべての説明
で動作主体となる本願に係るネットワーク管理ソフトウ
ェアのプログラムが格納される。後述のすべての説明に
おいて、特に断りのない限り、実行の主体はハード上は
CPU201である。一方、ソフトウェア上の制御の主
体は、ハードディスク(HD)211に格納されたネッ
トワーク管理ソフトウェアである。本実施形態において
は、OSは例えば、ウィンドウズ2000(マイクロソ
フト社製)を想定しているが、これに限るものではな
い。BEST MODE FOR CARRYING OUT THE INVENTION The network management apparatus of the present invention is realized on a PC having the same configuration as the PC capable of realizing the conventional network management apparatus as shown in FIG. The hard disk (HD) 211 stores a program of the network management software according to the present application, which is the main subject of the operation in all the following description. In all the explanations below, unless otherwise specified, the main body of execution is the CPU 201 in terms of hardware. On the other hand, the main body of control on software is network management software stored in the hard disk (HD) 211. In this embodiment, the OS is assumed to be, for example, Windows 2000 (manufactured by Microsoft Corporation), but the OS is not limited to this.
【0015】なお本願に係るネットワーク管理プログラ
ムは、フロッピー(登録商標)ディスクやCD−ROM
などの記憶媒体に格納された形で供給されても良く、そ
の場合には図5に示すフロッピーディスクコントローラ
(FD)212または不図示のCD−ROMドライブな
どによって記憶媒体からプログラムが読み取られ、ハー
ドディスク(HD)211にインストールされる。The network management program according to the present application is a floppy (registered trademark) disk or CD-ROM.
It may be supplied in the form of being stored in a storage medium such as a hard disk. In that case, the program is read from the storage medium by the floppy disk controller (FD) 212 shown in FIG. (HD) 211 is installed.
【0016】以下の説明において、本願に係るネットワ
ーク管理ソフトウェアのGUI部分のプロセス(クライ
アントアプリケーション)を「NetSpot GU
I」、デバイスと通信する部分のプロセス(サーバアプ
リケーション)を「VDC」と呼称する。In the following description, the process (client application) of the GUI part of the network management software according to the present application will be referred to as "NetSpot GU".
I ”, the process of communicating with the device (server application) is called“ VDC ”.
【0017】図3において、PC103上でNetSp
ot GUIのプロセス、PC121上でVDCのプロ
セスをそれぞれ起動してプリンタ102(SNMPエー
ジェントが実装されている)を管理する。NetSpo
t GUIは、プロセス間通信の機能を使用してVDC
と通信を行い、VDCはSNMPプロトコルを使用して
デバイスと通信を行う。In FIG. 3, NetSp is displayed on the PC 103.
The ot GUI process and the VDC process are activated on the PC 121 to manage the printer 102 (where the SNMP agent is installed). NetSpo
t GUI uses the function of interprocess communication to VDC
And the VDC uses the SNMP protocol to communicate with the device.
【0018】デバイスからデバイス構成情報を取得する
ために、NetSpot GUIはプロキシを用いてプ
ロセス間通信をし、VDCに取得したいデバイス構成情
報を送信する。VDCはスタブで受信した情報を受け取
り、SNMPプロトコルを用いてデバイスからMIB情
報を取得する。取得した情報は、VDCのスタブからプ
ロセス間通信を使用してプロキシに送信され、プロキシ
からNetSpotGUIにコールバック通知される。
NetSpot GUIは、プロキシからコールバック
通知された情報を基にビットマップ表示等を行ってデバ
イス構成情報を表示する。In order to obtain the device configuration information from the device, the NetSpot GUI performs inter-process communication using a proxy and transmits the device configuration information to be acquired to VDC. The VDC receives the information received by the stub and acquires the MIB information from the device by using the SNMP protocol. The acquired information is transmitted from the VDC stub to the proxy using interprocess communication, and the proxy notifies the NetSpot GUI to call back.
The NetSpot GUI displays device configuration information by performing a bitmap display or the like based on the information notified by the proxy from the callback.
【0019】デバイスにデバイス構成情報を設定するた
めに、NetSpot GUIはプロキシを用いてプロ
セス間通信をし、VDCに設定したいデバイス情報を送
信する。VDCはスタブで受信した情報を受け取り、S
NMPプロトコルを用いてデバイスにMIB情報を設定
する。設定が成功したか失敗したかを示す情報は、VD
Cのスタブからプロセス間通信を使用してプロキシに送
信され、プロキシからNetSpot GUIにコール
バック通知される。NetSpot GUIは、プロキ
シからコールバック通知された情報を基にビットマップ
表示等を行ってデバイス構成情報を表示する。In order to set the device configuration information in the device, the NetSpot GUI uses a proxy to perform inter-process communication and sends the device information to be set in VDC. VDC receives the information received by the stub and S
MIB information is set in the device using the NMP protocol. The information indicating whether the setting succeeded or failed is VD.
It is sent from the C stub to the proxy using inter-process communication and the proxy notifies the NetSpot GUI with a callback. The NetSpot GUI displays device configuration information by performing a bitmap display or the like based on the information notified by the proxy from the callback.
【0020】図4は、NetSpot GUIがデバイ
ス構成情報としてデバイスの状態、給紙部情報等を取得
して表示した画面である。FIG. 4 is a screen in which the NetSpot GUI acquires and displays the device status, paper feed unit information and the like as device configuration information.
【0021】図5は、NetSpot GUIがデバイ
スジョブ情報を表示している画面である。デバイスから
デバイスジョブ情報を取得するために、NetSpot
GUIはプロキシを用いてプロセス間通信をし、VD
Cにジョブ取得命令を送信する。VDCはスタブで受信
したジョブ取得命令を受け取り、ジョブ取得用プロトコ
ル(例えば、SNMPプロトコルを用いたJob MI
B、IPP(Internet Printing P
rotocol)など)を用いてデバイスからジョブ情
報を取得する。取得したジョブ情報は、VDCのスタブ
からプロセス間通信を使用してプロキシに送信され、プ
ロキシからNetSpot GUIにコールバック通知
される。NetSpot GUIは、プロキシからコー
ルバック通知されたジョブ情報をもとにジョブのリスト
表示を行う。FIG. 5 is a screen on which the NetSpot GUI displays device job information. NetSpot to get device job information from the device
The GUI uses a proxy for inter-process communication and VD
Send a job acquisition command to C. The VDC receives the job acquisition command received by the stub and receives the job acquisition protocol (for example, Job MI using the SNMP protocol).
B, IPP (Internet Printing P)
the job information from the device. The acquired job information is sent from the VDC stub to the proxy using interprocess communication, and the proxy notifies the NetSpot GUI as a callback. The NetSpot GUI displays a list of jobs based on the job information notified by a callback from the proxy.
【0022】また、ジョブ状態の変化をリアルタイムで
表示するために、NetSpotGUIはプロキシを用
いてプロセス間通信をし、VDCにジョブイベントの通
知依頼命令を送信する。VDCはスタブで受信したイベ
ント通知依頼命令を受け取り、デバイスからイベントを
受信した場合、もしくはスプーラ内でジョブ状態が変化
した場合にイベント通知する通知先として登録を行う。
VDCは、デバイスもしくはスプーラからジョブ状態変
化のイベントが通知された場合、通知先として登録され
ているクライアントに対して、スタブからプロセス間通
信を使用してプロキシにジョブ状態変化情報を送信す
る。プロキシは受信したジョブ状態変化情報をNetS
pot GUIにコールバック通知し、NetSpot
GUIは、コールバック通知されたジョブ状態変化情
報もとにリスト内のジョブ状態を更新する。Further, in order to display the change in the job status in real time, NetSpot GUI performs inter-process communication by using a proxy and transmits a job event notification request command to VDC. The VDC receives the event notification request command received by the stub, and registers as a notification destination for event notification when an event is received from the device or when the job state changes in the spooler.
When the device or the spooler notifies the job state change event, the VDC transmits the job state change information from the stub to the proxy using interprocess communication to the client registered as the notification destination. The proxy sends the received job status change information to NetS.
Call back notification to the pot GUI, NetSpot
The GUI updates the job status in the list based on the job status change information notified by the callback.
【0023】図6は、ジョブデータがデバイスに送信さ
れるとき、スプーラ内のジョブ情報が通知される経路を
示したブロック図である。B1−1において、アプリケ
ーションはスプーラプロセスに印刷データを送信する。
スプーラプロセスでは、ランゲージモニタが印刷データ
を受け取り、B1−2においてジョブ名、ジョブID、
ジョブ状態等のジョブ情報をVDCプロセスに通知す
る。VDCへのジョブ情報通知には、RPC等のプロセ
ス間通信を用いて行う。B1−3においてランゲージモ
ニタは、印刷データをポートモニタに送る。ポートモニ
タは、B1−4で印刷データをデバイスに送信する。B
1−5においてVDCは、スプーラ内のジョブ情報をジ
ョブ状態変化イベント通知先として登録されているNe
tSpotGUIに通知する。NetSpot GUI
は、受信したジョブ情報をもとにジョブリストの情報を
更新する。FIG. 6 is a block diagram showing a route through which job information in the spooler is notified when the job data is transmitted to the device. In B1-1, the application sends print data to the spooler process.
In the spooler process, the language monitor receives the print data, and in B1-2, the job name, job ID,
The VDC process is notified of job information such as the job status. Job information notification to the VDC is performed using inter-process communication such as RPC. In B1-3, the language monitor sends the print data to the port monitor. The port monitor sends the print data to the device at B1-4. B
In 1-5, the VDC registers the job information in the spooler as the job status change event notification destination.
Notify the tSpotGUI. NetSpot GUI
Updates the job list information based on the received job information.
【0024】スプーラプロセスとVDCプロセス、VD
CプロセスとNetSpot GUIで使用されるプロ
セス間通信において、図7のフローチャートを用いてV
DCの存在確認を毎回行う場合の動作、図8のフローチ
ャートを用いてVDCの存在確認を一定間隔で行う場合
の動作、図9のフローチャートを用いてVDCの動作を
説明する。Spooler process, VDC process, VDC
In the inter-process communication used in the C process and the NetSpot GUI, V using the flowchart of FIG.
The operation in the case of confirming the existence of DC every time, the operation in the case of confirming the existence of VDC at a constant interval by using the flowchart of FIG. 8, and the operation of the VDC by using the flowchart of FIG. 9 will be described.
【0025】図7のS1−1において、クライアントで
あるスプーラプロセスのランゲージモニタもしくはNe
tSpot GUIがプロキシに対してAPIコールを
行う。S1−2において、サーバであるVDCが存在し
ているかどうかを示すfAliveフラグを確認する。
S1−3において、fAliveフラグがFALSEの
場合、S1−10に進み、関数の戻り値をFALSEに
設定する。fAliveフラグがTRUEの場合、S1
−4に進みサーバであるVDCが所有しているウィンド
ウの存在を確認する。ウィンドウの存在を確認するには
OSに問い合わせを行うため、VDCとのプロセス間通
信は発生しない。ここで、サーバの存在を確認するリソ
ースはクライアントとサーバ間の共有リソースであれば
よくウィンドウに限るものではない。ウィンドウの存在
確認を行わない場合、クライアントとサーバの通信処理
において応答待ち、再送等の時間のかかる処理が行われ
る。例えば、VDCの応答待ちに5秒のタイムアウト値
が設定され、かつVDCが再起動中等で存在していない
場合、図6のB1−2のジョブ情報の再送等が起こりス
プーラプロセス内の印刷データは、5秒間ポートモニタ
に送信されない。このため、印刷パフォーマンスに多大
な影響を与える。ウィンドウを使用したサーバプロセス
の存在確認を行うことによって、VDCが存在していな
い場合にクライアントアプリケーションからサーバアプ
リケーションにデータを送信せず、印刷パフォーマンス
に影響を与えることを防ぐことが可能になる。S1−5
において、ウィンドウが存在しない場合、S1−10に
進み関数の戻り値をFALSEに設定する。ウィンドウ
が存在する場合、fAliveフラグをTRUEに再設
定する。S1−7において、クライアントが呼び出した
APIの引数をVDCプロセスに送信できるようにパッ
クするマーシャリング処理を行う。S1−8において、
スタブにマーシャリングしたデータを送信する。S1−
9において、関数の戻り値をTRUEに設定する。S1
−11において、プロキシ内の処理を抜けるためにS1
−9もしくはS1−10で設定した戻り値とともにAP
Iコールをクライアントに戻す。In S1-1 of FIG. 7, the language monitor or Ne of the spooler process that is the client is used.
The tSpot GUI makes an API call to the proxy. In S1-2, the fAlive flag indicating whether or not the VDC that is the server exists is confirmed.
If the fAlive flag is FALSE in S1-3, the process returns to S1-10 to set the return value of the function to FALSE. If the fAlive flag is TRUE, S1
The process proceeds to step -4 to confirm the existence of the window owned by the server VDC. Since the OS is inquired to confirm the existence of the window, interprocess communication with the VDC does not occur. Here, the resource for confirming the existence of the server is not limited to the window as long as it is a shared resource between the client and the server. If the existence of the window is not confirmed, a time-consuming process such as waiting for a response and resending is performed in the communication process between the client and the server. For example, if a timeout value of 5 seconds is set for the VDC response wait and the VDC does not exist due to rebooting, the job information of B1-2 in FIG. 6 is retransmitted, and the print data in the spooler process is Not sent to port monitor for 5 seconds. Therefore, the printing performance is greatly affected. By confirming the existence of the server process using the window, it is possible to prevent the data from being transmitted from the client application to the server application when the VDC does not exist, thereby preventing the print performance from being affected. S1-5
If there is no window in step S1-10, the return value of the function is set to FALSE. If the window exists, reset the fAlive flag to TRUE. In S1-7, a marshalling process for packing the argument of the API called by the client so as to be transmitted to the VDC process is performed. In S1-8,
Send the marshalled data to the stub. S1-
At 9, the return value of the function is set to TRUE. S1
At -11, S1 to exit the processing in the proxy
-9 or AP with the return value set in S1-10
Returns I call to client.
【0026】図8において、VDCの存在確認を一定間
隔で行う場合の動作について説明する。S2−1におい
て、クライアントであるスプーラプロセスのランゲージ
モニタもしくはNetSpot GUIがプロキシに対
してAPIコールを行う。S2−2において、サーバで
あるVDCが存在しているかどうかを示すfAlive
フラグを確認する。S2−3において、fAliveフ
ラグがFALSEの場合、S2−12に進み、関数の戻
り値をFALSEに設定する。fAliveフラグがT
RUEの場合、S2−4に進みfAliveの更新時間
が存在確認範囲時間内かどうか確認する。存在確認範囲
時間内の場合、S2−9に進む。存在確認範囲時間を超
えている場合、S2−6に進みサーバであるVDCが所
有しているウィンドウの存在を確認する。ウィンドウの
存在を確認するにはOSに問い合わせを行うため、VD
Cとのプロセス間通信は発生しない。ここで、サーバの
存在を確認するリソースはクライアントとサーバ間の共
有リソースであればよくウィンドウに限るものではな
い。S2−7において、ウィンドウが存在しない場合、
S2−12に進み関数の戻り値をFALSEに設定す
る。ウィンドウが存在する場合、fAliveフラグを
TRUEに再設定するとともに、fAliveの更新時
間をアップデートする。S2−9において、クライアン
トが呼び出したAPIの引数をVDCプロセスに送信で
きるようにパックするマーシャリング処理を行う。S2
−10において、スタブにマーシャリングしたデータを
送信する。S2−11において、関数の戻り値をTRU
Eに設定する。S2−13において、プロキシ内の処理
を抜けるためにS2−11もしくはS2−12で設定し
た戻り値とともにAPIコールをクライアントに戻す。In FIG. 8, the operation in the case of confirming the existence of VDC at regular intervals will be described. In S2-1, the language monitor of the spooler process or the NetSpot GUI, which is the client, makes an API call to the proxy. In S2-2, fAlive indicating whether or not the VDC that is the server exists
Check the flag. If the fAlive flag is FALSE in S2-3, the process returns to S2-12 to set the return value of the function to FALSE. fAlive flag is T
In the case of RUE, the process proceeds to S2-4, and it is confirmed whether the update time of fAlive is within the existence confirmation range time. If it is within the existence confirmation range time, the process proceeds to S2-9. If it exceeds the existence confirmation range time, the flow advances to S2-6 to confirm the existence of the window owned by the VDC which is the server. In order to check the existence of the window, the OS is inquired.
No interprocess communication with C occurs. Here, the resource for confirming the existence of the server is not limited to the window as long as it is a shared resource between the client and the server. In S2-7, if there is no window,
Proceed to S2-12, and set the return value of the function to FALSE. If the window exists, the fAlive flag is reset to TRUE and the update time of fAlive is updated. In S2-9, a marshalling process for packing the API argument called by the client so that it can be transmitted to the VDC process is performed. S2
At -10, the marshalled data is sent to the stub. At S2-11, the return value of the function is TRU
Set to E. In S2-13, the API call is returned to the client together with the return value set in S2-11 or S2-12 in order to exit the process in the proxy.
【0027】図9において、サーバプロセスであるVD
Cの動作について説明する。S3−1において、ウィン
ドウを作成する。本ウィンドウは、クライアントがサー
バの存在を確認するためにクライアントが認識可能な名
前をつけて作成される。ここで、サーバの存在を確認す
るリソースはクライアントとサーバ間の共有リソースで
あればよくウィンドウに限るものではない。S3−2に
おいて、クライアントから送信されるデータの受信待ち
に入る。In FIG. 9, VD which is a server process
The operation of C will be described. In S3-1, a window is created. This window is created with a name that the client can recognize so that the client can confirm the existence of the server. Here, the resource for confirming the existence of the server is not limited to the window as long as it is a shared resource between the client and the server. In S3-2, the system waits for the data transmitted from the client.
【0028】[0028]
【発明の効果】以上説明したように、本発明のネットワ
ークデバイス制御装置および方法によれば、ネットワー
ク管理ソフトウェアのクライアントアプリケーションが
サーバアプリケーションにデータを送信するとき、サー
バアプリケーションのクラッシュもしくはサーバアプリ
ケーションの再起動中等の理由でサーバアプリケーショ
ンと通信できない場合、サーバアプリケーションの所有
する共有リソースの存在を確認することによりサーバア
プリケーションの生存確認を迅速に行うことができると
いう効果がある。As described above, according to the network device control apparatus and method of the present invention, when the client application of the network management software sends data to the server application, the server application crashes or the server application is restarted. When communication with the server application cannot be performed due to a reason such as middle, there is an effect that the existence of the shared resource owned by the server application can be confirmed to quickly confirm the existence of the server application.
【図1】本発明のネットワーク管理装置。FIG. 1 is a network management device of the present invention.
【図2】従来のネットワーク管理装置。FIG. 2 is a conventional network management device.
【図3】VDCとNetSpot GUIの関係図。FIG. 3 is a relationship diagram between VDC and NetSpot GUI.
【図4】NetSpot GUI(状態ページ)。FIG. 4 NetSpot GUI (status page).
【図5】NetSpot GUI (ジョブページ)。FIG. 5: NetSpot GUI (Job page).
【図6】ジョブ情報の流れ。FIG. 6 is a flow of job information.
【図7】クライアント側の動作:毎回サーバの存在確認
を行う場合。[FIG. 7] Operation on the client side: When the existence of the server is confirmed every time.
【図8】クライアント側の動作:サーバ存在確認時間を
併用する場合。[FIG. 8] Operation on the client side: When the server existence confirmation time is also used.
【図9】サーバ側の動作。FIG. 9 is an operation on the server side.
100 ローカルエリアネットワーク(LAN)
101 ネットワークボード(NB)
101a 印刷回路ボード
101b フェースプレート
102 開放型アーキテクチャを持つプリンター
102a シリアルポート
102b パラレルポート
103 LAN100に接続されているパーソナルコン
ピュータ(PC)
104 LAN100に接続されているパーソナルコン
ピュータ(PC)
105 PC104に接続されているプリンター
106 LAN100に接続されているファイルサーバ
ー
107 LAN100に含まれるネットワークディスク
108 LAN100に含まれるプリントサーバー
109a プリントサーバー108に接続されたプリン
ター
109b プリントサーバー108に接続されたプリン
ター
110 ローカルエリアネットワーク(LAN)
111 LAN110に接続されているパーソナルコン
ピュータ(PC)
112 LAN110に接続されているパーソナルコン
ピュータ(PC)
113 LAN110に接続されているファイルサーバ
ー
114 LAN110に含まれるネットワークディスク
115 LAN110に含まれるプリントサーバー
116 プリントサーバー110に接続されたプリンタ
ー
117 プリントサーバー110に接続されたプリンタ
ー
120 ローカルエリアネットワーク(LAN)
121 LAN100に接続されているパーソナルコン
ピュータ(PC)
122 LAN120に接続されているパーソナルコン
ピュータ(PC)
130 変調/復調(MODEM)/トランスポンダー
140 バックボーン
150 プリンターインターフェースカード
151 マイクロプロセッサー
160 プリンターエンジン
170 コネクタ
200 ネットワーク管理ソフトウェアが稼動するPC
201 FD212より供給されるネットワーク管理プ
ログラムを実行するCPU
202 PC200のROM
203 PC200のRAM
204 PC200のシステムバス
205 PC200のキーボードコントローラ(KB
C)
206 PC200のCRTコントローラ(CRTC)
207 PC200のディスクコントローラ(DKC)
208 PC200のネットワークインタフェースカー
ド(NIC)
209 PC200のキーボード(KB)
210 PC200のCRTディスプレイ(CRT)
211 PC200のハードディスク(HD)
212 フロッピーディスクドライブ(FD)100 Local Area Network (LAN) 101 Network Board (NB) 101a Printed Circuit Board 101b Faceplate 102 Printer with Open Architecture 102a Serial Port 102b Parallel Port 103 Personal Computer (PC) 104 Connected to LAN100 104 Connected to LAN100 Personal computer (PC) 105 Printer 104 connected to PC 104 File server 107 connected to LAN 100 Network disk 108 included in LAN 100 Print server 109a included in LAN 100 Printer 109b connected to print server 108 Print server Printer 110 connected to 108 local area network (LAN) 111 Personal computer (PC) connected to LAN 110 112 Personal computer (PC) connected to LAN 110 113 File server connected to LAN 110 114 Network disk 115 included in LAN 110 Print server included in LAN 110 116 Printer 117 Connected to Print Server 110 Printer 120 Connected to Print Server 110 Local Area Network (LAN) 121 Personal Computer (PC) Connected to LAN 100 122 Personal Computer (PC) Connected to LAN 120 Modulation / Demodulation (MODEM) / Transponder 140 Backbone 150 Printer interface car 151 microprocessor 160 printer engine 170 connector 200 network management software keyboard controller (KB system bus 205 PC 200 of RAM 204 PC 200 of ROM 203 PC 200 of CPU 202 PC 200 to execute a network management program supplied from the PC 201 FD 212 running
C) 206 CRT controller (CRTC) of PC200 207 Disk controller (DKC) of PC200 208 Network interface card (NIC) of PC200 209 Keyboard (KB) of PC200 210 CRT display (CRT) 211 of PC200 211 Hard disk (HD) of PC200 212 Floppy disk drive (FD)
Claims (6)
・クライアント型のネットワークデバイス制御装置であ
って、 デバイス情報を表示する表示手段と、 デバイスの情報を取得設定するデバイス情報取得設定手
段と、 前記デバイス情報取得設定手段により送受信するデータ
を変換するデータ変換手段と、 クライアントとサーバ間のプロセス間通信を行うプロセ
ス間通信手段と、 共有リソースの作成管理を行う共有リソース管理手段
と、を有することを特徴とするネットワークデバイス制
御装置。1. A server / client type network device control device for communicating with a network device, comprising: display means for displaying device information; device information acquisition / setting means for acquiring and setting device information; and device information acquisition. It is characterized by comprising data conversion means for converting the data transmitted and received by the setting means, interprocess communication means for performing interprocess communication between the client and server, and shared resource management means for managing the creation of shared resources. Network device controller.
記共有リソース管理手段において、 共有リソースとしてウィンドウの作成及び検索を行うこ
とを特徴とするネットワークデバイス制御装置。2. A network device control apparatus, wherein in the shared resource management means of the network device control method, a window is created and searched as a shared resource.
記共有リソース管理手段において、 共有リソースの検索時に検索時刻を併用することを特徴
とするネットワークデバイス制御装置。3. The network device control apparatus, wherein the shared resource management means of the network device control method uses a search time together when searching for a shared resource.
において、 デバイス情報を表示する表示ステップと、 デバイスの情報を取得設定するデバイス情報取得設定ス
テップと、 前記デバイス情報取得設定ステップにより送受信するデ
ータを変換するデータ変換ステップと、 クライアントとサーバ間のプロセス間通信を行うプロセ
ス間通信ステップと、 共有リソースの作成管理を行う共有リソース管理ステッ
プと、を有することを特徴とするネットワークデバイス
制御装置。4. In a computer-readable storage medium, a display step of displaying device information, a device information acquisition / setting step of acquiring and setting device information, and converting data to be transmitted / received by the device information acquisition / setting step. A network device control apparatus comprising: a data conversion step, an inter-process communication step for performing inter-process communication between a client and a server, and a shared resource management step for performing creation management of shared resources.
記共有リソース管理ステップにおいて、 共有リソースとしてウィンドウの作成及び検索を行うこ
とを特徴とするネットワークデバイス制御装置。5. The network device control apparatus, wherein in the shared resource management step of the network device control method, a window is created and searched as a shared resource.
記共有リソース管理ステップにおいて、 共有リソースの検索時に検索時刻を併用することを特徴
とするネットワークデバイス制御装置。6. The network device control apparatus, wherein in the shared resource management step of the network device control method, a search time is used together when a shared resource is searched.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002018444A JP2003218900A (en) | 2002-01-28 | 2002-01-28 | Network device control apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002018444A JP2003218900A (en) | 2002-01-28 | 2002-01-28 | Network device control apparatus and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2003218900A true JP2003218900A (en) | 2003-07-31 |
Family
ID=27653793
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002018444A Withdrawn JP2003218900A (en) | 2002-01-28 | 2002-01-28 | Network device control apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2003218900A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008504765A (en) * | 2004-06-30 | 2008-02-14 | シーメンス アクチエンゲゼルシヤフト | Method and apparatus for obtaining optical output level of PON |
-
2002
- 2002-01-28 JP JP2002018444A patent/JP2003218900A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008504765A (en) * | 2004-06-30 | 2008-02-14 | シーメンス アクチエンゲゼルシヤフト | Method and apparatus for obtaining optical output level of PON |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7546365B2 (en) | Network device management system and method of controlling same | |
| US8970879B2 (en) | Printing system, printing method, and computer-readable medium for designating and executing printing via the internet | |
| KR101637894B1 (en) | Pull-print system, print job management method, print server, control method therefor and computer-readable medium | |
| US6631407B1 (en) | Device management network system, management server, and computer readable medium | |
| US20120050795A1 (en) | Print job management system and control method thereof, information processing apparatus, and print server | |
| JP2003108448A (en) | Network device management apparatus, management method, and management program | |
| JP2000353141A (en) | Network device management apparatus and method | |
| JP2008146410A (en) | Network management system, information processing apparatus, and information processing apparatus control method | |
| US7468804B2 (en) | Techniques for printer-side network cluster printing | |
| US8676967B2 (en) | Event proxy notification apparatus and method of controlling the same and program | |
| JP6343178B2 (en) | Communication system and control method therefor, first terminal and control method therefor, and program | |
| JP2003218900A (en) | Network device control apparatus and method | |
| JP2003006068A (en) | Network device management apparatus, management method, and management program | |
| JP2007257481A (en) | Printing device | |
| KR20010096738A (en) | Central Control Type Computer Remote Management Method using Network | |
| JP2003015973A (en) | Network device management apparatus, management method, and management program | |
| JP2000200245A (en) | Information use system and information use method | |
| JP3977135B2 (en) | Network device management system and control method thereof | |
| US20010023444A1 (en) | Information processing apparatus, information processing method and information processing program for transmitting data to external apparatus for communication of information on device | |
| JP2001282656A (en) | Network device control apparatus and method | |
| JP7381146B1 (en) | Management system, adapter device, management method and program | |
| JP2003323359A (en) | Network device management system and control method thereof | |
| JP2001043054A (en) | Trouble notification system for printers | |
| JP2006309595A (en) | Network system, information processing apparatus, and communication control method | |
| JP2007295587A (en) | Server apparatus and control method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050405 |