JP4284995B2 - Device, data processing method and data processing program - Google Patents

Device, data processing method and data processing program Download PDF

Info

Publication number
JP4284995B2
JP4284995B2 JP2002371571A JP2002371571A JP4284995B2 JP 4284995 B2 JP4284995 B2 JP 4284995B2 JP 2002371571 A JP2002371571 A JP 2002371571A JP 2002371571 A JP2002371571 A JP 2002371571A JP 4284995 B2 JP4284995 B2 JP 4284995B2
Authority
JP
Japan
Prior art keywords
xml data
client terminal
style sheet
information
style
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
JP2002371571A
Other languages
Japanese (ja)
Other versions
JP2004206203A (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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2002371571A priority Critical patent/JP4284995B2/en
Publication of JP2004206203A publication Critical patent/JP2004206203A/en
Application granted granted Critical
Publication of JP4284995B2 publication Critical patent/JP4284995B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワークを介するXMLデータの情報の表示に関するものである。
【0002】
【従来の技術】
ネットワーク(たとえばLAN)を介して複数の装置が接続されているシステムにおいて、1つの装置が、当該装置についての情報をHTMLデータとして記憶していると、そのHTMLデータを他の装置が受け取って表示(閲覧、印刷など)ができる。HTML(HyperText Markup Language)は、ウェブページを書くために生まれた言語である。たとえば、プリンタなどのデバイスがネットワークを介して利用されるシステムにおいても、当該デバイスが内部の情報(たとえば管理情報)をHTMLデータとして記憶していると、他の装置(たとえばパーソナルコンピュータ端末)はその情報を表示できる。たとえば特開平2001−186301号公報には、HTMLデータを用いた多機能装置(MFP)などのエラー情報の通信が記載されている。
【0003】
HTMLデータの受信には、ページ単位での送信によるネットワークの負荷、データの再利用不可などの問題がある。そこで、XMLを採用して、ウェブページをXMLで作成することが考えられる。XML(eXtensible Markup Language)は、拡張機能つきのマークアップ言語である。XML自体はレイアウトを規定しないので、XMLで記述されたデータ(以下XMLデータという)のレイアウトは、スタイルシート言語(たとえばXSL(eXtensible Stylesheet Language)やCSS(Cascading Style Sheet))で記述したスタイルシートで規定する。また、XSLT(XSL Transformations)は、XSLデータの変換処理を行う部分の言語の1つである。
【0004】
XMLは種々の用途で使用されるが、データの送信に適している。たとえば、ネットワークに接続されている各種デバイス(プリンタなど)を管理するとき、デバイスの管理情報をXMLデータとして保持できる。デバイスの外部の装置のウェブブラウザで管理情報を閲覧するとき、ウェブブラウザは、デバイスに保持されているスタイルシートを参照してXMLデータを解析して表示する。
【0005】
【特許文献1】
特開2001−186301号公報
【0006】
【発明が解決しようとする課題】
XMLデータの表示を容易にするため、デバイス自体に、XMLをサポートするアプリケーション(たとえばウェブサーバ)を備え、デバイス自体の管理データなどについてのXMLデータとスタイルシートを記憶しておき、ネットワークを介する外部端末からの要求に応じてXMLデータを提供することが考えられる。これによりネットワークへの負荷は軽減される。しかし、この場合、各デバイスにスタイルシートを記憶するための記憶容量が必要である。また、多数のデバイスに同じスタイルシートを記憶している場合、スタイルシートをバージョンアップするとき、デバイスごとにスタイルシートを再インストールする必要がある。また、XMLデータは、デバイスやクライアント端末の状況などに応じて、柔軟な表示形態で表示できることが望ましいが、多数のスタイルシートを記憶するには大きな記憶容量が必要である。
【0007】
この発明の目的は、ネットワークに接続されたデバイスにおいて、不要に記憶容量を増加することなくXMLデータの表示を可能にすることである。
【0008】
【課題を解決するための手段】
本発明に係るデバイスは、ネットワークを介して1以上のクライアント端末及び複数のスタイルシートを記憶するサーバに接続されるデバイス(たとえば画像形成装置)であって、前記クライアント端末からの要求に応じて、前記デバイスの状態の情報である管理データ情報を記述したXMLデータを生成するXMLデータ生成手段と、前記クライアント端末からの要求に応じて、前記XMLデータ生成手段により生成されたXMLデータを前記クライアント端末に提供するウェブサーバとを備える。前記スタイルシートは前記XMLデータの表示レイアウトを規定するものであって、前記複数のスタイルシートはそれぞれ異なる表示レイアウトを規定する。前記XMLデータ生成手段は、前記要求を行ったクライアント端末に関する情報に基づいて、前記複数のスタイルシートの中から一のスタイルシートを選択し、前記生成するXMLデータに前記選択されたスタイルシートの格納場所を記述する。
【0009】
本発明に係るデータ処理方法は、ネットワークを介して1以上のクライアント端末及び複数のスタイルシートを記憶するサーバに接続されるデバイスにおいて実行されるデータ処理方法であって、前記クライアント端末からの要求に応じて、前記デバイスの状態の情報である管理データ情報を記述したXMLデータを生成するXMLデータ生成ステップと、前記クライアント端末からの要求に応じて、前記XMLデータ生成ステップにおいて生成されたXMLデータを前記クライアント端末に提供するXMLデータ提供ステップとを備える。前記スタイルシートは前記XMLデータの表示レイアウトを規定するものであって、前記複数のスタイルシートはそれぞれ異なる表示レイアウトを規定する。前記XMLデータ生成ステップにおいて、前記要求を行ったクライアント端末に関する情報に基づいて、前記複数のスタイルシートの中から一のスタイルシートを選択し、前記生成するXMLデータに前記選択されたスタイルシートの格納場所を記述する。
【0010】
本発明に係るデータ処理プログラムは、ネットワークを介して1以上のクライアント端末及び複数のスタイルシートを記憶するサーバに接続されるデバイスに、前記クライアント端末からの要求に応じて、前記デバイスの状態の情報である管理データ情報を記述したXMLデータを生成するXMLデータ生成ステップと、前記クライアント端末からの要求に応じて、前記XMLデータ生成ステップにおいて生成されたXMLデータを前記クライアント端末に提供するXMLデータ提供ステップとを実行させる。前記スタイルシートは前記XMLデータの表示レイアウトを規定するものであって、前記複数のスタイルシートはそれぞれ異なる表示レイアウトを規定する。前記XMLデータ生成ステップにおいて、前記要求を行ったクライアント端末に関する情報に基づいて、前記複数のスタイルシートの中から一のスタイルシートを選択し、前記生成するXMLデータに前記選択されたスタイルシートの格納場所を記述する。
【0012】
【発明の実施の形態】
以下、添付の図面を参照して本発明の実施の形態を説明する。
図1に示すネットワーク環境では、種々の共用デバイス100、プリンタなど)、種々のサーバ装置200、クライアント端末300(パーソナルコンピュータなど)などがネットワーク(LAN、インターネットなど)400に接続されている。共用デバイス100は、たとえば、複写機、プリンタ、スキャナ、または、それらの機能を複合した多機能装置(MFP)などの画像形成装置を含む。以下では、1例として共用デバイス100がMFPである場合について説明する。クライアント端末300のユーザは、XMLをサポートしているアプリケーション(たとえばウェブブラウザ)を用いて、XMLデータの表示(閲覧、印刷など)をする。XMLデータは、たとえば、デバイスの内部情報であるデバイス管理情報である。具体的には、クライアント端末300のアプリケーション(ウェブブラウザ)は、HTTP(Hypertext Transfer Protocol)によりMFP100のURIを指定してMFP100のウェブサーバにリクエストを送る。ウェブサーバは、クライアント端末からのHTTPによる要求を受けてクライアント端末にデータを提供する。ウェブブラウザは、受け取ったデータを表示する。本実施形態では、ウェブブラウザは、たとえば、XMLデータとスタイルシートを解析して、受け取ったXMLデータをたとえばHTMLデータに変換して、表示(閲覧、印刷など)を行う。
【0013】
ここで、XMLデータを表現するための1以上のスタイルシートは、MFP100とは別のサーバ装置200に記憶しておく。なお、サーバ装置200は、同じLAN内に設けてもよいし、LAN外の、たとえばインターネット経由でアクセスするサーバであってもよい。XMLデータの文書型宣言部は、そのスタイルシートを指定する記述を含んでいる。前述のデバイス管理情報のXMLデータの場合、サーバ200に記憶されているスタイルシートを指定する。クライアント端末300のウェブブラウザは、MFP100からXMLデータを受け取ると、XMLデータに含まれる記述に従ってサーバ装置200に記憶されているスタイルシートを参照してXMLデータの表示をする。
【0014】
スタイルシートをデバイス100とは別のサーバ装置200に記憶しておくので、多種多様なスタイルシートを記憶できる。たとえば、ユーザごとにカスタマイズした任意のスタイルシートを記憶できる。カスタマイズにより、デバイス、クライアントなどの要望に応じた柔軟な表示レイアウトが可能になる。また、日本語、英語などの複数の異なる言語のスタイルシートを記憶できる。また、障害者を考慮したユニバーサルデザインを用いたスタイルシートも記憶できる。
【0015】
スタイルシートをデバイス100とは別のサーバ装置200に記憶しておくことにより種々の有用な効果が得られる。複数のスタイルシートをデバイス100とは別のサーバ装置200に記憶しておくことにより、デバイス100には、スタイルシートを格納するためのメモリの記憶容量が不要になる。また、同じスタイルシートを多数のデバイス100(たとえば同じ機能のプリンタ)に記憶させている場合、スタイルシートのバージョンアップはデバイスごとに行う必要がある。これに対し、サーバ装置200内の1つの同じスタイルシートを参照させるようにすると、サーバ装置200のそのスタイルシートをバージョンアップするだけで対処できる。また、記憶容量の大きい記憶装置に、多数のスタイルシートを記憶しておき、その中から選択することにより、XMLデータを多様なレイアウトで表示できる。たとえば、ユーザごとにスタイルシートを用意しておくと、ユーザごとに任意のカスタマイズしたスタイルシートとすることができる。また、日本語用スタイルシート、英語用スタイルシートなど、各言語用スタイルシートを用意しておけばデバイスの設置場所に対応した複数の異なる言語(日本語、英語など)の中からの選択も容易になる。また、障害者を考慮したユニバーサルデザインを用いたスタイルシートの指定も容易になる。
【0016】
スタイルシートが複数用意されている場合は、MFP設置時に1つのスタイルシートに決めておいてもよいし、MFPが種々の条件に応じて決定するようにしてもよい。たとえば、MFPがアクセスしてきたクライアント端末のIPアドレスやユーザ名を参照して決定するようにしてもよい。たとえば、IPアドレスからどの国にあるクライアント端末であるかを判断し、その国に対応した言語のスタイルシートを選択する。また、あらかじめユーザまたはIPアドレスごとにスタイルシートが関連付けられているのであれば、対応するスタイルシートを選択する。そして、選択されたスタイルシートを参照するように記述されたXMLデータを生成する。
【0017】
次に、ネットワーク400に接続される各装置について具体的に説明する。共用デバイス100の1つである多機能装置(MFP)は、プリンタ、スキャナなどとして機能するデバイスである。多機能装置は、たとえば、図2に示すように、原稿の画像を読み取るスキャナ装置102、印刷データを受け取って紙に印刷するプリントエンジン部104、および、それらを制御するコントローラ106を備える。コントローラ106は、操作パネル部108、外部のネットワーク400に接続するネットワークインタフェースを含む通信装置110などと接続される。操作パネル108は、使用者による各種入力設定や表示を行う。プリンタとして機能する場合、ネットワークを介した通信を行う通信装置110を介して外部から印刷データを受け取ると、ラスターデータを作成し、プリントエンジン部104を制御して印刷を行う。また、コントローラ106は、操作パネル108を介する設定や各種センサ(図示しない)の出力結果を基にデバイス自身の管理データを作成し、要求があると提供する。
【0018】
コントローラ106は、全体を制御するCPU120、記憶装置(HDD)122、画像処理部124、画像メモリ126などを備える。記憶装置122は、たとえばハードディスク装置であり、多機能装置を制御する制御プログラム130の他に、当該多機能装置に関する情報を収集し管理する状態管理部132と、XMLデータ生成部134と、ウェブサーバ136とを記憶する。また、生成されたXMLデータを記憶するXMLデータ記憶部138を備える。XMLデータ生成部134は、状態管理部132が収集した当該多機能装置に関する情報のXMLデータを生成する。なお、このXMLデータは、当該デバイスとは別の外部のサーバ装置に記憶されているスタイルシートを参照するように記述される。ウェブサーバ136は、外部のクライアントから管理データの閲覧要求があると、XML生成部134により生成されたXMLデータを通信装置110を介して提供する。
【0019】
サーバ装置200は、MFP100とは別にネットワークに接続されている共用装置であり、図3に示すように、通常のコンピュータと同様に、全体を制御するCPU202、キーボードなどの入力装置204、ディスプレイ装置206、記憶装置(HDD)208及び、ネットワーク500に接続するネットワークインタフェースを含む通信装置210を備える。記憶装置208には、OSプログラム(図示しない)の他、ウェブサーバ220、1以上のスタイルシート222などを記憶する。
【0020】
クライアント端末300は、たとえばパーソナルコンピュータ(PC)であり、パーソナルコンピュータは、たとえば、図4に示すように、全体を制御するCPU302、キーボードなどの入力装置304、ディスプレイ装置306、記憶装置(HDD)308及び、ネットワーク400に接続するネットワークインタフェースを含む通信装置310を備える。記憶装置308は、OSプログラム(図示しない)などの他、XMLデータを表示するためのアプリケーションであるウェブブラウザ320を格納している。
【0021】
このネットワーク環境において、使用者は、クライアント端末300でウェブブラウザ320を起動する。そのウェブブラウザ320で、MFP100のURIを入力することにより、MFP100のウェブサーバ136と接続を行う。
【0022】
MFP100において、ウェブサーバ136は、クライアント端末300のウェブブラウザ320から管理データ要求を受け取ると、XMLデータ生成部134に管理データを要求する。XMLデータ生成部134は、状態管理部132からMFP100の管理データ情報を取得し、そのXMLデータを作成する。ウェブサーバ136は、作成されたXMLデータをクライアント端末300に送信する。
【0023】
図5は、管理データのXMLデータの1例である。この管理データによれば、以下のことが分かる。このMFPの製品名は「abc−001」である。原稿トレイは装着されている。用紙トレイは装着されており、その名称はトレイ1であり、用紙サイズはレターであり、媒体は普通紙であり、用紙の搬送方向は短辺であり、トレイの用紙収容容量は250枚であり、用紙はトレイに収納されている。このXMLデータの2行目にスタイルシートが指定されている。ここで、href=の後にスタイルシートのURIが記述され、type=の後にスタイルシートのタイプが記述される。
【0024】
クライアント端末300のブラウザ320は、XMLデータを受け取ると、XMLデータに指定されたスタイルシートを要求する。この例では、サーバ装置200に格納されているスタイルシートが指定されているので、サーバ装置200のウェブサーバ220にスタイルシートを要求する。これに応えて、ウェブサーバ220は、要求されたスタイルシートをクライアント端末300に送信する。図6は、図5のXMLデータで指定されたスタイルシートの1例である。スタイルシートを受け取ったクライアント端末300のブラウザ320は、MFP100から受け取ったXMLデータとサーバ装置200から受け取ったスタイルシートとを解析し、たとえばHTMLデータに変換して画面に表示する。
【0025】
図7は、クライアント端末300のフローチャートである。ユーザによりウェブブラウザ320が起動されたとき、MFP100のウェブサーバ136のURIが指定されていると(S100でYES)、ウェブサーバ136にXMLデータの要求を送信する(S102)。なお、ウェブサーバ136のURIを指定していない場合は(S100でNO)、他の処理をする(S104)。
【0026】
MFP100からXMLデータを受信すると(S106でYES)、受け取ったXMLデータにスタイルシートの指定がされているとき(S110でYES)クライアントの指定に基いて参照すべきスタイルシートを決定し、指定されたサーバ装置200にスタイルシートの要求を送信する(S112)。MFP100からXMLデータが受信されていない場合(S106でNO)、ウェブブラウザ320の所定の設定時間を経過していない場合は(S108でNO)、ステップS106に戻ってXMLデータの送信をチェックする。設定時間は、XMLデータの送信に必要な時間を考慮して設定する。設定時間を経過すると(S108でYES)、XMLデータ受信の処理を打ち切って終了する。
【0027】
MFP100からのXMLデータが受信されている場合に(S106でYES)、次に、サーバ装置200からスタイルシートが受信されると(S114でYES)、XMLデータとスタイルシートを解析し、スタイルシートの指定に従ってデータを表示するHTMLデータを生成する(S118)。これによりHTMLデータの表示が行える。ウェブブラウザ320の所定の設定時間を経過していない場合は(S116でNO)、ステップS114に戻ってスタイルシートの送信をチェックする。設定時間は、スタイルシートの送信に必要な時間を考慮して設定する。ウェブブラウザ320の設定時間を経過すると(S116でYES)、スタイルシート受信の処理を打ち切って終了する。
【0028】
図8は、MFP100のXMLデータ生成部134のプログラムのフローチャートである。クライアント端末(PC端末)300からMFP100のウェブサーバ122にデバイス情報の要求があると、状態管理部132よりデバイス情報を取得して(S200でYES)、取得したデバイス情報をもとにXMLデータを作成する(S202)。XMLデータを作成すると(S204でYES)、ウェブサーバ120に提供してXMLデータを送らせる(S206)。これにより、クライアント端末300でXMLデータの表示が行える。なお、このMFP100で実行するプログラムは、当業者に知られているように、スクリプト、外部プログラムなどの種々の形態で実装できる。
【0029】
図9は、サーバ装置200のウェブサーバ220のフローチャートである。クライアント端末(PC端末)300からスタイルシートの要求があると(S300でYES)、その指定されたスタイルシートが存在すれば(S302でYES)、そのスタイルシートをクライアント端末300に送信する(S304)。指定されたスタイルシートが存在しなければ(S302でNO)、処理を終了する。
【0030】
なお、前述の実施の形態では、XMLデータを提供するデータ提供手段としてウェブサーバを用い、XML閲覧手段としてウェブブラウザを用いた。しかし、前述の実施形態に必要な機能を備える他のアプリケーションを用いてもよい。
【0031】
【発明の効果】
XMLデータを格納するデバイスとは別のサーバ装置にスタイルシートを置くことにより、デバイスにはスタイルシートを格納するための記憶容量が必要でない。
また、複数の装置で使用される1つの同じスタイルシートのバージョンアップが、サーバ装置のスタイルシートのバージョンアップをするのみで容易に対処できる。
【図面の簡単な説明】
【図1】 第1の実施の形態に係るネットワークシステムのブロック図
【図2】 MFPのブロック図
【図3】 サーバのブロック図
【図4】 クライアント端末のブロック図
【図5】 デバイス管理装置のXMLファイルの1例の図
【図6】 スタイルシートの1例の図
【図7】 クライアント端末のフローチャート
【図8】 MFPのXMLデータ生成部のフローチャート
【図9】 サーバ装置のウェブサーバのフローチャート
【符号の説明】
100 デバイス(たとえばMFP)、 102 通信装置、 106 コントローラ、 112 CPU、 114 記憶装置、 122 状態管理部、 124 ウェブサーバ、 126 XML生成プログラム、 200 サーバ装置、 202 CPU、 208 記憶装置、 210 通信装置、 220 ウェブサーバ、 222 スタイルシート記憶部、 300 クライアント端末、 302 CPU、 320 ウェブブラウザ。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to displaying information of XML data via a network.
[0002]
[Prior art]
In a system in which a plurality of devices are connected via a network (for example, a LAN), when one device stores information about the device as HTML data, the other device receives and displays the HTML data. (Browsing, printing, etc.) HTML (HyperText Markup Language) is a language born to write web pages. For example, even in a system in which a device such as a printer is used via a network, if the device stores internal information (for example, management information) as HTML data, other devices (for example, personal computer terminals) Information can be displayed. For example, Japanese Patent Laid-Open No. 2001-186301 describes communication of error information such as a multi-function device (MFP) using HTML data.
[0003]
Receiving HTML data has problems such as network load due to transmission in units of pages and the inability to reuse data. Therefore, it is conceivable to adopt XML and create a web page in XML. XML (eXtensible Markup Language) is a markup language with an extended function. Since XML itself does not define a layout, the layout of data described in XML (hereinafter referred to as XML data) is a style sheet described in a style sheet language (for example, XSL (eXtensible Stylesheet Language) or CSS (Cascading Style Sheet)). Stipulate. XSLT (XSL Transformations) is one of the languages that perform XSL data transformation processing.
[0004]
XML is used for various purposes, but is suitable for data transmission. For example, when managing various devices (such as a printer) connected to a network, device management information can be held as XML data. When browsing the management information with a web browser of a device external to the device, the web browser analyzes and displays the XML data with reference to a style sheet held in the device.
[0005]
[Patent Document 1]
JP-A-2001-186301 [0006]
[Problems to be solved by the invention]
In order to facilitate the display of XML data, the device itself is provided with an application (for example, a web server) that supports XML, stores XML data and style sheets for management data of the device itself, and the like via an external network It is conceivable to provide XML data in response to a request from the terminal. This reduces the load on the network. However, in this case, each device needs a storage capacity for storing the style sheet. If the same style sheet is stored in many devices, it is necessary to reinstall the style sheet for each device when upgrading the style sheet. In addition, it is desirable that the XML data can be displayed in a flexible display form according to the status of the device or client terminal, but a large storage capacity is required to store a large number of style sheets.
[0007]
An object of the present invention is to enable display of XML data in a device connected to a network without unnecessarily increasing the storage capacity.
[0008]
[Means for Solving the Problems]
A device according to the present invention is a device (for example, an image forming apparatus) connected to a server that stores one or more client terminals and a plurality of style sheets via a network, in response to a request from the client terminal, XML data generating means for generating XML data describing management data information , which is information on the state of the device, and the XML data generated by the XML data generating means in response to a request from the client terminal And a web server to be provided. The style sheet defines a display layout of the XML data, and the plurality of style sheets define different display layouts. The XML data generation unit selects one style sheet from the plurality of style sheets based on information on the client terminal that has made the request, and stores the selected style sheet in the generated XML data. Describe the location.
[0009]
A data processing method according to the present invention is a data processing method executed in a device connected to a server that stores one or more client terminals and a plurality of style sheets via a network, in response to a request from the client terminal. In response, an XML data generation step for generating XML data describing management data information that is information on the state of the device, and the XML data generated in the XML data generation step in response to a request from the client terminal. Providing XML data to be provided to the client terminal. The style sheet defines a display layout of the XML data, and the plurality of style sheets define different display layouts. In the XML data generation step, one style sheet is selected from the plurality of style sheets based on information on the client terminal that has made the request, and the selected style sheet is stored in the generated XML data. Describe the location.
[0010]
According to a data processing program according to the present invention, a device connected to a server that stores one or more client terminals and a plurality of style sheets via a network responds to a request from the client terminal. An XML data generation step for generating XML data describing management data information, and an XML data provision for providing the XML data generated in the XML data generation step to the client terminal in response to a request from the client terminal Step. The style sheet defines a display layout of the XML data, and the plurality of style sheets define different display layouts. In the XML data generation step, one style sheet is selected from the plurality of style sheets based on information on the client terminal that has made the request, and the selected style sheet is stored in the generated XML data. Describe the location.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
In the network environment shown in FIG. 1, various shared devices 100, printers, etc.), various server apparatuses 200, client terminals 300 (personal computers, etc.), etc. are connected to a network (LAN, Internet, etc.) 400. Shared device 100 includes, for example, an image forming apparatus such as a copier, a printer, a scanner, or a multi-function device (MFP) that combines these functions. Hereinafter, a case where the shared device 100 is an MFP will be described as an example. A user of the client terminal 300 displays (browses, prints, etc.) XML data using an application (for example, a web browser) that supports XML. The XML data is, for example, device management information that is internal information of the device. Specifically, the application (web browser) of client terminal 300 designates the URI of MFP 100 using HTTP (Hypertext Transfer Protocol) and sends a request to the web server of MFP 100. The web server provides data to the client terminal in response to an HTTP request from the client terminal. The web browser displays the received data. In the present embodiment, the web browser analyzes, for example, XML data and a style sheet, converts the received XML data into, for example, HTML data, and performs display (viewing, printing, etc.).
[0013]
Here, one or more style sheets for expressing the XML data are stored in a server device 200 different from the MFP 100. The server device 200 may be provided in the same LAN, or may be a server that is accessed outside the LAN, for example, via the Internet. The document type declaration part of the XML data includes a description that specifies the style sheet. In the case of the XML data of the device management information described above, the style sheet stored in the server 200 is designated. When the web browser of the client terminal 300 receives the XML data from the MFP 100, the XML data is displayed by referring to the style sheet stored in the server device 200 in accordance with the description included in the XML data.
[0014]
Since the style sheet is stored in the server device 200 different from the device 100, a wide variety of style sheets can be stored. For example, an arbitrary style sheet customized for each user can be stored. Customization enables a flexible display layout that meets the needs of devices, clients, and the like. In addition, style sheets of a plurality of different languages such as Japanese and English can be stored. It can also store style sheets using a universal design that considers people with disabilities.
[0015]
By storing the style sheet in the server apparatus 200 different from the device 100, various useful effects can be obtained. By storing a plurality of style sheets in the server apparatus 200 different from the device 100, the device 100 does not need a memory capacity for storing the style sheets. Further, when the same style sheet is stored in many devices 100 (for example, printers having the same function), it is necessary to upgrade the style sheet for each device. On the other hand, if the same style sheet in the server apparatus 200 is referred to, it can be dealt with only by upgrading the style sheet of the server apparatus 200. In addition, a large number of style sheets are stored in a storage device having a large storage capacity, and XML data can be displayed in various layouts by selecting from among them. For example, if a style sheet is prepared for each user, any customized style sheet can be obtained for each user. In addition, if you prepare a style sheet for each language, such as a Japanese style sheet or an English style sheet, you can easily select from multiple languages (Japanese, English, etc.) corresponding to the location of the device. become. In addition, it becomes easy to specify a style sheet using a universal design that takes into account disabled people.
[0016]
When a plurality of style sheets are prepared, one style sheet may be determined when the MFP is installed, or the MFP may be determined according to various conditions. For example, the determination may be made with reference to the IP address or user name of the client terminal that the MFP has accessed. For example, it is determined from which country the client terminal is located from the IP address, and the style sheet of the language corresponding to that country is selected. If a style sheet is associated with each user or IP address in advance, the corresponding style sheet is selected. Then, XML data described so as to refer to the selected style sheet is generated.
[0017]
Next, each device connected to the network 400 will be specifically described. A multi-function device (MFP), which is one of the shared devices 100, is a device that functions as a printer, a scanner, or the like. For example, as shown in FIG. 2, the multi-function device includes a scanner device 102 that reads an image of a document, a print engine unit 104 that receives print data and prints it on paper, and a controller 106 that controls them. The controller 106 is connected to the operation panel unit 108, the communication device 110 including a network interface connected to the external network 400, and the like. The operation panel 108 performs various input settings and display by the user. When functioning as a printer, when print data is received from the outside via the communication device 110 that performs communication via a network, raster data is created and the print engine unit 104 is controlled to perform printing. Further, the controller 106 creates management data of the device itself based on settings via the operation panel 108 and output results of various sensors (not shown), and provides them when requested.
[0018]
The controller 106 includes a CPU 120 that controls the whole, a storage device (HDD) 122, an image processing unit 124, an image memory 126, and the like. The storage device 122 is, for example, a hard disk device. In addition to the control program 130 for controlling the multi-function device, the storage device 122 collects and manages information related to the multi-function device, an XML data generation unit 134, and a web server 136 is stored. In addition, an XML data storage unit 138 that stores the generated XML data is provided. The XML data generation unit 134 generates XML data of information related to the multi-function device collected by the state management unit 132. The XML data is described so as to refer to a style sheet stored in an external server device different from the device. When there is a management data browsing request from an external client, the web server 136 provides the XML data generated by the XML generation unit 134 via the communication device 110.
[0019]
The server apparatus 200 is a shared apparatus connected to a network separately from the MFP 100. As shown in FIG. 3, the server apparatus 200 controls the entire CPU 202, an input device 204 such as a keyboard, and a display device 206, as in a normal computer. A communication device 210 including a storage device (HDD) 208 and a network interface connected to the network 500. The storage device 208 stores an OS program (not shown), a web server 220, one or more style sheets 222, and the like.
[0020]
The client terminal 300 is, for example, a personal computer (PC). The personal computer is, for example, a CPU 302 that controls the whole, an input device 304 such as a keyboard, a display device 306, and a storage device (HDD) 308 as shown in FIG. And a communication device 310 including a network interface connected to the network 400. In addition to an OS program (not shown), the storage device 308 stores a web browser 320 that is an application for displaying XML data.
[0021]
In this network environment, the user activates the web browser 320 on the client terminal 300. The web browser 320 is connected to the web server 136 of the MFP 100 by inputting the URI of the MFP 100.
[0022]
In MFP 100, upon receiving a management data request from web browser 320 of client terminal 300, web server 136 requests management data from XML data generation unit 134. The XML data generation unit 134 acquires the management data information of the MFP 100 from the state management unit 132 and creates the XML data. The web server 136 transmits the created XML data to the client terminal 300.
[0023]
FIG. 5 is an example of XML data of management data. According to this management data, the following can be understood. The product name of this MFP is “abc-001”. The document tray is installed. The paper tray is mounted, its name is Tray 1, the paper size is letter, the medium is plain paper, the paper transport direction is the short side, and the paper capacity of the tray is 250 sheets The paper is stored in a tray. A style sheet is specified in the second line of the XML data. Here, the URI of the style sheet is described after href =, and the type of the style sheet is described after type =.
[0024]
When the browser 320 of the client terminal 300 receives the XML data, the browser 320 requests the style sheet specified in the XML data. In this example, since the style sheet stored in the server apparatus 200 is specified, the style sheet is requested to the web server 220 of the server apparatus 200. In response to this, the web server 220 transmits the requested style sheet to the client terminal 300. FIG. 6 is an example of a style sheet designated by the XML data of FIG. Upon receiving the style sheet, the browser 320 of the client terminal 300 analyzes the XML data received from the MFP 100 and the style sheet received from the server apparatus 200, converts it to, for example, HTML data, and displays it on the screen.
[0025]
FIG. 7 is a flowchart of the client terminal 300. If the URI of the web server 136 of the MFP 100 is specified when the web browser 320 is activated by the user (YES in S100), a request for XML data is transmitted to the web server 136 (S102). If the URI of the web server 136 is not designated (NO in S100), other processing is performed (S104).
[0026]
When XML data is received from MFP 100 (YES in S106), when a style sheet is designated in the received XML data (YES in S110), a style sheet to be referred to is determined based on the designation of the client and designated. A style sheet request is transmitted to the server apparatus 200 (S112). If XML data has not been received from the MFP 100 (NO in S106), if the predetermined set time of the web browser 320 has not elapsed (NO in S108), the process returns to step S106 to check the transmission of XML data. The set time is set in consideration of the time required for transmitting XML data. When the set time has elapsed (YES in S108), the XML data reception process is terminated and the process ends.
[0027]
When XML data from MFP 100 is received (YES in S106), next, when a style sheet is received from server apparatus 200 (YES in S114), the XML data and the style sheet are analyzed, and the style sheet HTML data for displaying data is generated according to the designation (S118). As a result, HTML data can be displayed. If the predetermined set time of the web browser 320 has not elapsed (NO in S116), the process returns to step S114 to check transmission of the style sheet. The setting time is set in consideration of the time required for transmitting the style sheet. When the set time of web browser 320 has elapsed (YES in S116), the style sheet reception process is terminated and the process ends.
[0028]
FIG. 8 is a flowchart of the program of the XML data generation unit 134 of the MFP 100. When there is a request for device information from the client terminal (PC terminal) 300 to the web server 122 of the MFP 100, the device information is acquired from the state management unit 132 (YES in S200), and XML data is obtained based on the acquired device information. Create (S202). When the XML data is created (YES in S204), the XML data is provided to the web server 120 and sent (S206). Thereby, the XML data can be displayed on the client terminal 300. The program executed by MFP 100 can be implemented in various forms such as a script and an external program, as is known to those skilled in the art.
[0029]
FIG. 9 is a flowchart of the web server 220 of the server device 200. When there is a style sheet request from the client terminal (PC terminal) 300 (YES in S300), if the designated style sheet exists (YES in S302), the style sheet is transmitted to the client terminal 300 (S304). . If the designated style sheet does not exist (NO in S302), the process ends.
[0030]
In the above-described embodiment, a web server is used as data providing means for providing XML data, and a web browser is used as XML browsing means. However, other applications having functions necessary for the above-described embodiment may be used.
[0031]
【The invention's effect】
By placing the style sheet on a server device different from the device that stores the XML data, the device does not need a storage capacity for storing the style sheet.
In addition, the upgrade of the same style sheet used in a plurality of apparatuses can be easily dealt with only by upgrading the style sheet of the server apparatus.
[Brief description of the drawings]
1 is a block diagram of a network system according to a first embodiment. FIG. 2 is a block diagram of an MFP. FIG. 3 is a block diagram of a server. FIG. 4 is a block diagram of a client terminal. Fig. 6 is a diagram of an example of an XML file. Fig. 6 is a diagram of an example of a style sheet. Fig. 7 is a flowchart of a client terminal. Fig. 8 is a flowchart of an XML data generation unit of the MFP. Explanation of symbols]
100 device (for example, MFP), 102 communication device, 106 controller, 112 CPU, 114 storage device, 122 state management unit, 124 web server, 126 XML generation program, 200 server device, 202 CPU, 208 storage device, 210 communication device, 220 web server, 222 style sheet storage unit, 300 client terminal, 302 CPU, 320 web browser.

Claims (15)

ネットワークを介して1以上のクライアント端末及び複数のスタイルシートを記憶するサーバに接続されるデバイスであって、
前記クライアント端末からの要求に応じて、前記デバイスの状態の情報である管理データ情報を記述したXMLデータを生成するXMLデータ生成手段と、
前記XMLデータ生成手段により生成されたXMLデータを前記クライアント端末に提供するウェブサーバとを備え、
前記スタイルシートは前記XMLデータの表示レイアウトを規定するものであって、前記複数のスタイルシートはそれぞれ異なる表示レイアウトを規定し、
前記XMLデータ生成手段は、前記要求を行ったクライアント端末に関する情報に基づいて、前記複数のスタイルシートの中から一のスタイルシートを選択し、前記生成するXMLデータに前記選択されたスタイルシートの格納場所を記述することを特徴とするデバイス。
A device connected to a server storing one or more client terminals and a plurality of style sheets via a network,
In response to a request from the client terminal, XML data generating means for generating XML data describing management data information that is information on the state of the device ;
And a web server for providing XML data generated by the XML data generating unit to the client terminal,
The style sheet defines a display layout of the XML data, and the plurality of style sheets define different display layouts,
The XML data generation unit selects one style sheet from the plurality of style sheets based on information on the client terminal that has made the request, and stores the selected style sheet in the generated XML data. A device characterized by describing a location.
前記クライアント端末に関する情報は、前記クライアント端末のIPアドレスであることを特徴とする請求項1に記載のデバイス。  The device according to claim 1, wherein the information related to the client terminal is an IP address of the client terminal. 前記XMLデータ生成手段は、前記IPアドレスから前記クライアント端末が設置されている国を判断し、前記複数のスタイルシートの中から前記クライアント端末が設置されている国に対応する前記スタイルシートを選択することを特徴とする請求項2に記載のデバイス。  The XML data generation means determines a country in which the client terminal is installed from the IP address, and selects the style sheet corresponding to the country in which the client terminal is installed from the plurality of style sheets. The device according to claim 2. 前記ネットワークはインターネットとインターネットに接続されたLANとを含み、前記デバイスは前記LANに接続され、前記サーバはインターネットを介して前記LANに接続されることを特徴とする請求項1乃至3のいずれか一に記載されたデバイス。  4. The network according to claim 1, wherein the network includes the Internet and a LAN connected to the Internet, the device is connected to the LAN, and the server is connected to the LAN via the Internet. Device described in 1. 前記デバイスは画像形成装置であることを特徴とする請求項1乃至4の何れか一に記載されたデバイス。  The device according to claim 1, wherein the device is an image forming apparatus. ネットワークを介して1以上のクライアント端末及び複数のスタイルシートを記憶するサーバに接続されるデバイスにおいて実行されるデータ処理方法であって、
前記クライアント端末からの要求に応じて、前記デバイスの状態の情報である管理データ情報を記述したXMLデータを生成するXMLデータ生成ステップと、
前記XMLデータ生成ステップにおいて生成されたXMLデータを前記クライアント端末に提供するXMLデータ提供ステップとを備え、
前記スタイルシートは前記XMLデータの表示レイアウトを規定するものであって、前記複数のスタイルシートはそれぞれ異なる表示レイアウトを規定し、
前記XMLデータ生成ステップにおいて、前記要求を行ったクライアント端末に関する情報に基づいて、前記複数のスタイルシートの中から一のスタイルシートを選択し、前記生成するXMLデータに前記選択されたスタイルシートの格納場所を記述することを特徴とするデータ処理方法。
A data processing method executed in a device connected to a server that stores one or more client terminals and a plurality of style sheets via a network,
In response to a request from the client terminal, an XML data generation step for generating XML data describing management data information that is information on the state of the device ;
A XML data providing step of providing the XML data generated in the XML data generation step to said client terminal,
The style sheet defines a display layout of the XML data, and the plurality of style sheets define different display layouts,
In the XML data generation step, one style sheet is selected from the plurality of style sheets based on information on the client terminal that has made the request, and the selected style sheet is stored in the generated XML data. A data processing method characterized by describing a place.
前記クライアント端末に関する情報は、前記クライアント端末のIPアドレスであることを特徴とする請求項6に記載のデータ処理方法。  The data processing method according to claim 6, wherein the information about the client terminal is an IP address of the client terminal. 前記XMLデータ生成ステップにおいて、前記IPアドレスから前記クライアント端末が設置されている国を判断し、前記複数のスタイルシートの中から前記クライアント端末が設置されている国に対応する前記スタイルシートを選択することを特徴とする請求項7に記載のデータ処理方法。  In the XML data generation step, the country in which the client terminal is installed is determined from the IP address, and the style sheet corresponding to the country in which the client terminal is installed is selected from the plurality of style sheets. The data processing method according to claim 7. 前記ネットワークはインターネットとインターネットに接続されたLANとを含み、前記デバイスは前記LANに接続され、前記サーバはインターネットを介して前記LANに接続されることを特徴とする請求項6乃至8のいずれか一に記載されたデータ処理方法。  9. The network according to claim 6, wherein the network includes the Internet and a LAN connected to the Internet, the device is connected to the LAN, and the server is connected to the LAN via the Internet. A data processing method described in 1. 前記デバイスは画像形成装置であることを特徴とする請求項6乃至9の何れか一に記載されたデータ処理方法。  10. The data processing method according to claim 6, wherein the device is an image forming apparatus. ネットワークを介して1以上のクライアント端末及び複数のスタイルシートを記憶するサーバに接続されるデバイスに、
前記クライアント端末からの要求に応じて、前記デバイスの状態の情報である管理データ情報を記述したXMLデータを生成するXMLデータ生成ステップと、
前記XMLデータ生成ステップにおいて生成されたXMLデータを前記クライアント端末に提供するXMLデータ提供ステップとを実行させ、
前記スタイルシートは前記XMLデータの表示レイアウトを規定するものであって、前記複数のスタイルシートはそれぞれ異なる表示レイアウトを規定し、
前記XMLデータ生成ステップにおいて、前記要求を行ったクライアント端末に関する情報に基づいて、前記複数のスタイルシートの中から一のスタイルシートを選択し、前記生成するXMLデータに前記選択されたスタイルシートの格納場所を記述することを特徴とするデータ処理プログラム。
To a device connected to a server that stores one or more client terminals and a plurality of style sheets via a network,
In response to a request from the client terminal, an XML data generation step for generating XML data describing management data information that is information on the state of the device ;
The XML data generated in the XML data generating step is performed the XML data providing step of providing to said client terminal,
The style sheet defines a display layout of the XML data, and the plurality of style sheets define different display layouts,
In the XML data generation step, one style sheet is selected from the plurality of style sheets based on information on the client terminal that has made the request, and the selected style sheet is stored in the generated XML data. A data processing program characterized by describing a place.
前記クライアント端末に関する情報は、前記クライアント端末のIPアドレスであることを特徴とする請求項11に記載のデータ処理プログラム。  12. The data processing program according to claim 11, wherein the information regarding the client terminal is an IP address of the client terminal. 前記XMLデータ生成ステップにおいて、前記IPアドレスから前記クライアント端末が設置されている国を判断し、前記複数のスタイルシートの中から前記クライアント端末が設置されている国に対応する前記スタイルシートを選択することを特徴とする請求項12に記載のデータ処理プログラム。  In the XML data generation step, the country in which the client terminal is installed is determined from the IP address, and the style sheet corresponding to the country in which the client terminal is installed is selected from the plurality of style sheets. The data processing program according to claim 12, wherein: 前記ネットワークはインターネットとインターネットに接続されたLANとを含み、前記デバイスは前記LANに接続され、前記サーバはインターネットを介して前記LANに接続されることを特徴とする請求項11乃至13のいずれか一に記載されたデータ処理プログラム。  14. The network according to claim 11, wherein the network includes the Internet and a LAN connected to the Internet, the device is connected to the LAN, and the server is connected to the LAN via the Internet. A data processing program described in 1. 前記デバイスは画像形成装置であることを特徴とする請求項11乃至14の何れか一に記載されたデータ処理プログラム。  15. The data processing program according to claim 11, wherein the device is an image forming apparatus.
JP2002371571A 2002-12-24 2002-12-24 Device, data processing method and data processing program Expired - Fee Related JP4284995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002371571A JP4284995B2 (en) 2002-12-24 2002-12-24 Device, data processing method and data processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002371571A JP4284995B2 (en) 2002-12-24 2002-12-24 Device, data processing method and data processing program

Publications (2)

Publication Number Publication Date
JP2004206203A JP2004206203A (en) 2004-07-22
JP4284995B2 true JP4284995B2 (en) 2009-06-24

Family

ID=32810420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002371571A Expired - Fee Related JP4284995B2 (en) 2002-12-24 2002-12-24 Device, data processing method and data processing program

Country Status (1)

Country Link
JP (1) JP4284995B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7475351B1 (en) 2003-12-02 2009-01-06 Sun Microsystems, Inc. Interactive drag and snap connection tool
JP4690798B2 (en) * 2005-07-05 2011-06-01 株式会社リコー Network equipment
CN106547529A (en) 2015-09-23 2017-03-29 百度在线网络技术(北京)有限公司 Page makeup method and device

Also Published As

Publication number Publication date
JP2004206203A (en) 2004-07-22

Similar Documents

Publication Publication Date Title
US6938202B1 (en) System for retrieving and printing network documents
US20040111670A1 (en) Server and client terminal for presenting device management data of XML data
US7978360B2 (en) Print system
JP5371726B2 (en) Information processing apparatus, information processing apparatus control method, and program
US7538896B2 (en) Data processing device generating print jobs in PDL and BMI formats
US20050262441A1 (en) Method and apparatus for printing web pages
JP2009038526A (en) Printing server apparatus
US10455101B2 (en) Server, image processing unit, and non-transitory recording medium for displaying error screen
JP2011131382A (en) Image forming system and image forming apparatus
JP2970521B2 (en) Document storage device
EP1439684B1 (en) Apparatus, method and system for providing information in accordance with one of a plurality of protocols
EP2175360A2 (en) Print control apparatus and printticket control method
US7458023B2 (en) Data display system for efficient display using XML
US8576432B2 (en) Print service system and print processing method
WO2011055497A1 (en) Management apparatus and method therefor
JP2002373064A (en) Printer and information processor
JP4284995B2 (en) Device, data processing method and data processing program
JP4296775B2 (en) Device and program for displaying XML data
JP2006260089A (en) Print controller, print control program and storage medium
JP2000066867A (en) Printer device and storage medium storing program for page information printing control
JP2009160793A (en) Image formation device
JP2008282311A (en) Network device and data updating method
JP7318386B2 (en) Information processing device and program
US20030103231A1 (en) Printing system
JP2006338281A (en) Printer server, printing system, program and print control method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20051222

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20051222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080325

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080826

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081027

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090204

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090210

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

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

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

Free format text: PAYMENT UNTIL: 20120403

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140403

Year of fee payment: 5

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees