JP2013196370A - Information processing apparatus, information processing system, web page generation method and program - Google Patents
Information processing apparatus, information processing system, web page generation method and program Download PDFInfo
- Publication number
- JP2013196370A JP2013196370A JP2012062740A JP2012062740A JP2013196370A JP 2013196370 A JP2013196370 A JP 2013196370A JP 2012062740 A JP2012062740 A JP 2012062740A JP 2012062740 A JP2012062740 A JP 2012062740A JP 2013196370 A JP2013196370 A JP 2013196370A
- Authority
- JP
- Japan
- Prior art keywords
- web page
- information
- model
- function
- acquisition request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、情報処理装置、情報処理システム、Webページ生成方法、及びプログラムに関する。 The present invention relates to an information processing apparatus, an information processing system, a Web page generation method, and a program.
従来、ネットワークを介して、又は機器内から取得したHTML(Hyper Text Markup Language)データを機器の操作画面として表示するブラウザソフトが搭載された画像形成装置が存在する。このようなブラウソフトの中には、画面を表示するだけでなく、機器制御用に拡張されたスクリプト(以下、「拡張スクリプト」という。)を解釈して機器制御を実行することが可能なものも有る。拡張スクリプトの一例として、「doScan」というメソッドが挙げられる。「doScan」は、スキャンの実行命令を示す拡張スクリプトである。拡張スクリプトを解釈可能なブラウザソフトによれば、拡張スクリプトをブラウザベースのAPI(Application Program Interface)として、カスタマイズ用に提供することができる(例えば、特許文献1)。 2. Description of the Related Art Conventionally, there is an image forming apparatus equipped with browser software that displays HTML (Hyper Text Markup Language) data acquired from a device or from inside the device as an operation screen of the device. Some of these browser softwares can not only display a screen, but also interpret a script extended for device control (hereinafter referred to as “extended script”) to execute device control. There is also. An example of an extension script is a method called “doScan”. “DoScan” is an extended script indicating a scan execution instruction. According to browser software that can interpret an extension script, the extension script can be provided as a browser-based API (Application Program Interface) for customization (for example, Patent Document 1).
例えば、新規アプリケーションを開発するサードベンダ等は、ブラウザソフト上に表示されるWebページを、拡張スクリプトを利用して作成することにより、画像形成装置のハードウェアリソースを利用可能なサービスを、Webページを介して提供することができる。 For example, a third vendor or the like who develops a new application creates a Web page displayed on the browser software by using an extension script, thereby providing a service that can use the hardware resources of the image forming apparatus as a Web page. Can be provided through.
しかしながら、各画像形成装置が有する機能は、必ずしも同じではない。或る画像形成装置においては有効な機能Aが、別の画像形成装置では無効である可能性がある。その場合、機能Aに関する表示要素や拡張スクリプトを含Webページに関しては、当該表示要素等を含むバージョンと含まないバージョンとが作成されなければならない。 However, the functions of the image forming apparatuses are not necessarily the same. There is a possibility that the function A effective in one image forming apparatus is invalid in another image forming apparatus. In that case, for a Web page including a display element and an extension script related to the function A, a version including the display element or the like and a version not including the display element must be created.
近年の画像形成装置の機能は多様化しており、機能の異なる画像形成装置ごとに、異なるバージョンのWebページを予め作成しておくのは、開発者にとって大きな負担となりかねない。 The functions of image forming apparatuses in recent years have been diversified, and creating different versions of Web pages in advance for each image forming apparatus having different functions can be a heavy burden on the developer.
以上のような課題は、画像形成装置に限られず、Webページを表示可能な機器に共通の課題であるといえる。 The above problems are not limited to image forming apparatuses, but can be said to be common problems for devices capable of displaying Web pages.
本発明は、上記の点に鑑みてなされたものであって、Webページの開発効率を向上させることを目的とする。 The present invention has been made in view of the above points, and an object thereof is to improve Web page development efficiency.
そこで上記課題を解決するため、情報処理装置は、機器の機種を示す機種識別情報を含む、Webページの取得要求に応じ、前記機種識別情報ごとに、当該機種情報が示す機種が有する各機能を示す機能情報を記憶する記憶部より、前記取得要求に指定された機種識別情報に対応する前記機能情報を取得する取得部と、前記取得要求において指定されたWebページの雛型データの定義の中で、前記取得部によって取得された前記機能情報とは別の前記機能情報に対応付けられている部分が無効化されたWebページを生成する生成部とを有する。 Accordingly, in order to solve the above-described problem, the information processing apparatus, for each model identification information, includes each function of the model indicated by the model information in response to the Web page acquisition request including the model identification information indicating the model of the device. In the definition of the Web page template data specified in the acquisition request and the acquisition unit that acquires the function information corresponding to the model identification information specified in the acquisition request from the storage unit that stores the function information indicated And a generating unit that generates a Web page in which a part associated with the function information different from the function information acquired by the acquiring unit is invalidated.
Webページの開発効率を向上させることができる。 Web page development efficiency can be improved.
以下、図面に基づいて本発明の実施の形態を説明する。図1は、本発明の実施の形態における情報処理システムの構成例を示す図である。図1の情報処理システム1において、一台以上の画像形成装置10a、一台以上のプロジェクタ10b、及び一台以上の携帯端末10c等は、LAN(Local Area Network)又はインターネット等のネットワーク(有線又は無線の別は問わない。)を介して、Webサーバ装置20と通信可能に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of an information processing system according to an embodiment of the present invention. In the
機器10の第一の例としての画像形成装置10aは、印刷、スキャン、コピー、及びFAX送受信等のうちの二以上の機能を一台の筐体によって実現する複合機である。但し、いずれか一つの機能を単体で有する機器が画像形成装置10aとして用いられてもよい。本実施の形態において、各画像形成装置10aは、操作パネル(後述される、操作パネル15)にWebページの表示等を実行させるプログラムとしてWebブラウザを有する。Webブラウザは、画像形成装置10a用に機能拡張が図られている。そこで、以下、機器10の固有の機能に合わせて機能拡張が図られているWebブラウザを「機器ブラウザ」という。
An
機器10の第二の例としてのプロジェクタ10bは、画像を投影する機器10である。プロジェクタ10bも、例えば、プロジェクタ10bが備える操作パネルにWebページの表示等を実行させるプログラムとしての機器ブラウザを有するものが有る。
A projector 10b as a second example of the
機器10の第三の例としての携帯端末10cは、携帯電話、スマートフォン、タブレット型端末、ノートPC、又はPDA(Personal Digital Assistance)等、携帯可能な情報処理端末である。携帯端末10cも、例えば、携帯端末が備える表示部にWebページの表示等を実行させるプログラムとしての機器ブラウザを有するものが有る。
A
なお、画像形成装置10a、プロジェクタ10b、及び携帯端末10cを区別しないで総称する場合、単に、「機器10」という。
Note that when the
機器ブラウザに関して行われている機能拡張の一つとして、例えば、JavaScript(登録商標)等の標準のスクリプトには含まれていない、機器10を制御するためのスクリプトの解釈が可能である点が挙げられる。斯かるスクリプトを、以下「拡張スクリプト」という。
As one of the function enhancements performed on the device browser, for example, it is possible to interpret a script for controlling the
Webサーバ装置20は、Webページを提供するコンピュータである。本実施の形態において、Webページとは、HTML(HyperText Markup Language)等、所定の形式に基づいて定義された画面情報や、当該画面情報に基づいて表示される画面に対する操作等に応じて発行される処理命令を示すスクリプト等が定義又は記述されているデータをいう。但し、スクリプトは、必ずしも含まれていなくてもよい。各Webページには、相互に異なるURL(Uniform Resource Locator)が割り当てられている。或るURL宛のHTTPリクエストが機器10から送信された場合、当該HTTPリクエストは、当該URLに対応するWebページを提供するWebサーバ装置20に対して転送される。
The
なお、Webサーバ装置20は、複数のコンピュータに分散されて構成されてもよい。また、Webサーバ装置20は、複数の利用者から利用されうるアプリケーションやサービスを提供するクラウド環境の一部又は全部を構成してもよい。
The
図2は、本発明の実施の形態におけるWebサーバ装置のハードウェア構成例を示す図である。図2のWebサーバ装置20は、それぞれバスBで相互に接続されているドライブ装置200、補助記憶装置202、メモリ装置203、CPU204、及びインタフェース装置205等を有する。
FIG. 2 is a diagram illustrating a hardware configuration example of the Web server device according to the embodiment of the present invention. 2 includes a
Webサーバ装置20での処理を実現するプログラムは、CD−ROM等の記録媒体201によって提供される。プログラムを記憶した記録媒体201がドライブ装置200にセットされると、プログラムが記録媒体201からドライブ装置200を介して補助記憶装置202にインストールされる。但し、プログラムのインストールは必ずしも記録媒体201より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置202は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。
A program for realizing processing in the
メモリ装置203は、プログラムの起動指示があった場合に、補助記憶装置202からプログラムを読み出して格納する。CPU204は、メモリ装置203に格納されたプログラムに従ってWebサーバ装置20に係る機能を実行する。インタフェース装置205は、ネットワークに接続するためのインタフェースとして用いられる。
The
図3は、本発明の実施の形態における画像形成装置のハードウェア構成例を示す図である。図3において、画像形成装置10aは、コントローラ11、スキャナ12、プリンタ13、モデム14、操作パネル15、ネットワークインタフェース16、及びSDカードスロット17等のハードウェアを有する。
FIG. 3 is a diagram illustrating a hardware configuration example of the image forming apparatus according to the embodiment of the present invention. In FIG. 3, the
コントローラ11は、CPU111、RAM112、ROM113、HDD114、及びNVRAM115等を有する。ROM113には、各種のプログラムやプログラムによって利用されるデータ等が記憶されている。RAM112は、プログラムをロードするための記憶領域や、ロードされたプログラムのワーク領域等として用いられる。CPU111は、RAM112にロードされたプログラムを処理することにより、各種の機能を実現する。HDD114には、プログラムやプログラムが利用する各種のデータ等が記憶される。NVRAM115には、各種の設定情報等が記憶される。
The
スキャナ12は、原稿より画像データを読み取るためのハードウェア(画像読取手段)である。プリンタ13は、印刷データを印刷用紙に印刷するためのハードウェア(印刷手段)である。モデム14は、電話回線に接続するためのハードウェアであり、FAX通信による画像データの送受信を実行するために用いられる。操作パネル15は、ユーザからの入力の受け付けを行うためのボタン等の入力手段や、液晶パネル等の表示手段等を備えたハードウェアである。液晶パネルは、タッチパネル機能を有していてもよい。この場合、当該液晶パネルは、入力手段の機能をも兼ねる。ネットワークインタフェース16は、LAN等のネットワーク(有線又は無線の別は問わない。)に接続するためのハードウェアである。SDカードスロット17は、SDカード80に記憶されたプログラムを読み取るために利用される。すなわち、画像形成装置10aでは、ROM113に記憶されたプログラムだけでなく、SDカード80に記憶されたプログラムもRAM112にロードされ、実行されうる。なお、他の記録媒体(例えば、CD−ROM又はUSB(Universal Serial Bus)メモリ等)によってSDカード80が代替されてもよい。すなわち、SDカード80の位置付けに相当する記録媒体の種類は、所定のものに限定されない。この場合、SDカードスロット17は、記録媒体の種類に応じたハードウェアによって代替されればよい。
The
図4は、本発明の実施の形態における画像形成装置及びWebサーバ装置の機能構成例を示す図である。図4において、画像形成装置10aは、機器ブラウザ121及び機器制御部122等を有する。これら各部は、画像形成装置10aにインストールされた一以上のプログラムが、CPU111に実行させる処理により実現される。
FIG. 4 is a diagram illustrating a functional configuration example of the image forming apparatus and the Web server apparatus according to the embodiment of the present invention. 4, the
機器ブラウザ121は、上述した機器ブラウザである。図4において、機器ブラウザ121は、機器情報取得部121a、Webページ取得部121b、描画部121c、及びスクリプト解釈部121d等を含む。
The
機器情報取得部121aは、画像形成装置10aの性能又は仕様等を識別するための情報を当該画像形成装置10aより取得又は収集する。本実施の形態では、機種名が、当該画像形成装置10aの性能又は仕様等を識別するための情報として用いられる。機種名は、画像形成装置10aの機種又はモデルの識別情報の一例である。
The device
Webページ取得部121bは、機器ブラウザ121に対して入力されたURLに係るWebページをネットワークを介して取得(ダウンロード)する。本実施の形態において、Webページは、Webサーバ装置20より取得される。描画部121cは、Webページに含まれている画面情報を解釈し、当該画面情報が示す画面を、操作パネル15のビデオメモリに描画する。操作パネル15は、当該ビデオメモリに描画された画面を表示させる。したがって、描画部121cは、実質的に、Webページに含まれている画面情報が示す画面の表示を操作パネル15に実行させる。
The Web
スクリプト解釈部121dは、Webページ取得部121bによって取得されたWebページに含まれているスクリプトを解釈し、当該スクリプトに応じた処理を実行する。スクリプト解釈部121dは、拡張スクリプトに応じた処理については、機器制御部122に実行させる
機器制御部122は、上位のプログラムからの要求に応じ、画像形成装置10aに固有の機能を含む各種の機能を画像形成装置10aに実行させるプログラム群の集合である。本実施の形態において、機器ブラウザ121は、機器制御部122にとって上位プログラムに相当する。
The
Webサーバ装置20は、要求受信部21、機種情報取得部22、Webページ生成部23、及び応答返信部24等を有する。これら各部は、Webサーバ装置20にインストールされたWebアプリケーション等の一以上のプログラムが、CPU204に実行させる処理により実現される。Webサーバ装置20は、また、機種情報記憶部25及び雛型データ記憶部26を有する。これら各記憶部は、補助記憶装置202、又はWebサーバ装置20にネットワークを介して接続される記憶装置等を用いて実現可能である。
The
要求受信部21は、Webページ取得部121bからの、Webページの取得要求を受信する。機種情報取得部22は、Webページの取得要求に指定されている機種名に対応する情報を機種情報記憶部25より取得する。機種情報記憶部25は、機種名ごとに、当該機種名が示す機種が有する機能を示す情報等を記憶する。以下、機種情報記憶部25が機種名ごとに記憶する情報を「機種情報」という。
The
Webページ生成部23は、取得要求において指定されている機種名に対応するWebページを生成する。Webページの生成には、雛型データ記憶部26が記憶する雛型データと、機種情報取得部22によって取得される機種情報とが利用される。雛型データは、画像形成装置10aの全機種又は複数の機種に対して生成させるWebページに対して、共通に雛型となるデータをいう。雛型データは、例えば、URLごと(例えば、画像形成装置10aの操作画面の種類ごと)に存在する。応答返信部24は、Webページ生成部23によって生成されたWebページを含む応答を、Webページ取得部121bに返信する。
The web page generation unit 23 generates a web page corresponding to the model name specified in the acquisition request. For generation of the Web page, model data stored in the model
以下、情報処理システム1において実行される処理手順について説明する。図5は、Webページの表示処理の処理手順の一例を説明するためのシーケンス図である。
Hereinafter, a processing procedure executed in the
ステップS101において、機器ブラウザ121は、画像形成装置10aのユーザより、或るWebページに対するURLの入力を操作パネル15を介して受け付ける。URLの入力は、URLを構成する文字列の入力でなくてもよい。例えば、既に操作パネル15に表示されている画面上におけるリンクの選択やハードキーの押下等によって、当該リンク又はハードキーに対応付けられているURLが入力されてよい。
In step S101, the
続いて、機器情報取得部121aは、機種名を取得する(S102)。機種名は、例えば、ROM113又はNVRAM115等より取得される。機種名の他に、機器の個体(機体)を識別する情報(例えば、製造番号等)が取得されてもよい。以下、取得された機種名等を含む情報を「機器情報」という。
Subsequently, the device
続いて、Webページ取得部121bは、機器情報が指定された、Webページの取得要求(HTTP(HyperText Transfer Protocol)リクエスト)を、入力されたURL宛に送信する(S103)。
Subsequently, the Web
当該取得要求は、Webサーバ装置20の要求受信部21によって受信される。Webページの取得要求の受信に応じ、Webサーバ装置20は、当該取得要求に指定されたURLに対応するWebページを生成する(S104)。続いて、Webサーバ装置20の応答返信部24は、生成されたWebページを含む応答(HTTPレスポンス)を、Webページの取得要求の送信元である画像形成装置10aに返信する(S105)。
The acquisition request is received by the
返信されたWebページが、Webページ取得部121bによって受信されると、描画部121cは、Webページに含まれている画面情報に基づく操作画面を操作パネル15に表示させる(S106)。
When the returned Web page is received by the Web
本実施の形態では、例えば、図6又は図7等に示されるような操作画面が表示される。 In the present embodiment, for example, an operation screen as shown in FIG. 6 or 7 is displayed.
図6は、操作画面の第一の表示例を示す図である。図6の操作画面510は、四つのタブを有する。タブ511は、スキャン機能の操作画面に対応するタブである。タブ512は、印刷機能の操作画面に対応するタブである。タブ513は、ファクス機能の操作画面に対応するタブである。タブ514は、コピー機能の操作画面に対応するタブである。
FIG. 6 is a diagram illustrating a first display example of the operation screen. The
図6では、タブ511が選択された状態が示されている。したがって、図6では、スキャン機能の操作画面が表形式で表示されている。一つの行は、スキャン機能に対する一つの設定項目に対応する。例えば、行515は、カラーモードを設定させるための領域である。行516は、用紙サイズを設定させるための領域である。なお、本実施の形態では、各機能の設定項目、又は設定項目と値との組み合わせについても、機能として扱う。例えば、A4の用紙サイズを設定可能であることは、A4の用紙サイズでスキャンできる機能を有すると考えることができるからである。
FIG. 6 shows a state where the
また、図7は、操作画面の第二の表示例を示す図である。図7中、図6と同一部分又は対応する部分には同一符号を付している。 FIG. 7 is a diagram illustrating a second display example of the operation screen. In FIG. 7, the same or corresponding parts as those in FIG.
図7に示される操作画面510aは、スキャン機能に対応するタブ511のみを有する。したがって、操作画面510aには、スキャン機能に対応する操作画面のみが表示される。また、行516における選択肢が、図6と異なる。
The
図6の操作画面510と、図7の操作画面510aとの違いは、同一のURLに対するWebページの取得要求において、異なる機種名が指定された場合に生じうる。すなわち、Webサーバ装置20は、Webページの取得要求に指定された機種名に基づいて、当該機種名が示す機種に適した操作画面を表示させるWebページを生成する。
The difference between the
図8は、Webサーバ装置が実行するWebページの生成処理の処理手順の一例を説明するためのフローチャートである。すなわち、図8は、図5のステップS104において実行される処理手順を示す。 FIG. 8 is a flowchart for explaining an example of a processing procedure of Web page generation processing executed by the Web server device. That is, FIG. 8 shows a processing procedure executed in step S104 of FIG.
ステップS201において、機種情報取得部22は、Webページの取得要求に指定された機種名に対応する機種情報を、機種情報記憶部25より取得する。
In step S <b> 201, the model
図9は、機種情報記憶部の構成例を示す図である。図9において、機種情報記憶部25は、機種名ごとに、パネル解像度、サイズ比率、Function、Color、及びPaperSize等の項目の値を記憶する。
FIG. 9 is a diagram illustrating a configuration example of the model information storage unit. In FIG. 9, the model
パネル解像度は、操作パネル15における液晶パネルの幅(X)方向及び高さ(Y)方向の解像度である。サイズ比率は、雛型データにおけるサイズ情報に対する比率又は割合をいう。雛型データにおけるサイズとは、雛型データ内において定義されている各種の表示要素(又は描画要素)のサイズである。図9では、機種名「AAA」に対して、サイズ比率として「60%」が対応付いている。これは、雛型データ内に定義されている表示要素のサイズ情報に0.6を乗じた値が、当該機種のWebページに適したサイズであることを示す。
The panel resolution is a resolution of the liquid crystal panel in the
Functionは、当該機種がScan(スキャン機能)、Print(印刷機能)、Fax(ファクス機能)、及びCopy(コピー機能)のうち、いずれの機能を有するかを示す項目である。Colorは、当該機種が、カラー対応機であるか否か、すなわち、カラー機能を有するか否かを示す項目である。「0」は、カラー対応機でないことを示す。「1」は、カラー対応機であることを示す。PaperSizeは、当該機種が対応している用紙サイズの一覧である。図9では、省略されているが、PaperSizeには、対応可能な用紙サイズが列挙されている。 Function is an item indicating which function the Scan has (Scan function), Print (Print function), Fax (Fax function), and Copy (Copy function). “Color” is an item indicating whether the model is a color-compatible device, that is, whether it has a color function. “0” indicates that the device is not a color compatible device. “1” indicates a color-compatible device. PaperSize is a list of paper sizes supported by the model. Although omitted in FIG. 9, PaperSize lists possible paper sizes.
なお、機種情報を構成する項目のうち、Function、Color、PaperSizeに設定された値が、当該機種が有する機能を示す情報をいう。以下、当該情報を「機能情報」という。また、Function、Color、PaperSizeを機能項目名という。なお、これらの項目以外の項目が、機能項目名に追加されてもよい。 Of the items constituting the model information, the values set in Function, Color, and PaperSize are information indicating the functions of the model. Hereinafter, this information is referred to as “functional information”. Function, Color, and PaperSize are referred to as function item names. Items other than these items may be added to the function item name.
続いて、Webページ生成部23は、Webページの取得要求に指定されているURLに対応する雛型データの複製を、雛型データ記憶部26より取得する(S202)。以下、当該複製を、雛型データという。 Subsequently, the Web page generation unit 23 acquires a copy of the template data corresponding to the URL specified in the Web page acquisition request from the template data storage unit 26 (S202). Hereinafter, the replication is referred to as template data.
図10及び図11は、雛型データの定義例を示す図である。図10及び図11の二つの図面で、一つの雛型データ800の一部分を示している。すなわち、図10及び図11では、定義内容の一部が省略されている。
10 and 11 are diagrams showing examples of template data definition. 10 and FIG. 11, a part of one
雛型データ800は、図6の操作画面510及び図7の操作画面510aに係るWebページの雛型となるデータである。雛型データ800は、機種情報記憶部25に機種名が記憶されている全ての機種の各機能及び各設定項目に対応する全ての表示要素が定義されている。すなわち、雛型データには、画像形成装置10aの最大スペックに対応した定義が含まれている。
The
雛型データ800において、要素810は、図6のタグ511〜514に対する定義である。より詳しくは、要素811、要素812、要素813、要素814は、順番に、タグ511、タグ512、タグ513、タグ514に対する定義である。
In the
図10及び図11に跨る要素820は、タグ511が選択された際に表示される操作画面に対する定義である。要素830(図11)は、タグ512が選択された際に表示される操作画面に対する定義である。なお、タグ513又はタグ514が選択された際に表示される操作画面に対する定義は便宜上省略されている。
An
要素820に包含されている要素822は、行515に対応する定義である。要素8221は、行515における、値の列に対応する定義である。したがって、要素8221には、行515(カラーモード)における選択肢が定義されている。
An
同様に、要素820に包含されている要素823(図11)は、行516に対応する定義である。要素8231は、行516における、値の列に対応する定義である。したがって、要素8231には、行516(用紙サイズ)における選択肢が定義されている。
Similarly, element 823 (FIG. 11) included in
続いて、Webページ生成部23は、機種情報取得部22によって取得された機種情報に基づいて、取得された雛型データ800の機能依存部分のうち、不要な部分を削除する(S203)。機能依存部分とは、画像形成装置10aの機能構成に応じて表示の要否又は有効性が異なる部分をいう。
Subsequently, the web page generation unit 23 deletes unnecessary portions from the function-dependent portions of the acquired
雛型データ800において、機能依存部分は、「<!―― [機能項目名]=[値] ――>」という形式のコメントが付与された行をいう。当該コメントは、当該コメントが付与された行が有効となる条件を示す。すなわち、機種情報において、「機能項目名]に当てはめられている機能項目名が、[値]に当てはめられている値である場合に、当該行は有効となる。
In the
なお、機能依存部分が複数行に跨る場合、「<!―― [機能項目名]=[値] Begin ――>」と「<!―― [機能項目名]=[値] End ――>」とによって、当該機能依存部分の範囲が指定される。 If the function-dependent part extends over multiple lines, “<!-[Function Item Name] = [Value] Begin ―― >>” and “<!-[Function Item Name] = [Value] End ―― >> ”Designates the range of the function-dependent part.
例えば、雛型データ800において、要素811には、「<!―― Function=Scan ――>」というコメントが付与されている。このことは、機種情報における「Function」の値に、「Scan」が含まれている場合に、当該行が有効であることを示す。要素812〜814に関しても、同様のコメントが付与されている。
For example, in the
また、要素820の一行目には、「<!―― Function=Scan Begin ――>」というコメントが記述され、要素820の末尾(図11)には、「<!―― Function=Scan End ――>」というコメントが記述されている。このことより、要素820は、機種情報における「Function」の値に、「Scan」が含まれている場合に、有効であることが分かる。
Also, in the first line of the
例えば、Webページの取得要求に指定された機種名が「AAA」である場合、ステップS201では、図9における1行目の機種情報が取得される。当該機種情報において、「Function」の値は「Scan」である。「Color」の値は「0」である。「PaperSize」の値は、図9においては省略されているが、「Auto、AutoMixed、A5、A5T、A4、A4T、B5、B5T、B4T」であるとする。 For example, if the model name specified in the Web page acquisition request is “AAA”, the model information on the first line in FIG. 9 is acquired in step S201. In the model information, the value of “Function” is “Scan”. The value of “Color” is “0”. Although the value of “PaperSize” is omitted in FIG. 9, it is assumed that it is “Auto, AutoMixed, A5, A5T, A4, A4T, B5, B5T, B4T”.
ステップS203では、これらの機能情報に合致しない機能依存部分が雛型データ800より削除される。したがって、要素812〜814は削除される。また、要素8221のうち、「<!―― Color=1 ――>」というコメントが付与された行は削除される。また、要素8231(図11)のうち、PaperSizeの値に、A3、Letter、LetterT、11×17T、又はLegalT」が指定されているコメントが付与されている行は削除される。
In step S <b> 203, function-dependent portions that do not match these function information are deleted from the
更に、要素830も削除される。その結果、Webページの取得要求に指定された機種名に対応する機種情報に含まれている機能情報とは別の機能情報に対応付けられている部分が雛型データ800より削除されたデータが、Webページとして生成される。
Further, the
本実施の形態では、図10及び図11の雛型データ800に基づいて、例えば、図12に示されるようなWebページが生成される。図12は、生成されたWebページの定義例を示す図である。図12中、図10又は図11と同一部分又は対応する部分には同一符号を付している。
In the present embodiment, for example, a Web page as shown in FIG. 12 is generated based on the
図10及び図11に示される雛型データ800と、図12に示されるWebページ800Cとの相違点は、上記した通りである。
The difference between the
なお、無効な機能依存部分(上記において削除の対象となる機能依存部分)は、削除されるのではなく、グレーアウトされるように加工されてもよい。すなわち、無効な機能依存部分が表示時において無効又は操作不能となるように、雛型データ800が加工されればよい。
An invalid function-dependent part (a function-dependent part to be deleted in the above) may be processed so as to be grayed out instead of being deleted. That is, the
続いて、Webページ生成部23は、不要な機能依存部分が削除されたWebページ800Cに対して、サイズ情報の補正を行う(S204)。すなわち、表示要素のサイズ情報として割合等の相対値ではなく絶対値が指定されている場合に、機種情報に含まれているサイズ比率を当該絶対値に乗じた値によって、元の値が置換される。
Subsequently, the web page generation unit 23 corrects the size information for the
図12のWebページ800Cでは、既にサイズ情報の補正が行われた状態が示されている。すなわち、要素821におけるwidth属性の値は、600から360に置換されている。当該width属性は、表の横幅のサイズを示す属性である。なお、図形、画像、又は文字等のその他の描画要素についても、同様の補正が行われてもよい。文字の場合は、フォントサイズが補正されてもよい。また、サイズ情報の補正は、他の方法によって行われてもよい。例えば、機種情報には、補正値として、絶対値が記憶されていてもよい。当該絶対値を加算又は減算することにより、補正が行われてもよい。また、サイズ情報を補正するための関数式が、補正値として機種情報に含まれていてもよい。
The
以上によって、Webページの生成は完了する。Webページ800Cを含む応答が応答返信部24によって返信されると、図7に示したような操作画面500aが操作パネル15に表示される。すなわち、Webページ800Cは、操作画面500aに対応する定義例である。また、雛型データ800は、図6の操作画面500に対応する定義例である。
Thus, the generation of the web page is completed. When a response including the
なお、画像形成装置10aに対しては、フィニッシャ等の周辺装置を備え付けることも可能である。すなわち、同一の機種であっても、ハードウェア構成や機能構成が変わる可能性がある。このように、機種だけでは特定できない機能に関しては、Webページの取得要求において、当該機能の機能項目名及び値が指定されてもよい。
The
また、機種情報記憶部25に記憶されている機種情報についても、Webページの取得要求に指定されてもよい。機器情報取得部121aは、機種名だけでなく、機種情報を構成する各項目の値を取得すればよい。この場合、機種情報記憶部25は必ずしも必要ではないが、機種情報を送信しない画像形成装置10aの存在の可能性に鑑みて、実装されてもよい。Webページの取得要求に指定された機種情報と、機種情報記憶部25に記憶されている機種情報とが衝突した場合は、Webページの取得要求に指定された機種情報を優先させてもよい。
The model information stored in the model
但し、本実施の形態のように、Webサーバ装置側に機種情報記憶部25を設けることで、各画像形成装置10aにおいて、機種情報の収集及び送信を行う必要性を低減させることができる。すなわち、画像形成装置10aに対する実装を簡便化することができる。
However, by providing the model
上述したように、本実施の形態によれば、Webページの取得要求元の画像形成装置10aに関する機能情報と雛型データとに基づいて、取得要求に係るWebページが生成される。したがって、雛型データが作成されれば、機種ごとや機能の相違する画像形成装置10aごとに、Webページを作成する必要性が低減する。その結果、Webページの開発効率を向上させることができる。
As described above, according to the present embodiment, the Web page related to the acquisition request is generated based on the function information and the template data regarding the
なお、Webページは、必ずしもネットワークを介してWebサーバ装置20から取得されなくてもよい。例えば、画像形成装置10aのHDD114内に保存されていてもよい。この場合、Webページ取得部121aは、HDD114よりWebページを取得すればよい。また、画像形成装置10aは、Webサーバ装置20が有する各部を有していればよい。
Note that the web page does not necessarily have to be acquired from the
また、本実施の形態は、プロジェクタ10bや携帯端末10c等に関して実施されてもよい。また、デジカメ等、操作パネルにWebブラウザを実装可能な非図示の機器に対して本実施の形態が適用されてもよい。
Further, the present embodiment may be implemented with respect to the projector 10b, the
なお、本実施の形態において、Webサーバ装置20は、情報処理装置の一例である。要求受信部21は、受信部の一例である。機種情報取得部22は、取得部の一例である。Webページ生成部23は、生成部の一例である。応答返信部24は、返信部の一例である。機種情報記憶部25は、記憶部の一例である。
In the present embodiment, the
以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such specific embodiment, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.
1 情報処理システム
10 機器
10a 画像形成装置
10b プロジェクタ
10c 携帯端末
11 コントローラ
12 スキャナ
13 プリンタ
14 モデム
15 操作パネル
16 ネットワークインタフェース
17 SDカードスロット
20 Webサーバ装置
21 要求受信部
22 機種情報取得部
23 Webページ生成部
24 応答返信部
25 機種情報記憶部
26 雛型データ記憶部
80 SDカード
111 CPU
112 RAM
113 ROM
114 HDD
115 NVRAM
121 機器ブラウザ
121a 機器情報取得部
121b Webページ取得部
121c 描画部
121d スクリプト解釈部
122 機器制御部
200 ドライブ装置
201 記録媒体
202 補助記憶装置
203 メモリ装置
204 CPU
205 インタフェース装置
B バス
DESCRIPTION OF
112 RAM
113 ROM
114 HDD
115 NVRAM
121
205 Interface device B bus
Claims (7)
前記取得要求において指定されたWebページの雛型データの定義の中で、前記取得部によって取得された前記機能情報とは別の前記機能情報に対応付けられている部分が無効化されたWebページを生成する生成部とを有する情報処理装置。 In response to a Web page acquisition request including model identification information indicating the model of the device, the acquisition request from the storage unit storing function information indicating each function of the model indicated by the model information for each model identification information. An acquisition unit for acquiring the function information corresponding to the model identification information specified in
The web page in which the part associated with the function information different from the function information acquired by the acquisition unit in the definition of the template data of the Web page specified in the acquisition request is invalidated An information processing apparatus having a generation unit that generates
前記取得部は、前記取得要求に指定された機種識別情報に対応する前記補正値を取得し、
前記生成部は、前記雛型データに定義されている表示要素のサイズ情報を前記補正値によって補正する請求項1記載の情報処理装置。 The storage unit stores a correction value for the size information of the display element defined in the template data for each model identification information,
The acquisition unit acquires the correction value corresponding to the model identification information specified in the acquisition request,
The information processing apparatus according to claim 1, wherein the generation unit corrects size information of display elements defined in the template data with the correction value.
前記情報処理装置は、
前記機器の機種を示す機種識別情報を含む、Webページの取得要求を受信する受信部と、
前記機種識別情報ごとに、当該機種情報が示す機種が有する各機能を示す機能情報を記憶する記憶部より、前記取得要求に指定された機種識別情報に対応する前記機能情報を取得する取得部と、
前記取得要求において指定されたWebページの雛型データの定義の中で、前記取得部によって取得された前記機能情報とは別の前記機能情報に対応付けられている部分が無効化されたWebページを生成する生成部と、
前記生成部によって生成されたWebページを前記機器に返信する返信部とを有する情報処理システム。 An information processing system including a device and an information processing device,
The information processing apparatus includes:
A receiving unit that receives an acquisition request for a Web page including model identification information indicating a model of the device;
For each model identification information, an acquisition unit that acquires the function information corresponding to the model identification information specified in the acquisition request from a storage unit that stores function information indicating each function of the model indicated by the model information; ,
The web page in which the part associated with the function information different from the function information acquired by the acquisition unit in the definition of the template data of the Web page specified in the acquisition request is invalidated A generating unit for generating
An information processing system comprising: a reply unit that returns a Web page generated by the generation unit to the device.
前記機種識別情報を含む、Webページの取得要求を前記情報処理装置に送信する送信部と、
前記情報処理装置より返信されるWebページを表示させる表示部とを有する請求項4記載の情報処理システム。 The equipment is
A transmission unit that transmits a Web page acquisition request including the model identification information to the information processing apparatus;
The information processing system according to claim 4, further comprising a display unit that displays a Web page returned from the information processing apparatus.
前記取得要求において指定されたWebページの雛型データの定義の中で、前記取得手順において取得された前記機能情報とは別の前記機能情報に対応付けられている部分が無効化されたWebページを生成する生成手順とをコンピュータが実行するWebページ生成方法。 In response to a Web page acquisition request including model identification information indicating the model of the device, the acquisition request from the storage unit storing function information indicating each function of the model indicated by the model information for each model identification information. An acquisition procedure for acquiring the function information corresponding to the model identification information specified in
The Web page in which the part associated with the function information different from the function information acquired in the acquisition procedure is invalidated in the template data definition of the Web page specified in the acquisition request A Web page generation method in which a computer executes a generation procedure for generating a URL.
前記取得要求において指定されたWebページの雛型データの定義の中で、前記取得手順において取得された前記機能情報とは別の前記機能情報に対応付けられている部分が無効化されたWebページを生成する生成手順とをコンピュータに実行させるプログラム。 In response to a Web page acquisition request including model identification information indicating the model of the device, the acquisition request from the storage unit storing function information indicating each function of the model indicated by the model information for each model identification information. An acquisition procedure for acquiring the function information corresponding to the model identification information specified in
The Web page in which the part associated with the function information different from the function information acquired in the acquisition procedure is invalidated in the template data definition of the Web page specified in the acquisition request The program which makes a computer perform the production | generation procedure which produces | generates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012062740A JP2013196370A (en) | 2012-03-19 | 2012-03-19 | Information processing apparatus, information processing system, web page generation method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012062740A JP2013196370A (en) | 2012-03-19 | 2012-03-19 | Information processing apparatus, information processing system, web page generation method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013196370A true JP2013196370A (en) | 2013-09-30 |
Family
ID=49395232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012062740A Pending JP2013196370A (en) | 2012-03-19 | 2012-03-19 | Information processing apparatus, information processing system, web page generation method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013196370A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021018776A (en) * | 2019-07-24 | 2021-02-15 | 富士ゼロックス株式会社 | Information processing device and program |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11134362A (en) * | 1997-10-29 | 1999-05-21 | Oki Electric Ind Co Ltd | Data display control system and recording medium |
JPH11316658A (en) * | 1998-05-02 | 1999-11-16 | Ricoh Co Ltd | Printer |
JP2002259283A (en) * | 2001-03-01 | 2002-09-13 | Sanyo Electric Co Ltd | Device and method for providing data and program therefor |
JP2004318842A (en) * | 2003-04-01 | 2004-11-11 | Ricoh Co Ltd | Webpage generation device, embedding device, method for control of webpage generation, webpage generation program, and recording medium |
JP2006302117A (en) * | 2005-04-22 | 2006-11-02 | Canon Inc | Printing system |
JP2009301337A (en) * | 2008-06-13 | 2009-12-24 | Kyocera Mita Corp | Display screen generation program, display screen generation device and image forming device |
-
2012
- 2012-03-19 JP JP2012062740A patent/JP2013196370A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11134362A (en) * | 1997-10-29 | 1999-05-21 | Oki Electric Ind Co Ltd | Data display control system and recording medium |
JPH11316658A (en) * | 1998-05-02 | 1999-11-16 | Ricoh Co Ltd | Printer |
JP2002259283A (en) * | 2001-03-01 | 2002-09-13 | Sanyo Electric Co Ltd | Device and method for providing data and program therefor |
JP2004318842A (en) * | 2003-04-01 | 2004-11-11 | Ricoh Co Ltd | Webpage generation device, embedding device, method for control of webpage generation, webpage generation program, and recording medium |
JP2006302117A (en) * | 2005-04-22 | 2006-11-02 | Canon Inc | Printing system |
JP2009301337A (en) * | 2008-06-13 | 2009-12-24 | Kyocera Mita Corp | Display screen generation program, display screen generation device and image forming device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021018776A (en) * | 2019-07-24 | 2021-02-15 | 富士ゼロックス株式会社 | Information processing device and program |
JP7318386B2 (en) | 2019-07-24 | 2023-08-01 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10356181B2 (en) | Information processing system, information processing method and computer program product | |
JP5884542B2 (en) | Apparatus, information processing system, information processing method, and information processing program | |
US10270926B2 (en) | Information processing apparatus, information processing system, and information processing method | |
JP5447030B2 (en) | Electronic device, information processing method, and information processing program | |
JP5685981B2 (en) | Image forming apparatus, information processing system, billing method, program, and recording medium | |
JP5047067B2 (en) | Information processing apparatus, data output system, data generation program, and recording medium therefor | |
JP5318907B2 (en) | MFP, MFP control system, MFP control method, program, and recording medium therefor | |
US10848629B2 (en) | Image processing apparatus, image processing system, image processing method, and web browser program | |
JP6295563B2 (en) | Information processing system, device, information processing method, and information processing program | |
US9110962B2 (en) | Data providing apparatus for implementing script, electronic apparatus for implementing script, data processing system for implementing script, and method of data processing for implementing script | |
JP2010128802A (en) | Information processing apparatus, web server apparatus, method for updating web page, and program | |
JP2013191196A (en) | Information processing device, apparatus, information processing system, information processing method, and information processing program | |
JP6737170B2 (en) | Server device, image processing unit and program | |
JP2011141684A (en) | Image forming apparatus, service provision method, program and storage medium | |
JP2017167700A (en) | Information processing system, apparatus, information processing terminal, information processing method, and program | |
JP4251958B2 (en) | Image forming apparatus, information processing apparatus, information processing method, information processing program, and recording medium | |
JP2013196370A (en) | Information processing apparatus, information processing system, web page generation method and program | |
JP7056269B2 (en) | Information processing system, equipment, information processing method and information processing program | |
JP6123109B2 (en) | Image forming apparatus | |
JP2011238091A (en) | Information processing device, image forming device, information processing method, program and recording medium | |
JP5036273B2 (en) | Image forming apparatus, display data generation method and program | |
JP6575078B2 (en) | Information processing system, information processing apparatus, device, information processing method, and program | |
JP2012135907A (en) | Image forming apparatus, information processing apparatus, and information processing program | |
US20240086485A1 (en) | Web browsing system, server, and control method thereof | |
JP2017105145A (en) | Apparatus, external apparatus, information processing system, information processing program, information processing method, and storage medium storing information processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151224 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160105 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160301 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20160517 |