JP4903078B2 - Electronic device, Web page generation method, and Web page generation program - Google Patents

Electronic device, Web page generation method, and Web page generation program Download PDF

Info

Publication number
JP4903078B2
JP4903078B2 JP2007096757A JP2007096757A JP4903078B2 JP 4903078 B2 JP4903078 B2 JP 4903078B2 JP 2007096757 A JP2007096757 A JP 2007096757A JP 2007096757 A JP2007096757 A JP 2007096757A JP 4903078 B2 JP4903078 B2 JP 4903078B2
Authority
JP
Japan
Prior art keywords
character string
display character
identifier
data
display
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
JP2007096757A
Other languages
Japanese (ja)
Other versions
JP2008257355A (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 JP2007096757A priority Critical patent/JP4903078B2/en
Publication of JP2008257355A publication Critical patent/JP2008257355A/en
Application granted granted Critical
Publication of JP4903078B2 publication Critical patent/JP4903078B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Description

本発明は、電子装置、Webページ生成方法、及びWebページ生成プログラムに関し、特に多言語対応されたWebページを生成する電子装置、Webページ生成方法、及びWebページ生成プログラムに関する。   The present invention relates to an electronic device, a Web page generation method, and a Web page generation program, and more particularly to an electronic device, a Web page generation method, and a Web page generation program that generate a multilingual Web page.

近年では、インターネット上で種々の情報を提供するための表示データであるWebページにおいて、デザインや情報の表示形式をユーザにあわせて提供するものが見受けられる。同一の情報を異なる表示形式で表示する顕著な例としては、異なる言語による表示が挙げられる。即ち、Webページを利用するユーザは、それぞれ同じ言語を使うとは限らない。あるユーザは日本語での表示を要求し、別のユーザは英語やフランス語等による表示を要求するであろう。   In recent years, Web pages that are display data for providing various types of information on the Internet have been found to provide designs and information display formats to users. A prominent example of displaying the same information in different display formats is display in different languages. In other words, users using Web pages do not always use the same language. One user will request display in Japanese, and another user will request display in English, French, etc.

他方において、画像処理装置のような組み込み機器において、機器のステータスや、保管された文書情報、スプールされているジョブ、FAXやe−mail等に使用されるアドレス帳を、ネットワークを介して接続される端末等にWebページによって提供するものが存在する。Webページによってこれらの情報を提供する利点としては、端末側には汎用的なWebブラウザがあれば特別なソフトウェアをインストールしなくても良い、端末側のプラットフォームに依存しない、機器の側に居なくても遠隔地において情報を確認できる等が挙げられる。このような機器によって提供されるWebページにおいても、一般的なWebサーバによるものと同様、同一の情報をユーザによって異なる言語や表示形式により表示できることが望ましい。   On the other hand, in an embedded device such as an image processing apparatus, the device status, stored document information, spooled jobs, address books used for FAX, e-mail, etc. are connected via a network. There are some which are provided by a web page in a terminal or the like. As an advantage of providing such information by a Web page, if there is a general-purpose Web browser on the terminal side, special software may not be installed, it does not depend on the platform on the terminal side, and is not on the device side. However, information can be confirmed at a remote location. Even in a Web page provided by such a device, it is desirable that the same information can be displayed in different languages and display formats depending on the user, as in a general Web server.

例えば、特許文献1には、XSLT(XML Stylesheet Language Transformations)プロセッサを備え、当該XSLTプロセッサが、Webアプリケーションの処理結果として出力されるXML(eXtensible Markup Language)データに対して書式データ(XSL(eXtensible Stylesheet Language)データ)を適用してXSLT変換を実行することによりHTMLデータ(Webページ)を生成する画像処理装置が記載されている。当該画像処理装置において、書式データは、各言語に対して共通に利用可能なように作成されている。すなわち、言語ごとに異なる部分については識別子(キー文字列)によって記述されている。キー文字列に対応する表示文字列は、言語テーブルと呼ばれるXMLデータ内に言語ごとに定義されている。当該画像形成装置においてWebページを生成する際、XSLTプロセッサは、表示言語に対応した言語テーブルを用いて、書式データに基づいてXSLT変換を実行することにより、表示言語によってキー文字列が置換されたHTMLデータを生成する。
特開2005−32230号公報
For example, Patent Document 1 includes an XSLT (XML Stylesheet Language Transformations) processor, and the XSLT processor outputs format data (XSL (eXtensible Stylesheet) for XML (eXtensible Markup Language) data output as a processing result of a Web application. An image processing apparatus that generates HTML data (Web page) by executing XSLT conversion by applying (Language) data) is described. In the image processing apparatus, the format data is created so that it can be used in common for each language. That is, parts that differ for each language are described by identifiers (key character strings). A display character string corresponding to the key character string is defined for each language in XML data called a language table. When generating a Web page in the image forming apparatus, the XSLT processor uses the language table corresponding to the display language to execute the XSLT conversion based on the format data, so that the key character string is replaced by the display language. HTML data is generated.
JP-A-2005-32230

しかしながら、XSLTプロセッサは、XMLデータに対して検索を行う場合、パターンにマッチする全てのデータを抽出するように構成されている。したがって、特許文献1に係る画像処理装置において、XSLTプロセッサが、キー文字列に対応する表示文字列を言語テーブルより検索する際、当該表示文字列が検出された後も言語テーブルに対する走査が継続される。   However, the XSLT processor is configured to extract all data that matches a pattern when searching for XML data. Therefore, in the image processing apparatus according to Patent Literature 1, when the XSLT processor searches the language table for a display character string corresponding to the key character string, scanning of the language table is continued even after the display character string is detected. The

図1は、XSLTプロセッサによる言語テーブルに対する検索処理を説明するための図である。図1の言語テーブルでは、表示文字列ごとにgentext要素が記述されている。gentext要素のkey属性の値はキー文字列を示し、text属性の値は表示文字列を示す。   FIG. 1 is a diagram for explaining a search process for a language table by an XSLT processor. In the language table of FIG. 1, a genext element is described for each display character string. The value of the key attribute of the gentext element indicates a key character string, and the value of the text attribute indicates a display character string.

図中、矢印a1及びa2は、キー文字列「ATALK」に対する表示文字列を検索する際のXSLTプロセッサによる走査の過程を示す。すなわち、XSLTプロセッサは、矢印a1に示される走査を行い「ATALK」を検出したとしても、その後も矢印a2に示される走査を継続する。したがって、この場合、矢印a2に示される走査の分、不要な検索時間がかかる。   In the figure, arrows a1 and a2 indicate the scanning process by the XSLT processor when searching the display character string for the key character string “ATALK”. That is, even if the XSLT processor performs the scan indicated by the arrow a1 and detects “ATALK”, the XSLT processor continues the scan indicated by the arrow a2 thereafter. Therefore, in this case, unnecessary search time is required for the scanning indicated by the arrow a2.

言語テーブルに対する検索は、Webページを生成する際、すなわち、クライアントからWebページが要求された後、当該Webページを返信するまでの間に実行される。したがって、言語テーブルに対する検索性能は、クライアントからのWebページの要求に対するレスポンスの性能に大きく影響する。しかし、上記のようにXLSTプロセッサによって翻訳を行っていては、レスポンスが悪化する可能性がある。   The search for the language table is executed when a Web page is generated, that is, after a Web page is requested from a client and before the Web page is returned. Therefore, the search performance for the language table greatly affects the performance of the response to the Web page request from the client. However, if the translation is performed by the XLST processor as described above, the response may be deteriorated.

本発明は、上記の点に鑑みてなされたものであって、Webページの多言語対応を実現するにあたりWebページの要求に対するレスポンスの性能を適切に保つことのできる電子装置、Webページ生成方法、及びWebページ生成プログラムの提供を目的とする。   The present invention has been made in view of the above points, and in realizing multilingual support of a Web page, an electronic apparatus, a Web page generation method, and an electronic device that can appropriately maintain the response performance to a Web page request, And providing a Web page generation program.

そこで上記課題を解決するため、本発明は、ネットワークを介して受信されるWebページの要求に応じて情報処理を実行し、当該情報処理の結果をXMLデータとして出力する情報処理手段と、表示言語に応じて表示文字列が異なる部分が識別子によって記述されているXSLデータを前記XMLデータに適用してXSLT変換を実行することによりHTMLデータを生成するXSLT変換手段と、言語ごとに複数の前記識別子に対する表示文字列が記録されている表示文字列情報より前記表示言語に応じて前記識別子に対する表示文字列を検索する検索手段とを有し、前記XSLT変換手段は、前記検索手段を用いて前記XSLデータに含まれている前記識別子を表示文字列に置換して前記HTMLデータを生成し、前検索手段は、前記識別子に対応する表示文字列が検出された時点で前記表示文字列情報からの当該識別子に関する検索を終了することを特徴とする。   In order to solve the above problems, the present invention provides an information processing means for executing information processing in response to a web page request received via a network and outputting the result of the information processing as XML data, and a display language. XSLT conversion means for generating HTML data by applying XSL data in which the portion having a different display character string is described by an identifier to the XML data and executing XSLT conversion, and a plurality of identifiers for each language And a search means for searching the display character string for the identifier according to the display language from the display character string information in which the display character string is recorded. The XSLT conversion means uses the search means to search for the XSL The identifier included in the data is replaced with a display character string to generate the HTML data. Wherein the display character string corresponding to Besshi finishes the search related to the identifier from the display character string information at the time it was detected.

このような電子装置では、Webページの多言語対応を実現するにあたりWebページの要求に対するレスポンスの性能を適切に保つことができる。   In such an electronic apparatus, it is possible to appropriately maintain the performance of the response to the web page request when realizing the multilingual correspondence of the web page.

本発明によれば、Webページの多言語対応を実現するにあたりWebページの要求に対するレスポンスの性能を適切に保つことのできる電子装置、Webページ生成方法、及びWebページ生成プログラムを提供することができる。   According to the present invention, it is possible to provide an electronic device, a Web page generation method, and a Web page generation program that can appropriately maintain the performance of response to a Web page request in realizing multilingual support of the Web page. .

以下、図面に基づいて本発明の実施の形態を説明する。本実施の形態においては、画像処理装置を電子装置及び組み込み機器の具体例として説明する。ここで、組み込み機器とは、一般的な用語として使われているが、例えば、電話、プリンタ、テレビ、エアコン、携帯情報端末等、特定の機能を実現するプログラムとそのプログラムを処理するプロセッサとがあらかじめ組み込まれた機器一般をいう。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the present embodiment, an image processing apparatus will be described as a specific example of an electronic apparatus and an embedded device. Here, the embedded device is used as a general term. For example, a program that realizes a specific function and a processor that processes the program, such as a telephone, a printer, a television, an air conditioner, and a portable information terminal. General equipment that is pre-installed.

図2は、本発明の実施の形態における画像処理装置の構成例を示す図である。図2において、画像処理装置10は、プロッタエンジン203及びスキャナエンジン204等の個別の画像処理を行うためのハードウェア資源と、エンジン制御ボード202と、OS201と、システム管理サービス106と、ネットワークサービス107と、メモリ管理サービス108と、オペパネ管理サービス109と、エンジン管理サービス110と、コピーアプリ101、ファックスアプリ102、プリンタアプリ103及び情報提供アプリ104等の各種アプリケーションとから構成される。当該各種アプリケーション等のソフトウェア資源は、画像処理装置10が備える非図示の記憶装置に記録され、画像処理装置10が備える非図示のCPUによって処理されることにより機能する。   FIG. 2 is a diagram illustrating a configuration example of the image processing apparatus according to the embodiment of the present invention. 2, the image processing apparatus 10 includes hardware resources for performing individual image processing such as a plotter engine 203 and a scanner engine 204, an engine control board 202, an OS 201, a system management service 106, and a network service 107. A memory management service 108, an operation panel management service 109, an engine management service 110, and various applications such as a copy application 101, a fax application 102, a printer application 103, and an information providing application 104. Software resources such as the various applications are recorded in a storage device (not shown) included in the image processing apparatus 10 and function by being processed by a CPU (not shown) included in the image processing apparatus 10.

エンジン制御ボード202は、プロッタエンジン203及びスキャナエンジン204等の画像処理装置10の個別機能を制御し、エンジンI/F(インタフェース)を通して、エンジン制御ボード202の機能をOS201等に提供する。   The engine control board 202 controls individual functions of the image processing apparatus 10 such as the plotter engine 203 and the scanner engine 204, and provides the functions of the engine control board 202 to the OS 201 and the like through an engine I / F (interface).

OS201は、UNIX(登録商標)等のオペレーティング・システムであり、コピーアプリ101、ファックスアプリ102等、アプリケーションとして実装されている各種ソフトウェアをプロセスとして並列実行する。   The OS 201 is an operating system such as UNIX (registered trademark), and executes various software implemented as applications such as the copy application 101 and the fax application 102 in parallel as processes.

システム管理サービス106、ネットワークサービス107、メモリ管理サービス108、オペパネ管理サービス109、及びエンジン管理サービス110は、API(Application Programming Interface)を通して、コピーアプリ101等の上位アプリケーションにそれぞれの機能を提供するものである。即ち、システム管理サービス106は、システム管理に関する機能を提供し、ネットワークサービス107は、ネットワーク通信に関する機能を提供する。また、メモリ管理サービス108は、メモリ管理に関する機能を提供し、オペパネ管理サービス109は、画像処理装置10に設置された操作パネル(オペパネ)に関する機能を提供する。更に、エンジン管理サービス110は、エンジン制御ボード202を介してプロッタエンジン203やスキャナエンジン204を制御するための機能を提供する。   A system management service 106, a network service 107, a memory management service 108, an operation panel management service 109, and an engine management service 110 provide respective functions to a higher-level application such as the copy application 101 through an API (Application Programming Interface). is there. That is, the system management service 106 provides a function related to system management, and the network service 107 provides a function related to network communication. The memory management service 108 provides functions related to memory management, and the operation panel management service 109 provides functions related to an operation panel (operation panel) installed in the image processing apparatus 10. Further, the engine management service 110 provides a function for controlling the plotter engine 203 and the scanner engine 204 via the engine control board 202.

コピーアプリ101は、コピー用アプリケーションであり、ファックスアプリ102は、ファクシミリ用アプリケーションである。プリンタアプリ103は、ページ記述言語(PDL)、PCL及びポストスクリプト(PS)を有するプリンタ用アプリケーションである。また、情報提供アプリ104は、端末20から要求された情報を表示するWebページを生成するための処理を実行するものである。   The copy application 101 is a copy application, and the fax application 102 is a facsimile application. The printer application 103 is a printer application having a page description language (PDL), PCL, and postscript (PS). The information providing application 104 executes a process for generating a Web page that displays information requested from the terminal 20.

以下、画像処理装置10の処理手順について説明する。図3は、本発明の実施の形態における画像処理装置によるWebページの生成処理を説明するための図である。図3において、画像処理装置10は、PC(Personal Computer)、PDA(Personal Digital(Data) Assistants)、又は携帯電話等を表現する端末20及び端末30と、リソースサーバ50と、インターネット、又はLAN等のネットワーク40(有線又は無線の別は問わない。)を介して接続されている。   Hereinafter, the processing procedure of the image processing apparatus 10 will be described. FIG. 3 is a diagram for explaining Web page generation processing by the image processing apparatus according to the embodiment of the present invention. In FIG. 3, an image processing apparatus 10 includes a terminal 20 and a terminal 30 representing a PC (Personal Computer), a PDA (Personal Digital (Data) Assistants), or a mobile phone, a resource server 50, the Internet, a LAN, or the like. Network 40 (whether wired or wireless).

図中における画像処理装置10の機能ブロックにおいて、Webアプリ12a及び12b(以下、総称する場合「Webアプリ12」という。)と、XSLTプロセッサ15とは、情報提供アプリ104の機能に含まれる。   In the functional blocks of the image processing apparatus 10 in the figure, the Web applications 12 a and 12 b (hereinafter collectively referred to as “Web application 12”) and the XSLT processor 15 are included in the function of the information providing application 104.

一方、組み込みWebサーバ11及び組み込みWebクライアント17は、ネットワークサービス107の機能の一部である。   On the other hand, the embedded Web server 11 and the embedded Web client 17 are part of the functions of the network service 107.

記憶領域16は、画像処理装置10のROM上に構成される記憶領域である。記憶領域16には、アプリデータ161、書式データ162、イメージデータ164、スクリプトデータ165、言語テーブル位置情報166等が保存されている。   The storage area 16 is a storage area configured on the ROM of the image processing apparatus 10. The storage area 16 stores application data 161, format data 162, image data 164, script data 165, language table position information 166, and the like.

アプリデータ161は、Webアプリ12がWebページを生成する際に参照するデータであり、Webページに掲載する情報そのものや、あるいはWebページに掲載する情報を生成するための元となる情報等を有するデータである。   The application data 161 is data that is referred to when the web application 12 generates a web page, and includes information itself to be posted on the web page, information that is a basis for generating information to be posted on the web page, and the like. It is data.

書式データ162は、Webページの書式情報が定義されているXSL形式のデータであり、Webページごとにファイルとして記憶領域16に保存されている。書式データ162は、Webページの表示に用いられる言語(日本語、英語等の自然言語)によって表示形式(表示文字列)が異なる部分については、表示文字列を識別するための識別子によって記述されている。   The format data 162 is data in the XSL format in which the format information of the Web page is defined, and is stored in the storage area 16 as a file for each Web page. The format data 162 is described by an identifier for identifying a display character string for a part whose display format (display character string) differs depending on a language (natural language such as Japanese or English) used for displaying a Web page. Yes.

イメージデータ164は、端末20に提供するWebページにおいて表示されるGIF(Graphic Interchange Format)データ等である。スクリプトデータ165は、Java(登録商標)スクリプト等によって定義されたデータであり、端末20に提供するWebページに含められる。   The image data 164 is GIF (Graphic Interchange Format) data or the like displayed on the Web page provided to the terminal 20. The script data 165 is data defined by a Java (registered trademark) script or the like, and is included in a Web page provided to the terminal 20.

言語テーブル位置情報166は、言語テーブルの保存位置を示す情報(例えば、URL等)である。言語テーブルとは、Webページの表示に用いられる言語(表示言語)によって表示文字列が異なる情報について言語の種別毎に表示文字列が定義されているXML形式データであり、本実施の形態では、言語テーブル163としてリソースサーバ50の記憶装置に保存されている。   The language table position information 166 is information (for example, URL) indicating the storage position of the language table. The language table is XML format data in which a display character string is defined for each language type for information whose display character string is different depending on a language (display language) used for displaying a Web page. The language table 163 is stored in the storage device of the resource server 50.

組み込みWebサーバ11は、端末20等とのHTTPによる通信を制御するデーモンプログラムであり、端末20等から送信されるHTTPリクエストを解釈し、Webアプリ12を呼び出す。組み込みWebサーバ11は、更に、HTTPリクエストに応じて画像処理装置10において生成されるHTMLデータであるWebページを端末20等に送信する。本実施の形態では、次のようなWebページを具体例として使用する。   The embedded Web server 11 is a daemon program that controls HTTP communication with the terminal 20 or the like, interprets an HTTP request transmitted from the terminal 20 or the like, and calls the Web application 12. The embedded Web server 11 further transmits a Web page, which is HTML data generated in the image processing apparatus 10 in response to the HTTP request, to the terminal 20 or the like. In the present embodiment, the following Web page is used as a specific example.

図4は、本実施の形態において生成されるWebページの表示例を示す図である。図4に示されるWebページ210は、画像処理装置10におけるネットワーク機能に関する設定情報を英語で表示するものである。記述2011は、AppleTalkプロトコルが利用可能であることを示し、記述2012は、ネットワーク番号を示している。   FIG. 4 is a diagram illustrating a display example of a Web page generated in the present embodiment. A web page 210 shown in FIG. 4 displays setting information related to the network function in the image processing apparatus 10 in English. A description 2011 indicates that the AppleTalk protocol can be used, and a description 2012 indicates a network number.

なお、HTTPリクエストには、表示言語を識別するための情報が含まれている。すなわち、どの表示言語によってWebページを表示させるかは、端末20等において選択される。   The HTTP request includes information for identifying the display language. That is, it is selected on the terminal 20 or the like by which display language the Web page is displayed.

Webアプリ12は、端末20等からの要求に応じた情報処理を実行し、その処理結果としてWebページに表示させる情報をXML(eXtensible Markup Language)データとして出力するプログラムであり、Webページの種類に応じて複数のインスタンス(Webアプリ12a、Webアプリ12b等)が実装されている。なお、Webアプリ12によって生成されるXMLデータを、以下「ベースデータ」という。   The Web application 12 is a program that executes information processing in response to a request from the terminal 20 or the like, and outputs information to be displayed on the Web page as the processing result as XML (eXtensible Markup Language) data. Accordingly, a plurality of instances (Web application 12a, Web application 12b, etc.) are mounted. The XML data generated by the web application 12 is hereinafter referred to as “base data”.

XSLTプロセッサ15は、XMLデータとXSLデータとに基づいてXSL変換を実行し、XSLデータの書式情報に従ったXMLデータやHTMLデータ等を生成するプログラムである。XSLTプロセッサ15は、複数のWebアプリの種別を問わず共通的に使用され、Webアプリ12が生成したXMLデータに基づいてHTMLデータを生成する。本実施の形態のXSLTプロセッサ15には、一般的なXSLTプロセッサとは異なり、interpreter関数151が実装されることにより機能拡張が図られている。interpreter関数151は、書式データ162において表示言語に応じて表示文字列が異なる部分(識別子)に関して、言語テーブル163より、表示言語に応じた表示文字列の検索を行う関数である。   The XSLT processor 15 is a program that executes XSL conversion based on XML data and XSL data, and generates XML data, HTML data, and the like according to the format information of the XSL data. The XSLT processor 15 is commonly used regardless of the types of a plurality of Web applications, and generates HTML data based on the XML data generated by the Web application 12. Unlike the general XSLT processor, the XSLT processor 15 according to the present embodiment is provided with an interpreter function 151 for function expansion. The interpreter function 151 is a function for searching a display character string corresponding to the display language from the language table 163 with respect to a portion (identifier) having a different display character string depending on the display language in the format data 162.

組み込みWebクライアント17は、Webクライアントとしての機能を画像処理装置10内の機能に提供するためのプログラムモジュールである。本実施の形態において、Webクライアント17は、XSLTプロセッサ15の要求に応じ、言語テーブル位置情報166に基づいて、言語テーブル163の取得要求を含んだHTTPリクエストをリソースサーバ50に送信することにより、リソースサーバ50より言語テーブル163を取得する。   The embedded Web client 17 is a program module for providing a function as a Web client to a function in the image processing apparatus 10. In the present embodiment, the Web client 17 transmits an HTTP request including an acquisition request for the language table 163 to the resource server 50 based on the language table location information 166 in response to a request from the XSLT processor 15, thereby The language table 163 is acquired from the server 50.

リソースサーバ50は、Webサーバとしての機能を有するコンピュータであり、言語テーブル163を有している。リソースサーバ50は、言語テーブル163を要求するHTTPリクエストに応じて言語テーブル163を含んだHTTPレスポンスを返信する。   The resource server 50 is a computer having a function as a Web server, and has a language table 163. The resource server 50 returns an HTTP response including the language table 163 in response to the HTTP request that requests the language table 163.

なお、リソースサーバ50は、必ずしもコンピュータである必要はなく、画像処理装置10と同様に、Webサーバとしての機能を有する機器であってもよい。リソースサーバ50を画像処理装置によって構成した場合は、例えば、画像処理装置10はローエンドモデルによって構成し、リソースサーバ50としての画像処理装置は、ハイエンドモデルによって構成するといった形態も考えられる。   Note that the resource server 50 is not necessarily a computer, and may be a device having a function as a Web server, like the image processing apparatus 10. When the resource server 50 is configured by an image processing device, for example, the image processing device 10 may be configured by a low-end model, and the image processing device as the resource server 50 may be configured by a high-end model.

また、言語テーブル163は、必ずしも画像処理装置10の外部の装置において管理されていなくてもよく、画像処理装置10の記憶領域16内に保存されていてもよい。この場合、組み込みWebクライアント17は不要である。   Further, the language table 163 does not necessarily have to be managed in an external device of the image processing apparatus 10 and may be stored in the storage area 16 of the image processing apparatus 10. In this case, the embedded Web client 17 is not necessary.

例えば、端末20のユーザが、画像処理装置10の所定の情報を参照すべく、端末20のWebブラウザ21において、画像処理装置10のURLを入力すると、Webブラウザ21は、画像処理装置10に対して当該所定の情報を表示するWebページの送信を要求する(HTTPリクエスト)(S11)。   For example, when the user of the terminal 20 inputs the URL of the image processing apparatus 10 in the Web browser 21 of the terminal 20 to refer to predetermined information of the image processing apparatus 10, the Web browser 21 Requesting transmission of a Web page displaying the predetermined information (HTTP request) (S11).

HTTPリクエストを受信した組み込みWebサーバ11は、HTTPリクエストに対応したWebアプリ12を呼び出す(S12)。Webアプリ12は、アプリデータ161等を参照して所定の処理を実行し、その処理結果に基づいてWebページに表示させる情報を有するXMLデータ(ベースデータ)を生成する(S13)。   The embedded Web server 11 that has received the HTTP request calls the Web application 12 corresponding to the HTTP request (S12). The web application 12 executes predetermined processing with reference to the application data 161 and the like, and generates XML data (base data) having information to be displayed on the web page based on the processing result (S13).

図5は、ベースデータの定義例を示す図である。図5のベースデータ121において、記述1211におけるurlLangタグで囲まれている文字列「en」は、端末20等から要求された表示言語を識別するための情報であり、HTTPリクエストに指定されている表示言語に応じて出力される。本実施の形態において「en」は、英語を示す文字列である。従って、記述1211によって英語版のWebページが要求されたことが特定される。   FIG. 5 is a diagram illustrating a definition example of base data. In the base data 121 of FIG. 5, the character string “en” enclosed in the urlLang tag in the description 1211 is information for identifying the display language requested from the terminal 20 or the like, and is specified in the HTTP request. Output according to the display language. In the present embodiment, “en” is a character string indicating English. Therefore, the description 1211 specifies that an English version Web page is requested.

記述1212と記述1213とは、Webページ210に表示される情報に関するものである。即ち、記述1212におけるappleTalkタグで囲まれた文字列「true」は、画像処理装置10におけるAppleTalkプロトコルの利用の可否を示す値であり、記述1213におけるnetworkNoタグで囲まれた文字列「1234」は、ネットワーク番号を示す値である。   The description 1212 and the description 1213 relate to information displayed on the Web page 210. That is, the character string “true” enclosed in the appleTalk tag in the description 1212 is a value indicating whether or not the AppleTalk protocol can be used in the image processing apparatus 10, and the character string “1234” enclosed in the networkNo tag in the description 1213 is , A value indicating a network number.

続いて、Webアプリ12は、ベースデータ121に含まれる情報をWebページ210として表示させるためのHTMLデータの生成をXSLTプロセッサ15に要求する(S14)。XSLTプロセッサ15は、HMLデータを生成するために、記憶領域16から書式データ162を読み込むと共に(S15)、言語テーブル位置情報166に基づいて組み込みWebクライアント17を介して言語テーブル163を取得する(S16〜S21)。   Subsequently, the Web application 12 requests the XSLT processor 15 to generate HTML data for displaying the information included in the base data 121 as the Web page 210 (S14). In order to generate HML data, the XSLT processor 15 reads the format data 162 from the storage area 16 (S15), and acquires the language table 163 via the embedded Web client 17 based on the language table position information 166 (S16). ~ S21).

図6は、英語版の言語テーブルの定義例を示す図である。図6の言語テーブル163では、表示文字列ごとにgentext要素が記述されている。gentext要素のkey属性の値はキー文字列を示し、text属性の値は表示文字列を示す。例えば、記述1631では、キー文字列ATALKに対応する表示文字列は、「AppleTalk」であることが定義されている。また、記述1632では、キー文字列AT_NET_NOに対応する表示文字列は、「Network No.」であることが定義されている。なお、図6は、英語版の言語テーブル163を示したものであるが、他の言語の言語テーブル163では、同一のキー文字列に対して異なる言語による表示文字列定義がされている。   FIG. 6 is a diagram illustrating a definition example of the English language language table. In the language table 163 of FIG. 6, a genext element is described for each display character string. The value of the key attribute of the gentext element indicates a key character string, and the value of the text attribute indicates a display character string. For example, the description 1631 defines that the display character string corresponding to the key character string ATALK is “AppleTalk”. The description 1632 defines that the display character string corresponding to the key character string AT_NET_NO is “Network No.”. FIG. 6 shows the English language table 163. In other language tables 163, display character strings are defined in different languages for the same key character string.

また、図7は、書式データの定義例を示す図である。図7の書式データ162の定義において、記述1621、記述1622は、それぞれ図4の記述2011、記述2012に対応している。詳細については後述する。   FIG. 7 is a diagram showing a definition example of format data. In the definition of the format data 162 in FIG. 7, the description 1621 and the description 1622 correspond to the description 2011 and the description 2012 in FIG. 4, respectively. Details will be described later.

続いて、XSLTプロセッサ15は、書式データ162の定義に基づき、言語テーブル163を参照しつつ、ベースデータ121に対してXSL変換を実行し、HTMLデータを生成する(S21)。   Subsequently, the XSLT processor 15 performs XSL conversion on the base data 121 while referring to the language table 163 based on the definition of the format data 162, and generates HTML data (S21).

図8は、XSLTプロセッサによって生成される英語版のHTMLデータの定義例を示す図である。図8のHTMLデータ220の定義例において、記述2201、記述2202は、それぞれ図4の記述2011、記述2012に対応している。   FIG. 8 is a diagram showing a definition example of English version HTML data generated by the XSLT processor. In the definition example of the HTML data 220 in FIG. 8, the description 2201 and the description 2202 correspond to the description 2011 and the description 2012 in FIG. 4, respectively.

記述2201aは、XSLTプロセッサ15が、書式データ162及び言語テーブル163の定義に従って、キー文字列ATALKを「AppleTalk」に置換して出力したものであり、記述2201bは、XSLTプロセッサ15が、書式データ162とベースデータ121の記述1212における値(true)に基づいて出力したものである。同様に、記述2202aは、XSLTプロセッサ15が、書式データ162及び言語テーブル163の定義に従って、キー文字列AT_NET_NOを「Network No.」に置換して出力したものであり、記述2202bは、XSLTプロセッサ15が、書式データ162とベースデータ121の記述1213における値(1234)に基づいて出力したものである。   The description 2201 a is output by the XSLT processor 15 replacing the key character string ATALK with “AppleTalk” according to the definition of the format data 162 and the language table 163, and the description 2201 b is output by the XSLT processor 15. And based on the value (true) in the description 1212 of the base data 121. Similarly, the description 2202 a is output by the XSLT processor 15 replacing the key character string AT_NET_NO with “Network No.” in accordance with the definitions of the format data 162 and the language table 163, and the description 2202 b is the XSLT processor 15. Is output based on the value (1234) in the description 1213 of the format data 162 and the base data 121.

ここで、図7を参照して、XSLTプロセッサ15によるHTMLデータ220の生成処理について説明する。図7の書式データ162において、記述1621については、記述1621cに基づいて「optionBoolean」という名前のテンプレート(以下「optionBooleanテンプレート」という。)が適用される。optionBooleanテンプレートには、記述1621aに係る文字列(「ATALK」)は、「titleText」という名前の変数の値として引き渡され、記述1621bに係る文字列(「appleTalk」)は、「target」という名前の変数の値として引き渡される。   Here, the generation processing of the HTML data 220 by the XSLT processor 15 will be described with reference to FIG. In the format data 162 in FIG. 7, a template named “optionBoolean” (hereinafter referred to as “optionBoolean template”) is applied to the description 1621 based on the description 1621c. In the optionBoolean template, the character string (“ATALK”) related to the description 1621a is passed as a value of a variable named “titleText”, and the character string related to the description 1621b (“appleTalk”) is named “target”. Passed as variable value.

図9は、本実施の形態におけるoptionBooleanテンプレートの定義例を示す図である。図9のoptionBooleanテンプレート168では、記述1681において、ベースデータ121(図5)のurLang要素の値(「en」)に基づいて、表示言語に対応する英語版の言語テーブル163のファイル名(「resource_en.xml」)が生成される。続いて、記述1682において、interpreter関数151が呼び出される。interpreter関数151の第一引数には英語版の言語テーブル163のファイル名が指定され、第二引数にはtitleText変数の値(「ATALK」)が指定される。interpreter関数151は、第一引数に指定された英語版の言語テーブル163を用いて、第二引数に指定されたキー文字列(「ATALK」)を翻訳する。すなわち、第一引数に指定された英語版の言語テーブル163より、第二引数に指定された文字列(「ATALK」)に対応する表示文字列を検索し、検索された表示文字列(「AppleTalk」)を戻り値として返却する。   FIG. 9 is a diagram illustrating a definition example of the optionBoolean template in the present embodiment. In the option Boolean template 168 of FIG. 9, in the description 1681, based on the value of the urLang element (“en”) of the base data 121 (FIG. 5), the file name of the English language table 163 corresponding to the display language (“resource_en .Xml ") is generated. Subsequently, in the description 1682, the interpreter function 151 is called. The file name of the English language language table 163 is designated as the first argument of the interpreter function 151, and the value of the titleText variable (“ATALK”) is designated as the second argument. The interpreter function 151 translates the key character string (“ATALK”) specified in the second argument using the English language language table 163 specified in the first argument. That is, a display character string corresponding to the character string (“ATALK”) designated as the second argument is searched from the English language table 163 designated as the first argument, and the retrieved display character string (“AppleTalk”) is searched. )) As a return value.

続いて、記述1683では、target変数の値(「appleTalk」)をタグ名とする要素がベースデータ121より検索され、その値(「true」)をvalueという名前の変数に代入される。続いて、記述1684において、第一引数に英語版の言語テーブル163のファイル名が指定され、第二引数のvalue変数の値(「true」)が指定されてinterpreter関数151が呼び出される。interpreter関数151は、第一引数に指定された英語版の言語テーブル163を用いて、第二引数に指定された文字列(「true」)を翻訳する。すなわち、第一引数に指定された英語版の言語テーブル163より、第二引数に指定されたキー文字列(「true」)に対応する表示文字列を検索し、検索された表示文字列(「Enable」)を戻り値として返却する。なお、ここで翻訳される情報は(「true」)、ベースデータ121より出力された値である。すなわち、本実施の形態では、Webアプリ12の処理に応じて変化する動的な情報も翻訳対象とされる。   Subsequently, in the description 1683, an element whose tag name is the value of the target variable (“appleTalk”) is searched from the base data 121, and the value (“true”) is substituted into a variable named value. Subsequently, in the description 1684, the file name of the English language table 163 is designated as the first argument, the value of the value variable (“true”) is designated as the second argument, and the interpreter function 151 is called. The interpreter function 151 translates the character string (“true”) specified in the second argument using the English language language table 163 specified in the first argument. That is, a display character string corresponding to the key character string (“true”) specified as the second argument is searched from the English language table 163 specified as the first argument, and the searched display character string (“ Enable ") is returned as a return value. Note that the information translated here (“true”) is a value output from the base data 121. That is, in the present embodiment, dynamic information that changes according to the processing of the Web application 12 is also subject to translation.

続いて、参照番号1685に示される部分において、interpreter関数151によって翻訳された表示文字列がHTMLデータ220の記述2201a及び記述2201bとして出力されるが、当該定義例については便宜上省略されている。   Subsequently, the display character string translated by the interpreter function 151 is output as the description 2201a and the description 2201b of the HTML data 220 in the portion indicated by reference number 1685, but this definition example is omitted for convenience.

一方、書式データ162の記述1622については、記述1622cに基づいて「editValue」という名前のテンプレート(以下「editValueテンプレート」という。)が適用される。editValueテンプレートには、記述1622aに係る文字列(「AT_NET_NO」)は、「titleText」という名前の変数の値として引き渡され、記述1622bに係る文字列(「networkNo」)は、「target」という名前の変数の値として引き渡される。   On the other hand, for the description 1622 of the format data 162, a template named “editValue” (hereinafter referred to as “editValue template”) is applied based on the description 1622c. In the editValue template, the character string (“AT_NET_NO”) related to the description 1622a is passed as a value of a variable named “titleText”, and the character string (“networkNo”) related to the description 1622b is named “target”. Passed as variable value.

図10は、本実施の形態におけるeditValueテンプレートの定義例を示す図である。図10のeditValueテンプレート169では、記述1691において、ベースデータ121(図5)のurLang要素の値(「en」)に基づいて、表示言語に対応する英語版の言語テーブル163のファイル名(「resource_en.xml」)が生成される。続いて、記述1692において、interpreter関数151が呼び出される。interpreter関数151の第一引数には英語版の言語テーブル163のファイル名が指定され、第二引数にはtitleText変数の値(「AT_NET_NO」)が指定される。interpreter関数151は、第一引数に指定された英語版の言語テーブル163を用いて、第二引数に指定されたキー文字列(「AT_NET_NO」)を翻訳する。すなわち、第一引数に指定された英語版の言語テーブル163より、第二引数に指定された文字列(「AT_NET_NO」)に対応する表示文字列を検索し、検索された表示文字列(「AppleTalk」)を戻り値として返却する。   FIG. 10 is a diagram showing a definition example of the editValue template in the present embodiment. In the editValue template 169 of FIG. 10, in the description 1691, based on the value (“en”) of the urLang element of the base data 121 (FIG. 5), the file name of the English language table 163 corresponding to the display language (“resource_en .Xml ") is generated. Subsequently, in the description 1692, the interpreter function 151 is called. The file name of the English language language table 163 is designated as the first argument of the interpreter function 151, and the value of the titleText variable (“AT_NET_NO”) is designated as the second argument. The interpreter function 151 translates the key character string (“AT_NET_NO”) specified in the second argument using the English language language table 163 specified in the first argument. That is, a display character string corresponding to the character string (“AT_NET_NO”) specified as the second argument is searched from the English language table 163 specified as the first argument, and the searched display character string (“AppleTalk”) is searched. )) As a return value.

続いて、記述1693では、target変数の値(「appleTalk」)をタグ名とする要素をベースデータ121より検索し、その値(「1234」)をvalueという名前の変数に代入される。   Subsequently, in the description 1693, an element whose tag name is the value of the target variable (“appleTalk”) is searched from the base data 121, and the value (“1234”) is substituted into a variable named value.

続いて、参照番号1684に示される部分において、interpreter関数151によって翻訳された表示文字列がHTMLデータ220の記述2202aとして、また、value変数の値(「1234」)がHTMLデータ220の記述2202bとして出力されるが、当該定義例については便宜上省略されている。   Subsequently, in the portion indicated by reference numeral 1684, the display character string translated by the interpreter function 151 is the description 2202a of the HTML data 220, and the value of the value variable (“1234”) is the description 2202b of the HTML data 220. Although output, the definition example is omitted for convenience.

組み込みWebサーバ11は、XSLTプロセッサ15によってHTMLデータ220が生成されると、HTMLデータ220を端末20のWebブラウザ21に送信する(HTTPレスポンス)(S22)。Webブラウザ21は、HTMLデータ220に基づいてWebページ210が表示させる。これによって、ユーザは、所望のWebページ210を所望の言語で閲覧することができる。   When the HTML data 220 is generated by the XSLT processor 15, the embedded Web server 11 transmits the HTML data 220 to the Web browser 21 of the terminal 20 (HTTP response) (S22). The web browser 21 displays the web page 210 based on the HTML data 220. As a result, the user can view the desired Web page 210 in a desired language.

次に、XSLTプロセッサ15のinterpreter関数内の処理について説明する。図11は、interpreter関数の処理手順を説明するためのフローチャートである。   Next, processing in the interpreter function of the XSLT processor 15 will be described. FIG. 11 is a flowchart for explaining the processing procedure of the interpreter function.

まず、第一引数にそのファイル名が指定された言語テーブル163を開く(S101)。続いて、第二引数に指定されたキー文字列を言語テーブル163より検索する(S102)。ここで、interpreter関数151は、言語テーブル163に対する検索処理について専用に作成された関数であるため、例えば、XSLTプロセッサ15に一般的に実装されているdocument関数とは異なり、検索対象とする文字列が見つかった(検出された)時点で検索を終了させる。   First, the language table 163 whose file name is designated as the first argument is opened (S101). Subsequently, the key character string designated as the second argument is searched from the language table 163 (S102). Here, the interpreter function 151 is a function created exclusively for the search processing for the language table 163, and therefore, for example, unlike the document function generally implemented in the XSLT processor 15, a character string to be searched The search is terminated when is found (detected).

図12は、interpreter関数による言語テーブルの検索処理を説明するための図である。図12では、キー文字列「ATALK」に対応する表示文字列を検索する例が示されている。矢印a1は、interpreter関数151が、検索対象とするキー文字列が検出された時点で、言語テーブル163の走査を中止することを示す。したがって、検索対象とするキー文字列が検索されても走査を継続するdocument関数と比べて、検索処理の性能を向上させることができる。   FIG. 12 is a diagram for explaining language table search processing by the interpreter function. FIG. 12 shows an example of searching for a display character string corresponding to the key character string “ATALK”. An arrow a1 indicates that the interpreter function 151 stops scanning the language table 163 when a key character string to be searched is detected. Therefore, the performance of the search process can be improved compared to a document function that continues scanning even if a key character string to be searched is searched.

キー文字列が検索された場合(S103でYES)、検索されたキー文字列に対する表示文字列を戻り値として返却する(S104)。キー文字列が検索されなかった場合(S103でNO)、戻り値としてエラーを返却する(S105)。   When the key character string is searched (YES in S103), the display character string corresponding to the searched key character string is returned as a return value (S104). If the key character string is not searched (NO in S103), an error is returned as a return value (S105).

ところで、上記において、言語テーブル163は、XMLデータとして説明した。しかし、言語テーブル163にアクセスするのはinterpreter関数151だけであるところ、interpreter関数151は、本実施の形態において拡張された関数である。したがって、言語テーブル163は必ずしもXMLデータでなくてもよい。例えば、言語テーブル163に相当する情報をデータベースに登録しておいてもよい。   In the above description, the language table 163 has been described as XML data. However, only the interpreter function 151 accesses the language table 163, and the interpreter function 151 is an extended function in the present embodiment. Therefore, the language table 163 is not necessarily XML data. For example, information corresponding to the language table 163 may be registered in a database.

図13は、データベース上に構築された言語テーブルの例を示す図である。図13に示される言語テーブル163aでは、key(キー文字列)と、text(表示文字列)とが対応付けられている。言語テーブル163aをデータベース上に構築することにより、例えば、二分木検索等のロジックによって、より高速にキー文字列に対する表示文字列を検索することができる。   FIG. 13 is a diagram illustrating an example of a language table constructed on a database. In the language table 163a shown in FIG. 13, a key (key character string) and a text (display character string) are associated with each other. By constructing the language table 163a on the database, for example, a display character string for the key character string can be retrieved at higher speed by logic such as binary tree search.

なお、従来は、document関数によってinterpreter関数151の機能が代替されていた。参考までにdocument関数を利用した場合のoptionBooleanテンプレート及びeditValueテンプレートの定義例について以下に示す。   Conventionally, the function of the interpreter function 151 has been replaced by the document function. For reference, a definition example of an optionBoolean template and an editValue template when the document function is used is shown below.

図14は、document関数を利用した場合のoptionBooleanテンプレートの定義例を示す図である。図14のoptionBooleanテンプレート168aでは、記述1681aと記述1681bとにおいてdocument関数が呼び出されている。当該記述は、図9のoptionBooleanテンプレート168の記述1682、記述1684に対応する。   FIG. 14 is a diagram illustrating a definition example of an option Boolean template when the document function is used. In the optionBoolean template 168a of FIG. 14, the document function is called in the description 1681a and the description 1681b. The description corresponds to the descriptions 1682 and 1684 of the optionBoolean template 168 in FIG.

また、図15は、document関数を利用した場合のeditValueテンプレートの定義例を示す図である。図15のeditValueテンプレート169aでは、記述1691aにおいてdocument関数が呼び出されている。当該記述は、図10のeditValueテンプレート169の記述1692に対応する。   FIG. 15 is a diagram illustrating a definition example of the editValue template when the document function is used. In the editValue template 169a of FIG. 15, the document function is called in the description 1691a. This description corresponds to the description 1692 of the editValue template 169 in FIG.

なお、document関数が利用された場合、document関数内では図J1において説明したような処理が実行される。   Note that when the document function is used, the processing described in FIG. J1 is executed in the document function.

上述したように、本実施の形態における画像処理装置10によれば、XSLTプロセッサ15ではなく、言語テーブル163の検索について専用に実装されたinterpreter関数151によってキー文字列の検索が行われるため、言語テーブル163の検索処理が高速化される。したがって、端末20からWebページが要求された際のレスポンスを向上させることができる。   As described above, according to the image processing apparatus 10 in the present embodiment, the key character string is searched not by the XSLT processor 15 but by the interpreter function 151 that is implemented exclusively for searching the language table 163. The search processing of the table 163 is speeded up. Therefore, the response when a web page is requested from the terminal 20 can be improved.

以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   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.

XSLTプロセッサによる言語テーブルに対する検索処理を説明するための図である。It is a figure for demonstrating the search process with respect to the language table by an XSLT processor. 本発明の実施の形態における画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus in embodiment of this invention. 本発明の実施の形態における画像処理装置によるWebページの生成処理を説明するための図である。It is a figure for demonstrating the production | generation process of the web page by the image processing apparatus in embodiment of this invention. 本実施の形態において生成されるWebページの表示例を示す図である。It is a figure which shows the example of a display of the web page produced | generated in this Embodiment. ベースデータの定義例を示す図である。It is a figure which shows the example of a definition of base data. 英語版の言語テーブルの定義例を示す図である。It is a figure which shows the example of a definition of the language table of English version. 書式データの定義例を示す図である。It is a figure which shows the example of a definition of format data. XSLTプロセッサによって生成される英語版のHTMLデータの定義例を示す図である。It is a figure which shows the example of a definition of the English version HTML data produced | generated by the XSLT processor. 本実施の形態におけるoptionBooleanテンプレートの定義例を示す図である。It is a figure which shows the example of a definition of the optionBoolean template in this Embodiment. 本実施の形態におけるeditValueテンプレートの定義例を示す図である。It is a figure which shows the example of definition of the editValue template in this Embodiment. interpreter関数の処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the process sequence of an interpreter function. interpreter関数による言語テーブルの検索処理を説明するための図である。It is a figure for demonstrating the search process of the language table by an interpreter function. データベース上に構築された言語テーブルの例を示す図である。It is a figure which shows the example of the language table constructed | assembled on the database. document関数を利用した場合のoptionBooleanテンプレートの定義例を示す図である。It is a figure which shows the example of a definition of the optionBoolean template at the time of using a document function. document関数を利用した場合のeditValueテンプレートの定義例を示す図である。It is a figure which shows the example of a definition of editValue template at the time of utilizing a document function.

符号の説明Explanation of symbols

10 画像処理装置
11 組み込みWebサーバ
12a、12b Webアプリ
15 XSLTプロセッサ
16 ROM
20、30 端末
21 Webブラウザ
40 ネットワーク
50 リソースサーバ
101 コピーアプリ
102 ファックスアプリ
103 プリンタアプリ
104 情報提供アプリ
106 システム管理サービス
107 ネットワークサービス
108 メモリ管理サービス
109 オペパネ管理サービス
110 エンジン管理サービス
151 interpreter関数
161 アプリデータ
162 書式データ
163 言語テーブル
164 イメージデータ
165 スクリプトデータ
166 言語テーブル位置情報
201 OS
202 エンジン制御ボード
203 プロッタエンジン
204 スキャナエンジン
DESCRIPTION OF SYMBOLS 10 Image processing apparatus 11 Embedded Web server 12a, 12b Web application 15 XSLT processor 16 ROM
20, 30 Terminal 21 Web browser 40 Network 50 Resource server 101 Copy application 102 Fax application 103 Printer application 104 Information providing application 106 System management service 107 Network service 108 Memory management service 109 Operation panel management service 110 Engine management service 151 interpreter function 161 Application data 162 Format data 163 Language table 164 Image data 165 Script data 166 Language table position information 201 OS
202 Engine control board 203 Plotter engine 204 Scanner engine

Claims (9)

ネットワークを介して受信されるWebページの要求に応じて情報処理を実行し、当該情報処理の結果をXMLデータとして出力する情報処理手段と、
表示言語に応じて表示文字列が異なる部分が識別子によって記述されているXSLデータを前記XMLデータに適用してXSLT変換を実行することによりHTMLデータを生成するXSLT変換手段と、
所定の関数の呼び出しに応じ、言語ごとに複数の前記識別子に対する表示文字列が記録されている表示文字列情報より前記表示言語に応じて前記識別子に対する表示文字列を検索し、検索された表示文字列を前記所定の関数の戻り値として返却する検索手段とを有し、
前記XSLT変換手段は、前記XSLデータに記述されている前記所定の関数を呼び出すことにより、前記検索手段より返却される表示文字列によって前記XSLデータに含まれている前記識別子を置換して前記HTMLデータを生成し、
前検索手段は、前記識別子に対応する表示文字列が検出された時点で前記表示文字列情報からの当該識別子に関する検索を終了することを特徴とする電子装置。
Information processing means for executing information processing in response to a request for a Web page received via a network and outputting the result of the information processing as XML data;
XSLT conversion means for generating HTML data by applying XSLT conversion by applying XSL data in which a portion having a different display character string according to a display language is described by an identifier to the XML data;
In response to a call to a predetermined function, a display character string for the identifier is searched according to the display language from display character string information in which display character strings for a plurality of identifiers are recorded for each language, and the displayed display characters Search means for returning a column as a return value of the predetermined function ;
The XSLT transformation means, said by calling the predetermined function described in the XSL data, it said by replacement of the identifier included in the XSL data by the display character string to be returned from the search means Generate HTML data,
The electronic device according to claim 1, wherein the pre-search means terminates the search for the identifier from the display character string information when the display character string corresponding to the identifier is detected.
前記検索手段は、前記所定の関数の第一の引数に指定された識別名に係る記憶手段に記憶されている前記表示文字列情報より、前記所定の関数の第二の引数に指定された前記識別子に対する表示文字列を検索する請求項1記載の電子装置。The searching means is the display character string information stored in the storage means related to the identification name specified as the first argument of the predetermined function, and the specified as the second argument of the predetermined function. The electronic device according to claim 1, wherein a display character string for the identifier is searched. 前記検索手段は、データベースに記憶されている前記表示文字列情報より、前記識別子に対する表示文字列を検索する請求項1又は2記載の電子装置。 The electronic device according to claim 1 , wherein the retrieval unit retrieves a display character string corresponding to the identifier from the display character string information stored in a database. ネットワークを介して受信されるWebページの要求に応じて情報処理を実行し、当該情報処理の結果をXMLデータとして出力する情報処理手順と、
表示言語に応じて表示文字列が異なる部分が識別子によって記述されているXSLデータを前記XMLデータに適用してXSLT変換を実行することによりHTMLデータを生成するXSLT変換手順と、
所定の関数の呼び出しに応じ、言語ごとに複数の前記識別子に対する表示文字列が記録されている表示文字列情報より前記表示言語に応じて前記識別子に対する表示文字列を検索し、検索された表示文字列を前記所定の関数の戻り値として返却する検索手順とを電子装置が実行し
前記XSLT変換手順は、前記XSLデータに記述されている前記所定の関数を呼び出すことにより、前記検索手順より返却される表示文字列によって前記XSLデータに含まれている前記識別子を置換して前記HTMLデータを生成し、
前検索手順は、前記識別子に対応する表示文字列が検出された時点で前記表示文字列情報からの当該識別子に関する検索を終了することを特徴とするWebページ生成方法。
An information processing procedure for executing information processing in response to a request for a web page received via a network and outputting the result of the information processing as XML data;
An XSLT conversion procedure for generating HTML data by applying XSL data in which a portion having a different display character string according to a display language is described by an identifier to the XML data and executing XSLT conversion;
In response to a call to a predetermined function, a display character string for the identifier is searched according to the display language from display character string information in which display character strings for a plurality of identifiers are recorded for each language, and the displayed display characters The electronic device executes a search procedure for returning a sequence as a return value of the predetermined function ;
The XSLT transformation procedure, the by calling the predetermined function described in the XSL data, said by replacement of the identifier included in the XSL data by the display character string to be returned from the search procedure Generate HTML data,
The pre-search procedure ends the search for the identifier from the display character string information when a display character string corresponding to the identifier is detected.
前記検索手順は、前記所定の関数の第一の引数に指定された識別名に係る記憶手段に記憶されている前記表示文字列情報より、前記所定の関数の第二の引数に指定された前記識別子に対する表示文字列を検索する請求項4記載のWebページ生成方法。In the search procedure, the display character string information stored in the storage unit related to the identification name specified as the first argument of the predetermined function is used to specify the second argument of the predetermined function. The Web page generation method according to claim 4, wherein a display character string for the identifier is searched. 前記検索手順は、データベースに記憶されている前記表示文字列情報より、前記識別子に対する表示文字列を検索する請求項4又は5記載のWebページ生成方法。 6. The Web page generation method according to claim 4 , wherein the search procedure searches for a display character string corresponding to the identifier from the display character string information stored in a database. コンピュータに、
ネットワークを介して受信されるWebページの要求に応じて情報処理を実行し、当該情報処理の結果をXMLデータとして出力する情報処理手順と、
表示言語に応じて表示文字列が異なる部分が識別子によって記述されているXSLデータを前記XMLデータに適用してXSLT変換を実行することによりHTMLデータを生成するXSLT変換手順と、
所定の関数の呼び出しに応じ、言語ごとに複数の前記識別子に対する表示文字列が記録されている表示文字列情報より前記表示言語に応じて前記識別子に対する表示文字列を検索し、検索された表示文字列を前記所定の関数の戻り値として返却する検索手順とを実行させ、
前記XSLT変換手順は、前記XSLデータに記述されている前記所定の関数を呼び出すことにより、前記検索手順より返却される表示文字列によって前記XSLデータに含まれている前記識別子を置換して前記HTMLデータを生成し、
前検索手順は、前記識別子に対応する表示文字列が検出された時点で前記表示文字列情報からの当該識別子に関する検索を終了することを特徴とするWebページ生成プログラム。
On the computer,
An information processing procedure for executing information processing in response to a request for a web page received via a network and outputting the result of the information processing as XML data;
An XSLT conversion procedure for generating HTML data by applying XSL data in which a portion having a different display character string according to a display language is described by an identifier to the XML data and executing XSLT conversion;
In response to a call to a predetermined function, a display character string for the identifier is searched according to the display language from display character string information in which display character strings for a plurality of identifiers are recorded for each language, and the displayed display characters A search procedure for returning a column as a return value of the predetermined function ;
The XSLT transformation procedure, the by calling the predetermined function described in the XSL data, said by replacement of the identifier included in the XSL data by the display character string to be returned from the search procedure Generate HTML data,
The pre-search procedure terminates the search for the identifier from the display character string information when a display character string corresponding to the identifier is detected.
前記検索手順は、前記所定の関数の第一の引数に指定された識別名に係る記憶手段に記憶されている前記表示文字列情報より、前記所定の関数の第二の引数に指定された前記識別子に対する表示文字列を検索する請求項7記載のWebページ生成プログラム。In the search procedure, the display character string information stored in the storage unit related to the identification name specified as the first argument of the predetermined function is used to specify the second argument of the predetermined function. 8. The Web page generation program according to claim 7, wherein a display character string for the identifier is searched. 前記検索手順は、データベースに記憶されている前記表示文字列情報より、前記識別子に対する表示文字列を検索する請求項7又は8記載のWebページ生成プログラム。
The Web page generation program according to claim 7 or 8 , wherein the search procedure searches a display character string corresponding to the identifier from the display character string information stored in a database.
JP2007096757A 2007-04-02 2007-04-02 Electronic device, Web page generation method, and Web page generation program Expired - Fee Related JP4903078B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007096757A JP4903078B2 (en) 2007-04-02 2007-04-02 Electronic device, Web page generation method, and Web page generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007096757A JP4903078B2 (en) 2007-04-02 2007-04-02 Electronic device, Web page generation method, and Web page generation program

Publications (2)

Publication Number Publication Date
JP2008257355A JP2008257355A (en) 2008-10-23
JP4903078B2 true JP4903078B2 (en) 2012-03-21

Family

ID=39980888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007096757A Expired - Fee Related JP4903078B2 (en) 2007-04-02 2007-04-02 Electronic device, Web page generation method, and Web page generation program

Country Status (1)

Country Link
JP (1) JP4903078B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010122882A (en) * 2008-11-19 2010-06-03 Digital Electronics Corp Editor device, program, and recording medium
JP2017004495A (en) * 2015-06-10 2017-01-05 株式会社リコー Information processing system, information processing device, and program
JP2023009986A (en) * 2021-07-08 2023-01-20 株式会社荏原製作所 Method and program for localizing gui screen of control program for semiconductor manufacturing apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2778798B2 (en) * 1990-04-11 1998-07-23 富士通株式会社 Queue structure management processing method for control data
JP2697301B2 (en) * 1990-11-26 1998-01-14 松下電器産業株式会社 Decryption device
JP2005032230A (en) * 2003-06-18 2005-02-03 Ricoh Co Ltd Electronic apparatus and web page generation method

Also Published As

Publication number Publication date
JP2008257355A (en) 2008-10-23

Similar Documents

Publication Publication Date Title
US10750044B2 (en) Information processing system, information processing apparatus, and method for processing information
US10356266B2 (en) Information processing system, information processing apparatus, and method for processing information
JP2004318842A (en) Webpage generation device, embedding device, method for control of webpage generation, webpage generation program, and recording medium
JP4270992B2 (en) Information processing apparatus, information processing method, information processing program, service providing apparatus, service providing method, service providing program, and recording medium
US7925497B2 (en) Information service apparatus and method, information display apparatus and information service system
US12010165B2 (en) Cross-platform module for loading across a plurality of device types
JP2000090001A (en) Method and system for conversion of electronic data using conversion setting
US20100082782A1 (en) Providing peripheral device attributes to a client for selection
JP4440716B2 (en) Display data generation device, display device, display data generation system, display data generation device control method, display data generation program, recording medium, electronic device, and electronic device control method
JP4450746B2 (en) Terminal device management system, terminal device management method, and computer program
JP2010129057A (en) Information processor, display data translation method, and program
JP2006243829A (en) Method and system for converting web content
JP2009038526A (en) Printing server apparatus
JP4297811B2 (en) Information providing apparatus, information providing method, and program
US20110145722A1 (en) Image forming apparatus and method for providing local user interface thereof
US20050022120A1 (en) Electronic apparatus and Web page generating method
US20180285467A1 (en) Web server
JP4903078B2 (en) Electronic device, Web page generation method, and Web page generation program
JP2005100319A (en) Data display system, data output device, image forming apparatus, data display device, and data display program
JP2008257354A (en) Electronic device, method for creating web page, and program for creating web page
JP4203287B2 (en) Information processing apparatus, information processing method, and information processing system
JP2004326740A (en) Web page creation apparatus, inclusion apparatus, web page creation system, control method of web page creation, web page creation program and recording medium
JP5052058B2 (en) Information processing apparatus, information processing method, and information processing program
JP6881920B2 (en) Information processing equipment, control methods, and programs
JP4221020B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090828

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110621

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110808

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4903078

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150113

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees