JP2004192433A - Network apparatus, program, and recording medium - Google Patents

Network apparatus, program, and recording medium Download PDF

Info

Publication number
JP2004192433A
JP2004192433A JP2002360969A JP2002360969A JP2004192433A JP 2004192433 A JP2004192433 A JP 2004192433A JP 2002360969 A JP2002360969 A JP 2002360969A JP 2002360969 A JP2002360969 A JP 2002360969A JP 2004192433 A JP2004192433 A JP 2004192433A
Authority
JP
Japan
Prior art keywords
alert message
network device
terminal
network
snmp
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.)
Granted
Application number
JP2002360969A
Other languages
Japanese (ja)
Other versions
JP3989826B2 (en
Inventor
Koji Fujinaga
孝治 藤永
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002360969A priority Critical patent/JP3989826B2/en
Publication of JP2004192433A publication Critical patent/JP2004192433A/en
Application granted granted Critical
Publication of JP3989826B2 publication Critical patent/JP3989826B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network apparatus which has the state easily found from even a simple web browser by a general user without requiring dedicated software for handling SNMP. <P>SOLUTION: The network apparatus is provided with; an SNMP agent 13 which returns an alert message stored by a functional application 14, in response to a query request from a terminal; a web application 12 which converts the query request from the terminal to SNMP to inquire of the SNMP agent 13 and makes the returned alert message into an HTML text; and a web server 11 which receives the query request for the alert message of the network apparatus 10 from the terminal 20 by HTTP and delivers the request to the web application 12 and replies to the terminal 20 with the returned HTML text. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワークに接続可能なネットワーク機器の状態等に関する情報を取得するネットワーク機器、プログラムおよび記録媒体に関する。
【0002】
【従来の技術】
近年の通信技術、コンピュータ技術の高度化に伴い、コンピュータを用いた各種ネットワークが構築されており、従来は単独でのみ使用されていたプリンタ、ファクシミリ装置、あるいはディジタル複写機などの機能を備えたディジタル複合機やそれら装置の単能機もネットワークを介して複数のユーザに共用されるようになっている。以下、このようにネットワークに接続可能な装置をネットワーク機器という。
【0003】
このネットワーク機器は、ネットワークを介して接続したコンピュータからの要求によって、ネットワーク管理プロトコルSNMP(Simple Network Management Protocol)で自機器の状態や仕様を返信する機能を備えている。
このためにネットワーク機器は、他のネットワーク機器を含めて管理する管理装置からの要求にしたがってMIB(Management Information Base)に含まれる情報をその管理装置へ報告するSNMPエージェントを備えている。
一方、管理装置の方には、SNMPエージェントと通信して、ネットワーク機器にあるMIBに対して管理情報の収集・変更要求を行うSNMPマネージャを備えている。
【0004】
例えば、管理装置からネットワーク機器の状態等を要求するときは、SNMPマネージャからSNMPによってネットワーク機器のSNMPエージェントへ要求を送る。この要求としては、例えば、プリンタに対する給排紙、トナー等の状態等の問い合わせが考えられる。SNMPエージェントは、受けた要求からMIBを探して要求された情報をSNMPマネージャへ返信し、管理装置はこの情報を表示する。
【0005】
また、最近のSNMPマネージャには、GUI(Graphical User Interface)などを利用してネットワーク機器やネットワークの状態をわかりやすく表示することができるようになっている。
例えば、ネットワーク機器自身にhttpサーバを備えて、インターネットやイントラネットを通して、ユーザがWebブラウザを用いてネットワーク機器にアクセスし、その機器の状態を監視したり、管理することができる。
【0006】
特許文献1の「ネットワークプリンタの監視方法および装置」では、ネットワークプリンタで発生するエラーをSNMPによって取り込んでHTMLコンテンツへ変換し、httpによってプッシュ型の情報として、Webブラウザを備えた端末に出力する管理サーバをネットワーク上に設けている。
【0007】
これにより、ネットワークに接続された複数の端末が互いに異なる種類のOSの管理下でも、ネットワークプリンタに関する状態を遠隔的に監視できるようにし、しかも、OSの種類ごとに専用の監視用ソフトウェアを必要とせずに低コストで実現することができる。
【0008】
しかし、特許文献1の技術では、ネットワークプリンタのフイルム切れ、用紙切れ、トナー切れ等の消耗品切れの有無、出力進捗状況、および作動の正常・異常の別等や、ネットワークプリンタが出力可能なフイルムの種類(フイルムサイズやフイルムのベース色)等に関する情報をネットワークプリンタの方から端末側へプッシュ型の情報として監視用端末へ送付されるだけの専用システムである。
したがって、一般のユーザ端末からネットワークプリンタの状態を知ることはできないし、新たなネットワークプリンタが設置されるたびに、監視サーバの改変が必要となり、このための開発効率が悪くなる。
【0009】
また、特許文献2の「ネットワーク管理装置、ネットワーク機器および記憶媒体」では、ネットワーク機器から自機器の動作状態を示した管理用HTMLファイルを取得してその内容をWebブラウザでディスプレイに表示することで、ユーザによるネットワーク機器の状態管理を可能としている。
さらに、予めユーザの端末へネットワーク機器のTrapを監視するTrap監視ソフトをWebブラウザのプラグインとしてセットアップしておき、ネットワーク機器からのTrapをこのプラグインによって受信して、ネットワーク機器における所定の事象の発生を即座に表示に反映させることができる。
【0010】
しかし、特許文献2の技術では、このプラグインはネットワーク機器を管理するための管理者用として用いるものであり、予めセットアップしておくことが必要となる。
また、複数のネットワーク機器を1台の端末から管理しようとすると、それらの機器に対応するプラグインをすべてセットアップしておくようにしなければならない。
【0011】
また、特許文献3の「ネットワーク周辺機器と通信する方法及び装置」では、ネットワーク周辺機器にSNMPエージェントおよびhttpサーバを有し、端末のWebブラウザからこのネットワーク周辺機器の状態を問い合わせると、Java(登録商標)アプレットとして作成されたSNMPマネージャを含むHTML文書が端末へ転送される。端末は、この転送されたHTML文書に埋め込まれたアプレットを実行することにより機器のSNMPエージェントから機器の状態を取得して、Webブラウザ上に表示させるようにしている。
【0012】
しかし、Java(登録商標)アプレットを実行できないようなWebブラウザも存在しており、このようなブラウザからはこの方式ではネットワーク周辺機器の状態を見ることはできない。
【0013】
【特許文献1】
特開平11−345106号公報
【特許文献2】
特開2001−282658号公報
【特許文献3】
特開平10−164115号公報
【0014】
【発明が解決しようとする課題】
本発明は、上述のような実情を考慮してなされたものであって、SNMPを扱う専用のソフトを必要とせず、Java(登録商標)アプレットを実行できないような簡易なWebブラウザからでも容易に一般のユーザがネットワーク機器の状態を知ることができるネットワーク機器、プログラムおよび記録媒体を提供することを目的とする。
【0015】
【課題を解決するための手段】
上述の課題を解決するために、本発明の請求項1は、ネットワーク接続された端末からの要求により、SNMPによるアラートメッセージを応答可能なネットワーク機器において、前記アラートメッセージを記憶するアラートメッセージ記憶部と、問い合わせ要求されたアラートメッセージを前記アラートメッセージ情報記憶部から取得して返信するSNMPエージェントと、前記端末からの問い合わせ要求をSNMPに変換して前記SNMPエージェントに問い合わせ、この返信されたアラートメッセージをHTML文書化するWebアプリケーションと、前記ネットワーク機器のアラートメッセージの問い合わせ要求を前記端末からhttpによって受信し、その要求を前記Webアプリケーションへ渡して返信されたHTML文書を前記端末へ応答するWebサーバとを備えることを特徴とする。
【0016】
また、本発明の請求項2は、ネットワーク接続された端末からの要求により、SNMPによるアラートメッセージを応答可能なネットワーク機器において、前記アラートメッセージを記憶するアラートメッセージ記憶部と、前記端末から問い合わせ要求されたアラートメッセージを前記アラートメッセージ情報記憶部から取得し、このアラートメッセージをHTML文書化するWebアプリケーションと、前記ネットワーク機器のアラートメッセージの問い合わせ要求を前記端末からhttpによって受信し、その要求を前記Webアプリケーションへ渡して返信されたHTML文書を前記端末へ応答するWebサーバとを備えることを特徴とする。
【0017】
また、本発明の請求項3は、請求項2に記載のネットワーク機器において、前記ネットワーク機器のアラートメッセージに対して識別子を予め付しておき、前記アラートメッセージ記憶部には、メッセージの代わりに識別子を記憶させ、前記Webアプリケーションでは、取得した識別子をメッセージに置き換えてからHTML文書を生成することを特徴とする。
また、本発明の請求項4は、コンピュータに、請求項1、2または3に記載のネットワーク機器の機能を実行させるためのプログラムである。
また、本発明の請求項5は、請求項4に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。
【0018】
したがって、今までSNMP専用ソフトを用いないと表示できなかったネットワーク機器のアラートメッセージを、一般ユーザの端末上のWebブラウザによって容易に表示できるようになった。
また、ネットワーク機器にすでに存在するSNMPエージェントを利用することによって、アラートメッセージを問い合わせるインタフェースを改めて実装しなくてよいので、実装サイズが小さくなり組み込み型の装置に有利である。
【0019】
また、ネットワーク機器にすでに存在するSNMPエージェントのアラートメッセージ取得部分のインタフェースを使用してWebアプリケーションを開発すれば、アラートメッセージ取得のソフトを容易に開発することができる。
【0020】
さらに、アラートメッセージを識別記号として予め登録しておくことにより、1台のネットワーク機器に複数の機能を備えている場合、それぞれに重複したメッセージを設けることがなくなり、メモリ容量の限られる組み込み型の装置には有利となる。
【0021】
【発明の実施の形態】
以下、図面を参照して本発明のネットワーク機器の好適な実施形態を説明する。
<実施形態1>
図1は、本発明のネットワーク機器の利用形態および内部構成を説明するためのブロック図であり、同図において、ネットワーク機器10および端末20は、ネットワーク30を介して共に任意台数が接続されている。
さらに、ネットワーク機器10は、Webサーバ11、Webアプリケーション12、SNMPエージェント13、複数の機能アプリケーション14およびこれらの機能アプリケーション14に対応したアラートメッセージ記憶部15を少なくとも備えている。
【0022】
ここで、ネットワーク機器10は、複数のアプリケーション機能を実施する複写機、ファクシミリ装置、プリンタ装置、スキャナ装置や複合機、コンピュータ、冷蔵庫等のネットワークに接続可能な装置である。
ネットワーク機器の備えている機能アプリケーションとは、例えば、1台の複合機に備えられた、プリンタ機能、スキャナ機能、複写機能やファクシミリ機能のことであり、本実施形態1では複合機を対象として説明する。
【0023】
また、端末20は、Webブラウザ21を予めインストール済みであるコンピュータやPDA(personal digital assistant)等であり、ネットワーク30を介して接続したネットワーク機器10を利用するために、そのネットワーク機器10の状態に関する情報、特に、アラートメッセージ(用紙なし、トナーなし、カバーオープン等)をそのWebブラウザ21に表示させる。本実施形態1では、端末としてパーソナルコンピュータを用いるものとする。
【0024】
ネットワーク30は、ネットワーク機器10と端末20とを結合するための伝送路であって、一般には、ケーブルで実現され、通信プロトコルにはTCP/IP(transmission control protocol/internet protocol)が使われる。但し、伝送路としてはケーブルだけではなく、それらの間の通信プロトコルが一致するものであれば無線、有線のいずれでもよく、例えば、LAN(Local Area Network)、WAN(Wide Area Network)、インターネットなどを用いることができる。
【0025】
このような構成において、ネットワーク機器10(複合機)の状態を調べる操作方法について説明する。
ユーザは、ネットワーク30に接続した操作対象となるネットワーク機器10のURL(Uniform Resource Locators)をディレクトリシステム等により調べ、端末20のWebブラウザ21を用いてそのネットワーク機器10へアクセスする。
端末20からアクセスされたネットワーク機器10は、自機器の状態を表示したトップページを返信する(図2参照)。
返信されたトップページをWebブラウザ21によって表示し、さらにユーザの知りたい機能アプリケーションに関する状態をトップページのメニューから選択して、その要求に対する返信をネットワーク機器10から得ることによって、さらに詳細な状態を知ることができる。
【0026】
以下、図1を参照して、ネットワーク機器10の構成および動作についてさらに詳細に説明する。
機能アプリケーション14は、自機能が使用するネットワーク機器10の資源に関する警告(アラート)状態(例えば、用紙の状態、トナーの状態、カバーの状態、用紙送りの状態等)を監視し、そのアラートに対するメッセージを機能ごとに設けられたアラートメッセージ記憶部15に記憶する。
このアラートメッセージ記憶部15は、図3に示したように、アラートメッセージをスタック形式で保持している。
また、機能アプリケーション14は、アラートを監視していて状態が変わると、変更前に記憶されていたメッセージをクリアし、新しい状態をアラートメッセージ記憶部15の最後にスタックして更新する。
【0027】
Webサーバ11は、端末20で動作しているWebブラウザ21からのURLとパラメータを通信プロトコルhttp(hypertext transfer protocol)によって受信し、URLに対応するWebアプリケーション12を呼び出す。
また、Webアプリケーション12から渡されるアラートメッセージに関するHTML文書を要求のあった端末20へ返信する。
このWebサーバ11には、例えば、apacheのようなHTTPサーバを利用することができる。
【0028】
SNMPエージェント13は、Webアプリケーション12から要求のあった機能アプリケーションに対応するアラートメッセージ記憶部15から指定されたインデックス値以降にスタックされているアラートメッセージを取り出して、そのアラートメッセージとインデックス値をWebアプリケーション12へ返信する。
このとき指定されたインデックス値以降にアラートメッセージがスタックされていない場合には、終了のメッセージを返信する。
【0029】
Webアプリケーション12は、ユーザの端末20から指定されたネットワーク機器10自身の状態またはネットワーク機器10の備えている機能アプリケーションの状態、さらには機能アプリケーションの中の部品(例えば、機能アプリケーションがプリンタ機能の場合、用紙、トレーやトナーという部品)の問い合わせを受信し、この問い合わせをSNMPに変換してSNMPエージェント13へ送信する。
SNMPエージェント13から返信されたアラートメッセージを重複しないようにして、すべてのメッセージを取得してからHTML文書へ変換して、Webサーバ11へ送信する。
【0030】
ネットワーク機器10自身の状態を問い合わせる場合には、機器自身の備えているすべての機能アプリケーションへの問い合わせに展開してSNMPエージェント13へ問い合わせる。
SNMPエージェント13への問い合わせは、どの状態を要求しているかを示すためにアラートディスクリプションを使用する。このアラートディスクリプションは、機能アプリケーションやその部品等に対して与えられたMIBのオブジェクトIDである。
図4のフローチャートを基に、ネットワーク機器10自身の状態を問い合わせる場合のWebアプリケーション12とSNMPエージェント13の動作を説明する。
【0031】
Webアプリケーション12は、複数ある機能アプリケーションのうちの1つに対して、アラートディスクリプションへ変換する(ステップS1)。
次に、このアラートディスクリプションとアラートメッセージ記憶部15におけるインデックス値とを指定してSNMPによりSNMPエージェント13へアラートメッセージを問い合わせる(ステップS2)。
このインデックス値は、問い合わせが最初の時にはゼロとし、2回目以降は前回のアラートメッセージの格納されていたインデックス値とする。
【0032】
SNMPエージェント13は、指定されたアラートディスクリプションから機能アプリケーションを特定し、その機能に対応するアラートメッセージ記憶部15から指定されたインデックス値以降にスタックされているアラートメッセージを取り出す(ステップS3)。
次に、アラートメッセージがスタックされていなかった場合には(ステップS4のYES)、アラートメッセージがないことを示す終了メッセージ、例えば、指定されたアラートディスクリプション以外のアラートディスクリプションを生成して、Webアプリケーション12へ返信する(ステップS5)。
一方、アラートメッセージが取り出せた場合には(ステップS4のNO)、取り出したアラートメッセージとそのメッセージのあったインデックス値をWebアプリケーション12へ返信する(ステップS6)。
【0033】
Webアプリケーション12は、SNMPエージェント13からの返信を受信する(ステップS7)。
この受信したメッセージが終了メッセージでない場合には(ステップS8のNO)、受信したアラートメッセージを重複しないようにして保存し(ステップS9)、受信したアラートメッセージのインデックス値から後にスタックされているアラートメッセージを問い合わせるためにステップS2へ戻る。
【0034】
他方、メッセージがスタックされていなかった場合には(ステップS8のYES)、次の機能アプリケーションに対する問い合わせをするためにステップS1へ戻る(ステップS10のNO)。このときすべての機能アプリケーションに対する問い合わせを終わっていた場合には(ステップS10のYES)、先に保存していたアラートメッセージからHTML文書を作成して、Webサーバ11へ送信する(ステップS11)。
【0035】
<実施形態2>
実施形態1では、すでにネットワーク機器10に用意されているSNMPエージェントを利用することによって機器の状態を問い合わせていたが、本実施形態2では、SNMPエージェントを介さないで、直接アラートメッセージを得るようにした。
【0036】
図5は、本実施形態2におけるネットワーク機器10の利用形態および内部構成を説明するためのブロック図である。上述した実施形態1の図1と同一部分については、同一符号を付してその相違点だけを説明する。
Webアプリケーション12では、実施形態1におけるSNMPエージェント13がアラートメッセージをアラートメッセージ記憶部15から取り出す部分と同じ機能を備え、アラートメッセージ記憶部15からアラートメッセージを直接取り出すようにした。
【0037】
このアラートメッセージ記憶部15からアラートメッセージを取り出す部分を動的リンクライブラリとし、SNMPエージェントとWebアプリケーションとで動的にリンクして実行するように構成しても良い。この場合には、メモリ容量を削減できるが、動的リンクを行うため実行時間が多少増加してしまう。
【0038】
<実施形態2の変形例>
上述の実施形態2では、アラートメッセージ記憶部15は、文字列としてのメッセージがスタックされていた。
本変形例では、これらのアラートメッセージをコード化してあらかじめアラートメッセージテーブルを作成しておく。
このアラートメッセージテーブルは、メッセージを識別する識別子(ID)とそれに対応する文字列のアラートメッセージからなっており、ネットワーク機器の監視用の専用ソフトおよび本変形例で用いるものである。
【0039】
本変形例における機能アプリケーション14は、メッセージの代わりに識別子をアラートメッセージ記憶部15へ登録する。
Webアプリケーション12は、メッセージの代わりにアラートメッセージ記憶部15から識別子(ID)を取り出す。
Webアプリケーション12は、アラートメッセージテーブルを参照して、この識別子を文字列のメッセージへ置き換えて、HTML文書化する。
これにより、すでに存在するSNMPエージェントや機能アプリケーションにおける重複した文字列を識別子で置き換えることができるのでメモリ容量の限られる組み込み型の装置には有利となる。
【0040】
<実施形態3>
本発明は、上述した実施形態のみに限定されたものではない。上述した実施形態のネットワーク機器を構成する各機能をそれぞれプログラム化し、予めROMの記録媒体に書き込んでおき、ネットワーク機器にこのROMを装着して、これらのプログラムをマイクロプロセッサで実行することによって、本発明の目的が達成されることは言うまでもない。
この場合、記録媒体から読み出されて実行された状態が上述した実施形態の機能を実現することになり、そのプログラムおよびそのプログラムを記録した記録媒体も本発明を構成することになる。
【0041】
なお、このような機能を実現するプログラムは、半導体媒体(例えば、ROM、不揮発性メモリ等)、光媒体(例えば、DVD、MO、MD、CD等)、磁気媒体(例えば、磁気テープ、フレキシブルディスク等)等のいずれの形態の記録媒体で提供されてもよい。
あるいは、インターネット等の通信網を介して記憶装置に格納されたプログラムをサーバコンピュータから直接供給を受けるようにしてもよい。この場合、このサーバコンピュータの記憶装置も本発明の記録媒体に含まれる。
【0042】
このような記録媒体で提供された場合は、その記録媒体からプログラムを読み取って内部記憶装置または外部記憶装置にインストールし、そのインストールされたプログラムをマイクロプロセッサが実行することによって上述した実施形態の機能が実現される。または、記録媒体に記録されたプログラムを直接実行するようにしてもよい。
【0043】
【発明の効果】
以上説明したように本発明によれば、今までSNMP専用ソフトを用いないと表示できなかったネットワーク機器のアラートメッセージを、一般ユーザの端末上のWebブラウザによって容易に表示できるようになった。
また、ネットワーク機器にすでに存在するSNMPエージェントを利用することによって、アラートメッセージを問い合わせるインタフェースを改めて実装しなくてよいので、実装サイズが小さくなり組み込み型の装置に有利である。
【0044】
また、ネットワーク機器にすでに存在するSNMPエージェントのアラートメッセージ取得部分のインタフェースを使用してWebアプリケーションを開発すれば、アラートメッセージ取得のソフトを容易に開発することができる。
【0045】
さらに、アラートメッセージを識別記号として予め登録しておくことにより、1台のネットワーク機器に複数の機能を備えている場合、それぞれに重複したメッセージを設けることがなくなり、メモリ容量の限られる組み込み型の装置には有利となる。
【図面の簡単な説明】
【図1】実施形態1におけるネットワーク機器の利用形態および内部構成を説明するためのブロック図である。
【図2】ネットワーク機器の状態を表示したトップページ例である。
【図3】アラートメッセージ記憶部に保持されるメッセージ例である。
【図4】機器自身の状態を問い合わせる場合のWebアプリケーションとSNMPエージェントの動作を説明するフローチャートである。
【図5】実施形態2におけるネットワーク機器の利用形態および内部構成を説明するためのブロック図である。
【符号の説明】
10…ネットワーク機器、11…Webサーバ、12…Webアプリケーション、13…SNMPエージェント、14…機能アプリケーション、15…アラートメッセージ記憶部、20…端末、21…Webブラウザ、30…ネットワーク。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a network device, a program, and a recording medium for acquiring information on a state of a network device connectable to a network.
[0002]
[Prior art]
In recent years, various networks using computers have been constructed in accordance with the advancement of communication technology and computer technology, and digital networks equipped with functions such as printers, facsimile machines, and digital copiers which were conventionally used only by themselves. Multifunction devices and multifunction devices are also shared by a plurality of users via a network. Hereinafter, a device that can be connected to a network in this manner is referred to as a network device.
[0003]
This network device has a function of returning the status and specifications of the device itself using a network management protocol SNMP (Simple Network Management Protocol) in response to a request from a computer connected via a network.
For this purpose, the network device includes an SNMP agent that reports information included in a MIB (Management Information Base) to the management device in response to a request from the management device that manages the network device including other network devices.
On the other hand, the management device includes an SNMP manager that communicates with the SNMP agent and issues a management information collection / change request to the MIB in the network device.
[0004]
For example, when requesting the status of the network device from the management device, the SNMP manager sends a request to the SNMP agent of the network device by SNMP. This request may be, for example, an inquiry to the printer regarding paper supply / discharge, toner status, and the like. The SNMP agent searches the MIB from the received request and returns the requested information to the SNMP manager, and the management device displays this information.
[0005]
In addition, recent SNMP managers can easily display the status of network devices and networks using a GUI (Graphical User Interface) or the like.
For example, a network device is provided with an http server, and a user can access the network device using a Web browser via the Internet or an intranet, and monitor or manage the state of the device.
[0006]
According to the method and apparatus for monitoring a network printer disclosed in Patent Literature 1, an error generated in a network printer is captured by SNMP, converted to HTML content, and output as push-type information to a terminal equipped with a Web browser by http. A server is provided on the network.
[0007]
This allows a plurality of terminals connected to the network to remotely monitor the status of the network printer even under the control of different types of OSs, and requires dedicated monitoring software for each type of OS. And can be realized at low cost.
[0008]
However, according to the technique of Patent Document 1, whether the network printer has run out of consumables such as running out of film, paper, running out of toner, etc., the output progress status, whether the operation is normal or abnormal, etc. This is a dedicated system that only sends information on the type (film size and film base color) from the network printer to the terminal as push-type information to the monitoring terminal.
Therefore, the status of the network printer cannot be known from a general user terminal, and each time a new network printer is installed, the monitoring server needs to be modified, which degrades the development efficiency.
[0009]
Further, in the “network management device, network device, and storage medium” of Patent Document 2, by acquiring a management HTML file indicating the operation state of the device from the network device and displaying the content on a display using a Web browser. This allows the user to manage the status of the network devices.
Further, Trap monitoring software for monitoring Trap of the network device is set up in advance as a plug-in of the Web browser to the user terminal, and Trap from the network device is received by this plug-in, and a predetermined event of the network device is detected. The occurrence can be immediately reflected on the display.
[0010]
However, in the technique of Patent Document 2, this plug-in is used for an administrator for managing network devices, and needs to be set up in advance.
Also, when managing a plurality of network devices from one terminal, all plug-ins corresponding to those devices must be set up.
[0011]
Further, in “Method and Apparatus for Communicating with Network Peripheral Device” in Patent Document 3, a network peripheral device has an SNMP agent and an http server, and when a status of the network peripheral device is inquired from a Web browser of a terminal, Java (register An HTML document including an SNMP manager created as a (Trademark) applet is transferred to the terminal. The terminal acquires the state of the device from the SNMP agent of the device by executing the applet embedded in the transferred HTML document, and displays it on the Web browser.
[0012]
However, there are also Web browsers that cannot execute Java (registered trademark) applets, and it is not possible to see the state of the network peripheral device from such a browser by this method.
[0013]
[Patent Document 1]
JP-A-11-345106 [Patent Document 2]
JP 2001-282658 A [Patent Document 3]
JP-A-10-164115
[Problems to be solved by the invention]
The present invention has been made in consideration of the above-described situation, and does not require dedicated software for handling SNMP, and can be easily executed from a simple Web browser that cannot execute a Java (registered trademark) applet. An object of the present invention is to provide a network device, a program, and a recording medium that allow a general user to know the status of the network device.
[0015]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, a first aspect of the present invention provides a network device capable of responding to an SNMP alert message in response to a request from a network-connected terminal, wherein the alert message storage unit stores the alert message. An SNMP agent that obtains an inquiry-requested alert message from the alert message information storage unit and returns it; and converts an inquiry request from the terminal into SNMP and inquires the SNMP agent, and sends the returned alert message in HTML. A web application to be documented and an inquiry request for an alert message of the network device are received from the terminal via http, and the request is passed to the web application to return the returned HTML document. Characterized in that it comprises a Web server that responds to the terminal.
[0016]
According to a second aspect of the present invention, in response to a request from a terminal connected to a network, a network device capable of responding to an SNMP alert message, an alert message storage unit that stores the alert message, and an inquiry request from the terminal. A web application for acquiring the alert message from the alert message information storage unit, and converting the alert message into an HTML document, and an inquiry request for an alert message of the network device received from the terminal via http, and receiving the request from the terminal. And a Web server that responds to the terminal with an HTML document returned by being passed to the terminal.
[0017]
According to a third aspect of the present invention, in the network device according to the second aspect, an identifier is added to an alert message of the network device in advance, and the alert message storage unit stores an identifier instead of a message. Is stored, and the Web application generates an HTML document after replacing the acquired identifier with a message.
A fourth aspect of the present invention is a program for causing a computer to execute the functions of the network device according to the first, second or third aspect.
According to a fifth aspect of the present invention, there is provided a computer-readable recording medium storing the program according to the fourth aspect.
[0018]
Therefore, an alert message of a network device, which could not be displayed unless SNMP dedicated software is used, can be easily displayed by a Web browser on a terminal of a general user.
In addition, by using an SNMP agent that already exists in the network device, an interface for inquiring of an alert message does not need to be mounted again, and the mounting size is reduced, which is advantageous for an embedded device.
[0019]
Also, if a Web application is developed using the interface of the alert message acquisition portion of the SNMP agent already existing in the network device, alert message acquisition software can be easily developed.
[0020]
Further, by registering the alert message as an identification symbol in advance, when one network device has a plurality of functions, duplicate messages are not provided for each of the functions, and the built-in type has a limited memory capacity. The apparatus is advantageous.
[0021]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the network device of the present invention will be described with reference to the drawings.
<First embodiment>
FIG. 1 is a block diagram for explaining a use form and an internal configuration of a network device according to the present invention. In FIG. 1, an arbitrary number of network devices 10 and terminals 20 are connected together via a network 30. .
Further, the network device 10 includes at least a Web server 11, a Web application 12, an SNMP agent 13, a plurality of function applications 14, and an alert message storage unit 15 corresponding to these function applications 14.
[0022]
Here, the network device 10 is a device that can be connected to a network, such as a copier, a facsimile device, a printer device, a scanner device, a multifunction device, a computer, and a refrigerator that performs a plurality of application functions.
The function application provided in the network device is, for example, a printer function, a scanner function, a copying function, or a facsimile function provided in one multifunction peripheral. In the first embodiment, the multifunction peripheral will be described. I do.
[0023]
Further, the terminal 20 is a computer or a PDA (personal digital assistant) or the like in which the Web browser 21 is installed in advance, and uses the network device 10 connected via the network 30 in order to use the state of the network device 10. Information, in particular, an alert message (no paper, no toner, cover open, etc.) is displayed on the Web browser 21. In the first embodiment, a personal computer is used as a terminal.
[0024]
The network 30 is a transmission path for coupling the network device 10 and the terminal 20, and is generally realized by a cable, and uses a TCP / IP (transmission control protocol / internet protocol) as a communication protocol. However, the transmission path is not limited to cables, but may be wireless or wired as long as the communication protocol between them is the same. For example, LAN (Local Area Network), WAN (Wide Area Network), the Internet, etc. Can be used.
[0025]
An operation method for checking the state of the network device 10 (multifunction device) in such a configuration will be described.
The user checks the URL (Uniform Resource Locators) of the network device 10 to be operated connected to the network 30 by using a directory system or the like, and accesses the network device 10 using the Web browser 21 of the terminal 20.
The network device 10 accessed from the terminal 20 returns a top page displaying the status of the own device (see FIG. 2).
The returned top page is displayed by the Web browser 21, and a state relating to the function application that the user wants to know is selected from a menu on the top page, and a reply to the request is obtained from the network device 10, so that a more detailed state is obtained. You can know.
[0026]
Hereinafter, the configuration and operation of the network device 10 will be described in more detail with reference to FIG.
The function application 14 monitors a warning (alert) state (for example, a paper state, a toner state, a cover state, a paper feed state, and the like) regarding resources of the network device 10 used by the function application, and sends a message to the alert. The information is stored in the alert message storage unit 15 provided for each function.
The alert message storage unit 15 holds alert messages in a stack format, as shown in FIG.
When the status changes while monitoring the alert, the functional application 14 clears the message stored before the change and stacks and updates the new status at the end of the alert message storage unit 15.
[0027]
The Web server 11 receives a URL and a parameter from a Web browser 21 operating on the terminal 20 by using a communication protocol http (hypertext transfer protocol), and calls the Web application 12 corresponding to the URL.
Further, it returns an HTML document related to the alert message passed from the Web application 12 to the terminal 20 that has made the request.
As the Web server 11, for example, an HTTP server such as Apache can be used.
[0028]
The SNMP agent 13 extracts an alert message stuck after the designated index value from the alert message storage unit 15 corresponding to the functional application requested by the Web application 12, and compares the alert message and the index value with the Web application. Reply to 12.
At this time, if the alert message is not stacked after the designated index value, the end message is returned.
[0029]
The Web application 12 includes a state of the network device 10 itself specified from the user terminal 20 or a state of the function application provided in the network device 10, and a component in the function application (for example, when the function application is a printer function). , Paper, tray and toner), convert the inquiry into SNMP, and send it to the SNMP agent 13.
The alert message returned from the SNMP agent 13 is not duplicated, all the messages are acquired, converted to an HTML document, and transmitted to the Web server 11.
[0030]
When inquiring about the status of the network device 10 itself, the status is expanded into inquiries to all functional applications of the device itself, and the SNMP agent 13 is inquired.
The inquiry to the SNMP agent 13 uses an alert description to indicate which state is being requested. This alert description is the object ID of the MIB given to the functional application and its components.
The operation of the Web application 12 and the SNMP agent 13 when inquiring about the status of the network device 10 will be described based on the flowchart of FIG.
[0031]
The Web application 12 converts one of a plurality of functional applications into an alert description (Step S1).
Next, the alert message and the index value in the alert message storage unit 15 are designated, and an alert message is inquired to the SNMP agent 13 by SNMP (step S2).
This index value is set to zero when the inquiry is first made, and is set to the index value stored in the previous alert message for the second and subsequent times.
[0032]
The SNMP agent 13 specifies the function application from the specified alert description, and extracts the alert message stacked after the specified index value from the alert message storage unit 15 corresponding to the function application (step S3).
Next, when the alert message is not stacked (YES in step S4), an end message indicating that there is no alert message, for example, an alert description other than the specified alert description is generated, and the Web is generated. A reply is sent to the application 12 (step S5).
On the other hand, when the alert message can be extracted (NO in step S4), the extracted alert message and the index value where the message was found are returned to the Web application 12 (step S6).
[0033]
The Web application 12 receives a reply from the SNMP agent 13 (Step S7).
If the received message is not the end message (NO in step S8), the received alert message is saved without duplication (step S9), and the alert message that is stacked after the index value of the received alert message is stored. Then, the process returns to step S2 to inquire.
[0034]
On the other hand, if the message is not stacked (YES in step S8), the process returns to step S1 to inquire about the next functional application (NO in step S10). At this time, if the inquiry to all the functional applications has been completed (YES in step S10), an HTML document is created from the previously saved alert message and transmitted to the Web server 11 (step S11).
[0035]
<Embodiment 2>
In the first embodiment, the status of the device is inquired by using the SNMP agent already prepared in the network device 10, but in the second embodiment, the alert message is directly obtained without passing through the SNMP agent. did.
[0036]
FIG. 5 is a block diagram for explaining a use mode and an internal configuration of the network device 10 according to the second embodiment. The same parts as those in FIG. 1 of the first embodiment are denoted by the same reference numerals, and only the differences will be described.
The Web application 12 has the same function as that of the SNMP agent 13 according to the first embodiment that retrieves an alert message from the alert message storage unit 15, and retrieves an alert message directly from the alert message storage unit 15.
[0037]
A part for extracting an alert message from the alert message storage unit 15 may be a dynamic link library, and may be configured to be dynamically linked and executed by the SNMP agent and the Web application. In this case, the memory capacity can be reduced, but the execution time slightly increases due to the dynamic link.
[0038]
<Modification of Second Embodiment>
In the second embodiment described above, the message as a character string is stacked in the alert message storage unit 15.
In this modified example, these alert messages are coded and an alert message table is created in advance.
The alert message table includes an identifier (ID) for identifying a message and an alert message of a character string corresponding to the identifier, and is used in dedicated software for monitoring network devices and in the present modified example.
[0039]
The function application 14 in the present modification registers the identifier in the alert message storage unit 15 instead of the message.
The Web application 12 extracts an identifier (ID) from the alert message storage unit 15 instead of the message.
The Web application 12 refers to the alert message table, replaces the identifier with a character string message, and creates an HTML document.
As a result, an overlapping character string in an existing SNMP agent or functional application can be replaced with an identifier, which is advantageous for an embedded device having a limited memory capacity.
[0040]
<Embodiment 3>
The present invention is not limited to only the above-described embodiment. Each function of the network device of the above-described embodiment is programmed and written in advance in a recording medium of a ROM. The ROM is mounted on the network device, and these programs are executed by a microprocessor. It goes without saying that the object of the invention is achieved.
In this case, the state read and executed from the recording medium implements the function of the above-described embodiment, and the program and the recording medium on which the program is recorded also constitute the present invention.
[0041]
Note that programs for realizing such functions include semiconductor media (for example, ROM, non-volatile memory, etc.), optical media (for example, DVD, MO, MD, CD, etc.), magnetic media (for example, magnetic tape, flexible disk, etc.). , Etc.).
Alternatively, a program stored in a storage device may be directly supplied from a server computer via a communication network such as the Internet. In this case, the storage device of the server computer is also included in the recording medium of the present invention.
[0042]
When provided on such a recording medium, the program is read from the recording medium, installed in an internal storage device or an external storage device, and the installed program is executed by a microprocessor, whereby the functions of the above-described embodiment are performed. Is realized. Alternatively, the program recorded on the recording medium may be directly executed.
[0043]
【The invention's effect】
As described above, according to the present invention, an alert message of a network device, which could not be displayed unless SNMP dedicated software is used, can be easily displayed by a Web browser on a terminal of a general user.
In addition, by using an SNMP agent that already exists in the network device, an interface for inquiring of an alert message does not need to be mounted again, and the mounting size is reduced, which is advantageous for an embedded device.
[0044]
Also, if a Web application is developed using the interface of the alert message acquisition portion of the SNMP agent already existing in the network device, alert message acquisition software can be easily developed.
[0045]
Further, by registering the alert message as an identification symbol in advance, when one network device has a plurality of functions, duplicate messages are not provided for each of the functions, and the built-in type has a limited memory capacity. The apparatus is advantageous.
[Brief description of the drawings]
FIG. 1 is a block diagram for describing a usage form and an internal configuration of a network device according to a first embodiment.
FIG. 2 is an example of a top page displaying the status of network devices.
FIG. 3 is an example of a message stored in an alert message storage unit.
FIG. 4 is a flowchart illustrating the operation of a Web application and an SNMP agent when inquiring about the status of the device itself.
FIG. 5 is a block diagram for explaining a usage form and an internal configuration of a network device according to a second embodiment.
[Explanation of symbols]
10 Network device, 11 Web server, 12 Web application, 13 SNMP agent, 14 Functional application, 15 Alert message storage unit, 20 Terminal, 21 Web browser, 30 Network.

Claims (5)

ネットワーク接続された端末からの要求により、SNMPによるアラートメッセージを応答可能なネットワーク機器において、前記アラートメッセージを記憶するアラートメッセージ記憶部と、問い合わせ要求されたアラートメッセージを前記アラートメッセージ情報記憶部から取得して返信するSNMPエージェントと、前記端末からの問い合わせ要求をSNMPに変換して前記SNMPエージェントに問い合わせ、この返信されたアラートメッセージをHTML文書化するWebアプリケーションと、前記ネットワーク機器のアラートメッセージの問い合わせ要求を前記端末からhttpによって受信し、その要求を前記Webアプリケーションへ渡して返信されたHTML文書を前記端末へ応答するWebサーバとを備えることを特徴とするネットワーク機器。In a network device capable of responding to an SNMP alert message in response to a request from a terminal connected to a network, an alert message storage unit that stores the alert message and an inquiry message that is requested by the inquiry are acquired from the alert message information storage unit. An SNMP agent that sends an inquiry request from the terminal, a Web application for converting the inquiry request from the terminal into SNMP and inquiring the SNMP agent, and converting the returned alert message into an HTML document, and an inquiry request for an alert message of the network device. A Web server that receives an HTTP document from the terminal via http, passes the request to the Web application, and responds to the terminal with an HTML document returned. Network devices. ネットワーク接続された端末からの要求により、SNMPによるアラートメッセージを応答可能なネットワーク機器において、前記アラートメッセージを記憶するアラートメッセージ記憶部と、前記端末から問い合わせ要求されたアラートメッセージを前記アラートメッセージ情報記憶部から取得し、このアラートメッセージをHTML文書化するWebアプリケーションと、前記ネットワーク機器のアラートメッセージの問い合わせ要求を前記端末からhttpによって受信し、その要求を前記Webアプリケーションへ渡して返信されたHTML文書を前記端末へ応答するWebサーバとを備えることを特徴とするネットワーク機器。In a network device capable of responding to an SNMP alert message in response to a request from a network-connected terminal, an alert message storage unit that stores the alert message, and an alert message information storage unit that stores an alert message requested by the terminal. And a Web application for acquiring this alert message in an HTML document, and an inquiry request for an alert message of the network device is received from the terminal by HTTP, and the request is passed to the Web application and the returned HTML document is sent to the Web application. A network device comprising: a Web server that responds to a terminal. 請求項2に記載のネットワーク機器において、前記ネットワーク機器のアラートメッセージに対して識別子を予め付しておき、前記アラートメッセージ記憶部には、メッセージの代わりに識別子を記憶させ、前記Webアプリケーションでは、取得した識別子をメッセージに置き換えてからHTML文書を生成することを特徴とするネットワーク機器。3. The network device according to claim 2, wherein an identifier is previously assigned to an alert message of the network device, and the alert message storage unit stores an identifier instead of a message. A network device that generates an HTML document after replacing the identifier with a message. コンピュータに、請求項1、2または3に記載のネットワーク機器の機能を実行させるためのプログラム。A program for causing a computer to execute the functions of the network device according to claim 1. 請求項4に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium on which the program according to claim 4 is recorded.
JP2002360969A 2002-12-12 2002-12-12 Network device, status inquiry method of network device, program, and recording medium Expired - Fee Related JP3989826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002360969A JP3989826B2 (en) 2002-12-12 2002-12-12 Network device, status inquiry method of network device, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002360969A JP3989826B2 (en) 2002-12-12 2002-12-12 Network device, status inquiry method of network device, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2004192433A true JP2004192433A (en) 2004-07-08
JP3989826B2 JP3989826B2 (en) 2007-10-10

Family

ID=32759880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002360969A Expired - Fee Related JP3989826B2 (en) 2002-12-12 2002-12-12 Network device, status inquiry method of network device, program, and recording medium

Country Status (1)

Country Link
JP (1) JP3989826B2 (en)

Also Published As

Publication number Publication date
JP3989826B2 (en) 2007-10-10

Similar Documents

Publication Publication Date Title
US8001270B2 (en) Method and apparatus for discovering a network address
KR100446404B1 (en) A method and apparatus for managing network devices
KR100996645B1 (en) Method and apparatus for enabling synchronizing data in different devices having different capabilities
US8935708B2 (en) Communication system and communication apparatus and control method thereof
JP2004185464A (en) Information processor, program and recording medium
JP2003216368A (en) Service providing system, service providing method, service providing device, its control method, control program and computer readable memory
US20080120394A1 (en) Network apparatus, data provision location providing method, and recording medium
US20050165810A1 (en) Generating and providing device management data via network
Zilles Rationale for the Structure of the Model and Protocol for the Internet Printing Protocol
US20030090716A1 (en) Management information transmission apparatus, apparatus management apparatus, and apparatus management system
JP5537160B2 (en) Event proxy notification device, control method thereof, and program thereof
JP2009032256A (en) Network device for processing soap request
JP5134456B2 (en) Service flow processing apparatus and service flow processing method
US20100220352A1 (en) Image forming apparatus, image forming system, and information processing method
JP2000357138A (en) Device and method for managing network device, and storage medium
JP2009255390A (en) Image forming apparatus, functional cooperation control method, and functional cooperation control program
US20020143936A1 (en) Management device, method and recording medium for managing network device
US8688858B2 (en) Image processing device, device management system, and image processing method
JP3989826B2 (en) Network device, status inquiry method of network device, program, and recording medium
JP2005352890A (en) Service providing system, service providing method and program therefor
JP2006163901A (en) Network device, program, and recording medium
EP1971077A1 (en) System and method for managing image forming apparatuses
JP4964486B2 (en) Management device, managed device, mediation device, remote management system, communication method, and program
JP5272400B2 (en) Method, apparatus and computer program for dynamically adding a new service to an apparatus
JP2010039771A (en) Managing apparatus, equipment-managing system, equipment-managing method, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070620

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070717

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070718

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100727

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110727

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120727

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120727

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130727

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees