JP4159869B2 - Information providing apparatus, information providing method, information providing system, and information providing program - Google Patents

Information providing apparatus, information providing method, information providing system, and information providing program Download PDF

Info

Publication number
JP4159869B2
JP4159869B2 JP2002378257A JP2002378257A JP4159869B2 JP 4159869 B2 JP4159869 B2 JP 4159869B2 JP 2002378257 A JP2002378257 A JP 2002378257A JP 2002378257 A JP2002378257 A JP 2002378257A JP 4159869 B2 JP4159869 B2 JP 4159869B2
Authority
JP
Japan
Prior art keywords
information
request
identification information
request identification
information providing
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.)
Expired - Fee Related
Application number
JP2002378257A
Other languages
Japanese (ja)
Other versions
JP2004213058A (en
Inventor
寛樹 小林
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 JP2002378257A priority Critical patent/JP4159869B2/en
Publication of JP2004213058A publication Critical patent/JP2004213058A/en
Application granted granted Critical
Publication of JP4159869B2 publication Critical patent/JP4159869B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、情報提供装置に関し、特にネットワークを介して接続される端末に情報を提供する情報提供装置、情報提供方法、情報提供システム、及び情報提供プログラムに関する。
【0002】
【従来の技術】
近年の技術発展は目覚しく、多数のクライアントが接続されたWebシステムに代表されるように、様々な情報機器がネットワークに接続された使用されることが一般的になってきており、ネットワークに接続された情報機器に対してPC等の端末装置からも遠隔操作が可能となっている。またWebサーバの機能を搭載した組み込み機器も普及しており、例えば、複写機、プリンタ、FAX等の画像形成装置のステータス情報(ファームウェアのバージョン、ジョブ履歴、機器設定、ジョブ管理情報、蓄積文書管理情報等)を、ネットワークを介してPCのWebブラウザで閲覧することができる。
【0003】
ここで、PCのWebブラウザにおいてWebサーバから送信されたデータを正しく表示できるのは、WebサーバがPCに送信するデータをWebブラウザで表示可能なデータ形式(例えば、HTML形式)で生成するからである。
【0004】
従って、PCが電子メールでの情報の送信を要求するのであれば、Webサーバには、新たなアプリケーション、即ち、電子メールにあわせたデータ形式でデータを生成するアプリケーションを実装する必要がある。LANに接続されている機器に対しては、セキュリティ保持のためファイアフォールが設けられているため、インターネットからHTTP(HyperText Transfer Protocol)によるアクセスが許可されていない場合が多い。かかる場合に電子メールによる通信は特に実益がある。
【0005】
図1は、複数のプロトコルに対応させた場合の従来のWebサーバの機能構成例を示す図である。図1のWebサーバ300は、HTTP用通信手段301、電子メール用通信手段302、Webブラウザ用アプリケーション303、及び電子メール用アプリケーション304等から構成される。
【0006】
HTTP用通信手段301や電子メール用通信手段302は、それぞれ特定のプロトコルによってPC320と通信を行うデーモンプログラムである。即ち、HTTP用通信手段301は、HTTPによってPC320との通信を行い、電子メール用通信手段302は、電子メールによってPC320との通信を行う。
【0007】
Webブラウザ用アプリケーション303は、PC320に提供する情報をWebページで生成するためのアプリケーションである。また、電子メール用アプリケーション304は、PC320に提供するための情報を電子メールで送信可能な形式、例えばテキスト形式で生成するためのアプリケーンである。
【0008】
【発明が解決しようとする課題】
しかしながら、図1のような実装方法では、それぞれのアプリケーションについて同じような実装をしなければならない。即ち、Webブラウザ用アプリケーション303と電子メール用アプリケーション304とにおいて、PC320に提供するための情報の生成又は取得処理はほぼ同じになるはずであって、両者において異なるのはプロトコル又はデータ形式に依存する最終的なデータの生成処理のみである。
【0009】
従って、図1のような実装では開発作業の効率が悪いばかりでなく、Webサーバの記憶容量に対する負担も大きくなるという問題がある。
【0010】
本発明は、上記の点に鑑みてなされたものであって、クライアントからの複数のプロトコルによる要求に対応した情報の提供を効率良く行うことのできる情報提供装置、情報提供方法、情報提供システム、及び情報提供プログラムの提供を目的とする。
【0011】
【課題を解決するための手段】
そこで上記課題を解決するため、本発明は、ネットワークを介して異なるプロトコルにより送信されるそれぞれの要求に応じ、要求された情報を送信する情報提供装置であって、それぞれ異なる内容の情報を取得する複数の情報取得手段と、前記要求に含まれている要求識別情報と前記複数の情報取得手段のいずれか一つとの対応付けを管理する第一の対応付け管理手段と、前記要求の受信に応じ、前記第一の対応付け管理手段において当該要求に含まれている前記要求識別情報に対応付けられている情報取得手段に前記情報を取得させる分配手段と、前記要求識別情報と前記情報の変換規則が定義された形式定義ファイルとの対応付けを管理する第二の対応付け管理手段と、前記第二の対応付け管理手段において前記要求識別情報に対応付けられている前記形式定義ファイルに基づいて前記情報のデータ形式を変換する情報変換手段とを有し、前記情報変換手段は、前記異なるプロトコルの別、及び前記情報取得手段の別なく共通に呼び出され、前記第一の対応付け管理手段には、異なる前記要求識別情報に対して同一の情報取得手段が対応付けられており、前記第二の対応付け管理手段には、それぞれの前記要求識別情報に対して異なる前記形式定義ファイルが対応付けられていることを特徴とする。
このような情報提供装置では、端末から複数の異なるプロトコルによって要求される情報を、情報変換手段がプロトコルに応じたデータに動的に変換することができるため、プロトコル毎に情報変換手段を実装する必要がなく、効率よく情報を提供することができる。
【0012】
また上記課題を解決するため、本発明は、上記情報提供装置における情報提供方法、情報提供装置と端末とを有する情報提供システム、又は前記情報提供方法をコンピュータに実行させるための情報提供プログラムとしてもよい。
【0013】
【発明の実施の形態】
以下、図面に基づいて本発明の実施の形態を説明する。図2は、本発明の実施の形態における画像処理システムの構成例を示す図である。図2の画像処理システム1は、画像形成装置10、端末20a、端末20b、及び端末20c(以下、「端末20」で総称する。)等がLAN(Local Area Network)、イントラネット、又はインターネット等のネットワーク30を介して接続されている。
【0014】
画像形成装置10は、端末20からの要求に応じて文書データの印刷や、ファックス送信などの処理を実行する。また、画像形成装置10は、端末20からステータス情報(例えば、画像形成装置10のホスト名、コピー機能の状態、FAX機能の状態等)の送信要求があった場合は、端末20の要求に応じたデータ形式で画像形成装置10のステータス情報を端末20に送信する。例えば、端末20のユーザがWebブラウザから画像形成装置10のステータス情報を要求した場合は、画像形成装置10は、ステータス情報を格納したHTML(HyperText Markup Language)データを端末20に送信する。また、端末20のユーザが電子メールによって画像形成装置10のステータス情報を要求した場合は、画像形成装置10は、ステータス情報を格納したテキストデータを電子メールで端末20に送信する。なお、本実施の形態において「データ形式」とは、テキストやBITMAP、JPEG等のデータの種類について概念の他、書式、即ち表示した際のレイアウト等、データの内容について概念も含む。従って、同じHTMLデータであっても、記述内容が異なればデータ形式は異なる。
【0015】
次に、画像形成装置10の機能構成例を説明する。図3は、画像形成装置の機能構成例を示す図である。図3において、画像形成装置10は、プロッタエンジン23及びスキャナエンジン24等の個別の画像処理を行うためのハードウェア資源と、エンジン制御ボード22と、OS21と、システム管理サービス16と、ネットワークサービス17と、メモリ管理サービス18と、オペパネ管理サービス19と、エンジン管理サービス20と、コピーアプリ11、ファックスアプリ12、プリンタアプリ13及び情報提供アプリ14等の各種アプリケーションとから構成される。
【0016】
エンジン制御ボード22は、プロッタエンジン23及びスキャナエンジン24等の画像形成装置10の個別機能を制御し、エンジンI/F(インタフェース)を通して、エンジン制御ボード22の機能をOS21等に提供する。
【0017】
OS21は、UNIX(登録商標)等のオペレーティング・システムであり、コピーアプリ11、ファックスアプリ12等、アプリケーションとして実装されている各種ソフトウェアをプロセスとして並列実行する。
【0018】
システム管理サービス16、ネットワークサービス17、メモリ管理サービス18、オペパネ管理サービス19、及びエンジン管理サービス20は、API(Application Programming Interface)を通して、コピーアプリ11等の上位アプリケーションにそれぞれの機能を提供するものである。即ち、システム管理サービス16は、システム管理に関する機能を提供し、ネットワークサービス17は、ネットワーク通信に関する機能を提供する。また、メモリ管理サービス18は、メモリ管理に関する機能を提供し、オペパネ管理サービス19は、画像形成装置10に設置された操作パネル(オペパネ)に関する機能を提供する。更に、エンジン管理サービス20は、エンジン制御ボード22を介してプロッタエンジン23やスキャナエンジン24を制御するための機能を提供する。
【0019】
コピーアプリ11は、コピー用アプリケーションであり、ファックスアプリ12は、ファクシミリ用アプリケーションである。プリンタアプリ13は、ページ記述言語(PDL)、PCL及びポストスクリプト(PS)を有するプリンタ用アプリケーションである。また、情報提供アプリ14は、本発明の特徴が実装されている情報提供プログラムによって実現されるアプリケーションであり、端末20から要求されたステータス情報を含むデータを生成するものである。
【0020】
図4は、ネットワークサービス及び情報提供アプリの機能構成例を示す図である。即ち、図4は、本実施の形態における画像形成装置10の特徴をより明確にするために、図3よりネットワークサービス17と情報提供アプリ14とを抜き出し、それぞれの詳細を表示したものである。
【0021】
図4に示されるように、ネットワークサービス17は、HTTPプロトコル処理モジュール171及び電子メールプロトコル処理モジュール172等をその機能の一部として有する。HTTPプロトコル処理モジュール171は、端末20との通信をHTTP(HyperText Transfer Protocol)によって行うためのデーモンプログラムである。即ち、端末20から画像形成装置10に対するステータス情報の送信要求(以下、「ステータス情報送信要求」という。)等がHTTPによる場合は、HTTPプロトコル処理モジュール171がステータス情報送信要求を受信する。また、HTTPプロトコル処理モジュール171は、応答としてステータス情報等を有するWebページを端末20に送信する。
【0022】
同様に、電子メールプロトコル処理モジュール172は、POP3、SMTP等のプロトコルに従って、電子メールによって端末20との通信を行うためのデーモンプログラムである。即ち、電子メールプロトコル処理モジュール172は、端末20からから電子メールによって送信されたステータス情報送信要求等を受信する。また、電子メールプロトコル処理モジュール172は、応答としてステータス情報等を有する電子メールを端末20に送信する。
【0023】
なお、ネットワークサービス17は、telnet等、その他のプロトコルを処理するためのモジュール(以下、HTTPプロトコル処理モジュール171及び電子メールプロトコル処理モジュールも含めて総称する場合、「プロトコル処理モジュール」という。)も有している。
【0024】
一方、情報提供アプリ14は、分配モジュール143、ステータスページ生成モジュール144、トレイステータスページ生成モジュール145、ステータス取得モジュール146、フォーマット変換モジュール147、及び対応ページ生成モジュールテーブル148等から構成される。
【0025】
分配モジュール143は、プロトコル処理モジュールから呼び出され、端末20から送信された要求に基づいてステータスページ生成モジュール144や、トレイステータスページ生成モジュール145等のページ生成モジュールを呼び分ける。対応ページ生成モジュールテーブル148は、分配モジュール143がページ生成モジュールを呼び分ける際に参照するテーブルである。
【0026】
ステータスページ生成モジュール144は、ステータス取得モジュール146等を呼び出すことにより、最終的にユーザに送信する分(例えば、Webページで送信する場合は、Webページ1ページ分)の画像形成装置10のステータス情報を取得するモジュールである。トレイステータスページ生成モジュール145は、画像形成装置10のトレイの状態情報を取得するモジュールである。これらのページ生成モジュールは、取得した情報の端末20へ送信するためのデータ形式への変換をフォーマット変換147に依頼し、その変換結果のデータを分配モジュール143に出力する。
【0027】
ステータス取得モジュール146は、画像形成装置10のステータス情報を上位アプリケーションに提供する複数の関数から構成されるライブラリである。従って、ステータスページ生成モジュール144は、最終的にユーザに送信する分のステータス情報を取得するために複数の関数を呼び出す必要がある場合は、ステータス取得モジュール146の関数を複数呼び出す。なお、ステータス取得モジュール146は、端末20との通信に用いるプロトコルの別や、端末20に応答として送信するデータのデータ形式の別に全く依存しないで設計することが可能であり、機能ごとにシステム内に唯一存在すればよい。したがって、プロトコルやデータ形式ごとの実装を行う必要はなく、これによって、開発工数の削減や記憶容量等の利用する資源の削減を図ることができる。また、ステータス取得モジュール146に相当するモジュールは、必ずしも画像形成装置10に実装されている必要はなく、Java(登録商標)(登録商用)、RPC(Remote Procedure Call)、又はSOAP(Simple Object Access Protocol)等の技術を利用することにより、ネットワークを介して他のシステム等の情報を取得してもよい。
【0028】
フォーマット変換モジュール147は、ページ生成モジュールから変換を依頼された情報を端末20に対応したデータ形式のデータに変換するモジュールであり、プロトコルの別、及びページ生成手段の別なく共通に呼び出される。従って、フォーマット変換モジュール147は、システム内に唯一存在すればよい。これによって、開発工数の削減や記憶容量等の利用する資源の削減を図ることができる。
【0029】
以下、画像形成装置10の処理手順について説明する。図5は、HTTPによって端末と通信する場合の画像形成装置の処理手順を説明するためのシーケンス図である。
【0030】
ステップS11において、ユーザが端末20のWebブラウザに、画像形成装置10のステータス情報を閲覧するためのWebページ(以下「ステータスページ」という。)のURL「http://xxx/xxx/xxx/status.html」を入力すると、端末20は、画像形成装置10に対してステータスページの送信を要求するHTTPリクエストを送信する。
【0031】
ステップS11に続いてステップS12に進み、画像形成装置10のHTTPプロトコル処理モジュール171は、端末20からのHTTPリクエストを受信し、HTTPリクエストに含まれるステータスページのURL「status.html」を端末20からの要求を識別するための情報(以下、「要求識別情報」という。)として分配モジュール143に通知する。
【0032】
ステップS12に続いてステップS13に進み、画像形成装置10の分配モジュール143は、URL「status.html」に対応するページ生成モジュールを、対応ページ生成モジュールテーブル148から検索し、検索されたページ生成モジュールを呼び出す。
【0033】
図6は、対応ページ生成モジュールテーブルの構成例を示す図である。図6の対応ページ生成モジュールテーブル148は、要求識別情報と、要求識別情報に対応するページ生成モジュールとの対応付けを管理しているテーブルであり、「要求識別情報」と「ページ生成モジュール」とをデータ項目として有する。
【0034】
即ち、分配モジュール143は、要求識別情報として通知されたURL「status.html」をキーとして対応ページ生成モジュールテーブル148を検索し、該当したレコードの「ページ生成モジュール」に登録されているステータスページ生成モジュール144を呼び出す。なお、分配モジュール143は、ステータスページ生成モジュール144を呼び出す際に、URL「status.html」を入力情報としてステータスページ生成モジュール144に引き渡す。
【0035】
各種ページ生成モジュール144の呼び分け処理を分配モジュール143に集約することで、各プロトコル処理モジュールのそれぞれに呼び分け処理を実装する必要がない。また、要求識別情報とページ生成モジュールとの対応づけがプログラムロジックとは独立して対応ページ生成モジュールテーブル148に管理されているため、ページ生成モジュールの追加や削除等の場合は、対応ページ生成モジュールテーブル148を修正するだけでよい。
【0036】
ステップS13に続いてステップS14に進み、ステータスページ生成モジュール144が画像形成装置10のステータス情報を取得すべくステータス取得モジュール146を呼び出すと、その応答としてステータス取得モジュール146は画像形成装置10のステータス情報を返却する(S15)。なお、この時点において、ステータス情報は、ステータスページ生成モジュール144を実装したプログラム言語のデータ型に依存している。例えば、ステータスページ生成モジュール144がC言語で実装されている場合は、ステータス情報は、int型、char型等のデータによって構成されている。以下、プログラム言語に依存した状態のステータス情報を「言語依存ステータス情報データ」という。
【0037】
ステップS15に続いてステップS16に進み、ステータスページ生成モジュール144は、URL「status.html」と、ステータス取得モジュール146から取得した言語依存ステータス情報データとを引数としてフォーマット変換モジュール147を呼び出す。ステップS16に続いてステップS17に進み、フォーマット変換モジュール147は、言語依存テータス情報データを、端末20が要求するデータ形式のデータに変換する。
【0038】
ここで、ステップS17におけるフォーマット変換モジュール147の処理の詳細について説明する。図7は、フォーマット変換モジュールの処理を説明するための図である。本実施の形態におけるフォーマット変換モジュール147は、シリアライザ150、XSLT(XSL Transformations)プロセッサ151、及び対応XSLテーブル152等を利用してページ生成モジュールから渡されたデータを変換する。
【0039】
シリアライザ150は、プログラム言語に依存したデータをXML(eXtensible Markup Language)形式に変換するものである。XSLTプロセッサ151は、XML形式のデータを、指定されたXSLファイル153の定義に従った形式のデータに変換するものである。対応XSLテーブル152は、要求識別情報と、その要求識別情報に対応したXSLファイルとの対応付けを管理しているテーブルである。
【0040】
図7において、フォーマット変換モジュール147は、言語依存ステータス情報データを入力情報としてシリアライザ150を呼び出す(S171)。シリアライザ150は、言語依存ステータス情報データを、DOM形式を経てXML形式に変換し、XML形式に変換したステータス情報(以下、「XMLステータス情報データ」という。)をフォーマット変換モジュール147に出力する(S172)。
【0041】
図8は、XMLステータス情報データの例を示す図である。図8のXMLステータス情報データ500において、記述501の<hostName>タグで囲まれた値「MFP」は、画像形成装置10に付けられた名前を示す。また、記述502における<CopyStatus>タグで囲まれた値「Ready」は画像形成装置10のコピー機能の状態を示し、<FAXStatus>タグで囲まれた値「Communication Error」は画像形成装置10のファックス機能の状態を示す。同様に、<ScanerStatsus>タグで囲まれた値「Ready」は、画像形成装置10のスキャナ機能の状態を示し、<PrinterStatus>タグで囲まれた「Offline」は、画像形成装置10のプリンタ機能の状態を示す。
【0042】
XMLステータス情報データ500を取得したフォーマット変換モジュール147は、対応XSLテーブル152を参照して、XSLT変換に利用するXSLファイル名を特定する。
【0043】
図9は、対応XSLテーブルの構成例を示す図である。図9の対応XSLテーブル152は、要求識別情報と、要求識別情報に対応するXSLファイル名との対応付けを管理しているテーブルであり、「要求識別情報」と「XSLファイル名」とをデータ項目として有する。
【0044】
即ち、フォーマット変換モジュール147は、要求識別情報として通知されたURL「status.html」をキーとして対応XSLテーブル152を検索し、該当したレコードの「XSLファイル名」に登録されているXSLファイル名「status.xsl」を取り出す(S173)。フォーマット変換モジュール147は、対応XSLテーブル152から取得したXSLファイル名「status.xsl」とXMLステータス情報データ500とをXSLTプロセッサ151に引き渡し、XSLTプロセッサ151に対してXMLステータス情報データ500の変換を要求する(S174)。XSLTプロセッサ151は、ファイル名が「status.xsl」であるXSLファイル153の定義(変換規則)に従ってXMLステータス情報データ500をXSLT変換し、変換結果として生成されたデータ(以下、「要求形式ステータス情報データ」という。)をフォーマット変換モジュール147に出力する。
【0045】
なお、ここでXSLファイルstatus.xslは、HTMLデータを生成するように定義されているため、要求形式ステータス情報データはHTMLデータとして生成される。即ち、要求形式ステータス情報データは、ステータスページそのものである。
【0046】
このように、要求識別情報と変換すべきデータ形式との対応はプログラムロジックから独立して対応XSLテーブル152に管理されているため、変換に利用するXSLファイル153を変更したい場合等の保守が容易である。また、要求形式ステータス情報データのデータ形式についても、プログラムロジックから独立してXSLファイル153に定義されているため、XSLファイル153を修正することにより要求形式ステータス情報データのデータ形式を容易に変更することができる。
【0047】
上記のようにフォーマット変換モジュール147は、言語依存ステータス情報をステータスページに変換する。
【0048】
図5に戻り、ステップS18において、フォーマット変換モジュール147は、生成したステータスページをステータスページ生成モジュール144に出力する。ステータスページ生成モジュール144は、ステータスページ生成モジュール144の呼び出し元である分配モジュール143にステータスページをそのままに出力し(S19)、更に分配モジュール143は、分配モジュール143の呼び出し元であるHTTPプロトコル処理モジュール171にステータスページを出力する(S20)。
【0049】
ステップS20に続いてステップS21に進み、HTTPプロトコル処理モジュール171は、ステータスページを含むHTTPレスポンスを端末20に送信する。ステップS21に続いてステップS22に進み、端末20のWebブラウザは、受信したステータスページを表示する。
【0050】
図10は、ステータスページの表示例を示す図である。図10のステータスページ200は、名前表示領域201、コピー状態表示領域202、ファックス状態表示領域203、スキャナ状態表示領域204、及びプリンタ状態表示領域205等から構成されている。それぞれの表示領域は、順番に、図8のXMLステータス情報データにおける、記述501、記述502、記述503、記述504、記述505に対応している。このように、ユーザは、ステータスページを閲覧することで画像形成装置10の状態情報を確認することができる。
【0051】
次に、画像形成装置10が、端末20から電子メールによってステータス情報送信要求を受信した場合の処理を説明する。図11は、電子メールによって端末と通信する場合の画像形成装置の処理手順を説明するためのシーケンス図である。なお、図11のシーケンス図における画像形成装置10の処理の流れは、図5におけるものと同様であるため、図5との相違点を中心に説明する。
【0052】
ステップS31において、ユーザが端末20のメールソフトによって、宛先を画像形成装置10とし、Subjectフィールドに要求識別情報に相当する「statusMail」を指定した電子メール(以下、「ステータス情報要求メール」という。)を作成し、作成したステータス情報要求メールの送信指示を行うと、端末20は、画像形成装置10に対してステータス情報要求メールを送信する。なお、要求識別情報はSubjectでなく、メールの本文で指定するようにしてもよい。
【0053】
ステップS31に続いてステップS32に進み、画像形成装置10の電子メールプロトコル処理モジュール172は、端末20からのステータス情報要求メールを受信し、ステータス情報要求メールのSubjectフィールドに指定された文字列「statusMail」を要求識別情報として分配モジュール143に通知する。
【0054】
以降は、画像形成装置10は、「statusMail」を要求識別情報とすることを除き、図5と同様の処理を行う。
【0055】
即ち、ステップS32に続いてステップS33に進み、画像形成装置10の分配モジュール143は、「statusMail」に対応するページ生成モジュールを、対応ページ生成モジュールテーブル148から検索する。対応ページ生成モジュールテーブル148より、「statusMail」に対応するページ生成モジュールは、ステータスページ生成モジュール144であるため、分配モジュール143は、ステータスページ生成モジュール144を呼び出す。
【0056】
ステータスページ生成モジュール144は、図5における処理と同様にステータス取得モジュール146からステータス情報(言語依存ステータス情報)を取得し(S34、S35)、更に、フォーマット変換モジュール147に対して言語依存ステータス情報の変換を要求する(S36)。
【0057】
ステップS37において、フォーマット変換モジュール147は、図7で説明した処理を実行し、言語依存ステータス情報の変換を行う(S37)。即ち、フォーマット変換モジュール147は、言語依存ステータス情報をXMLステータス情報データ500に変換する(図7のS171、S172)。更に、フォーマット変換モジュール147は、要求識別情報に対応するXSLファイル153のファイル名を対応XSLテーブル152から取り出す(S173)。図9の対応XSLテーブル152より、「statusMail」に対応するXSLファイル名は「statusMail.xsl」であるため、フォーマット変換モジュール147は、ファイル名「statusMail.xsl」とXMLステータス情報データ500とをXSLTプロセッサ151に引き渡し、XSLTプロセッサ151に対してXMLステータス情報データ500の変換を要求する(S174)。
【0058】
XSLTプロセッサ151は、ファイル名が「statusMail.xsl」であるXSLファイル153の定義に従ってXMLステータス情報データ500をXSLT変換し、変換結果として生成された要求形式ステータス情報データをフォーマット変換モジュール147に出力する(S175)。
【0059】
なお、ここでXSLファイルstatusMail.xslは、テキストデータを生成するように定義されているため、要求形式ステータス情報データはテキストデータとして生成される。
【0060】
ステップS38からステップS40にかけては、図5のステップS18からステップS30と同様に、それぞれの呼び出し元に対してテキストデータが順番に出力される。ステップS41において、電子メールプロトコル処理モジュール172が、ステータス情報を格納したテキストデータを端末20に電子メール(以下、「ステータスメール」という。)で送信すると、端末20はステータスメールを受信する。
【0061】
図12は、ステータスメールの例を示す図である。図12のステータスメール210には、記述211にコピーの状態、記述212にファックスの状態、記述213にスキャナの状態、記述214にプリンタの状態がそれぞれ記載されている。それぞれの記述は、順番に、図8のXMLステータス情報データにおける、記述501、記述502、記述503、記述504、記述505に対応している。ユーザは、端末20が受信したステータスメールを閲覧することにより、Webブラウザによってステータスページ200を閲覧する場合と同様に画像形成装置10のステータス情報を確認することができる。
【0062】
上述したように、本実施の形態における画像形成装置10においては、フォーマット変換モジュール147が要求識別情報に基づいて動的に端末20に送信するデータのデータ形式を決定するため、ステータスページ生成モジュール144等のページ生成モジュールは、端末20から要求されたステータス情報を格納するデータのデータ形式について関知する必要がなくなる。
【0063】
即ち、ステータスページ生成モジュール144には、プロトコルや、端末20が要求するデータ形式に依存しない画像形成装置10のステータス情報を取得するという処理のみを実装することができる。従って、端末20とのプロトコルがHTTPであっても電子メールであっても、又はその他のプロトコルであっても同一のステータスページ生成モジュール144を利用することができ、プロトコル毎、あるいは端末20が要求するデータ形式毎にステータスページ生成モジュール144を実装する必要がない。
【0064】
また、フォーマット変換モジュール144は、プロトコルの別、及びページ生成モジュールの別なく共通に利用できるため、各種ページ生成モジュール毎にデータ変換処理を実装する必要も無い。
【0065】
よって、画像形成装置10によれば、プロトコル毎等にステータスページ生成モジュール144を実装する場合に比べて開発作業の効率化が図れると共に、画像形成装置10の記憶容量の圧迫を低減させることができる。
【0066】
なお、フォーマット変換モジュール147による言語依存データから要求形式ステータス情報データへのデータ変換は、シリアライザ150によるXML形式への変換、XSLTプロセッサ151によるXSLT変換という処理手順に限定されるものではない。例えば、XSLファイル153とは異なるテンプレートファイルを利用して言語依存データから直接要求形式ステータス情報データを生成するようにしてもよい。
【0067】
また、上述した実施の形態においては、ステータスページ生成モジュール144が動的に取得した情報を端末20に提供する例を示したが、本発明は静的な情報を提供する場合においても適用が可能である。即ち、予めXMLファイル等として静的に用意されている情報を、フォーマット変換モジュール147が要求識別情報に対応した形式のデータに変換し、変換されたデータを端末30に送信すればよい。この場合においても、フォーマット変換モジュール147をプロトコル毎に実装する必要がないという点で、本発明の効果を得ることができる。
【0068】
また、本発明が適用可能な機器は、画像形成装置だけに限られない。一般的なコンピュータ等の情報処理装置はもちろん、通信機能を有していれば、本実施の形態における画像形成装置と同様に記憶容量の制約が厳しいデジタルカメラや携帯電話等にも本発明を適用することができる。
【0069】
以上、本発明の好ましい実施例について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。
【0070】
【発明の効果】
上述の如く、本発明によれば、クライアントからの複数のプロトコルによる要求に対応した情報の提供を効率良く行うことができる。
【図面の簡単な説明】
【図1】複数のプロトコルに対応させた場合の従来のWebサーバの機能構成例を示す図である。
【図2】本発明の実施の形態における画像処理システムの構成例を示す図である。
【図3】画像形成装置の機能構成例を示す図である。
【図4】ネットワークサービス及び情報提供アプリの機能構成例を示す図である。
【図5】HTTPによって端末と通信する場合の画像形成装置の処理手順を説明するためのシーケンス図である。
【図6】対応ページ生成モジュールテーブルの構成例を示す図である。
【図7】フォーマット変換モジュールの処理を説明するための図である。
【図8】XMLステータス情報データの例を示す図である。
【図9】対応XSLテーブルの構成例を示す図である。
【図10】ステータスページの表示例を示す図である。
【図11】電子メールによって端末と通信する場合の画像形成装置の処理手順を説明するためのシーケンス図である。
【図12】ステータスメールの例を示す図である。
【符号の説明】
1 画像処理システム
10 画像形成装置
11 コピーアプリ
12 ファックスアプリ
13 プリンタアプリ
14 情報提供アプリ
16 システム管理サービス
17 ネットワークサービス
18 メモリ管理サービス
19 オペパネ管理サービス
20 エンジン管理サービス
21 OS
22 エンジン制御ボード
23 プロッタエンジン
24 スキャナエンジン
20、20a、20b、20c 端末
30 ネットワーク
143 分配モジュール
144 ステータスページ生成モジュール
145 トレイステータスページ生成モジュール
146 ステータス取得モジュール
147 フォーマット変換モジュール
148 対応ページ生成モジュールテーブル
150 シリアライザ
151 XSLTプロセッサ
152 対応XSLテーブル
153 XSLファイル
171 HTTPプロトコル処理モジュール
172 電子メールプロトコル処理モジュール
300 Webサーバ
301 HTTP用通信手段
302 電子メール用通信手段
303 Webブラウザ用アプリケーション
304 電子メール用アプリケーション
320 PC
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information providing apparatus, and more particularly, to an information providing apparatus, an information providing method, an information providing system, and an information providing program that provide information to a terminal connected via a network.
[0002]
[Prior art]
Recent technological development is remarkable, and various information devices are generally used connected to a network, as represented by a Web system to which a large number of clients are connected. In addition, it is possible to remotely control the information equipment from a terminal device such as a PC. Embedded devices equipped with Web server functions are also widespread. For example, status information (firmware version, job history, device settings, job management information, stored document management, etc. of image forming apparatuses such as copiers, printers, and fax machines. Information etc.) can be browsed by a web browser on a PC via a network.
[0003]
Here, the reason why the data transmitted from the Web server can be correctly displayed on the Web browser of the PC is that the data transmitted from the Web server to the PC is generated in a data format (for example, HTML format) that can be displayed on the Web browser. is there.
[0004]
Therefore, if the PC requests transmission of information by electronic mail, it is necessary to mount a new application on the Web server, that is, an application that generates data in a data format suitable for electronic mail. For devices connected to the LAN, a firewall is provided to maintain security, so access by the HTTP (HyperText Transfer Protocol) from the Internet is often not permitted. In such a case, communication by e-mail is particularly beneficial.
[0005]
FIG. 1 is a diagram illustrating a functional configuration example of a conventional Web server in a case where a plurality of protocols are supported. 1 includes an HTTP communication unit 301, an email communication unit 302, a web browser application 303, an email application 304, and the like.
[0006]
The HTTP communication unit 301 and the e-mail communication unit 302 are daemon programs that communicate with the PC 320 using a specific protocol. That is, the HTTP communication unit 301 communicates with the PC 320 by HTTP, and the e-mail communication unit 302 communicates with the PC 320 by e-mail.
[0007]
The web browser application 303 is an application for generating information to be provided to the PC 320 as a web page. The e-mail application 304 is an application for generating information to be provided to the PC 320 in a format that can be transmitted by e-mail, for example, a text format.
[0008]
[Problems to be solved by the invention]
However, in the mounting method as shown in FIG. 1, the same mounting must be performed for each application. That is, in the Web browser application 303 and the e-mail application 304, information generation or acquisition processing to be provided to the PC 320 should be almost the same, and the difference between the two depends on the protocol or data format. Only the final data generation process.
[0009]
Therefore, the implementation as shown in FIG. 1 has a problem that not only the efficiency of the development work is bad, but also the burden on the storage capacity of the Web server becomes large.
[0010]
The present invention has been made in view of the above points, and is an information providing apparatus, an information providing method, an information providing system, which can efficiently provide information corresponding to requests from a plurality of protocols from a client, And to provide an information provision program.
[0011]
[Means for Solving the Problems]
Therefore, in order to solve the above-described problem, the present invention is an information providing apparatus that transmits requested information in response to each request transmitted by a different protocol via a network, and acquires information having different contents. A plurality of information acquisition means, a first association management means for managing association between request identification information included in the request and any one of the plurality of information acquisition means, and responding to reception of the request A distribution unit that causes the information acquisition unit associated with the request identification information included in the request to acquire the information in the first association management unit; a conversion rule for the request identification information and the information A second association management unit that manages association with the format definition file in which the request is defined, and the second association management unit associates the request identification information with the association. Is and an information converting means for converting the data format of the information based on the format definition file and the information conversion unit, called another, and to another without common said information obtaining means of the different protocols In the first association management unit, the same information acquisition unit is associated with the different request identification information, and the second association management unit includes each request identification information. Different format definition files are associated with each other It is characterized by that.
In such an information providing apparatus, the information conversion means can dynamically convert information required by a plurality of different protocols from the terminal into data corresponding to the protocol, so the information conversion means is implemented for each protocol. There is no need and information can be provided efficiently.
[0012]
In order to solve the above problems, the present invention may also be an information providing method in the information providing apparatus, an information providing system having an information providing apparatus and a terminal, or an information providing program for causing a computer to execute the information providing method. Good.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 2 is a diagram illustrating a configuration example of the image processing system according to the embodiment of the present invention. The image processing system 1 in FIG. 2 includes an image forming apparatus 10, a terminal 20a, a terminal 20b, and a terminal 20c (hereinafter collectively referred to as “terminal 20”), etc., such as a LAN (Local Area Network), an intranet, or the Internet. The network 30 is connected.
[0014]
In response to a request from the terminal 20, the image forming apparatus 10 executes processing such as printing of document data and fax transmission. Further, the image forming apparatus 10 responds to a request from the terminal 20 when a request for transmission of status information (for example, the host name of the image forming apparatus 10, the status of the copy function, the status of the FAX function) is received from the terminal 20. The status information of the image forming apparatus 10 is transmitted to the terminal 20 in the data format. For example, when the user of the terminal 20 requests status information of the image forming apparatus 10 from a Web browser, the image forming apparatus 10 transmits HTML (HyperText Markup Language) data storing the status information to the terminal 20. When the user of the terminal 20 requests the status information of the image forming apparatus 10 by email, the image forming apparatus 10 transmits text data storing the status information to the terminal 20 by email. In this embodiment, “data format” includes not only the concept of data types such as text, BITMAP, and JPEG, but also the concept of data contents such as format, that is, layout when displayed. Therefore, even if the same HTML data is used, the data format is different if the description content is different.
[0015]
Next, a functional configuration example of the image forming apparatus 10 will be described. FIG. 3 is a diagram illustrating a functional configuration example of the image forming apparatus. In FIG. 3, the image forming apparatus 10 includes hardware resources for performing individual image processing such as a plotter engine 23 and a scanner engine 24, an engine control board 22, an OS 21, a system management service 16, and a network service 17. And a memory management service 18, an operation panel management service 19, an engine management service 20, and various applications such as a copy application 11, a fax application 12, a printer application 13, and an information providing application 14.
[0016]
The engine control board 22 controls individual functions of the image forming apparatus 10 such as the plotter engine 23 and the scanner engine 24, and provides the functions of the engine control board 22 to the OS 21 and the like through an engine I / F (interface).
[0017]
The OS 21 is an operating system such as UNIX (registered trademark) and executes various software implemented as applications such as the copy application 11 and the fax application 12 in parallel as processes.
[0018]
The system management service 16, the network service 17, the memory management service 18, the operation panel management service 19, and the engine management service 20 provide respective functions to upper applications such as the copy application 11 through an API (Application Programming Interface). is there. That is, the system management service 16 provides a function related to system management, and the network service 17 provides a function related to network communication. The memory management service 18 provides functions related to memory management, and the operation panel management service 19 provides functions related to an operation panel (operation panel) installed in the image forming apparatus 10. Further, the engine management service 20 provides a function for controlling the plotter engine 23 and the scanner engine 24 via the engine control board 22.
[0019]
The copy application 11 is a copy application, and the fax application 12 is a facsimile application. The printer application 13 is a printer application having a page description language (PDL), PCL, and postscript (PS). The information providing application 14 is an application realized by an information providing program in which the features of the present invention are implemented, and generates data including status information requested from the terminal 20.
[0020]
FIG. 4 is a diagram illustrating a functional configuration example of the network service and the information providing application. That is, FIG. 4 shows the network service 17 and the information providing application 14 extracted from FIG. 3 and displays the details thereof in order to clarify the features of the image forming apparatus 10 in the present embodiment.
[0021]
As shown in FIG. 4, the network service 17 has an HTTP protocol processing module 171 and an electronic mail protocol processing module 172 as a part of its functions. The HTTP protocol processing module 171 is a daemon program for performing communication with the terminal 20 using HTTP (HyperText Transfer Protocol). That is, when the status information transmission request (hereinafter referred to as “status information transmission request”) from the terminal 20 to the image forming apparatus 10 is based on HTTP, the HTTP protocol processing module 171 receives the status information transmission request. In addition, the HTTP protocol processing module 171 transmits a Web page having status information and the like to the terminal 20 as a response.
[0022]
Similarly, the e-mail protocol processing module 172 is a daemon program for communicating with the terminal 20 by e-mail according to protocols such as POP3 and SMTP. That is, the e-mail protocol processing module 172 receives a status information transmission request or the like transmitted from the terminal 20 by e-mail. In addition, the e-mail protocol processing module 172 transmits an e-mail having status information or the like as a response to the terminal 20.
[0023]
The network service 17 also has a module for processing other protocols such as telnet (hereinafter referred to as “protocol processing module” when collectively including the HTTP protocol processing module 171 and the electronic mail protocol processing module). is doing.
[0024]
On the other hand, the information providing application 14 includes a distribution module 143, a status page generation module 144, a tray status page generation module 145, a status acquisition module 146, a format conversion module 147, a corresponding page generation module table 148, and the like.
[0025]
The distribution module 143 is called from the protocol processing module and calls the page generation modules such as the status page generation module 144 and the tray status page generation module 145 based on the request transmitted from the terminal 20. The corresponding page generation module table 148 is a table referred to when the distribution module 143 calls the page generation module.
[0026]
The status page generation module 144 calls the status acquisition module 146 and the like, so that the status information of the image forming apparatus 10 for the amount that is finally transmitted to the user (for example, one page in the case of transmission on a web page). It is a module to acquire. The tray status page generation module 145 is a module that acquires tray status information of the image forming apparatus 10. These page generation modules request the format conversion 147 to convert the acquired information into a data format for transmission to the terminal 20, and output the conversion result data to the distribution module 143.
[0027]
The status acquisition module 146 is a library composed of a plurality of functions that provide status information of the image forming apparatus 10 to a host application. Therefore, the status page generation module 144 calls a plurality of functions of the status acquisition module 146 when it is necessary to call a plurality of functions in order to acquire the status information that is finally transmitted to the user. Note that the status acquisition module 146 can be designed without depending on the protocol used for communication with the terminal 20 or the data format of data transmitted as a response to the terminal 20, and can be designed for each function. It only has to exist in the. Therefore, it is not necessary to implement each protocol or data format, thereby reducing development man-hours and resources used such as storage capacity. Further, the module corresponding to the status acquisition module 146 is not necessarily installed in the image forming apparatus 10, but Java (registered trademark) (registered commercial), RPC (Remote Procedure Call), or SOAP (Simple Object Access Protocol). ) Etc., information on other systems etc. may be acquired via the network.
[0028]
The format conversion module 147 is a module that converts information requested for conversion from the page generation module into data in a data format corresponding to the terminal 20, and is called in common regardless of the protocol and the page generation means. Therefore, the format conversion module 147 only needs to exist in the system. As a result, it is possible to reduce development man-hours and resources used such as storage capacity.
[0029]
Hereinafter, a processing procedure of the image forming apparatus 10 will be described. FIG. 5 is a sequence diagram for explaining a processing procedure of the image forming apparatus when communicating with a terminal by HTTP.
[0030]
In step S <b> 11, the URL “http: // xxx / xxx / xxx / status” of the Web page (hereinafter referred to as “status page”) for the user to browse the status information of the image forming apparatus 10 on the Web browser of the terminal 20. When “.html” is input, the terminal 20 transmits an HTTP request requesting the image forming apparatus 10 to transmit a status page.
[0031]
Progressing to step S12 following step S11, the HTTP protocol processing module 171 of the image forming apparatus 10 receives the HTTP request from the terminal 20, and sends the URL “status.html” of the status page included in the HTTP request from the terminal 20. The distribution module 143 is notified as information for identifying the request (hereinafter referred to as “request identification information”).
[0032]
Progressing to step S13 following step S12, the distribution module 143 of the image forming apparatus 10 searches the page generation module corresponding to the URL “status.html” from the corresponding page generation module table 148, and the searched page generation module. Call.
[0033]
FIG. 6 is a diagram illustrating a configuration example of the corresponding page generation module table. The corresponding page generation module table 148 in FIG. 6 is a table that manages association between request identification information and a page generation module corresponding to the request identification information, and includes “request identification information”, “page generation module”, and the like. As a data item.
[0034]
That is, the distribution module 143 searches the corresponding page generation module table 148 using the URL “status.html” notified as the request identification information as a key, and generates the status page registered in the “page generation module” of the corresponding record. Invoke module 144. The distribution module 143 passes the URL “status.html” as input information to the status page generation module 144 when calling the status page generation module 144.
[0035]
By consolidating the call process of the various page generation modules 144 into the distribution module 143, it is not necessary to implement the call process in each protocol processing module. In addition, since the correspondence between the request identification information and the page generation module is managed in the corresponding page generation module table 148 independently of the program logic, the corresponding page generation module is used when adding or deleting the page generation module. It is only necessary to modify the table 148.
[0036]
In step S14 following step S13, when the status page generation module 144 calls the status acquisition module 146 to acquire the status information of the image forming apparatus 10, the status acquisition module 146 responds with the status information of the image forming apparatus 10 as a response. Is returned (S15). At this point, the status information depends on the data type of the programming language in which the status page generation module 144 is mounted. For example, when the status page generation module 144 is implemented in C language, the status information is composed of data such as int type and char type. Hereinafter, the status information depending on the program language is referred to as “language-dependent status information data”.
[0037]
Progressing to step S16 following step S15, the status page generation module 144 calls the format conversion module 147 using the URL “status.html” and the language-dependent status information data acquired from the status acquisition module 146 as arguments. Progressing to step S17 following step S16, the format conversion module 147 converts the language-dependent status information data into data in a data format requested by the terminal 20.
[0038]
Here, details of the processing of the format conversion module 147 in step S17 will be described. FIG. 7 is a diagram for explaining processing of the format conversion module. The format conversion module 147 in the present embodiment converts data passed from the page generation module using the serializer 150, the XSLT (XSL Transformations) processor 151, the corresponding XSL table 152, and the like.
[0039]
The serializer 150 converts data depending on a programming language into an XML (eXtensible Markup Language) format. The XSLT processor 151 converts data in the XML format into data in a format according to the definition of the designated XSL file 153. The correspondence XSL table 152 is a table that manages association between request identification information and an XSL file corresponding to the request identification information.
[0040]
In FIG. 7, the format conversion module 147 calls the serializer 150 using the language-dependent status information data as input information (S171). The serializer 150 converts the language-dependent status information data into the XML format via the DOM format, and outputs the status information converted into the XML format (hereinafter referred to as “XML status information data”) to the format conversion module 147 (S172). ).
[0041]
FIG. 8 is a diagram illustrating an example of XML status information data. In the XML status information data 500 of FIG. 8, the value “MFP” enclosed in the <hostName> tag of the description 501 indicates the name given to the image forming apparatus 10. In the description 502, the value “Ready” enclosed in the <CopyStatus> tag indicates the copy function status of the image forming apparatus 10, and the value “Communication Error” enclosed in the <FAXStatus> tag is the fax of the image forming apparatus 10. Indicates the status of the function. Similarly, the value “Ready” enclosed in the <ScannerStatus> tag indicates the scanner function status of the image forming apparatus 10, and “Offline” enclosed in the <PrinterStatus> tag is the printer function of the image forming apparatus 10. Indicates the state.
[0042]
The format conversion module 147 that has acquired the XML status information data 500 refers to the corresponding XSL table 152 and identifies an XSL file name used for XSLT conversion.
[0043]
FIG. 9 is a diagram illustrating a configuration example of the corresponding XSL table. The correspondence XSL table 152 in FIG. 9 is a table that manages association between request identification information and an XSL file name corresponding to the request identification information, and stores “request identification information” and “XSL file name” as data. Have as an item.
[0044]
That is, the format conversion module 147 searches the corresponding XSL table 152 using the URL “status.html” notified as the request identification information as a key, and searches for the XSL file name “registered in“ XSL file name ”of the corresponding record. “status.xsl” is extracted (S173). The format conversion module 147 passes the XSL file name “status.xsl” acquired from the corresponding XSL table 152 and the XML status information data 500 to the XSLT processor 151, and requests the XSLT processor 151 to convert the XML status information data 500. (S174). The XSLT processor 151 performs XSLT conversion on the XML status information data 500 in accordance with the definition (conversion rule) of the XSL file 153 whose file name is “status.xsl”, and generates data (hereinafter referred to as “request format status information”) as a conversion result. Data ") is output to the format conversion module 147.
[0045]
Here, since the XSL file status.xsl is defined to generate HTML data, the request format status information data is generated as HTML data. That is, the request format status information data is the status page itself.
[0046]
As described above, since the correspondence between the request identification information and the data format to be converted is managed in the corresponding XSL table 152 independently of the program logic, it is easy to maintain when the XSL file 153 used for conversion is to be changed. It is. Further, since the data format of the request format status information data is also defined in the XSL file 153 independently of the program logic, the data format of the request format status information data can be easily changed by modifying the XSL file 153. be able to.
[0047]
As described above, the format conversion module 147 converts language-dependent status information into a status page.
[0048]
Returning to FIG. 5, in step S <b> 18, the format conversion module 147 outputs the generated status page to the status page generation module 144. The status page generation module 144 outputs the status page as it is to the distribution module 143 that is the caller of the status page generation module 144 (S19), and the distribution module 143 further displays the HTTP protocol processing module that is the caller of the distribution module 143. A status page is output to 171 (S20).
[0049]
Progressing to step S21 following step S20, the HTTP protocol processing module 171 transmits an HTTP response including a status page to the terminal 20. Progressing to step S22 following step S21, the Web browser of the terminal 20 displays the received status page.
[0050]
FIG. 10 is a diagram illustrating a display example of the status page. The status page 200 in FIG. 10 includes a name display area 201, a copy status display area 202, a fax status display area 203, a scanner status display area 204, a printer status display area 205, and the like. Each display area sequentially corresponds to the description 501, description 502, description 503, description 504, and description 505 in the XML status information data of FIG. Thus, the user can check the status information of the image forming apparatus 10 by browsing the status page.
[0051]
Next, processing when the image forming apparatus 10 receives a status information transmission request from the terminal 20 by electronic mail will be described. FIG. 11 is a sequence diagram for explaining a processing procedure of the image forming apparatus when communicating with a terminal by electronic mail. Note that the processing flow of the image forming apparatus 10 in the sequence diagram of FIG. 11 is the same as that in FIG. 5, and therefore, differences from FIG. 5 will be mainly described.
[0052]
In step S31, an e-mail (hereinafter referred to as “status information request mail”) in which the user designates “statusMail” corresponding to the request identification information in the Subject field by using the mail software of the terminal 20 as the destination by the user. And the terminal 20 transmits a status information request mail to the image forming apparatus 10. Note that the request identification information may be designated by the text of the mail instead of the Subject.
[0053]
Progressing to step S32 following step S31, the e-mail protocol processing module 172 of the image forming apparatus 10 receives the status information request mail from the terminal 20, and receives the character string “statusMail” specified in the Subject field of the status information request mail. To the distribution module 143 as request identification information.
[0054]
Thereafter, the image forming apparatus 10 performs the same process as in FIG. 5 except that “statusMail” is used as the request identification information.
[0055]
That is, in step S33 following step S32, the distribution module 143 of the image forming apparatus 10 searches the corresponding page generation module table 148 for a page generation module corresponding to “statusMail”. Since the page generation module corresponding to “statusMail” is the status page generation module 144 from the corresponding page generation module table 148, the distribution module 143 calls the status page generation module 144.
[0056]
The status page generation module 144 acquires status information (language dependent status information) from the status acquisition module 146 in the same manner as the processing in FIG. 5 (S34, S35). A conversion is requested (S36).
[0057]
In step S37, the format conversion module 147 executes the processing described with reference to FIG. 7 and converts language-dependent status information (S37). That is, the format conversion module 147 converts language-dependent status information into XML status information data 500 (S171 and S172 in FIG. 7). Further, the format conversion module 147 extracts the file name of the XSL file 153 corresponding to the request identification information from the corresponding XSL table 152 (S173). Since the XSL file name corresponding to “statusMail” is “statusMail.xsl” from the corresponding XSL table 152 in FIG. 9, the format conversion module 147 converts the file name “statusMail.xsl” and the XML status information data 500 into XSLT. The data is delivered to the processor 151, and the conversion of the XML status information data 500 is requested to the XSLT processor 151 (S174).
[0058]
The XSLT processor 151 performs XSLT conversion on the XML status information data 500 according to the definition of the XSL file 153 whose file name is “statusMail.xsl”, and outputs the request format status information data generated as the conversion result to the format conversion module 147. (S175).
[0059]
Here, since the XSL file statusMail.xsl is defined to generate text data, the request format status information data is generated as text data.
[0060]
From step S38 to step S40, the text data is sequentially output to each caller in the same manner as step S18 to step S30 in FIG. In step S41, when the e-mail protocol processing module 172 transmits the text data storing the status information to the terminal 20 by e-mail (hereinafter referred to as “status mail”), the terminal 20 receives the status mail.
[0061]
FIG. 12 is a diagram illustrating an example of a status mail. In the status mail 210 of FIG. 12, a description 211 indicates a copy status, a description 212 indicates a fax status, a description 213 indicates a scanner status, and a description 214 indicates a printer status. Each description corresponds to the description 501, description 502, description 503, description 504, and description 505 in the XML status information data in FIG. The user can check the status information of the image forming apparatus 10 by browsing the status mail received by the terminal 20 as in the case of browsing the status page 200 by the Web browser.
[0062]
As described above, in the image forming apparatus 10 according to the present embodiment, the status page generation module 144 is used because the format conversion module 147 dynamically determines the data format of data to be transmitted to the terminal 20 based on the request identification information. Such a page generation module does not need to know about the data format of the data for storing the status information requested from the terminal 20.
[0063]
In other words, the status page generation module 144 can be implemented only with processing for acquiring status information of the image forming apparatus 10 that does not depend on the protocol or the data format requested by the terminal 20. Therefore, the same status page generation module 144 can be used regardless of whether the protocol with the terminal 20 is HTTP, e-mail, or any other protocol, and the protocol can be requested for each protocol or by the terminal 20. There is no need to mount the status page generation module 144 for each data format.
[0064]
Further, since the format conversion module 144 can be used in common regardless of the protocol and the page generation module, it is not necessary to implement a data conversion process for each of the various page generation modules.
[0065]
Therefore, according to the image forming apparatus 10, the efficiency of development work can be improved as compared with the case where the status page generation module 144 is mounted for each protocol or the like, and the compression of the storage capacity of the image forming apparatus 10 can be reduced. .
[0066]
The data conversion from the language-dependent data to the request format status information data by the format conversion module 147 is not limited to the processing procedure of conversion to the XML format by the serializer 150 and XSLT conversion by the XSLT processor 151. For example, request format status information data may be generated directly from language-dependent data using a template file different from the XSL file 153.
[0067]
In the above-described embodiment, the example in which the status page generation module 144 provides the terminal 20 with the dynamically acquired information is shown. However, the present invention can also be applied to the case where static information is provided. It is. In other words, information statically prepared in advance as an XML file or the like may be converted into data in a format corresponding to the request identification information by the format conversion module 147 and the converted data may be transmitted to the terminal 30. Even in this case, the effect of the present invention can be obtained in that it is not necessary to mount the format conversion module 147 for each protocol.
[0068]
Also, devices to which the present invention can be applied are not limited to image forming apparatuses. The present invention can be applied not only to general information processing devices such as computers but also to digital cameras and mobile phones that have severe storage capacity restrictions as long as they have communication functions, as with the image forming device in this embodiment. can do.
[0069]
The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.
[0070]
【The invention's effect】
As described above, according to the present invention, it is possible to efficiently provide information corresponding to requests from a client using a plurality of protocols.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of a functional configuration of a conventional Web server when supporting a plurality of protocols.
FIG. 2 is a diagram illustrating a configuration example of an image processing system according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating a functional configuration example of an image forming apparatus.
FIG. 4 is a diagram illustrating a functional configuration example of a network service and an information providing application.
FIG. 5 is a sequence diagram for explaining a processing procedure of the image forming apparatus when communicating with a terminal by HTTP.
FIG. 6 is a diagram illustrating a configuration example of a corresponding page generation module table.
FIG. 7 is a diagram for explaining processing of a format conversion module.
FIG. 8 is a diagram illustrating an example of XML status information data.
FIG. 9 is a diagram illustrating a configuration example of a corresponding XSL table.
FIG. 10 is a diagram illustrating a display example of a status page.
FIG. 11 is a sequence diagram for explaining a processing procedure of the image forming apparatus when communicating with a terminal by electronic mail.
FIG. 12 is a diagram illustrating an example of a status mail.
[Explanation of symbols]
1 Image processing system
10 Image forming apparatus
11 Copy application
12 Fax application
13 Printer app
14 Information provision application
16 System management service
17 Network service
18 Memory management service
19 Operation panel management service
20 Engine management service
21 OS
22 Engine control board
23 Plotter engine
24 Scanner engine
20, 20a, 20b, 20c terminal
30 network
143 Distribution module
144 Status page generation module
145 Tray status page generation module
146 Status acquisition module
147 Format conversion module
148 Supported page generation module table
150 Serializer
151 XSLT processor
152 Compatible XSL Table
153 XSL file
171 HTTP protocol processing module
172 E-mail protocol processing module
300 Web server
301 HTTP communication means
302 E-mail communication means
303 Web browser application
304 E-mail application
320 PC

Claims (12)

ネットワークを介して異なるプロトコルにより送信されるそれぞれの要求に応じ、要求された情報を送信する情報提供装置であって、
それぞれ異なる内容の情報を取得する複数の情報取得手段と、
前記要求に含まれている要求識別情報と前記複数の情報取得手段のいずれか一つとの対応付けを管理する第一の対応付け管理手段と、
前記要求の受信に応じ、前記第一の対応付け管理手段において当該要求に含まれている前記要求識別情報に対応付けられている情報取得手段に前記情報を取得させる分配手段と、
前記要求識別情報と前記情報の変換規則が定義された形式定義ファイルとの対応付けを管理する第二の対応付け管理手段と、
前記第二の対応付け管理手段において前記要求識別情報に対応付けられている前記形式定義ファイルに基づいて前記情報のデータ形式を変換する情報変換手段とを有し、
前記情報変換手段は、前記異なるプロトコルの別、及び前記情報取得手段の別なく共通に呼び出され
前記第一の対応付け管理手段には、異なる前記要求識別情報に対して同一の情報取得手段が対応付けられており、
前記第二の対応付け管理手段には、それぞれの前記要求識別情報に対して異なる前記形式定義ファイルが対応付けられていることを特徴とする情報提供装置。
An information providing apparatus that transmits requested information in response to each request transmitted by a different protocol via a network,
A plurality of information acquisition means for acquiring information of different contents,
First association management means for managing association between request identification information included in the request and any one of the plurality of information acquisition means;
A distribution unit that causes the information acquisition unit associated with the request identification information included in the request to acquire the information in the first association management unit in response to reception of the request;
Second association management means for managing association between the request identification information and a format definition file in which a conversion rule for the information is defined;
Information conversion means for converting the data format of the information based on the format definition file associated with the request identification information in the second association management means;
The information conversion means is called in common regardless of the different protocol and the information acquisition means ,
In the first association management unit, the same information acquisition unit is associated with the different request identification information,
The information providing apparatus characterized in that the second association management means associates the different format definition files with the request identification information .
前記要求はHTTPリクエストであり、
前記要求識別情報は、前記HTTPリクエストに含まれるURLであることを特徴とする請求項1記載の情報提供装置。
The request is an HTTP request;
Wherein the request identification information, according to claim 1 Symbol placement of the information providing apparatus, wherein the a URL included in the HTTP request.
前記要求は電子メールであり、
前記要求識別情報は、前記電子メールに含まれているデータであることを特徴とする請求項1又は2記載の情報提供装置。
The request is an email;
Wherein the request identification information, the information providing apparatus according to claim 1, wherein that the data contained in the e-mail.
前記情報提供装置は、画像形成装置であることを特徴とする請求項1乃至いずれか一項記載の情報提供装置。Wherein the information providing device, the information providing apparatus according to claim 1 to 3 any one claim, characterized in that an image forming apparatus. 前記情報は、前記情報提供装置の状態を表すステータス情報であることを特徴とする請求項1乃至いずれか一項記載の情報提供装置。Said information claims 1 to 4 information providing apparatus according to any one claim, characterized in that a status information indicating a status of the information provision device. ネットワークを介して異なるプロトコルにより送信されるそれぞれの要求に応じ、要求された情報を送信する情報提供装置が実行する情報提供方法であって、
それぞれ異なる内容の情報を取得する複数の情報取得手順と、
前記要求の受信に応じ、前記要求に含まれている要求識別情報と前記複数の情報取得手順のいずれか一つとの対応付けを管理する第一の対応付け管理手段において当該要求に含まれている前記要求識別情報に対応付けられている情報取得手順に前記情報を取得させる分配手順と、
前記要求識別情報と前記情報の変換規則が定義された形式定義ファイルとの対応付けを管理する第二の対応付け管理手段において前記要求識別情報に対応付けられている前記形式定義ファイルに基づいて前記情報のデータ形式を変換する情報変換手順とを有し、
前記情報変換手順は、前記異なるプロトコルの別、及び前記情報取得手の別なく共通に呼び出され、
前記第一の対応付け管理手段には、異なる前記要求識別情報に対して同一の情報取得手順が対応付けられており、
前記第二の対応付け管理手段には、それぞれの前記要求識別情報に対して異なる前記形式定義ファイルが対応付けられていることを特徴とする情報提供方法。
An information providing method executed by an information providing apparatus that transmits requested information in response to each request transmitted by a different protocol via a network,
Multiple information acquisition procedures for acquiring different contents of information,
In response to the reception of the request, the request is included in the first association management means for managing the association between the request identification information included in the request and any one of the plurality of information acquisition procedures . A distribution procedure for causing the information acquisition procedure associated with the request identification information to acquire the information;
Based on the format definition file associated with the request identification information in a second association management means for managing association between the request identification information and a format definition file in which a conversion rule for the information is defined. An information conversion procedure for converting the data format of the information,
The information converting procedure, another of the different protocols, and is called without distinction a common said information acquisition procedure,
In the first association management means, the same information acquisition procedure is associated with the different request identification information,
The information providing method, wherein the second association management means associates the different format definition files with the request identification information .
前記要求はHTTPリクエストであり、
前記要求識別情報は、前記HTTPリクエストに含まれるURLであることを特徴とする請求項6記載の情報提供方法。
The request is an HTTP request;
Wherein the request identification information, according to claim 6 Symbol mounting the information providing method, characterized in that said a URL included in the HTTP request.
前記要求は電子メールであり、
前記要求識別情報は、前記電子メールに含まれているデータであることを特徴とする請求項6又は7記載の情報提供方法。
The request is an email;
8. The information providing method according to claim 6 , wherein the request identification information is data included in the electronic mail.
前記情報提供装置は、画像形成装置であることを特徴とする請求項6乃至8いずれか一項記載の情報提供方法。The information providing method according to claim 6 , wherein the information providing apparatus is an image forming apparatus. 前記情報は、前記情報提供装置の状態を表すステータス情報であることを特徴とする請求項6乃至9いずれか一項記載の情報提供方法。The information providing method according to claim 6 , wherein the information is status information indicating a state of the information providing apparatus. 端末と、前記端末から異なるプロトコルにより送信されるそれぞれの要求に応じ、前記端末に要求された情報を送信する情報提供装置とを有する情報提供システムであって、
前記情報提供装置は、
それぞれ異なる内容の情報を取得する複数の情報取得手段と、
前記要求に含まれている要求識別情報と前記複数の情報取得手段のいずれか一つとの対応付けを管理する第一の対応付け管理手段と、
前記要求の受信に応じ、前記第一の対応付け管理手段において当該要求に含まれている前記要求識別情報に対応付けられている情報取得手段に前記情報を取得させる分配手段と、
前記要求識別情報と前記情報の変換規則が定義された形式定義ファイルとの対応付けを管理する第二の対応付け管理手段と、
前記第二の対応付け管理手段において前記要求識別情報に対応付けられている前記形式定義ファイルに基づいて前記情報のデータ形式を変換する情報変換手段とを有し、
前記情報変換手段は、前記異なるプロトコルの別、及び前記情報取得手段の別なく共通に呼び出され
前記第一の対応付け管理手段には、異なる前記要求識別情報に対して同一の情報取得手段が対応付けられており、
前記第二の対応付け管理手段には、それぞれの前記要求識別情報に対して異なる前記形式定義ファイルが対応付けられていることを特徴とする情報提供システム。
An information providing system including a terminal and an information providing apparatus that transmits information requested to the terminal in response to each request transmitted from the terminal according to a different protocol,
The information providing apparatus includes:
A plurality of information acquisition means for acquiring information of different contents,
First association management means for managing association between request identification information included in the request and any one of the plurality of information acquisition means;
A distribution unit that causes the information acquisition unit associated with the request identification information included in the request to acquire the information in the first association management unit in response to reception of the request;
Second association management means for managing association between the request identification information and a format definition file in which a conversion rule for the information is defined;
Information conversion means for converting the data format of the information based on the format definition file associated with the request identification information in the second association management means;
The information conversion means is called in common regardless of the different protocol and the information acquisition means ,
In the first association management unit, the same information acquisition unit is associated with the different request identification information,
The information providing system according to claim 2, wherein the second association management means associates the different format definition files with the request identification information .
ネットワークを介して異なるプロトコルにより送信されるそれぞれの要求に応じ、要求された情報を送信する情報提供装置に、
それぞれ異なる内容の情報を取得する複数の情報取得手順と、
前記要求の受信に応じ、前記要求に含まれている要求識別情報と前記複数の情報取得手のいずれか一つとの対応付けを管理する第一の対応付け管理手段において当該要求に含まれている前記要求識別情報に対応付けられている情報取得手順に前記情報を取得させる分配手順と、
前記要求識別情報と前記情報の変換規則が定義された形式定義ファイルとの対応付けを管理する第二の対応付け管理手段において前記要求識別情報に対応付けられている前記形式定義ファイルに基づいて前記情報のデータ形式を変換する情報変換手順とを実行させ、
前記情報変換手順は、前記異なるプロトコルの別、及び前記情報取得手の別なく共通に呼び出され
前記第一の対応付け管理手段には、異なる前記要求識別情報に対して同一の情報取得手順が対応付けられており、
前記第二の対応付け管理手段には、それぞれの前記要求識別情報に対して異なる前記形式定義ファイルが対応付けられていることを特徴とする情報提供プログラム。
In response to each request transmitted by a different protocol via a network, an information providing device that transmits requested information,
Multiple information acquisition procedures for acquiring different contents of information,
The response to receiving the request, included in the request in the first correspondence managing unit for managing a correspondence between any one of the order of the included request identification information and the plurality of information acquisition hand to the request A distribution procedure for causing the information acquisition procedure associated with the request identification information to acquire the information;
Based on the format definition file associated with the request identification information in a second association management means for managing association between the request identification information and a format definition file in which a conversion rule for the information is defined. An information conversion procedure for converting the data format of the information,
The information converting procedure, another of the different protocols, and is called without distinction a common said information acquisition procedure,
In the first association management means, the same information acquisition procedure is associated with the different request identification information,
The information providing program, wherein the second association management means associates the different format definition files with the request identification information .
JP2002378257A 2002-12-26 2002-12-26 Information providing apparatus, information providing method, information providing system, and information providing program Expired - Fee Related JP4159869B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002378257A JP4159869B2 (en) 2002-12-26 2002-12-26 Information providing apparatus, information providing method, information providing system, and information providing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002378257A JP4159869B2 (en) 2002-12-26 2002-12-26 Information providing apparatus, information providing method, information providing system, and information providing program

Publications (2)

Publication Number Publication Date
JP2004213058A JP2004213058A (en) 2004-07-29
JP4159869B2 true JP4159869B2 (en) 2008-10-01

Family

ID=32815189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002378257A Expired - Fee Related JP4159869B2 (en) 2002-12-26 2002-12-26 Information providing apparatus, information providing method, information providing system, and information providing program

Country Status (1)

Country Link
JP (1) JP4159869B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4520261B2 (en) * 2004-09-15 2010-08-04 株式会社リコー Electronic device, display data generation method, display data generation program, and recording medium
JP2008282311A (en) * 2007-05-14 2008-11-20 Kyocera Mita Corp Network device and data updating method

Also Published As

Publication number Publication date
JP2004213058A (en) 2004-07-29

Similar Documents

Publication Publication Date Title
US7551303B2 (en) Service processing device and method
US7490139B2 (en) Embedded business apparatus including web server function
US8713144B2 (en) Workflow-enabled client
US7765248B2 (en) Service providing method, service provider apparatus, information processing method and apparatus and computer-readable storage medium
US7957021B2 (en) Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
US8484012B2 (en) Information service apparatus and method, information display apparatus and information service system
US20040230500A1 (en) Service providing apparatus, user terminal, service providing method, service utilizing method, computer-readable recording medium recorded with a service providing program, and computer-readable recording medium recorded with a service utilizing program
US9218224B2 (en) Electronic apparatus, information processing method, and recording medium storing information processing program
US8826176B2 (en) Information processing apparatus and control method
US20040261010A1 (en) Web page creation apparatus, Web page creation method, Web page creation program and recording method
US8346852B2 (en) Apparatus and method for updating displayed web page
US7457839B2 (en) Selective rejection of access to parameters of an option application detachable from an embedded apparatus including web server function
JP4297811B2 (en) Information providing apparatus, information providing method, and program
JP4261203B2 (en) Information providing apparatus, information providing method, information providing system, and information providing program
US20090300478A1 (en) Image forming apparatus, information processing method and program
US20090257085A1 (en) Generation of a web page including menu items for web pages
JP4291856B2 (en) Image forming apparatus having Web service function
GB2390449A (en) An arrangement in which an unconfigured peripheral sends a request over a network for configuration information
EP1852748A1 (en) Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
JP4159869B2 (en) Information providing apparatus, information providing method, information providing system, and information providing program
US20120026535A1 (en) Controlling an imaging device with a wireless communication device
JP4141209B2 (en) Image forming apparatus having Web service function
US8271621B2 (en) Metadata communication system
JP2004206456A (en) Information providing device, information providing method, information providing system, and information providing program
JP2004086354A (en) Image processor

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: 20071031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080404

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: 20080617

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080716

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: 20110725

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130725

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees